:root {
    --btn-primary: #F6C90E;
    --btn-secondary: #303841;
}

::-webkit-scrollbar {
    width: 10px;
    height: 12px;
}

.table-action > p {
    max-width: 300px;
    white-space: normal;
}

/* ::-webkit-scrollbar-button:single-button {
    background-color: #303841;
    height: 16px;
    width: 16px;
    border: 2px solid #0f1214;
} */

::-webkit-scrollbar-thumb {
    background: #303841;
    border-radius: 25px;
}


::-webkit-scrollbar-track {
    background: #555e64;
    border-radius: 25px;
}

.radius-10 {
    border-radius: 10px;
}

.radius-up {
    border-radius: 10px 10px 0px 0px !important;
}

::selection {
    background-color: #3A4750 !important;
    color: #EEEEEE !important;
}

@media (max-width:425px) {
    .nav-user .nav-restaurant {
        display: none !important;
    }
}

@media (min-width:425px) {
    .nav-user .nav-restaurant {
        display: inline !important;
    }
}

.top-10 {
    top: 10px;
}

.limit {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.restaurant-info h5,
.restaurant-info p {
    display: inline-block;
    font-size: smaller;
}

#preview img {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0.9rem;
    width: 30%;
}

#item-preview img {
    width: 100%;
}

@media (max-width:625px) {
    #preview img {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 0.9rem;
        padding-right: 25px;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

.text-between-lines {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #3A4750 !important;
    line-height: 0.1em;
    margin: 10px 0 20px;
}

    .text-between-lines span {
        color: #3A4750;
        background: #fafbfe;
        padding: 0 10px;
    }


@media (max-width:540px) {
    .w-sm-100 {
        width: 100% !important;
    }
}

.w-4 {
    width: 4.2rem !important;
}

.w-5 {
    width: 5.2rem !important;
}

.w-6 {
    width: 6.2rem !important;
}

.photo-package {
    display: flex;
    flex-direction: column;
    background-color: #fff0b4;
    border-radius: 10px;
    font-weight: 700;
}

    .photo-package:hover {
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

.photo-package-header {
    text-align: center;
    border-bottom: #41413077 solid 1px;
    padding: 1.5em;
}

.photo-package-body {
    border-bottom: #41413077 solid 1px;
    padding: 1.5em;
}

.photo-package span {
    float: right;
    color: #303841;
}

.photo-package-footer {
    padding: 1em 1.5em;
}

.paket-hover:checked {
    border: 2px solid red;
}

.o-fit-cover {
    object-fit: cover !important;
}

.popover-loc {
    position: relative;
    top: -2px;
}

@media (max-width: 375px) {
    .xs-hidden {
        display: none;
    }
}

@media (max-width:1920px) {
    .text-truncate-10 {
        max-width: 10em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .text-truncate-20 {
        max-width: 20em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .text-truncate-30 {
        max-width: 30em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .text-truncate-40 {
        max-width: 40em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .text-truncate-50 {
        max-width: 50em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .text-truncate-60 {
        max-width: 60em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .text-truncate-70 {
        max-width: 70em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }
}

.sales-info {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    height: 28px;
    margin: 0 0 1em 0;
    font-size: 14px;
    line-height: 1;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ct-bg-leftbar);
}

.sales-img {
    width: 100%;
    padding-top: 1rem;
    height: 22em;
    object-fit: contain;
}

.sales-toggle div {
    border-bottom: solid rgb(187, 187, 172) 1px;
    margin-bottom: 0.5em;
}

    .sales-toggle div:last-child {
        border-bottom: none
    }

.sales-money-footer {
    height: 64.61px;
    border: none;
    padding-top: 0;
}

    .sales-money-footer .sales-money {
        color: #000000;
        background-color: var(--btn-primary);
        border-radius: 2.4px;
        box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
        font-weight: 400;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
    }

.sales-header {
    flex-basis: 53%;
}

@media (min-width:330px) and (max-width:425px) {
    .sales-header {
        flex-basis: 43%;
    }

    .sales-money {
        flex-basis: 100%;
    }
}

.shadow-1 {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

    .shadow-1:hover {
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

.del {
    text-decoration: line-through;
}

    .del i {
        text-decoration: line-through;
    }

.applyBtn {
    background-color: var(--btn-primary);
    color: #000;
    border-color: #F6C90E;
    -webkit-box-shadow: 0 0 0 .2rem #f6c80e36;
    box-shadow: 0 0 0 .2rem #f6c80e36;
}

    .applyBtn:hover {
        color: #000;
        background-color: #E6BC13;
        border-color: #E6BC13
    }

.restaurant-photo {
    position: relative;
    width: 100%;
    height: 4em;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width:575px) {
    .restaurant-photo {
        height: 8em;
    }
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-1 {
    margin-left: .25rem !important;
}

.ml-2 {
    margin-left: .5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.ml-4 {
    margin-left: 1.5rem !important;
}

.ml-5 {
    margin-left: 3rem !important;
}

.ml-6 {
    margin-left: 4.5rem !important;
}

.ml-7 {
    margin-left: 6rem !important;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mr-1 {
    margin-right: .25rem !important;
}

.mr-2 {
    margin-right: .5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mr-4 {
    margin-right: 1.5rem !important;
}

.mr-5 {
    margin-right: 3rem !important;
}

.mr-6 {
    margin-right: 4.5rem !important;
}

.mr-7 {
    margin-right: 6rem !important;
}

.mr-auto {
    margin-right: auto !important;
}
