/*SHARED STYLES*/
body {
    margin: 0;
    align-items: center;
    height: 100vh;
    display: flex;
    background-position: center;
    justify-content: center;
    padding: 0;
}


.rest-order-items-button{
    max-width: 8rem;
    padding: 5px !important;
}

.page-title{
    font-weight: bold;
    margin-bottom: 20px;
}

.orderpage-back-button{
    cursor: pointer;
}

.main-page-container{
    padding-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto;
    gap: 10px !important;
    justify-content: center !important;
}

.main-order-page-container{
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-inline: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto;
    gap: 10px !important;
}

.rest-edit-icon{
    border-radius: 100%;
    font-size: x-large;
    padding: 5px;
}

.closeIcon{
    position: absolute;
    right: 12px;
    top: 7px;
    color: grey;
    box-shadow: 0 0 0 1px grey;
    border-radius: 5px;
    cursor: pointer;
}

.closeIcon:hover{
    transition: 0.3s;
    background-color: red;
    color: white;
    box-shadow: 0 0 0 1px red;
}

#__next{
    height: 100vh;
    width: 100%;
}


/*SHARED STYLES END*/

/*MUI CSS CLASSES*/

.MuiButton-outlined {
    transition: all 0.3s ease-in-out;
    border-radius: 0;
    min-width: 100px;

}

.MuiButton-outlined:hover {
    border-radius: 6px;
    transform: scale(1.05);
}

.MuiContainer-root {
     padding: 0;
}

/*MUI CSS CLASSES END*/


*,*::before, *::after {
    box-sizing: border-box;
    font-family: Roboto, Helvetica, sans-serif;
}


.rest-browse-image-box{
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 150px;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='black' stroke-width='3' stroke-dasharray='2%2c 8' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
}


/*SIGN-IN */
.login-container {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*SIGN-IN END */

/*DIALOGS*/
.rest-dialog-main-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 32px;
    padding-inline: 8px;
    padding-bottom: 8px;
    max-height: 90vh;
    min-height: 200px;
}

.rest-tabsaleDialogContent-box{
    border-radius: 10px;
    margin-block: 10px;
    padding-inline: 4px;
    width: 100% !important;
}

/*DIALOGS END*/

/*PRODUCTS BUTTONS*/

.card {
    /*background-color: rgba(255, 255, 255, 0.1);*/
    border-radius: 10px;
    cursor: pointer;
    /*display: flex;*/
    height: 7rem;
    flex-direction: column;
    position: relative;
    width: 8rem;
    overflow: clip;
    transition: all .2s ease-in-out;
}

#cards-list-view{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-y: auto;
    scroll-behavior: smooth;
    /*max-height: 670px;*/
    min-width: 300px;
    width: fit-content;
    margin-inline: auto;
}

#cards:hover > .card::after {
    opacity: 1;
}

/*CARD CLASS*/
#cards {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    gap: 0.5rem;
    /*width: calc(100% - 20px);*/
    overflow-y: scroll;
    max-height: 440px;
    max-width: 880px;
    padding: 1em;
}

.main-menu-card{
    text-align: center;
    height: 180px;
    /*width: 100% !important;*/
    width: 180px !important;
    cursor: pointer;
    position: relative;
    transition: all .2s ease-in-out;
}

.landing-page-card{
    text-align: center;
    padding: 20px 0;
    /*width: 100% !important;*/
    width: 180px !important;
    height: 180px;
    font-size: 30px;
    cursor: pointer;
    position: relative;
    grid-column: span 1;
}

.sub-menu-card{
    text-align: center;
    /*width: 100% !important;*/
    width: 180px !important;
    height: 180px;
    position: relative;
    transition: all .2s ease-in-out;
    overflow: hidden;
    padding: 0 !important;
}
/*CARD CLASS END*/

/*CARD CONTENT CLASS*/
.card-content {
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 0;
    position: absolute;
    z-index: 2;
}

.landing-page-card-content{
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 0;
    position: absolute;
    z-index: 2;
}

.main-menu-card-content{
    border-radius: inherit;
    display: flex;
    flex-grow: 1;
    inset: 1px;
    padding: 0;
    position: absolute;
    z-index: 2;
}
.sub-menu-card-content{
    border-radius: inherit;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 0;
    position: absolute;
    z-index: 2;
}

/*CARD CONTENT CLASS END*/

/*CARD IMAGE CLASS*/
.card-image {
    align-items: center;
    display: flex;
    /*height: 140px;*/
    justify-content: center;
    mix-blend-mode: multiply;
}

.landing-page-card-image{
    display: flex;
    height: 100%;
    justify-content: center;
}

.main-menu-card-image{
    align-items: center;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.sub-menu-card-image{
    align-items: center;
    overflow: hidden;
    height: 140px;
}

.sub-menu-card-image > img{
    height: 130px;
    width: 100%;
    object-fit: cover;
}

.landing-page-card-image > img{
    height: 100%;
    width: 100% !important;
}
.main-menu-card-image > img{
    height: 100%;
    width: 100% !important;
}
/*CARD IMAGE CLASS END*/

/*CARD INFO CLASS*/
.card-info {
    position: absolute;
    bottom: 5px ;
    left: 5px;
    font-size: medium;
    text-align: center;
}

.landing-page-card-info {
    font-size: 17px;
    text-align: center;
    font-size: 17px;
    text-wrap-style: balance;
    position: absolute;
    bottom: 0;
}

.main-menu-card-info {
    position: absolute;
    bottom: 5px ;
    left: 5px;
    font-size: small;
    text-align: left;
}

.sub-menu-card-info {
    font-size: 0.75rem;
}


/*CARD INFO CLASS*/

.card:hover {
    transform: scale(1.2);
    z-index: 3;
}

.card:hover::before {
    opacity: 1;
}

.card::before,
.card::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 500ms;
    width: 100%;
}

.card::before {
    z-index: 3;
}

.card::after {
    z-index: 1;
}

.card > .product-bread-crumb-card-content {
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 0;
    position: absolute;
    z-index: 2;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.rest-product-bread-crumb-box::-webkit-scrollbar{
    display: none;
}

.rest-product-bread-crumb-box{
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.rest-productbuttonlist-stock-on-hand {
    position: absolute;
    top: 5px;
    left: 10px;
}

.sub-menu-card-content > div > .rest-productbuttonlist-sell-stop{
    color: red;
}

.sub-menu-card-content > div > .rest-productbuttonlist-stock-on-hand{
    position: unset;
}
.sub-menu-card-content > div{
    text-align: right;
}
/*PRODUCTS BUTTONS END*/

/*PRODUCTS INFO MODAL*/
.rest-productbuttonlist-modal-quantity-button {
    font-size: medium !important;
    height: 1.5375em;
    min-width: 1.6375em !important;
    border-radius: 100% !important;
    padding: 0 !important;
    transition: none;
}

.rest-productbuttonlist-quantity{
    font-size: large !important;
    padding-inline: 1.5em !important;
    align-items: center;
    display: flex;
}

.rest-productbuttonlist-modal-quantity-textfield{
    text-align: center !important;
}

.rest-productbuttonlist-childmodal-quantity{
    font-size: large !important;
    padding-inline: 10px !important;
    align-items: center;
    display: flex;
}

.rest-main-button{
    min-width: 5rem;
    margin: auto !important;
    padding: 5px !important;
}

.rest-main-button:hover{

}

.rest-main-button:disabled{

}

.rest-modal-title{
    font-weight: 600;
}

.rest-modal-amount{
    font-weight: bold;
}

.rest-productbuttonlist-modal-image{
    position: absolute;
    border-radius: 100%;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
}

.rest-productbuttonlist-modal-image > img{
    width: 100% !important;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

#parent-modal-title{
    margin: 0 !important;
}
/*PRODUCTS INFO MODAL END*/

/*LOADING IMAGE*/

.loading-image {
    animation: rotation 5s infinite linear,
    fade 5s infinite ease-in-out;
}
@keyframes rotation {
    from {
        transform: rotate(0deg);
        --duration: 5s;
        --timing: ease-in;
    }
    to {
        transform: rotate(359deg);
        --timing: ease-out;
        --duration: 1s;

    }
}
@keyframes fade {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.1;
    }
}

@keyframes rotate {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

@keyframes text-color {
    0% { color: rgba(0, 0, 0, 1); }
    50% { color: rgba(0, 0, 0, .5); }
    100% { color: rgba(0, 0, 0, .1); }
}

.spinner-2 {
    width: 100px;
    height: 100px;
    display: block;
    font-size: 2rem;
    position: relative;
    animation: text-color 2s ease-in-out infinite alternate;
}

.spinner-2::before,
.spinner-2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 15px solid transparent;
    mix-blend-mode: overlay;
    animation: rotate var(--duration) var(--timing) infinite;
    pointer-events: none;
}

.spinner-2::before {
    border-left-color: lightblue;
    --duration: 2s;
    --timing: ease-in;
}

.spinner-2::after {
    border-right-color: lightgreen;
    --duration: 2.5s;
    --timing: ease-out;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 6px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #AAAAAA;
    border-radius: 6px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555555;
    border: 1px solid black;
}

.cimso-logo {
    width: 5rem;
    transform: translate(0, 5px)
}
/*LOADING IMAGE END*/

/*FOOTER */
.footer {
    color: #FFFFFF;
}

.footer:hover {
    background-color: #000000AA;
}

/*FOOTER END*/

/*APPBAR */
.appbar {
    backdrop-filter: blur(5px);
    box-shadow: 1px 1px 3px 4px #00000022;
}

.appbar:hover {

}

.rest-mainappbar-iconbutton{

}

/*APPBAR END*/

/*DRAWER*/
.rest-drawer-close-icon{
}

.rest-drawer-close-icon:hover{
}

.rest-drawer-button{
}

.rest-drawer-button > div > svg{
}

.drawer-list-item{
    display: flex;
    justify-content: space-between;
    text-align : left;
}

.drawer-list-item > p{
}

/*DRAWER END*/

/*FORGOT PASSWORD*/
.rest-changepass-card-main-box{
    display: flex;
    flex-direction: column;
    padding-top: 32px;
    padding-inline: 8px;
    padding-bottom: 8px;
    max-width: 400px;
    border-radius: 15px;
    align-items: center;
}
/*FORGOT PASSWORD END*/

/*AUTH DIALOG*/
.rest-auth-dialog-text{
    font-size: small !important;
    text-decoration: underline;
    cursor: pointer;
}

.rest-auth-dialog-text:hover{
    transition: 0.5s;
}
/*AUTH DIALOG END*/

/*PAYTAB */
.rest-paytab-dialog-content{
    max-height: 350px;
    padding: 8px !important;
    /*min-width: 250px;*/
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rest-paytab-dialog-content-clientinfo{
    padding: 16px;
    border-radius: 5px;
}

.rest-paytab-dialog-content-products-box{
    flex-grow: 2;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
    padding-inline: 4px;
}

.rest-paytab-dialog-content-subtitle{
    font-size: larger;
}
/*PAYTAB END*/

/*PAYMENT OPTIONS*/
.payment-options-main-box{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-options-radio-group{
    font-weight: bold;
}

.payment-options-radio-group > li > div> svg {
}

.payment-options-radio-group > li > label>  span{
}

/*PAYMENT OPTIONS END*/

/* TABSALE  */
.MuiDataGrid-columnHeaders {
    background-color: var(--grey);
    font-size: small;
}

.MuiDataGrid-root {
    border: 1px solid darkgrey;
    color: #FFFFFF;
    font-size: small;
    cursor: pointer;
}

.MuiDataGrid-row:nth-child(even){
    background-image: linear-gradient(to left, rgba(34, 35, 57, 0.67) , #CCCCCC11);
    font-size: small;
}

.MuiDataGrid-row:nth-child(odd){
    background-image: linear-gradient(to right, rgba(34, 35, 57, 0.67), #CCCCCC11);
    font-size: small;
}
.MuiDataGrid-row:hover {
    background-image: linear-gradient(to left, #CCCCCCCC , #FFFFFFAA);
    border: 1px solid black;
}

/* TABSALE  END*/

/*CART PAGE*/
.cart-list-total{
    font-weight: bold;
}

.cart-card{
    text-align: center;
    grid-column: 1/5;
    position: relative;
    transition: all .2s ease-in-out;
    border-radius: 15px 15px 15px 15px;
    overflow: hidden;
}

.cart-card-content{
    border-radius: inherit;
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    inset: 1px;
    padding: 0;
    position: relative;
    z-index: 2;
}

.cart-card-image{
    align-items: center;
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    /*height: 140px;*/
    /*justify-content: center;*/
}

.cart-card-info {
    font-size: small;
    text-align: right;
}

.cart-card-image > img{
    height: 70px;
    width: 70px !important;
    border-radius: 100%;
}

.sub-menu-card-content > div{
    text-align: right;
}
/*CART PAGE ENDS*/

/*ORDER PAGE*/
.order-table-row > td{
    padding: 12px !important;
    border: none !important;
}
/*ORDER PAGE END*/

/*SELECT BOOKING ACCOUNT CONTENT*/
.rest-client-bookings-datagrid{

}

.rest-client-accounts-datagrid{

}

.rest-search-bookings-button{

}
/*SELECT BOOKING ACCOUNT CONTENT END*/


/*TABLES */
.rest-table-card {
    width: 10rem;
    height: 10rem;
}
.rest-table-card:hover {

}
/*TABLES END*/

/*region 400*/
.fh-wrapper {
    position: relative;
    /*background: repeating-linear-gradient( -45deg, rgba(240, 184, 184, 0.35), rgba(240, 184, 184, 0.35) 20px, rgba(240, 238, 238, 0.8) 20px, rgba(240, 238, 238, 0.8) 100px );*/
    height: calc(100vh - 86px);
}

.fh-wrapper .MuiPaper-root {
    background-color: white;
}

.fh-container{
    max-width: 600px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;

    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.fh_link {
    display: contents !important;
}

.fh-sad {
    margin: 2rem;
    font-size: 10rem;
    color: rgb(97, 97, 97);
    align-self: center;
}

.fh-logo {
    width: 15rem;
    align-self: center;
}

.fh-logo:hover {
    transform: scale(1.1);
    transition-duration: 0.2s;
}

.fh-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-block: 25px;
    gap: 10px;
}

.fh-text-top{  /*h4*/
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.00735em;
    text-align: center;
    margin-bottom: 0.35em;
    line-height: 1.235;
}

.fh-text-bottom{ /*h5*/
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 0.35em;
    line-height: 1.334;
}

.fh-button {
    margin-top: 2em;
    background-color: #3f4235;
    color: #FFFFFF;
}

@media only screen and (max-width: 600px) {
    /* For mobile phones: */
    .fh-container{
        text-align: center;
        width: 90%;
        max-width: 100%;
        padding: 32px;

        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .fh-sad {
        margin: 2rem;
        font-size: 10rem;
        color: rgb(97, 97, 97);
        align-self: center;
    }

    .fh-logo {
        width: 10rem;
        align-self: center;
    }

    .fh-text-top{  /*h5*/
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 0;
        text-align: center;
        margin-bottom: 0.35em;
        line-height: 1.334;
    }

    .fh-text-bottom{ /*h6*/
        font-size: 1.25rem;
        font-weight: 400;
        letter-spacing: 0.0075em;
        text-align: center;
        margin-bottom: 0.35em;
        line-height: 1.6;
    }
}
/*endregion 400*/

/* MEDIA QUERIES */

/*region Product Grid Media Queries*/
@media all and (min-width: 0px) and (max-width: 1000px) {
    #cards-list-view{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media all and (min-width: 0px) and (max-width: 800px) {
    #cards-list-view {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media all and (min-width: 0px) and (max-width: 600px) {
    #cards-list-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (min-width: 0px) and (max-width: 400px) {

}
/*endregion Product Grid Media Queries*/

@media all and (min-width: 0px) and (max-width: 900px) {
    .rest-productbuttonlist-stock-on-hand {
        top: 2px;
        left: 5px;
        font-size: smaller !important;
    }

    #cards {
        gap: 0.5rem;
        max-height: 400px;
        max-width: 880px;
        padding: 5px;
    }

    .card {
        height: 5rem;
        width: 5rem;
    }

    .card:hover {
        transform:none;
    }

    .card-info {
        font-size: 0.7em;
    }

    body {
        display: unset;
        background-size: cover;
    }

    .rest-table-card{
        width: 8rem !important;
        height: 8rem!important;
    }
}

@media all and (min-width: 0px) and (max-width: 600px) {
    .rest-mainform-signin-signup-buttons{
        font-size: 10px;
        padding: 5px;
    }

    .rest-paytab-dialog-main-box{
        min-width: 400px;
        min-height: 250px;
    }

    .rest-table-card{
        width: 6rem !important;
        height: 6rem!important;
    }

    .landing-page-card {
        grid-column: 1 / -1;
        width: 100% !important;
    }
}

@media all and (min-width: 0px) and (max-width: 400px) {
    .rest-main-button{
        font-size: x-small;
    }

    .rest-order-items-button{
        font-size: x-small !important;
    }

    .main-menu-card{
        width: 9rem !important;
        height: 9rem!important;
    }

    /*.rest-productlist-box{*/
    /*    width: 90% !important;*/
    /*}*/

    .main-menu-card-info {
        font-size: smaller;
    }

    .sub-menu-card-image > img{
        height: 90px !important;
    }

    .sub-menu-card-info {
        font-size: smaller;
    }

    .sub-menu-card{
        height: 10rem;
        width: 150px!important;
    }

    .rest-paytab-dialog-content{
        display: flex;
        flex-direction: column;
    }

    .rest-paytab-dialog-main-box{
        width: 90%;
        min-height: 250px;
    }

    .rest-dialog-main-box{
        max-height: 90vh;
        /*min-width: 250px;*/
        min-height: 200px;
    }

    .rest-modal-box{
        min-width: 260px !important;
    }

    .rest-table-card{
        width: 5.5rem !important;
        height: 5.5rem!important;
    }
}

@media all and (min-width: 0px) and (max-width: 330px) {
    .main-menu-card{
        width: 7rem !important;
        height: 7rem!important;
    }

    .rest-modal-box{
        min-width: 260px !important;
    }
    #cards-list-view{
        /*grid-template-columns: 1fr;*/
        min-width: 260px !important;
    }

    .sub-menu-card{
        height: 10rem;
        width: 118px;
    }
}
/* MEDIA QUERIES END*/
