
.custom-admin-background{
    background: linear-gradient(
        to right,
        #111827,
        #39548e,
        #4f75c5,
        #5d8ae9
    );
}
.modal .modal-dialog.modal-xlg {
    width: 800px !important;
}

.modal-xxlg{
    width: 1200px !important;
}

/* Style the Image Used to Trigger the Modal */
.myImg {
    max-height: 170px;
    width: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.myImg:hover {
    opacity: 0.7;
}


/* The Modal (background) */
.modal_img {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.navbar {
    padding: 0 !important;
}
.user-panel{
    display: flex;
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close_img_modal {
    position: absolute;
    top: 40px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.close_img_modal:hover,
.close_img_modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.sort-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sort-icons i:first-child {
    margin-bottom: -2px;
}

.sort-icons i:last-child {
    margin-top: -2px;
}

.sort-icons i {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}
.flex-th .th-name{
    cursor: pointer;

}
.flex-th{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

.delete-post-image{
    display: flex;
    justify-content:center;
    align-items:center;
}
.main_image_labels{
    position:absolute;
    bottom:-6px;
    left:0;
    padding:2px 6px;
    background-color:#074332;
    color:#fff;
    font-weight:bold;
    text-align: center;
    border-radius:10px;
    z-index: 999;
    display:none;
}
.status_label{
    position:absolute;
    bottom:12px;
    left:0;
    padding:1px 4px;
    color:#fff;
    font-weight:bold;
    text-align: center;
    border-radius:10px;
    z-index: 999;
    font-size: 11px;
}
.enabled_label{
    background-color:oklch(63.18% 0.1156 174.52);
}
.disabled_label{
    background-color:oklch(63.07% 0.194 29.44);
}
.page-link{
    font-size:20px;
}


.disabled_element{
    pointer-events: none;
    opacity: 0.6 !important;
}

.main-logo{
    border-radius: 10000px;
}


.status-label {
    background-color: #bdc3c7;
    color: #fff;
    padding: 2px 5px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

.status-labels-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    min-width: 300px;
}
.order-items-list {
    padding-inline-start: 0;
    max-height: 400px;
    overflow-y: auto;
    min-width: 200px;
}
.order-items-list li{
    margin-top: 3px;
    padding-top: 3px;
    border-top: .5px solid #bdc3c7;
}


.accepted-status-selected {
    background-color: #0fb9b1 !important;
}

.pending-status-selected {
    background-color: #f1c40f !important;
}

.rejected-status-selected {
    background-color: #c0392b !important;
}


.in_progress-status-selected {
    background-color: #e67e22 !important;
}

.delivered-status-selected {
    background-color: #27ae60 !important;

}

.paid-status-selected {
    background-color: #2980b9 !important;

}
.swal2-title{
    line-height: 30px!important;
}
.restaurant-stars-rating{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}
.star{
    color: #f1c40f;
    font-size: 20px;
}
.table-report img{
    width: 100px;
}

.restaurant-description-td{
    min-width: 300px;
}

.btn-logo{
    width: 30px!important;
    box-shadow: none !important;
}

body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .swal2-container.swal2-top-right{
    z-index: 999999!important;
}
.login-actions-container{
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}
.site-order-types-list {
    max-height: 200px;
    overflow-y: auto;
}
.site-order-types-list li{
    border-bottom: 1px solid darkgrey;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
}

.order-type-config-wrapper{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.xdsoft_datetimepicker{
    z-index: 999999!important;
}
.cron-list{
    max-height: 500px;
    overflow-y: auto;
}
.cron-list li{
    border-bottom: 1px solid darkgrey;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 4px;
}
.main-app-background{
    background-color: #75B9BD !important;
}


@media only screen
and (max-device-width: 1200px) {
    .active-flex-wrapper{
        flex-direction: row!important;
    }
    .alert-dismissible{
        padding-right: .5rem !important;
        padding-left: .5rem !important;
    }
    .modal .modal-dialog.modal-xlg {
        width:100vw !important;
    }
    .modal-content{
        width: 95%!important;
    }
    .modal-xxlg{
        width:100vw !important;
    }

    .flex-wrap-inputs >div{
        max-width: 100%!important;
        width: 100%!important;
    }
    .menu-item-header-wrapper{
        align-items: flex-start !important;
    }
    .menu-item-title-wrapper{
       flex-direction: column;
    }
}
.input-danger{
    border: 1px solid #c0392b !important;
}

.has-tooltip{
    position: relative!important;
}


[role="tooltip"] {
    opacity: 0;
    position: absolute;
    width: auto;
    left: 40%;
    bottom: -40px;
    z-index: 9999!important;
    max-width: 80%;
    height: auto;
    /*min-height: 25px;*/
    /*line-height: 25px;*/
    font-size: .8rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 5px;
    margin-top: 5px;
    padding: 5px 10px;
    transform: translateX(-50%);
}

[role="tooltip"].tooltip-active {
    opacity: 1!important;
    transition: opacity 0.1s;
}

[role="tooltip"]::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.7);
    position: absolute;
    margin-top: -15px;
    transform: translateX(-50%);
    left: 50%;
}

.flex-wrap-inputs{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.flex-wrap-inputs >div{
    max-width: 45%;
}
.menu-item-checkboxes{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.menu-item-checkboxes > div{
    width: 33%;
}

#image-preview-modal #image_preview{
    margin: 0 auto;
    padding: 10px;
    height: 100%;
}

.flex-justify-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-header-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-navigation-btns{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}
.menu-item-title-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.justify-center{
    justify-content: center;
}
.main-color{
    color:#FD5C02!important;
}

.main-background{
    background-color:#FD5C02!important;
}
.main-border-color{
    border: 1px solid #FD5C02!important;
}

.select2-results__option--selected {
    background-color: #ecf0f1;
    /*color: #fff;*/
}
.justify-between{
    justify-content: space-between!important;
}
.mobile-menu-bar{
    background-color: #074332;
}

.active-flex-wrapper{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}
.active-flex-wrapper label{
    margin-bottom: 0!important;
}
