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

.clearfix:after {
    clear: both;
}

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

:root {
    --heading-font: "Montserrat", sans-serif;
    --secondary-font: "Libre Franklin", sans-serif;
    --dark-text-color: #3B3B3B;
    --light-text-color: white;

    --primary-colour: #0063A4;
    --primary80: #0063A4CC;
    --secondary-colour: #5AB3DD;
    --accent-colour: #FFDE59;
    --light-grey: #BFB9B9;
}

body {
    font-size: 16px;
    max-width: 2560px;
    margin: auto;
    font-family: var(--secondary-font);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

.layout-content {
  flex: 1 0 auto;
  position: relative;
}

footer {
  flex-shrink: 0;
}

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

img {
    max-width: 100%;
}

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 70px;
}

h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0;
}

h3 {
    font-weight: 500;
    font-size: 1.5rem;
}

h4 {
    font-weight: 600;
    line-height: 1.2;
}

h5 {
    font-size: 1rem;
    font-weight: 400;
}

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

p {
    font-family: var(--secondary-font);
    font-style: normal;
    line-height: 2;
    font-size: 1rem;
    font-weight: 400;
}

.content-wrapper p {
    margin: 0;
    padding: 0;
    color: #3B3B3B;
    line-height: 1.7;
    margin-bottom: .5rem
}

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

a {
    text-decoration: none;
    font-family: var(--secondary-font);
    font-weight: 400;
    color: unset;
}

img {
    max-width: 100%;
}

.bg-primary {
    background-color: var(--primary-colour);
}

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

.bg-accent {
    background-color: var(--accent-colour);
}

.bg-gray {
    background-color: #EFEFEF;
}

.bg-faded-primary {
    background-color: #0c6ea7;
}

.bg-district {
    background-color: #0063A4;
    
}

.text-white {
    color: white;
}

b, strong {
    font-weight: 700;
}

.btn {
    padding: 20px 50px;
    font-weight: 500;
    border-radius: 10px;
}

.btn-secondary {
    padding: 15px 30px;
    font-weight: 500;
    border-radius: 10px;
}

.btn-primary {
    background-color: var(--accent-colour);
    color: var(--dark-text-color);
}

.btn-no-bg {
    color: var(--secondary-colour);
}

.no-margin {
    margin: 0px !important;
}

.no-padding {
    padding: 0 !important;
}

.pt-50 {
    padding-top: 50px;
}

.pb-50 {
    padding-bottom: 50px;
}
.mt0 {
    margin-top: 0;
}

.mb0 {
    margin-bottom: 0;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.container-fluid {
    margin: 0;
}

.row {
    padding: 0;
    margin-left: -10px;
    margin-right: -10px;
}

.col-xs,
.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.col-md,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
    padding-left: 10px;
    padding-right: 10px;
}

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

.flex {
    display: flex;
}

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

.justify-center {
    justify-content: center;
}

.justify-space-between {
    justify-content: space-between;
}

.direction-row {
    flex-direction: row;
}

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

.width-100 {
    width: 100%;
}

.height-100 {
    height: 100%;
}

.relative {
    position: relative;
}

.block {
    display: block;
}

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

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

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

.overflow-hidden {
    overflow: hidden;
}

.standard-padding {
    padding-top: 70px;
    padding-bottom: 70px;
}

.reduced-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}

.split-section .col-md-6 {
    padding: 70px;
    padding-bottom: 80px;
    width: 100%;
    min-height: 300px;
}

.split-section .content {
    z-index: 2;
}

.split-section .col-md-6 p {
    margin-bottom: 50px;
    margin-top: 30px;
}

ul.inline li {
    display: inline-block;
}

.highlight {
    color: var(--accent-colour);
}

.br-2 {
    border-right: 2px solid rgba(0, 0, 0, 0.05);
}

.table table thead th,
.editor-table th {
  color: #ffffff;
  background: var(--primary-colour);
}

.table table thead th > * {
  color: #ffffff;
}

.table table thead th:nth-child(even),
.editor-table th:nth-child(even) {
  color: #ffffff;
  background: var(--secondary-colour);
}

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

textarea {
    min-height: 200px;
}

input[type="submit"] {
    background: var(--primary-colour);
    color: white;
    border: 0;
    font-size: .9rem;
    font-weight: var(--font-semibold);
    cursor: pointer;
    padding: .75rem 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-field {
    margin-bottom: 1rem;
}

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

.input-buttons {
    margin-top: 1rem;
    display: block;
    width: fit-content;
    color: white;
    background: var(--primary-colour);
}

.contact-form {
    margin-bottom: 2rem;
}


/* Main Nav */

nav .nav-links {
    margin: 0 auto;
    align-self: center;
    justify-self: center;
}

nav .nav-links ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-right: -20px;
}

nav .nav-links ul li {
    display: inline-block;
    list-style-type: none;
    margin-right: 10px;
    padding: 33px 10px;
}

nav .nav-links ul li a {
    color: var(--light-text-color);
}

nav .nav-links .main-dropdown-menu a {
    color: var(--dark-text-color);
}

nav .nav-links i {
    font-size: 1rem;
    vertical-align: middle;
    color: var(--accent-colour);
}

nav img {
    width: 150px;
    height: 51px;
    object-fit: contain;
    margin-right: auto;
    padding: 15px;
}

nav .nav-tools {
    width: 170px;
    height: 100%;
    align-self: center;
    align-items: center;
    justify-content: flex-end;
}

nav .nav-tools ul li {
    display: inline;
    padding: 5px;
}

nav .nav-tools ul li a {
    color: var(--light-text-color);
}

nav .nav-tools .icon-box {
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 80px;
    margin-left: 10px;
    color: var(--light-text-color);
    z-index: 100;
    cursor: pointer;
}

nav .nav-tools .icon-box.active {
    background-color: linear-gradient(0deg, rgba(90, 179, 221, 0.20) 0%, rgba(90, 179, 221, 0.20) 100%), var(--primary-colour, #0063A4);;
}

nav .nav-tools i {
    font-size: 1.75rem;
}

nav .nav-links .main-dropdown-menu {
    display: none;
}

nav .nav-links .main-dropdown-menu li {
    padding: 10px;
    display: block;
}

.school-logo-link {
    display: flex;
    align-items: center;
    color: white;
}

.school-logo-link img {
    width: auto;
    margin: 0;
}

.school-logo-link h3 {
    font-size: 1.2rem;
}


/* Header */

header {
    height: 70vh;
    max-height: 700px;
    position: relative;
}

header.secondary {
    height: unset;
    max-height: unset;
}

header .content-block {
    border-radius: 10px;
    position: relative;
    text-align: center;
    padding: 30px 10px;
    min-width: 800px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    margin-bottom: -50px;
    padding-bottom: 80px;
    z-index: 2;
}

header .content-block h1 {
    color: var(--light-text-color);
    margin-bottom: 50px;
    font-size: 1.5rem;
}

/* Quicklinks */

section.quicklinks-wrapper {
    padding-top: 50px;
    padding-bottom: 70px;
}

section.quicklinks-wrapper .row{
    justify-content: center;
}

.quicklink-card {
    border: 4px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    margin-top: 20px;
    border-radius: 10px;
    padding: 50px 30px;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 1.25rem;
    transition: .3s;
    color: white;
}

.quicklink-card:hover {
    background-color: var(--accent-colour);
    color: var(--dark-text-color);
    border: 4px solid var(--accent-colour);
}

/* News */

section.news-wrapper .text-right {
    margin-top: 10px;
}

section.news-wrapper .news-card {
    margin-top: 30px;
}

section.news-wrapper .news-card-img {
    margin: 0 auto;
    text-align: center;
}

section.news-wrapper .news-card-img img {
    width: 80%;
    aspect-ratio: 809 / 474;
    border-radius: 10px;
    background-color: var(--primary-colour);
    object-fit: contain;
}

section.news-wrapper .news-card-bottom {
    border-radius: 10px;
    padding: 30px;
    padding-top: 100px;
    margin-top: -100px;
}

section.news-wrapper .news-card-bottom h3 {
    color: var(--primary-colour);
    margin-top: 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

section.news-wrapper .news-card-bottom p {
    color: var(--dark-text-color);
    margin-bottom: 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

section.news-wrapper .news-card-bottom span {
    color: black;
    font-weight: 500;
    font-family: var(--secondary-font);
}

/* Employment */

section.employment-wrapper img {
    position: relative;
    /* margin-top: -250px; */
    width: 100%;
    margin-bottom: -150px;
    z-index: 1;
    bottom: 0;
    position: absolute;
    object-fit: contain;
}

/* Events */

section.events-wrapper .text-right {
    margin-top: 10px;
}

section.events-wrapper .event-card {
    background-color: #EFEFEF;
    padding: 10px 0px;
    margin-top: 30px;
    border-radius: 10px;
}

section.events-wrapper .event-date {
    text-align: center;
}

section.events-wrapper .event-date span {
    position: relative;
    display: block;
    font-family: var(--secondary-font);
}

section.events-wrapper .event-date span.day {
    font-weight: 500;
    font-size: 2.25rem;
}

section.events-wrapper .event-date span.month {
    margin-top: 7px;
    font-weight: 500;
    font-size: 1.25rem;
}

section.events-wrapper .event-details {
    padding: 15px 0px;
    padding-left: 10px;
}

section.events-wrapper .event-details h3 {
    margin: 0;
    color: var(--primary-colour);
    font-weight: 600;
    padding: 0;
    font-size: 1.25rem;
}

section.events-wrapper .event-details h4 {
    margin: 0;
    padding: 0;
    margin-top: 10px;
    font-weight: 500;
    font-size: 1rem;
}

/* Footer */
.mission {
    color: white;
    margin-top: 0;
}

footer .footer-logo {
    width: 200px;
    margin-bottom: 40px;
}

.district footer .footer-logo {
    margin-bottom: 10px;
}

footer .social-links {
    color: white;

}

footer .social-links li {
    color: white;
    margin: 5px;
}

footer .social-links li i {
    font-size: 1.4rem;
}

footer .footer-details {
    font-family: var(--secondary-font);
}

footer h4 {
    margin-top: 0px;
    color: white;
}

footer .footer-details li {
    color: white;
    font-weight: 300;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 2;
}

footer .copyright {
    font-family: var(--secondary-font);
    color: white;
    padding: 15px 0px;
}

footer .copyright li {
    font-size: 1rem;
}

footer .copyright li:not(:last-child)::after {
    content: "|";
    margin-left: 20px;
    margin-right: 10px;
}

.footer-info h3,
.footer-info p {
    color: white;
}

.footer-info h3 {
    margin: 0;
}

.footer-info p {
    font-style: italic;
}

footer .utility-links {
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

footer .utility-links a {
    font-weight: 600;
}

footer .school-footer .footer-details li {
    margin: 1rem 0;
}

footer .school-footer .footer-details li:last-of-type {
    margin-bottom: 0;
}

/* Secondary Content */

.side-nav {
    padding: 30px 30px;
    border-radius: 10px;
}

.side-nav ul li {
    margin-top: 10px;
}

.side-nav ul li.active a {
    font-weight: 600;
    color: var(--primary-colour);
}

.side-nav ul li a {
    transition: .3s;
}

.side-nav ul li a:hover {
    color: var(--primary-colour);
}

.side-nav .back-button {
    margin-top: 0px;
    margin-bottom: 20px;
}

.side-nav .back-button i {
    margin-right: 8px;
    font-size: .65rem;
    vertical-align: middle;
    margin-top: -3px;
}

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

/* School Directory */

.school-directory section {
    margin-bottom: 50px;
}

.school-item {
    margin-top: 30px;
}

.school-website {
    width: fit-content;
    display: block;
}

/* Header - collapsible menu */
.collapsible-menu,
.collapsible-menu *,
.collapsible-menu *:after,
.collapsible-menu *:before {
    box-sizing: border-box;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.collapsible-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    font-size: 1rem;
    height: 100dvh;
    padding: 2rem;
    width: 100%;
    background: linear-gradient(0deg, rgba(90, 179, 221, 0.20) 0%, rgba(90, 179, 221, 0.20) 100%), var(--primary-colour, #0063A4);
    color: white;
}

.collapsible-menu h3 {
    font-weight: 600;
}

.login-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 90%;
}

.login-row a img {
    width: auto;
    height: auto;
    padding: 0;
}

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

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

.links-swiper {
    margin-right: -2rem;
}

.links-nav-buttons {
    gap: 1rem;
}

nav .nav-tools .links-nav-buttons i {
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

.all-links {
    color: var(--secondary-colour);
    font-weight: 500;
}

.service-link {
    color: white;
    text-align: center;
}

.service-icon {
    background-color: rgba(239, 239, 239, .4);
    border-radius: 10px;
    padding: 1rem;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav .nav-tools .service-icon i {
    font-size: 2.5rem;
}

.service-label {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

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

#google_translate_element a {
    color: var(--primary-colour)!important;
    font-weight: 600;
}

.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-text-color) 50%), linear-gradient(135deg, var(--dark-text-color) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 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(--secondary-font);
    text-transform: uppercase;
}

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

/* Search bar */
.search-bar-wrapper label {
    display: none;
}

.search-button {
    position: absolute;
    right: 10px;
    top: 12px;
    appearance: none;
    border: none;
    color: var(--accent-colour);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: auto;
    cursor: pointer;
    background: none;
    padding: 0;
}

nav .nav-tools .search-button i,
.search-button i {
    width: 100%;
    font-size: 2.2rem;
}

.input-field input[type="text"].search-box,
#search-term-clone {
    padding: 20px;
    margin-bottom: 0;
    border: none;
    background: rgba(239, 239, 239, 0.4);
    width: 100%;
    color: white;
    border-radius: 10px;
}

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

.search-api-form,
#search-form,
#search-form-2 {
    position: relative;
}

.search-api-form .input-field label,
#search-form .input-field label,
#search-form-2 .input-field label {
    display: none;
}

/* Search filters */
.search-bar-wrapper .filter-icon {
    position: absolute;
    right: 50px;
    cursor: pointer;
    color: white;
    font-size: 2rem;
}

.search-row {
    display: flex;
    align-items: center;
    flex-grow: 1;
    width: 100%;
    margin-bottom: 0;
}

.search-filters {
    display: none;
    padding: 10px;
}

.filter-group {
    margin: 0 0 .5rem;
    display: flex;
    gap: 0.5rem;
}

.filter-group:last-of-type {
    margin: 0;
}

.search-bar-wrapper .search-filters label {
    display: block;
    font-size: 16px;
    color: white;
}

#exclude-search-term {
    font-size: .85rem;
    margin-bottom: 0;
}

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

.modal-trigger {
	cursor: pointer;
}

.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: #EFF0F0;
    color: var(--dark-text-color);
}

.close-icon-wrapper {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 2rem;
    right: 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    text-transform: uppercase;
}

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

/* 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;
    justify-content: center;
}

.usefullinks-modal .service-icon {
    background-color: var(--primary-colour);
    opacity: 0.8;
    color: white;
}

.usefullinks-modal .service-icon i {
    font-size: 2.5rem;
}

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

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

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

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

/* Custom Modal for Search */
.search-modal .input-field input[type="text"].search-box,
.search-modal #search-term-clone,
.search-modal #search-term-clone::placeholder,
.search-modal .search-bar-wrapper .filter-icon {
    color: var(--dark-text-color);
}

.search-modal .input-field input[type="text"].search-box,
.search-modal #search-term-clone {
    background-color: white;
}

.search-modal .search-bar-wrapper {
    margin: 0 1rem;
}

.search-modal .search-bar-wrapper .search-filters label {
    color: var(--dark-text-color);
}

/* Search Results */
.container.pad-side > .row > h1 {
	width: 100%;
    margin-bottom: .5rem;
}
.container.pad-side > .row {
    row-gap: 0;
}
.search-results {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.search-result {
	border: 1px dashed #c3c3c3;
	padding: 1rem 1rem 0;
	flex-basis: 100%;
	max-width: 100%;
}

.search-result a {
	display: flex;
	column-gap: 1rem;	
	color: var(--dark-text-color);
}

.search-description strong {
	color: var(--primary-colour)
}

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

.sys-site-search-select {
    background-image: linear-gradient(45deg, transparent 50%, var(--dark-text-color) 50%), linear-gradient(135deg, var(--dark-text-color) 50%, transparent 50%);
}

/* News, Event Article */
.recent-item {
    margin-bottom: .75rem;
    display: block;
    background: #EFEFEF;
    padding: .5rem 1rem;
}

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

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

.back-link {
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-colour);
    font-weight: 600;
    width: fit-content;
}

.page-content-inner a {
    color: var(--primary-colour);
}

.page-content-inner ul,
.page-content-inner ol {
    list-style: revert;
    padding-left: 1rem;
    line-height: 1.7;
}

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

/* Collapsible box - ck editor */
.collapsible-box {
	width: 100%;
	margin-bottom: 1rem;
    background-color: #efefef;
    padding: 15px;
    border-radius: 10px;
}

.collapsible-box .material-icons {
	color: var(--primary-colour);
}

.collapsible-box-description { 
	display: none;
	padding: 1rem 0;
}

.collapsible-box-title {
    display: flex;
    align-items: center;
	margin: 0;
	cursor: pointer;
}

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

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

/* Collapsible boxes - lexical editor */
.editor details {
    padding: 15px;
    background-color: #efefef;
    margin-bottom: 1rem;
    border-radius: 10px;
    /* border-left: 2px solid var(--primary-colour); */
}

.editor details ul li {
    margin-top: 10px;
}

.editor details summary {
    display: flex;
    align-items: center;
	margin: 0;
	cursor: pointer;
    transition: all .3s ease-in-out;
}

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

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

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


/* General DCT Template */
.featured-img img.bottom {
	object-position: bottom;
}

.featured-img img.top {
	object-position: top;
}

.featured-img img.center, .featured-img img {
	object-position: center;
}

.dct-template .intro-content {
	background: #efefef;
	padding: 1rem 1.5rem;	
	margin-bottom: 2rem;
}

.content-row.border-top {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid #e3e3e3;
}

.content-row.border-top-bottom {
  padding: 3rem 0;
  margin: 2rem 0;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}

.content-row.border-bottom {
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e3e3e3;
}

.content-row.border-top > div *:first-child,
.content-row.border-top-bottom > div *:first-child  {
  margin-top: 0;
}

.content-row.border-bottom > div *:last-child,
.content-row.border-top-bottom > div *:last-child {
  margin-bottom: 0;
}

.content-row img {
  display: block;
  width: 100%;
}

.content-row .btn {
  margin-bottom: 1rem;
  display: inline-block;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-bottom: 1.5rem;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.useful-links-wrapper {
  margin-top: 1.3125rem;
  margin-bottom: 5rem;
}

.useful-link {
  line-height: 1;
  margin-top: 2rem;
  text-align: center;
}

.useful-link a {
	display: block;
	padding: 1.5rem 1rem;
	color: white;
}

.useful-link i {
  display: block;
  font-size: 40px;
  margin-bottom: .5rem;
}

.useful-link span {
	font-size: 1.25rem;
	font-weight: bold;	
}

.useful-link i,
.useful-link span {
  -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;
}

.useful-link a:hover i,
.useful-link a:focus i {
  opacity: 0.8;
}

.useful-link a:hover span,
.useful-link a:focus span {
  border-bottom: 1px solid;
}

.simple-links-wrapper h5 {
  margin-bottom: .75rem;
}

.simple-links-wrapper .simple-link {
  margin: 0 0 .5rem;  
}

.simple-links-wrapper .pre-link {
  margin: 1rem 0 0.5rem 0;
}

.documents-section {
    margin-top: 1.3125rem;
    margin-bottom: 5rem;
}

.documents-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
	box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
}

.documents-section ul li {
	padding: 0.5rem 1rem;
	margin: 0;
}

.documents-section ul li:nth-child(2n) {
	background: #f5f5f5;
}

.img-box-wrapper {
    display: block;
}

.img-box-wrapper img {
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 20px 20px 0 0;
}

.img-box-wrapper {
    background: #efefef;
    border: 1.5px solid #efefef;
}

.img-box-wrapper .box-text {
    padding: 1.5rem;
}

.img-box-wrapper p {
    margin-bottom: .5rem;
}

.formatted-content {
    margin-bottom: 2rem;
}

.formatted-content .img-box-wrapper {
    height: 100%;
    border-radius: 20px;
}

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

/* Landing Page */
.landing-wrapper {
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.landing-link {
    background: #efefef;
    text-align: center;
    aspect-ratio: 547 / 230;
    border-radius: 20px;
    padding: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.landing-link h3 {
    margin: 0;
    color: var(--dark-text-color);
}


.content-wrapper .publish-date {
    font-weight: 600;
    color: #6b6b6b;
    margin-bottom: 1rem;
    display: block;
}

.profiles img {
    width: 100%;
    display: block;
}

.profile-row {
    margin-bottom: 1.5rem;
}

.profile-row h3 {
    margin-top: .75rem;
    margin-bottom: .75rem;
}

.profile-row h4 {
    margin-top: 0;
    margin-bottom: .75rem;
    color: #6b6b6b;
    font-style: italic;
}

.contact-card h3,
.contact-card h4 {
    margin-bottom: .75rem;
}

.contact-card address {
    font-style: normal;
    margin-bottom: .5rem;
}

.contact-card .contact-line {
    margin-bottom: .5rem;
}

.contact-card {
    margin-bottom: 2rem;
}

.img-box-wrapper.contact {
    border: none;
}

.distributed-content {
    margin-bottom: 2rem;
}

.view-all {
    color: var(--primary-colour);
}

/* Links Template */
.link-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.link-tile {
    width: 100%;
    text-align: center;
}

.link-img {
    aspect-ratio: 1/1;
    background-color: white;
    padding: 1rem;
    border: 2px solid #EFEFEF;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
}

.link-tile img {
    object-fit: contain;
    display: block;
    max-height: 70%;
    margin: auto;
}

.link-tile h3 {
    font-weight: 700;
    font-size: 1rem;
}

@media (min-width: 48em) {
    .link-tile {
        width: calc((100% - 1.5rem) / 2);
    }

    .link-tiles {
        row-gap: 2rem;
    }
}

@media (min-width: 62em) {
    .link-tile {
        width: calc((100% - 3rem) / 3);
    }

    .link-tile h3 {
        font-size: 20px;
    }
}

@media (min-width: 99em) {
    .link-tile {
        width: calc((100% - 6rem) / 5);
    }
}

/* Land Acknowledgement Video */
.landack {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 4 / 3;
    position: relative;
}

.landack::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%);
}

.play-btn {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: var(--accent-colour);
    cursor: pointer;
    transition: all .3s ease-in-out;
    z-index: 1;
    text-align: center;
}

.play-btn i {
    font-size: 3rem;
    border: 10px solid rgba(255, 222, 100, 0.60);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    aspect-ratio: 1 / 1;
}

.landack h2 {
    margin: 0 0 1rem;
    color: white;
    line-height: 1.4;
}

.landack p {
    color: white;
    margin-bottom: 0;
}

.land-modal .close-icon-wrapper {
    justify-content: flex-end;
}

.land-modal  .responsive-video {
    margin-bottom: 0;
}

@media (min-width:62em) {
    .land-modal .modal-info {
        width: 60%;
        top: 50%;
    }

    .landack {
        aspect-ratio: 1920/500;
    }

    .landack h2 {
        margin: 0 0 1rem;
    }
}

/* Programs, Curriculum Page */
.accordion-item {
    width: auto;
}

.accordion-body {
    padding: 1.25rem .5rem 1rem;
}

.accordion-body .table {
    box-shadow: none;
    margin-bottom: 0;
}

.accordion-body .table table tr {
    background: #efefef;
}

.accordion-body .table table td {
    border: 1px solid currentColor;
    vertical-align: top;
}

.accordion-body .table table .question {
    width: 40%!important;
}

.content-wrapper  h3.accordion-header {
    margin-bottom: 0;
}

.expand-all {
    display: flex;
    align-items: center;
    gap: .25rem;
    width: fit-content;
    background: #efefef;
    padding: .75rem 1.25rem .75rem 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: auto;
    cursor: pointer;
    margin-bottom: .5rem;
}

.expand-all i {
    color: var(--primary-colour);
}

.filters-wrapper {
    background: #efefef;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
}

.filters-wrapper h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

#reset {
    font-weight: 500;
    color: var(--primary-colour);
    cursor: pointer;
}

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

.custom-select {
    box-sizing: border-box;
    background-color: #DADADA;
    border: none;
    border-radius: 10px;
    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; /* allows clicks to go through to the select */
  color: #555;
}

#applyFilters {
    width: fit-content;
    max-width: 100%;
    margin-top: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--accent-colour);
    font-size: 1rem;
    color: var(--dark-text-color);
    padding: 20px 30px;
}

#searchInput {
    background-color: #DADADA;
    border-radius: 10px;
    border: none;
    padding: 0.75rem 1rem .75rem 2.25rem;
}

.search-box::placeholder,
#searchInput::placeholder {
    color: currentColor;
}

.search-field {
    position: relative;
}

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

#programs-form {
    margin-bottom: 0;
}

.content-wrapper .program-title {
    margin: 1.5rem 0;
}

.content-wrapper .grade-heading {
    margin-bottom: 0;
}

.grade-heading:not(:first-of-type) {
    margin-top: 3rem;
}

@media (min-width: 62em) {
    .no-main-content .programs-template {
        padding-top: 22px;
    }

    .no-main-content .filters-wrapper {
        margin-top: 56px;
    }

}