:root {
    --style-dark: #101820;
    --style-light: #00FFFF;
    --colour-1: #24265d;
    --colour-2: #2c3792;
    --colour-3: #40bb6a;
    --colour-4: #37ab9c;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

a {
    text-decoration: none;
    color: #181818;
}

.section-area a {
    color: #181818;
}

/* a:visited {
    color: #36A;
} */

a:hover,
a:focus {
    color: #446093;
}

a:focus {
    outline: 0;
}

a img {
    border: none;
}

b,
strong {
    font-weight: bold;
}

em,
i {
    font-style: italic;
}

dl {
    padding: 10px 0;
}

dt {
    font-weight: bold;
    font-size: 120%;
    font-family: lucida grande, calibri, arial, helvetica, sans-serif;
}

dd {
    padding: 0 0 10px 40px;
}

.ckeditor ul,
.ckeditor ol,
#content ul,
#content ol {
    padding: 0 0 0 30px;
}

body.ckeditor {
    background: #FFF none;
}

.ckeditor ul,
.ckeditor ol {
    padding: 0 0 0 30px;
}

.ckeditor table {
    border: 1px dotted #666 !important;
    border-spacing: 10px;
    border-collapse: separate;
}

.ckeditor td {
    border: 1px dotted #AAA !important;
    border-spacing: 10px;
    padding: 10px;
    border-collapse: separate;
}


.t2 {
    display: none;
}

ol ol {
    list-style-type: lower-alpha;
}

/* For form validation - do not remove */
#content td {
    padding: 3px 20px 3px 0;
    vertical-align: top;
}

body.notfound {
    background: #000;
    color: #FFF;
    padding: 100px;
}

body.notfound h1 {
    text-shadow: 0 0 20px #FFF;
    font: 46px consolas, arial;
}

body.notfound p {
    font: 24px consolas, arial;
    color: #888;
}


/* Site-specific CSS */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Manrope", Helvetica, Roboto, Arial, sans-serif;
    color: var(--style-dark);
}

body {
    font-family: "Manrope", Helvetica, Roboto, Arial, sans-serif;
    font-weight: 500;
}

h1 {
    color: var(--style-dark);
    font-weight: 800;
}

i.fa-solid,
i.fa-brands {
    font-size: 18px;
    color: var(--style-dark);
    transition: color 0.3s;
}

a:hover i {
    color: var(--colour-3);
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-end {
    display: flex;
    align-items: end;
}

.content {
    display: flex;
    margin: auto;
    padding: 0 1rem;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.section-area {
    padding: 2rem 0;
    z-index: 1;
    position: relative;
}

.section-area.alt {
    background: #ededed;
}

html {
    scroll-behavior: auto;
}

u {
    text-decoration-thickness: 7%;
    text-underline-offset: 4px;
}

.grid-container {
    padding-left: 1rem;
    padding-right: 1rem;
}


/* CALLOUT BUTTON STYLING */

.callout.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    border-radius: 0.5rem;
    margin-bottom: 0;
    overflow: hidden;
}

.callout.services h3 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 0.5rem;
}

.callout.services i.fa-solid {
    font-size: 48px;
    color: #143552;
    transition: none;
    line-height: 1;
}

.callout.nopad.services img {
    object-fit: cover;
    height: 100%;
}

.callout.nopad {
    padding: 0;
    text-align: center;
    transition: transform 0.3s;
}

.callout.nopad img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.callout.nopad.staff-profile img {
    height: 350px;
}

.section-links {
    margin-top: 2rem;
}

.section-links .callout.nopad img {
    object-fit: cover;
    width: 100%;
    margin: 0;
    border-radius: 0;
    height: 150px;
}



.callout.nopad h4 {
    margin: 0;
    padding: 0.5rem;
    background: var(--style-dark);
    color: white;
    transition: background 0.3s;
}

/* .callout.nopad.alt h4 {
    background: #b06d69;
} */

a:hover>.callout.nopad h4 {
    background: #273646;
    /* color: var(--style-light); */
}

/* a:hover>.callout.nopad.alt h4 {
    background: #bb908d;
} */

.callout.nopad p {
    margin: 0;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    font-size: 17px;
}

a:hover>.callout.nopad {
    transform: translateY(-5px);
}


/*MEDIUM AND UP*/
@media print,
screen and (min-width: 40em) {
    .section-area {
        padding: 6rem 0 2rem 0;
    }

    .section-area.contact-footer {
        padding: 2rem 0 2rem 0;
    }

    .last-section {
        padding-bottom: 4rem;
    }

}

/*LARGE UP*/
@media print,
screen and (min-width: 64em) {
    .callout.nopad.staff-profile {
        min-height: 475px;
    }

    .callout.nopad.staff-profile-no-img {
        min-height: 475px;
    }
}

/* NAVIGATION BAR */

@property --gradColour1 {
    syntax: '<color>';
    initial-value: rgb(79 99 72 / 80%);
    inherits: false;
}

@property --gradColour2 {
    syntax: '<color>';
    initial-value: rgb(79 99 72 / 55%);
    inherits: false;
}

@property --gradColour3 {
    syntax: '<color>';
    initial-value: transparent;
    inherits: false;
}

.top-bar-left {
    width: 0%;
    transition: width 1s;
    overflow: hidden;
}

.is-stuck .top-bar-left,
.is-reveal-open .top-bar-left {
    width: 637px;
}

img.nav-logo {
    height: 75px;
    object-fit: cover;
    object-position: left;
    padding-left: 1rem;
    flex-shrink: 0;
}

svg#svg-mrta-icon-nav {
    flex-shrink: 0;
}

svg#svg-mrta-icon-nav .icon-path,
svg#svg-mrta-icon-nav rect.whiteFlashPath {
    animation: none;
}

svg#svg-mrta-icon-nav .icon-path {
    stroke-dashoffset: 0;
}

svg#svg-mrta-icon-nav rect.whiteFlashPath {
    transform: translateX(-30px);
}

.is-stuck svg#svg-mrta-icon-nav .icon-path,
.is-reveal-open svg#svg-mrta-icon-nav .icon-path {
    /* animation: drawLine 2s 1.2s both; */
}

.is-stuck svg#svg-mrta-icon-nav rect.whiteFlashPath,
.is-reveal-open svg#svg-mrta-icon-nav rect.whiteFlashPath {
    animation: whiteFlash 3s 2.5s both infinite ease-in-out, delay-animation 9s 2.5s both infinite linear;
}


@media screen and (max-width:1380px) {

    .is-stuck img.nav-logo,
    .sub-page img.nav-logo {
        width: 0px;
        opacity: 1;
    }

    .is-reveal-open .top-bar.is-anchored img.nav-logo {
        width: 0px;
        opacity: 1;
    }

    .is-stuck .top-bar-left,
    .is-reveal-open .top-bar-left {
        width: 137px;
    }

}


a.logo-link {
    display: flex;
    align-items: center;
    padding: 0.7rem 0;
    /* transition: width 1s; */
    /* gap:1rem; */
}

img.nav-logo.white {
    display: none;
}

svg#svg-mrta-icon-home {
    animation: shrinkDown 2.2s 2.3s both;
    width: 200px;
    width: 165px;
    height: auto;
}

svg#svg-mrta-full {
    width: 740px;
    width: 600px;
    max-width: 100%;
    height: auto;
}

svg .icon-path {
    font-variation-settings: 'wght' 600;
    display: inline;
    fill: none;
    stroke-width: 1.32301;
    stroke-linecap: square;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawLine 2s 1.2s both;
}

svg rect.whiteFlashPath {
    animation: whiteFlash 3s 4.5s both infinite ease-in-out, delay-animation 9s 4.5s both infinite linear;
}

svg #mrta-full-text-1 {
    opacity: 0;
    animation: slideUp 1.2s 3s both;
}

svg #mrta-full-text-2 {
    opacity: 0;
    animation: slideUp 1.2s 3s both;
}

svg #mrta-full-text-separator {
    opacity: 0;
    animation: fadeIn 1s 4s both;
}

svg #mrta-full-text-3 {
    opacity: 0;
    animation: fadeIn 1s 4.7s both;
}

.svg-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.menu a {
    color: white;
}

.menu a.is-active {
    /* background:#b06d69; */
    /* border-radius:0.5rem; */
}

.top-bar,
.top-bar ul {
    /* background-color: #fffcdf; */
    /* background-color: #fff; */
    background: none;
}

.top-bar {
    padding: 0.1rem;
    /* background: linear-gradient(180deg, var(--gradColour1), var(--gradColour2) 65%, var(--gradColour3)); */
    /* transition: --gradColour1 0.3s, --gradColour2 0.3s, --gradColour3 0.3s; */
    transition: background 0.3s;

}

/*ANCHORED NAV BAR STYLE*/

.top-bar.is-anchored {
    position: fixed;
    width: 100%;
    /* background: none; */
    /* background: #4f6348; */
    /* background: linear-gradient(180deg, rgb(79 99 72 / 80%), rgb(79 99 72 / 55%) 65%, transparent); */
    /* background: linear-gradient(180deg, rgb(79 99 72 / 80%), rgb(79 99 72 / 55%) 65%, transparent); */
}

.sub-page .top-bar.is-anchored {
    background: #4f6348;
    background: var(--style-dark);
}

/* .top-bar.is-anchored img.nav-logo {
    display: none;
} */

.top-bar.is-anchored img.nav-logo.white {
    display: block;
}

.top-bar.is-anchored a {
    color: white;
    color: var(--colour-1);
}

.sub-page .top-bar.is-anchored a {
    color: white;
}

/* .top-bar.is-anchored .dropdown.menu.medium-horizontal a:hover {
    color: #97aacd;
} */

.top-bar.is-anchored i.fa-solid,
.top-bar.is-anchored i.fa-brands {
    font-size: 18px;
    color: #ffffff;
    transition: color 0.3s;
}

.top-bar.is-anchored a:hover i {
    color: #446093;
}

.top-bar.is-anchored a.inline-flex i.fa-solid {
    color: #97aacd;
}

.top-bar.is-anchored a.inline-flex:hover i.fa-solid {
    color: #446093;
}

.top-bar.is-anchored .top-bar-contact {
    border-bottom: 1px solid #ffffff8c;
}

.top-bar.is-anchored .is-dropdown-submenu {
    border: 1px solid #ffffff;
    background: rgba(0, 0, 0, 0.4);
}

.top-bar.is-anchored .dropdown.menu>li.is-active>a {
    color: #97aacd;
    color: #dfb3b0;
}

.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a::after {
    margin-top: -1px;
}

.top-bar.is-anchored .dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color: #b06d69 transparent transparent !important;

}

.top-bar-contact {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #18181826;
    padding-bottom: 0.5em;
    overflow: hidden;
    margin-top: 0.7rem;
}

.top-bar-contact .left .menu {
    gap: 0.5rem;
}

.top-bar-contact .right {
    margin-right: 0.5rem;
}

.top-bar-contact .right a {
    padding: 0.5rem;
}

/*END ANCHORED NAV BAR STYLE*/

/*REVEAL OVERLAY NAV BAR*/

.is-reveal-open .top-bar {
    background: var(--style-dark);
}

.is-reveal-open .top-bar.is-anchored {
    box-shadow: rgba(0, 0, 0, 0.05) 1px 1px
}

.is-reveal-open .is-anchored .top-bar-container {
    gap: 5rem;
}

.is-reveal-open .top-bar.is-anchored svg.nav-logo {
    width: 100%;
    opacity: 1;
}

/* .is-reveal-open .top-bar.is-anchored svg.nav-logo #icon-white {
    animation: iconUp 1s both;
} */

.is-reveal-open .top-bar-contact {
    display: none;
}

/* .is-reveal-open .is-anchored .menu.medium-horizontal {
    margin-top: 12px;
} */

.is-reveal-open .top-bar.is-anchored img.nav-logo {
    display: block;
}

.is-reveal-open .top-bar.is-anchored img.nav-logo.white {
    display: none;
}

.is-reveal-open .top-bar.is-anchored a {
    color: white;
}

.is-reveal-open .top-bar.is-anchored .dropdown.menu.medium-horizontal a:hover {
    color: #97aacd;
}

.is-reveal-open .top-bar.is-anchored i.fa-solid,
.is-reveal-open .top-bar.is-anchored i.fa-brands {
    font-size: 18px;
    color: #000000;
    transition: color 0.3s;
}

@media screen and (max-width:1360px) {

    .is-reveal-open .top-bar.is-anchored svg.nav-logo {
        width: 75px;
        opacity: 1;
    }

    .is-reveal-open .is-anchored .top-bar-container {
        gap: 1.5rem;
    }

}


/*END REVEAL OVERLAY NAV BAR*/

.top-bar.is-stuck {
    box-shadow: rgba(0, 0, 0, 0.05) 1px 1px
}

.top-bar.is-stuck ul {}

/*OLD CODE - DELETE*/

.top-bar.is-stuck {
    background: var(--style-dark);
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    gap: 1.5rem;
    min-height: 110px;
    min-height: 50px;
    transition: gap 1s;
}

ul.menu li {
    text-align: center;
}

ul.menu.vertical li {
    text-align: left;
}

.sticky-container {
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

.is-stuck .top-bar-contact {
    display: none;

}

.is-stuck .menu.medium-horizontal {
    /* margin-top: 0.3em; */
}

.inline-flex {
    display: flex !important;
    gap: 0.5em;
    align-items: center;
}

ul.nav-links li {
    font-size: 18px;
}

.title-bar {
    background: var(--style-dark);
    background: linear-gradient(30deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url(../images/home-header.webp);
    /* background-size: cover; */
    /* background:none; */
    flex-direction: column;
    gap: 1rem;
    /* position:absolute; */
    width: 100%;
    z-index: 2;
}

.title-bar .menu-box {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: #353535;
}

#mobile-menu {
    background: var(--style-dark);
    background: #5d6267;
}

.dropdown.menu.medium-horizontal a {
    position: relative;
    padding: 0.7rem 0.5rem;
    margin: 0 0.3rem;
}

.dropdown.menu.medium-horizontal a:hover {
    color: var(--colour-4);
}

/* .menu.medium-horizontal a::before {
    transition: 300ms;
    height: 2px;
    content: "";
    position: absolute;
    background-color: #00234d;
    left: 0;
    bottom: 0;
    width: 0%;

} */

.dropdown.menu>li.is-active>a {
    color: #dfb3b0;
}

.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color: #b06d69 transparent transparent !important;
}

.accordion-menu .is-accordion-submenu a {
    padding: 0.7rem 2rem;
}

.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle)>a::after {
    border-color: #dfb3b0 transparent transparent !important;
}

.align-left.vertical.menu>li:nth-of-type(n+2) {
    border-top: 1px white solid;
}

/* .dropdown.menu > li.is-dropdown-submenu-parent.is-active > a::after {
    border-color: #446093 transparent transparent !important;
} */

.top-bar .is-dropdown-submenu {
    min-width: 300px;
    border: 1px solid #f7eccd;
    background: rgb(79 99 72 / 100%);
}

.menu.medium-horizontal a:hover::before {
    width: 100%;
}

a.inline-flex {
    transition: background 0.5s, color 0.5s;
    border-radius: 0.5rem;
}

a.inline-flex span {
    position: relative;
    /* top:1px; */
}

a.inline-flex:hover {
    /* background: #fff; */
    color: #000;
}

.button-container {
    display: flex;
    margin-bottom: 2rem;
}

a.theme-button {
    background: var(--style-dark);
    border-radius: 0.5rem;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 18px;
    display: flex;
    transition: background 0.3s;
}

.hero-container a.theme-button {
    background: rgba(72, 158, 163, 0.7)
}

a.theme-button:hover {
    background: #405467;
    background: #489fa3;
}

.dropdown.menu.medium-horizontal a.theme-button {
    padding: 0.7rem 1.5rem;
}

.dropdown.menu.medium-horizontal a.theme-button:hover {
    color: white;
}

.dropdown.menu.medium-horizontal a.theme-button::before {
    content: none;
}

/*MEDIUM UP*/
@media print,
screen and (min-width: 40em) {

    .top-bar {
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .top-bar .top-bar-left {
        -webkit-box-flex: 0;
        -webkit-flex: 0 1 auto;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        margin-right: 0;
        /* margin-left: 0.5rem; */
    }

    .top-bar .top-bar-right {
        -webkit-box-flex: 1;
        /* -webkit-flex: 1 1 auto; */
        /* -ms-flex: 1 1 auto; */
        /* flex: 1 1 auto; */
        margin-left: 0;
        /* max-width:900px; */
        min-width: 630px;
    }

    .menu.medium-horizontal {
        justify-content: center;
        /* margin-top: 0.3em; */
        gap: 1rem;
        max-width: 900px;
    }

}


/* LARGE AND UP */
@media screen and (min-width: 64em) {

    .button-container {
        margin-bottom: 4rem;
    }

}

/* XLARGE AND UP */
@media screen and (min-width: 75em) {
    .top-bar-container {
        gap: 5rem;
    }

    .is-anchored .top-bar-container {
        gap: 0px;
    }

    .sub-page .is-anchored .top-bar-container {
        gap: 5rem;
    }
}


/************/
/* VIDEO HEADER */
/************/

.video-header-box {

    /* min-height:200px; */
    position: relative;
}

.sub-page .video-header-box {
    /* min-height:200px; */
}

#video_header {
    position: relative;
    /* bottom: -10px; */
    width: 100%;
    /* z-index: -1; */
    object-fit: cover;
    display: block;
    min-height: 600px;

}


/* HOME */

.header-section {
    background: var(--style-dark);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), linear-gradient(230deg, var(--colour-1), var(--colour-2) 10%, var(--colour-3) 65%, var(--colour-4) 100%);
    background: linear-gradient(30deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.95)), url(../images/home-header.webp);
    position: relative;
    overflow: hidden;
}

.header-section img {
    height: 300px;
    padding: 10px;
    margin-bottom: 10px;
    -webkit-filter: drop-shadow(0px 0px 10px #0000008c);
    filter: drop-shadow(0px 0px 10px #0000008c);
}

svg.hero-logo {
    display: block;
    max-height: 400px;
    width: auto;
    max-width: 40%;
    margin: 100px auto 10px auto;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}

.mobile svg.hero-logo {
    padding: 0 20px;
    margin: 10px 0;
    max-width: 500px;
}

svg #logo-tall-left {
    animation: iconUp 1s both;
    animation-delay: 1s;
}

svg #logo-tall-right {
    animation: iconDown 1s both;
    animation-delay: 1s;
}

svg #logo-text-top {
    animation: fadeIn 1s both;
    animation-delay: 2s;
}

svg #logo-text-bottom {

    animation: fadeIn 1s both;
    animation-delay: 2.5s;
}

.header-section .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    position: relative;
    width: 100%;
    height: 100%;
    justify-content: center;
    /* bottom: 20%; */
    z-index: 1;
    padding: 80px 20px 0 20px;
    backdrop-filter: blur(3px);
}

.hero-container h1 {
    width: 95%;
    text-align: center;
    /* background: #145c599c; */
    color: white;
    padding: 20px 10px;
    margin: 0;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.hero-container h2 {
    width: 95%;
    text-align: center;
    /* background: #145c58; */
    color: var(--colour-1);
    font-weight: 100;
    padding: 20px 10px;
    margin: 0;
    /* text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5); */
}

.hero-container.alt h1 {
    background: #152f5e9c;
}

.hero-container.alt h2 {
    background: #152f5e;
}

.header-section h1 {
    font-size: 34px;
}

.section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.section-area p,
.header-section p {
    font-size: 20px;

    font-size: 1rem;
}

.header-section .arrow-link {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.header-section .arrow-link i {
    color: rgb(51 103 131 / 40%);
    font-size: 30px;
}

.arrow-link a:hover i {
    color: rgb(63 186 106 / 40%);
}

.section-area li {
    font-size: 20px;
    margin-bottom: 0.5rem;
}

.section-area h2,
.section-1 h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.section-callouts .grid-x {
    justify-content: center;
}

.alertbox-buffer {
    min-height: 2rem;
}

.alertbox-container {
    /* position:absolute; */
    /* left:0;right:0;top:50px; */
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.alertbox.callout {
    max-width: min(750px, 70%);
    margin: 0;
    border-radius: 5px;
    background: rgb(252 248 223);
    z-index: 20;
}

.alertbox.callout.alert {
    background: #800;
    min-width: 300px;
    color: white;
}

.alert-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-flex img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    max-height: none;
    min-height: initial;
}

.alertbox .alert_title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.callout.behind {
    z-index: -1;
    border-radius: 0.5rem;
    box-shadow: rgb(0 0 0 / 5%) 1px 1px 5px 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 430px
}

.callout.behind.services-tile {
    min-height: 300px;
    height: 300px;
    justify-content: flex-end;
}

.callout.behind.services-tile img {
    min-height: 0;
    /* height:auto; */
}

.callout.behind.services-tile h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
}

.staff-bg {
    background: url(../images/staff-bg.webp);
    background-size: cover;
    background-position: 32% 75%;
    padding: 7rem 0;
}

.staff-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.staff-image a {
    font-size: 24px;
}

.callout.nopad.staff-profile-no-img {
    min-height: 120px;
    border: none;
    margin-bottom: 0;
    line-height: 1.5;
    margin: 1rem 1rem;
    background: #ffffffc9;
}

.callout.nopad.staff-profile-no-img p {
    line-height: 1.5;
}

.section-resources .callout.behind {
    min-height: 410px;
}

.section-resources .callout.behind img {
    height: 230px;
}

.section-2 img {
    border-radius: 10px;
}

.section-1 {
    padding-top: 1rem;
}

.section-2 {
    padding: 0 0 4rem 0;
    z-index: 0;
}

.section-1 .grid-container,
.section-2 .grid-container {
    max-width: 80em;
}

.grid-container.wide {
    max-width: 90em;
}

.grid-container.grid-staff {
    max-width: 70em;
}


.full-width-border {
    margin: 1rem;
    background: #f4f4f4;
    display: flex;
    padding: 3rem;
    align-items: center;
    justify-content: center;
}

.full-width-border h2 {
    font-size: 1.5rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-content a.theme-button {
    font-size: 24px;
}

.text-content p:last-of-type {
    margin-bottom: 0;
}

img.full-height {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.charity-flex {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.charity-flex img {
    max-height: 200px;
}

/* TESTIMONIALS */

#testimonials-div {
    margin-top: 3rem;
}

.branding-area {
    display: flex;
    padding: 2.5rem 3rem;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    width: fit-content;
    margin: 1rem auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.branding-area img {
    max-height: 130px;
    /* max-width: 200px; */
}

/* SERVICES */

.services-modal .medium-6 {
    padding: 0 0.5rem;
}

.services-modal img {
    padding: 0 0 1rem 0;
    max-height: 290px;
    object-fit: cover;
    width: 100%;
}

.services-modal .cell h3 {
    text-align: center;
}

.services-modal .cell p {
    text-align: left;
}

.services-modal div :last-child {
    margin-bottom: 0;
}

.services-modal a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.reveal.services-modal-2 {
    padding: 0;
}

.reveal.services-modal-2 .close-button,
.reveal.services-modal-2 .close-button.medium {
    background: white;
    width: 32px;
    height: 32px;
}

.services-modal-flex {
    display: flex;
}

.services-modal-flex img {
    max-width: 300px;
    object-fit: cover;
}

.services-modal-inner {
    padding: 2rem;
}

.services-modal-inner a.theme-button {
    display: inline-block;
}

.services-modal-inner :last-child {
    margin-bottom: 0;
}

.modal-contact {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.modal-contact a.theme-button {
    text-decoration: none;
    font-size: 24px;
}

@media print,
screen and (max-width: 40em) {

    h2,
    h3 {
        font-weight: 700;
    }

    .services-modal img {
        padding: 0;
    }

    .services-modal-flex {
        flex-direction: column;
    }

    .services-modal-flex img {
        max-width: none;
        width: 100%;
        max-height: 200px;
    }
}

@media print,
screen and (min-width: 40em) {
    .medium-order-7 {
        -webkit-box-ordinal-group: 8;
        -webkit-order: 7;
        -ms-flex-order: 7;
        order: 7;
    }

    .medium-order-8 {
        -webkit-box-ordinal-group: 9;
        -webkit-order: 8;
        -ms-flex-order: 8;
        order: 8;
    }

    .medium-order-9 {
        -webkit-box-ordinal-group: 10;
        -webkit-order: 9;
        -ms-flex-order: 9;
        order: 9;
    }

    .medium-order-10 {
        -webkit-box-ordinal-group: 11;
        -webkit-order: 10;
        -ms-flex-order: 10;
        order: 10;
    }

    .medium-order-11 {
        -webkit-box-ordinal-group: 12;
        -webkit-order: 11;
        -ms-flex-order: 11;
        order: 11;
    }

    .medium-order-12 {
        -webkit-box-ordinal-group: 13;
        -webkit-order: 12;
        -ms-flex-order: 12;
        order: 12;
    }

    .medium-order-13 {
        -webkit-box-ordinal-group: 14;
        -webkit-order: 13;
        -ms-flex-order: 13;
        order: 13;
    }
}

/* INDUSTRIES */

.industries .callout {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    border-radius: 10px;
}

.industries p {
    text-align: center;
}

.industries h3 {
    text-align: center;
}

/* MEDIUM */
@media print,
screen and (min-width: 40em) {
    .hero-container h1 {
        font-size: 48px;
    }

    .hero-container h2 {
        font-size: 2.2rem;
    }

    .hero-container h1,
    .hero-container h2 {
        width: min(900px, 80%);
    }

    .section-2 .hero-container h1,
    .section-2 .hero-container h2 {
        width: min(1100px, 80%);
    }

    .alertbox-buffer {
        min-height: 3rem;
    }

    .full-width-border {
        padding: 5rem 5rem;
    }

    .full-width-border h2 {
        font-size: 2.5rem;
    }

    .section-area p,
    .header-section p {
        font-size: 20px;
    }
}

/* LARGE AND UP */
@media screen and (min-width: 64em) {

    /* :target::before { */
    /* height: 160px; */
    /* fixed header height*/
    /* margin: -160px 0 0; */
    /* negative fixed header height */
    /* } */

    .link-anchor {
        display: block;
        position: relative;
        /* top: 35px; */
        top: -140px;
        visibility: hidden;
    }

    #contact.link-anchor {
        top: 90px;
    }

    .hero-container h1 {
        font-size: 60px;
        margin-bottom: 1rem;
    }

    .alertbox-container {
        margin-top: 2.5rem;
    }

    .header-section .hero-container {
        position: absolute;
    }

    .section-1 {
        padding-top: 3rem;
    }

    .alertbox-buffer {
        min-height: 4rem;
    }

    .full-width-border {
        padding: 5rem 10rem;
    }

    .video-header-box {
        min-height: 100vh;
    }
}

@media screen and (min-width: 80em) {
    .header-section .hero-container {
        /* bottom: 25%; */
    }
}

/* SUB-PAGE */

.sub-page .header-section {
    /* min-height: 250px; */
    /* margin-top:8rem; */
}

.sub-page .header-section .hero-container {
    /* bottom: 30px; */
    justify-content: flex-end;
}

.sub-page .header-section {
    background: var(--style-dark);
}

.aid49331 .header-section {
    background-image: url(../images/header-1.webp);
    /*ABOUT*/
}

.aid49332 .header-section {
    background-image: url(../images/header-3.webp);
    /*OUR-WORK*/
    background-position: center center;
}

.aid49333 .header-section {
    background-image: url(../images/header-4.webp);
    /*GET-INVOLVED*/
}

.aid49841 .header-section {
    /*NEWS & EVENTS*/
    background: none;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.5)),
        url(../images/header-default.webp);
    background-position: center 25%;
}

.sub-page .section-2 .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.sub-page .section-area img {
    /* width:100%; */
    height: 100%;
    display: block;
    margin: auto;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;

}

.sub-page .section-area .grid-x {
    align-items: center;
}

.section-area.our-team-area {
    padding-top: 0rem;
}

.section-area.our-team-area .grid-x {
    justify-content: center;
}

.news-page .section-area .grid-x {
    align-items: normal;
}

.services-page .section-area .grid-x {
    align-items: normal;
}

#services-menu {
    background: #f4f4f4;
}

#services-menu.menu .is-active>a {
    background: #152f5e;
    color: #fefefe;
}

#services-menu a {
    font-weight: 800;
}

/* SUB-PAGE MQs */
/* LARGE AND UP */
@media screen and (min-width: 64em) {

    /* .sub-page .header-section .hero-container {
        bottom: 100px;
    } */

    .sub-page .header-section {
        min-height: 300px;
        max-height: 600px;
        /* margin-top:8.5rem; */
    }

    .sub-page .section-1 {
        padding-top: 3rem;
    }

    .sub-page .section-area img {
        width: 100%;
    }
}

/* NEWS */

a .news-item-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%);
}

.news-item-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: #7a7a7a 0 0 5px 0px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s cubic-bezier(.25, .8, .25, 1), transform 0.3s ease-out;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    min-height: 400px;
}

.news-item-container img {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.news-item-container p {
    padding: 0rem 1rem;
    font-size: 15px;
}


.news-item-container p.news-title {
    margin-top: 0.5rem;
    font-weight: 900;
    font-size: 17px;
    color: #132a40;
}

.news-item-container p.news-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-container p.news-read-more {
    font-size: 15px;
    line-height: normal;
    margin-bottom: 0.8rem;
    font-weight: 900;
}

.news-grid div.visible:nth-of-type(n) {
    transition-delay: 0s;
}

/* LARGE AND UP */
@media screen and (min-width: 40em) {


    .news-grid div.visible:nth-of-type(2n) {
        transition-delay: 0.1s;
    }

}

/* LARGE AND UP */
@media screen and (min-width: 64em) {

    .news-grid div.visible:nth-of-type(3n-2) {
        transition-delay: 0s;
    }

    .news-grid div.visible:nth-of-type(3n-1) {
        transition-delay: 0.1s;
    }

    .news-grid div.visible:nth-of-type(3n) {
        transition-delay: 0.2s;
    }

}

/* NEWS ARTICLE PAGE */

.news-page .header-section {
    text-align: center;
}

.news-share-links-top {
    display: flex;
    align-items: center;
    margin: 0.5rem 0 2rem 0;
    gap: 1rem;
}

.news-share-links-top ul {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 0.8rem;
}

.news-share-links-top li {
    margin: 0;
}

.news-share-links-top p {
    margin: 0;
    line-height: normal;
    font-size: 16px;
}

.news-share-links-top i {
    font-size: 22px;
}

.news-page #article {
    padding: 0.5rem;
}

.news-page #article h1.content_title {
    display: inline-block;
    padding-bottom: 1rem;
    border-bottom: solid #305a592e;
}

.news-page #article .articledescription {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-page #article img {
    width: 95%;
    display: inline-block;
}

div#index,
div#viewarchive {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--style-dark);
    color: white;
    box-shadow: rgb(0 0 0 / 10%) 1px 1px 5px 0px;
}

div#archive {
    padding: 1rem;
    border-radius: 1rem;
    background: #d9d9d9;
    color: var(--style-dark);
    margin-top: 2rem;
    box-shadow: rgb(0 0 0 / 10%) 1px 1px 5px 0px;
}

div#viewarchive {
    margin-top: 2rem;
}

div#listing ul {
    list-style: none;
    margin: 0;
}

div#listing p.newsindexheading {
    font-size: 30px;
    text-align: center;
}

div#listing a {
    color: white;
    font-size: 16px;
}

div#listing a:hover {
    color: #30a39d;
    color: var(--colour-3);
}

div#archive a {
    color: #132a40;
}

div#listing li {
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
    border-bottom: solid 1px;
}

.news-form-container {
    background: #e2f1ff;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: rgb(0 0 0 / 10%) 1px 1px 5px 0px;
}

.news-form-container label {
    font-size: 18px;
}

.news-form-container input,
.news-form-container textarea {
    border-radius: 0.3rem;
}

.news-form-container textarea {
    min-height: 6rem;
}

/* LARGE AND UP */
@media screen and (min-width: 64em) {

    .news-page .header-section {
        /* padding: 12rem 0 4rem 0; */
        text-align: center;
    }

    .news-form-container {
        margin-bottom: 0;
    }
}

/* CALL TO ACTION */

.call-to-action {
    color: white;
    padding: 0;
    /* margin: 0 2rem; */
    background: linear-gradient(180deg, #ffffff 70%, #ededed 60%);
    z-index: 2;
}

.sub-page .call-to-action {
    padding: 1rem 0 4rem 0;
}

.call-to-action .grid-container {
    max-width: min(85rem, 98%);
}

.call-to-action h1 {
    color: white;
    font-size: 2.5rem;
}

.call-to-action p {
    /* margin:0; */
    font-size: 2rem;
}

.cta-container {
    background: linear-gradient(96deg, #121820 0%, #4f6079 100%);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0px 24px 40px 0px rgba(1, 28, 46, 0.24);
    text-align: center;
}

.cta-buttons {
    margin: 0;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons a.theme-button {
    justify-content: center;

}

.cta-buttons a.cta-phone {
    background: white;
    color: #132a40;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    justify-content: center;
}

.cta-buttons a.cta-phone:hover {
    background: #bb908d;
    background: #489fa3;
    color: white;
}

.cta-buttons i.fa-solid {
    font-size: 18px;
    color: var(--style-dark);
    line-height: 1;
}

.cta-buttons a.cta-phone:hover i.fa-solid {
    color: var(--style-dark);
}


/* LARGE AND UP */
@media screen and (min-width: 64em) {
    .cta-container {
        text-align: left;
    }

    .call-to-action h1 {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .call-to-action {
        padding: 2rem 0 0 0;
    }

    .sub-page .call-to-action {
        padding: 4rem 0 4rem 0;
    }

    .call-to-action p {
        margin: 0;
    }

    .cta-buttons {
        /* gap: 2rem; */
    }
}

/* CONTACT FORM */

.contact-form-area {
    background: #152f5e;
    background: linear-gradient(191deg, #152f5e 0%, #254072 100%);
}

.contact-form-area .contact-form {
    background: #f5faff;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 1rem;
    margin: 1rem;
}


.contact-form-area ul {
    margin: 0;
    margin-left: -1rem;
}

.contact-form-area ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 18px;

}

.contact-form-area ul li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.contact-form-area ul li a:hover {
    background: white;
    color: #132a40;
}

.contact-form-area a,
.contact-form-area h2 {
    color: white;
}

.contact-form-area p {
    font-size: 16px;
}

.contact-form-area h2 {
    text-align: center;
}

.contact-form-area i.fa-solid,
.contact-form-area i.fa-brands {
    font-size: 18px;
    color: #97aacd;
}

.contact-form-area .section-text {
    margin: auto 1rem;
    justify-content: center;
    display: flex;
}


/* CONTACT FOOTER */

.contact-footer {
    background: var(--style-dark);
    background: linear-gradient(182deg, var(--style-dark), #32404f);
}

input.theme-button {
    background: var(--style-dark);
    border-radius: 0.5rem;
    color: white;
    padding: 1rem 3rem;
    font-size: 18px;
    display: flex;
    border: none;
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    transition: background 0.3s;
}

input.theme-button:hover {
    background: #489fa3;
}

.contact-footer ul.socials {
    margin: 0;
    margin-left: -1rem;
    margin-top: 0.5rem;
}

.contact-footer ul.socials li {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    justify-content: center;

}

.contact-footer ul.socials li a {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.contact-footer ul.socials a.inline-flex {
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 1rem 1rem;
    gap: 0.8rem;
}

.contact-footer ul.socials a.inline-flex i {
    font-size: 22px;
}

.contact-footer ul.socials a.inline-flex:hover {
    color: #bb908d;
    color: var(--style-light);
    color: var(--colour-4);
}

.contact-footer ul.socials li a:hover {
    /* background: white; */
    /* background: #eee9cc; */
    color: var(--style-light);
    color: var(--colour-4);
}

.contact-footer ul.disclaimers {
    justify-content: center;
    gap: 0.5rem;
}

.contact-footer ul.disclaimers li {
    margin: 0;
    font-size: 16px;
}

.contact-footer ul.disclaimers li a {
    color: #f0e9cb;
    color: white;
    border-radius: 5px;
    transition: background 0.3s;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-footer ul.disclaimers li a:hover {
    color: #b06d69;
    color: var(--colour-4);
    background: #f0e9cb;
    background: none;
}

.contact-footer a,
.contact-footer h2 {
    color: #181818;
}

.contact-footer p {
    font-size: 16px;
    text-align: center;
}

.contact-footer h2 {
    text-align: center;
}

.contact-footer i.fa-solid,
.contact-footer i.fa-brands {
    font-size: 18px;
    color: #f0e9cb;
    color: white;
}

.contact-footer .socials {
    justify-content: center;
    gap: 0.5rem;
}

.contact-footer i.fa-brands,
.contact-footer i.fa-solid {
    font-size: 36px;
}

.contact-footer a:hover i {
    color: #bb908d;
    color: var(--style-light);
    color: var(--colour-4);
}

.contact-footer .is-dropdown-submenu {
    min-width: 150px;
    border: 1px solid #181818;
}

/* .contact-footer .section-text {
    margin: 1rem;
} */

.contact-footer .contact-form {
    background: #fffef8;
    background: none;
    /* padding: 2rem 2rem 1.5rem 2rem; */
    border-radius: 1rem;
    margin: 1rem;
}

ul.contact-us {
    list-style: none;
    margin-top: 1rem;
    font-size: 20px;
}

ul.contact-us li {
    padding: 0.5rem 1rem;
}

ul.contact-us li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #181818;
    /* padding: 0.5rem 1rem; */
    border-radius: 5px;
    transition: all 0.3s;
}

ul.contact-us i {
    font-size: 20px;
    position: relative;
    top: 1px;
}

.contact-form input,
.contact-form textarea {
    border-radius: 0.3rem;
    margin-bottom: 0.7rem;
}

.contact-form textarea {
    min-height: 6rem;
}

.contact-form label {
    color: #eee9cc;
    color: white;
    font-size: 16px;
}

.google-map iframe {
    display: block;
    width: 100%;
}

.sitemap {
    background: #152f5e;
    padding: 1rem;
}

.sitemap a {
    color: white;
}

.sitemap a:hover {
    color: #d7fdfb;
}

.sitemap ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.sitemap ul ul {
    font-weight: 400;
    flex-direction: column;
    gap: 0;
    font-size: 0.8rem;
}

.sitemap a {
    padding: 0.2rem;
}

/* FOOTER */

.acknowledgement-of-country {
    background: #b17f22;
    color: white;
    padding: 1rem;
}

.acknowledgement-of-country p {
    margin: 0;
    text-align: center;
}

.footer-main {
    padding: 0.7rem;
    background: #414042;
    font-size: 0.8rem;
}

.footer-main p,
.footer-main a {
    margin: 0;
    color: white;
}

/*MODAL STYLING*/

.reveal {
    border-radius: 0.5rem;
    padding: 2rem;
}

.reveal.staff-profile {
    max-width: 60em;
}

.staff-profile p:last-of-type {
    margin-bottom: 0;
}

/* .reveal p:last-of-type {
    margin-bottom: 0;
} */

iframe#online-booking-iframe {
    max-height: none;
    overflow: hidden;
    height: 665px !important;
}

@media print,
screen and (max-width: 39.99875em) {
    .reveal {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        margin-left: 0;
        border: 0;
        border-radius: 0;
    }

    iframe#online-booking-iframe {
        height: 90vh !important;
    }
}

@media print,
screen and (min-width: 40em) {
    .reveal {
        width: 95%;
        max-width: 75rem;
    }
}

/*END MODAL STYLING*/

/* messages */
#message_box {
    background: #080;
    padding: 10px 20px;
    color: #FFF;
    font: 18px arial, helvetica, sans-serif;
    border: 2px solid #050;
    border-radius: 4px;
    margin: 10px 0;
    position:relative;
}

#error_message_box {
    background: #800;
    padding: 10px 20px;
    color: #FFF;
    font: 18px arial, helvetica, sans-serif;
    border: 2px solid #400;
    border-radius: 4px;
    margin: 10px 0;
}

/* Ticker */
#ticker_core {
    height: 20px;
    padding: 13px 20px 0 20px;
}

/* jsticker_scroll and jsticker_scroll_vertical */
.scrollingtext {
    position: absolute;
}

#jsticker_scroll {
    position: relative;
    height: 30px;
    width: 980px;
    display: block;
    overflow: hidden;
    margin: 0 auto;
    margin: 10px;
}

#jsticker_scroll div {
    display: inline-block;
    margin: 0;
}

#jsticker_scroll a {
    color: #333;
    display: block;
    padding: 8px 20px;
    font: 11px Verdana;
}

#jsticker_scroll a:hover {
    color: #090;
}

#jsticker_scroll .scrollingtext {
    white-space: nowrap;
}


#dingo .grid-x .columns {
    padding: 0.5rem;
}

/* ANIMATE ON SCROLL TESTING */

.aos {
    visibility: hidden;
}

.aos.visible {
    visibility: visible;
}

.aos.slideUp.visible {
    transform: translateY(100%);
    animation: slideUp 0.5s both;
}

.aos.slideDown.visible {
    transform: translateY(-100%);
    animation: slideDown 0.5s both;
}

.aos.fadeOut {
    visibility: visible;
    animation-delay: 0s !important;
    animation: fadeOut 0.5s both;
}

.aos.fadeIn.visible {
    animation: fadeIn 1s both;
}

/*TESTING AOS*/
div.aos.visible:nth-of-type(n) {
    animation-delay: 0s;
}

/* MEDIUM AND UP */
@media screen and (min-width: 40em) {


    div.medium-6.aos.visible:nth-of-type(2n) {
        animation-delay: 0.1s;
    }

}

/* LARGE AND UP */
@media screen and (min-width: 64em) {

    div.large-5.aos.visible:nth-of-type(2n-1) {
        animation-delay: 0s;
    }

    div.large-5.aos.visible:nth-of-type(2n) {
        animation-delay: 0.1s;
    }

    div.large-order-2.aos.visible {
        animation-delay: 0.1s !important;
    }

    div.large-4.aos.visible:nth-of-type(3n-2) {
        animation-delay: 0s;
    }

    div.large-4.aos.visible:nth-of-type(3n-1) {
        animation-delay: 0.1s;
    }

    div.large-4.aos.visible:nth-of-type(3n) {
        animation-delay: 0.2s;
    }

    div.large-3.aos.visible:nth-of-type(4n-3) {
        animation-delay: 0s;
    }

    div.large-3.aos.visible:nth-of-type(4n-2) {
        animation-delay: 0.1s;
    }

    div.large-3.aos.visible:nth-of-type(4n-1) {
        animation-delay: 0.2s;
    }

    div.large-3.aos.visible:nth-of-type(4n) {
        animation-delay: 0.3s;
    }




}

/*END TESTING*/

/* BASIC ANIMATIONS */
@keyframes iconUp {
    0% {
        transform: translateY(-120px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes iconDown {
    0% {
        transform: translateY(120px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes logoOpen {
    0% {
        width: 0px;
    }

    100% {
        width: 542px;
    }
}

@keyframes slideUp {
    from {
        transform: translatey(90%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translatey(-100%);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 50;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes shrinkDown {
    from {
        scale: 2.9;
        transform: translateY(34px);
    }

    to {
        scale: 1;
        transform: translateY(0);
    }
}

@keyframes whiteFlash {
    from {
        transform: translateX(-20px);
    }

    to {
        transform: translateX(40px);
    }
}

@keyframes delay-animation {
    0% {
        opacity: 1;
    }

    33.3333% {
        opacity: 1;
    }

    33.35% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/*
MESSAGE BOX ---------------------------------------------
*/

/* This is the container for the message box */
#messages {
    width: 100%;
}

#messages:after {
    content: '';
    display: table;
    clear: both;
}

/* message box */
.msgbox_messages {
    width: 100%;
    padding: 0px 0px;
    height: 50px;
    min-height: 50px;
    background: var(--style-dark);
}

.msgbox_message {
    width: 100%;
}

.msgbox_title {
    font: bold 24px Calibri, sans-serif;
    color: #FFF;
    display: block;
    line-height: 50px;
    text-align: center;
}

.msgbox_title a {
    font: bold 24px Calibri, sans-serif;
    color: #FFF;
    display: block;
    padding: 0 10px;
    line-height: 50px;
    text-decoration: none;
    transition-property: background-position;
    transition-duration: 1s;
}

.msgbox_title a:hover {
    background: #185380;
    color: #FFF;
}

.msgbox_body {
    padding: 10px;
    font: 15px arial, sans-serif;
    line-height: 140%;
}

.msgbox_body a {
    color: #F00;
}

.msgbox_prevnext {
    border-radius: 0 0 5px 5px;
    background: #444;
    height: 50px;
    overflow: hidden;
    width: 100%;
}

.msgbox_prevnext a {
    color: #AAA;
    display: block;
    width: 50%;
    float: left;
    font: bold 32px arial;
    line-height: 50px;
    text-align: center;
}

.msgbox_prevnext a:hover {
    color: #FFF;
    background: #222;
}

/* LetterFX */

.letterfx {
    display: inline-block;
    margin: 0;
    padding: 0;
    transition: all 1s;
    -ms-transition: all 1s;
    -webkit-transition: all 1s
}

.letterfx-spin-before {
    transform: rotate(3600deg);
    -ms-transform: rotate(3600deg);
    -webkit-transform: rotate(3600deg)
}

.letterfx-spin-after {
    transform: none
}

.letterfx-fade-before {
    opacity: 0
}

.letterfx-grow-before {
    transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0)
}

.letterfx-grow-after {
    transform: none
}

.letterfx-smear-before {
    color: transparent;
    text-shadow: -1px -1px 25px transparent
}

.letterfx-smear-after {
    color: inherit;
    text-shadow: 0 0 #333
}

.letterfx-fall-before {
    visibility: hidden;
    transform: scale(3, 3);
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3)
}

.letterfx-fall-after {
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    text-shadow: 0
}

.letterfx-swirl-before {
    visibility: hidden;
    transform: scale(3, 3) rotate(3600deg);
    -ms-transform: scale(3, 3) rotate(3600deg);
    -webkit-transform: scale(3, 3) rotate(3600deg)
}

.letterfx-swirl-after {
    transform: none text-shadow:0
}

.letterfx-wave-container .letterfx {
    position: relative
}

.letterfx-wave-before {
    bottom: 0
}

.letterfx-wave-after {
    bottom: 15px
}

.letterfx-fly-left-container .letterfx,
.letterfx-fly-right-container .letterfx,
.letterfx-fly-top-container .letterfx,
.letterfx-fly-bottom-container .letterfx {
    position: relative
}

.letterfx-fly-left-before {
    left: -50em
}

.letterfx-fly-left-after {
    left: 0
}

.letterfx-fly-right-before {
    right: -50em
}

.letterfx-fly-right-after {
    right: 0
}

.letterfx-fly-top-before {
    top: -20em
}

.letterfx-fly-top-after {
    top: 0
}

.letterfx-fly-bottom-before {
    bottom: -20em
}

.letterfx-fly-bottom-after {
    bottom: 0
}