.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    font-family: 'Arial', sans-serif;
}

.info {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.info h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.info h3 {
    color: #555;
    font-size: 18px;
    margin-bottom: 8px;
}

.info p {
    color: #666;
    line-height: 1.6;
}

.info a {
    color: #0066cc;
    text-decoration: none;
}

.info a:hover {
    text-decoration: underline;
}

.info ul {
    padding-left: 20px;
}


.nav-link-lg {
    font-size: 1.2rem !important;
}

/* .table tbody tr:hover td {
    background-color: #f19a99 !important;
} */

.kings-park-hover:hover td {
    background-color: rgb(223, 31, 30, .8) !important;
}

.linn-park-hover:hover td {
    background-color: rgb(237, 165, 31, .8) !important;
}

.rouken-glen-hover:hover td {
    background-color: rgb(236, 224, 32, .8) !important;
}

.pollok-park-hover:hover td {
    background-color: rgb(73, 173, 60, .8) !important;
}

.bellahouston-park-hover:hover td {
    background-color: rgb(65, 143, 207, .8) !important;
}

.queens-park-hover:hover td {
    background-color: rgb(104, 38, 126, .8) !important;
}

.default-hover:hover td {
    background-color: #f19a99 !important;
    /* Default color */
}



.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: black !important;
    margin-bottom: 1.5rem !important;
}

/* .navbar-brand,
.navbar-toggler {
    margin-top: auto !important;
    margin-bottom: auto !important;
    align-self: center !important;
} */

.navbar-light .navbar-brand {
    font-size: 1.8rem !important;
}

.navbar-light .navbar-nav .nav-link {
    /* white-space: nowrap !important; */
    color: white !important;
    display: inline-block !important;
    /* width: 7rem !important; */
    text-align: center !important;
}

.navbar-nav .nav-item .nav-link.active {
    border-radius: 0.25rem !important;
}

/* King's Park - Red */
.navbar-nav .nav-item:nth-child(1) .nav-link.active {
    background-color: #df1f1e !important;
}

/* Linn Park - Orange */
.navbar-nav .nav-item:nth-child(2) .nav-link.active {
    background-color: #eda51f !important;
}

/* Rouken Glen - Yellow */
.navbar-nav .nav-item:nth-child(3) .nav-link.active {
    background-color: #ece020 !important;
    color: black !important;
}

/* Pollok Park - Green */
.navbar-nav .nav-item:nth-child(4) .nav-link.active {
    background-color: #49ad3c !important;
}

/* Bellahouston Park - Blue */
.navbar-nav .nav-item:nth-child(5) .nav-link.active {
    background-color: #418fcf !important;
}

/* Queen's Park - Purple */
.navbar-nav .nav-item:nth-child(6) .nav-link.active {
    background-color: #68267e !important;
}

.nav-item .nav-link {
    color: black !important;
}

.kings-park-color {
    background-color: #df1f1e !important;
}

.linn-park-color {
    background-color: #eda51f !important;
}

.rouken-glen-color {
    background-color: #ece020 !important;
    color: black !important;
}

.pollok-park-color {
    background-color: #49ad3c !important;
}

.bellahouston-park-color {
    background-color: #418fcf !important;
}

.queens-park-color {
    background-color: #68267e !important;
}

.nav-item .nav-link.active.kings-park-color {
    color: white !important;
}

.nav-item .nav-link.active.linn-park-color {
    color: white !important;
}

.nav-item .nav-link.active.pollok-park-color {
    color: white !important;
}

.nav-item .nav-link.active.bellahouston-park-color {
    color: white !important;
}

.nav-item .nav-link.active.queens-park-color {
    color: white !important;
}

.container {
    padding-top: 2em;
}

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

.navbar-toggler {
    background-image: linear-gradient(to bottom,
            #df1f1e 0%,
            #df1f1e 16.666%,
            #eda51f 16.666%,
            #eda51f 33.333%,
            #ece020 33.333%,
            #ece020 50%,
            #49ad3c 50%,
            #49ad3c 66.666%,
            #418fcf 66.666%,
            #418fcf 83.333%,
            #68267e 83.333%,
            #68267e 100%) !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.info {
    color: black !important;
}

.info a {
    color: #68267e !important;
}

.dataTables_filter {
    float: left !important;
    /* Aligns the search box to the right */
    text-align: left !important;
    /* Aligns the text within the search box to the right */
}

#filterContainer {
    display: flex !important;
    /* Align items in a row */
    justify-content: center !important;
    /* Center items horizontally */
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}

#filterContainerClassification {
    display: flex !important;
    /* Align items in a row */
    justify-content: center !important;
    /* Center items horizontally */
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}

#filterContainer .btn {
    margin: 5px !important;
    /* Space around buttons */
    white-space: nowrap !important;
    /* Prevent text from wrapping */
}

#filterContainerClassification .btn {
    margin: 5px !important;
    /* Space around buttons */
    white-space: nowrap !important;
    /* Prevent text from wrapping */
}

.active-filter {
    background-color: #007bff;
    /* Example: blue background */
    color: white !important;
    /* White text */
    border-color: #007bff !important;
    /* Blue border */
}


.filter-btn {
    width: 120px !important;
    /* Fixed width for all buttons */
    height: 40px !important;
    /* Fixed height for all buttons */
    margin: 5px !important;
    /* Margin around buttons */
    color: white !important;
    /* Text color */
    font-size: 16px !important;
    /* Text size */
    border-radius: 5px !important;
    /* Rounded corners */
    border: none !important;
    /* No border */
}

/* Custom colors for each button */
.filter-btn-male {
    background-color: #df1f1e !important;
    /* Example blue for male */
}

.filter-btn-female {
    background-color: #418fcf !important;
    /* Example red for female */
}

.filter-btn-nonbinary {
    background-color: #68267e !important;
    /* Example green for non-binary */
}

.filter-btn-clear {
    background-color: #6c757d !important;
    /* Example grey for clear */
}

/* Hide sorting arrows when sorting is disabled */
#classificationTable th.sorting_disabled.sorting::after,
#classificationTable th.sorting_disabled.sorting::before,
#classificationTable th.sorting_disabled.sorting_asc::after,
#classificationTable th.sorting_disabled.sorting_asc::before,
#classificationTable th.sorting_disabled.sorting_desc::after,
#classificationTable th.sorting_disabled.sorting_desc::before {
    display: none !important;
}







@media (max-width: 767px) {
    .nav-link-lg {
        font-size: 1rem !important;
        align-self: center !important;
    }

    .navbar-light .navbar-brand {
        color: white !important;
        align-self: center !important;
    }

    .navbar-nav {
        direction: rtl;
        display: flex;
        justify-content: flex-end;
        padding: 0;
    }

    .dropdown-item {
        direction: rtl;
        display: flex;
        justify-content: flex-start;
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-light .navbar-brand {
        color: white !important;
        /* Visibility fix for tablet devices */
    }

    .navbar-nav {
        direction: rtl;
        display: flex;
        justify-content: flex-end;
        padding: 0;
    }

    .dropdown-item {
        direction: rtl;
        display: flex;
        justify-content: flex-start;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .navbar-brand {
        background-image: linear-gradient(to bottom,
                #df1f1e 0%,
                #df1f1e 16.666%,
                #eda51f 16.666%,
                #eda51f 33.333%,
                #ece020 33.333%,
                #ece020 50%,
                #49ad3c 50%,
                #49ad3c 66.666%,
                #418fcf 66.666%,
                #418fcf 83.333%,
                #68267e 83.333%,
                #68267e 100%) !important;
        border-radius: 5%;
        padding-left: 0.25em;
        padding-right: 0.25em;
        color: black !important;
    }

    .navbar-nav {
        direction: rtl;
        display: flex;
        justify-content: flex-end;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
    }

    .navbar-nav .nav-right-group:last-child {
        margin-left: auto !important;
        display: flex;
    }

    .navbar-nav {
        direction: ltr;
        display: flex;
        justify-content: flex-start;
        padding: 0;
    }
}

/* Dropdown menu styling for dark theme */
.navbar .dropdown-menu {
    background-color: black !important;
}

.navbar .dropdown-menu .dropdown-item {
    color: white !important;
    background-color: black !important;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: #333 !important;
    /* Slightly lighter shade on hover */
    color: white !important;
}

.navbar .nav-link.disabled {
    color: #6c757d !important;
    /* Ensures visible text color for disabled links */
}

.custom-tooltip .tooltip-inner {
    background-color: #333333 !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.custom-tooltip .tooltip-arrow::before {
    background-color: #333333 !important;
}

.form-control {
    background-color: white !important;
}

@media (min-width: 1200px) {
    .default-spacer {
        margin: 0 auto;
        width: 75%
    }
}