html {
    position: relative;
    min-height: 100%;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    margin-right: 20px;
}

@media (max-width: 768px) {
    a.navbar-brand {
        margin: 0px 0px 25px 0px;
    }
}

.bg-dark {
    background-color: #10403F !important;
    font-weight: 500;
}

a {
    color: #0366d6;
}

.nav-item {
    margin-right: 15px;
    white-space: nowrap;
    transition: 0.2s ease;
    font-size: 18px;
    padding: 0px;
    font-weight: 200 !important;
    border-bottom: 2px solid transparent; /* Add a transparent border by default */
}

.nav-item {
    font-weight: 300;
    letter-spacing: .8px;
}

.navbar-nav .nav-item:hover {
    border-bottom-color:#EEE5B7;
    background: rgba(255, 255, 255, 0.07);
}

.nav-item-active {
    border-bottom-color: #EEE5B7;
    background: rgba(255, 255, 255, 0.07);
}


.card {
    margin-top: 15px;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
}

.card-title {
    text-align: center;
    font-size: 25px;
    margin: 0px;
}


#PageHeader {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}


.btn-primary {
    background-color: #10403F !important;
    border-color: #10403F !important;
    color: #fff !important;
}

    .btn-primary:hover {
        background-color: #fff !important;
        color: #10403F !important;
        border-color: #10403F !important;
    }

.btn-secondary {
    background-color: #de6128 !important;
    border-color: #de6128 !important;
    color: #fff !important;
}

    .btn-secondary:hover {
        background-color: #fff !important;
        color: #de6128 !important;
        border-color: #de6128 !important;
    }

#LargeButton {
    width: 100%;
    height: 100px;
    margin: 15px 15px 25px 0px;
    font-size: 35px;
    font-weight: 300;
    padding: 20px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

    #LargeButton:hover {
        background-color: #10403F !important;
        color: #ddcdb5 !important;
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
    }

@media (max-width: 1400px) {
    #LargeButton {
        font-size: 2vw;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    #LargeButton {
        margin: 20px 0px 0px 0px;
        font-size: 30px;
        padding: 25px;
    }
}


.dropdown-menu {
    background-color: #10403F;
    border: 2px;
    box-shadow: 3px;
    width: 160px;
    min-width: 160px;
}

.dropdown-item {
    color: #fff !important;
    font-weight: 300;
    border-bottom: 2px solid transparent; /* Add a transparent border by default */
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        border-bottom-color: #EEE5B7;
        background: rgba(255, 255, 255, 0.07);
    }

.dropdown-item-active,
.dropdown-item-active:hover,
.dropdown-item-active:focus {
    border-bottom-color: #EEE5B7;
    background: rgba(255, 255, 255, 0.07);
}

#InfoCard {
    margin-bottom: 20px;
    margin-left: 43px;
}

@media (max-width: 768px) {
    #InfoCard {
        margin: 20px 0px 220px 0px;
    }
}


.footer {
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 20px;
    min-height: 20px;
}

.footer {
    margin-top: 30px;
    position: relative; /* Add this */
    z-index: 1; /* Add this */
}

.footer {
    padding-bottom: 5rem;
    background-color: #10403F;
    color: #fff;
}

    .footer a {
        color: #fff;
    }

.btn-outline-light {
    color: #f8f9fa !important;
    border-color: #f8f9fa;
}

    .btn-outline-light:hover {
        color: #212529 !important;
    }

a.FooterFWLink:hover {
    color: #0055b3 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: .5em 1em;
    margin-left: 0.5em;
    display: inline-block;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    background: #f8f9fa;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
        color: #fff !important;
        border: 1px solid #007bff;
        background: #007bff;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        background: #e9ecef;
        color: #000 !important;
    }

.dataTables_length {
    margin-right: 20px;
    margin-bottom: 10px; /* Adjust as necessary */
}

#indexCard {
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12), .3s color;
    cursor: pointer;
    color: black;
}

    #indexCard::before {
        content: "";
        position: absolute;
        top: 100%;
        left: -100%;
        width: 200%;
        height: 200%;
        background-color: #10403F;
        transition: .3s;
        z-index: 1;
        transform: rotate(-45deg);
        transform-origin: bottom left;
    }

    #indexCard:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
        color: white;
    }

        #indexCard:hover::before {
            top: 0;
            left: 0;
        }

    #indexCard * {
        position: relative;
        z-index: 2;
        transition: .05s color;
    }

#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

    #loader img {
        width: 200px; /* Adjust as needed */
    }

@media (max-width: 767px) {
    #loader {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        z-index: 9999;
    }
}

.message-style {
    font-size: 20px;
    color: red;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 767px) {
    #myChart {
        height: 200%;
    }
}

.dataTables_scrollBody {
    overflow-x: hidden;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}


@media (max-width: 950px) {
    #anglerHeaderTitle {
        font-size: 12px;
        text-align: left;
    }
}

#anglerHeaderTitle {
    text-align: right; 
    font-weight:300;
}

.nowrap {
    white-space: nowrap !important;
}

/* Side notes for calling out things
-------------------------------------------------- */

/* Base styles (regardless of theme) */
.bs-callout {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code,
    .bs-callout .highlight {
        background-color: #fff;
    }

/* Themes for different contexts */
.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }
    .bs-callout-danger h5 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }
    .bs-callout-warning h5 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }
    .bs-callout-info h5 {
        color: #5bc0de;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }
    .bs-callout-success h5 {
        color: #5cb85c;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }
    .bs-callout-primary h5 {
        color: #428bca;
    }

.dropdown-menu.dynamic-width {
    width: auto;
    min-width: 100%; /* Ensure it's at least as wide as the parent */
    max-width: none; /* Override Bootstrap's default max-width */
}

    .dropdown-menu.dynamic-width > li > a {
        white-space: nowrap; /* Prevent the text inside from wrapping */
    }

hr {
    color: #10403f !important;
    opacity: 1 !important;
    height: 2px !important;
}

@media (max-width: 1465px) {
    .card-title {
        font-size: 14px; /* Adjust this value as needed */
    }
}

@media (max-width: 750px) {
    .header-title {
        width:80% !important;
    }

    #header-text {
        font-size:32px !important;
    }
}



/* Species views */
.SumoSelect {
    width: 100% !important;
}

.SumoSelect .placeholder {
    background-color: #fff;
    color: black !important;
    font-weight: 400 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-style: normal !important;
    opacity: .8 !important;
}

.SumoSelect > .CaptionCont {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
}

td a {
    text-decoration: none;
    color: #1C7472;
    font-weight: 700;
}

.filter-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.filter-section h5 {
    border-bottom: 2px solid #1C7472;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #1C7472;
}

.taxonomy-section,
.listing-status-section {
    display: none;
}

.taxonomy-section.active,
.listing-status-section.active {
    display: block;
}

.bs-callout-danger {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(240, 240, 240, 0.8);
    z-index: 1000;
    border-radius: 8px;
    cursor: wait;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.filter-loading-overlay.active {
    display: flex;
}

.filter-loading-overlay i {
    font-size: 32px;
    color: #1C7472;
}

.filter-loading-overlay span {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.resultsContainer {
    max-height: 700px;
    overflow-y: auto;
    box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}

#map {
    height: 500px;
    width: 100%;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
