﻿.menu-title {
    font-weight: 600;
}

.menu-page {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    .menu-page .item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }

        .menu-page .item h3 {
            font-size: 16px;
            font-weight: 600;
        }

.menu-item {
    position: relative;
    cursor: pointer;
}

    .menu-item img {
        display: block;
        width: 100%;
        height: auto;
    }

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #4d5e6469;
}

.menu-item:hover .overlay {
    opacity: 1;
}

.text-on-img {
    color: white;
    font-size: 25px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: pointer;
}

.img-preview {
    width: 70% !important;
    min-height: 100px;
    border: 1px dotted gray;
}

.pill-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 3.5rem;
    box-sizing: border-box;
}

    .pill-container input[type="checkbox"] {
        opacity: 0;
        position: fixed;
        width: 0;
    }

.options {
    padding: 5px;
}


/*.option-a {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}*/


/*
.selector:last-child {
    border-right: 2px solid blue;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}*/

.option-item {
    height: 35px;
}

.selector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    cursor: pointer;
    background: #d5cdcd;
    border-right: 0;
    height: 100%;
    border-radius: 20px;
}

    .selector:hover {
        background: #d56811;
        color: white;
    }

input[type="checkbox"]:checked + label {
    background: #d56811;
    color: white;
}


/* For modal field */

.form-group {
    position: relative;
    margin-top: 15px;
}

.form-label {
    position: absolute;
    top: 10px;
    background-color: #fff;
    z-index: 10;
    transition: transform 150ms ease-out, font-size 150ms ease-out;
}

.focused .form-label {
    transform: translateY(-125%);
    font-size: .75em;
}

.form-input {
    position: relative;
    padding: 5px 0px 5px 0;
    width: 100%;
    outline: 0;
    border: 0;
    box-shadow: 0 1px 0 0 #e5e5e5;
    transition: box-shadow 150ms ease-out;
}

    .form-input:focus {
        box-shadow: 0 2px 0 0 #e99865;
    }

    .form-input.filled {
        box-shadow: 0 2px 0 0 rgb(162, 184, 162);
    }

.select-category {
    position: relative;
    display: flex;
    height: 3em;
    border-radius: .25em;
    overflow: hidden;
}

    .select-category::after {
        content: '\25BC';
        position: absolute;
        top: 0;
        right: 0;
        padding: 1em;
        background-color: #cdcac8;
        transition: .25s all ease;
        pointer-events: none;
    }

    .select-category:hover::after {
        color: #f39c12;
    }

    .select-category select {
        /* Reset Select */
        appearance: none;
        outline: 0;
        border: 0;
        box-shadow: none;
        flex: 1;
        padding: 0 1em;
        color: #000;
        background-color: #e2dfdd;
        background-image: none;
        cursor: pointer;
    }

        .select-category select::-ms-expand {
            display: none;
        }

        .select-category select option {
            background-color: #e2dfdd;
            /*color: #e08339;*/
            padding: 5px 0;
            height: 2em;
        }

            .select-category select option::selection {
                background-color: #d1cecd;
                color: #e08339;
                padding: 5px 0;
                height: 2em;
            }

.check_label {
    display: block;
    padding: 10px 5px !important;
    padding-left: 10px !important;
    border-bottom: 1px solid #80808038;
}
.gp_option {
    color: gray;
    font-size: 12px;
}
.flex_center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.select-choice_gp {
    box-shadow: 0px 5px 15px 0px rgb(227 217 209);
    padding: 10px;
}
.choice-gp {
    position: relative !important;
    appearance: none;
    box-sizing: content-box;
    overflow: hidden;
    height: 19px;
    padding-top: 4px;
}

    .choice-gp:before {
        content: '';
        display: block;
        box-sizing: content-box;
        width: 15px;
        height: 15px;
        border: 2px solid #ccc;
        transition: 0.2s border-color ease;
        border-radius: 4px;
    }

    .choice-gp:after {
        content: '';
        display: block;
        position: absolute;
        box-sizing: content-box;
        top: 50%;
        left: 47%;
        transform-origin: 50% 50%;
        width: 10px;
        height: 16px;
        border-radius: 0;
        transform: translate(-50%, -85%) scale(0) rotate(45deg);
        background-color: transparent;
        box-shadow: 4px 4px 0px 0px #f66001;
    }

    .choice-gp:checked:before {
        border-color: #f66001;
        transition: 0.5s border-color ease;
    }

    .choice-gp:disabled:before {
        border-color: #ccc;
        background-color: #ccc;
    }

    .choice-gp:checked:after {
        animation: toggleOnCheckbox 0.2s ease forwards;
    }

    .choice-gp.filled:before {
        border-radius: 4px;
        transition: 0.2s border-color ease, 0.2s background-color ease;
    }

    .choice-gp.filled:checked:not(:disabled):before {
        background-color: #f66001;
    }

    .choice-gp.filled:not(:disabled):after {
        box-shadow: 4px 4px 0px 0px white;
    }
.hint_text {
    font-size: 10px !important;
    color: gray !important;
}
.fa-trash {
}
.detail_type{
    font-size: 13px;
}
#choice_item_gp .form-group{
    padding: 0px;
}
#menu_block{
    /*border: 1px solid #ccc !important;
    min-height: 618px;*/
}
/* Style the tab */
.tab {
    float: left;
    border-right: 1px solid #ccc;
    background-color: #f1f1f1;
    width: 22%;
    min-height: 500px;
    height: 87vh;
    /*max-height: 580px;*/
}
/* Style the buttons inside the tab */
.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 12px 20px 12px 7px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ee8d6ec2;
        }

        /* Create an active/current "tab button" class */
        .tab button.active {
            background-color: #ee8d6e;
            color: white;
        }

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 10px 12px;
    width: 78%;
    border-left: none;
    font-size: 12px;
}
#reports_block .tabcontent{
    width: 84%;
}
.tab button.active {
    background-color: #f65f01c2;
}
#choice_gp_items, #category_items, #menu_items {
    max-height: 442px;
    overflow-y: scroll;
}

@keyframes toggleOnCheckbox {
    0% {
        opacity: 0;
        transform: translate(-50%, -85%) scale(0) rotate(45deg);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -85%) scale(0.9) rotate(45deg);
    }

    100% {
        transform: translate(-50%, -85%) scale(0.8) rotate(45deg);
    }
}
.text-bold {
    font-weight: 600;
    font-size: 16px;
}
.change_pass_form {
    border: 1px solid #dddada;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 5px 20px 0px rgb(69 67 96 / 10%);
}

.fa-eye-slash, .fa-eye {
    position: relative;
    top: -20px;
    cursor: pointer;
    float: right;
    padding-right: 10px;
}

@media (max-width: 1220px) {
    .tab{
        width: 25%;
    }
    .tabcontent{
        width: 75%;
    }
    #reports_block .tabcontent {
        width: 84%;
    }
}
@media (max-width: 950px) {
    .tab {
        width: 19%;
    }

    .tabcontent {
        width: 81%;
    }
    .tab button{
        font-size: 12px;
    }
}
    @media (max-width: 800px) {
        .menu-title {
            font-size: 14px;
        }

        .menu-page .item h3 {
            font-size: 13px;
            font-weight: 600;
        }

        .text-on-img {
            font-size: 13px;
        }

        .img-preview {
            width: 60% !important;
            min-height: 100px;
            border: 1px dotted gray;
        }

        .form-label {
            font-size: 13px;
        }

        #add_choice_item {
            font-size: 13px;
        }

        .focused .form-label {
            font-size: .65em;
        }

        .form-input {
            font-size: 12px !important;
        }
        .tabcontent {
            min-height: 560px;
            max-height: 560px;
        }
    }

    @media (max-width: 672px) {
        .tab {
            float: unset !important;
            height: unset !important;
            width: 100% !important;
            border: none !important;
            min-height: 0px;
        }

            .tab button {
                display: unset !important;
                width: unset !important;
                padding: 10px 20px;
            }

        .tabcontent {
            width: 100% !important;
            min-height: 0px;
        }

        .tab button.active {
            background-color: #f65f01c2;
        }

        #choice_gp_items, #category_items, #menu_items {
            max-height: 510px;
            overflow-y: scroll;
        }

        #menu_block {
            border: 1px solid #ccc !important;
            min-height: 726px !important;
        }
    }
