/*основные цвета и тени*/
:root{
    --c-red: #e63d24;
    --c-black: #232323;
    --c-grey: #353535;
    --c-bright-gray: gray;
    --c-white: #EFEFEF;
    --glow: 0px 0px 6px var(--c-red);
}

*{
    margin: 0;
    padding: 0;
}

ul, li{
    padding: 0;
    list-style-type: none;
}

p{
    margin-bottom: 10px;
    color: var(--c-white);
}

button,
button:active,
button:focus,
input[type="submit"]
{
    font-family: Montserrat, serif;
    outline: none;
    border: none;
    display: block;
    color: white;
    background-color: var(--c-red);
    border-radius: 9999px;
    height: 36px;
    width: 180px;
    box-shadow: var(--glow);
}

button.back{
    background-color: inherit;
    box-shadow: none;
    border: 1px var(--c-red) solid;
}

a,
a:hover,
a:active,
a:visited,
a:focus
{
    text-decoration: none;
    color: var(--c-red);
    cursor: pointer;
}

h1{
    font-size: 22px;
}

h2{
    font-size: 20px;
}

h3{
    font-size: 18px;
}

h1,h2,h3{
    margin-bottom: 15px;
}

span{
    font-size: 14px;
    font-weight: 400;
}

/*placeholders*/
::-webkit-input-placeholder {font-family: Montserrat, serif; font-size:14px;  color: var(--c-white);}
::-moz-placeholder          {font-family: Montserrat, serif; font-size:14px;  color: var(--c-white);}
:-moz-placeholder           {font-family: Montserrat, serif; font-size:14px;  color: var(--c-white);}
:-ms-input-placeholder      {font-family: Montserrat, serif; font-size:14px;  color: var(--c-white);}

body{
    font-family: Montserrat, serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    background-color: var(--c-black);
    color: var(--c-white);
}

#content{
    position: relative;
    margin-top: 120px; /*оступ = высота header*/
    margin-bottom: 70px;
    float: left;
    width: 100%;
    overflow-x: hidden;
}

#content.main{
    margin-top: 66px;
}

.container {
    padding-left: 8px;
    padding-right: 8px;
}

img{
    width: 100%;
    height: 100%;
}

.header{
    position:fixed;
    top: 0;
    width: 100%;
    background-color: black;
    z-index: 2;
    height: 40px; /*45px*/
    padding: 8px 0;
}

.header#grey{
    position:absolute;
    background-color: var(--c-black);
    height: 50px;
}

.header-inner {
    display: flex;
    justify-content: space-between; /*space-around;*/
    align-items: center;
    height: 100%;

    padding: 0 25px;
}

.header-inner.cart-ord{
    padding: 0 15px;
    justify-content: flex-start;
}

.header-inner.cart-ord h3{
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
}

.header-inner.cart-ord i{
    font-size: 25px;
    color: var(--c-white);
}

/*общие стили значка-гамбургера, самого лэйбла*/
.burger-menu{
    height: 18px;
    display: flex;
}

.btn-menu {
    display: block;
    background-color: black;
    position: relative;
    cursor: pointer;
    transition: left .13s;
    z-index: 3;
    width: 23px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
/*общие стили полосок*/
.btn-menu span {
    display: block;
    height: 2px;
    background-color: var(--c-white);
    margin: 5px 0 0;
    transition: all .1s linear .13s;
    position: relative;
}
/*прибиваем к верху лэйбла первую полоску*/
.btn-menu span.first {
    margin-top: 0;
}

.btn-menu.open {
    background-color: black;
}

.btn-menu.open span.first {
    -webkit-transform: rotate(45deg);
    top: 11px;
    background-color: var(--c-white);
}
.btn-menu.open span.second {
    opacity: 0;
}

.btn-menu.open span.third {
    -webkit-transform: rotate(-45deg);
    top: -3px;
    background-color: var(--c-white);
}

.hidden-menu {
    position: fixed;
    padding: 0 10px;
    box-sizing: border-box;
    width: 100%;
    background-color: var(--c-black);
    height: 100%;
    top: 56px;
    left: 0;
    transition: left .2s;
    z-index: 2;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    overflow-y: auto;
}

.hidden-menu p{
    margin-bottom: 0;
}

.hidden-menu .menu-block{
    padding-bottom: 15px;
    padding-top: 25px;
    padding-left: 25px;
    font-size: 18px;
    color: var(--c-white);
}

.hidden-menu .menu-block a{
    display: inline-block;
    color: var(--c-bright-gray);
}

.hidden-menu .menu-block i{
    font-size: 25px;
    margin-right: 10px;
    width: 25px;
    text-align: center;
}

.hidden-menu .menu-block.city p{
    display: inline-block;
    font-size: 18px;
}

/*меню в шапке*/
.menu{
    position: fixed;
    width: 100%;
    background: var(--c-black);
    display: flex;
    margin-top: 0;
    -moz-box-align: center;
    align-items: center;
    top: 55px; /*60px*/
    z-index: 1;
    will-change: box-shadow;
    transition: box-shadow 150ms ease 0s;
    user-select: none;
    height: 50px;
    overflow-x: auto;
    border: 1px #8080804d solid;
}

.menu i{
    font-size: 20px;
    color: white;
}

.menu-search{
    display: flex;
    height: 100%;
    align-items: center;
    font-size: 18px;
}

.menu-search.prev{
    margin-left: 10px;
    padding-right: 10px;
}

.menu-block.search{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-block.search input{
    border: none;
    border-bottom: 1px solid var(--c-bright-gray);
    font-size: 18px;
    outline:none;
    width: 100%;
    background-color: inherit;
    color: var(--c-white);
    margin-right: 10px;
}

.menu-block.search a{
    color: black;
}

.menu-block.search i{
    margin-right: 5px;
}

.menu-inner{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: auto;
    scroll-snap-type: x mandatory;
}

.menu-item{
    position: relative;
    width: auto;
    padding: 0 18px;
    margin-right: -20px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.menu-item a{
    color: grey;
    padding-bottom: 10px;
}

.menu-item#active a{
    color: var(--c-red);
    text-shadow: var(--glow);
}

.menu-item#active::after{
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: var(--c-red);
    position: absolute;
    top: 17px;
    left: 48%;
    box-shadow: var(--glow);
}

.heading{
    text-align: center;
    margin: 15px 0;
}

/*слайдер*/
.flexslider .flex-control-nav {
    display: block;
    text-align: center;
}

.flex-direction-nav {
    display: none;
}

.flexslider .flex-control-nav li {
    padding: 0 !important;
    margin: 0 6px;
    display: inline-block;
    vertical-align: middle;
}

.flexslider .flex-control-nav li a:hover, .flexslider .flex-control-nav li a.flex-active {
    background: var(--c-red);
}
.flexslider .flex-control-nav li a:hover, .flexslider .flex-control-nav li a.flex-active {
    width: 10px;
    height: 10px;
    margin: -1px;
}

.flexslider .flex-control-nav li a {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    box-shadow: none;
    background: rgba(127,127,127,0.35);
    font-size: 0;
}
.flex-control-nav li a {
    background: none repeat scroll 0 0 #b8c2c7;
    color: transparent;
    border-radius: 4px;
    box-shadow: none;
    height: 8px;
    width: 8px;
    box-shadow: 0 1px 1px #979ea1 inset;
}
.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

/*категории на главной странице*/
/*
ul.main_menu{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

ul.main_menu li{
    padding: 8px 8px 15px;
    width: 150px
    height: 90px
}

ul.main_menu li a{
    color: var(--c-white);
}

ul.main_menu li .menu_block{
    position: relative;
    background-color: var(--c-grey);
    border-radius: 15px;
    width: 150px;
    height: 90px;
}

ul.main_menu li .cat-label {
    position: absolute;
    font-size: 14px !important;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 92.1%;
    display: inline-block;
    padding: 6px;
    border-radius: 0 0 15px 15px;
    font-weight: normal;
    color: #f4f4d0;
    background-color: #0000009c;
    text-align: center;
}

ul.main_menu li .image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

ul.main_menu li .image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0;
}*/

.main-menu{
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
}

.main-menu a{
    display: block;
    width: 100%;
    position: relative;
    margin-bottom: 50px;
}

.main-menu a .image{
    height: 140px;
    width: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 0 7px 0 #80808078;
}

.main-menu a .image img{
    position: relative;
    height: auto;
    bottom: 12px;
}

.main-menu a .name{
    position: absolute;
    bottom: -30px;
    left: 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--c-white);
    background-color: var(--c-grey);
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 12px 12px;
}

/*блюда*/
.dishes{
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.product-item {
    box-sizing: border-box;
    position: relative;
    width: 150px;
    display: flex;
    flex-flow: wrap;
    flex: 0 1 auto;
    background: var(--c-grey);
    margin: 8px;
    border-radius: 12px;
}

.product-item .inner {
    display: flex;
    flex-flow: column;
    padding: 10px;
    position: relative;
    width: 100%;
}

.product-item .inner .photo {
    height: auto;
    margin-bottom: 8px;
    width: 100%;
    max-height: 106px;
    min-height: 86px;
}

.product-item .inner .desc {
    margin-bottom: 12px;
    height: 50px;
}

.product-item .inner .desc .out{
    font-size: 12px;
    color: #8a8686;
}

.product-item .inner h3{
    font-size: 13px;
    margin-bottom: 3px;
    max-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.product-item .inner .price{
    color: var(--c-white);
    font-size: 15px;
    font-weight: bold;
}

.product-item .inner .add-to-cart{
    width: 30px;
    height: 30px;
    background: var(--c-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--c-white);
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.product-item .inner a#inCart{
    background: inherit;
    border: 1px var(--c-red) solid;
}

.product-item .dish-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*показ блюда*/
#content.dishShow
{
    margin-top: 66px;
}

#content.dishShow .container{
    padding-left: 15px;
    padding-right: 15px;
}

.dishShow .picture{
    margin-bottom: 15px;
}

.dishShow .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.dishShow #name{
    max-width: 60%;
}

.dishShow p.desc{
    margin-bottom: 20px;
    color: var(--c-bright-gray);
}

.dishShow p.out{
    margin-bottom: 20px;
}

.dishShow .price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.count {
    position: relative;
    width: 116px;
    height: 36px;
    display: flex;
    box-sizing: border-box;
    border-radius: 9999px;
    -moz-box-pack: justify;
    justify-content: space-between;
    border: 1px var(--c-bright-gray) solid;
}

 .count a {
    margin: 0;
    cursor: pointer;
    position: relative;
    height: 100%;
    width: 35.41%;
    padding: 5px 8px 0;
    border: medium none;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    font-size: 20px;
    color: var(--c-bright-gray);
}

.count .quant {
    position: relative;
    z-index: 1;
    height: 100%;
    color: var(--c-bright-gray);
    font-size: 16px;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
    font-weight: 500;
    border: none;
    width: auto;
}

/*корзина*/
.cart-item{
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--c-grey);
    padding: 15px 10px;
}

.cart-item .top{
    display: flex;
    margin-bottom: 10px;
}

.cart-item .top .photo{
    flex: none;
    width: 80px;
    margin-right: 10px;
}

.cart-item .top .photo img{
    max-width: 100%;
    margin-bottom: -5px;
    object-fit: contain;
}

.cart-item .top .name{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.cart-item .top .name p{
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.cart-item .top .name .delete{
    height: 28px;
    width: 28px;
    flex: none;
    text-align: center;
    color: var(--c-white);
}

.cart-item .bottom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
}

.cart-item .price{
    height: 24px;
    line-height: 24px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.cart-item .price p{
    font-size: 16px !important;
    margin: 0;
}

.cart-item .count{
    width: 100px;
    height: 30px;
}

.cart-item .count a{
    padding: 2px 8px 0;
}

.cart .all_price{
    position: fixed;
    height: 150px;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-top: 20px;
    background-color: var(--c-grey);
    border-radius: 20px 20px 0 0;
    border-top: 1px black solid;
    z-index: 1;
}

#ios_all_price{
    height: 169px;
}

.cart .all_price div{
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.cart .all_price button{
    width: 140px;
}

.cart_tovar_list{
    margin-bottom: 125px;
}

/*форма заказа*/
.cart .form_pay{
    padding-top: 10px;
    font-size: 15px;
}

.cart .form_pay form input, .cart .form_pay form select,
.cart .form_pay form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    background-color: var(--c-grey);
    border: none;
    color: var(--c-white)
}

.cart .form_pay form input[type="text"],
.cart .form_pay form input[type="number"],
.cart .form_pay form input[type="tel"],
.cart .form_pay form select{
    height: 40px;
    padding: 0 10px;
}

.cart .form_pay form input[type="number"]{
    margin-top: 5px;
}

.cart .form_pay form textarea {
    min-height: 80px;
    padding: 10px;
}

.cart .form_pay form input[type="checkbox"] {
    width: auto !important;
    display: inline-block;
    margin-left: 3px;
}

.cart .form_pay button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    margin: 20px 0;
}

/*оформленный заказ*/
.container.order{
    padding-top: 10px;
}

.container.order h2{
    margin-bottom: 8px;
}

.container.order h3{
    font-size: 16px;
}

.order-info{
    border-top: 1px #e63d246b solid;
    border-bottom: 1px #e63d246b solid;
    padding: 10px 0;
}

.order-info p{
    margin-bottom: 5px;
}

.container.order .cart{
    padding-top: 20px;
}

.container.order .cart .cart-item{
    padding: 10px;
}

.container.order .cart .cart-item .price{
    margin-top: 5px;
}

.pay-container{
    margin-bottom: 15px;
}

.pay-container input[type="submit"]{
    width: 100%;
}

.container.order .cart_tovar_list{
    margin-bottom: 0;
}

/*модальное окно*/
.md-modal-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 320px;
    height: auto;
    z-index: 2000;
    visibility: hidden;

    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.md-show {
    visibility: visible;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0,0,0,0.7);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

.md-show .info {
    background: var(--c-grey);
    font-size: 18px;
    padding: 35px 40px 25px;
    border-radius: 4px;
    color: var(--c-white)
}

.md-show .info h1{
    font-weight: bold;
}

.md-show .info a{
    color: var(--c-red);
}

/* Content styles */
.md-content {
    color: #000;
    background: white;
    position: relative;
    margin: 0 auto;
}

.md-content button {
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
    outline: none;
}

.md-content .md-close {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
    box-shadow: none;
    border-radius: 0 4px 0 0;
    background-color: inherit;
}

/*ЛК навигация*/
.navigation{
    display: flex;
    margin-bottom: 20px;
}

.navigation .tab{
    margin-right: 10px;
}

.navigation .tab a{
    color: white;
    display: inline-block;
}

.navigation .tab a.active{
    border-bottom: 1px white solid;
}

/*заказы в личном кабинете*/
.lk-order-items .order-item{
    height: 40px;
    border-top: 1px #80808033 solid;
    display: flex;
    position: relative;
    padding: 12px 8px 10px;
    justify-content: space-between;
    align-items: center;
}

.lk-order-items .order-item h3{
    margin-bottom: 0;
    font-size: 16px;
}

.lk-order-items .order-item i {
    flex: 5%;
    font-size: 22px;
    font-weight: bold;
    color: var(--c-red)
}

.lk-order-items .order-item h3.ord {
    flex: 30%;
    color: white;
}

.lk-order-items .order-item .date {
    flex: 25%;
    font-size: 12px;
    color: white;
}

.lk-order-items .order-item h3.price {
    flex: 15%;
    text-align: right;
    color: var(--c-red)
}

.order-show .head{
    margin-bottom: 15px;
    color: white;
}

.order-show .items{
    margin-bottom: 20px;
    color: white;
}

.order-show .items b{
    margin-bottom: 5px;
    display: block;
}

.order-show .items p{
    font-size: 14px;
}

.order-show .total{
    color: var(--c-red);
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

/*footer*/
#no-ios{
    bottom: 0;
}

.footer-fxd {
    width: 100%;
    height: 55px;
    position: fixed;
    left: 0;
    bottom: 19px;
    background: black;
    z-index: 1;
    border-radius: 34px 34px 0 0;
}

.footer-fxd ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    padding: 10px 4px;
}

.footer-fxd ul li {
    position: relative;
    font-size: 10px;
    line-height: 14px;
    opacity: 1;
    display: block;
    padding: 5px;
}

.footer-fxd ul li a {
    display: flex;
    flex-wrap: wrap;
    width: 50px;
    justify-content: center;
    color: var(--c-white);
}

.footer-fxd ul li a#active{
    color: var(--c-red);
}

.footer-fxd ul li a#active::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: var(--c-red);
    position: absolute;
    top: 30px;
    left: 46%;
    box-shadow: var(--glow);
}

.footer-fxd ul li i {
    height: 25px;
    font-size: 25px;
    color: inherit;
}

.footer-fxd .head-cart{
    position: relative;
}

.footer-fxd ul li a#active .head-cart span{
    background: var(--c-white);
    color: var(--c-red);
}

.footer-fxd .head-cart span{
    background: var(--c-red);
    border-radius: 20px;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    left: 50%;
    line-height: 14px;
    margin-left: 8px;
    padding: 1px 5px;
    position: absolute;
    top: -5px;
}

/*статичные страницы*/
.container .text{
    padding: 25px;
    background-color: var(--c-grey);
    border-radius: 10px;
    box-shadow: 0 0 6px black;
    margin-top: 10px;
    margin-bottom: 50px;
}

.container .text ul{
    padding-left: 10px;
}

.container .text ul li{
    list-style-type: disc;
    margin-bottom: 10px;
}

.container .button-text{
    margin: 0 auto;
}

