/*основные цвета*/
:root{
    --c-green: #0d9b6f;
    --c-light-green: rgba(13, 155, 111, 0.35);
    --c-grey: #f2f2f2;
    --c-white: #fefefe;
}

*{
    margin: 0;
    padding: 0;
}

ul, li{
    padding: 0;
    list-style-type: none;
}

p{
    margin-bottom: 10px;
    color: grey;
}

button,
button:active,
button:focus,
input[type=submit]
{
    outline: none;
    border:none;
    display: block;
    color: white;
    padding: 5px 7px;
    background-color: var(--c-green);
    border-radius: 3px;
    font-weight: bold;
}

a,
a:hover,
a:active,
a:visited,
a:focus
{
    text-decoration: none;
    color: var(--c-green);
    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;
}

body{
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    background-color: var(--c-white);
    color: black;
}

#content{
    position: relative;
    margin-top: 139px; /*оступ = высота header*/
    margin-bottom: 50px;
    float: left;
    width: 100%;
    overflow-x: hidden;
}

#content.small-indent{
    margin-top: 74px;
}

.container {
    padding-left: 8px;
    padding-right: 8px;
}

img{
    width: 100%;
    height: 100%;
}

.header{
    position:fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 2;
    height: 45px;
    padding: 8px 0;
    border-bottom: 2px var(--c-grey) solid;
}

.header-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.header-inner.cart-ord{
    padding: 0 30px 0 15px;
    justify-content: flex-start;
}

.header-inner.cart-ord h3{
    margin: 0 auto;
}

.header-inner.cart-ord i{
    font-size: 18px;
    color: black;
}

.header-inner .head-cart{
    position: relative;
    /*display: flex;
    align-items: center;
     */
}

.header-inner .head-cart i{
    font-size: 25px;
   /* margin-right: 5px;*/
}

.header-inner .head-cart span{
    position: absolute;
    font-size: 11px;
    width: 40px;
    left: -5px;
    top: 26px;
    text-align: center;
    color: black;
    font-weight: bold;
}


/*общие стили значка-гамбургера, самого лэйбла*/
.burger-menu{
    height: 18px;
    display: flex;
}

.btn-menu {
    display: block;
    color: white;
    background-color: black;
    position: relative;
    cursor: pointer;
    transition: left .13s;
    z-index: 3;
    width: 20px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
/*общие стили полосок*/
.btn-menu span {
    display: block;
    height: 3px;
    background-color: white;
    margin: 3px 0 0;
    transition: all .1s linear .13s;
    position: relative;
}
/*прибиваем к верху лэйбла первую полоску*/
.btn-menu span.first {
    margin-top: 0;
}

.btn-menu.open {
   /* position: absolute;
    right: 20px;
    top: 80px;
    color: black;*/
    background-color: white;
}
.btn-menu.open span.first {
    -webkit-transform: rotate(45deg);
    top: 7px;
    background-color: black;
}
.btn-menu.open span.second {
    opacity: 0;
}

.btn-menu.open span.third {
    -webkit-transform: rotate(-45deg);
    top: -5px;
    background-color: black;
}

.hidden-menu {
    position: fixed;
    padding: 0 10px;
    box-sizing: border-box;
    width: 100%;
    background-color: white;
    height: 100%;
    top: 61px;
    left: 0;
    transition: left .2s;
    z-index: 2;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    overflow-y: auto;
    border-top: 2px var(--c-grey) solid;
    border-right: 2px var(--c-grey) solid;
}

.hidden-menu p{
    margin-bottom: 0;
}

.hidden-menu .menu-block{
    padding-bottom: 15px;
    padding-top: 15px;
    padding-left: 15px;
    font-size: 18px;
    color: gray;
    border-bottom: 1px #e7e1e1c4 solid;
}

.hidden-menu .menu-block.lk div{
    display: flex;
    align-items: center;
}
.hidden-menu .menu-block.lk{
    color: black;
}

.hidden-menu .menu-block.lk i{
    margin-left: 5px;
}

.hidden-menu .menu-block.city{
    padding-bottom: 0;
}

.hidden-menu .menu-block.city a{
    /*border-bottom: 1px dashed var(--c-green);*/
    font-size: 14px;
    display: block;
    border-bottom: 1px #e7e1e1c4 solid;
    padding-bottom: 15px;
}

.hidden-menu .menu-block.city span{
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1;
    margin-left: 20px;
}

.hidden-menu .menu-block a{
    display: inline-block;
    color: gray;
}

.hidden-menu .menu-block i{
    font-size: 20px;
    margin-right: 5px;
}

.hidden-menu .menu-block.city p{
    display: inline-block;
    font-size: 18px;
}

.hidden-menu .menu-block.city #address{
    padding-bottom: 15px;
}

.hidden-menu .menu-block.city #tel{
    font-size: 20px;
    border-bottom: none !important;
    padding-top: 15px;
}

/*модальное окно с выбором города*/
#city_bg_modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(98, 142, 129, 0.58);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/*#city_worksheet {*/
/*    background-color: white;*/
/*    width: 280px;*/
/*    height: 250px;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    margin: auto;*/
/*    position: fixed;*/
/*    z-index: 1001;*/
/*    border-radius: 10px;*/
/*    padding: 30px;*/
/*    -webkit-box-sizing: border-box;*/
/*    -moz-box-sizing: border-box;*/
/*    box-sizing: border-box;*/
/*}*/

/*#city_worksheet h2{*/
/*    margin-bottom: 20px;*/
/*}*/

/*#city_worksheet p{*/
/*    margin-bottom: 15px;*/
/*}*/

#city_worksheet {
    background-color: white;
    width: 295px;
    height: fit-content;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    position: fixed;
    z-index: 1001;
    border-radius: 10px;
    padding: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#city_worksheet h2{
    text-align: center;
}

#city_item{
    width: 100px;
    background: #e3e3e3;
    margin: 0px 4px 12px 4px;
    padding: 8px 3px 3px 3px;
}

#city_flex{
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    flex-wrap: wrap-reverse;
}

#city_worksheet img{
    margin-top: 5px;
    width: 50%;
    height: 50%;
}

#city_worksheet p{
    text-align: center;
}

.container.contacts .block{
    margin-bottom: 15px;
}

.container.contacts .block i{
    margin-right: 8px;
}


/*меню в шапке*/
.menu{
    position: fixed;
    width: 100%;
    background: rgb(255, 255, 255) none repeat scroll 0% 0%;
    display: flex;
    margin-top: 0;
    -moz-box-align: center;
    align-items: center;
    top: 63px;
    z-index: 1;
    will-change: box-shadow;
    transition: box-shadow 150ms ease 0s;
    user-select: none;
    height: 56px;
    overflow-x: auto;
    box-shadow: rgba(6, 5, 50, 0.15) 0px 2px 15px -3px;
}

.menu i{
    font-size: 20px;
}

.menu-search{
    display: flex;
    margin-left: 10px;
    height: 100%;
    align-items: center;
    border-right: 2px var(--c-grey) solid;
    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 black;
    color: black;
    font-size: 18px;
    outline:none;
    width: 260px;
}

.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{
    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{
    border-bottom: 6px var(--c-green) solid;
    color: black;
}

/*блюда*/
.dishes{

}

.popular.dishes{
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.popular.dishes .dish{
    border-radius: 16px;
    width: 154px;
    flex-direction: column;
    border-left: none;
    border-bottom: 4px solid #fff;
    overflow: hidden;
    height: 256px;
    flex-wrap: nowrap;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04), 0 8px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    line-height: 16px;
    padding: 0;
    float: none;
    margin: 0 0 16px 0;
}

.popular.dishes .dish .image{
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
    height: 164px;
    min-height: 164px;
    margin: -16px;
    border-radius: 0;
    position: relative;
    float: none;
    padding: 0;
}





.dishes .dish{
    margin: 0 -10px;
    padding: 10px;
    position: relative;
    float: left;
    width: 100%;
    border-bottom: 1px var(--c-grey) solid;
}
.dishes .dish.maximized{
    padding: 0 10px 15px;
    box-shadow: rgba(6, 5, 50, 0.15) 0px 2px 15px -3px;
}
@media screen and (min-width: 705px){
    .dishes .dish{
        width: 47%;
        margin: 0;
        border-right: 1px var(--c-grey) solid;
    }
}

.dishes .dish .image{
    width: 26%;
    max-width: 116px;
    float: left;
    padding: 0 7.5px 0 0;
    position: relative;
}
.dishes .dish.maximized .image{
    transition: all .25s ease 0s;
    width: calc(100% + 20px);
    margin: 0 -10px 35px;
    padding: 0;
    height: auto;
    max-width: none;
}

.dishes .dish .info{
    width: 50%;
    float: left;
    padding: 0 7px;
    position: relative;
}
.dishes .dish.maximized .info{
    width: 100%;
    height: auto;
}
@media screen and (max-width: 351px){
    .dishes .dish .info{
        padding: 0 3.8px;
    }
}

.dishes .dish .info .add,
.dishes .dish .info .add-to-cart
{
    position: absolute;
    bottom: 2px;
    left: 7px;
}

.dishes .dish.maximized .info .add,
.dishes .dish.maximized .info .add-to-cart{
    position: relative;
    left: 0;
    bottom: 0;
}

.dishes .dish.maximized .info .add.filling{
    left: 90px;
    bottom: 26px;
}

.dishes .dish .image,
.dishes .dish .info{
    height: 75px;
}

.dishes .dish.maximized .info .name{
    font-size: 18px;
    margin-bottom: 5px;
}

.dishes .dish .info .more{
    font-size: 12px;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 1px dashed var(--c-green);
}

.add-to-cart{
    width: 100px;
    height: 25px;
    display: flex;
    box-sizing: border-box;
    -moz-box-pack: justify;
    justify-content: space-between;
}

.dishes .dish .info.maximized .add-to-cart{
    max-width: none;
    width: 100%;
    text-align: left;
    margin: 20px 0 0;
}

.add-to-cart a{
    margin: 0;
    cursor: pointer;
    position: relative;
    height: 100%;
    padding: 2px 8px 0;
    width: 12%;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px;
}

.add-to-cart a.minus{
    color: black;
    background-color: var(--c-grey);
}

.add-to-cart a.plus{
    color: white;
    background-color: var(--c-green);
}

.add-to-cart input{
    position: relative;
    height: 100%;
    color: black;
    font-size: 11px;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
    border: none;
    width: 30px;
    background-color: #f6f6f6;
    text-align: center;
    font-weight: bold;
    border-radius: 3px;
    padding: 1px 0;
}

.add-to-cart input,
.add-to-cart a{
    border: 1px #0003 solid;
}

.dishes .dish .price{
    padding: 0 10px 0 0;
    margin: 10px 0;
    max-width: 25%;
    font-weight: bold;
    float: right;
    text-align: right;
    color: var(--c-green);
}

.dishes .dish.maximized .price{
    float: left;
    margin: 0;
    padding: 7.5px;
    height: auto;
}

.dishes .dish .info .checkout{
    position: absolute;
    left: 118px;
    top: 58px;
    border-bottom: 1px dashed var(--c-green);
    width: 80px;
}
.dishes .dish.maximized .info .checkout{
    top: unset;
    bottom: -3px;
}

.dishes .dish .info .checkout.filling{
    top: 52px;
    left: 7px;
}
.dishes .dish.maximized .info .checkout.filling{
    top:unset;
    bottom: 0;
}

.dishes .dish .info .add.filling{
    background-color: #dadbd85c;
    color: var(--c-green);
    border: 2px var(--c-green) solid;
    left: 97px;
    padding: 3px 7px;
}

.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-green);
}
.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;
}

/*воки и начинки*/
#result_block{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#result_block .dish_name,
#result_block .price
{
    width: 100%;
    text-align: center;
    font-weight: bold;
}

#result_block .dish_name h2{
    margin-bottom: 0;
}

#result_block .dish-img{
    width: 250px;
    margin-bottom: 10px;
}

.step{
    margin: 20px 0;
    padding: 5px 7px;
    border-radius: 4px;
    background: var(--c-light-green);
    color: black;
}

.extras{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.extras .extra{
    font: inherit;
    box-sizing: border-box;
    touch-action: manipulation;
    position: relative;
    height: 136px;
    width: 106px;
    margin: 0 8px 8px 0;
    padding: 8px;
    background: rgb(255, 255, 255) none repeat scroll 0% 0%;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: rgba(6, 5, 50, 0.12) 0 4px 20px;
    border-radius: 12px;
    display: flex;
    flex-flow: column nowrap;
    -moz-box-align: center;
    align-items: center;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
    transition-delay: 0s;
    transition-property: box-shadow, border;
}

.extras .extra.base{
    height: 90px;
    width: 47%;
}

.extras .extra.base h3{
    height: 18px;
}

.extras .extra.active{
    border-color: var(--c-green);
}

.extras .extra h3{
    font-size: 15px;
    text-align: center;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.extras .extra .price{
    line-height: 20px;
    flex: 0 0 auto;
    margin-bottom: 15px;
}

#extras-price-block{
    z-index: 1;
    background: rgb(255, 255, 255) none repeat scroll 0% 0%;
    border-top: 1px #8080802e solid;
    padding: 12px 0;
    width: 100%;
    position: fixed;
    display: flex;
    bottom: 0;
    right: 0;
    justify-content: center;
    flex-wrap: wrap;
}

#extras-price-block button{
    font-size: 16px;
}

#extras-price-block div{
    display: block;
    width: 80%;
    text-align: center;
}

#extras-price-block div p{
    width: auto;
}

.vok-name{
    display: flex;
    justify-content: flex-start;
}

.vok-name h2{
    margin-right: 20px;
}


/*корзина*/
.cart .cart_tovar_list .item{
    overflow: hidden;
    background: white;
    padding: 15px;
    border-bottom: 1px var(--c-grey) solid;
}

.cart .cart_tovar_list .item .top{
    display: flex;
    border-bottom: 1px var(--c-grey) solid;
    padding-bottom: 12px;
}

.cart .cart_tovar_list .item.order .top{
    border-bottom: none;
    padding-bottom: 0;
}

.cart .cart_tovar_list .item .top .photo{
    flex: none;
    margin-right: 10px;
    width: 20%;
    max-width: 92px;
}

.cart .cart_tovar_list .item .top .photo img{
    max-width: 100%;
    margin-bottom: -5px;
    height: auto;
}

.cart .cart_tovar_list .item .top .name{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.cart .cart_tovar_list .item .top .name p{
    font-weight: bold;
    color: black;
}

.cart .cart_tovar_list .item .top .name p span{
    font-size: 12px;
    line-height: 16px;
    color: grey;
}

.cart .cart_tovar_list .item .top .name .btn_del{
    height: 28px;
    width: 28px;
    background: #de1c1c;
    border-radius: 4px;
    flex: none;
    margin-left: 10px;
}

.cart .cart_tovar_list .item .top .name .btn_del img{
    height: 16px;
    width: 16px;
    display: block;
    margin: 6px auto;
}

.cart .cart_tovar_list .item .description{
    margin-bottom: 10px;
}

.cart .cart_tovar_list .item .description p{
    font-size: 13px;
    color: #4c4c4c;
}

.cart .cart_tovar_list .item .bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart .cart_tovar_list .item .bottom .delete{
    border: 1px #0003 solid;
    color: black;
    background-color: var(--c-grey);
    margin: 0;
    cursor: pointer;
    position: relative;
    padding: 2px 8px 0;
    width: 15.3px;
    height: 26.3px;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px;
}

.cart .cart_tovar_list .item .bottom .price,
.price-container .price,
.cart .cart_tovar_list .item.order .top .name p span.price
{
    height: 24px;
    line-height: 24px;
}

.cart .cart_tovar_list .item .bottom .price p,
.price-container .price p,
.cart .cart_tovar_list .item.order .top .name p span.price
{
    font-size: 18px;
    color: var(--c-green);
    font-weight: bold;
}

.cart .cart_tovar_list .item .bottom .price.ord p{
    font-size: 15px;
}

.cart .cart_tovar_list .all_price{
    background-color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap:wrap;
    font-size: 18px;
}

.cart .cart_tovar_list .all_price h3{
    font-weight: normal;
}

.cart .cart_tovar_list .all_price #button_link{
    width:100%;
    text-align: center;
    display: block;
}

.cart .cart_tovar_list .all_price #button_link button{
    display: inline-block;
    width: 100%;
    padding: 10px;
    margin: 12px 0;
}

.cart .btn_send{
    border: none !important;
    border-radius: 20px !important;
    margin-top: 30px;
}

.container.dishShow .add a{
    width: auto !important;
}

.cart .form_pay form input,
.cart .form_pay form select,
.cart .form_pay form textarea{
    border: 1px solid #C5C5C5;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f0f9f1fa;
}

.cart .form_pay form input[type='checkbox']{
    width: auto !important;
    display: inline-block;
    margin-left: 3px;
}

.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 textarea{
    min-height: 80px;
    padding: 10px;
}

.checkbox{
    margin-bottom:5px;
}

#remember_me,
#accept{
    width:auto;
    height:auto;
    display:inline-block;
}

.cart .form_pay button{
    display: inline-block;
    width: 100%;
    padding: 10px;
    margin: 12px 0;
}

/*order*/
.order h3{
    font-size: 16px;
}

.order-info{
    border-top: 1px #8080802e solid;
    border-bottom: 1px #8080802e solid;
    padding-top: 10px;
}

.pay-container{
    text-align: center;
    padding-bottom: 15px;
}

.pay-container input[type="submit"]
{
    width: 99%;
    text-align: center;
    display: inline-block;
    padding: 8px;
}

/*footer (нижняя панель)*/
#no-ios{
    bottom: 0;
}

.footer-fxd {
    width: 100%;
    height: 55px;
    position: fixed;
    left: 0;
    bottom: 19px;
    background: var(--c-grey);
    z-index: 1;
}

.footer-fxd ul{
    padding: 4px;
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0;
}

.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: 53px;
    justify-content: center;
    color: #808080bf;
}

.footer-fxd ul li a#active{
    color: var(--c-green);
}

/*уведомления*/
.footer-fxd ul li a#active-push{
    width: 74px;
    position: relative;
}

.footer-fxd ul li p#unread-push::before{
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: red;
    position: absolute;
    top: 0;
    right: 15px;
}

.footer-fxd ul li i{
    height: 25px;
    font-size: 20px;
    color: inherit;
}

.footer-fxd ul li p{
    line-height: 11px;
    font-size: 11px;
    height: 16px;
    margin-top: 2px;
    overflow: hidden;
    color:inherit;
}

/*модальное окно*/
.md-modal-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85%;
    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-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85%;
    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-modal.cart-modal {
    width: 45%;
    min-width: 660px;
    position: absolute;
    top: 60%;
}
.md-show {
    visibility: visible;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: var(--c-light-green);
    -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: white;
    font-size: 18px;
    padding: 20px;
}
/* Content styles */
.md-content {
    color: #000;
    background: #fff;
    position: relative;
    border-radius: 3px;
    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: -16px;
    top: -16px;
    width: 36px;
    height: 36px;
    border: none;
    background: url("../images/icon-close.png") no-repeat center;
    border-radius: 50%;
    cursor: pointer;
}

/* 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;
}

/*ЛК навигация*/
.navigation{
    display: flex;
    margin-bottom: 20px;
}

.navigation .tab{
    margin-right: 10px;
}

.navigation .tab a{
    color: black;
    display: inline-block;
}

.navigation .tab a.active{
    border-bottom: 1px black 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-green)
}

.lk-order-items .order-item h3.ord {
    flex: 30%;
    color: black;
}

.lk-order-items .order-item .date {
    flex: 25%;
    font-size: 12px;
    color: gray;
}

.lk-order-items .order-item h3.price {
    flex: 15%;
    text-align: right;
    color: var(--c-green)
}

.order-show .head{
    margin-bottom: 15px;
    color: grey;
}

.order-show .items{
    margin-bottom: 20px;
    color: black;
}

.order-show .items b{
    margin-bottom: 5px;
    display: block;
}

.order-show .items p{
    font-size: 14px;
}

.order-show .total{
    color: var(--c-green);
}

.order-show button{
    margin-bottom: 20px;
}

/*меню на главной странице*/
ul.main_menu{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

ul.main_menu li{
    padding: 8px 8px 20px;
}

ul.main_menu li a{
    color: black;
}

ul.main_menu li .menu_block{
    position: relative;
}

ul.main_menu li .cat-label {
    position: absolute;
    font-size: 15px !important;
    top: 15px;
    left: 15px;
    color: white;
    text-shadow: 0 0 8px black;
}

ul.main_menu li .image {
    width: 150px;
    height: 100px;
}

ul.main_menu li .image img{
    width: 100%;
    box-shadow: 4px 5px 20px 0px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

/*уедомления*/
.notifications{
    padding-bottom: 10px;
}

.notification{
    display: block;
    position: relative;
    background-color: var(--c-grey);
    border-radius: 6px;
    padding: 10px 10px 10px 22px;
    margin-bottom: 10px;
}

.notification.unread-push::before{
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: red;
    position: absolute;
    top: 42px;
    left: 8px;
}

.notification .date{
    color: #0009;
    text-align: right;
    margin-bottom: 5px;
}

.notification span{
    font-size: 12px;
}

.notification .title{
    color: var(--c-green);
    font-size: 18px;
    margin-bottom: 8px;
}

.notification .text{
    color: #0009;
    font-weight: normal;
    font-size: 15px;
    margin-bottom: 9px;
    max-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    width: 95%;
}

.notification-title,
.notification-text,
.notification-date
{
    padding: 0 8px;
}

.notification-date{
    margin-top: 10px;
    margin-bottom: 46px;
    color: #0009;
    font-weight: bold;
}

.notification-date span{
    font-weight: bold;
}

.notification-title{
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
    color: var(--c-green);
    font-size: 30px;
}

.notification-text{
    color: #0009;
    font-size: 18px;
    font-weight: normal;
}

/*radio button на странице офомления заказа*/

.form_pay input[type="radio"]:checked,
.form_pay input[type="radio"]:not(:checked)
{
    position: absolute;
    left: -9999px;
}

.form_pay input[type="radio"]:checked + label,
.form_pay input[type="radio"]:not(:checked) + label {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    line-height: 20px;
    cursor: pointer;
    margin-bottom: 15px;
}

.form_pay input[type="radio"]:checked + label:before,
.form_pay input[type="radio"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #dddddd;
    background-color: #ffffff;
}

.form_pay input[type="radio"]:checked + label:before {border: 1.5px solid var(--c-green)}

.form_pay input[type="radio"]:checked + label:before,
.form_pay input[type="radio"]:not(:checked) + label:before {
    border-radius: 100%;
}

.form_pay input[type="radio"]:checked + label:after,
.form_pay input[type="radio"]:not(:checked) + label:after {
    content: "";
    position: absolute;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.form_pay input[type="radio"]:checked + label:after,
.form_pay input[type="radio"]:not(:checked) + label:after {
    left: 6px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--c-green);
}

.form_pay input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
}

.form_pay input[type="radio"]:checked + label:after {
    opacity: 1;
}