@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 60px;
    font-family: 'Titillium Web', sans-serif;
}

.extrasmall {
    font-size: 10px;
}

@media print {
    /* when printing */
    .order_popup_content {
        background-color: white;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
        padding: 15px;
        font-size: 14px;
        line-height: 18px;
    }
    #loading {
        display: none !important;
    }
    .btn {
        display: none !important;
    }
}

#modal {
    display: flex;
    align-items: start;
    justify-content: center;
    background-color: #00000090;
    padding: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    z-index: 1200;
    padding-bottom: 100px;
}

#modal .content {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    position: relative;
    overflow: auto;
    max-width: 1000px;
}

#loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000090;
    padding: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 5000;
}

#loading .content {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

#inner_loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff90;
    padding: 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
}

#inner_loading>div {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

#alert {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000090;
    padding: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 5000;
}

#alert .content {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    max-width: 400px;
    max-height: 100%;
    overflow: auto;
}

#confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000090;
    padding: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 5000;
}

#confirm .content {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    max-width: 400px;
}

.table td {
    vertical-align: middle;
}

.table td img {
    max-height: 25px;
}

#modal img {
    max-width: 100px;
    max-height: 100px;
    margin: 0 10px;
}

.list_ajax .subcategory {
    border-left: 30px solid #eee;
}

.sortable .handle {
    cursor: row-resize;
}

.sortable tr {
    background-color: #fff;
}

.times select {
    min-width: 70px;
}

.list_ajax .sep {
    color: #fff;
    background-color: #bf0000;
    font-weight: bold;
}

.list_ajax .sep td {
    padding: 5px;
}

#notifications {
    position: fixed;
    right: 0;
    top: 100px;
    background-color: #00000095;
    width: 100%;
    max-width: 350px;
    height: calc(100vh - 100px);
    overflow: auto;
}

#notifications .title {
    background-color: #f21f0c;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px 15px;
    text-align: center;
}

#notifications .content {
    padding: 15px;
}

.notification_item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #fff;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 10px;
    margin-bottom: 10px;
}

.notification_item> :nth-child(2) {
    flex-grow: 1;
}

.notification_item a {
    color: #fff;
}

.notification_item a:hover {
    text-decoration: none;
}

.notification_item .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    padding: 5px;
    background-color: #fff;
    margin-right: 10px;
}

.notification_item .icon img {
    max-width: 70%;
    max-height: 70%;
}

.notification_item.orders {
    background-color: #494373;
    color: #fff;
}

.notification_item.reservations {
    background-color: #c2e0f2;
    color: #000;
}

.notification_item.selfordering {
    background-color: #eeeeee;
    color: #000;
}

.notification_item.selfordering a {
    color: #000;
}

#temp_notifications {
    width: 300px;
    position: fixed;
    right: -300px;
    top: 100px;
}

#iframe_popup {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000090;
    padding: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    z-index: 1000;
}

#iframe_popup .content {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    max-width: 400px;
}

#iframe_popup .content iframe {
    border: 0;
    width: 100%;
    height: 600px;
}

#offline {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #fff;
    padding: 10px;
}

.small_col {
    max-width: 150px;
}

.input-group {
    flex-wrap: nowrap;
}

.jqte {
    width: 100%;
}

.flag {
    padding: 0 5px;
}

.flag>img {
    width: 30px;
    margin: 0 !important;
}

.fixed_head {
    position: relative;
}

.fixed_head thead th {
    position: sticky;
    top: 59px;
    background-color: #fff;
}

.tableFixHead {
    overflow: auto;
    max-height: 300px;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fff;
}

.variants_tr td {
    border-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 12px;
}

.variants_total_tr td {
    border-top: 0;
}

.icon_fas {
    color: #fff;
}

.qr_modal {
    height: 500px;
    width: 500px;
    max-width: 500px !important;
    max-height: 500px !important;
    image-rendering: pixelated;
    margin: auto !important;
    display: block;
}

.qr_buttons_container {
    width: 100%;
    justify-content: center;
}

#assortment .table th {
    font-size: 10px;
    line-height: 16px;
    white-space: normal;
    vertical-align: bottom;
    text-align: left;
    height: 10%;
    width: 50px;
    text-align: center;
}

#assortment .table td .js_true_false_switch i {
    font-size: 16px!important;
}