﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    color:white;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        color: navy;
    }

p a {
    color: navy;
    font-weight: bold;
}

/* Make the navbar navy with white text */
.navbar {
    background-color: navy !important;
}

    .navbar .navbar-brand,
    .navbar .nav-link,
    .navbar .dropdown-toggle {
        color: white !important;
    }

    /* Dropdown menu background + text */
    .navbar .dropdown-menu {
        background-color: navy;
    }

    .navbar .dropdown-item {
        color: white;
    }

        /* Hover effects */
        .navbar .nav-link:hover,
        .navbar .dropdown-item:hover {
            background-color: #00c7fc !important;
            color: black !important;
        }

/* Ensure the toggler icon stays visible */
.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon i {
    color: white !important;
}

/* Make the dropdown divider white */
.navbar .dropdown-divider {
    border-top: 1px solid white !important;
}

/* Active state matches hover */
.navbar .nav-link.active,
.navbar .dropdown-item.active {
    background-color: #00c7fc !important;
    color: black !important;
}

.navbar .nav-item.dropdown .nav-link.active {
    background-color: #00c7fc !important;
    color: black !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar-toggler {
    border-color: white !important;
}

footer {
    width: 100%;
    white-space: nowrap;
    background-color: #00447c;
    color: white;
    margin-top: 15px;
}

footer a {
    color:white;
}

.footerimages {
    max-width:200px;
}

.logoimage {
    width: 100%;
    max-width: 180px;
}

.coveredimage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pagecontent {
    margin-top: 52px;
    overflow: auto;
}

.bgblue {
    background-color: navy;
    color:white;
}

.event-card {
    text-decoration: none;
    color: inherit;
}

    .event-card:hover .card {
        transform: scale(1.02);
        transition: 0.2s;
    }

.adminpagecontent {
    margin-top: 70px;
}

.video-thumb {
    position: relative;
}

    .video-thumb::after {
        content: '▶';
        position: absolute;
        font-size: 48px;
        color: white;
        text-shadow: 0 0 10px black;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

.masonry-grid {
    column-count: 3;
    column-gap: 10px;
}

    .masonry-grid a {
        display: inline-block;
        margin-bottom: 10px;
        width: 100%;
    }

    .masonry-grid img {
        width: 100%;
        border-radius: 6px;
        display: block;
    }

/* Allow nanogallery2 to size thumbnails correctly */
.nGY2GThumbnailImage,
.nGY2GThumbnailImg {
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
}

.half-img {
    width: 100%;
    height: 500px; /* choose your height */
    object-fit: cover; /* or contain */
    object-position: top center;
    display: block;
}