/*основные цвета*/
:root{
    --c-green: #4aab05;
    --c-red: #db4242;
    --c-orange: #db7d42;
    --c-blue: #34464e;
    --c-dark-grey: #56666a;
    --c-light-grey: #a4b6ba;
    --c-light-blue: #343c3fcc;
}

*{
    margin: 0;
    padding: 0;
}

ul, li{
    padding: 0;
    list-style-type: none;
}

button,
button:active,
button:focus {
    outline: none;
    border:none
}

a,
a:hover,
a:active,
a:visited,
a:focus
{
    text-decoration: none;
    color: white;
    cursor: pointer;
}

h1{
    font-size: 18px;
}

h2{
    font-size: 16px;
}

h1,h2,h3{
    margin-bottom: 10px;
}

body{
    font-family: Roboto, serif;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    background-color: black;
    color: white;
}

#content{
    position: relative;
    z-index: 1;
    margin-bottom: 70px; /*оступ = высота .bottom-panel*/
}

img{
    width: 100%;
    height: 100%;
}

/*категории главная*/
.main-categories {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    height: 96vh;
    padding: 10px 0;
}

.main-categories a{
    display: block;
    height: 100%;
    width: 32%;
    position: relative;
}

.main-categories a .image{
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.main-categories a .image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(0, 0, 0, 0.65) 100%);
}

.main-categories a .name{
    position: absolute;
    top: 45%;
    left: 0;
    font-size: 33px;
    font-weight: normal;
    color: #f4f4d0;
    background-color: #0000009c;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*категории (левое меню)*/
.left-categories{
    width: 26%;
    float: left;
    height: 87vh;
    overflow-y: auto;
    position: fixed;
}

.left-categories ul{
    position: relative;
}

.left-categories ul a:first-child{
    position: relative;
    width: 50%;
    display: block;
    /*height: 50px;
    margin-bottom: 10px;*/
}

.left-categories ul li.first{
    margin-top: 60px;
}

.left-categories ul li{
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    background-color: #212020f0;
    margin-bottom: 10px;
    font-size: 15px;
}

.left-categories ul li#main{
    justify-content: space-between;
    position: fixed;
    width: calc(26% - 67px);
    background-color: var(--c-green);
    top: 0;
    margin-bottom: 0;
    left: 0;
    align-items: center;
}

.left-categories ul li#main i{
    margin-right: 15px;
    color: white;
}

.left-categories ul li i{
    color: var(--c-orange);
}

.left-categories ul li#active{
    background-color: var(--c-orange);
}

.left-categories ul li#active i{
    color: white;
}

.right-dishes{
    width: 72%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 auto 0 28%;
    padding-top: 20px;
}

.right-dishes .text{
    font-size: 16px;
    line-height: 26px;
}

.right-dishes .dish{
    width: 220px;
    height: 241px;
    margin-bottom: 15px;
    margin-right: 7px;
}

.right-dishes .dish .image{
    width: 100%;
    height: 150px;
    position: relative;
    margin-bottom: 10px;
}

.price{
    position: absolute;
    top: 0;
    background-color: var(--c-green);
    padding: 8px 6px;
    font-size: 16px;
}

.right-dishes .dish .name{
    font-size: 15px;
    height: 36px;
    margin-bottom: 5px;
    width: 225px;
}

.add-to-cart{
    color: white;
    background-color: var(--c-orange);
    padding: 8px 18px;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.add-to-cart i{
    font-size: 24px;
    margin-right: 5px;
}

.add-to-cart.in{
    background-color: var(--c-red);
}

/*блюдо в модальном окне*/
.dish-modal{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: auto;
    max-height: 450px;
    transform: translateX(-50%) translateY(-50%);
    z-index: 200;
    background-color: black;
    border: 1px #80808063 solid;
}

.dish-modal .inner{
    position: relative;
    height: 100%;
    width: 100%;
}

.dish-modal .inner p{
    margin-bottom: 5px;
    font-size: 15px;
}

.dish-modal .inner p:last-child{
    margin-bottom: 10px;
}

.dish-modal .inner .button-close{
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--c-red);
    color: white;
    padding: 5px 10px 10px;
    font-weight: bold;
    font-size: 20px;
}

.dish-modal .inner .image{
    width: 450px;
    height: 303px;
    margin: 0 auto;
}

.dish-modal .inner .desc{
    padding: 10px 20px;
    background-color: var(--c-blue);
    height: auto;
    max-height: 147px;
}

.modal-background{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0,0,0,0.7);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/*корзина*/
.cart{
    padding: 10px 15px;
}
.cart h1{
    text-transform: uppercase;
}
.cart h1 a{
    color: var(--c-orange);
    text-decoration: underline;
}
.cart-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
    background-color: var(--c-dark-grey);
    height: 98px;
}

.cart-item h2{
    width: 500px;
}

.cart-item .image{
    width: 144px;
}

.cart-item .amount{
    display: flex;
    justify-content: space-between;
    height: 40px;
    padding-right: 10px;
}

.cart-item .amount .count{
    width: 110px;
    display: flex;
}

.cart-item .amount .count a{
    display: block;
    background-color: var(--c-light-grey);
    font-weight: bold;
    width: 30px;
    text-align: center;
    padding-top: 10px;
    font-size: 18px;
}

.cart-item .amount .count input{
    width: 25px;
    background-color: black;
    color: white;
    border: none;
    font-weight: bold;
    text-align: center;
}

/*меню для оффицианта*/
.check-container{
    padding: 15px;
    height: 430px;
    display: flex;
    justify-content: space-around;
    position: fixed;
    width: 100%;
    bottom: 0;
    border-top: 2px grey solid;
    left: 0;
    background-color: black;
    z-index: 10;
}

.check-container .send{
    width: 45%;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    flex-wrap: wrap;
}

.check-container .send h3{
    width: 100%;
    text-align: center;
}

/*.check-container .send select{
    width: 311px;
    height: 50px;
    border-radius: 0;
    border: none;
    background-color: white;
    color: black;
    font-weight: bold;
}
 */

.check-container .tables,
.check-container .keyboard{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.check-container .tables .table,
.check-container .keyboard .key{
    display: flex;
    justify-content: center;
    align-items: center
}

.check-container .tables{
    width: 521px;
    height: 400px;
}

.check-container .tables .table{
    background-color: #f4b690;
    color: black;
    width: 100px;
    height: 50px;
    border-radius: 4px;
}

.check-container .tables .table.active{
    background-color: #fa7777;
}

.check-container .keyboard{
    width: 311px;
    height: 311px;
    padding-bottom: 99px;
}

.check-container .keyboard .key{
    background-color: white;
    color:black;
    width: 90px;
    height: 50px;
}

.check-container .keyboard .key#red{
    background-color: var(--c-red);
    color: white;
}

.check-container .keyboard .key#green{
    background-color: var(--c-green);
    color: white;
}

.check-container .keyboard .key span,
.check-container .tables .table span
{
    font-size: 18px;
}

/*footer (нижняя панель)*/
.bottom-panel{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
    border-top: 1px var(--c-light-blue) solid;
    height: 70px;
    z-index: 2;
}

.bottom-panel .inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5px;
}

.bottom-panel .inner .amount i{
    color: var(--c-orange);
    font-size: 30px;
    margin-right: 20px;
}

.bottom-panel .inner .button-basket{
    color: white;
    background-color: var(--c-orange);
    padding: 15px 25px;
    text-transform: uppercase;
    font-weight: 600;
}

/*основные стили для модального окна в корзине*/
.md-modal-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 800px;
    width: auto;
    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: white;
    font-size: 18px;
    padding: 35px 40px 25px;
}

.md-show .info h1{
    color: #e63d24;
    font-weight: bold;
}

.md-show .info a{
    color: black;
}

/* 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;
    border: none;
    cursor: pointer;
}

.md-content .md-close::after{
    content: 'X';
    font-size: 20px;
    font-weight: bold;
}

/* 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;
}

/*заказы*/
.lk-order-items .order-item{
    height: 40px;
    border-top: 2px var(--c-light-grey) solid;
    display: flex;
    position: relative;
    padding: 12px 8px 10px;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.lk-order-items .order-item h3{
    margin-bottom: 0;
    font-size: 16px;
}

.lk-order-items .order-item i {
    flex: 5%;
    font-size: 24px;
    font-weight: bold;
    color: var(--c-orange)
}

.lk-order-items .order-item h3.ord {
    flex: 30%;
}

.lk-order-items .order-item .date {
    flex: 25%;
    font-size: 14px;
}

.lk-order-items .order-item h3.t-price {
    flex: 15%;
    text-align: right;
    color: var(--c-orange)
}

.order-show .head{
    margin-bottom: 15px;
    color: grey;
}

.order-show .items{
    margin-bottom: 20px;
    color: white;
}

.order-show .items b{
    margin-bottom: 5px;
    display: block;
}

.order-show .items p{
    font-size: 16px;
}

.order-show .total{
    color: var(--c-orange);
}

.login-form {
    max-width: 300px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input {
    padding: 5px;
    background: lightgray !important;
    color: black !important;
    font-weight: bold;
    font-size: 16px;
    border: none;
}

.form-group span{
    display: block;
    width: 50px;
    margin-bottom: 5px;
}

.error-message {
    color: red;
    margin-top: 10px;
}

.mr-12 {
    margin-right: 12px;
}

.logout-btn {
    padding: 10px 15px;
    background: var(--c-orange);
    color: white;
    text-transform: uppercase;
    font-weight: 600;
}

.lk-order-items .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding-bottom: 10px;
}

.lk-order-items .title h1,
.lk-order-items .title button{
    margin: 0;
}
