/* fallback */

.dark:root{
    --card-bg: #ffffff;
}

@font-face {
    font-family: 'MyFont';
    font-style: normal;
    font-weight: 400;
    src: url(PFDinTextUniversal-Regular.otf) format('opentype');
}

/* fallback */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(MaterialIcons-Regular.ttf) format('truetype');
}

body *{
    font-family: 'MyFont' !important;
}

.material-icons {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}
body{
    direction: rtl;
}


/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.input-field label{
    font-size: 14px !important;
}

input::placeholder{
    text-align: right;
}

label{
    font-size: 14px !important;
}

/* Track */
::-webkit-scrollbar-track {
    background: #00000010; 
    border-radius: 8px;
    margin: 1rem;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #1d71b850;
    border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #1d71b880;
}

/* Track */
.dark ::-webkit-scrollbar-track {
    background: #ffffff10; 
}

/* Handle */
.dark ::-webkit-scrollbar-thumb {
    background: #ffffff30;
    border-radius: 8px;
}

/* Handle on hover */
.dark ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

input , .materialize-textarea{
    font-family: PF Din Text Universal !important;
}

button{
    background-color: transparent ;
    border: none;
    outline: none;
    cursor: pointer;
}

.th-items > .d-flex > div{
    width: 50%;
    position: relative;
}

.th-items textarea{
    height: 86px !important;
}

.th-items .quantity input{
    text-align: right !important;
    height: 84px !important;
    padding: 0 1rem !important;
}

.th-items .quantity button{
    transform: scale(2);
    top: 30px;
    position: absolute;
    left: 1rem;
}

.th-items .quantity button:last-child{
    position: absolute;
    right: 1rem;
    left: auto;
}

.custom-thead + div{
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.custom-thead + div > table > thead th{
    border-radius: 0 !important;
}

.select-dropdown{
    text-overflow: ellipsis;
}

td .select-wrapper{
    width: fit-content !important;
}

td .select-dropdown{
    margin-top: 0 !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
    -webkit-appearance: none;
}

input:not([type]):disabled, input:not([type])[readonly="readonly"], input[type=text]:not(.browser-default):disabled, input[type=text]:not(.browser-default)[readonly="readonly"], input[type=password]:not(.browser-default):disabled, input[type=password]:not(.browser-default)[readonly="readonly"], input[type=email]:not(.browser-default):disabled, input[type=email]:not(.browser-default)[readonly="readonly"], input[type=url]:not(.browser-default):disabled, input[type=url]:not(.browser-default)[readonly="readonly"], input[type=time]:not(.browser-default):disabled, input[type=time]:not(.browser-default)[readonly="readonly"], input[type=date]:not(.browser-default):disabled, input[type=date]:not(.browser-default)[readonly="readonly"], input[type=datetime]:not(.browser-default):disabled, input[type=datetime]:not(.browser-default)[readonly="readonly"], input[type=datetime-local]:not(.browser-default):disabled, input[type=datetime-local]:not(.browser-default)[readonly="readonly"], input[type=tel]:not(.browser-default):disabled, input[type=tel]:not(.browser-default)[readonly="readonly"], input[type=number]:not(.browser-default):disabled, input[type=number]:not(.browser-default)[readonly="readonly"], input[type=search]:not(.browser-default):disabled, input[type=search]:not(.browser-default)[readonly="readonly"], textarea.materialize-textarea:disabled, textarea.materialize-textarea[readonly="readonly"]{
    border-bottom: 1px solid #ddd;
}

button:active,button:focus{
    background-color: transparent ;
    border: 1px solid #1d71b8;
    outline: none;
}

.master{
    overflow-x: hidden;
    display: flex;
    width: 100%;
    /* border-top: 1px solid #ddd; */
    transition: 0s;
    background-color: #f9f9f9;
}

.container{
    padding: .5rem;
    min-height: 100vh;
}

@media only screen and (min-width: 1280px){
    .container {
        max-width: unset;
        width: 100%;
    }
}

@media only screen and (max-width: 1280px){
    .container {
        width: 100% !important;
    }
}

.container > nav:first-child{
    margin: -.5rem 0rem;
    margin-right: -.5rem;
    width: calc(100% + 1rem);
}

.nav-links{
    display: flex;
}

.breadcrumb-style > nav{
    display: flex;
}

.nav-links > i{
    margin-left: .5rem;
}

.collapsible .nav-links > i{
    margin-left: 1rem;
}

.reports .collapsible , .reports .collapsible *{
    transition: ease-in-out !important;
}

.reports .collapsible .active .collapsible-body{
    display: flex !important;
    flex-wrap: wrap;
}

.reports .collapsible-header{
    border-bottom: 1px solid #ddd !important;
}

.reports .collapsible-body{
    border-top: none !important;
    border-bottom: 1px solid #ddd !important;
}

nav{
    background-color: transparent;
    /* border-bottom: 1px solid #ddd; */
    border-radius: 32px;
}

.logo-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.breadcrumb-style{
    color: #000000DE;
    margin: 1.5rem auto;

}

.breadcrumb{
    color: #000000DE;
}

.breadcrumb:before{
    color: #000000DE;
    transform: rotate(180deg);
}

.breadcrumb:last-child{
    color: #f8982c !important;
}

.sidebar{
    position: fixed;
    top: 0;
    right: -20rem;
    width: 20rem;
    height: 100vh;
    overflow-y: auto;
    border-left: 1px solid #ddd;
    background-color: white;
    transition: .3s;
    z-index: 999;
}

.btn-menu{
    transition: .3s;
}

.btn-menu.active{
    margin-right: 20rem;
}

.sidebar.active{
    right: 0;
}

.collapsible{
    margin: 1rem;
    border-right: 0;
    border: none;
    padding: 0;
}

.collapsible-list{
    border: 1px solid #ddd;
    border-radius: 32px;
    margin-bottom: 1rem;
}

.sidebar .collapsible-list .collapsible-header a{
    color: #000000DE;
}

.collapsible-header{
    padding: 1rem 0;
    margin: 0 1rem;
    background-color: transparent;
    border: none;
    font-weight: bold;
}

.collapsible-header .material-icons:last-child{
    margin-inline-end: auto;
    margin-inline-start: 0;
}

.collapsible-header i{
    margin-left: 1rem;
    margin-right: 0;
}

.collapsible:first-child , .collapsible:last-child{
    border-radius: 32px;
}

.collapsible-body{
    padding: .5rem 0;
    margin: 0 1rem .5rem 1rem;
    border: none;
    border-top: 1px solid #ddd;
}

.collapsible-body a{
    margin-bottom: 1rem; 
    color: #000000DE;
}

.collapsible-body a:last-child{
    margin-bottom: 0;
}

.sidebar .collapsible .active{
    color: #f49819;
    /* -webkit-box-shadow: 0 16px 12px 2px rgb(0 0 0 / 4%), 0 6px 10px 5px rgb(0 0 0 / 4%), 0 8px 5px -7px rgb(0 0 0 / 2%);
    box-shadow: 0 16px 12px 2px rgb(0 0 0 / 4%), 0 6px 10px 5px rgb(0 0 0 / 4%), 0 8px 5px -7px rgb(0 0 0 / 2%); */
}

.direction-right{
    display: flex;
    flex-direction: row-reverse;
}

.custom-thead{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card-bg);
    margin: 0 .78rem !important;
    width: calc(100% - 2rem + 7px) !important;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.custom-thead input{
    margin: 0 !important;
}

.custom-thead .input-field.user input{
    margin-top: 1rem !important;
}

.custom-thead .input-field{
    margin-left: 1rem;
}

.no-radius-top{
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.no-radius-bottom{
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.custom-thead ~ table{
    border-top-left-radius: 0 ;
    border-top-right-radius: 0 ;
}

.custom-thead ~ table thead th:last-child , .custom-thead ~ table thead th:first-child{
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

table{
    border-radius: 16px;
    background-color: white;
}

tbody > tr:nth-last-of-type(even){
    background-color: #f1f1f1;
}

tbody > tr:last-child > td:first-child{
    border-bottom-right-radius: 16px;
}

tbody > tr:last-child > td:last-child{
    border-bottom-left-radius: 16px;
}

.thead{
    background-color: #1d71b8;
    color: white;
    border-bottom: 2px solid #1d71b8;;
}

.thead th{
    border-right: 2px solid #1d71b8;
}

.thead th:first-child{
    border-right: none;
}

table > thead:first-child > tr > th:first-child{
    border-top-right-radius: 16px;
}

table > thead:first-child > tr > th:last-child{
    border-top-left-radius: 16px;
}

.tfoot{
    background-color: rgb(233, 233, 233);
}

.table-wrapper{
    padding-bottom: 2rem !important;
    min-height: 50vh !important;
    overflow-x: auto;
}

.z-depth-4{
    -webkit-box-shadow: 0 16px 12px 2px rgb(0 0 0 / 4%), 0 6px 10px 5px rgb(0 0 0 / 4%), 0 8px 5px -7px rgb(0 0 0 / 2%);
    box-shadow: 0 16px 12px 2px rgb(0 0 0 / 4%), 0 6px 10px 5px rgb(0 0 0 / 4%), 0 8px 5px -7px rgb(0 0 0 / 2%);
}

.tb-filter{
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.tb-filter > .input-field{
    width: 25%;
    margin-right: 1rem;
}

.tb-filter > .input-field > label{
    margin-top: -2rem;
    margin-right: -1.25rem;
}

tr:last-child{
    border: none;
}

th,td{
    padding: 1rem;
    text-align: right;
    max-width: 15rem;
}

th.filter{
    width: 230px;
}

.tb-namefield{
    width: 300px;
}

.td-actions{
    text-align: left;
}

th{
border-bottom: 1px solid rgba(0,0,0,0.12);
}

.btn-small{
    border-radius: 32px;
    height: 0;
    padding: 1.5rem;
    line-height: 0;
    font-size: 1rem;
}

.btn-pagination{
    padding: 0;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 100%;
}

.btn-search{
    margin-right: -1rem;
    height: 2rem;
    width: 2rem;display: flex;
    align-items: center;
    justify-content: center;
}

.state{
    padding: .2rem .5rem;
    border-radius: 32px;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    font-size: 10px;
}

.state.available{
    background-color: rgba(208, 252, 208, 0.712);
    color: #4CAF50;
}

.state.unavailable{
    background-color: rgba(255, 218, 218, 0.685);
    color: #F44336;
}

input{
    line-height: unset !important;
}

input:not([type]), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea{
    border: 1px solid #ddd;
    border-radius: 16px;
    outline: none;
    height: 0;
    width: calc(100% - 2rem);
    font-size: 16px;
    margin: 0;
    padding: 1.5rem 1rem;
    margin-top: 1rem;
}

input.valid[type=text]:not(.browser-default), input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]){
    border: 1px solid #1d71b8;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* login page */

.login-form{
    max-width: 350px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin: 4rem auto;
    padding: 2rem;
    border-radius: 16px;
}

.login-form div:first-child{
    border-bottom: 1px solid #ddd;
    padding-bottom: 2rem;
    margin-bottom: 0rem;
}

.btn-login{
    width: 100%;
    margin-bottom: 1.52rem;
}

.waves-effect input[type="button"], .waves-effect input[type="reset"], .waves-effect input[type="submit"] {
    border: 0;
    font-style: normal;
    font-family: inherit;
    font-size: inherit;
    text-transform: inherit;
    background: none;
    color: white;
}

/* add item */

input.valid:not([type]), input.valid:not([type]):focus, input.valid[type=text]:not(.browser-default), input.valid[type=text]:not(.browser-default):focus, input.valid[type=password]:not(.browser-default), input.valid[type=password]:not(.browser-default):focus, input.valid[type=email]:not(.browser-default), input.valid[type=email]:not(.browser-default):focus, input.valid[type=url]:not(.browser-default), input.valid[type=url]:not(.browser-default):focus, input.valid[type=time]:not(.browser-default), input.valid[type=time]:not(.browser-default):focus, input.valid[type=date]:not(.browser-default), input.valid[type=date]:not(.browser-default):focus, input.valid[type=datetime]:not(.browser-default), input.valid[type=datetime]:not(.browser-default):focus, input.valid[type=datetime-local]:not(.browser-default), input.valid[type=datetime-local]:not(.browser-default):focus, input.valid[type=tel]:not(.browser-default), input.valid[type=tel]:not(.browser-default):focus, input.valid[type=number]:not(.browser-default), input.valid[type=number]:not(.browser-default):focus, input.valid[type=search]:not(.browser-default), input.valid[type=search]:not(.browser-default):focus, textarea.materialize-textarea.valid, textarea.materialize-textarea.valid:focus, .select-wrapper.valid>input.select-dropdown{
    border: 1px solid #1d71b8;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.input-field.col label {
    right: 1rem;
    top: .25rem;
    width: fit-content !important;
    transform: scale(1);
}

.input-field>label{
    margin-top: -1rem;
}

textarea.materialize-textarea {
    width: 100%;
    height: 120px;
    max-height: 120px;
    padding: .5rem 1rem;
}

th .input-field textarea.materialize-textarea {
    height: 86px;
    max-height: 86px;
} 

.materialize-textarea ~ label{
    margin-top: -1rem;
    transform: scale(0.8);
}

.input-field>label:not(.label-icon).active{
    transform: translateY(0) !important;
    -webkit-transform: translateY(0) !important;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    top: 4px;
    right: 1rem !important;
}

input:not([type]):focus:not([readonly])+label, input[type=text]:not(.browser-default):focus:not([readonly])+label, input[type=password]:not(.browser-default):focus:not([readonly])+label, input[type=email]:not(.browser-default):focus:not([readonly])+label, input[type=url]:not(.browser-default):focus:not([readonly])+label, input[type=time]:not(.browser-default):focus:not([readonly])+label, input[type=date]:not(.browser-default):focus:not([readonly])+label, input[type=datetime]:not(.browser-default):focus:not([readonly])+label, input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label, input[type=tel]:not(.browser-default):focus:not([readonly])+label, input[type=number]:not(.browser-default):focus:not([readonly])+label, input[type=search]:not(.browser-default):focus:not([readonly])+label, textarea.materialize-textarea:focus:not([readonly])+label{
    color: #1d71b8;
}

.datepicker-label{
    top: 1.25rem !important;
    right: -2rem;
    transform: translateY(0) scale(.8) !important;
    -webkit-transform: translateY(0) scale(.8) !important;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    top: 4px;
}

.switch{
    margin-top: 1rem;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
}

.switch label input[type=checkbox]:checked+.lever:after{
    background-color: #1d71b8;
}

.switch label input[type=checkbox]:checked+.lever{
    background-color: #bbdefb  ;
}

.radio-wrapper{
    border: 1px solid #ddd;
    padding: 0 1rem;
    border-radius: 16px;
}

[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:after{
    background-color: #1d71b8;
}

[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:before, [type="radio"].with-gap:checked+span:after{
    border-color: #1d71b8;
}

.input-field col.s12.l4 > {
    right: -4px;
}

.dropdown-content{
    padding: 0;
    border-radius: 16px;
    height: unset;
    max-height: 371px;
}

.dropdown-content li{
    text-align: right;
}

.select-wrapper input.select-dropdown:focus{
    border: 1px solid #1d71b8;
}

.select-wrapper .caret{
    right: auto;
    left: .5rem;
}

.select-wrapper+label{
    top: -0.5rem;
    right: 1rem !important;
}

.select-dropdown.dropdown-content li.selected{
    background-color: #1d71b830;
}

.action-btn > a{
    margin-left: 1rem;
    margin-top: 1rem;
}

.blue{
    background-color: #1d71b8 !important;
}

.blue-border{
    border: #1d71b8 1px solid;
    transition: .3s;
}

.green-border{
    border: #4CAF50 1px solid;
    transition: .3s;
}

.red-border{
    border: #F44336 1px solid !important;
    transition: .3s;
}

.blue-border:hover{
    background-color: #1d71b8 !important;
    color: white !important;
}

.green-border:hover{
    background-color: #4CAF50 !important;
    color: white !important;
}

.orange-border{
    border: #f8982c  1px solid !important;
    transition: .3s;
}

.orange-border:hover{
    background-color: #f8982c  !important;
    color: white !important;
}

.red-border:hover{
    background-color: #F44336 !important;
    color: white !important;
}

.btn-delete{
    position: relative;
    top: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
}

.btn-print{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 100%;
    margin-right: 1rem;
}

.btn-print i{
    font-size: 20px;
}

/* tables page */

.menu-categories {
    padding: 1rem;
    height: 686.2px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.card:hover{
    background-color: #86c9ff0c;
    transform: translateY(-5px);
}

.card{
    background-color: var(--card-bg);
    margin: 1rem 0;
    padding: 1rem 2rem;
    border-radius: 16px;
    -webkit-box-shadow: 0 16px 12px 2px rgb(0 0 0 / 4%), 0 6px 10px 5px rgb(0 0 0 / 4%), 0 8px 5px -7px rgb(0 0 0 / 2%);
    box-shadow: 0 16px 12px 2px rgb(0 0 0 / 4%), 0 6px 10px 5px rgb(0 0 0 / 4%), 0 8px 5px -7px rgb(0 0 0 / 2%);
    height: 160px;
    display: flex;
    flex-direction: column;
    transition: .3s;
}

.card > span{
    font-size: .75rem;
    text-transform: capitalize;
}

.card .card-content p{
    margin: 0;
    font-weight: 500;
}

.card.menu-card p{
    margin: .5rem;
    padding: 0 .5rem;
}

.card.menu-card.dashboard-card{
    height: 300px;
    font-size: 1.3rem;
}

.card.menu-card.dashboard-card a{
    margin-bottom: 1rem;
}

.card .card-content{
    padding: 0 0 .5rem 0;
}

.card.menu-card .card-content{
    margin-top: auto !important;
}

.card.menu-card .card-action input{
    padding: 1rem !important;
}

.card.menu-card.active{
    background-color: #e1f1ffa4;
}

.card.menu-card.active .card-action{
    background-color: transparent;
}

@media only screen and (max-width: 1280px){

    .card.menu-card{
        padding: 0 .5rem 1rem;
    }

    .card.menu-card .card.menu-card b{
        padding: 0 1rem;
    }

}

.card .card-action{
    border-top: none;
    padding:0 .5rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: transparent;
}

.card .card-action > a{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.card .card-action.quantity a{
    justify-content: space-evenly;
}

.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating){
    margin-right: unset;
}

.menu-card{
    /* height: 200px; */
    /* height: 100%; */
    text-transform: capitalize !important;
}

.menu-items .menu-card{
    /* height: 200px; */
    height: 100%;
    text-transform: capitalize !important;
}

.btn-next{
    margin-top: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-next > i{
    margin-right: .5rem;
}

.qnt-input{
    /* border: none !important; */
    outline: none;
    height: unset;
    width: calc(100% - 2rem);
    font-size: 16px;
    text-align: center;
    margin: 0 !important;
    padding: unset;
}

.qnt-input::-webkit-outer-spin-button,
.qnt-input::-webkit-inner-spin-button{
    -webkit-appearance: none;
}

.order-sum{
    /* background-color: rgba(221, 221, 221, 0.384); */
    padding-top: 0 !important;
}

.order-sum .col.s12:first-child{
    background-color: white;
}

.order-sum > div{
    padding: 1rem 1.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 16px;
}

.order-sum span{
    margin-right: .5rem !important;
    font-weight: bold !important;
}

.order-sum a{
    width: 100%;
    margin: 1rem auto;
}

.order-sum .red{
    background-color: transparent !important;
    border: 1px solid #F44336 !important;
    color: #F44336 !important;
}

.order-sum .red:hover{
    background-color: #F44336 !important;
    border: 1px solid #F44336 !important;
    color: white !important;
}

.btn-purchase{
    display: flex;
}

.order-sum .input-field.col input{
    margin-left: .5rem;
}

.order-sum .input-field.col button{
    margin-top: 1.5rem;
    transform: scale(1.2);
}

.btn-add-tb{
    max-width: 125px;
}

[type="checkbox"].filled-in:checked+span:not(.lever):after{
    background-color: #1d71b8 !important;
    border-color: #1d71b8 !important;
}

.datepicker-calendar{
    direction: ltr;
}

.datepicker-date-display{
    background-color: #1d71b8;
}

.datepicker-table td.is-selected{
    background-color: #1d71b8;
}

.datepicker-table td.is-today{
    color: #1d71b8;
}

.datepicker-cancel, .datepicker-clear, .datepicker-today, .datepicker-done{
    color: #1d71b8;
}

.modal{
    border-radius: 16px;
    max-height: 85vh;
    top: 5% !important;
}

.modal-content{
    overflow-y: auto;
    height: calc(85vh - 56px);
}

.modal .btn-purchase button.blue-text{
    margin-top: 1.25rem;
}

.modal .payment-buttons .index{
    width: calc(20% - 1rem);
    margin: .5rem;
    height: 55px;
    background-color: #f9f9f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    transition: .3s;
}

.modal .payment-buttons .index:hover{
    background-color: #e4e4e4;
}

@media only screen and (min-width: 993px){ 
    
    .modal{
        width: 50%;
        border-radius: 16px;
    }

    .modal .input-field label{
        right: -9vw !important;
    }

}

@media only screen and (max-width: 993px){

    .modal {
        /* width: 100%; */
        /* bottom: -23rem; */
        /* height: 550px; */
        /* border-bottom-left-radius: 0; */
        /* border-bottom-right-radius: 0 */
    }

    .modal .input-field label{
        right: -18vw !important;
    }

    #nav-mobile .ml-auto{
        margin-left: unset !important;
        margin-inline-start: auto;
    }

}

/* media query 601 */

@media only screen and (max-width: 993px){   
    .nav-wrapper{
        border-radius: 0;
        margin-top: 0;
    }
    
    .login-form{
        box-shadow: 0 0 !important;
    }

    .direction-right{
        flex-direction: row;
    }
    
    .container {
        width: 100% !important;
    }

    
    td,th{
        padding: .5rem !important;
    }

    .menu-items{
        height: auto;
    }

    .table-wrapper{
        min-height: unset !important;
    }

    .card.menu-card.dashboard-card{
        height: auto;
    }

    /* .table-wrapper{
        width: calc(100% - 4.5rem) !important;
    } */
}

/* media query 601 */

@media only screen and (max-width: 601px){   
    .container {
        /* width: 83% !important; */
    }
    
    .table-wrapper{
        width: 100% !important;
    }

    td,th{
        padding: .25rem .5rem !important;
    }
}

.full-width{
    width: 100% !important;
}

/* spacing system */

.m-0{
    margin: 0 !important;
}

.ml-0{
    margin-left: 0 !important;
}

.mr-0{
    margin-right: 0 !important;
}

.mt-0{
    margin-top: 0 !important;
}

.mb-0{
    margin-bottom: 0 !important;
}

.m-1{
    margin: 1rem !important;
}

.ml-1{
    margin-left: 1rem !important;
}

.mr-1{
    margin-right: 1rem !important;
}

.mt-1{
    margin-top: 1rem !important;
}

.mb-1{
    margin-bottom: 1rem !important;
}

.mr-auto{
    margin-right: auto !important;
}

.ml-auto{
    margin-left: auto !important;
}

.mt-auto{
    margin-top: auto !important;
}

.mb-auto{
    margin-bottom: auto !important;
}

.p-0{
    padding: 0 !important;
}

.pl-0{
    padding-left: 0 !important;
}

.pr-0{
    padding-right: 0 !important;
}

.pt-0{
    padding-top: 0 !important;
}

.pb-0{
    padding-bottom: 0 !important;
}

.p-1{
    padding: 1rem !important;
}

.pl-1{
    padding-left: 1rem !important;
}

.pr-1{
    padding-right: 1rem !important;
}

.pt-1{
    padding-top: 1rem !important;
}

.pb-1{
    padding-bottom: 1rem !important;
}

.p-1.pb-0{
    padding-bottom: 0 !important;
}

.p-1.pt-0{
    padding-top: 0 !important;
}

.p-1.pr-0{
    padding-right: 0 !important;
}

.p-1.pl-0{
    padding-left: 0 !important;
}

/* border */

.border{
    border: 1px solid #ddd !important;
}

.border-top{
    border-top: 1px solid #ddd !important;
}

.border-right{
    border-right: 1px solid #ddd !important;
}

.border-left{
    border-left: 1px solid #ddd !important;
}

.border-bottom{
    border-bottom: 1px solid #ddd !important;
}

/* flex system */

.d-flex{
    display: flex;
}

.d-flex.a-center{
    align-items: center;
}

.d-flex.a-start{
    align-items: flex-start;
}

.d-flex.a-end{
    align-items: flex-end;
}

.d-flex.j-center{
    justify-content: center;
}

.d-flex.j-start{
    justify-content: flex-start;
}

.d-flex.j-end{
    justify-content: flex-end;
}

.d-flex.j-space-between{
    justify-content: space-between;
}

.d-flex.j-space-evenly{
    justify-content: space-evenly;
}

.d-flex.d-horizon{
    flex-direction: row;
}

.d-flex.d-vertical{
    flex-direction: column;
}

.d-flex.d-horizon.rtl{
    flex-direction: row-reverse;
}

.d-flex.wrap{
    flex-wrap: wrap;
}

.d-flex.nowrap{
    flex-wrap: nowrap;
}

/* text */

.nowrap{
    white-space: nowrap;
}

/* unique */

#width-120{
    width: 120px;
}

#width-flex{
    width: 100% !important;
     margin: 0 !important;
     justify-content: flex-start;
}

#width-flex a.btn-add-tb{
    font-size: 1.5rem;
}

#width-2-5{
    width: 2.5rem;
}

#fit-content{
    width: fit-content;
}

.overlay.active {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000080;
    z-index: 9;
}

.breadcrumb.active{
    color: #f49819 !important;
}

#language-dropdown{
    position: relative;
    padding: 0 15px;
    transition: .2s;
    cursor: pointer;
}

#language-dropdown:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

#language-dropdown-content{
    z-index: +1;
    display: none;
    position: absolute;
    top: 3.5rem;
    left: 0;
    background-color: #f1f1f1;
    border-radius: 8px;
}

#language-dropdown-content form{
    margin-bottom: 0;
}

#language-dropdown-content .material-icons{
    height: auto;
    line-height: normal;
}


#language-dropdown-content a{
    color: #121212;
    text-align: center;
    padding: 1rem 2rem !important;
    line-height: normal;
}

#language-dropdown-content a:last-child{
    border-top: 1px solid #00000010;
}

#language-dropdown-content a:hover{
    color: #1d71b8;
}

#language-dropdown:hover > #language-dropdown-content {
    display: flex;
    flex-direction: column;
}

#theme-dropdown{
    position: relative;
    padding: 0 15px;
    transition: .2s;
    cursor: pointer;
}

#theme-dropdown:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

#theme-dropdown-content{
    z-index: +1;
    display: none;
    position: absolute;
    top: 3.5rem;
    left: 0;
    background-color: #f1f1f1;
    border-radius: 8px;
}

#theme-dropdown-content form{
    margin-bottom: 0;
}

#theme-dropdown-content .material-icons{
    height: auto;
    line-height: normal;
}


#theme-dropdown-content a{
    color: #121212;
    padding: 1rem 2rem !important;
    line-height: normal;
    display: flex;
    gap: .75rem;
    align-items: center;
    width: max-content;
}

#theme-dropdown-content a:last-child{
    border-top: 1px solid #00000010;
}

#theme-dropdown-content a:hover{
    color: #1d71b8;
}

#theme-dropdown:hover > #theme-dropdown-content {
    display: flex;
    flex-direction: column;
}

.h-120 {
    height: 120px !important;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-column-reverse {
    flex-direction: column-reverse;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}