:root {
    --iain-color: #114c44;
}

.btn-iain {
    background-color: var(--iain-color) !important;
    color: #fff !important;
}

.text-iain {
    color: var(--iain-color) !important;
}

.bg-iain {
    background-color: var(--iain-color) !important;
}

.dt-bootstrap5 .dt-length {
    float: right;
    margin-left: 5px;
}

.dt-bootstrap5 .btn-outline-light {
    border: 1px solid var(--input-border) !important;
}

.dt-bootstrap5 .form-select-dt {
    height: 36.7656px;
}

.dt-bootstrap5 .dt-buttons .btn-group {
    margin-left: 3px;
}

.dt-bootstrap5 .dt-length label, .dt-bootstrap5 .dt-search label {
    display: none;
}

.table thead th {
    background-color: rgba(var(--light-rgb), 1) !important;
    font-weight: bold;
}

.dt-bootstrap5 .table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: rgba(var(--light-rgb), 0.5);
    color: var(--default-text-color);
}

.dt-bootstrap5 .table > tbody > tr > td {
    padding: 8px 12px !important;
}

.dt-bootstrap5 .custom-button {
    padding-inline-start: 0.75rem;
}

.dt-bootstrap5 .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.modal-title {
    font-weight: bold;
}

.checkbox-checked {
    padding: 8px 10px;
}

label.error {
    color: rgba(var(--danger-rgb)) !important;
}

.toast-body {
    color: #232323 !important;
}

#spinner {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0.75;
}

#spinner.hide {
    display: none !important;
}

.bsb-timeline-2 {
    --bsb-tl-color: var(--bs-primary-bg-subtle);
    --bsb-tl-circle-color: var(--bs-primary);
    --bsb-tl-circle-size: 25px;
    --bsb-tl-circle-offset: 13px
}

.bsb-timeline-2 .timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative
}

.bsb-timeline-2 .timeline:after {
    background-color: var(--bsb-tl-color);
    bottom: 0;
    content: "";
    left: 0;
    margin-left: -1px;
    position: absolute;
    top: 0;
    width: 2px
}

.bsb-timeline-2 .timeline > .timeline-item {
    margin: 0;
    padding: 0;
    position: relative
}

.bsb-timeline-2 .timeline > .timeline-item .timeline-icon {
    align-items: center;
    background-color: var(--bsb-tl-circle-color);
    border-radius: 50%;
    display: flex;
    height: var(--bsb-tl-circle-size);
    justify-content: center;
    left: calc(var(--bsb-tl-circle-offset) * -1);
    position: absolute;
    top: 0;
    width: var(--bsb-tl-circle-size);
    z-index: 1
}

.bsb-timeline-2 .timeline > .timeline-item .timeline-body {
    margin: 0;
    padding: 0;
    position: relative
}

.bsb-timeline-2 .timeline > .timeline-item .timeline-content {
    padding: 0 0 2.5rem 2.5rem
}

@media (min-width: 768px) {
    .bsb-timeline-2 .timeline > .timeline-item .timeline-content {
        padding-bottom: 0.5rem
    }
}

.bsb-timeline-2 .timeline > .timeline-item:last-child .timeline-content {
    padding-bottom: 0
}

/*END TIMELINE CUSTOM*/

.small-box {
    width: 13px;
    height: 13px;
}

.user-profile .hovercard .cardheader {
    background: none;
    background-color: rgba(var(--primary-rgb), 1);
    height: 150px;
    display: flex;
    align-items: flex-end;
}

.user-profile .common-user-image .cardheader {
    border-radius: 5px;
}

.user-profile .common-user-image .user-image {
    width: 100%;
}

.user-profile .common-user-image .user-image .avatar .common-align > div img {
    width: calc(80px + 50 * (100vw - 320px) / 1600);
    height: calc(80px + 50 * (100vw - 320px) / 1600);
    max-width: calc(80px + 75 * (100vw - 320px) / 1600);
    max-height: calc(80px + 75 * (100vw - 320px) / 1600);
    border-radius: 4px;
    border: calc(5px + 2 * (100vw - 320px) / 1600) solid #fff;
    object-fit: cover;
}

.user-profile .common-user-image .user-image .avatar .common-align {
    gap: 12px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-profile .common-user-image .user-image .avatar {
    padding-inline: calc(20px + 10 * (100vw - 320px) / 1600);
}

.user-profile .hovercard .user-image .avatar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto !important;
    width: auto !important;

}

.user-profile .common-user-image .user-image .avatar .common-align > div {
    position: relative;
}

.user-profile .hovercard .user-image .avatar .common-align .user-designation h6 {
    font-weight: bold !important;
    margin-bottom: 0px;
    font-size: 20px;
}

.user-profile .hovercard .user-image .avatar .common-align .user-designation div.text-white {
    font-weight: bold !important;
    font-size: 16px !important;
}

@media (min-width: 576px) {
    .user-profile .common-user-image .user-image .avatar {
        margin-bottom: calc(-10px + -12 * (100vw - 320px) / 1600);
    }
}

.border-tab.nav-primary .nav-link.active,
.border-tab.nav-primary .nav-item.show,
.border-tab.nav-primary .nav-link:focus,
.border-tab.nav-primary .nav-link:hover {
    color: rgba(var(--primary-rgb), 1);
    border-radius: unset;
    background-color: transparent;
}

.border-tab.nav-primary .nav-item .nav-link {
    transition: 0.3s;
}

.border-tab.nav-primary .nav-item .nav-link.active,
.border-tab.nav-primary .nav-item .nav-link.show,
.border-tab.nav-primary .nav-item .nav-link:focus {
    border-bottom: 2px solid rgba(var(--primary-rgb), 1);
}

.border-tab.nav-tabs .nav-item .nav-link {
    font-size: 14px;
    padding: 15px 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.user-profile .common-user-image .user-image .avatar .common-align > div .icon-wrapper {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(32px + 8 * (100vw - 320px) / 1600);
    width: 100%;
    border-radius: 0 0 4px 4px;
    background-color: rgba(0, 0, 0, 0.24);
    cursor: pointer;
    overflow: hidden;
    margin: 0 auto;
    font-size: calc(12px + 5 * (100vw - 320px) / 1600);
    box-shadow: 0 0 6px 3px rgba(68, 102, 242, 0.1);
    backdrop-filter: blur(1.5px);
}

/*Custom Shortcut*/
.custom-shortcut {
    display: flex;
    gap: 3rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: .5rem;
}

.custom-shortcut .custom-shortcut-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.custom-shortcut .custom-shortcut-item .custom-shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: .5em 0;
    font-weight: 500;
    color: #565360;
    background-color: #babfc71f;
    border-radius: .35rem;
}

.custom-shortcut .custom-shortcut-item .custom-shortcut-icon svg {
    width: 18px;
    height: 18px;
}

.custom-shortcut .custom-shortcut-item .custom-shortcut-label {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-left: 1rem;
    color: #565360;
    font-weight: 500;
    white-space: nowrap;
}

.custom-shortcut .custom-shortcut-item.active .custom-shortcut-icon {
    background-color: rgb(var(--primary-rgb));
}

.custom-shortcut .custom-shortcut-item.active .custom-shortcut-icon svg {
    color: #fff;
}

.custom-shortcut .custom-shortcut-item.active .custom-shortcut-label {
    color: rgb(var(--primary-rgb));
}

.small-box {
    width: 13px;
    height: 13px;
}

.swal2-container .swal2-styled.swal2-confirm {
    padding: 0.70em 1rem !important;
}

.swal2-container .swal2-styled.swal2-deny {
    padding: 0.70em 1rem !important;
}

.swal2-container {
    z-index: 9999;
}

.form-label {
    margin-bottom: 0.25rem !important;
}

h6 {
    font-weight: bold;
}

.dt-processing {
    position: absolute;
    top: 100px !important;
    left: 40%;
    background: white;
    padding: 10px 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
    border: 1px solid black;
    z-index: 2000;
}

.table-responsive {
    overflow-x: unset;
    -webkit-overflow-scrolling: touch;
}

.text-center-important {
    text-align: center !important;
}

/* Add horizontal scroll on tablets and smaller */
@media (max-width: 991.98px) {
    .table-responsive {
        overflow-x: auto !important;
    }
}
