@font-face {
    font-family: 'Japandi';
    src: url('fonts/Japandi-Light.eot');
    src: url('fonts/Japandi-Light.eot?#iefix') format('embedded-opentype'), url('fonts/Japandi-Light.woff2') format('woff2'), url('fonts/Japandi-Light.woff') format('woff'), url('fonts/Japandi-Light.ttf') format('truetype'), url('fonts/Japandi-Light.svg#Japandi') format('svg');
}

body {
    color: #FFF;
    font-size: 100%;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    height: 100%;
    clear: both;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section[main] {
    background: transparent;
}

.page-surface {
    background: #fff;
    display: flow-root; /* stops margin collapse and contains floats */
}

    .page-surface h1:first-child,
    .page-surface h2:first-child,
    .page-surface h3:first-child,
    .page-surface p:first-child {
        margin-top: 0;
    }

/* Fixed background behind the entire site */
.bg-fixed {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Foreground content sits above the fixed background */
.site-foreground {
    position: relative;
    z-index: 1;
    padding-top: 90px; /* matches header height */
}

/* IMPORTANT: make the main scrolling content opaque by default,
   otherwise your fixed background will show through everywhere. */
section[main] {
    background: transparent; /* allow reveal-gap to show through */
    color: #13161d;
}


/* Keep header above everything */
header, .navbar {
    position: relative;
    z-index: 2000;
}

.content {
    width: 100%;
    height: 100%;
    float: left;
    color: #13161d;
}

.clear {
    clear: both;
}

.content-contain {
    width: 70%;
    margin: auto;
    max-width: 1200px;
    display: block;
    margin-bottom: 40px;
}

.content-contain2 {
    width: 70%;
    margin: auto;
    max-width: 1200px;
}

.content-contain img {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.content-contain2 img {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.margin80up {
    margin-top: 80px;
}

.parallax {
    background: url("https://www.etharius.com/images/backgrounds/Gundam.jpg") fixed 100%;
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.parallax-inner {
    padding-top: 10%;
}

hr {
    border: 0;
    height: 1px;
    background: #ff6a00;
    margin-top: 10px;
    margin-bottom: 20px;
}

}
/*Images*/
.cover {
    object-fit: cover;
}

.nocover {
    object-fit: none;
    max-height: 400px;
}

img {
    width: 100%;
    height: 100%;
}

.block-image-gallery {
    height: 150px;
    width: 100%;
}

.border-radius {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.gallery-text {
    display: block;
    height: 40px;
}

position: relative;
border: 1px solid #333;
margin: 2% 2% 2% 0;
overflow: hidden;
width: 540px;
}

.item img {
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.item:hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
/*Standards*/
.screen {
    display: block;
    visibility: visible;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

svg {
    max-width: 400px; /* Example: Maximum width */
    max-height: 100px; /* Example: Maximum height */
    height: auto; /* Ensure aspect ratio is maintained */
}

.shrink-0 {
    flex-shrink: 0;
}

.hidden {
    display: none;
}

.padding-vertical {
    padding: 20px 0 20px 0;
}

.padding-horizontal {
    padding: 0 20px 0 20px;
    ;
}
/*Text and Headers*/
.greytext {
    color: #7a7a7a;
}

.smalltext {
    font-size: 14px;
}

.smallertext {
    font-size: 10px;
}

.text-left {
    width: 100%;
    text-align: left;
}

.text-right {
    width: 100%;
    text-align: right;
}

.center {
    text-align: center;
}

h1 {
    font-size: 18px;
    margin-bottom: 4px;
    color: white;
}

h2 {
    font-size: 20px;
    margin-bottom: 4px;
    color: #7A7A7A;
    font-family: 'Japandi', sans-serif;
    letter-spacing: 6px;
}

h3 {
    font-size: 10px;
    margin-bottom: 4px;
    padding-top: 40px;
    color: #7A7A7A;
    font-family: 'Japandi', sans-serif;
}

h4 {
    font-size: 8px;
    padding-bottom: 24px;
    color: #7A7A7A;
    font-family: 'Japandi', sans-serif;
    line-height: 30px;
}

.textspace {
    margin: 20px, 0;
}

.hidemobile {
    display: contents;
}

.showmobile {
    display: none;
}

.upper {
    text-transform: uppercase;
}

a.whitelink:link {
    color: #FFF;
    text-decoration: none;
}

a.whitelink:visited {
    color: #FFF;
    text-decoration: none;
}

a.whitelink:hover {
    color: #FE9808;
    text-decoration: none;
}

.bigmargin-top {
    margin-top: 5vh;
}

.margin-top {
    margin-top: 20px;
}
/*Header*/
.header-bar {
    width: 100%;
    background-color: #000000;
    text-align: center;
    color: #FFF;
    min-height: 120px;
    line-height: 110px;
    opacity: 0.8;
    margin-top: 0vh;
}

header.whiteback {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 2000;
}

.logo-padding {
    padding-left: 60px;
}
/*Language*/
.languagebox {
    padding: 6px;
    font-size: 16px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #FFF !important;
    text-align: right !important;
    font-weight: bold;
    background-color: grey;
    z-index: 999;
    position: relative;
}

.launguagebox .a {
    color: #FFF !important;
    font-weight: bold;
    text-decoration: none;
}



/*Body*/
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    flex: 1 0 auto;
}

p a {
    color: #ff6a00 !important;
    font-weight: bold;
    text-decoration: none;
}

    p a:hover {
        color: #3a989a !important
    }

.opacity a:hover {
    opacity: 0.1;
}

.colcenter {
    margin: auto;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.colcenter2 {
    margin: auto;
    width: 80%
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/*--------------------Scrolling Banner Gap-----------------------*/
.content-contain::after,
.content-contain2::after {
    content: "";
    display: block;
    clear: both;
}

.reveal-gap {
    height: 45vh; /* “banner sized” window */
    min-height: 320px;
    background: transparent; /* this is the reveal */
}

/* Optional: soft fades at top/bottom so it blends like Subalpino */
.reveal-gap {
    position: relative;
}

    .reveal-gap::before,
    .reveal-gap::after {
        background: none !important;
        height: 0 !important;
    }


    .reveal-gap::before {
        top: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    }

    .reveal-gap::after {
        bottom: 0;
        background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    }

@media (max-width: 800px) {
    .reveal-gap {
        height: 32vh;
        min-height: 220px;
    }
}


/*--------------------Content Pages-----------------------*/
.frontbanner {
    width: 100%;
    height: 100vh;
    /* Keep your positioning if you need it */
    position: relative; /* key change: contains the overlay + text */
    margin-top: -90px; /* slides under fixed header */
    background-size: cover;
    background-position: center top;
    overflow: hidden; /* prevents any large text overflow issues */
}

    /* Overlay as a pseudo-element (simplest + no extra markup) */
    .frontbanner::before {
        content: "";
        position: absolute;
        inset: 0; /* top/right/bottom/left = 0 */
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

/* Content layer above the overlay */
.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* vertical centering */
    text-align: center;
    /* If you have a fixed header and want to nudge down */
    padding-top: 90px; /* replaces margin-top hacks on text */
    box-sizing: border-box;
}

.banner-logo {
    width: clamp(280px, 36vw, 660px);
    margin-bottom: clamp(12px, 2vh, 32px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    .banner-logo img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

/* Keeps spacing predictable as screen height changes */
.banner-content {
    gap: clamp(8px, 1.2vh, 18px);
}

/* Big text */
.banner-largetext {
    line-height: 1;
    color: rgba(255, 255, 255, 0.30);
    /* More controlled scaling than raw vw */
    font-size: clamp(150px, 60vw, 720px);
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/* Smaller text (your “Established…” line) */
.banner-subtext {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(14px, 1.6vw, 20px);
    letter-spacing: 0.04em;
}

/*Backgrounds*/
.greyback {
    background: rgba(44,47,53, 0.8);
    color: #FFF;
}

.lightgreyback {
    margin-top: 60px;
    background: #f1f1f1;
    padding-top: 40px;
}

.contentbanner {
    margin-top: -90px;
    top: 0;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
}

    /* Dark transparent layer */
    .contentbanner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.35); /* adjust opacity to taste */
        z-index: 1;
    }

/* Centered title */
.contentbanner-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 5vw; /* keeps it readable on narrow screens */
    text-align: center;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(24px, 3vw, 54px);
}


.middlebanner {
    width: 100%;
    height: 30vh;
    max-height: 500px;
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    margin-bottom: 40px;
    margin-top: 40px;
    display: block;
}

.maintext {
    width: 80%;
    float: right;
    text-align: left;
    color: #FFF;
    opacity: 0.8;
    margin-right: 5%;
    background-color: #000;
    padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    top: 300px;
    z-index: 99999;
    position: relative;
    margin-bottom: 50px;
}

.lower-bar {
    width: 100%;
    background-color: #000000;
    color: #FFF;
    padding-top: 20px;
    opacity: 0.7;
    display: block;
    position: fixed;
    bottom: 0;
    margin-bottom: 200px;
}

.lower-bar2 {
    width: 100%;
    background-color: #000000;
    text-align: center;
    color: #FFF;
    min-height: 40px;
    opacity: 0.8;
    margin-top: 0;
    float: left;
}

.banner {
    width: 100%;
    height: 92vh;
    max-height: 10000px;
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    line-height: 100%;
    font-size: 1.2em;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #014f99;
    opacity: 0.8;
}

.footer2 {
    bottom: 0;
    width: 100%;
    height: 320px;
    background-color: #014f99;
    color: #CCC;
    margin: auto;
    padding: 40px;
}

.footer3 {
    display: none;
}

.footbold {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.icons {
    width: 26px;
    height: 26px;
    float: left;
    margin-right: 20px;
    margin-top: 10px;
    opacity: 0.6;
}
/*Fields & Forms*/
/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

label {
    display: block;
    font-weight: 600;
}

    label.checkbox {
        display: inline;
    }

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 100%;
}

/*SELECT*/
select {
    color: #FFF;
    width: 100%;
    padding: 5px 35px 5px 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    height: 34px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #444444;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

    select select {
        background-color: #FFF;
    }

textarea {
    font-family: inherit;
    width: 90%;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button {
    background-color: #fe9808;
    color: #FFF;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    margin-right: 8px;
    width: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 0;
}

/*--------------------Content Pages-----------------------*/


.middlebanner {
    width: 100%;
    height: 30vh;
    max-height: 500px;
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    margin-bottom: 40px;
    margin-top: 40px;
    display: block;
}

.maintext {
    width: 80%;
    float: right;
    text-align: left;
    color: #FFF;
    opacity: 0.8;
    margin-right: 5%;
    background-color: #000;
    padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    top: 300px;
    z-index: 99999;
    position: relative;
    margin-bottom: 50px;
}


/*Column Master Set*/
/*--------------------Columns-----------------------*/
.column00 {
    width: 2%;
    margin: 6px 0 10px 0px;
}

.column1 {
    width: 10%;
}

.column1-template {
    width: 4%;
    margin: 10px 0 10px 0px;
}

.column2 {
    width: 16.66666667%;
    margin: 10px 0 10px 0;
}

.column2b {
    width: 18.33%;
    margin: 10px 0 10px 0;
}

.column2c {
    display: none;
}


.column3 {
    width: 25%;
    margin: 10px 0 10px 0;
}

.column3-gallery {
    width: 23%;
    margin: 10px 1% 20px 1%;
}

.column3bare {
    width: 23%;
}

.column4 {
    width: 31.33333333%;
    margin: 0 1% 0 1%;
}

.column4feature {
    width: 31.33333333%;
    margin: 0 1% 0 1%;
    float: left;
}

    /* Ensure the image is clipped to its card shape */
    .column4feature a {
        display: block;
        overflow: hidden;
        border-radius: 14px; /* match your card corners */
        position: relative;
    }

        .column4feature a::after {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0);
            transition: background 0.6s ease;
        }

    /* Base image state */
    .column4feature img {
        display: block;
        width: 100%;
        height: auto;
        transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
        will-change: transform;
    }

    /* Hover zoom */
    .column4feature a:hover img {
        transform: scale(1.1);
    }

    .column4feature a:hover::after {
        background: rgba(0,0,0,0.08);
    }

.column4image {
    width: 31.33333333%;
}


.column5 {
    width: 39.66666667%;
    margin: 0 1% 0 1%;
}

.column6 {
    width: 50%;
}

.column6f {
    width: 48%;
}

.column6b {
    width: 45%;
    margin: 0 2% 0 2%;
}

.column7 {
    width: 58.33333333%;
}

.column8 {
    width: 66.66666667%;
}

.column8-news {
    width: 66.66666667%;
    margin: 10px 0 10px 0;
}

.column9 {
    width: 75%;
    margin: 10px 0 10px 0;
}

.column10 {
    width: 80%;
}

.column11 {
    width: 91.66666667%;
    margin: 10px 0 10px 0;
}

.column11a {
    width: 91.66666667%;
    margin: 20px 0 10px 10px;
}

.column12 {
    width: 100%;
}

.column-button {
    width: 16.66666667%;
    margin: 10px 0 10px 0;
}

.column-search {
    width: 83.33333333%;
    margin: 10px 0 10px 0;
}


.column99 {
    width: 96%;
}

/*Mobile*/
/* Mobile */
@media only screen and (max-width: 800px) {

    /* Visibility helpers */
    .hidemobile {
        display: none;
        visibility: hidden;
    }

    .showmobile {
        display: contents;
    }

    /* General */
    .banner {
        font-size: 3vw;
    }

    .banner-logo {
        width: clamp(380px, 46vw, 860px);
        margin-bottom: clamp(12px, 2vh, 32px);
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .lower-bar {
        min-height: auto;
        overflow: hidden;
        position: relative;
        top: 100px;
    }

    .contentbanner {
        top: 0;
        height: 45vh;
        max-height: 520px;
    }

    .content-contain {
        width: 90%;
        margin: auto;
        max-width: 1200px;
        display: block;
        margin-bottom: 40px;
    }

    .maintext {
        width: 80%;
        margin: auto;
        margin-bottom: 82px;
    }

    /* Footer background must remain solid on mobile */
    .footer2 {
        width: 100%;
        height: auto;
        background-color: #014f99; /* keep the blue */
        color: #CCC;
        padding: 20px 15px;
    }
        /* Slightly tighten vertical rhythm */
        .footer2 br {
            display: none;
        }
    /* removes stacked <br> gaps if you prefer a cleaner grid */

    /* Improve readability and consistency */
    .footer2 {
        line-height: 1.5;
    }

        .footer2 .smalltext {
            letter-spacing: 0.02em;
        }
        /* Center the whole first footer column (logo + tagline) */
        .footer2 .column5 {
            width: 100%;
            float: none;
            margin: 0;
            padding: 0 10px;
            text-align: center;
        }

            .footer2 .column5 .column3 {
                width: 100%;
                float: none;
                margin: 0 auto 10px;
                padding: 0;
                text-align: center;
            }

                .footer2 .column5 .column3 img {
                    width: 30%; /* 70% smaller */
                    max-width: 160px;
                    height: auto;
                    display: block;
                    margin: 0 auto;
                }

            .footer2 .column5 .footbold {
                text-align: center;
                margin: 10px 0;
            }

        /* Center Menu + Address columns (and remove floats from desktop) */
        .footer2 .column3,
        .footer2 .column4 {
            width: 100%;
            float: none;
            padding: 0 10px;
            text-align: center;
        }

        /* Center icons row */
        .footer2 .icons {
            float: none;
            display: inline-block;
            margin: 10px;
        }

    /* Utility */
    .mobilecenter {
        text-align: center;
    }

    /* Optional: keep footer3 as you had it */
    .footer3 {
        width: 100%;
        background-color: #13161d;
        float: left;
        display: block;
        flex: 0 0 50px;
        margin-top: auto;
        color: #fff;
        text-align: center;
    }

    /* Your column stacking overrides */
    .column3,
    .column4,
    .column5,
    .column8,
    .column6b,
    .column3-gallery {
        width: 100%;
        padding: 0 10px;
    }

    .column4feature {
        width: 90%;
        margin: auto;
        float: none !important;
    }

    .block-image-gallery {
        height: 200px;
        width: 100%;
        overflow: hidden;
    }

    .navbar,
    header,
    .site-header {
        position: relative;
        z-index: 2000;
    }

    .contentbanner::before {
        pointer-events: none;
    }
}
/* Make the bar height feel like Navik */
.navbar {
    min-height: 90px;
    background-color: rgba(0, 51, 118, 0.8);
    z-index: 999;
}

    /* Improve vertical centering */
    .navbar .nav-link {
        font-family: 'Fira Sans', sans-serif;
        letter-spacing: 0.04em;
        font-size: 15px;
    }

/* Optional: hover behaviour similar to your previous design */
.navbar-dark .navbar-nav .nav-link:hover {
    opacity: 0.85;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0, 51, 118, 0.8);
        padding: 10px 0 20px;
    }

    .navbar-nav .nav-link {
        padding: 14px 0;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .margin-top, .bigmargin-top {
        margin-top: 0 !important;
    }
}
}
