table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody th,
table.dataTable tbody td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    text-align: center !important;
    /* cursor: pointer !important; */
    user-select: none !important;
    vertical-align: middle !important;
    background-color: white !important;
    font-size: 0.75rem !important;
}

table.dataTable thead th {
    font-weight: bold !important;
    font-size: 0.75rem !important;
    color: var(--tblr-primary) !important;
    /* background-color: rgba(var(--tblr-primary-rgb), 0.1) !important; */
    border-bottom: 1px solid rgba(var(--tblr-primary-rgb), 0.1) !important;
}

[dir="ltr"] .btn {
    font-family: 'Ubuntu', sans-serif;
}

[dir="rtl"] .btn {
    font-family: 'Alexandria', sans-serif;
}

table.dataTable tbody td img {
    border-radius: 5px;
}

/* datatabele pagination buttons */


table.dataTable {
    width: 100% !important;
}

.table-responsive {
    padding: 0.25rem !important
}

.dataTables_filter {
    width: 100%;
}

.dataTables_filter label,
.dataTables_filter label input {
    width: 100%;
    margin-top: 2px;
    margin-bottom: 5px;
    position: relative;
}

.dataTables_wrapper .dataTables_filter {
    position: relative !important;

}

[dir="ltr"] .dataTables_filter label input,
[dir="ltr"] .search_filter {
    padding: 10px 10px 10px 50px !important;
    border: 1px solid transparent !important;
    border-bottom: 1px solid rgba(var(--tblr-primary-rgb), 0.1) !important;
    margin: 0 !important;

}

[dir="ltr"] .dataTables_wrapper .dataTables_filter::before,
[dir="ltr"] .search_filter_container::before {
    content: "\eb1c";
    font-family: "tabler-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 50%;
    left: 25px;
    right: unset;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    border-right: 1px solid #000;
    padding-right: 10px;
}

[dir="rtl"] .dataTables_filter label input,
[dir="rtl"] .search_filter {
    padding: 10px 50px 10px 10px !important;
    border: 1px solid transparent !important;
    border-bottom: 1px solid rgba(var(--tblr-primary-rgb), 0.1) !important;
    margin: 0 !important;

}

[dir="rtl"] .dataTables_wrapper .dataTables_filter::before,
[dir="rtl"] .search_filter_container::before {
    content: "\eb1c";
    font-family: "tabler-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 50%;
    right: 0px;
    left: unset;
    transform: translate(-50%, -50%);
    color: #000;
    border-left: 1px solid #000;
    padding-left: 10px;
    font-weight: bold;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody th,
table.dataTable tbody td {
    padding-right: unset !important;
    padding-left: unset !important;
    padding: .5rem 15px !important;
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    right: 5px !important;
}

.theme-dark .dataTables_filter label input,
.theme-dark input {
    border: 1px solid #1a2234 !important;
    color: #f2f2f2 !important;
}

.dataTables_filter label input:focus {
    outline: none;

}

/* set cursor for datatable row */

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #1B418F;
    border-color: #1B418F;
    border-radius: 3px;
    color: #ffffff !important;

}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e1654e;
    border-color: #e1654e;
    border-radius: 3px;
    color: #ffffff !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.litepicker {
    direction: ltr;
}

.navbar-expand-md .navbar-nav .dropdown-menu.grid-menu {
    min-width: 22rem;
}

.grid-menu .grid-menu-item {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    /* border: 1px solid #f1f1f1; */
    border-radius: 5px;
    margin: 0rem;
    transition: all 0.3s ease-in-out;
    font-weight: bold;

}

.grid-menu .grid-menu-item:hover {
    background-color: #f5f5f5;
    border-radius: 5px;
    transition: all 0.1s ease-in-out;
}

.readonly-input {
    padding: 0.075rem 0.00rem;
    border: none !important;
    transition: all 0.1s ease-in-out;

}

.readonly-input:focus {
    background-color: #f5f5f5;
    border-radius: 5px;
    transition: all 0.1s ease-in-out;
    outline: none;
    box-shadow: none;
}

.booking-grid {
    --tblr-datagrid-item-width: 10rem;
}

.nav-link.active {
    font-weight: bold !important;
}

#waiting-list-booking-calendar .fc-col-header,
#edit-order-date-calendar .fc-col-header,
#booking-calendar .fc-col-header {
    text-align: center;
    font-size: 0.7rem !important;
}

#waiting-list-booking-calendar .fc-day,
#edit-order-date-calendar .fc-day,
#booking-calendar .fc-day {
    cursor: pointer;
}

#waiting-list-booking-calendar .fc-daygrid-day-top,
#edit-order-date-calendar .fc-daygrid-day-top,
#booking-calendar .fc-daygrid-day-top {
    text-align: center;
    justify-content: center;
}

#waiting-list-booking-calendar .fc-day-past,
#edit-order-date-calendar .fc-day-past,
#booking-calendar .fc-day-past {
    background-color: #f5f5f5 !important;
    position: relative;
    cursor: not-allowed;
}

#waiting-list-booking-calendar .fc-day-past::after,
#edit-order-date-calendar .fc-day-past::after,
#booking-calendar .fc-day-past::after {
    /* add X on the top of element  */
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x" viewBox="0 0 16 16"><path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/></svg>');
    position: absolute;
    /* in the middle  */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* color: #f00; */
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.2rem;
    background-color: #f5f5f5;
    border-radius: 5px;

}

#loadingModel svg {
    width: 50px;
    height: 50px;
    /* rotate */
    animation: rotate 1s linear infinite;
    margin-bottom: 1rem;
}

.rotate-animation {
    /* rotate */
    animation: rotate 1s linear infinite;
}

/* rotate animation */
@keyframes rotate {
    100% {
        transform: rotate(-360deg);
    }
}

.calendar-popover {
    width: 100%;
    z-index: 9999999;
}


.contract-variable {
    /* will add border bottom dashed */
    border-bottom: 1px dotted #000;
    font-weight: 500;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: -1.0rem;



}

.contract-points {
    font-size: 0.7rem;
    line-height: 1.0rem;

}

.contract-points * {
    margin-bottom: 0 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* set styles for print */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: 2;

}

.watermark-receipt {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 2;

}

@media print {


    html,
    body {
        /* overflow: hidden !important; */
        height: auto !important;
        display: block !important;

    }

    @page {
        size: A4;
        margin-top: .3cm;
        margin-bottom: .3cm;
        margin-left: .2cm;
        margin-right: .2cm;
    }

}

.booking-print-list .list-group-item:hover {
    background-color: #f5f5f5;
    border-radius: 0;
    transition: all 0.1s ease-in-out;
    color: #1B418F;
    border-right: 5px solid #1B418F;
}


.dropzone {
    border: 0.0625rem solid #c6ccd6;
    border-radius: 0.5rem;
    background-color: #f9f9fb;
    display: block;
}

.dropzone .dropzone-container {
    padding: 2rem 0;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #8c96a8;
    z-index: 20;
}

.dropzone .dropzone-container .dropzone-title {
    padding-top: 1.5rem;
}

.dropzone .dropzone-container .browse {
    text-decoration: underline;
    color: #007bff;
}

.dropzone .file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.file-icon {
    /* Need position to allow stacking of pseudo-elements */
    position: relative;
    width: 4rem;
    height: 5.25rem;
    /* Padding for demo purposes */
    padding: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 2rem;
    color: #007bff;
    /* Second sheet of paper */
}

.file-icon,
.file-icon:before,
.file-icon:after {
    background-color: #ffffff;
    border-radius: 0.25rem;
    border: 0.125rem solid #b8bec9;
}

.file-icon:before,
.file-icon:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0.125rem solid #ccd0d8;
}

.file-icon:before {
    left: -0.625rem;
    top: 0.5rem;
    z-index: -1;
}

.file-icon:after {
    top: -0.25rem;
    right: -0.25rem;
    left: auto;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border-width: 0.625rem;
    border-style: solid;
    border-color: #f9f9fb #f9f9fb #b8bec9 #b8bec9;
}

.hover-border:hover {
    border: 1px solid #1B418F;
    border-radius: 0.5rem;
    transition: all 0.1s ease-in-out;
}

.dtfc-fixed-left {
    z-index: 100;
    /* shadow:  */
    box-shadow: 0 0 0 1px #e9ecef;
    border-left: 1px solid #e9ecef;
}

.tox-promotion {
    visibility: hidden;
}

.tox .tox-toolbar__overflow {
    background-color: #fff !important;
}

#modal-select-options::-webkit-scrollbar {
    width: 0px;
}

/* Track */
#modal-select-options::-webkit-scrollbar-track {

    border-radius: 10px;
}

/* Handle */
#modal-select-options::-webkit-scrollbar-thumb {
    background: #1B418F;
    border-radius: 10px;
}

/* Handle on hover */
#modal-select-options::-webkit-scrollbar-thumb:hover {
    background: #1B418F;
}

/* list-group-hoverable on mobile view */

@media (max-width: 768px) {
    .list-group-hoverable .list-group-item-actions {
        opacity: 1 !important;
    }

}

.border-transparent {
    --tblr-border-opacity: 0;

    border-color: rgba(0, 0, 0, var(--tblr-border-opacity));
}

.was-validated .form-control:valid:focus,
.form-control.is-valid:focus,
.is-valid {
    box-shadow: none !important;
}

.hover-effect:hover {
    transition: all 0.1s ease-in-out;
    opacity: 0.9;
    background-color: #fafafa;
}

.icon-stroke-100 {
    stroke-width: 1.0 !important;
}

.icon-xm {
    --tblr-icon-size: 1.5rem;
    stroke-width: 1;
}

.navbar-brand-image {
    height: 3rem;
    width: auto;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none !important;
    border-color: #1B418F !important;

}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-control-plaintext~label,
.form-floating>.form-select~label {
    color: #6f737a;
    opacity: 1 !important;

}

.form-floating>.form-control:focus~label,
.form-floating>.form-select:focus~label {
    color: #1B418F !important;
    font-weight: bold !important;
    opacity: 1 !important;
}

.remove-focus:focus {
    outline: none !important;
    box-shadow: none !important;
}

.img-auto-white {
    filter: brightness(0) invert(1) !important;
}

.card-body,
.card-header {
    padding: 0.5rem;
}

/* #requestModal .form-footer {
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    display: flex !important;
    justify-content: space-between !important;
    background: white;
    padding: 10px 10px;
    width: var(--tblr-modal-width);
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #1b418f !important;
    margin-bottom: 2px;
} */

[dir="rtl"] .js-calendar {
    direction: rtl;
}

[dir="ltr"] .js-calendar {
    direction: ltr;
}

.color-calendar.basic .calendar__days .calendar__day-selected .calendar__day-box {
    box-shadow: none !important;
}

.color-calendar.basic.color-calendar--small .calendar__body .calendar__days {
    grid-template-columns: repeat(7, minmax(20px, 55px)) !important;
    grid-template-rows: repeat(6, minmax(30px, 40px)) !important;
}

.color-calendar.basic.color-calendar--small .calendar__body .calendar__weekdays {
    grid-template-columns: repeat(7, minmax(20px, 55px)) !important;

}

.color-calendar.basic.color-calendar--small .calendar__header {
    /* grid-template-columns: repeat(7, minmax(20px, 100%)); */
    grid-template-columns: repeat(7, minmax(20px, 55px)) !important;
    /* grid-template-rows: repeat(6, minmax(30px, 100%)); */
}

.table-sm> :not(caption)>*>* {
    font-size: 0.65rem !important;
}

.status-sm {
    font-size: 0.65rem !important;
    padding: 5px 7px !important;
    height: unset !important;
}

.status-md {
    font-size: 0.75rem !important;
    padding: 5px 7px !important;
    height: unset !important;
}

.btn-close:focus {
    box-shadow: none !important;
}

.cd_kanban_board>.cd_kanban_board_titles .cd_kanban_board_title {
    min-width: 200px;
}



.cd_kanban_board>.cd_kanban_board_blocks .cd_kanban_board_block {
    min-width: 200px;
}

/* scrollbar hidden */
.scrollbar-hidden::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}

.scrollbar-hidden {
    padding: 10px !important;
    border-radius: 5px;
    /* create a shadow to make it clear for the user  that there is a scrollable area */
    /* box-shadow: inset 0 0 7px 1px #00000009 !important; */

}

.inset-shadow {
    box-shadow: inset 0 0 7px 1px #00000009 !important;
}

#modal-delete-confirmation.show {
    z-index: 999999999999 !important;
}

.flag {
    position: relative;
    display: inline-block;
    width: 1.33333em;
    height: 1em;
    vertical-align: -3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: var(--tblr-border-size) var(--tblr-border-style) var(--tblr-border-color);
    border-radius: var(--tblr-border-radius)
}

.flag-xs {
    width: 1.5rem;
    height: 1.125rem
}

.flag-sm {
    width: 2rem;
    height: 1.5rem
}

.flag-md {
    width: 4rem;
    height: 3rem
}

.flag-lg {
    width: 5.5rem;
    height: 4.125rem
}

.flag-xl {
    width: 7rem;
    height: 5.25rem
}

.flag-2xl {
    width: 11rem;
    height: 8.25rem
}

.flag-country-sa {
    background-image: url(https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/img/flags/sa.svg)
}

.flag-country-tr {
    background-image: url(https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/img/flags/tr.svg)
}

.flag-country-us {
    background-image: url(https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/img/flags/us.svg)
}

.flag-country-fr {
    background-image: url(https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/img/flags/fr.svg)
}

.search_filter_container {
    position: relative;
}

.form-floating>.form-control,
.form-floating>.form-select,
.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown),
.form-floating>.form-control-plaintext:focus,
.form-floating>.form-control-plaintext:not(:placeholder-shown) {
    font-size: 0.75rem;
    padding-top: 1.625rem;
    padding-bottom: 0.425rem;
}

.form-floating>.form-control~label,
.form-floating>.form-select~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-control-plaintext~label,
.form-floating>.form-select~label {
    /* opacity: 0.65; */
    font-size: 0.8rem;
    transform: scale(0.85) translateY(-0.2rem) translateX(0.15rem);
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext,
.form-floating>.form-select {
    height: calc(3rem + 2px);
}

.form-floating>label {
    color: var(--tblr-tabler) !important;
    padding: 0.6rem 0.75rem;
    font-weight: bold;
}


.form-floating>.form-control[required]~label::after {
    content: ' *';
    color: var(--tblr-danger) !important;
    /* Change the color as you like */

}

[dir="ltr"] .list-border-end>* {
    border-right: 1px solid #e9ecef !important;
    padding-right: 0.7rem !important;

}

[dir="ltr"] .list-border-end>*:last-child {
    border-right: none !important;
}

[dir="rtl"] .list-border-end>* {
    border-left: 1px solid #e9ecef !important;
    padding-left: 0.7rem !important;

}

[dir="rtl"] .list-border-end>*:last-child {
    border-left: none !important;
}

.modal-header {
    padding: 0 0.5rem 0 1rem !important;
    min-height: 2.2rem !important;
    background-color: var(--tblr-primary) !important;
    color: #fff !important;
    font-size: 1.3rem !important;
}

.modal-header .modal-title {
    font-size: .8rem !important;
}

input[type=file]::file-selector-button {
    background-color: transparent;
    border: 2px solid transparent;
    color: #000;
    font-size: 0.8rem;
    padding: 0rem auto;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}


[dir="ltr"] .input-img-preview {
    position: absolute;
    right: 10px;
    bottom: 5px;
    object-fit: cover;
}

[dir="rtl"] .input-img-preview {
    position: absolute;
    left: 10px;
    bottom: 5px;
    object-fit: cover;
}


/* objec */
.object-fit-cover {
    object-fit: cover;
}

.goToLink {
    cursor: pointer !important;
}

.vh-100 {
    height: 100vh !important;
}

.vh-90 {
    height: 90vh !important;
}

/* do it until vh 0 */
.vh-80 {
    height: 80vh !important;
}

.vh-70 {
    height: 70vh !important;
}

.vh-60 {
    height: 60vh !important;
}

.vh-50 {
    height: 50vh !important;
}

.vh-40 {
    height: 40vh !important;
}

.vh-30 {
    height: 30vh !important;
}

.vh-20 {
    height: 20vh !important;
}

.vh-10 {
    height: 10vh !important;
}

.cards-striped .card:nth-of-type(even) {
    background-color: #fafafa;
}

.requestModalBtn:hover {
    cursor: pointer;

}

tr.requestModalBtn:hover>*,
tr.goToLink:hover>* {
    background-color: #f5f5f5 !important;

}

/* form-check-input on check set the span after it to bold */
.form-check-input~span {
    font-weight: normal;
    padding: 0.2rem 0.5rem;
}

.form-check-input:checked~span {
    font-weight: bold;
}

.form-check-input:hover~span {
    background-color: #f5f5f5 !important;
    border-radius: 5px;
}

.top-5 {
    top: 5px !important;
}

.top-10 {
    top: 10px !important;
}

.top-15 {
    top: 15px !important;
}

.top-20 {
    top: 20px !important;
}

.notifications-badge:empty {
    display: none;
}

.form-check-inline {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.fc-event-title {
    cursor: pointer;
    /* no text select */
    user-select: none;
}

textarea.textarea-autosize {
    height: 25px;
}