*,
*: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;
}

#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;
}

.draft-banner {
    position: relative;
    z-index: 1000;
    height: 48px;
    font-size: 16px;
}

/* Variables */
:root {
    --primary: #00698E;
    --primary20: #00698E33;
    --secondary: #587E51;
    --tertiary: #DB6015;
    --dark-font-color: #000000;
    --light-font-color: #ffffff;
    --dark-grey: #767676;
    --medium-grey: #E1E1E1;
    --light-grey: #F1F1F1;
    --body-font: calibri, sans-serif;
    --font-regular: 400;
    --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(--body-font);
    font-weight: var(--font-bold);
}

h1, h2 {
    font-weight: var(--font-bold);
}

/* 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.375em;
}

.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.375rem;
    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.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-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;
}

.row {
    row-gap: 2rem;
}

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

/* 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-weight: var(--font-bold);
    padding: .55rem 1.25rem;
    border-radius: 5px;
}

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

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

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

.btn-light {
    color: white;
    background-color: rgba(255, 255, 255, 0.25);
}

.btn-link {
    color: var(--tertiary);
    font-weight: var(--font-bold);
}

@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: 5px;
}

textarea {
    min-height: 200px;
}

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;
	}

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

/* Header */
header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.nav-open {
    justify-content: flex-end;
}

.site-logo {
    max-width: 150px;
    object-fit: contain;
}

.site-logo-link.nav-open {
    display: none;
}

.main-nav-wrapper {
    column-gap: 1.5rem;
}

.main-nav-ul {
    margin-bottom: 0;
}

.main-nav-ul a {
    text-decoration: none;
    color: var(--dark-font-color);
    font-weight: var(--font-bold);
    font-size: 1.2rem;
    line-height: 1;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--primary);
}

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

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

.nav-icons {
    z-index: 501;
    position: relative;
}

.nav-icons i,
.account-icon {
    padding: .5rem;
    font-size: 1.2rem;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.bus-icon {
    background-color: var(--secondary);
}

.translate-icon {
    background-color: var(--secondary);
}

.search-icon {
    background-color: var(--primary);
}

.menu-trigger {
    background-color: var(--tertiary);
}

.add-icon, .add-icon-mobile {
    color: var(--tertiary);
}

.account-icon {
    background-color: #6d5454;
    display: none;
}

/* Header - collapsible menu */
.account-icon {
    position: absolute;
    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: 1rem 1.5rem 1.5rem;
    width: 100%;
    background: var(--light-grey);
    color: var(--dark-font-color);
    min-height: 100dvh;
}

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

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

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

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

.search-row {
    position: relative;
}

.search-row label {
    display: none;
}

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

.search-bar-wrapper {
    margin-top: 4rem;
}

.input-field input[type="text"].search-box {
    padding-left: 2rem;
    background: var(--medium-grey);
}

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

.service-label {
    display: block;
    font-weight: var(--font-bold);
    margin-top: 10px;
    color: var(--dark-font-color);
    line-height: 1.2;
}

.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-swiper {
    margin-bottom: 1rem;
    margin-right: -1.5rem;
}

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

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

/* Mobile Main Nav */
.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: .75rem 0;
    display: flex;
    flex-direction: column;
}

.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: 1rem;
}

.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)
}

/* Footer */
.footer-top {
    background-color: var(--light-grey);
    margin: 0 1.5rem;
    border-radius: 5px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-top h3 {
    margin-top: 0;
}

.footer-logo {
    width: 240px;
    margin-bottom: 1rem;
}

address {
    font-style: normal;
}

.footer-top address {
    margin-bottom: 1rem;
}

.footer-ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.contact-row {
    color: var(--secondary);
    margin-bottom: .5rem;
}

.contact-row a {
    color: var(--secondary);
}

.contact-row a:hover,
.contact-row a:focus {
    text-decoration: underline;
}

.footer-top .social-link {
    margin-top: 1.5rem;
}

.schools-select {
    gap: 0;
}

.schools-select input[type="submit"] {
    padding: .75rem 1.25rem;
    border-radius: 0 5px 5px 0;
}

.copyright {
    padding: 1rem 1.5rem;
}

.copyright .btn-link {
    color: var(--primary);
}

@media(max-width: 1199px) {
    .account-icon {
        top: 1rem!important;
    }

    .draft .collapsible-menu {
        margin-top: 3rem;
    }
}

@media (min-width: 48em) {
    .site-logo {
        max-width: 180px;
    }

    .copyright {
        display: flex;
        justify-content: space-between;
        padding: 1rem 2rem;
    }

	.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);
	}

    .nav-icons i,
    .account-icon {
        padding: .65rem;
        font-size: 1.35rem;
    }
}

@media (min-width: 75em) {
    .mobile-main-nav {
        display: none;
    }

    .collapsible-menu {
        min-height: unset;
    }

    .search-bar-wrapper {
        margin-top: 5rem;
    }

    .draft .search-bar-wrapper {
        margin-top: 8rem;
    }

    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
    }

    .site-logo-link.nav-open {
        display: block!important;
    }

    header.nav-open {
        justify-content: space-between;
    }

    .main-nav-ul {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
    }

    .menu-icon-wrapper {
        display: none;
    }

    .add-icon {
        font-size: .75rem;
    }

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

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

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

    .main-nav-ul li:last-of-type .main-dropdown-menu, 
    .main-nav-ul li:nth-last-of-type(2) .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;
    }

    .collapsible-menu {
        width: 25%;
        left: auto;
        right: 0;
        max-width: 25rem;
        border-radius: 0 0 0 5px;
    }

    .footer-top {
        margin: 0 2rem;
    }
}

/* Home */
.banner {
    border-radius: 5px;
    padding: 1rem;
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banner-wrapper {
    padding: 0 1.5rem;
}

.banner-title {
    margin-bottom: 0;
    line-height: 1.2;
}

.banner-pattern {
    display: none;
}

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

.banner-school .banner-desc {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.spotlight-slide {
    border-radius: 5px;
    height: 100%;
}

.spotlight-swiper {
    height: 100%;
    aspect-ratio: 576/525;
}


.spotlight-content {
    color: white;
    background: rgba(0, 0, 0, 0.60);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
}

.spotlight-content h3 {
    margin-bottom: .5rem;
}

.spotlight-slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.swiper-pagination-bullet {
    opacity: 0.7;
    background-color: white;
    width: .75rem;
    height: .75rem;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.quicklink-wrapper a {
    height: 100%;
    border-radius: 8px;
    padding: 1rem;
    aspect-ratio: 180/150;
    font-size: 1.2rem;
}

.quicklink-card {
    gap: .5rem;
    font-weight: var(--font-bold);
}

.quicklink-card i {
    font-size: 1.65rem;
}

/* Home - News */
.title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home-news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-news-item {
    position: relative;
}

.news-image-wrapper {
    border-radius: 5px;
    aspect-ratio: 290 / 185;
    background-color: #aaaaaa;
    position: relative;
    width: 100%;
}

.news-image-wrapper img {
    aspect-ratio: 290 / 185;
}

.news-image {
    border-radius: 5px;
    height: 100%;
    width: 100%;
}

.news-image-wrapper.has-news-image::after {
    content: "";
    background: linear-gradient(180deg,rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 1) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 5px;
}

.home-news-item h3 {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    width: calc(100% - 2rem);
}

.news-logo {
    max-height: 50%;
    margin-left: auto;
    object-fit: contain;
    padding: .5rem;
    aspect-ratio: unset!important;
}

/* Home - Events */
.event-item {
    display: flex;
    align-items: center;
    color: var(--dark-font-color);
    font-weight: var(--font-bold);
    background-color: var(--light-grey);
    border-radius: 5px;
}

.event-date-wrapper {
    background: var(--primary);
    color: var(--light-font-color);
    text-align: center;
    font-size: 1.2rem;
    width: 6rem;
    height: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 5px 0 0 5px;
}

.format-date-box {
    line-height: 1.2;
}

.event-date-wrapper .month {
    text-transform: uppercase;
}

.event-date-wrapper .day {
    font-size: 1.8rem;
}

.event-name {
    padding: 0 1.5rem;
    font-size: 1.2rem;
    width: calc(100% - 6rem);
}

.swiper-container {
    position: relative;
}

.swiper-horizontal .spotlight-pagination {
    left: auto;
    right: 1rem;
    bottom: 1rem;
    width: fit-content;
}

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

.swiper-button-next i, .swiper-button-prev i {
    color: var(--dark-font-color);
    font-size: 1rem;
}

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

.event-button-prev {
    left: 0;
}

/* Land Ack */
.land-ack {
    position: relative;
}

.landack-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    padding-top: 8%;
    padding-bottom: 8%;
}

.landack-text {
    row-gap: 1rem;
}

.landack-text p {
    font-size: 1.2rem;
}

.leaf-pattern {
    position: absolute;
    bottom: -5rem;
    right: 0;
    width: 8rem;
}

/* Home - CTA */
.cta-wrapper {
    background-color: var(--secondary);
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.cta-wrapper:nth-of-type(odd) {
    background-color: var(--secondary);
}

.cta-wrapper:nth-of-type(even) {
    background-color: var(--tertiary);
}

.cta-wrapper:nth-of-type(even) .btn {
    background-color: var(--secondary);
}

.cta-content {
    padding: 1rem 1rem 1.5rem;
    color: white;
}

.cta-content h2 {
    margin-bottom: .5rem;
}

.cta-content p {
    line-height: 1.8;
    font-size: 1.2rem;
}

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

.cta-image img {
    width: 100%;
    border-radius: 5px 5px 0 0;
    aspect-ratio: 3 / 2;
}

@media (min-width: 48em) {
    .news-image-wrapper {
        aspect-ratio: unset;
        height: 100%;
    }
    .home-news {
        display: grid;
        grid-auto-rows: auto;
        grid-column-gap: 1rem;
        grid-row-gap: 1rem;
    }

    .home-news-1 {
        grid-template-columns: 1fr;
        grid-template-areas:
        "item1";
    }

    .home-news-2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "item1 item2";
    }

    .home-news-3 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "item1 item1"
        "item2 item3";
    }

    .home-news-4 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "item1 item2"
        "item3 item4";
    }
    .home-news-5 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "item1 item1"
        "item2 item3"
        "item4 item5";
    }

    .home-news .home-news-item-1 { grid-area: item1; }
    .home-news .home-news-item-2 { grid-area: item2; }
    .home-news .home-news-item-3 { grid-area: item3; }
    .home-news .home-news-item-4 { grid-area: item4; }
    .home-news .home-news-item-5 { grid-area: item5; }

    .home-news-item:not(.home-news-item-1) .news-image-wrapper,
    .home-news-item:not(.home-news-item-1) .news-image-wrapper img {
        aspect-ratio: 290/185;
    }

    .home-news-item-2 .news-image-wrapper,
    .home-news-item-4 .news-image-wrapper,
     .home-news-item-2 .news-image-wrapper img,
    .home-news-item-4 .news-image-wrapper img {
        aspect-ratio: 290/185;
    }

    .event-button-next {
        right: 1.5%;
    }

    .event-button-prev {
        left: 1.5%;
    }

    .leaf-pattern {
        width: 10rem;
    }
}

@media (min-width: 62em) {
    .banner-pattern {
        display: block;
        position: absolute;
        left: 0;
        bottom: -5rem;
    }
    .banner-wrapper {
        position: relative;
        display: flex;
        gap: 1.5rem;
        padding: 0 2rem;
    }
    .banner-content {
        width: 65%;
        margin: auto;
    }

    .banner {
        flex: 1 1 0;
        max-width: 100%;
        border-radius: 5px 0 0 5px;
    }

    .banner-desc {
        font-size: 1.2rem;
    }

    .spotlight {
        flex-basis: 40%;
        max-width: 40%;
        margin-top: 0;
    }

    .spotlight-slide {
        border-radius: 0 5px 5px 0;
    }

    .spotlight-content {
        padding: 1.5rem;
        border-radius: 0px 5px 0px 0;
        width: 70%;
    }
    

    .swiper-horizontal .spotlight-pagination {
        left: calc(70% + 2rem);
        bottom: 1.5rem;
        width: fit-content;
    }
/* 
    .home-news-3 {
        grid-template-columns: 2fr repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas:
            "item1 item2 item2"
            "item1 item3 item3";
    } */

    .home-news-3,
    .home-news-4 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        grid-template-areas:
            "item1 item2 item3 item4"
    }

    .home-news-5 {
        grid-template-columns: 2fr repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas:
            "item1 item2 item3"
            "item1 item4 item5";
    }

    .home-news-5 .home-news-item-1 .news-image-wrapper,
    .home-news-5 .home-news-item-1 .news-image-wrapper img {
        /* aspect-ratio: unset; */
        height: 100%;
    }

    .home-news-item-4 .news-image-wrapper,
    .home-news-item-4 .news-image-wrapper img {
        aspect-ratio: unset;
    }

    .home-events-wrapper {
        padding: 0 .5rem;
    }

    .event-item-wrapper {
        padding: 0 .5rem;
    }

    .swiper-button-next i, .swiper-button-prev i {
        font-size: 2rem;
    }

    .land-ack h2 {
        font-size: 3rem;
    }

    .cta-wrapper {
        display: flex;
        align-items: stretch;
    }

    .cta-image {
        flex-basis: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    .cta-image img {
        border-radius: 5px 0 0 5px;
        height: 100%;
    }

    .cta-content {
        padding: 3%;
        flex-basis: calc(50% + 1rem);
        max-width: calc(50% + 1rem);
    }

    .cta-content h2 {
        margin-bottom: 1rem;
    }

    .cta-content .btn {
        margin-top: 2rem;
    }

    .cta-wrapper:nth-of-type(even) .cta-content {
        order: -1;
    }

    .cta-wrapper:nth-of-type(even) .cta-image img {
        border-radius: 0 5px 5px 0;
    }

}

@media (min-width: 75em){
    .quicklink-wrapper {
        flex-basis: calc(1 / 6 * 100%);
        max-width: calc(1 / 6 * 100%);
    }
}

/* 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: 5px;
}

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

.editor {
    margin-bottom: 2rem;
}

/* 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: 3rem;
        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: 5px;
    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: 5px;
    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 {
	font-weight: var(--font-bold);
    background: var(--light-grey);
	color: var(--dark-font-color);
	padding: .75rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.sidebar-wrapper a {
	color: var(--dark-font-color);
    font-weight: var(--font-bold);    
}

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

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

.cookie a {
    display: flex;
    align-items: center;
    color: var(--tertiary);
}

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

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

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

.cookie:hover a,
.cookie:focus a,
.secondary-nav-item:hover a,
.secondary-nav-item:focus a{
    color: var(--primary);
	filter: none;
}

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

.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;
	}

	.sidebar {
		padding: 1.5rem 2rem;
        margin-top: 0;
        border-radius: 0px 0px 5px 5px;
	}

	.current-page {
		display: none;
	}

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

/* News Archive */
.page-content .news-archive-item {
    text-decoration: none;
    position: relative;
    display: block;
}

.news-archive-item h3 {
    position: absolute;
    bottom: .5rem;
    left: 1.2rem;
    color: white;
    margin: 0;
    padding: 0 .5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-archive-item .news-image-wrapper {
    aspect-ratio: 290 / 185;
}

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

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

.publish-date {
    font-weight: var(--font-bold);
    color: var(--dark-grey);
    margin: 1rem 0;
}

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

.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;
    }
}

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

.page-content .landing-link {
    background: var(--light-grey);
    text-align: center;
    aspect-ratio: 850/150;
    padding: 1.5rem;
    position: relative;
    border-radius: 5px;
    text-decoration: none;
}

.landing-link h3 {
    color: var(--dark-font-color);
}

.arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--tertiary);
    border-radius: 5px 0 5px 0;
    width: 2.25rem;
    height: 2.25rem;
    margin: auto;
    color: white;
}

@media (min-width: 99em) {
    .landing-fa .landing-item {
        flex-basis: 20%;
        max-width: 20%;
    }
}

/* Image Carousel */
.image-swiper {
    background: var(--dark-grey);
}
.image-slide {
    background-color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
}
.image-carousel-item img {
    width: 100%;
    object-fit: contain;
}

.swiper-horizontal >.swiper-pagination-bullets.image-pagination {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    padding: .5rem;
}

/* Staff Directory */
.staff-directory .input-field {
    margin-bottom: 2rem;
}
.staff-item img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 5px;
}

.staff-contact a {
    color: var(--dark-font-color);
    text-decoration: none;
}

.staff-contact a:hover,
.staff-contact a:focus {
    text-decoration: underline;
    color: var(--primary);
}

@media (min-width: 99em) {
    .staff-item {
        flex-basis: calc(100%/6);
        max-width: calc(100%/6);
    }
}

/* School Directory */
.school-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.school-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.school-img.image-auto img {
    aspect-ratio: unset;
}

@media (min-width: 48em) {
    .school-item {
        flex-direction: row;
    }

    .school-img  {
        flex-basis: 40%;
        max-width: 40%;
    }

    .school-info {
        flex: 1;
    }
}

@media (min-width: 75em) {
    .school-img  {
        flex-basis: 30%;
        max-width: 600px;
    }
}

/* 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;
    }
}

/* School Banner */
.banner-school {
    padding: 0;
    position: relative;
}
.banner-school .banner {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-radius: 0;
    z-index: 2;
}

.banner-school .spotlight {
    flex-basis: 100%;
    max-width: 100%;
}

.banner-school {
    background-color: var(--primary20);
}

.banner-school .spotlight-swiper {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.banner-school .spotlight-slide {
    border-radius: 0;
}

.banner-school .banner-content {
    width: 100%;
}

@media (min-width: 62em) {
    .banner-school .spotlight-swiper {
        aspect-ratio: 1128/525;
    }

    .banner-school .banner {
        width: 60%;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        border-radius: 5px 0 0 5px;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .banner-school .banner .btn {
        margin-top: 0;
    }

    .banner-school .banner-content {
       width: 70%;
       margin-left: 5%;
    }

    .banner-school .spotlight {
        flex-basis: 80%;
        max-width: 80%;
    }

    .banner-school .spotlight-content {
        width: 45%;
    }

    .banner-school .swiper-horizontal .spotlight-pagination {
        right: 1.5rem;
        left: auto;
    }
    
}