/* --- 01 TYPOGRAPHY SYSTEM */
/*===================================
- FONT SIZE SYSTEM (px): 10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
- FONT WEIGHTS: Default
- LINE HEIGHTS: Default: 1
*/

/* --- 02 COLORS */
/*===================================
- Primary: #f8f1f1, #16697a, #db6400, green, #ffa62b
- Shades: #af5000, #458795, #125462
- Greys: #555, #333
*/

/* --- 05 SHADOWS */
/*===================================*/

/* --- 06 BORDER RADIUS */
/*===================================*/

/* --- 07 WHITESPACE */
/*===================================
- SPACING SYSTEM (px): 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: none;
}

html {
    font-size: 62.5%;
}

/* Global scroll fix */
html {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: sans-serif;
    background-color: #161c20;
    max-width: none;
    padding: 0;
    margin: 0;
    height: 100vh; /* Exact viewport height to eliminate extra scroll */
    overflow: hidden; /* Lock vertical scroll to content */
    overflow-x: auto; /* Allow horizontal if needed */
}

.container-fluid {
    padding: 0;
}

.container {
    padding: 0 !important;
}
.main{
    padding-left: 8px;
    padding-right: 8px;
}
main, .main-container {
    margin-top: 0 !important; /* No top margin */
    padding-top: 0 !important;
}

main, .main-container, .container-fluid {
    height: 100%;
    overflow-y: auto; /* Scroll only within content areas */
    overflow-x: hidden;
}

.row {
    margin-right: 0;
    overflow: visible !important;
    height: auto;
}

/* --- SITE COLORS */
.me-white {
    background-color: #f8f1f1;
}

.me-blue {
    background-color: #16697a;
}

.me-green {
    background-color: green;
}

.me-orange {
    background-color: #db6400;
}

.me-lightorange {
    background-color: #ffa62b;
}

.bg-primary {
    background-color: #16697a !important;
}

.meast-type-display {
    font-family: sans-serif;
    font-size: 2rem;
}

.content-asset {
    text-align: left;
    padding-left: 1.9rem;
}

.local {
    color: #f8f1f1 !important;
    font-size: 1.8em !important;
    margin: 0 !important;
    padding: 5px !important;
    text-align: center;
    height: 30px;
    vertical-align: middle
}

a, a:visited, a:active {
    color: #db6400;
    text-decoration: none !important;
}

    a:hover {
        color: #af5000;
    }

html, body {
    overflow: visible !important;
    min-height: 100vh !important;
}

.row {
    overflow: visible !important;
}

.col-md-9 {
    overflow: visible !important;
}

#std-btn {
    padding-top: 15px;
}

.std-btn {
    background-color: dimgray;
    border-color: #16697a;
    color: #fff;
    font-size: 1.4rem;
    padding: 0.2rem 0.5rem;
}

    .std-btn:hover {
        background-color: #16697a;
        color: #fff;
    }

.privacy-page {
    color: white;
    font-size: 1.350em;
    margin: 15px !important;
}

    .privacy-page h1, .privacy-page h2, .privacy-page p, .privacy-page li, .privacy-page a {
        color: white;
    }

    .privacy-page .text-muted {
        color: #ccc !important;
    }

.link {
    color: #db6400 !important;
}
    /* mouse over link */
    .link:hover {
        color: #ffa62b !important;
    }

.catalog-viewer-container {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
}

.catalog-content {
    width: 100%; /* Increase width */
    max-width: 1600px; /* Larger max-width for bigger screens */
    height: 95vh; /* Increase height to use more viewport */
}

.flag-icon {
    animation: wave 2s infinite ease-in-out;
}

@keyframes wave {
    0%, 100% {
        transform: rotateY(0deg) skewY(0deg);
    }

    25% {
        transform: rotateY(10deg) skewY(5deg);
    }

    50% {
        transform: rotateY(0deg) skewY(0deg);
    }

    75% {
        transform: rotateY(-10deg) skewY(-5deg);
    }
}


