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: 'Tajawal', 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: #77aa35;
    border-color: #77aa35;
    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: #77aa35;
    border-right: 5px solid #77aa35;
}


.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 {
    background-color: #000;
    border-bottom: 1px solid #77aa3555 !important;

}

.navbar a:not(.navbar .dropdown-menu a) {
    color: #fff !important;
}

.navbar svg {
    color: #fff !important;
}

.border-primary {
    border-color: #77aa35 !important;
}

/* selection backround */
::selection {
    background: #77aa3555;
    color: #000;
}

.page-break {
    page-break-after: always;
}

.btn:hover {
    background-color: unset !important;
    color: #77aa35 !important;
}

.form-control:focus{
    border-color: #77aa35 !important;
}

.t-end {text-align: end;}