/* ------------------------------------  */
/* ---------- SITE FRAMEWORK ----------  */
/* ------------------------------------  */

@import 'variables.php';

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--siteBackground);
    overflow: hidden;
}

:is(.site-header, .content-wrap, .site-footer) * {
    box-sizing: border-box;
}

.content-div {
    min-height: 600px;
}

.ui-autocomplete {
    z-index: 10001 !important;
}


/* DISPLAY CLASSES */

.full-width-fix {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hidden {
    display: none;
}

.hideImportant {
    display: none !important;
}


/* SITE FORMS */

input::placeholder {
    font-family: "Open Sans", sans-serif;
}

textarea {
    font-family: "Open Sans", sans-serif;
}

select {
    width: 100%;
    border: 1px solid #DBDBDB;
    height: 50px;
    padding: 0 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(../images/chevron-down-black.svg) no-repeat 98% center #fff;
}

input[type=text],
input[type=date],
input[type=tel],
input[type=number],
input[type=email],
input[type=password],
textarea {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border: 1px solid #DBDBDB;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 1rem;
    color: var(--mainColour);
    transition: 0.2s ease-in-out all;
}

textarea {
    height: 100px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

:is(input, select, textarea).input-error {
    border-color: #a30e0e !important;
}

.site-form-field {
    padding: 10px 0;
}

.site-form-label {
    font-size: 1rem;
    color: #3B3B3D;
    padding: 5px 0;
}


/* ----- TYPOGRAPHY ----- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto Condensed", sans-serif;
    display: block;
    color: var(--mainColour);
    margin: 0;
    padding: 0;
    font-weight: 400;
}

h1 {
    font-size: 3.25rem;
    line-height: 62px;
}

h2 {
    font-size: 3rem;
    line-height: 58px;
}

h3 {
    font-size: 2.625rem;
    line-height: 52px;
}

h4 {
    font-size: 2.375rem;
    line-height: 48px;
}

h5 {
    font-size: 2.125rem;
    line-height: 44px;
}

h6 {
    font-size: 1.875rem;
    line-height: 40px;
}

p {
    padding: 0;
    font-size: 1rem;
    color: var(--secondaryColour);
    line-height: 26px;
    margin: 5px 0;
}

a {
    text-decoration: none;
    color: var(--linkColour);
}

a:focus-visible {
    background-color: #f9dc4a;
    color: #000;
    outline: 1px solid #000;
}

ul {
    list-style-position: outside;
    padding: 5px 0 20px 20px;
    font-size: 1rem;
    color: var(--mainColour);
    list-style-type: disc;
    line-height: 24px;
}

ul li {
    padding: 0 0 15px 0;
    line-height: 20px;
}

ul li::marker {
    color: var(--primaryColour);
}

ol {
    list-style-position: outside;
    padding: 5px 0 20px 20px;
    font-size: 1rem;
    color: var(--mainColour);
    list-style-type: decimal;
    line-height: 24px;
}

ol li {
    padding: 0 0 5px 0;
}

hr {
    color: #D8D8D8;
    background: #D8D8D8;
    height: 1px;
    border: 0;
    margin-bottom: 20px;
    position: relative;
}


/* Button Classes */

*[class^="button-"],
*[class*=" button-"] {
    font-family: "Roboto Condensed", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    margin: 0;
    line-height: 1;
    height: 54px;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease-in all;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
}

.button-primary {
    background: var(--primaryColour);
    border: 1px solid var(--primaryColour);
    color: #fff !important;
}

.button-primary:hover {
    background: var(--mainColour);
    border: 1px solid var(--mainColour);
}

.button-secondary {
    background: #fff;
    border: 1px solid var(--primaryColour);
    color: var(--primaryColour) !important;
}

.button-secondary:hover {
    background: var(--mainColour);
    border: 1px solid var(--mainColour);
    color: #fff !important;
    text-decoration: none;
}

.button-tertiary {
    background: var(--tertiaryColour);
    border: 1px solid var(--tertiaryColour);
    color: var(--mainColour) !important;
    text-transform: uppercase;
}

.button-tertiary:hover {
    border: 1px solid var(--mainColour);
    text-decoration: underline;
}

a.skiptocontent {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 1px;
    height: 1px;
}

a.skiptocontent:focus-visible,
a.skiptocontent:active {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 20px;
    border: 1px solid #000;
    background: #f9dc4a;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    opacity: 1;
    width: auto;
    z-index: 10000;
}


/* Animations */

@keyframes wobble {
    0% {
        transform: rotate(0deg);
    }

    33% {
        transform: rotate(-8deg);
    }

    66% {
        transform: rotate(8deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.empty-loader:empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.empty-loader:empty:after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-color: var(--mainColour) transparent transparent;
    border-radius: 50%;
    animation: spin 1s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*Header*/

.top-wrap {
    display: none;
}

body.site_body * {
    box-sizing: border-box;
}

header.site-header {
    position: relative;
    z-index: 9999;
}

.mobile-menu-overlay {
    display: none;
}



/*-- HEADER WRAP --*/

.header-wrap {
    background: var(--mainColour);
    height: 150px;
    transition: all 0.2s ease-in-out;
}

.header-wrap>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 40px;
    padding: 0 10px;
}

header .logo {
    padding: 10px 0;
    height: 100%;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

header .logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}
body .logo a.sticky-logo { display: none; height: 80px; }

/*Sticky Header*/
body.sticky .AB-parent~.site-header { top: 50px; }
body.sticky .header-wrap { position: fixed; width: 100%; top: 0; height:100px;  background: var(--mainColour) !important; }
body.sticky .logo a { display: none; }
body.sticky .logo a.sticky-logo { display: block; }


/*-- MENU WRAP --*/

.menu-wrap {
    position: relative;
    height: 100px;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.menu-wrap>div {
    height: 100%;
}

.menu-wrap>nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-menu-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
}


/* Main Menu */

.main-menu {
    font-family: "Roboto Condensed", sans-serif;
    display: flex;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: stretch;
    display: flex;
    align-items: center;
    gap: 40px;
    text-transform: uppercase;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.main-menu>li {
    height: 100%;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.main-menu>li>a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.4em;
    color: #fff;
    font-weight: 600;
    text-align: center;
    font-size: 1.25rem;
    width: 100%;
    text-decoration: none;
    gap: 5px;
    border-bottom: 3px solid transparent;
}

.main-menu>li a:hover,
.main-menu>li.active a {
    border-color: var(--primaryColour);
}

.main-menu>li.has-sub-items>a:after {
    content: '';
    width: 15px;
    height: 10px;
    background: url(../images/chevron-down-white.svg) no-repeat center;
}

.main-menu>li:first-child {
    padding-left: 0;
}

.main-menu>li:last-child {
    padding-right: 0;
}

.main-menu>li>ul {
    width: 300px;
    padding: 20px 10px;
    box-sizing: border-box;
    background: var(--accentColour);
    position: absolute;
    left: 0;
    z-index: -1;
    top: 80%;
    opacity: 0;
    transition: 0.2s ease-in-out all;
}

.main-menu>li ul.active {
    z-index: 10;
    opacity: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
}

.main-menu>li:last-child>ul {
    left: initial;
    right: 0;
}

.main-menu>li>ul>li {
    padding: 0;
    position: relative;
    line-height: 30px;
    width: 100%;
}

.main-menu>li>ul>li>a {
    display: flex;
    align-items: center;
    padding: 0;
    color: #fff;
    text-decoration: none;
    font-size: 1.125rem;
}

.main-menu>li>ul>li>a:hover {
    text-decoration: underline;
}

.main-menu>li>ul>li>ul {
    width: 300px;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    left: 100%;
    z-index: -1;
    top: 0;
    opacity: 0;
    transition: 0.2s ease-in-out all;
    background: var(--accentColour);
}

.main-menu>li>ul>li>ul.active {
    z-index: 10;
    opacity: 1;
}

.main-menu>li:last-child>ul>li>ul {
    left: initial;
    right: 100%;
}

.main-menu>li>ul>li>ul>li {
    padding: 0;
}

.main-menu>li>ul>li>ul>li>a {
    display: flex;
    align-items: center;
    padding: 5px 0;
    color: #000;
    text-decoration: none;
}


/*-- FOOTER WRAP --*/

.footer-wrap {
    background: var(--footerColour);
    position: relative;
}

.footer-image {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: url(../images/footer-image.webp) no-repeat center;
    background-size: cover;
    z-index: 1;
}

.footer-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
}

.footer-col {
    flex: 1;
}

.footer-col:last-child {
    flex: 0 0 auto;
    width: 60%;
    padding: 0 0 0 100px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
    gap: 20px;
    overflow: visible;
}

.footer-col-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0 0 20px;
    line-height: 24px;
    gap: 10px;
    text-transform: uppercase;
}

.location .footer-col-title {
    margin: 0;
}

.footer-cta {
    font-family: "Roboto Condensed", sans-serif;
    width: 100%;
    height: 100px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    background: var(--primaryColour);
    border-radius: 10px 0 0 10px;
    padding: 0 0 0 30px;
    gap: 40px;
    flex: 0 0 auto;
}

.footer-cta * {
    color: #fff;
}

.footer-cta a {
    display: flex;
    align-items: center;

    text-transform: uppercase;
}

.footer-cta a:hover {
    color: #fff;
}

.footer-cta a:after {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../images/chevron-right-white.svg) no-repeat center;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
}

.footer-social>a {
    display: block;
    width: 26px;
    height: 26px;
}

.footer-social>a.fb {
    background: url(../images/icon-fb.svg) no-repeat center;
    background-size: contain;
}

.footer-social>a.ig {
    background: url(../images/icon-ig.svg) no-repeat center;
    background-size: contain;
}

.footer-social>a.tw {
    background: url(../images/icon-x.svg) no-repeat center;
    background-size: contain;
}

.footer-social>a.li {
    background: url(../images/icon-in.svg) no-repeat center;
    background-size: contain;
}

.footer-social>a.yt {
    background: url(../images/icon-yt.svg) no-repeat center;
    background-size: contain;
}

.footer-social>a.tk {
    background: url(../images/icon-tt.svg) no-repeat center;
    background-size: contain;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-menu>li {
    padding: 0;
    margin: 0;
}

.footer-menu>li>a {
    color: #fff;
    font-size: .875rem;
    text-decoration: none;
}

.footer-menu ul {
    display: none;
}


/*-- BYLINE --*/

.byline-wrap {
    background: var(--bylineColour);
}

.byline-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    gap: 10px;
}

.byline-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    height: 30px;
}

.byline-menu>li {
    padding: 0 10px;
    font-size: 16px;
    border-right: 1px solid #fff;
}

.byline-menu>li:first-child {
    padding-left: 0;
}

.byline-menu>li:last-child {
    border: 0;
}

.byline-menu>li>a {
    color: #fff;
    text-decoration: none;
}

.byline-container>a {
    color: #b5b5b5;
    text-decoration: none;
}

.pop-overlay {
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.74);
    opacity: 0;
    display: flex;
    justify-content: center;
}

.pop-overlay>div>a {
    position: absolute;
    width: 30px;
    height: 30px;
    background: url(../images/close.svg) no-repeat center;
    z-index: 5;
    top: 5px;
    right: 5px;
}

.pop-overlay>div {
    background: #fff;
    position: absolute;
    background: #fff;
    padding: 20px;
    margin: 10px;
    max-width: 600px;
    min-width: 300px;
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 26px;
    border-radius: 5px;
}

.pop-overlay.pop-image>div {
    max-width: 100vw;
    max-height: 100vh;
}

.pop-overlay.pop-image>div img {
    max-width: 100%;
    max-height: 100%;
}

.pop-buttons {
    display: flex;
    margin: 10px 0;
    align-items: center;
    justify-content: space-between;
}

.content_wrap a:not([class]) {
    text-decoration: underline;
}


/* -- TEXT MODULE -- */

.text_module_wrap {
    position: relative;
}

.text_module_container {
    position: relative;
    z-index: 1;
}

.text_module_before {
    position: absolute;
    left: calc(-1140px / 2);
    width: 100vw;
    top: 0;
    height: 100%;
    z-index: -1;
}

.text_module_after {
    position: absolute;
    width: 100vw;
    top: 0;
    height: 100%;
    z-index: -1;
}


/* -- SPACING MODULE -- */

.spacing_module {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 1;
    transition: 0.2s ease-in-out all;
}

.spacing_module span {
    opacity: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: 0.2s ease-in-out all;
}

.spacing_module.admin_logged:hover {
    background: #efefef;
}

.spacing_module.admin_logged:hover span {
    opacity: 1;
}


/*Fullscreen Gallery*/

.flexslider {
    height: auto;
    position: relative;
}

.flexslider:not(.full-width-fix) .flex-direction-nav {
    display: none;
}

.flex-viewport {
    height: 100% !important;
}

.flexslider .slides {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.flexslider .slides>li {
    display: none;
    -webkit-backface-visibility: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    min-height: 100px;
    padding: 20px 0;
}

.flexslider .slides {
    height: 100%;
}

.flexslider .slides>li.flex-active-slide {
    display: flex !important;
    flex-direction: column
}

.flexslider .slides>li>a {
    display: block;
    height: 100%;
}

.flexslider .slides>li>img,
.flexslider .slides>li>a>img {
    width: 100%;
    display: block;
    z-index: 4;
}

.flexslider .slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .flexslider .slides {
    display: block;
}

* html .flexslider .slides {
    height: 1%;
}

.no-js .flexslider .slides>li:first-child {
    display: block;
}

.flexSliderContainer.arrow {
    position: relative;
}

.flexSliderContainer.arrow .flexslider {
    margin-bottom: -30px;
}

.flexSliderContainer.arrow .slides>li,
.flexSliderContainer.arrow .slides>li>a {
    clip-path: polygon(0 calc(100% - 30px), calc(50% - 30px) calc(100% - 30px), calc(50% - 1px) 100%, calc(50% + 1px) 100%, calc(50% + 30px) calc(100% - 30px), 100% calc(100% - 30px), 100% 0, 0 0);
    -webkit-clip-path: polygon(0 calc(100% - 30px), calc(50% - 30px) calc(100% - 30px), calc(50% - 1px) 100%, calc(50% + 1px) 100%, calc(50% + 30px) calc(100% - 30px), 100% calc(100% - 30px), 100% 0, 0 0);
}

.flexSliderContainer.parallax .slides>li {
    background-attachment: fixed;
}

.flex-caption {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 auto;
    gap: 30px;    
    z-index: 10;
}

.flex-caption>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    height: auto;

}

.flex-caption>div.background {
    background: rgba(18, 33, 44, .7);
    padding: 20px 40px;
    border-radius: 5px;
}

.flex-caption>div.background>div {
    
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.flex-caption:empty {
    display: none;
}

.flex-caption.halign-right {
    align-items: flex-end;
}

.flex-caption.halign-left {
    align-items: flex-start;
}

.flex-caption.halign-center {
    align-items: center;
}

.flex-caption.valign-top {
    justify-content: flex-start;
}

.flex-caption.valign-center {
    justify-content: center;
}

.flex-caption.valign-bottom {
    justify-content: flex-end;
    padding-bottom: 40px;
}


/*Fullscreen gallery paging buttons*/

.flex-control-paging {
    position: absolute;
    bottom: 20px;
    display: none;
    left: calc(50% - 760px);
    width: 1600px;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    z-index: 60;
    list-style: none;
    margin: 0;
    padding: 0;
}

.flex-control-paging>li {
    padding: 0;
    margin: 0;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-control-paging>li>a {
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border: 1px solid #818479;
    background: #fff;
    transition: ease-in-out all .3s;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.flex-control-paging>li>a.flex-active {
    background: var(--primaryColour);
    border-color: var(--primaryColour);
    width: 20px;
    height: 20px;
}


/*Fullscreen gallery arrows*/

.flex-direction-nav {
    position: absolute;
    top: 50%;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
}

.flex-direction-nav li {
    position: absolute;
    z-index: 10;
    top: calc(50% - 35px);
    width: 70px;
    height: 70px;
    cursor: pointer;
    transition: ease-in-out all .3s;
    padding: 0;
    left: 20px;
    background: var(--primaryColour);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: .7;
}

.flex-direction-nav li a {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.flex-direction-nav li a:after {
    content: "";
    height: 27px;
    width: 15px;
    background: url(../images/gallery-nav.svg) no-repeat center;
}

.flex-direction-nav li.flex-nav-next {
    right: 20px;
    transform: rotate(180deg);
    left: initial;
}

.flex-direction-nav li:hover {
    opacity: 1;
}

/*Gallery Video*/
.flexslider .fg-video {
    position: relative;
}

.flexslider .fg-video {
    height: 100%;
}

.flexslider .fg-video>iframe {
    height: 60vw;
    min-height: 1200px;
    min-width: 1920px;
    width: 100vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    pointer-events: none;
}



/*Contact Form*/

.contact-form {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--border);
}

.contact-form .cf_header {
    color: #2A4C64 ;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.625rem;
    margin-bottom: 15px;
}

.contact-form .cf-input {
    line-height: 30px;
    padding-bottom: 10px;
}

.contact-form .cf-select {
    line-height: 30px;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.contact-form .cf-text {
    font-size: 1.125rem;
    color: #2A4C64 ;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 20px;
}

.contact-form label {
    width: 100%;
    color: #2A4C64 ;
    font-size: 1rem;
    margin: 0;
    line-height: 26px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=date],
.contact-form textarea,
.contact-form select {
    width: 100%;
    height: 42px;
    font-size: 1rem;
    background-color: #F8F8F9;
    box-sizing: border-box;
    border: 0;
    padding: 0 10px;
    transition: ease-in-out all .5s;
    color: #2A4C64 ;
}

.contact-form :is(input[type=text], .contact-form input[type=email], .contact-form input[type=date], .contact-form textarea):focus-visible {
    border-color: #2A4C64 ;
}

.contact-form select option {
    color: #000;
}

.contact-form label span,
.denotes span {
    color: #DC0D37;
    font-size: .75rem;
    position: relative;
    top: -5px;
}

.contact-form textarea {
    resize: none;
    height: 130px;
    font-family: inherit;
}

.contact-form :is(.cf-radiobox, .cf-checkbox) {
    padding-bottom: 10px;
}

.contact-form :is(.cf-radiobox, .cf-checkbox)>span {
    display: flex;
    align-items: center;
    color: #2A4C64 ;
    font-size: 14px;
}

.contact-form :is(.cf-radiobox input[type=radio], .cf-checkbox input[type=checkbox]) {
    margin-right: 10px;
    accent-color: #2A4C64 ;
}

.contact-form .cf-validation {
    text-align: center;
    height: 0;
    padding: 10px 0;
    box-sizing: border-box;
    font-size: 16px;
    color: #2A4C64 ;
    font-weight: bold;
    transition: all .2s ease-in-out;
}

.contact_form_footer {
    display: flex;
    justify-content: space-between;
}

.contact-form .cf-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.contact-form .cf-buttons .denotes {
    color: #2A4C64 ;
    font-size: .75rem;
}

.contact-form .cf-buttons a.cf-reset {
    display: none;
}



/*Layout Block Module*/

.block-layout-module {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    padding: 0;
}

.block-layout-module .layout-block {
    margin: 0;
    display: flex;
}

.block-layout-module .layout-image {
    width: 50%;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.block-layout-module .layout-image img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.block-layout-module .layout-content {
    width: 50%;
    display: flex;
    position: relative;
}

.block-layout-module .layout-inner {
    width: 800px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 25px;
    z-index: 10;
    justify-content: center;
}

.block-layout-module .layout-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-layout-module .layout-heading h1 {
    font-size: 2rem;
    line-height: 40px;
    position: relative;
    display: flex;
    font-weight: bold;
    color: #000000;
    align-items: flex-start;
    margin: 0;
}

.block-layout_module .layout-content :is(p, li) {
    font-size: 1rem;
    color: #1D1D1D;
    margin: 0;
    line-height: 26px;
}


/*Layout Button*/

.block-layout-module .layout-block {
    display: flex;
    align-items: center;
    flex: wrap;
}

.block-layout-module .layout-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}


/*Layout Position*/

.block-layout-module .layout-pos-left {
    flex-direction: row-reverse;
}

.block-layout-module .layout-pos-left .layout-image {
    justify-content: flex-start;
}

.block-layout-module .layout-pos-left .layout-content {
    justify-content: flex-end;
}

.block-layout-module .layout-pos-right .layout-content {
    justify-content: flex-start;
}


/*System edit controls*/

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

.AB-editing .__contentbox {
    z-index: 3000;
}




/*Additional Modules*/

/*Image Button*/
.image-buttons-module {
    padding: 30px 0;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.image-buttons-module.bg-on {
    background: var(--background);
}

.image-buttons-module>div {
    padding: 0 15px;
}

.image-buttons-module .ib-items {
    display: flex;
    gap: 20px;
}

.image-buttons-module .ib-items.more-than-three .ib-image {
    height: 207px;
}

.image-buttons-module .ib-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.image-buttons-module .ib-image {
    height: 240px;
    border-radius: 10px 10px 0 0;
    background-size: cover;
    background-position: center;
}

.image-buttons-module .ib-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    padding: 0 0 20px;
}

.image-buttons-module .ib-title {
    font-size: 2rem;
    line-height: 38px;
    font-family: "Roboto Condensed", serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primaryColour);
}

.image-buttons-module .ib-text {
    text-align: center;
    font-size: 1.125rem;
}

.image-buttons-module .ib-button {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

/*Photo Gallery*/
.photo-gallery-module {
    padding: 20px 0;
}

.photo-gallery-module>div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-gallery-module .pg-items {
    display: flex;
    gap: 20px;
}

.photo-gallery-module .pg-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.photo-gallery-module .pg-image {
    height: 310px;
    background-size: cover;
    transition: ease-in-out all .3s;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.photo-gallery-module .pg-button {
    position: absolute;
    height: 80px;
    width: 80px;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    opacity: 0;
    z-index: 10;
    transition: ease-in-out all .3s;
    cursor: pointer;
}

.photo-gallery-module .pg-button::before {
    content: "";
    height: 38px;
    width: 3px;
    background: #FFF;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.photo-gallery-module .pg-button::after {
    content: "";
    height: 3px;
    width: 38px;
    background: #FFF;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.photo-gallery-module .pg-image-container:hover .pg-image {
    transform: scale(1.1);
}

.photo-gallery-module .pg-image-container:hover .pg-button {
    opacity: 1;
}


/*Animation*/

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, .6);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}


/*Custom Button*/

.content_wrap :is(.btn_p, .btn_s) {
    padding: 14px 28px;
    display: inline-block;
    font-size: 1.125rem;
    margin: 5px 10px 5px 0;
    transition: ease-in-out all .3s;
    line-height: 24px;
    border: 2px solid;
    font-weight: bold;
}

.content_wrap .btn_p {
    border-color: #071b3a;
    background: #071b3a;
    color: #fff;
}

.content_wrap .btn_p:hover {
    background: #fff;
    color: #071b3a;
}

.content_wrap .btn_s {
    border-color: #071b3a;
    color: #071b3a;
    background: #fff;
}

.content_wrap .btn_s:hover {
    background: #071b3a;
    color: #fff;
}

.back-to-top-wrap {
    background: #F8F8F9;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
}

.back-to-top-wrap a {
    background: #fff;
    line-height: 40px;
    padding: 0 13px;
    font-size: 1rem;
    text-decoration: underline;
}

.sr-alert {
    position: fixed;
    left: 100%;
}

@media (min-width:1600px) {
    .container {
        max-width: 1560px;
    }
}


/*---------LARGE DESKTOP < 1199px---------*/

@media (min-width:1200px) {

    .mobile:not(.desktop-large),
    .tablet:not(.desktop-large),
    .desktop:not(.desktop-large) {
        display: none !important;
    }

    .content_wrap {
        min-height: 600px;
    }
}


/*---------DESKTOP < 1199px---------*/

@media (min-width: 992px) and (max-width:1199px) {

    .mobile:not(.desktop),
    .tablet:not(.desktop),
    .desktop-large:not(.desktop) {
        display: none !important;
    }

    .block-layout-module .layout-inner {
        width: 100%;
    }

    .block-layout-module .layout-image {
        align-items: flex-start;
    }
}


@media (min-width: 992px) {
    .transparent-header .header-wrap {
        background: var(--headerColourOpacity);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

}


/*---------Tablet & Mobile---------*/

@media (max-width:991px) {

    /* ----- SITE HEADER ----- */
    .top-wrap>div,
    .header-wrap>div {
        width: 100%;
        max-width: none;
    }

    /* -- HEADER WRAP -- */

    header .logo a {
        height: 100%;
    }

    header .logo img {
        max-height: 120px;
    }

    .header-wrap {
        height: 140px;
    }
    
    .sticky header .logo img {
        max-height: 80px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 1002;
        overflow: hidden;
    }

    .menu-toggle>div {
        width: 100%;
        height: 3px;
        border-radius: 5px;
        background: #fff;
        transition: 0.2s ease-in-out all;
    }

    body.gallery .menu-toggle>div {
        background: #fff;
    }


    .menu-toggle.active>div {
        transform: rotate(-45deg);
        position: absolute;
        top: calc(50% - 1.5px);
    }

    .menu-toggle.active>div.mid {
        opacity: 0;
    }

    .menu-toggle.active>div.btm {
        transform: rotate(45deg);
    }

    /* ----- MOBILE MENU ----- */
    .mobile-menu-overlay {
        width: 100vw;
        height: 100%;
        background: #1D1D1DE6;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        opacity: 0;
        pointer-events: none;
        transition: 0.2s ease-in-out all;
    }

    .mobile-menu-overlay.active {
        display: block;
        z-index: 1000;
        opacity: 1;
        pointer-events: initial;
    }

    .mobile-menu-wrap {
        width: 100%;
        background: var(--mainColour);
        padding: 10px;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        right: -50%;
        opacity: 0;
        transition: 0.2s ease-in-out all;
    }

    .mobile-menu-overlay.active .mobile-menu-wrap {
        right: 0;
        opacity: 1;
    }

    header .menu-wrap.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 120px;
        width: 60%;
        background: var(--mainColour);
        padding: 0px 0;
        height: auto;
        z-index: 1001;
    }
    
    .sticky header .menu-wrap.active {
        top: 100px;
    }

    .main-menu-wrap {
        flex-direction: column;
        gap: 0;
    }

    header .menu-top {
        display: flex;
        align-items: center;
        height: 120px;
        width: 100%;
        gap: 5px;
        padding: 0 10px;
    }

    header .menu-wrap.active .main-menu-wrap {
        padding: 0;
        flex-direction: column;
        width: 100%;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu {
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 0 10px;
        border-bottom: 1px solid #ffffff20;
        width: 100%;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li>a {

        line-height: 18px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 600;
        color: #fff;
        border: 0;
        text-transform: capitalize;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li.has-sub-items>a:after {
        display: none;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li.has-sub-items>a>span {
        content: "";
        width: 30px;
        height: 30px;
        background: url(../images/chevron-down-white.svg) no-repeat center;
        transition: 0.2s ease-in-out all;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li.has-sub-items.active>a>span {
        transform: scale(-1, -1);
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li>ul {
        display: none;
        width: 100%;
        list-style: none;
        padding: 0 10px 10px;
        margin: 0;
        box-sizing: border-box;
        position: relative;
        top: initial;
        left: initial;
        right: initial;
        background: none;
        box-shadow: none;
        border: 0;
        z-index: 1;
        gap: 5px;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li.active>ul {
        display: flex;
        flex-direction: column;
        opacity: 1;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li>ul>li {
        padding: 0;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li>ul>li>a {
        font-size: 1rem;
        color: #fff;
        font-weight: 400;
        text-transform: capitalize;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li>ul>li>ul {
        display: none;
    }

    header .menu-wrap.active .main-menu-wrap .main-menu>li>ul>li.active>ul {
        box-shadow: none;
        display: flex;
        flex-direction: column;
        opacity: 1;
        width: 100%;
        list-style: none;
        padding: 0 10px 10px;
        margin: 0;
        box-sizing: border-box;
        position: relative;
        top: initial;
        left: initial;
        right: initial;
        background: var(--accentColour);
        border: 0;
        z-index: 1;
        gap: 5px;
    }

    .page-menu {
        list-style: none;
        padding: 10px;
        margin: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .page-menu>li {
        padding: 0;
        margin: 0;
        font-size: .875rem;
    }

    .page-menu>li>a {
        color: #fff;
        text-decoration: none;
        height: 30px;
        display: flex;
        align-items: center;
    }

    .page-menu>li ul {
        display: none;
    }

    .close-menu {
        margin: 20px 20px 20px auto;
        display: flex;
        align-items: center;
        height: 30px;
        font-size: .75rem;
        text-decoration: underline;
        color: #fff;
    }

    .footer-container {
        flex-wrap: wrap;
        padding: 30px 10px 0;
    }

    .top-wrap {
        position: relative;
        z-index: 1001;
    }

    /* ----- MODULES ----- */
    /* -- Fullscreen Gallery -- */
    .flex-direction-nav {
        display: none;
    }

    .flex-control-paging {
        left: 0;
        width: 100%;
        padding: 0 10px;
    }

    .flex-direction-nav li {
        left: 0;
    }

    .flex-direction-nav li.flex-nav-next {
        right: 0;
    }

    .footer-container .footer-col:last-child {
        display: flex;
        padding-left: 30px;
        gap: 30px;
        margin: 0 0 40px;
    }

    .footer-col .footer-logo {
        max-height: 90px;
    }

    .footer-social {
        gap: 15px;
        padding: 20px 0;
    }

    .footer-cta {
        height: 80px;
        font-size: 1.125rem;
        gap: 20px;
        padding-left: 10px;
    }

    .footer-cta a.call::before {
        width: 20px;
        height: 20px;
        background-size: contain;
    }

    .footer-col-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-menu>li>a {
        font-size: .8125rem;
    }

    /*Layout Module*/
    .block-layout-module {
        gap: 0;
    }

    .block-layout-module .layout-block {
        flex-direction: column;
        padding: 0;
        gap: 24px;
    }

    .block-layout-module :is(.layout-image, .layout-content) {
        width: 100%;
    }

    .block-layout-module .layout-image {
        justify-content: center !important;
    }

    .block-layout-module .layout-inner {
        width: 100%;
        padding: 0 10px 24px;
        gap: 20px;
        align-items: center;
    }

    .block-layout-module .layout-heading {
        align-items: center;
    }

    .block-layout-module .layout-heading h1 {
        font-size: 1.375rem;
        line-height: 22px;
        padding: 0;
    }

    .block-layout-module .layout-content :is(p, li) {
        font-size: .875rem;
        line-height: 26px;
        padding: 0;
        margin: 0;
        text-align: center;
    }


    /*Image Button*/
    .image-buttons-module .ib-items {
        gap: 15px;
    }

    .image-buttons-module .ib-title {
        font-size: 1.75rem;
        line-height: 34px;
    }

    .image-buttons-module .ib-items.more-than-three .ib-image {
        height: 167px;
    }

    .image-buttons-module .ib-image {
        height: 220px;
    }

    .photo-gallery-module .pg-image {
        height: auto !important;
        aspect-ratio: 1/1;
    }
}


/*---------TABLET < 959px---------*/

@media (min-width: 768px) and (max-width:991px) {

    .mobile:not(.tablet),
    .desktop:not(.tablet),
    .desktop-large:not(.tablet) {
        display: none !important;
    }

    .tablet-hidden {
        display: none !important;
    }

    .menu-toggle-wrap {
        margin-right: 40px;
    }

    /*Text Module*/
    .text_module_before {
        left: calc(-768px / 2);
    }

    .header-wrap>div>a {
        margin-left: auto;
    }

    /*Layout Block*/
    .block-layout-module .layout-inner {
        width: 100%;
        padding: 0 20px 30px;
    }

    .block-layout-module .layout-block {
        align-items: flex-start;
    }

    .block-layout-module .layout-buttons>a.layout-link {
        background: #018185;
    }

    /*Image Button*/
    .image-buttons-module .ib-items {
        gap: 15px;
    }

    .image-buttons-module .ib-title {
        font-size: 1.75rem;
        line-height: 34px;
    }

    .image-buttons-module .ib-items {
        gp: 10px;
    }

    .image-buttons-module .ib-items.more-than-three .ib-image {
        height: 120px;
    }

    .image-buttons-module .ib-image {
        height: 164px;
    }

    /*Photo Gallery*/
    .photo-gallery-module>div {
        gap: 10px;
    }

    .photo-gallery-module .pg-items {
        gap: 10px;
    }

}

@media (max-width: 767px) {

    .tablet:not(.mobile),
    .desktop:not(.mobile),
    .desktop-large:not(.mobile),
    .mobile-hidden {
        display: none !important;
    }

    h1 {
        font-size: 2.125rem;
        line-height: 56px;
    }

    h2 {
        font-size: 1.875rem;
        line-height: 52px;
    }

    h3 {
        font-size: 1.75rem;
        line-height: 50px;
    }

    h4 {
        font-size: 1.625rem;
        line-height: 48px;
    }

    h5 {
        font-size: 1.5rem;
        line-height: 46px;
    }

    h6 {
        font-size: 1.5rem;
        line-height: 44px;
    }

    p {
        font-size: .875rem;
        line-height: 24px;
        padding: 5px 0 15px 0;
    }

    img {
        max-width: 100%;
        vertical-align: middle;
    }

    .top-wrap>div {
        justify-content: center;
    }

    .header-wrap {
        height: 120px;
    }

    header .logo img {
        max-height: 100px;
    }



    header .menu-wrap.active {
        width: 100%;
    }

    .footer-col {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 auto;
        min-height: 300px;
    }

    .footer-col .footer-menu,
    .footer-contact {
        padding-bottom: 20px;
    }

    .footer-col:last-child {
        padding: 20px 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        border: 0;
        max-width: 100% !important;
        width: 100% !important;
    }

    .footer-col:last-child .footer-col-title {
        font-size: 1rem;
    }

    .footer-container .footer-col:last-child {
        padding: 20px;
        width: 100%;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .footer-cta {
        padding-left: 20px;
        align-self: flex-start;
    }

    .footer-cta a.call:before {
        display: none;
    }

    
    .footer-col:last-child .d-flex{
        flex-direction: column;
        align-items: center;
        gap: 0 !important;
    }

    .byline-container {
        align-items: center;
    }

    .byline-menu {
        flex-wrap: wrap;
        height: auto;
    }

    .byline-menu li {
        margin: 5px 0;
    }

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

    /*Fullscreen Gallery*/
    .full-width-fix .flex-caption.halign-center {
       
        right: initial;
        max-width: 100%;
    }

    .full-width-fix .flex-caption.halign-left {
        left: calc(50% - 150px);
        right: initial;
        width: 300px;
        max-width: 100%;
    }

    .full-width-fix .flex-caption.halign-right {
        left: calc(50% - 150px);
        right: initial;
        width: 300px;
        max-width: 100%;
    }

    .flex-caption>div.background {
        padding: 20px;
    }

    .flex-direction-nav li {
        width: 32px;
        height: 32px;
    }

    .flex-direction-nav li a:after {
        width: 10px;
        height: 14px;
        background-size: contain;
    }

    /*Contact Form*/
    .contact-form {
        padding: 20px 10px;
    }

    .contact-form .cf_header {
        font-size: 1.5rem;
    }

    .contact-form .cf-text {
        font-size: .875rem;
        margin-bottom: 10px;
    }

    .contact-form label {
        font-size: .875rem;
    }

    .contact-form .cf-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-form .cf-buttons a {
        margin-left: auto;
    }

    /*Text Module*/
    .text_module_before {
        left: calc(-320px / 2);
    }



    /*Photo Gallery*/
    .photo-gallery-module>div {
        gap: 10px;
    }

    .photo-gallery-module .pg-items {
        gap: 10px;
        flex-direction: column;
    }

    .photo-gallery-module .pg-image {
        height: 300px;
    }

    /* ----- Modules----- */

    /*Image Button*/
    .image-buttons-module .ib-items {
        gap: 30px;
        flex-direction: column;
    }

    .image-buttons-module .ib-items.more-than-three .ib-image {
        height: 207px;
    }

    .image-buttons-module .ib-image {
        height: 207px;
    }

    
    .footer-cta {
        margin-left: -20px;
    }
    .footer-cta a {
        gap: 5px;
    }
    .footer-cta a:after {
        background-size: contain;
        width: 12px;
        height: 12px;
    }
}