*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}

.display-inline * {
    display: inline-block;
}

.aria-hide {
    display: none!important;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

#skip a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    font-size: 14px;
}

#skip a:focus {
    position:static;
    width:auto;
    height:auto;
}

#g-signin2 {
    width: fit-content;
    margin: auto;
}

div[data-lexical-layout-container="true"] {
    grid-gap: 2rem;
}

/* Variables */
:root {
    --primary: #492b47;
    --primary10: #492b471A;
    --primary20: #492b4733; /* 20% opcaity */
    --primary-accent: ;
    --secondary: #000;
    --secondary-accent: ;
    --tertiary: ;
    --dark-font-color: #3F3F3F;
    --light-font-color: #ffffff;
    --dark-grey: #3F3F3F;
    --medium-grey: #E1E1E1;
    --light-grey: #EFEFEF;
    --heading-font: brandon-grotesque, sans-serif;
    --body-font: source-sans-pro, sans-serif;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

/* Background colours */
.bg-primary {
    background-color: var(--primary);
    color: white;
}

.bg-secondary {
    background-color: var(--secondary);
    color: white;
}

.bg-light-grey {
    background-color: var(--light-grey);
}

/* TYPOGRAPHY
Using the Perfect Fifth factor from https://www.gridlover.net/try
*/
html {
    font-size: 16px;
    line-height: 21px;
    scroll-behavior: smooth;
}

@media (min-width: 99em) {
    html {
        font-size: 18px;
    }
}

@media (min-width: 125em) {
    html {
        font-size: 20px;
    }
}

body {
    max-width: 2560px;
    padding: 0;
    margin: 0 auto;
    font-family: var(--body-font);
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-font-color);
    display: flex;
    flex-direction: column;
}

body.lb-disable-scrolling {
    overflow: hidden;
}

.wrapper {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: var(--font-medium);
}


/* Font size within main content */
.resize-text h1 {
  font-size: 3.25em;
}

.resize-text h2 {
  font-size: 2.5em;
}

.resize-text h3 {
  font-size: 1.5em;
}

.resize-text h4,
.resize-text h5{
  font-size: 1em;
}

h1,
.h1 {
    font-style: normal;
    font-size: 3.25rem;
    margin-top: 1.3125rem;
    margin-bottom: 2.625rem;
}


h2,
.h2 {
    font-size: 2.5rem;
    margin-top: 1.3125rem;
    margin-bottom: 1.3125rem;
}

h3,
.h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

h4,
.h4 {
    font-size: 1.2rem;
    margin-top: 1.3125rem;
    margin-bottom: 0.75rem;
}

h5,
.h5 {
    font-size: 1rem;
    margin-top: 1.3125rem;
    margin-bottom: 0.75rem;
}


@media all and (max-width: 991px) {
    h1,
    .h1 {
        font-size: 2rem;
    }

    h2,
    .h2 {
        font-size: 1.75rem;
        margin: 1rem 0;
    }

    h3,
    .h3,
    .page-content h3 {
        font-size: 1.375rem;
        margin: 1rem 0;
    }

    .resize-text h1 {
        font-size: 2em;
    }

    .resize-text h2 {
        font-size: 1.75em;
    }

    .resize-text h3 {
        font-size: 1.375em;
    }

    .editor details summary h3 {
        margin: 0;
    }

    .page-template > .row {
        row-gap: 1rem;
    }
}

p,
ul,
ol,
pre,
blockquote {
    margin-top: 0rem;
    margin-bottom: 1.3125rem;
}

ul ul,
ol ol,
ul ol,
ol ul {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

h1+h2 {
    margin-top: 0;
}

p {
    line-height: 1.6;
}

hr {
    border: 0;
    height: 1px;
    background-color: #e6e6e6;
    margin: 2rem 0;
    clear: both;
}

img {
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

a {
    text-decoration: none;
}

blockquote {
    background: var(--light-grey);
    border-left: 5px solid var(--primary);
    border-radius: 5px;
    padding: 2rem;
    margin: 0;
    position: relative;
    margin-bottom: 1rem;
}

blockquote p:last-of-type {
    margin-bottom: 0;
}

ul {
    padding-left: 0;
    list-style: none;
}

strong {
    font-weight: var(--font-bold);
}

section {
    margin-bottom: 2.5rem;
}

figcaption, figurecaption {
    font-size: .85rem;
    text-align: left;
    margin: 0;
    padding: .5rem;
    display: block;
}

figure {
    margin-left: 0;
    margin-right: 0;
}

figure:has(figurecaption) {
    display: flex;
    flex-direction: column;
}

figure.image img {
    width: 100%;
}

.allow-newlines {
    white-space: pre-wrap;
}

.no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

.mt0 {
    margin-top: 0 !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.auto-margin {
    margin: auto;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.flex-row-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.flex-row-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

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

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

.less-gap {
    margin-left: -.5rem;
    margin-right: -.5rem;
}

.less-gap > * {
    padding-left: .5rem;
    padding-right: .5rem;
}

.content {
    width: 100%;
}

.font-bold {
    font-weight: var(--font-bold);
}

.align-right {
    margin-left: auto;
}

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

.text-uppercase {
    text-transform: uppercase;
}

.row {
    row-gap: 2rem;
}

.row.less-gap {
    row-gap: 1rem;
    column-gap: 0;
}

@media (min-width: 75em) {
    .mobile-only {
        display: none!important;
    }
}

/* Layout */
.content-container,
.container.pad-side,
.side-container {
    padding: 0 1.5rem;
}

.container.pad-side {
    margin: 0 1rem;
}

@media all and (min-width: 48em) {
    .content-container,
    .container.pad-side {
        padding: 0 5%;
        width: auto;
    }
}

@media all and (min-width: 62em) {
    .side-container {
        padding-left: 0;
        padding-right: 5%;
    }
}

/* BUTTON & LINKS */
a {
    transition: all .3s ease-in-out;
    color: var(--dark-font-color);
}

a:hover,
a:focus {
    filter: brightness(0.9)
}

.btn {
    display: block;
    width: fit-content;
    font-family: var(--heading-font);
    font-weight: var(--font-medium);
    padding: .55rem 1.25rem;
    border-radius: 100px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: white!important;
}

.btn-secondary {
    color: white;
    background-color: var(--secondary);
}

.btn-tertiary {
    color: white;
    background-color: var(--tertiary);
}

.btn-link {
    font-weight: var(--font-medium);
    text-transform: uppercase;
    font-family: var(--heading-font);
}

.circle-arrow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    border-radius: 50%;
    border: 2px solid var(--primary-accent);
    width: 45px;
    height: 45px;
}

.circle-arrow i {
    color: var(--primary-accent);
}

@media (min-width: 75em) {
    .btn {
        padding: .65rem 1.75rem;
    }
}

/* INPUT FIELDS */
input:-webkit-autofill,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:focus {
    border: none;
    -webkit-text-fill-color: none;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

.input-field input[type="text"],
.input-field input[type="password"],
.input-field input[type="date"],
.input-field input[type="tel"],
.input-field input[type="email"],
input[type="search"],
textarea {
    width: 100%;
    box-sizing: border-box;
    border: solid 1px #e4e4e4;
    transition: 0.5s;
    padding: .75rem;
    border-radius: 10px;
}

textarea {
    min-height: 200px;
    font-family: var(--body-font);
}

input[type="submit"] {
    font-size: 1rem;
    font-family: var(--body-font);
    background: var(--primary);
    border-radius: 5px;
    color: white!important;
    border: 0;
    font-weight: var(--font-bold);
    cursor: pointer;
    padding: .45rem 1.25rem .55rem;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.input-checkbox {
    display: flex;
    gap: 5px;
    align-items: center;
}

.input-field {
    margin-bottom: .5rem;
}

.input-field label {
    margin-bottom: .5rem;
    display: block;
}

.input-buttons {
    margin-top: 1rem;
    display: block;
    width: fit-content;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select {
    background-color: var(--medium-grey);
    border: none;
    border-radius: 5px 0 0 5px;
    transition: 0.5s;
    padding: 0.75rem 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
}

.custom-select-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

/* Google Translate*/
#google_translate_element * {
    font-family: var(--body-font);
}

#google_translate_element a {
    font-weight: var(--font-bold);
}

.goog-te-gadget .goog-te-combo {
    margin: 0 0 1rem !important;
    border: none;
    width: 100%;
    background: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--dark-font-color) 50%), linear-gradient(135deg, var(--dark-font-color) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 5px), calc(100% - 15px) calc(1em + 5px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: .75rem;
    font-family: var(--body-font);
    border-radius: 5px;
}

#google_translate_element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 .5rem;
}

/* 404 Page */
.container.pad-side>.row>h1 {
    width: 100%;
    margin-bottom: .5rem;
}

.container.pad-side>.row {
    row-gap: 0;
}

.error-page-container .input-buttons {
    margin: auto;
}


/* Modal */
/* General Styling */
.main-content-wrapper {
	margin: auto;
}

.modal-wrapper {
    display: none;
    position: fixed;
    z-index: 700;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(67, 67, 69, 0.9);
    margin: 0!important;
}

.modal-info {
	margin: 0 auto;
    width: 90%;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    padding: 2rem 1rem;
	max-height: 85dvh;
    background-color: var(--light-grey);
    color: var(--dark-font-color);
    border-radius: 5px;
}

.close-icon-wrapper {
    position: absolute;
    z-index: 100;
    top: 0;
    color: var(--light-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem;
    font-weight: var(--font-bold);
}

.close-icon-wrapper .close-icon {
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-trigger {
    cursor: pointer;
    transition: all .3s ease-in-out;
}

@media (min-width: 62em){
	.modal-info {
		width: 40%;
		top: 40%;
        transform: translateY(-50%);
        padding: 2rem;
	}

    .contact-modal .modal-info {
        top: 50%;
        width: 50%;
    }

    .close-icon-wrapper .close-icon {
        font-size: 2rem;
    }
}

/* Header */
header .input-field {
    margin-bottom: 0;
}

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

.site-logo {
    width: 100%;
    max-width: 150px;
    object-fit: contain;
    margin: 0 0 .5rem .5rem;
}

.header-nav-app {
    font-weight: var(--font-medium);
    padding: .75rem 1rem 1.5rem 7rem;
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
    background-image: url('/images/f8900026-87a1-4dd7-928a-beb290de35e0');
    justify-content: flex-end;
    gap: .75rem;
}

.header-nav-app i, .header-nav-app a {
    color: white;
}

.sub-li {
    margin-bottom: .5rem;
}

.sub-li:last-of-type {
    margin-bottom: 0;
}

.search-row {
    position: relative;
}

.search-row label {
    display: none;
}

.search-row i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: .5rem;
}

.input-field input[type="text"].search-box {
    padding-left: 2rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
}

.input-field input[type="text"].search-box::placeholder {
    color: white;
}

@media (max-width: 1199px) {
    .main-nav {
        display: none;
    }

    .top-header .staff-link,
    .header-contact-social {
        display: none;
    }
}

@media (min-width:75em) {
    .site-logo {
        max-width: 200px;
        margin: 0;
    }
    .top-header {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .top-header .header-contact-social {
        gap: .75rem;
    }

    .header-nav-app {
        display: flex;
        align-items: center;
        color: white;
        position: relative;
        gap: 1rem;
        padding: .75rem 2rem .75rem 10rem;
    }

    .main-header {
        padding: 0 2rem;
        align-items: baseline;
        margin-top: -2.75rem;
    }

    .main-nav-ul {
        display: flex;
        flex-wrap: wrap;
        column-gap: 1.5rem;
        margin-bottom: 0;
        justify-content: flex-end;
    }

    .add-icon {
        font-size: .75rem;
        color: var(--primary);
    }

    .main-nav {
        display: block!important;
    }

    .main-dropdown, .no-dropdown {
        position: relative;
        padding-bottom: .5rem;
    }

    .main-dropdown-menu {
        display: block;
        transform: scaleY(0);
        transition: all .3s ease;
        transform-origin: top;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 80;
        background: var(--light-grey);
        padding: 1rem;
        min-width: 300px;
        opacity: 0;
    }

    .main-dropdown-desktop:nth-last-of-type(2) .main-dropdown-menu,
    .main-dropdown-desktop:last-of-type .main-dropdown-menu {
        left: auto;
        right: 0;
    }

    .main-dropdown-menu.multi-col {
        column-count: 2;
        min-width: 500px;
    }

    .main-dropdown:hover .main-dropdown-menu {
        transform: scaleY(1);
        opacity: 1;
    }

    .nav-li {
        margin-bottom: .5rem;
    }

    .nav-li:last-of-type {
        margin-bottom: 0;
    }
}

/* Header - collapsible menu */
.account-icon {
    width: fit-content;
}
.main-nav {
    display: none;
}
.collapsible-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    font-size: 1rem;
    height: auto;
    padding: 1.5rem;
    width: 100%;
    background: var(--light-grey);
    color: var(--dark-font-color);
    min-height: 100dvh;
}

.collapsible-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible-menu a {
    color:  var(--dark-font-color);
}

.collapsible-menu a:hover, .collapsible-menu a:focus {
    color: var(--primary-accent);
}

.collapsible-menu address {
    margin-bottom: .5rem;
}

.collapsible-menu .contact-row:last-of-type {
    margin-bottom: 1rem;
}

.collapsible-menu .staff-link {
    display: block;
    font-weight: var(--font-semibold);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 1.5rem;
    padding: 1rem;
    text-align: center;
    aspect-ratio: 1 / 1;
    background: var(--medium-grey);
    border-radius: 5px;
    color: var(--primary-accent);
}

.service-label {
    display: block;
    font-weight: var(--font-semibold);
    margin-top: 10px;
    color: var(--primary-accent);
    line-height: 1.2;
    text-align: center;
}

.service-slide {
    height: auto;
}

.modal-info .service-icon {
    background: var(--medium-grey);
    padding: 2rem 1rem 1.5rem;
    border-radius: 5px;
    font-size: 1.75rem;
}

.modal-info .service-label {
    margin-top: .5rem;
}

.links-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.links-title .btn-link {
    color: var(--primary-accent);
}

.links-swiper {
    margin-bottom: 1rem;
    margin-right: -1.5rem;
}

.cm-edit {
    margin-bottom: .5rem;
}

.cm-edit img {
    width: 30px;
}

/* Mobile Main Nav */
.menu-icon-wrapper {
    position: relative;
    z-index: 501;
}

.menu-trigger, .menu-close-icon {
    font-size: 1.2rem;
    cursor: pointer;
}

/* .menu-trigger.active {
    color: var(--dark-font-color);
} */

.mobile-main-nav {
    margin-top: 1rem;
}

.mobile-main-nav .main-dropdown .main-dropdown-menu {
    display: block;
    transform: scaleY(0);
    transition: transform .3s ease-in-out;
    transform-origin: top center;
    height: 0;
}

.mobile-main-nav .main-dropdown.show .main-dropdown-menu {
    transform: scaleY(1);
    height: auto;
    padding: .5rem 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.mobile-main-nav a {
    font-weight: var(--font-bold);
}

.mobile-main-nav .nav-link {
    justify-content: space-between;
}

.mobile-main-nav .main-li {
    margin-bottom: .75rem;
}

.mobile-main-nav .main-li:last-of-type {
    margin-bottom: 0;
}

/* Custom Styling for Useful Links Modal */
.usefullinks-modal .modal-info {
	overflow: auto;
}

.usefullinks-modal .useful-links-wrapper {
	display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 1.5rem;
    margin-bottom: 0;
    margin-top: 0;
}

.usefullinks-modal .service.service-link {
	width: calc((100% - 1rem) / 2);
    text-align: center;
    margin-top: 0;
}

.usefullinks-modal .service.service-link a {
    color: var(--dark-font-color);
    padding: 0;
}

.usefullinks-modal .service-label {
    font-size: 1.2rem;
}

.usefullinks-modal .service.service-link a:hover svg path {
    transition: all .3s ease-in-out;
}

.usefullinks-modal .service.service-link a:hover,
.usefullinks-modal .service.service-link a:focus {
    color: var(--primary);
    filter: none;
}

.usefullinks-modal .service.service-link a:hover span,
.usefullinks-modal .service.service-link a:focus span {
    border-bottom: none;
}

.usefullinks-modal .service.service-link a:hover svg path,
.usefullinks-modal .service.service-link a:focus svg path {
    fill: var(--primary)
}

address {
    font-style: normal;
}

.menu-social-links {
    margin-top: .5rem;
}

@media (min-width: 48em) {
    .usefullinks-modal .modal-info {
		width: 90%;
        max-width: 1200px;
	}

    .usefullinks-modal .service-links-wrapper {
		row-gap: 2rem;
        column-gap: 2rem;
	}

	.usefullinks-modal .service.service-link {
		width: calc((100% - 5rem) / 6);
	}
}

@media (min-width: 75em) {
    .collapsible-menu {
        width: 25%;
        left: auto;
        right: 0;
        max-width: 25rem;
        border-radius: 0 0 0 10px;
        min-height: unset;
        padding: 1.25rem 1.5rem;
    }

    .mobile-main-nav {
        display: none;
    }
}

/* Footer */
footer {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url(/images/9d4e9633-7706-4ce9-9122-3ef0801db079);
    color: var(--light-grey);
    padding-top: 13rem;
    margin-top: 0;
    position: relative;
    z-index: 2;
    font-family: var(--heading-font);
}

.footer-info {
    font-weight: var(--font-medium);
    line-height: 2;
}

.footer-info address {
    font-style: normal;
}

.footer-top {
    padding-bottom: 2rem;
}

footer a {
    color: white;
}

footer .contact-row {
    margin-top: 1rem;
}

.footer-ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-family: var(--heading-font);
}

.footer-ack {
    font-style: italic;
    font-family: var(--body-font);
    font-weight: var(--font-semibold);
}

.footer-ack p {
    margin-bottom: 0;
    line-height: 2;
}

.copyright {
    padding: 1rem 1.5rem;
    background-color: var(--primary-accent);
    font-size: .9rem;
}

@media (min-width: 48em) {
    .copyright {
        display: flex;
        justify-content: space-between;
        padding: 1rem 2rem;
    }

    .footer-top {
        padding-bottom: 4rem;
    }
}

@media (min-width: 62em) {
    footer {
        padding-top: 15%;
    }
}


/* Home */
.home section {
    margin-bottom: 0;
}

.banner-slide .content-container {
    position: relative;
    z-index: 1;
}
.masked {
    background-color: var(--primary);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-mask-image: url(/images/882c539c-9bc9-4d2a-87f5-385a0b80394e);
    mask-image: url(/images/882c539c-9bc9-4d2a-87f5-385a0b80394e);
    mask-repeat: no-repeat;
    mask-position: top center;
    mask-size: cover;
    width: 100%;
    aspect-ratio: 1920 / 900;
    max-height: 88vh;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.masked::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.banner-content {
    min-height: 192px;
    position: relative;
}

.banner-slide p,
.banner-slide h2 {
    color: white;
}

.banner-subtitle {
    margin-bottom: .5rem;
}

.banner .btn {
    margin-top: 2rem;
}

.swiper-button-next:after, .swiper-button-prev:after {
    content: none;
}

.banner-button-next,
.banner-button-prev {
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    color: white;
    bottom: 0;
    top: unset;
    left: unset;
}

.banner-button-next {
    right: 0;
}

.banner-button-prev {
    right: 55px;
}

.banner-quicklink-item {
    text-align: center;
    color: white;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(239, 239, 239, 0.25);
    box-shadow: 0px 16px 40px 0px rgba(112, 144, 176, 0.16);
    backdrop-filter: blur(2px);
    margin-bottom: 1rem;
    font-weight: var(--font-medium);
    font-family: var(--heading-font);
}

.banner-quicklink-item:last-of-type {
    margin-bottom: 0;
}

.banner-quicklink-item:hover,
.banner-quicklink-item:focus {
    filter: none;
    background-color: var(--primary-accent);
}

.land-ack {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url(/images/a8e1a125-f26a-4b51-99eb-132dd77f1992);
    color: white;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: -3%;
    position: relative;
    z-index: 3;
}

.land-ack p {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: var(--font-semibold);
    line-height: 1.8;
}

.about {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url(/images/4189b3d3-2100-48ad-bb06-d58959afbcd2);
    color: white;
    padding-top: 2rem;
    padding-bottom: 3rem;
    margin-top: -3%;
    position: relative;
    z-index: 2;
}

.about-item:first-of-type {
    margin-bottom: 2rem;
}

.values-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.value-item {
    width: calc(50% - .5rem);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary-accent);
    font-weight: var(--font-semibold);
    aspect-ratio: 1/1;
    gap: .5rem;
    font-size: 1.375rem;
}

.value-item i {
    font-size: 1.75rem;
}

@media (min-width: 62em) {
    .banner-content {
        min-height: unset;
    }

    .banner-quicklink-item {
        width: 80%;
        margin-left: auto;
        padding: 2rem;
    }

    .banner-button-next,
    .banner-button-prev {
        bottom: 0;
    }

    .banner-content {
        position: relative;
        min-height: 260px;
    }

    .value-item {
        width: calc((100% - 2rem) /  3);
    }

    .about {
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .land-ack p,
    .about-item p {
        font-size: 22px;
    }

    .land-ack {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 75em) {
    .banner-quicklink-item {
        width: 60%;
    }

    .masked {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Home - News */
.title-wrapper {
    margin-bottom: 1rem;
    column-gap: 1rem;
    row-gap: .5rem;
}
.home-news {
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url(/images/9c512ad7-8cb6-4170-8766-3d21dda8bd4c);
    color: white;
    padding-top: 3rem;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

.home-news .btn-link {
    color: white;
}

.news-item {
    background: white;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0px 16px 40px 0px rgba(112, 144, 176, 0.16);
	transition: all .3s ease-in-out;
	margin-bottom: 1.5rem;
    height: fit-content;
    display: block;
}

.news-item .news-item-inner {
	display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    height: 100%;
    gap: 1.25rem;
}

.news-item.news-1 .news-item-inner {
	justify-content: flex-start;
}

.news-item:hover,
.news-item:focus {
	filter: brightness(90%);
}

.news-title {
	color: var(--dark-font-color);
	font-weight: var(--font-medium);
}

.home .news-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: calc(100% - 50px);
}

.format-date-news {
    font-family: var(--heading-font);
    font-weight: var(--font-medium);
    margin-top: .5rem;
}

.news-desc {
	margin: .75rem 0;
}

.news-text .format-card-longer {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
    color: var(--dark-font-color);
}

.news-text a.flex-row-between {
    flex-wrap: nowrap;
}

.cover-image {
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 10px;
	background: var(--light-grey);
	position: relative;
    aspect-ratio: 740 / 211;
}

.cover-image img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	aspect-ratio: 740/211;
}

.news-1 .cover-image img {
	aspect-ratio: unset;
}

.cover-image .cover-logo {
    width: 40%;
	max-height: 150px;
    margin: 2rem auto;
    display: block;
	object-fit: contain;
    aspect-ratio: unset!important;
    height: auto!important;
}

.read-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
	color: var(--accent-1);
	font-family: var(--btn-font);
    font-weight: var(--font-semibold);
	margin-top: 1rem;
}

.read-more .format-date-news {
	color: var(--dark-font-color);
}

.home .news-item.news-1 .circle-arrow,
.home .news-item.news-2 .format-date-news, 
.home .news-item.news-3 .format-date-news,
.home .news-item.news-2 .format-card-longer, 
.home .news-item.news-3 .format-card-longer, 
.home .news-item.news-2 .read-more,
.home .news-item.news-3 .read-more {
	display: none;
}

.fb-wrapper {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    background: #006FCE;
    color: white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
}

@media (min-width: 48em){
	.news-item {
    	padding: 2rem;
	}
}

@media (min-width: 75em){
    .home-news {
        padding-top: 5%;
        margin-top: -3%;
    }
	.news-wrapper {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 1rem;
		grid-row-gap: 1rem;
	}
	
	.home .news-item {
		margin-bottom: 0;
        height: auto;
	}
	
	.news-1 { grid-area: 1 / 1 / 3 / 2; }
	.news-2 { grid-area: 1 / 2 / 2 / 3; }
	.news-3 { grid-area: 2 / 2 / 3 / 3; }
	
	.news-2 .cover-image, 
	.news-3 .cover-image {
		flex: 0 0 auto;
	}
	
	.news-1 .cover-image {
        overflow: hidden;
    	flex: 1;
	}
	
	.news-1 .news-text {
		flex: 0 0 auto;
	}
}

/* Home Events */
.home-events {
    margin-top: 3rem;
}
.home-events-query-wrapper {
    position: relative;
    margin-top: 1.5rem;
}

.home-events-query {
    padding-bottom: 4rem;
    z-index: 3;
    position: relative;
}

.event-item a {
    border-radius: 20px;
    background: white;
    box-shadow: 0px 16px 40px 0px rgba(112, 144, 176, 0.16);
    text-align: center;
    padding: 1.5rem 1rem;
    display: block;
    font-family: var(--heading-font);
    font-weight: var(--font-medium);
}

.event-item hr {
    margin: 1rem 0;
    background-color: var(--primary);
    height: 2px;
}

.event-week {
    color: var(--primary);
}

.event-day,
.event-title {
    font-weight: var(--font-bold);
}

.event-day {
    margin-top: .5rem;
}

.home-events-svg {
    width: calc(100vw);
    max-width: 2560px;
    height: auto;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

@media (min-width: 62em) {
    .home-events-query {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
        padding-bottom: 0;
    }

    .home-events-svg {
        position: relative;
        width: calc(100vw - .9rem);
        z-index: 2;
    }
}

@media (min-width: 99em) {
    .event-item a {
        padding: 3rem 1rem;
    }
}

/* Home - CTA */
.cta {
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url(/images/962a7674-900c-4f0a-9a51-c7e4ba2b6d6c);
    padding-top: 4rem;
    margin-top: -2rem;
    position: relative;
}

.cta-wrapper:first-of-type {
    margin-bottom: 2rem;
}

.cta-wrapper img {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 16/9;
}

.cta-content {
    gap: 1rem;
    margin-top: 1rem;
}

.cta .btn {
    position: relative;
    z-index: 5;
}

@media (min-width: 62em) {
    .cta {
        padding-top: 9%;
        margin-top: -6%;
    }

    .cta-content {
        gap: 1.5rem;
        margin-top: 0;
    }

    .cta-wrapper {
        display: flex;
        gap: 2rem;
        margin-bottom: 0;
    }

    .cta-image,
    .cta-content {
        width: calc(50% - 1rem);
    }

    .cta-wrapper:first-of-type {
        margin-bottom: 2rem;
    }

    .cta-wrapper:first-of-type .cta-content {
        order: -1;
    }
}

/* Subpage */
.page-header {
    padding: 4rem 1rem;
    margin: 0 1.5rem;
    border-radius: 5px;
}

.page-content p,
.page-content ul,
.page-content ol {
    margin-bottom: .5rem;
}

.page-content h2, 
.page-content h3,
.page-content h4, 
.page-content h5 {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.page-content iframe {
    border: 0;
    border-radius: 10px;
}

.page-content a {
    color: var(--primary-accent);
    text-decoration: underline;
}

.page-content .back-button {
    text-decoration: none;
}

.editor {
    margin-bottom: 2rem;
}

.editor figure:has(img[style*="float:right"]), 
.editor img[style*="float:right"] {
    margin-left: 1.25rem!important;
}

/* Font Sizer */
.change-font-size {
    padding: 0.5rem 1rem;
	margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 25px;
    background: var(--light-grey);
    width: fit-content;
}

.change-font-size a {
    display: inline-block;
    margin-left: 0.75rem;	
	cursor: pointer;
    text-decoration: none;
    font-weight: var(--font-semibold);
    color: var(--primary-accent);
}

@media(min-width:62em){
	.change-font-size {
		margin-top: 0;
	}

    .page-title-wrapper {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
}


/* Responsive Iframe for Embed Videos */
.responsive-iframe {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.embedly-card-hug {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0;
    max-width: 100% !important;
}

.embedly-card-hug iframe,
.responsive-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute !important;
    min-height: unset;
}

/* nested ordered list styling */
.editor-nested-listitem {
    list-style-type: none;
}
.editor-nested-listitem:before,
.editor-nested-listitem:after {
    display: none;
}

.editor-list-ol {
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}
.editor-list-ol > .editor-listitem:not(.editor-nested-listitem) {
    display: table;
    counter-increment: item;
    margin-bottom: 0.6em;
}
.editor-list-ol > .editor-listitem:not(.editor-nested-listitem):before {
    content: counters(item, '.') '. ';
    display: table-cell;
    padding-right: 0.6em;
}
.editor-listitem:not(.editor-nested-listitem) .editor-list-ol > .editor-listitem:not(.editor-nested-listitem) {
    margin: 0;
}
.editor-listitem:not(.editor-nested-listitem) .editor-list-ol > .editor-listitem:not(.editor-nested-listitem):before {
    content: counters(item, '.') ' ';
}
.editor-list-ol {
    padding: 0;
    margin: 0;
}

.page-content-inner ul,
.page-content-inner ol {
    list-style: revert;
    line-height: 1.8;
}

.page-content-inner ul {
    padding-left: 1rem;
}

.page-content-inner .editor-nested-listitem::marker {
    content: none;
}

.editor-nested-listitem {
    padding-left: 1rem;
}

.landing-template .page-content-inner {
    margin: 2rem 0;
}

.no-side-nav .page-content-inner {
    margin-top: 1rem;
}


@media (min-width: 62em) {
    .page-header {
        margin: 0 2rem;
    }

    .page-content-inner {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .no-side-nav .page-content-inner {
        margin-top: 3rem;
    }
}

/* Collapsible box - CK editor */
.collapsible-box {
	width: 100%;
	margin-bottom: 1rem;
}

.collapsible-box .material-icons {
	color: var(--primary);
	font-weight: var(--font-bold);
}

.collapsible-box-description { 
	display: none;
	margin: 1rem 0.5rem;
}

.collapsible-box-title {
    background-color: var(--light-grey);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: .5rem;
	margin: 0;
	cursor: pointer;
}

.collapsible-box-title i {
	margin-right: .5rem;
}

.collapsible-bottom-icon {
	cursor: pointer;
}

/* Collapsible boxes - lexcial */
.editor details summary {
    background-color: var(--light-grey);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: .5rem;
	margin: 0;
	cursor: pointer;
    transition: all .3s ease-in-out;
}

.editor details summary h3 {
    margin: 0;
}

.editor details summary i {
    color: var(--primary);
    margin-right: .5rem;
}

.editor details {
    margin-bottom: 1rem;
    transition: all .3s ease-in-out;
}

.editor div[data-lexical-collapsible-content]{
    padding: 1rem;
}


/* Side Navigation */
.sidebar {
    background: var(--primary-accent);
	color: white;
	padding: .75rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 20px;
}

.sidebar-wrapper a {
	color: white;
}

.nav-secondary {
	display: none;
	margin-top: 1rem;
}
         
.cookie {
    padding-bottom: 0.75rem;
}

.cookie i {
    font-size: 1rem;
}

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

.secondary-nav-item {
    padding-bottom: .5rem;
	transition: all .3s ease;
}

.secondary-nav-item:last-of-type {
	padding-bottom: 0;
}

.secondary-nav-item.active a {
    font-weight: var(--font-semibold);
}

.cookie:hover a,
.cookie:focus a,
.secondary-nav-item:hover a,
.secondary-nav-item:focus a{
	filter: none;
    text-decoration: underline;
}

.nav-secondary-ul {
    margin: 0 0 0 .5rem;
    text-transform: uppercase;
}

.current-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
	cursor: pointer;
}

@media (min-width: 62em){
	.nav-secondary {
		display: block!important;
		margin: unset;
	}

    .side-nav {
        position: sticky;
        top: 2rem;
    }

	.sidebar {
		padding: 1.5rem 2rem;
        margin-top: 2rem;
        border-radius: 0px 20px 20px 0;
        box-shadow: 0px 16px 40px 0px rgba(112, 144, 176, 0.16);
	}

	.current-page {
		display: none;
	}

    .secondary-nav-item {
        padding-bottom: .75rem;
    }
}

/* News Archive */
.page-content .news-archive-item {
    text-decoration: none;
    position: relative;
    display: block;
    padding: 1rem;
    margin-bottom: 0;
    height: 100%;
}

.news-archive-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.news-archive-wrapper .cover-image {
    aspect-ratio: 16/9;
}

.news-archive-wrapper .cover-image img {
    aspect-ratio: 16/9;
}

[data-tag="poster"] .news-text {
    display: none;
}

[data-tag="poster"] .cover-image,
[data-tag="poster"] .cover-image img {
    aspect-ratio: unset;
    height: 100%;
}

.home [data-tag="poster"] .cover-image {
    position: relative;
}

.home [data-tag="poster"] .cover-image .btn {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    margin: auto;
}

.home [data-tag="poster"] .cover-image,
.home [data-tag="poster"] .cover-image img {
    aspect-ratio: 557/527;
    height: auto;
}

:not([data-tag="poster"]) .poster-btn {
    display: none;
}

/* News, Event Article */
.article-title {
    margin-bottom: .75rem;
}

.article-seo-image {
    margin-bottom: 1rem;
}

.publish-date {
    font-weight: var(--font-semibold);
    color: var(--primary-accent);
    margin: 1rem 0;
}

.recent-item {
    margin-bottom: .75rem;
    display: block;
    background: var(--light-grey);
    padding: .5rem 1rem;
    border-radius: 10px;
}

.recent-item h4 {
    font-size: 1rem;
}

.recent-wrapper {
    margin-bottom: 2rem;
}

.recent-wrapper h3 {
    color: var(--dark-font-color);
}

.page-content-inner .back-link {
    margin-bottom: 1rem;
    display: block;
    font-weight: var(--font-bold);
    text-decoration: none;
}

@media (min-width: 62em) {
    .recent-wrapper {
        margin-top: 2rem;
    }

    .page-content .news-archive-item {
        padding: 1.5rem;
    }
}

/* Landing Page */
.landing-wrapper {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.page-content .landing-link {
    padding: 3rem 1.5rem;
    position: relative;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0px 16px 40px 0px rgba(112, 144, 176, 0.16);
    height: 100%;
    flex-wrap: nowrap;
    column-gap: 1rem;
}

.landing-link h3 {
    color: var(--primary-accent);
    width: calc(100% - 1rem - 40px);
}

.landing-link i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all .3s ease-in-out;
}

.landing-link:hover,
.landing-link:focus {
    background-color: var(--primary20);
}

.landing-link:hover i,
.landing-link:focus i {
    background-color: var(--primary-accent);
    color: white;
}

/* DCT - Photo Gallery */
.gallery-item {
	margin-bottom: 1rem;
}
.gallery-item img {
    min-height: unset;
	aspect-ratio: 4/3;
	width: 100%;
}

.pswp__custom-caption {
    text-align: center;
    font-size: 16px;
    color: #fff;
    width: fit-content;
    max-width: 800px;
    padding: .5rem 1rem;
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
}

@media (min-width: 62em) {
    .img-box-wrapper img {
        border-radius: 40px 40px 0 0;
    }
	.formatted-content .img-box-wrapper {
        border-radius: 40px;
    }
}

.contact-template label {
    font-weight: var(--font-bold);
    display: block;
}

.icon-links .landing-link > i {
    font-size: 2rem;
}

/* School Finder */
.map-wrapper {
    display:flex;
    flex-direction:row;
    position: relative;
    margin-bottom: 2rem;
}

#sys-sf-profile {
    max-width:25%;
    width:fit-content;
    position: absolute;
    right: 0;
    background: white;
    /* Kept in sync with #sys-sf-map.height */
    height: 580px;
    background-color: var(--light-grey);
}

#sys-sf-map {
    width:100%;
    height:580px;
}

.tagify {
    width: 100%;
    margin-bottom: .5rem;
}

.website-link {
    font-weight: var(--font-bold);
    line-height: 1.6;
    display: block;
}

.finder-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 48em) {
    #sys-sf-profile {
        width: 100%;
        max-width: unset;
        bottom: 0;
        height: auto;
    }
}

/* Alert */
#popup-container .modal-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    transform: translateY(-50%);
    margin: 0 auto;
}

#popup-container .popupImage img {
    max-height: unset;
    aspect-ratio: 4 / 3;
}

#bannerAnchor {
    font-size: .9rem;
    color: var(--primary-accent);
}

.banner-alert-wrapper p {
    margin: .5rem 0;
}

@media (min-width: 62em) {
    #popup-container .modal-content {
        top: 50%;
        transform: translateY(-50%);
    }
}


/* Land Acknowledgement Modal */
.land-modal .close-icon {
	position: absolute;
	top: 1rem;
	right: 1rem;
	left: auto;
	color: white;
	cursor: pointer;
	z-index: 200;
}
.land-text {
    position: absolute;
    color: white;
    padding: 2rem;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    text-align: center;
	z-index: 101;
}

.land-text .btn {
	margin: auto;
}

.land-text h2 {
    font-size: 2rem;
    margin: 0 0 1.5rem;
}

.land-info {
	position: relative;
    padding: 0;
	top: 50%;
    transform: translateY(-50%);
	height: 80vh;
    width: 80%;
    background: none;
}

.land-info img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

.land-info::after {
	content: '';
	position: absolute;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
	border-radius: 10px;
}

@media (min-width: 62em) {
    .land-text {
        width: 90%;
        margin: auto;
    }
}