* {
    font-size: 12px;
}

h5, h5>span>i {
    font-size: 20px !important;
}

body {
    font-family: 'Montserrat', sans-serif; 
    /* padding-top: 70px;  */
    padding-top: 60px; 
    margin-bottom: 2.1rem;
}


.canvas-link>.badge {
    top: -8px;
    font-size: 10px;
}

.canvas-link>i {
    font-size: 20px;
}

/* th, td {
    font-size: 14px;
}

.mobile>div>button>i, td>button>i {
    font-size: 14px;
}

.dropdown-menu>li>.dropdown-item, .dropdown-menu>li>form>.dropdown-item {
    font-size: 14px;
} */

.group-navigation-buttons .btn:active {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: transparent !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

td .btn:active {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: transparent !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.navigation-client-request-form .btn:active {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: transparent !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.unseen-message-bg {
    background-color: #cfe2ff !important;
}

.ms-container {
    width: 100% !important;
}

.ms-container .ms-selectable li.ms-hover, .ms-container .ms-selection li.ms-hover {
    background-color: var(--bs-primary) !important;
}

img {
filter: invert(30%) sepia(99%) saturate(3624%) hue-rotate(212deg) brightness(103%) contrast(106%);
}

.font-size-12 {
    font-size: 12px;
}

li.reversed {
    position: relative;
}
li.reversed label {
    position: absolute;
    left: 15px;
}
li.reversed input {
    position: absolute;
    left: 70px;
}

/* on mobile display */
@media (max-width: 768px) {
    .w-mobile-15rem {
        width: 15rem !important;
    }
    .w-mobile-10rem {
        width: 10rem !important;
    }
    .w-mobile-8rem {
        width: 8rem !important;
    }
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
    border-color: #fff !important; 
}

.select2-container--default .select2-selection--single {
    /* background-color: rgba(13, 110, 253, 0.1) !important; */
    background-clip: padding-box !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-radius: var(--bs-border-radius) !important;
    height: calc(3.5rem + calc(var(--bs-border-width) * 2)) !important;
    min-height: calc(3.5rem + calc(var(--bs-border-width) * 2)) !important;
    line-height: 1.25 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 10px !important;
    padding-top: 13.5px !important;
    background-color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-dark) !important;
}

.select2-container--open .select2-dropdown--below {
    border-color: var(--bs-border-color) !important;
    top: -6px !important;
    min-height: 90px;
}

#scrollbar {
    overflow-y: auto;
    scrollbar-color: rgba(13,110,253, .7) rgba(13,110,253, .2);
    scrollbar-width: thin;
}

.form-control-sm {
    padding: .5rem .75rem; /* Adjust padding */
    font-size: 1rem; /* Reset font size */
    line-height: 1.5; /* Reset line height */
    border-radius: .25rem; /* Reset border radius */
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.25);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
}

#loading-screen::after {
    content: '';
    width: 60px;
    height: 60px;
    border: 3px solid #fff;
    border-top: 3px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}