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;
    cursor: pointer;
    user-select: none !important;
    /* align vertical */
    vertical-align: middle !important;
    background-color: white !important;
}

.btn {
    font-family: 'Almarai', sans-serif !important;
}

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

/* on row hover */
table.dataTable tbody tr:hover {
    background-color: #f5f5f5;
}

.theme-dark table.dataTable tbody tr:hover {
    background-color: #1a2234;
}

.theme-dark .btn-light,
.theme-dark .bg-light,
.theme-dark .bg-white {
    background-color: #1a2234 !important;
    color: #f2f2f2 !important;
}

.theme-dark .text-dark {
    color: #f2f2f2 !important;
}

.theme-dark .status-dark {
    background: #010101 !important;
    color: #f2f2f2 !important;
}

/* 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;
}

.dataTables_filter label input {
    padding: 10px 10px !important;
    border: 1px solid #f1f1f1 !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: #b18425;
    border-color: #b18425;
    border-radius: 3px;
    color: #ffffff !important;

}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #cca85e;
    border-color: #cca85e;
    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;
}

#booking-calendar .fc-col-header {
    text-align: center;
    font-size: 0.7rem !important;
}

/* set #booking-calendar cursor to pointer */
#booking-calendar .fc-day {
    cursor: pointer;
}

#booking-calendar .fc-daygrid-day-top {
    text-align: center;
    justify-content: center;
}

#booking-calendar .fc-day-past {
    background-color: #f5f5f5 !important;
    position: relative;
    cursor: not-allowed;
}

#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 */
@keyframes rotate {
    100% {
        transform: rotate(-360deg);
    }
}

.calendar-popover {
    width: 100%;
}


.contract-variable {
    /* will add border bottom dashed */
    border-bottom: 1px dotted #000;
    font-weight: 500;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    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 */
@media print {
    .watermark {
        display: block !important;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.2;
        z-index: 2;

    }

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

    }

    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: #b18425;
    border-right: 5px solid #b18425;
}


.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 #d7a640;
    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-tinymce-aux div div {
    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: #d7a640;
    border-radius: 10px;
}

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

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

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

}


.navbar-overlap:after {
    border-radius: 0 0 20px 20px;
    height: 0;
}


.navbar-brand-lvl1 {
    /* #1a3e89 */
    background-image: linear-gradient(to bottom, #1a3e89, #1b4392, #1c489b, #1c4ea4, #1c53ad);

}



.navbar-brand-lvl2 {
    /* #1a3e89 */
    background-image: linear-gradient(to bottom, #1a3e89, #1b4392, #1c489b, #1c4ea4, #1c53ad);
    border-radius: 0 0 10px 10px;
}

.navbar-brand::after {
    /* #1a3e89 */
    /* background: linear-gradient(180deg, #1a3e89 0%, #1a3e89 100%); */
    background-image: linear-gradient(to bottom, #1a3e89, #1b4392, #1c489b, #1c4ea4, #1c53ad);
}

.navbar-brand-lvl2 a,
.navbar-brand-lvl2 svg {
    color: #fff !important;
}

.page-wrapper::after {
    background: url('/public/assets/img/watermark.svg');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.1;
    position: absolute;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    width: 100%;
    z-index: -1;

}

/* add transition to all elements */
* {
    transition: all 0.4s ease-out
}

.form-control,
.form-select,
.btn:not(.btn-sm, .btn-normal) {
    padding: 1.0rem !important;
    padding-top: 1.0rem !important;
    padding-bottom: 1.0rem !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #1a3e89 !important;

}


.table:not(.table-sm, .table-normal) thead th,
.markdown>table thead th {
    color: var(--tblr-muted);
    background: #ffffff;
    font-size: 1rem;
    font-weight: var(--tblr-font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1rem;
    color: var(--tblr-muted);
    padding-top: 1rem;
    padding-bottom: 1rem;
    white-space: nowrap;
    border-bottom: 1px solid #e9ecef;


}

.table:not(.table-sm, .table-normal) {
    border-radius: 0.5rem !important;
    background-color: white !important;
}

body {
    overflow-y: overlay;
}

body[data-lang="ar"] .form-floating>label {
    position: absolute;
    font-weight: bold;
    z-index: 999;
    top: -1px;
    background: #fff !important;
    color: #1a3e89 !important;
    right: 10px;
    width: unset;
    height: unset;
    padding: 0px 10px 0px 10px !important;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: unset;
    transform-origin: 100% 0;
    opacity: 1 !important;
    transition: unset !important;
}

body[data-lang="en"] .form-floating>label {
    position: absolute;
    font-weight: bold;
    z-index: 999;
    top: -1px;
    background: #fff !important;
    color: #1a3e89 !important;
    right: unset;
    left: 0px;
    width: unset;
    height: unset;
    padding: 0px 10px 0px 10px !important;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: unset;
    transform-origin: 100% 0;
    opacity: 1 !important;
    transition: unset !important;
}

.input-group-flat:focus-within .form-control,
.input-group-flat:focus-within .input-group-text {
    border-color: #5f7ab2 !important;
}

select {
    cursor: pointer;
}

/* rotatte animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate {
    animation: rotate 2s linear infinite;
}

.input-group-flat .input-group-text:first-child {
    padding: 0.4375rem 0.75rem;
}

/* hover-effect */
.hover-effect:hover {
    border-radius: 10px;
    background-color: var(--tblr-primary);
    transition: all 0.3s ease-in-out;
}

.daterangepicker {
    /* font-family: inherit; */
    font-size: .5rem;
}

.daterangepicker .ranges li {
    text-align: center;

}

.no-focus-outline:focus {
    outline: none;
}

.dt-buttons {
    display: none;
}