@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html{
    scroll-behavior: smooth;
}

* {
    margin: 0px;
}


*{
 /*user-select: none;*/
 /*   -webkit-user-select: none;*/
    margin: 0;
}

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

.categorylink{

}

.header-wrapper{
    display: grid;
    /*background-image: url("assets/svn-logo-no-bg.svg");*/
    background-repeat: no-repeat;
    background-color: #20283F; /* 2028ef  orig: 20283F */
    padding: 2%;
    grid-template-areas:
            "logo space space navlinks"
            "strapline largephone largeemail contactdetails";
}

.refined-wrapper {
    display: none;
}

.refined{
    max-height: 50px;
}



.refined div {display: none}
.refined .refined-wrapper {
    display: inline-flex;
}


.contact-page-wrapper{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    margin: 10% 25% 25% 25%;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    height: 250px;
}

.contact-page-wrapper a{
    color: black;
}

.contact-page-wrapper div{
    padding: 0 0 25px 0;
}


.subheader{
    border-top: 3px solid white;
    padding-top: 25px;
    background-color: #20283F;
    /*color: #FEFD07;*/
    color: white;
    font-family: 'Oswald', sans-serif;
    height: 50px;
    box-shadow: 0 0 10px 0 rgba(#888282);
    text-align: center;
    font-size: 18px;
}

.mobile-subheader{
    border-top: 3px solid white;
    padding-top: 25px;
    background-color: #20283F;
    /*color: #FEFD07;*/
    color: white;
    font-family: 'Oswald', sans-serif;
    height: 50px;
    box-shadow: 0 0 10px 0 rgba(#888282);
    text-align: center;
    font-size: 18px;
}

.subheader-internal-grid div:hover{
    color: #FEFD07;
    cursor: pointer;
}


.subheader-internal-grid{
    display: grid;
    grid-template-areas:
            "cat1 cat2 cat3 cat4 cat5 cat6 cat7";
}

.menu-wrapper{
    margin-left: 21%;
    margin-right: 25%;
    text-align: center;
    display: grid;
    row-gap: 30px;
    column-gap: 50px;
    grid-template-columns: 33% 33% 33%;
    padding-top: 50px;
}

.menu-wrapper a{
    text-decoration: none;
    color: black;
}

.mobile-menu-wrapper{

}

.mobile-menu-wrapper a{
    text-decoration: none;
    color: white;
    padding-bottom: 20px;
    font-size: 1.2rem;
    font-family: Oswald;
}

.mobile-menu-wrapper a:hover{
    color: #fefd07;
}

@media (max-width: 500px) {
    .menu-wrapper {
        max-width: 200px;
        min-height: 0px;
        margin-right: 130px;
        padding-right: 20%
    }
}

    .brake-menu-wrapper{
    display: grid;
    grid-row-gap: 30px;
    grid-column-gap: 50px;
    grid-template-columns: 33% 33% 33%;
    /*width: 50%;*/
    margin-left: 23%;
    margin-right: 25%;
    text-align: center;
    margin-top: 5%;
    /*border: 1px solid black;*/
}



@media (max-width: 1350px) {
    .menu-wrapper {
        grid-template-columns: 50% 50%;
        column-count: 2;
        width: 50%;
        margin: auto;
    }

    .pricelist-div-hide-on-mobile{
        display: none;
    }

    .brake-menu-wrapper{
        grid-template-columns: 50% 50%;
        column-count: 2;
    }

    .euro-logo img{
        max-width: 250px;
    }

}

@media (max-width:  1100px){
    .menu-wrapper{
        grid-template-columns: 100%;
        column-count: 1;
    }

    .brake-menu-wrapper{
        grid-template-columns: 100%;
        column-count: 1;
    }
}

@media (max-width: 767px) {
    .menu-wrapper-2-col{
        column-count: 1;
    }

}

.menu-wrapper-2-col{
    text-align: center;
    display: grid;
    row-gap: 30px;
    column-gap: 30px;
    grid-template-columns: 50% 50%;
    padding-top: 50px;
}



.menu-card{
    background-color: white;
    min-width: 300px;
    min-height: 250px;
    font-family: 'Oswald', sans-serif;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transition: transform .2s; /* Animation */
}

.menu-style-card-no-hover-effect{
    background-color: white;
    font-family: 'Oswald', sans-serif;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.menu-card:hover{
    transform: scale(1.05);
    /*background-color: #20283F;*/
    color: #113d6c;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


.menu-card img{
    padding: 20px;
    width: 200px;
    height: 140px;
}

@media (max-width: 767px) {
    .mailchimp-form{
        margin: 0;
        padding-left: 25%;
        padding-right: 25%;
    }
}
@media (min-width: 767px) {
    .mailchimp-form{
        margin: 0;
        width: 50;
        padding: 0 25% 0 25%;
    }
}






@font-face {
    font-family: EuroAxleLogo;
    src: url(banque-gothique-medium.otf);
}

.text-center{
    text-align: center;
}

/*Heading text formerly used font Oswald, has now been changed to use 'banque gothique medium'*/
/*Where the class is used for Large Headings, font size should be 3rem to be uniform across site*/
.heading-text{
    font-family: EuroAxleLogo;
    color: #134b86;
    font-size: 3rem;
}

/*Below is original heading text class, which is now redundant*/
/*.heading-text{*/
/*    font-family: Oswald;*/
/*    color: white;*/
/*}*/

.old-heading-text{
    font-family: Oswald;
    color: white;
}

.body-text{
    font-family: 'Poppins', sans-serif;
    white-space: break-spaces;
}

.enquire-button{
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    border: none;
    background-color: #20283F;
    color: white;
    transition: all 0.5s;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
}

.enquire-button:hover{
    transform: scale(1.1);
    cursor: pointer;
}

.header-logo{
    grid-area: logo;
    color: white;
    font-family: EuroAxleLogo;

}

.header-strapline{
    grid-area: strapline;
    color: #FEFD07;
    font-family: EuroAxleLogo;
    font-size: 12px;
}

.navlinks-wrapper{
    grid-area: navlinks;
    text-align: right;
}

.more-menu {
    background-color: #20283F;
}

.hidden {
    display: none;
}

.menu-icon{
    grid-area: navlinks;
    color: white;
    font-size: 2rem;
    text-align: end;
    cursor: pointer;
}
.more-icon{
    grid-area: navlinks;
    color: white;
    cursor: pointer;
    font-size: 2rem;
}

/*@media (max-width: 1000px) {*/
/*    .navlinks-wrapper {*/
/*        display: grid;*/
/*    }*/
/*}*/

.navlink{
    color: white;
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    padding-right: 25px;
    padding-left: 25px;
    font-size: 20px;
}

.navlink:hover{
    color: #FEFD07;
}

.contact-wrapper{
    grid-area: contactdetails;
    text-align: right;
    padding-top: 20px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 18px;
}

.large-contacts{
    background-color: #20283F;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    /*width: 50%;*/
    /*margin: auto;*/
    color: white;
    text-align: center;
}

.large-contact-wrapper{
    background-color: #20283F;
}

.large-phone{
    grid-area: largephone;
    padding: 10%;
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    color: white;
}

.large-email{
    grid-area: largeemail;
    font-family: 'Oswald', sans-serif;
    color: white;
}

.contact-wrapper a{
    text-decoration: none;
    color: white;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
}

.contact-wrapper i span{
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
}

.contact-wrapper i span:hover{
    color: #FEFD07;
}

.large-contact-wrapper span:hover{
    color: #FEFD07;
}

.single-column-grid-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    column-count: 1;
    max-width: 100%;

}
.single-column-grid-container-forlander {
    /*max-width: 1200px;*/
    margin: 10% 25% 10% 25%;
    display: grid;
    grid-gap: 1rem;
    column-count: 1;
    max-width: 100%;
}

@media (max-width: 767px) {
    .single-column-grid-container-forlander {
        margin: 10% 15% 10% 15%;
    }
}


.homepage-firstwrapper{
    text-align: center;
    width: 50%;
    margin: auto;
    margin-top: 30px;
}




.dynamic-grid-container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    max-width: 100%;
    flex-grow: 1;
}

/* Screen larger than 600px? 2 column */
@media (min-width: 600px) {
    .dynamic-grid-container { grid-template-columns: repeat(2, 1fr); }
}

/* Screen larger than 900px? 3 columns */
@media (min-width: 900px) {
    .dynamic-grid-container { grid-template-columns: 1fr 20fr; }
}
.dynamic-grid-container-50-50{
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    max-width: 100%;
    flex-grow: 1;
}

/* Screen larger than 600px? 2 column */
@media (min-width: 600px) {
    .dynamic-grid-container-50-50 { grid-template-columns: repeat(2, 1fr); }
}

/* Screen larger than 900px? 3 columns */
@media (min-width: 900px) {
    .dynamic-grid-container-50-50 { grid-template-columns: 10fr 10fr; }
}

.responsive-50-50-img-grid{
    display: grid;
    width: 50vw;
    margin-left: 25vw;
    grid-template-columns: 50% 50%;
    grid-column-gap: 2vw;
}

.responsive-50-50-img-grid img{
    width: 24vw
}

/* Screen larger than 600px? 2 column */
@media (max-width: 600px) {
    .responsive-50-50-img-grid {
        grid-template-columns: 100%;
        width: 80vw;
        margin-left: 10vw;
    }

    .responsive-50-50-img-grid img{
        width: 50vw;
        margin: auto;
        margin-bottom: 3vh;
    }
}




.hover-action-button {
    margin: 0% 20% 0% 20%;
    min-height: 3rem;
    background-color: #3b82f6;
    color: #bfdbfe;
    border: none;
    font-size: 1rem;
    border-radius: 30px;

    text-align: center;
    transition: all 0.5s;
    cursor: pointer;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0,.7);
}

.hover-action-button{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.hover-action-button:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 14px;
    right: -20px;
    transition: 0.5s;
}

.hover-action-button:hover{
    padding-right: 24px;
    padding-left:8px;
}

.hover-action-button:hover:after {
    opacity: 1;
    right: 10px;
}

@media (max-width: 767px) {
    .hide-on-mobile {
        display: none;
    }
}

@media (min-width: 767px) {
    .mobile-only {
        display: none;
    }
}

.hover-call-to-action{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.hover-call-to-action:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 14px;
    right: -20px;
    transition: 0.5s;
}

.hover-call-to-action:hover{
    padding-right: 24px;
    padding-left:8px;
}

.hover-call-to-action:hover:after {
    opacity: 1;
    right: 10px;
}

@keyframes cursor-blink {
    0% {
        opacity: 0;
    }
}

.cursor-to-blink{
    animation: cursor-blink 1s steps(2) infinite;

}

#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; padding: 2%}

/*Code Styling is for video Gallery*/

@media (max-width: 1300px){

}

.video {
    position: relative;
    padding-top: 4.1%;
    padding-bottom: 51.95%;
    height: 0; }
.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 450px;
    height: 100%;
    width: 100%;
    min-height: 0; }


.video-gallery {
    margin-top: 3em;
    position: relative;
    width: 100%; }
.video-gallery .video {
    animation: 1200ms fadeOut ease;
    animation-fill-mode: both;
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 7;
    max-height: 19.5em;
    opacity: 0;
    transition: all 300ms ease; }
.video-gallery input[type="radio"] {
    font-size: 0;
    height: 0;
    opacity: 0;
    padding: 0;
    position: fixed;
    width: 0; }
.video-gallery input {
    grid-column-start: 1;
    grid-row-start: 1; }
.video-gallery label {
    color: #000000;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25em;
    font-weight: 400;
    grid-column-start: 2;
    margin: 0 !important;
    padding: 1rem 0 1rem 3rem;
    position: relative;
     }
.video-gallery label:last-of-type {
    border: 0 none; }

.video-gallery input[type="radio"] + label {
    color: white !important; }

.video-gallery input[type="radio"]:checked + label {
    color: #FEFD07 !important; }
.video-gallery input[type="radio"]:checked + label:before {
    content: "▶";
    left: 0;
    top: 12px;
    position: absolute; }

.grid-row {
    display: block;
    height: 56vw;
    max-height: 19.5em;
    position: relative; }
.grid-row label {
    left: calc(50% + 16px);
    position: relative;
    width: calc(50% - 16px); }
.grid-row .video {
    padding: 0;
    position: absolute;
    top: 0;
    width: 0; }
.grid-row:after {
    content: "";
    clear: both;
    display: table; }

#video-1:checked ~ .video-1, #video-2:checked ~ .video-2, #video-3:checked ~ .video-3, #video-4:checked ~ .video-4, #video-5:checked ~ .video-5, #video-6:checked ~ .video-6 {
    animation: 1200ms fadeIn ease;
    animation-fill-mode: both;
    opacity: 1;
    width: 50%; }

@keyframes fadeOut {
    0% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 50%; }
    25% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 50%; }
    49% {
        display: block;
        height: 56vw;
        opacity: 0;
        width: 50%; }
    50% {
        display: none;
        height: 0;
        opacity: 0;
        width: 0; } }

@keyframes fadeIn {
    0% {
        opacity: 0;
        width: 0; }
    49% {
        display: none;
        height: 0;
        opacity: 0;
        width: 0; }
    50% {
        display: block;
        height: 56vw;
        opacity: 0;
        width: 50%; }
    100% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 50%; } }

@supports (display: grid) { {
    @keyframes fadeOut {
        0% {
            display: block;
            height: 56vw;
            opacity: 1;
            width: 100%; }
        25% {
            display: block;
            height: 56vw;
            opacity: 1;
            width: 100%; }
        49% {
            display: block;
            height: 56vw;
            opacity: 0;
            width: 100%; }
        50% {
            display: none;
            height: 0;
            opacity: 0;
            width: 0; } }
    @keyframes fadeIn {
        0% {
            opacity: 0;
            width: 0; }
        49% {
            display: none;
            height: 0;
            opacity: 0;
            width: 0; }
        50% {
            display: block;
            height: 56vw;
            opacity: 0;
            width: 100%; }
        100% {
            display: block;
            height: 56vw;
            opacity: 1;
            width: 100%; } } }
.grid-row {
    align-items: start;
    display: grid;
    grid-column-gap: 16px;
    grid-row-gap: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    width: 100%; }
.grid-row label {
    left: auto;
    width: 100%; }
.grid-row .video {
    position: relative;
    width: 100%; } }

@media (max-width: 1300px) {
    .video-gallery {
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: none; }
    .video-gallery label {
        left: auto;
        order: 2;
        width: 80%; }
    .video-gallery .video {
        order: 1;
        padding-top: 4.1%;
        padding-bottom: 1.95%;
        position: relative;
        top: auto;
        width: 100%;
    }
    #video-1:checked ~ .video-1, #video-2:checked ~ .video-2, #video-3:checked ~ .video-3, #video-4:checked ~ .video-4, #video-5:checked ~ .video-5, #video-6:checked ~ .video-6 {
        width: 100%; }

    @keyframes fadeOut {
        0% {
            display: block;
            height: 56vw;
            opacity: 1; }
        25% {
            display: block;
            height: 56vw;
            opacity: 1; }
        49% {
            display: block;
            height: 56vw;
            opacity: 0; }
        50% {
            display: none;
            height: 0;
            opacity: 0; } }
    @keyframes fadeIn {
        0% {
            opacity: 0; }
        49% {
            display: none;
            height: 0;
            opacity: 0; }
        50% {
            display: block;
            height: 56vw;
            opacity: 0; }
        100% {
            display: block;
            height: 56vw;
            opacity: 1; } } }


/*IMAGE GALLERY STUFF:*/

.gallery {
    display: flex;
    padding: 2px;
    transition: 0.3s;
}
.gallery:hover .gallery__image {
    filter: grayscale(1);
}
.gallery__column {
    display: flex;
    flex-direction: column;
    width: 25%;
}
.gallery__link {
    margin: 2px;
    overflow: hidden;
}
.gallery__link:hover .gallery__image {
    filter: grayscale(0);
}
.gallery__link:hover .gallery__caption {
    opacity: 1;
}
.gallery__thumb {
    position: relative;
}
.gallery__image {
    display: block;
    width: 100%;
    transition: 0.3s;
}
.gallery__image:hover {
    transform: scale(1.1);
}
.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 15px 15px;
    width: 100%;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: white;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(255, 255, 255, 0) 100%);
    transition: 0.3s;
}


/*FOOTER STUFF*/
.footer-wrapper{
    margin-top: 2vh;
    background-color: #20283F;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    color: white;
    font-family: Oswald;
    position: absolute;
    /*bottom: 0;*/
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(#888282);
}

.footer-inner-wrapper{
    width: 50vw;
    margin-left: 25vw;
    margin-right: 25vw;
}

.footer-wrapper h2{
    font-size: 1rem;
}

.footer-wrapper p{
    font-size: 0.8rem;
}

.footer-links-wrapper{
    margin-top: 20px;
    display: grid;
}

.footer-links-wrapper a{
    /*margin-left: 20px;*/
    font-size: 15px;
    text-decoration: none;
    color: white;
    transition: transform .2s; /* Animation */
}

.footer-links-wrapper a:hover{
    text-decoration: white;
    color: #fefd07;
}

.badge-image-wrapper{
    width: 50vw;
    margin-top: 5vh;

}

.badge-image-wrapper img{
    max-height: 10vh;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}


.float-in-space {
    animation-name: float, fade-out;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes float {
    0% {
        transform: translateX(-75%) rotateY(0deg) rotateX(0deg) scale(1);
    }
    50% {
        transform: translateX(75%) rotateY(180deg) rotateX(-180deg) scale(0.8);
    }
    100% {
        transform: translateX(600%) rotateY(360deg) rotateX(-360deg) scale(1);
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

.image-gallery-wrapper{
    width: 80%;
    margin: auto;
    display: grid;
    column-gap: 30px;
    row-gap: 30px;
    grid-template-columns: 25% 25% 25% 25%;
    min-height: 50vh;
}

.image-gallery-wrapper img{
    margin: 15px;
    width: 300px;
    height: 225px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: all 0.3s ease-in-out;
}

.gallery-image-fullscreen {
    top: 30vh;
    left: 30vw;
    position: absolute;
    min-width: 40vw;
    min-height: 50vh;
    z-index: 9999;
    /*object-fit: contain;*/
    transition: all 0.3s ease-in-out;
}

.gallery-image-fullscreen:before {
    content: ".";
    position: absolute;
    width: 100vw;
    height: 100vw;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

.pulsate {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/*.newfloating {*/
/*    animation: floating 3s ease-in-out infinite;*/
/*}*/

/*@keyframes newfloating {*/
/*    0% {*/
/*        transform: translate(0, 0);*/
/*    }*/
/*    50% {*/
/*        transform: translate(0, 10px);*/
/*    }*/
/*    100% {*/
/*        transform: translate(100%, 0);*/
/*    }*/
/*}*/

.floating-out {
    animation: floating-out 3s ease-in-out forwards;
}

@keyframes floating-out {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 10px);
    }
    100% {
        transform: translate(100%, 0);
        display: none;
    }
}

.floating-out.animate {
    animation-play-state: running; /* start the animation */
}

.slow-float-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slow-float-up 2.5s ease-out forwards;
}

@keyframes slow-float-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mid-float-up {
    opacity: 0;
    transform: translateY(50px);
    animation: mid-float-up 1.5s ease-out forwards;
}

@keyframes mid-float-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fast-float-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fast-float-up 0.5s ease-out forwards;
}

@keyframes fast-float-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slow-fade-in {
    opacity: 0;
    animation: slow-fade-in 2.5s ease-out forwards;
}

@keyframes slow-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mid-fade-in {
    opacity: 0;
    animation: mid-fade-in 1.5s ease-out forwards;
}

@keyframes mid-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fast-fade-in {
    opacity: 0;
    animation: fast-fade-in 0.5s ease-out forwards;
}

@keyframes fast-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slow-fade-in {
    opacity: 0;
    animation: slow-fade-in 0.5s ease-out forwards;
}

@keyframes slow-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.nav-link-fade {
    opacity: 0;
    animation: nav-link-fade 1s ease-out forwards;
}

@keyframes nav-link-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.driving-off {
    position: absolute;
    animation-name: drivingOff;
    animation-duration: 9.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

@keyframes drivingOff {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100vw);
    }
}


.driving-off-left {
    position: absolute;
    animation-name: drivingOffLeft;
    animation-duration: 9.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

@keyframes drivingOffLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100vw);
    }
}

.responsive-text-wrapper-centred{
    text-align: center;
    width: 60vw;
    margin: auto;
}

@media (max-width: 600px){
    .responsive-text-wrapper-centred{
        width: 70vw;
    }
}

@media (max-width: 500px){
    .responsive-text-wrapper-centred{
        width: 85vw;
    }
}

.faq-grid{
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

@media (max-width: 900px){
    .faq-grid{
        grid-template-columns: 50% 50%;
    }
}
@media (max-width: 750px){
    .faq-grid{
        grid-template-columns: 100%;
    }
}

.image-gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* black with 80% opacity */
    z-index: 9998; /* below the full screen image */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

/* (A) FIXED WRAPPER */
.hwrap {
    overflow: hidden; /* HIDE SCROLL BAR */
    background-color: #20283F;
    color: white;
    font-family: Oswald;
    /*border: 1px solid white;*/
}

/* (B) MOVING TICKER WRAPPER */
.hmove { display: flex; }

/* (C) ITEMS - INTO A LONG HORIZONTAL ROW */
.hitem {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}

/* (D) ANIMATION - MOVE ITEMS FROM RIGHT TO LEFT */
/* 4 ITEMS -400%, CHANGE THIS IF YOU ADD/REMOVE ITEMS */
@keyframes tickerh {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-400%, 0, 0); }
}
.hmove { animation: tickerh linear 60s infinite; }
.hmove:hover { animation-play-state: paused; }


/*Below code ensures footer is at the bottom of the page on all devices:*/
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*.footer{*/
/*    margin-top: auto;*/
/*}*/

.news-root-crumb:hover{
    color: blue;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
    padding-top: 102px;
}


.breadcrumbs{
    font-family: Oswald;
    margin: 5px;
}