
:root {
    --light-color: #81bffe;
    --dark-color: #0165ce;
    --dark-grey: #353535;
    --light-grey: #454545;
}

/* ===== GLOBAL ===== */
html, body {
    background: var(--dark-grey);
    color: #ffffff;
    font-family: Verdana, Arial, sans-serif;
    font-size: 9pt;
    margin: 0;
}

/* ===== MOBILE: offset body for fixed navbar ===== */
@media (max-width: 991px) {
    body {
        background: var(--light-grey);
        padding-top: 50px;
    }
}

/* ===== MOBILE NAVBAR ===== */
#mobile-navbar {
    background-color: #000000;
    border-bottom: 2px solid var(--light-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

#mobile-navbar .navbar-brand {
    color: var(--light-color);
    font-size: 13pt;
    font-weight: bold;
    font-family: Verdana, Arial, sans-serif;
    text-decoration: none;
    margin-left: 10px;
    padding-top: 0;
    padding-bottom: 0;
}

#mobile-navbar .navbar-toggler {
    border-color: var(--light-color);
    padding: 2px 6px;
    margin-left: 0;
}

#mobile-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mobile-navbar .navbar-collapse {
    background-color: #000000;
    padding: 0 8px 8px 8px;
}

#mobile-navbar .nav-link {
    color: var(--light-color) !important;
    font-weight: bold;
    font-size: 9pt;
    padding: 6px 8px;
}

#mobile-navbar .nav-link:hover,
#mobile-navbar .nav-link:focus {
    color: #ffffff !important;
    background-color: var(--dark-color);
}

#mobile-navbar .dropdown-menu {
    background-color: var(--dark-grey);
    border: 1px solid var(--dark-color);
    border-radius: 0;
    margin: 0;
    padding: 0;
}

#mobile-navbar .dropdown-item {
    color: var(--light-color);
    font-size: 9pt;
    font-weight: bold;
    padding: 5px 16px;
    font-family: Verdana, Arial, sans-serif;
}

#mobile-navbar .dropdown-item:hover,
#mobile-navbar .dropdown-item:focus {
    background-color: var(--dark-color);
    color: #ffffff;
}

#mobile-navbar .container-fluid {
    justify-content: flex-start !important;
}

/* ===== DESKTOP CONTAINER ===== */
#main-wrap {
    width: 972px;
    max-width: 972px;
    padding-left: 0;
    padding-right: 0;
    background-color: var(--light-grey);
    border: 10px solid var(--light-grey);
}

/* ===== HEADER ===== */
#header_top {
    height: 30px;
    background: #000 url('/images/banner/lake_top.jpg') right no-repeat;
}

#header {
    height: 85px;
    background: #000 url('/images/banner/lake_mid.jpg') right no-repeat;
    padding: 5px 10px;
    margin-bottom: 10px;
}

#header h1 {
    margin: 0;
    font-size: 250%;
}

#header a {
    color: #ffffff;
    text-decoration: none;
}

#header small {
    color: var(--light-color);
    font-size: 115%;
    font-weight: bold;
}

/* ===== ROW ===== */
.row.g-0 {
    margin-left: 0;
    margin-right: 0;
}

/* ===== DESKTOP SIDEBAR ===== */
#sidebar {
    width: 130px;
    min-width: 130px;
    flex: 0 0 130px;
    background-color: var(--light-grey);
    font-size: 85%;
    font-weight: bold;
}

/* ===== MENU ===== */
#menu p {
    margin: 0;
    padding: 2px 3px;
    background-color: #000;
    font-weight: bold;
    color: #ffffff;
    text-align: left;
}

#menu a {
    display: block;
    margin-top: 2px;
    padding: 2px 3px;
    color: var(--light-color);
    background-color: var(--dark-grey);
    font-weight: bold;
    text-decoration: none;
}

#menu a:hover {
    background-color: var(--dark-color);
    color: #ffffff;
}

/* ===== MAIN CONTENT ===== */
#content {
    flex: 1;
    min-width: 0;
    padding: 0 0 0px 10px;
    background-color: var(--light-grey);
    min-height: 580px;
}

h2 {
    margin: 0 0 0px 0;
    background-color: #000;
    padding: 5px 10px;
    font-size: 12pt;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 991px) {
    h2 {
        text-align: center;
    }
}

h1 {
    color: #428986;
    font-size: 18pt;
    font-weight: bold;
    padding: 0 0 5px 0;
    margin: 0 0 5px 0;
}

h3 {
    font-size: 125%;
    font-weight: bold;
}

h4 {
    color: var(--light-color);
    padding: 0;
    margin: 0;
    font-weight: bold;
    font-size: 100%;
}

a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: var(--light-color);
    text-decoration: underline;
}

/* ===== IMAGE GRID ===== */
.row.g-0 .col-6,
.row.g-0 .col-md-4,
.row.g-0 .col-lg-3 {
    padding: 3px;
    text-align: center;
}

.row.g-0 img {
    border: 1px solid var(--light-grey);
    padding: 2px;
    background: var(--dark-grey);
    margin-top: 5px;
    margin-bottom: 5px;
}

.row.g-0 p {
    text-align: center;
    margin: 0;
    color: #C0C0C0;
}

/* ===== FOOTER ===== */
#footer {
    margin: 10px 0 0 0 !important;
    padding: 0px 0 0 0 !important;
    clear: both;
    color: #ffffff;
    font-size: 85%;
    font-weight: bold;
    border-top: 2px solid var(--light-color);
    width: 100%;
    background: var(--light-grey);
}

#footer a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: bold;
}

#footer a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    #footer {
        text-align: center;
        border-top: 2px solid var(--light-color);
    }
}

/* ===== CONTENT CLASSES ===== */
.results td {
    margin: 0;
    padding: 0;
    border: 1px solid var(--dark-grey);
    width: 190px;
}

.comments {
    color: #C0C0C0;
}

.comments h4 {
    border-top: 1px solid var(--light-color);
    color: #ffffff;
    padding: 10px 0 0 0;
    margin: 0 0 10px 0;
    font-size: 100%;
    font-weight: normal;
}

.comments p {
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
    color: #C0C0C0;
}

.biog {
    margin: 10px 0 0 0 !important;
    color: #C0C0C0;
    text-align: left !important;
}

.biog p {
    font-size: 100% !important;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
}

.biog h3 {
    color: var(--light-color);
}

.biog_thumbnail {
    border: 1px solid #C0C0C0;
    padding: 5px;
    float: right;
    width: 200px;
    text-align: center;
    margin: 0 0 15px 20px;
    clear: right;
    background-color: var(--dark-grey);
}

.biog_thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    border: none !important;
}

.biog_thumbnail p {
    margin: 0 !important;
    padding: 0;
    color: #ffffff !important;
    font-size: 90% !important;
    line-height: 1.2;
    text-align: center !important;
}

.thumbnail, .main_thumbnail {
    border: 1px solid var(--light-grey);
    padding: 2px;
    float: left;
    min-width: 193px;
    min-height: 130px;
    text-align: center;
    margin: 3px;
}

.thumbnail {
    min-height: 180px;
}

.thumbnail p, .main_thumbnail p {
    text-align: center;
    margin: 0;
    color: #C0C0C0;
}

.thumbnail img, .main_thumbnail img {
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline;
}

img {
    border: none;
}

.box {
    border: 1px solid #C0C0C0;
    padding: 2px;
    max-width: 400px;
    min-height: 100px;
    margin: auto;
}

.box p {
    text-align: center !important;
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    #main-wrap {
        width: 100%;
        max-width: 100%;
        border: none;
        background-color: var(--light-grey);
    }

    #content {
        padding-left: 8px;
        padding-right: 8px;
        min-height: auto;
    }

    .row.g-0 {
        flex-wrap: wrap;
    }
}

/* ===== IMAGE GRID ===== */
.row.g-0 .col-6,
.row.g-0 .col-md-4,
.row.g-0 .col-lg-3 {
    padding: 3px;
    text-align: center;
}

/* 1. Create the fixed-height "Stage" */
#content .row.g-0 a.glightbox {
    display: flex;             /* Enables centering logic */
    align-items: center;       /* Centers image vertically */
    justify-content: center;    /* Centers image horizontally */
    height: 160px;             /* Sets a uniform height for all thumbnail boxes */
    background-color: var(--dark-grey); /* Optional: fills gaps for odd-sized images */
    border: 1px solid var(--light-grey);
    margin-top: 5px;
    margin-bottom: 5px;
    overflow: hidden;          /* Ensures nothing pokes out */
}

/* 2. Apply "Shrink to Fit" to the images */
#content .row.g-0 img {
    max-height: 100%;          /* Shrinks tall images to fit the 160px height */
    max-width: 100%;           /* Shrinks wide images to fit the column width */
    width: auto;               /* Maintains aspect ratio */
    height: auto;              /* Maintains aspect ratio */
    padding: 2px;
    border: none !important;   /* We moved the border to the 'a' tag container */
    background: none !important; 
}

/* 3. Keep captions aligned */
#content .row.g-0 p {
    text-align: center;
    margin: 0;
    color: #C0C0C0;
    font-size: 85%;
}