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;
}

/*Custom*/

nav.navbar {
    background-color: #06218B !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

    nav.navbar li {
        margin-left: 10px;
    }

    /*header a.nav-link:hover {
        color: #FFD700 !important;*/ /* Optional: Color when hovering over links */
    /*}*/

    nav.navbar .navbar-brand {
        color: #06218B !important;
        font-weight: bold;
    }

    nav.navbar .navbar-toggler {
        background-color: #06218B !important;
    }

    nav.navbar img {
        width: 50%;
        height: 50%;
    }

    nav.navbar .navbar-brand {
        padding: 0px !important;
        margin: 0px !important;
    }

    nav.navbar .nav-link {
        color: white !important; /* Color for the links in the header menu */
    }

.nav-button {
    width: 100px;
}

table {
    width: 100%;
    border-radius: 0.5rem !important; /* Apply radius to bottom corners */
    box-shadow: 0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2) !important;
}

    table td:has(button),
    table td:has(a) {
        /*        display: flex;
        justify-content: center;*/
        text-align: end;
    }

    table.table-reports td:has(button),
    table.table-reports td:has(a) {
        display: flex;
        justify-content: end;
    }

    table td button,
    table td a {
        width: 90px !important;
        margin-right: 10px !important;
    }

        table td button.btn-large,
        table td a.btn-large {
            width: 100px !important;
            margin-right: 10px !important;
        }

        table td a.ba-link {
            display: flex;
            justify-content: start;
            text-align: start;
            /*text-wrap: nowrap;*/
        }

    table thead th {
        background-color: #06218B !important;
        color: white !important;
        font-weight: 400;
        border-style: none;
    }

        table thead th:first-child {
            border-top-left-radius: 0.5rem;
        }

        table thead th:last-child {
            border-top-right-radius: 0.5rem;
        }

        table thead tr.filter-row th:first-child {
            border-top-left-radius: 0rem;
        }

        table thead tr.filter-row th:last-child {
            border-top-right-radius: 0rem;
        }

        table thead td.col-left,
        table thead th.col-left,
        table tbody td.col-left {
            text-align: left !important;
        }

    table tr.row-gray {
        --bs-table-bg: rgba(170 170, 170, 0.5) !important;
    }

    table.table-row-height tr {
        height: 50px;
    }

    table.table-row-nowrap tr {
        text-wrap: nowrap;
    }

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b {
    /*margin-top: 18px !important;*/
}

.select2-container .select2-selection--single {
    height: calc(3.5rem + 2px) !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding-top: 18px;
}

p {
    font-family: 'verdana', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'verdana', sans-serif;
    color: #1C4E80;
}

.card {
    box-shadow: 0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #06218B;
    color: white;
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    font-size: 1rem;
    font-family: 'verdana', sans-serif;
}

.form-floating input,
.form-floating label,
.form-floating select {
    font-size: 0.9rem;
    font-family: 'verdana', sans-serif;
}

.form-floating label {
    z-index: 1 !important;
}

.modal {
}

    .modal h2,
    .modal h4 {
        font-family: 'verdana', sans-serif;
        color: #FFFFFF;
    }

    .modal .modal-content {
        box-shadow: 0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2) !important;
        border-radius: 0.55rem !important;
    }

    .modal .modal-header {
        background-color: #06218B;
        color: white;
        border-top-left-radius: 0.5rem !important;
        border-top-right-radius: 0.5rem !important;
        font-size: 1rem;
    }

.dt-search-container .dt-search {
    display: flex;
    justify-content: end;
    align-content: end;
}

    .dt-search-container .dt-search label {
        margin-right: 10px;
        padding-top: 3px;
    }

    .dt-search-container .dt-search input {
        width: 200px;
        height: 100%;
        padding-top: 5px;
    }

.dt-search {
    height: 100%;
    padding-top: 5px;
    /*padding-bottom: 20px;*/
}

    .dt-search label {
        margin-right: 5px;
        margin-left: 10px;
        padding-top: 3px;
    }

    .dt-search input {
        width: 250px;
        /*height: 30px;*/
        /*padding-top: 5px;*/
    }

    /* Contrast color for datatables search bar background */
    #dt-search-0 {
        background-color: floralwhite;
    }

/*datatables export buttons*/
.dt-buttons .btn {
    margin-right: 4px !important;
    border-radius: 0.375rem !important;
    margin-bottom: 4px;
}

/* Inactive member status banner message on Add/Edit Members*/
.statusMessageBannerRed {
    background-color: antiquewhite;
    border-radius: 1rem;
    border: 1px black;
    border-bottom-style: solid;
    /*font-weight: bold;*/
}

.statusMessageBannerYellow {
    background-color: lightyellow;
    border-radius: 1rem;
    border: 1px black;
    border-bottom-style: solid;
    /*font-weight: bold;*/
}


table.table-centered tbody td,
table.table-centered thead th,
table.table-centered tfoot th {
    text-align: center !important;
}

table.dataTable > tbody > tr.child ul.dtr-details {
    white-space: pre-wrap;
}

.checkbox-spacing {
    padding-right: 125px;
}

textarea.min-height {
    min-height: 100px !important;
}

.panel-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.input-disabled {
    background-color: #e9ecef;
    opacity: 1;
    pointer-events: none;
}

.input-select2-disabled {
    pointer-events: none !important;
}

.form-floating label::after {
    background-color: transparent !important; /* Match input background */
}

#eppBanksModal input::-webkit-outer-spin-button,
               input::-webkit-inner-spin-button {
                    -webkit-appearance: none;
                    margin: 0;
}

.card-disabled {
    opacity: .6;
}

.card-active {
    pointer-events: auto;
    opacity: 1;
}

/*Removes overlapping labels and selections in multiselect boxes*/
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    padding-top: 0.9em;
}

    .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
        border: none
    }

.select2-results__group {
    font-weight: bold;
    background-color: dimgray;
    color: white !important;
    display: flex;
}

.table-overflow {
    overflow-x: auto;
}

.hidden {
    display: none !important;
}

