@font-face{
    font-family: "Proun";
    src: url("../fonts/proun.eot");
    src: url("../fonts/proun.eot?#iefix")format("embedded-opentype"),
        url("../fonts/proun.woff")format("woff"),
        url("../fonts/proun.woff2")format("woff2"),
        url("../fonts/proun.ttf")format("truetype"),
        url("../fonts/proun.svg#Proun Black W08 Regular")format("svg");
    font-weight:normal;
    font-style:normal;
    font-display:swap;
}
@font-face{
    font-family: "PermanentMarker";
    src: url("../fonts/PermanentMarker-Regular.ttf");

    font-weight:normal;
    font-style:normal;
    font-display:swap;
}
@font-face {
    font-family: 'Cera Pro';
    src: url('../fonts/CeraPro-Regular.eot');
    src: local('Cera Pro Regular'), local('CeraPro-Regular'),
        url('../fonts/CeraPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/CeraPro-Regular.woff') format('woff'),
        url('../fonts/CeraPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Cera Pro';
    src: url('../fonts/CeraPro-Medium.eot');
    src: local('Cera Pro Medium'), local('CeraPro-Medium'),
        url('../fonts/CeraPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/CeraPro-Medium.woff') format('woff'),
        url('../fonts/CeraPro-Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
html,
body {
    height: 100%;
    font-family: 'Cera Pro';
    font-weight: 600;
    color: #000;
    background: #fff;
}

h1 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 0;
    color: #fedf33;
    font-family: "Proun";
    margin-top: 5px;
}
#logo:hover,#logo:focus {
    text-decoration: unset;
    color: inherit;
}
.header-item a {
    color: #ddd;
    transition: all .3s;
}
.header-item a:hover {
    text-decoration: unset;
    color: #fedf33;
}
.dishes h2{
    text-align: left;
    margin-bottom: 22px;
    margin-top: 38px;
}
.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}
#banner {
    width: 100%;
}
#banner img {
    width: 100%;
}
.mobile{
    display:none;
}
.footer {
    height: 60px;
    background-color: #101010;
    padding-top: 20px;
    width: 100%;
    float: left;
    position: relative;
    color: #fff;
}
#footer-telephone a {
    color: #ffe000;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Proun';
    font-weight: 200;
}
#footer-social a {
    text-decoration: none;
    color: #fff;
}
footer a {
    transition: all .4s;
}
footer a:hover {
    color: #ffe130 !important;
}
.footer .container:before, .footer .container:after {
    display: none;
}
.footer .container > div {
    width: 33.3333%;
}
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

input[type="checkbox"]{
    float:left;
}

.well.well-sm {
    max-height: 360px;
    overflow: auto;
}

textarea#food-description {
    height: 73px;
}

span.total-matches {
    position: absolute;
    background: #ff4c4c;
    color: #fff;
    padding: 0 5px;
}
.dish-image img {
    width: 100%;
    height: auto;
}
#header {
    background: #161616;
        padding: 10px 0;
}
#header .container {
    position: relative;
}
.header-items {
    /*position: absolute;*/
    width: 100%;
    float: left;
    display: flex;
    justify-content: space-between;
    /*margin-top: 25px;
    margin-top: 10px; */
    left: 0;
    top: 0;
    padding: 0 15px;
}

.header-item {
    width: 33.3333%;
}
#dishes {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    margin-top: 65px;
}
.admin-default-index {
    margin-top: 70px;
}
.dish.pull-left {
    padding: 10px;
    position: relative;
    margin: 0 8px 15px;
    width: calc(20% - 16px);
    cursor: pointer;
}
.dish-price {
    font-family: 'Proun';
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-top: 5px;
    color: #000;
}
.dish-image {
    position: relative;
}
.dish-description {
    text-align: center;
    position: absolute;
    bottom: 0;
    background: #0009;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity .4s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dish-description span {
    padding: 15px;
}
.dish.pull-left:hover .dish-description {
    opacity: 1;
}
.dish-name {
    text-align: center;
    padding: 10px 8px 0 8px;
    font-size: 18px;
    font-weight: 600;
}
#dishes-navs {
    border: none;
    height: auto;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    
}
.navbar-default {
    display: none;
}
#order {
    width: 100%;
    float: left;
    text-align: center;
    margin-top: 30px;
}
#order-button {
    background: #ffe130;
    padding: 12px 40px;
    font-size: 24px;
    text-transform: uppercase;
    color: #000;
    font-weight: 800;
    text-decoration: none;
    position: relative;
}
#map-block {
    width: 100%;
    position: relative;
    float: left;
    margin-top: 100px;
}
#map-left {
    position: absolute;
    top: 0px;
    left: 0;
    padding: 30px 50px;
    max-width: 430px;
    background: #000000a3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    z-index: 9;
}
#map-left-form {
    display: flex;
    flex-direction: column;
    color: #fff;
}
#contants {
    font-size: 24px;
    font-family: 'Proun';
    margin-bottom: 10px;
}
#address {
    font-size: 17px;
    color: #bdbdbd;
    font-weight: 200;
    margin-bottom: 15px;
}
#telephone a {
    font-size: 24px;
    color: #ffe000;
    font-weight: 800;
}
#time {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 800;
}
#email {
    margin-bottom: 30px;
}
#email a {
    font-size: 18px;
    font-weight: 100;
    color: #bdbdbd;
}
#yandexeda-button {
    border: 1px solid #ffe130;
    float: left;
    position: relative;
    display: block;
    width: 195px;
    padding: 7px 20px;
    border-radius: 24px;
}
#yandexeda-button a:hover {
    color: #ffe130;
}

#yandexeda-button a {
    color: #fff;
    text-decoration: none;
}
#map {
    height: 600px;
    position: relative;
    float: left;
    width: 100%;
}
.ymaps-2-1-79-ground-pane {
    filter: invert(1);
}
.ymaps-2-1-79-ground-pane > ymaps {
    filter: grayscale(0.9);
}
.ymaps-2-1-79-ground-pane > ymaps > canvas{
    filter: contrast(0.8);
}
.ymaps-2-1-79-copyrights-pane {
    right: 55px !important;
    bottom: 5px !important;
}
.footer .container {
    display: flex;
    justify-content: space-between;
}
#map-right img {
    height: 100%;
}
#map-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    z-index: 8;
}
#description {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px;
    max-width: 1200px;
    position: relative;
    margin: auto;
}
#description h2 {
    font-family: 'Proun';
}
#description p {
    font-weight: 200;
    font-size: 18px;
}
#order-button:before {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #5e5e5e;
    transition: all .4s ease;
}
#order-button img {
    position: relative;
    top: -2px;
}
#order-button:hover:before {
    width: 100%;
}
#order-button:hover span {
    color: #fff;
    transition: all .4s ease;
}

#order-button span {
    z-index: 9;
    position: relative;
}
#map-m {
    display: none;
    height: 600px;
    position: relative;
    float: left;
    width: 100%;
}
#yandexeda-top br {
    display: none;
}
.social {
    margin-top: -14px;
}
.social a {
    margin-left: 5px;
}
.social img {
    width: 28px;
    height: 28px;
}
@media(max-width: 1200px) {
	#map-right {
        left: 0;
        z-index: 8;
        height: 100%;
        width: 430px;
    }
    #map {
        height: 450px;
    }
    #map-right img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: 82% 0px;
    }
    .dish.pull-left {
        width: calc(25% - 16px);
    }
}
@media(max-width: 1024px) {
    #map-m {
        display: block;
    }
    h1 {
        font-size: 18px;
    }
}
@media(max-width: 768px) {
    #yandexeda-top {
        font-size: 10px;
    }
    .header-items {
        margin-top:12px;
    }
    #logo {
        margin-top: 5px;
        display: block;
    }
    #dishes-navs {
        margin-bottom: 10px;
    }
    #dishes {
        margin-top: 20px;
    }
    #yandexeda-top img {
        width: 24px;
        height: 24px;
    }
    .desktop{
        display:none;
    }
    .mobile{
        display:block;
    }
    h1 {
        font-size: 16px;
    }
    .dish.pull-left {
        width: calc(33.3333% - 16px);
    }
    #map-right {
        left: 0;
        z-index: 8;
        height: 100%;
        width: 100%;
    }
    #map {
        height: 450px;
    }
    #map-right img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: 82% 0px;
    }
    .nav > li > a {
        font-size: 2.4vw;
        padding: 10px 15px;
        font-weight: 200;
        height: 42px;
    }
    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        font-size: 3.5vw;
    }
    #order {
        margin-top: 15px;
    }
    #order-button {
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 50px;
    }
    #order-button:before {
        border-radius: 50px;
    }
    #description {
        padding: 20px;
    }
    .footer .container > div {
        font-size: 10px;
    }
    #footer-telephone a {
        font-size: 12px;
    }
    .footer {
        height: 52px;
    }
}
@media(max-width: 680px) {
    .dish.pull-left {
        width: 50%;
        margin: 0 0px 12px;
    }
}
@media(max-width: 480px) {

    .footer .container {
        flex-direction: column-reverse;
    }
    .footer {
        height: auto;
        padding-top: 12px;
        padding-bottom: 8px;
        position: relative;
    }
    .social {
        position: absolute;
        right: 15px;
        bottom: 18px;
    }
    .footer .container > div {
        width: 100%;
        font-size: 10px;
        text-align: left;
    }
    #map-m {
        height: 300px;
    }
    .header-item {
        width: 50%;
    }
    #map-left {
        max-width: unset;
    }
    .header-item:first-child {
        display: none;
    }
    #logo {
        text-align: left;
    }
    #header {
    
        padding:0;
    }
    h1 {
        font-size: 12px;
        margin-top: 5px;
    }
    #header .container{
        background:#000;
        position: fixed;
        z-index: 99;
        width: 100%;
        padding-bottom: 7px;
    }
    .header-items {
        margin-top: 7px;
        position: relative;
        background: #000;
        padding: 0;
    }
    #yandexeda-top {
        font-size: 10px;
        display: flex;
        justify-content: flex-end;
        text-align: left;
        line-height:17px;
    }
    #yandexeda-top img {
        width: 20px;
        height: 20px;
    }
    #dishes {
        margin-top: 0px;
        padding-top: 35px;
    }
    .dish-name {
        font-size: 14px;
    }
    .dish-price {
        font-size: 18px;
    }
    #description h2 {
        font-size: 18px;
    }
    #description p {
        font-size: 14px;
    }
}
@media(max-width:380px) {
    h1 {
        font-size: 11px;
    }
}
/* ADMIN */
#actions {
    width: 100%;
    float: left;
    margin-bottom: 10px;
}
form#w0 {
    margin-top: 50px;
}
.list-group {
    margin-top: 20px;
}

.item {
    display: flex;
}

.list-image {
    width: 5%;
    margin: auto;
    float: left;
}
.list-image img{
border-radius: 7px;
}
.list-name {
    width: 80%;
    float: left;
    padding-top: 14px;
    padding-left: 10px;
}
.list-buttons {
    width: 25%;
    text-align: right;
    padding-top: 14px;
    padding-left: 10px;
    padding-right: 10px;
}

.remove-dish{
    color: #ff7575;
}

span.dishoff {
    font-size: 10px;
    padding: 4px 6px;
    color: #ffffff;
    background: #d11818;
    margin-right: 5px;
    border-radius: 12px;
}

.item {
    display: flex;
    padding: 6px;
    background: #f1f1f13d;
    margin-bottom: 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

a.btn-create {
    color: #fff;
    background: burlywood;
    padding: 10px 20px;}

a.btn-create:hover {
    background: #87a2de;
    text-decoration: none;
}

img.postImg {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 1px;
    padding: 10px;
}

.danger {
    background: #ff5252;
    padding: 10px;
    margin-right: 20px;
    border-radius: 3px;
    color: #fff;
}

.ing .item{
    width: 49%;
    float: left;
    margin-right: 3px;
}

input#ingredientname-hide {
    width: 24px;
    height: 24px;
}
.ing .list-buttons {
    padding-top: 3px;}
.ing .list-name {
    padding-top: 11px;}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
