html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.headerColor {
    background-color: #600020 !important;
}

.subHeaderColor {
    background-color: #22225a !important;
}
/* Error */
label.error {
    font-size: small !important;
    color: red !important;
    font-weight: 400 !important;
}

div.error {
    font-size: small !important;
    color: red !important;
    font-weight: 400 !important;
}

span.error {
    background-color: #fbe3e4 !important;
}

.field-validation-error {
    color: #f27474;
}

.input-validation-error {
    border-color: #fd5c70;
    padding-right: unset;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}

textarea.error {
    background-color: #fbe3e4 !important;
}

select.error {
    background-color: #fbe3e4 !important;
}

input.error {
    background-color: #fbe3e4 !important;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    background-image: none !important;
}

.modal-backdrop.fade.show {
    display: none;
}

.choices[data-type*="select-one"] select.choices__input {
    display: block !important;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    bottom: 0;
}

.choices.is-focused,
.choices:focus-within,
.choices:focus {
    box-shadow: $focus-box-shadow;
}

.choices__list--dropdown .choices__item.is-selected {
    background-color: #f0f0f0; /* Change to your preferred highlight color */
    font-weight: bold;
}

.choices__list--dropdown {
    z-index: 5;
    overflow: auto !important;
    visibility: visible !important;
}

.choices {
    margin-bottom: 0;
}

.datepicker {
    background-color: #fff !important;
}

.page-item .page-link, .page-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22225a !important;
    padding: 0;
    margin: 0 3px;
    border-radius: 20px !important;
    width: 30px;
    height: 30px;
    font-size: .875rem;
}

.active > .page-link, .page-link.active {
    z-index: 3;
    color: #fff !important;
    background-color: #22225a;
    border-color: var(--bs-pagination-active-border-color);
}

.page-link {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(--bs-pagination-color);
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.table-sm > :not(caption) > * > * {
    padding: .3rem !important
}

table.dataTable.table-sm tbody td.select-checkbox::before {
    margin-top: -5px !important;
}

.form-control {
    color: #282c31 !important;
}

    .form-control::placeholder {
        color: #677994 !important;
    }

/* Small devices (phones) */
@media (max-width: 576px) {
    .ipadScreen {
        margin-bottom: 270px !important;
        overflow-y: visible !important;
    }
    .nav-item {
        flex-direction: column;
        width: 100%;
    }
}

/* iPhones */
@media only screen and (max-device-width: 480px) {
    .ipadScreen {
        margin-bottom: 270px !important;
        overflow-y: visible !important;
    }
    .nav-item {
        flex-direction: column;
        width: 100%;
    }
}

/* iPads */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .ipadScreen {
        margin-bottom: 500px !important;
        overflow-y: visible !important;
    }
}