/* fallback */
@font-face {
    font-family: 'MyFont';
    font-style: normal;
    font-weight: 400;
    src: url(../font/Poppins-Regular.ttf) format('truetype'),
        url(../font/Poppins-Black.ttf) format('truetype'),
        url(../font/Poppins-ExtraBold.ttf) format('truetype'),
        url(../font/Poppins-ExtraLight.ttf) format('truetype'),
        url(../font/Poppins-ExtraLightItalic.ttf) format('truetype'),
        url(../font/Poppins-Light.ttf) format('truetype'),
        url(../font/Poppins-Medium.ttf) format('truetype'),
        url(../font/Poppins-SemiBold.ttf) format('truetype'),
        url(../font/Poppins-Thin.ttf) format('truetype');
}

body {
    background-color: #f5f5f5 !important;
    overflow-x: hidden !important;
}

p {
    font-size: 18px;
}

h4 {
    font-size: 36px;
}

h5 {
    font-size: 26px;
}

small {
    font-size: 15px;
}

body * {
    font-family: 'MyFont' !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 {
    direction: rtl !important;
}

.d-flex.wrap {
    flex-wrap: wrap;
}

.d-flex.nowrap {
    flex-wrap: nowrap;
}

/* 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;
}

.pt-half {
    padding-top: .5rem !important;
}

.pb-1 {
    padding-bottom: 1rem !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;
}

.no-border {
    border: none !important;
}

/* border darius */

.round-2 {
    border-radius: 2px !important;
}

.round-4 {
    border-radius: 4px !important;
}

.round-8 {
    border-radius: 8px !important;
}

.round-16 {
    border-radius: 16px !important;
}

.round-32 {
    border-radius: 32px !important;
}

.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 */

::-webkit-scrollbar {
    width: 4px;
    height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #00000010;
    border-radius: 8px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #1d71b850;
    border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #1d71b880;
}

.queue-number {
    width: 4rem;
}

nav {
    position: fixed;
    background-color: white;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1) !important;
    -webkit-box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1) !important;
    height: 6rem;
}

nav ul li a.active {
    color: rgb(255, 167, 38) !important;
    border-radius: 16px;
}

.z-depth-1 {
    box-shadow: 0px 8px 26px 0px rgb(0 0 0 / 15%);
    -webkit-box-shadow: 0px 8px 26px 0px rgb(0 0 0 / 15%);
}

.container {
    letter-spacing: 1px;
    min-height: calc(100vh - 8rem);
    width: 100% !important;
    max-width: unset !important;
}


@media only screen and (min-width: 993px) {

    .container {
        margin-top: 0;
        width: calc(100% - 6rem) !important;
        margin-left: 6rem;
        min-height: calc(100vh - 2rem);
    }

    footer {
        margin-bottom: .75rem;
        width: calc(100% - 6rem) !important;
        margin-left: 6rem;
    }

    nav {
        width: 6rem;
        height: 100vh;
    }

    nav .nav-wrapper ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    nav .nav-wrapper ul a {
        flex-direction: column;
        line-height: normal;
        margin-bottom: 2rem;
    }

    nav ul li svg:not(:root).svg-inline--fa {
        margin: 0 !important;
        margin-bottom: .5rem !important;
    }

}

@media only screen and (max-width: 993px) {
    .container {
        margin-top: 0;
        margin-bottom: 0;
    }

    footer {
        margin-bottom: 6.5rem;
    }

    nav {
        top: auto;
        bottom: 0;
    }

    .nav-wrapper {
        padding: 0 !important;
    }

    nav ul {
        justify-content: space-evenly;
        padding: 0;
    }

    nav ul li h4 {
        font-size: 22px !important;
    }

    nav ul li a {
        padding: 0 7.5px;
    }

    nav ul li a.active {
        background-color: white;
        border-radius: 16px;
        height: 44px;
        width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav ul li svg:not(:root).svg-inline--fa {
        margin: 0 !important;
    }

}

.card {
    box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.1);
    transition: .2s;
    padding: 2rem 4rem 2rem 2rem !important;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
}

.card .img-wrapper {
    width: 90px;
}

.card .img-wrapper img {
    height: 90px;
    margin: auto;
}

@media only screen and (max-width: 600px) {
    .card .img-wrapper img {
        height: 60px;
    }
}

.card:hover {
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
    transform: scale(.99);
}

.modal .card {
    height: 10rem;
}

.modal .card:hover {
    box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 8px 26px 0px rgba(0, 0, 0, 0.1);
    transform: scale(1);
}

.card.car-l {
    background-image: url(../img/car-h-l-3.png);
}

.card.car-m {
    background-image: url(../img/car-h-m-3.png);
}

.card.car-s {
    background-image: url(../img/car-h-s-3.png);
}

.card.car-l-top {
    background-image: url(../img/car-l-top.png);
}

.card.car-m-top {
    background-image: url(../img/car-m-top.png);
}

.card.car-s-top {
    background-image: url(../img/car-s-top.png);
}

input,
textarea,
.file-field input.file-path {
    box-sizing: border-box !important;
}

.file-field input.file-path {
    border-style: dashed !important;
}

.file-field input.file-path::placeholder {
    padding: 0 1rem;
}

.btn.choose-file {
    position: absolute;
    width: calc(100% - .75rem);
    box-sizing: border-box;
    left: 0;
    top: -.5rem;
    border-radius: 16px;
    opacity: 0;
}

.add-img-preview {
    height: 70px !important;
}

.add-img-preview img {
    object-fit: contain;
    height: 70px;
    margin: auto;
    width: 100%;
}

textarea {
    min-height: 84px !important;
    max-height: 168px;
}

input:focus,
textarea:focus,
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-color: #1565C0 !important;
    box-shadow: 0 0 0 !important;
}

input[type=date]~label {
    top: -.5rem;
}

.select-dropdown {
    margin-bottom: 0 !important;
}

.search-input {
    position: relative;
}

.search-input input {
    padding-right: 3rem !important;
    padding-left: 1rem !important;
}

.search-input a svg {
    position: absolute;
    right: 2rem;
    top: 1rem;
    color: #ddd;
    transition: .3s;
    cursor: pointer;
}

input:focus~a svg {
    color: #9c27b0 !important;
}

.chip {
    font-size: 18px;
    padding: 0 1rem;
    background-color: transparent;
}

button {
    transition: .3s;
    border: none !important;
    cursor: pointer;
}

button:focus {
    color: white !important;
}

button.disabled {
    pointer-events: none;
    color: #ffffff !important;
    cursor: default;
}

.input-field>label {
    background-color: transparent;
    color: #9e9e9e;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1rem;
    padding: 0 1rem;
    cursor: text;
    transition: .2s;
    -webkit-transition: color .2s ease-out, -webkit-transform .2s ease-out;
    transition: color .2s ease-out, -webkit-transform .2s ease-out;
    transition: transform .2s ease-out, color .2s ease-out;
    transition: transform .2s ease-out, color .2s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    text-align: initial;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    z-index: -1;
}

.input-field>label:not(.label-icon).active {
    transition: .2s;
    -webkit-transform: translateY(-.75rem) translateX(1rem);
    transform: translateY(-.75rem) translateX(1rem);
    -webkit-transform-origin: 0;
    transform-origin: 0;
    background-color: #f5f5f5;
    font-size: .8rem;
    color: #1565C0 !important;
    z-index: 1;
}

.select-wrapper input.select-dropdown,
.materialize-textarea {
    border: 1px solid #ddd !important;
    border-radius: 16px !important;
    padding: 0 1rem;
    /* color: #9e9e9e; */
}

.select-wrapper .caret {
    right: .5rem;
    fill: #9e9e9e;
}

.dropdown-content {
    border-radius: 16px;
}

.dropdown-content li>a,
.dropdown-content li>span {
    color: #1565C0 !important;
}

.input-field>label.rtl {
    left: auto;
    right: .75rem !important;
}

.input-field>label.rtl:not(.label-icon).active {
    -webkit-transform: translateY(-.75rem) translateX(-1rem);
    transform: translateY(-.75rem) translateX(-1rem);
    -webkit-transform-origin: 0;
    transform-origin: 0;
}

.material-placeholder {
    border: 1px solid #ddd;
    border-radius: 16px;
    border-style: dashed;
    width: 100%;
    max-height: 60vw;
}

@media only screen and (max-width: 600px) {
    .add-img-preview {
        height: unset !important;
        /* max-height: calc(60vw + 4rem) !important; */
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        padding: 1rem;

    }

    .add-img-preview img {
        width: 100%;
        height: 100%;
        max-height: 59vw;
    }
}

/* login page */

.login-form {
    max-width: 450px;
    margin: 4rem auto;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 26px 0px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 600px) {
    .login-form {
        max-width: unset;
        margin: 0 auto;
        box-shadow: 0 0 0;
        -webkit-box-shadow: 0 0 0;
    }
}

.btn-login {
    width: 100%;
    margin-bottom: 1.52rem;
}

tr .material-placeholder {
    border: none;
}

.td-img-wrapper {
    padding: 0 5px;
}

td img {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

td .collapsible-list.active .collapsible-header {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: 1px solid #ddd !important;
}

td .collapsible-list.active .collapsible-body {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

td .collapsible-list.active .collapsible-body tbody tr:last-child {
    border-bottom: none !important;
}

.switch label input[type=checkbox]:checked+.lever:after {
    background-color: #4caf50;
}

.switch label input[type=checkbox]:checked+.lever {
    background-color: #4caf5050;
}

.switch label small {
    font-size: 12px;
    margin: 0 .5rem;
}

.switch-wrapper {
    height: 3rem;
}

td.truncate {
    max-width: 8rem;
    display: table-cell;
}

th.truncate.min-width {
    max-width: 4rem;
    display: table-cell;
}

td a,
th a {
    cursor: pointer;
}

@media only screen and (min-width: 993px) {
    .carousel.carousel-slider {
        height: calc(100vh - 17rem) !important;
    }
}

.carousel.carousel-slider {
    overflow-y: hidden;
    display: flex;
}

@media only screen and (max-width: 993px) {
    .carousel.carousel-slider {
        height: calc(100vh - 18rem) !important;
        margin-bottom: 1rem;
    }
}

.select-wrapper.red-border input.select-dropdown {
    color: #F44336 !important;
}

.red-border {
    border-color: #F44336 !important;
}

.red-border::placeholder {
    color: #F44336 !important;
}

.tabs .indicator {
    background-color: #1565C050;
}

.tabs .tab a:focus,
.tabs .tab a.active,
.tabs .tab a:focus.active {
    background-color: transparent !important;
    color: #1565C0 !important;
}

.fixed-action-btn {
    padding: 0 !important;
    border-radius: 100%;
    height: 56px;
    width: 56px;
    top: 1.25rem;
    bottom: auto;
}

.fixed-action-btn>.btn-floating>svg {
    transition: .2s;
}

.fixed-action-btn:hover>.btn-floating>svg {
    transform: rotate(45deg);
}

@media only screen and (max-width: 993px) {
    .fixed-action-btn {
        top: 1rem;
        bottom: auto;
    }
}

.fixed-action-btn ul {
    right: -.5rem;
    left: auto;
    width: max-content;
    text-align: right;
    padding: 0;
}

.fixed-action-btn ul li a.btn-floating {
    border-radius: 16px !important;
    width: max-content;
}

.modal .modal-content {
    padding: 1rem;
}

tr td,
tr th {
    padding: .75rem 0;
    min-width: 5rem;
}

@media only screen and (max-width: 600px) {
    
    tr td,
    tr th {
        min-width: 10rem;
    }

}

.tabs,
.tabs a {
    height: 5rem !important;
}

ul.dropdown-content {
    width: 100% !important;
}

ul.dropdown-content li a {
    height: 100px !important;
    width: 100%;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 600px) {
    .tabs>.tab a h4 b {
        font-size: 26px;
    }
}

#toast-container {
    top: 7rem !important;
    bottom: auto !important;
    padding: 0 1rem;
    right: 0;
}

.switch label {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: max-content;
}

.switch label small {
    width: min-content;
    min-width: 70px;
    transition: .2s;
}

.rtl .switch span {
    transform: rotate(180deg);
}

.rtl .switch label .lever:after {
    transform: rotate(180deg);
}

.btn-theme svg {
    transition: .5s;
}

.btn-theme:focus>svg {
    transform: rotate(360deg) !important;
}

.default-dish {
    height: 90px;
    font-size: 4.5rem;
    color: #9c27b0;
}

.modal {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.modal.bottom-sheet {
    max-height: 75%;
    overflow-y: hidden;
}

.modal.modal-fixed-footer {
    height: 100%;
}

.modal-footer {
    height: 6rem !important;
}


@media only screen and (min-width: 993px) {
    .modal.bottom-sheet {
        width: 80%;
        margin: 0 auto;
        border-radius: 16px;
        height: auto !important;
        bottom: auto !important;
        top: 10% !important;
        min-height: 60%;
    }

    .modal-content {
        height: 100%;
    }
}

[type="checkbox"].filled-in:not(:checked)+span:not(.lever):before,
[type="checkbox"].filled-in:checked+span:not(.lever):after,
[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    border-radius: 100%;
}

[type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: #ef6c00;
    border-color: #ef6c00;
}

.modal .col.s12.vertical-scroll {
    max-height: 160rem;
}

.vertical-scroll {
    overflow-y: scroll;
}

.horizontal-scroll {
    overflow-x: auto !important;
}

.state {
    padding: .2rem .5rem;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    font-size: 12px !important;
    max-width: 8rem;
}

.state.available {
    background-color: rgba(208, 252, 208, 0.712);
    color: #4CAF50 !important;
    border: 2px solid #4CAF5035 !important;
}

.state.unavailable {
    background-color: rgba(255, 218, 218, 0.685);
    color: #F44336 !important;
    border: 2px solid #F4433635 !important;
}

.state.pending {
    background-color: #fff3e4 !important;
    color: #f8982c !important;
    border: 2px solid #f8982c35 !important;
}

.state.ordered {
    background-color: rgb(206 223 237) !important;
    color: #1d71b8 !important;
    border: 2px solid #1d71b835 !important;
}

.state.progressing {
    background-color: #ead1ee !important;
    color: #9c27b0 !important;
    border: 2px solid #9c27b035 !important;
}

@media only screen and (max-width: 993px) {

    .responsive-table thead th {
        text-align: left !important;
        padding-left: .5rem;
    }

    .responsive-table tbody tr {
        border-left: 1px solid #ddd;
    }

    .responsive-table tr {
        padding-top: 1rem !important;
        border-top: 1px solid #ddd;
    }

    .responsive-table tfoot tr {
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
        border-bottom: 1px solid #ddd;
    }

    .responsive-table tfoot,
    .responsive-table tfoot tr,
    .responsive-table tfoot td {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .responsive-table-wrapper {
        padding: 0 !important;
        padding-right: 0 !important;
    }

}

.select-wrapper {
    width: 100%;
}

.full-width {
    width: 100%;
}

.min-width {
    width: min-content;
}

.max-993 {
    max-width: 993px;
    margin: auto;
}

.max-600 {
    max-width: 600px;
    margin: auto;
}

.btn.circle {
    border-radius: 50% !important;
    width: 3rem;
    height: 3rem;
}

#lang-modal {
    max-width: 350px;
    height: 12rem !important;
    bottom: auto !important;
    margin: 0 auto;
    min-height: unset;
}

@media only screen and (max-width: 993px) {
    
    #lang-modal {
        max-width: 100% !important;
        width: 100% !important;
        bottom: 0 !important;
    }

}

button:focus {
    outline: none;
    background-color: #1565C080;
}

#invoice-print {
    display: none;
    direction: rtl !important;
    max-width: 7cm !important;
    margin: 0 .5cm !important;
    margin-left: -.125cm !important;
    font-family: 'printFont' !important;
}

#invoice-print table tbody tr td {
    text-align: right !important;
}

#invoice-print table thead tr th {
    text-align: right !important;
}

#invoice-print p {
    direction: ltr !important;
}

#invoice-print tr{
    border-bottom: none !important;
}

#invoice-print tr table tr{
    border-bottom: 1px solid #000 !important;
}

#invoice-print th , #invoice-print td{
    padding: 0 4px !important;
    height: auto;
    min-width: unset !important;
}

#invoice-print td.pt-1.pb-1{
    padding: 1rem 4px !important;
    height: auto;
}

@media print {


    .container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #sell-page>div,
    nav,
    footer {
        display: none;
    }

    #invoice-print {
        display: block;
        direction: rtl !important;
        font-family: 'printFont' !important;
    }

}

@media only screen and (max-width: 600px) {
    .total-wrapper {
        padding-bottom: 1rem !important;
    }

    .total-wrapper h5 {
        font-size: 14px !important;
        margin: 1rem 0 0 0 !important;
        width: 100%;
    }
}

.modal.modal-fixed-footer .modal-footer {
    z-index: +3;
}

.max-width-5rem {
    max-width: 5rem;
}