﻿/* ----------------------------------------
   Subnav inside your #navarea section
   ---------------------------------------- */

.makemedarkblue {
    background-color: #353d66;
    color: white;
}

.makemeblue {
    background-color: #3e6282;
    color: white;
}

.makemegreen {
    background-color: #3e8282;
    color: white;
}

.makemewhite {
    background-color: #ffffff;
    color: #333333;
}

.makememagenta {
    background-color: #63273d;
    color: #white;
}

.makemepurple {
    background-color: #3c2d56;
    color: white;
}

.makemegrey {
    background-color: #242424;
    color: white;
}

img.spacebelow {
    margin-bottom: 1em;
}

#breadcrumbs {
    margin-bottom: 0 !important;
}

.textbit {
    margin-top: 2em;
    font-size: 1.5rem;
    line-height: 2rem;
}

.textbit i {
    font-style: italic;
}

.textbit strong {
    font-weight: bold;}

.textbit p {
    color: white;
}

.textbit p a {
    color: white;
    text-decoration-line: underline;
}

.textbit h2 a{
    text-decoration: underline;
}

a.nounderline {
    text-decoration: none !important;
    border-bottom: none;
}


.makemewhite p {
    color: #333333;
}

.makemewhite a {
    color: #333333;
    text-decoration: underline;
    border-bottom: none;
}

.makemegrey p {
    color: white;
    text-align: left;
}

.makememagenta p, .makememagenta h2 {
    color: white;
}

.textbit h1 {
    text-transform: capitalize !important;
}

.textbit ul {
    padding-top: 1em;
    padding-bottom: 2em;
}

.textbit ul li {
    list-style-type: circle;
    margin-left: 5em;
}

.lesstopmargin {
    padding-top: 20px !important;
}

#navarea .subnav {
    padding: 8px 30px;
    /* if you need a little space above/below */
    margin: 0 50px 0 20px;
}

    #navarea .subnav ul {
        text-align: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #navarea .subnav li {
        display: inline; /* inline-block also works, but inline is enough here */
        margin: 0;
        padding: 0;
    }

        #navarea .subnav li + li:before {
            content: " | ";
            color: #fff;
        }

    #navarea .subnav a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        line-height: 1;
    }

        #navarea .subnav a:hover {
            text-decoration: underline;
        }

/* make the banner a positioning context */
#bannerdc {
    position: relative;
    overflow: hidden;
}

    /* fill the area with the video */
    #bannerx video#bgvid {
        position: absolute;
        top: 50%;
        left: 50%;
        /* center & cover the container */
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    #banner video#bgvid {
        z-index: 1;
    }

    /* position your text on top */
    #banner .inner {
        position: absolute;
        top: 50%; /* or whatever vertical offset you like */
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        text-align: center;
        width: 100%;
        pointer-events: none; /* so clicks go through to the video if you want */
    }

    /* style the title */
    #banner .banner-block-title {
        color: white;
        font-size: 2rem; /* tweak as needed */
        text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    }

.hero-grid {
    display: flex;
    gap: 8px; /* space between blocks */
    align-items: stretch; /* force all children to same height */
}

.hero_colour_box img {
    width: 100%;
    border-right: solid 1px transparent;
}

.hero-grid-nogap {
    gap: 0px; /* space between blocks */
    padding-left: 10vi;
    padding-right: 10vi;
    color: white;
    text-align: center;
}

/* CSS */
/* 1) make the container a positioning context */
.hero {
    position: relative;
    width: 100%;
    height: 40vh; /* adjust as needed */
    overflow: hidden;
}

.norowgap, iframe.norowgap {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.smalltest {
    font-size: 1em;
}

.centreme, p.centreme {
    text-align: center;
}

.leftme, p.leftme {
    text-align: left;
}

.rightme, p.rightme {
    text-align: right;
}

.topgap {
    padding-top: 2em;
}

.nobottomgap {
    margin-bottom: 0;
}

.video_responsive {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
    height: 0;
}

.video_responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

iframe.nottoowide {
    max-width: 100% !important;
    min-width: 100% !important;
    min-height: initial;
    max-height: initial;
    height: initial;
}

@media only screen and (min-width: 1280px) {
    iframe.nottoowide {
        height: 200px;
    }
}

@media only screen and (max-width: 700px) {
    iframe.nottoowide {
        height: 300px;
    }
}

@media only screen and (max-width: 525px) {
    iframe.nottoowide {
        height: 240px;
    }
}



@media only screen and (max-width: 800px) {
    .hide-on-mobile {
        display: none !important;
    }
}

img.stretchme, iframe.stretchme {
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
    width: 100%;
}

img.stretchme2, iframe.stretchme2 {
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
}


h2 span.smalltext {
    font-size: 0.5em;
    font-weight: normal;
}



.hero__notsotall {
    height: auto;
}

.hero_1 {
    background-color: #e5cf6c;
}

.hero_2 {
    background-color: #9ebe59;
}

.hero_3 {
    background-color: #5cbe95;
}

.hero_4 {
    background-color: #5884b3;
}

.hero_5 {
    background-color: #cb6686;
}

.hero_6 {
    background-color: #e68670;
}

.hero__top {
    height: 50vh !important;
}

section {
    margin: 0 !important;
}


@media only screen and (min-width: 701px) {
    .hero__top {
        height: 62vh !important;
    }

    .hero__title {
        font-size: 4rem;
        margin: 0 0 0.5rem;
        font-weight: bolder;
        text-transform: capitalize;
        text-align: left;
        line-height: 1.2em;
    }


    .hero__title strong {
        font-size: 4.5rem;
        font-weight: bold;
    }

    .hero__title__bit__smaller {
        font-size: 3rem !important;
    }

    /* 4) content centered both ways */
    .hero__content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 75%;
        max-height: 100%;
        color: #fff;
        z-index: 3;
        padding: 0 1rem; /* some side padding on small screens */
    }

    .hero__title__smaller {
        font-size: 1rem !important;
    }

    .hero__subtitle {
        font-size: 1.5em;
        color: white;
        text-align: left;
        margin: 0 0 1.5rem;
    }

    .hero__subtitle__smaller {
        font-size: 0.75rem !important;
        line-height: 1.5em;
    }

    .hero__btn__smaller {
        font-size: 0.75rem !important;
        line-height: 1.2em;
    }

    .hero_colour_box h2 {
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        font-size: 3em;
        line-height: 1em;
    }

    .hero_colour_box p {
        padding-top: 1em;
    }

    .hero_colour_box h1 {
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        font-size: 4em;
        line-height: 1em;
        font-family: barlow-extralight, barlow, sans-serif;
    }


}



@media only screen and (max-width: 700px) {
    .textbit ul li {
        margin-left: 2em;
    }

    .hero__top {
        height: 50vh !important;
    }

    .hero__title {
        font-size: 3rem;
        margin: 0 0 0.5rem;
        font-weight: bolder;
        text-transform: capitalize;
        text-align: left;
        line-height: 1.2em;
    }

    .hero__title strong {
        font-size: 2.5rem;
        font-weight: bold;
    }

    .hero__title__bit__smaller {
        font-size: 2rem !important;
    }

    /* 4) content centered both ways */
    .hero__content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100%;
        max-height: 100%;
        color: #fff;
        z-index: 3;
    
        padding: 0 0.1em; /* some side padding on small screens */
    }

    .hero__title__smaller {
        font-size: 1rem !important;
    }

    .hero__subtitle {
        font-size: 1em;
        color: white;
        text-align: left;
        margin: 0 0 1rem;
    }

    .hero__subtitle__smaller {
        font-size: 0.6rem !important;
        line-height: 1em;
    }

    .hero__btn__smaller {
        font-size: 0.6rem !important;
        line-height: 1em;
    }

    .hero_colour_box h2 {
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        font-size: 1em;
        line-height: 1em;
    }

    .hero_colour_box p {
        padding: 0.2em;
    }

    .hero_colour_box h1 {
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        font-size: 2em;
        line-height: 1em;
        font-family: barlow-extralight, barlow, sans-serif;
    }


}

/* 2) full-bleed background video, centered & cover */
.hero__video {
    position: relative;
    top: 50%;
    left: 50%;
    width: auto;
    /* height: 100%; */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: fill;
    z-index: 1;
}

.hero__video__notsotall{
    min-height: auto;
    max-height: 5em;
    object-fit: cover;
}

/* 3) dark overlay (optional, for text contrast) */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 2;
}



.hero__align__top {
    top: 10%;
    transform: translate(-50%, 0);
    font-weight: bold;
}

/* 5) title + subtitle styling */


.hero__title__smaller {
    font-size: 1rem !important;
}

.hero__subtitle {
    font-size: 1.5em;
    color: white;
    text-align: left;
    margin: 0 0 1.5rem;
}

.hero__subtitle__smaller {
    font-size: 0.75rem !important;
    line-height: 1.5em;
}

.hero__btn__smaller {
    font-size: 0.75rem !important;
    line-height: 1.2em;
}



/* 6) link/button styles */
.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: left;
    flex-wrap: wrap;
}

.hero__btn {
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 0rem;
    transition: opacity .2s ease;
}

.hero__btn--primary {
    background: #4e72aa;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 4px;
}

.hero__btn--link {
    color: #ffffff;
    padding: 0.1rem 0rem;
    border-bottom: 1px solid #fff;
}

.hero__btn:hover {
    opacity: 0.8;
}