@charset "utf-8";

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

:root {
  --primary: #0a3b5c;
  --lightblue: #83b4d6;
  --secondary: #e4a025;
  --white: #fff;
  --textcolor: #222;
  --greybg: #d9d4c9;
  --greycolor: #eff9ff;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

ol, ul {
  list-style: none;
}

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

body, html {
  font-size: 18px;
  line-height: 1.5em;
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 400;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

a, a:visited {
  text-decoration: none;
  outline: 0;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
  color: var(--primary);
  font-weight: 600;
}

a:hover {
  color: var(--secondary);
}

p a, p a:visited {
  line-height: inherit;
}

li {
  line-height: 1.3em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Gilda Display", serif;
  line-height: 1.2em;
  font-weight: 600;
}

strong {
  font-weight: 800;
}

em {
  font-style: italic;
}

small {
  font-size: 85%;
}

sup {
  font-size: 75%;
  vertical-align: super;
  line-height: 1;
}

img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

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

main {
  flex: 1 0 auto;
}

.redcolor {
  color: #c51d26;
}

.no-touch a[href^="tel:"], .noLink {
  pointer-events: none;
  cursor: text;
}

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

.container {
  margin: 0 auto;
  position: relative;
  padding: 0;
  width: 94%;
  max-width: 1320px;
  z-index: 1;
}

#sapper {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.smallwrap {
  margin: 0 auto;
  max-width: 900px;
}

.bigfont {
  font-size: 1.2em;
  line-height: 1.6em;
}

.uppercase {
  text-transform: uppercase;
}

.hidden {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.sr-only.focusable:active, .sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

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

.clearfix:after {
  clear: both;
}

.clear {
  clear: both;
}

.col12 {
  width: 48%;
}

.col23 {
  width: 65.333%;
}

.col13 {
  width: 31.666%;
}

.col24 {
  width: 24%;
}

.col38 {
  width: 38%;
}

.col55 {
  width: 55%;
}

.col19 {
  width: 19%;
}

.row {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex: 0 1 auto;
  -webkit-flex: 0 1 auto;
  flex: 0 1 auto;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

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

.row-reverse {
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.itemcenter {
  align-items: center;
}

.itemstretch {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

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

.contentcenter {
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

.flexend {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.spaceBottom {
  position: relative;
  padding-bottom: 80px;
}

.spaceTop {
  position: relative;
  padding-top: 80px;
}

/* ~~~~~~~~~~~~~~~~ */
.header {
  width: 100%;
  z-index: 11;
  position: relative;
  padding-bottom: 20px;
}

.header.home {
  position: absolute;
  padding-bottom: 0;
}

.logo {
  position: absolute;
  top: 65px;
  width: 260px;
  left: 0;
  right: 0;
  margin: auto;
}

.logo .home-logo, .home .logo .inner-logo {
  display: none;
}

.home .logo .home-logo {
  display: block;
}

.logo img {
  width: 260px;
}

nav {
  width: 100%;
  margin-top: 70px;
}

nav ul {
  z-index: 1;
}

.editor.smallText {
  font-size: 80%;
  line-height: 1.2;
  padding-bottom: 30px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~ */
p {
  margin-bottom: 15px;
  line-height: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

h1 {
  font-size: 1.8em;
  line-height: 1em;
  margin-bottom: 20px;
}

.editor h2 {
  font-size: 1.6em;
  line-height: 1.2;
  margin: 15px 0;
  color: var(--primary);
}

.editor h3 {
  font-size: 1.5em;
  margin: 15px 0;
  color: var(--primary);
}

.editor h4, h4 {
  font-size: 1.4em;
  margin: 15px 0;
}

.editor h5 {
  font-size: 1.2em;
  margin: 25px 0 10px;
}

.editor h6 {
  font-size: 1.1em;
  margin: 15px 0;
}

.editor ul, .editor ol {
  margin: 15px 0 15px 5px;
}

.editor ul li, .editor ol li {
  margin-bottom: 8px;
  list-style-type: square;
  padding: 0;
  margin-left: 20px;
  display: list-item;
}

.editor ol li {
  list-style-type: decimal;
}

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

.editor table {
  margin: 10px 0 10px 0;
  font-size: 0.9em;
  color: #333;
  background: #fff;
}

.editor table th {
  padding: 5px;
  text-align: left;
  font-size: 1em;
  background-color: var(--primary);
  border: 1px solid #cbd9ef;
  color: #ffffff;
  font-weight: 600;
}

.editor table td {
  padding: 5px;
  text-align: left;
  border: 1px solid #cbd9ef;
}

.editor table td.no-border {
  border: none;
}

.editor table a {
  word-break: break-word;
}

.editor table td.bnone {
  border: none;
}

.editor table tr:nth-child(2n + 1) td.bnone {
  background-color: transparent;
}

.editor a {
  color: var(--secondary);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}

.editor a:hover {
  color: var(--primary);
  text-decoration: none;
}

.editor table th a {
  color: #cbdbe6;
}

.editor table th a:hover {
  color: #fff;
}

.editor p:not(:last-child) {
  margin-bottom: 15px;
}

.editor hr {
  margin: 20px 0;
  border: 0px;
  border-top: 2px solid var(--greybg);
}

.editor blockquote {
  position: relative;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.08);
  font-size: 1.2em;
  letter-spacing: 0.5px;
  margin: 30px auto;
  padding: 15px 20px 20px;
  max-width: 900px;
  text-align: center;
  clear: both;
  font-weight: 500;
}

.editor blockquote.full {
  max-width: inherit;
}

.editor blockquote:before {
  display: block;
  margin: 0 auto 10px;
  content: "\f131";
  font-family: beehivelyicons;
  font-size: 34px;
  width: 50px;
  line-height: 1;
  text-align: center;
  color: #222;
}

.editor blockquote cite {
  display: block;
  padding-top: 15px;
  font-size: 1.1rem;
  color: #222;
}

.fulltable {
  width: 100%;
}

.mobiTable {
  overflow-x: auto;
}

.editor .content a {
  text-decoration: underline;
}

.editor .content a:hover {
  text-decoration: none;
}

.editor .leftimg, .editor .rightimg {
  max-width: 30%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.editor .leftimg {
  float: left;
  margin: 0px 20px 15px 0;
}

.editor .rightimg {
  float: right;
  margin: 0px 0px 15px 20px;
}

.rightimg img, .leftimg img {
  padding: 10px !important;
  border-radius: 5px;
  -webkit-box-shadow: 0 0px 10px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.btn a {
  padding: 10px 24px;
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 15px;
}

.btn a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.mainTitle {
  text-transform: capitalize;
  padding-bottom: 30px;
}

.mainTitle h2 {
  font-size: 3em;
  margin-bottom: 0;
}

/* homepage */
.banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 1140px;
  background-attachment: fixed;
}

.banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(0 0 0 / 80%), rgb(0 0 0 / 40%));
}

.bannerText {
  position: absolute;
  top: 280px;
  z-index: 9;
  color: var(--white);
  width: 100%;
}

.bannerText div {
  max-width: 940px;
  margin: 0 auto;
}

.bannerText h1 {
  font-size: 3.2em;
  line-height: 1.6em;
  letter-spacing: 2px;
  text-transform: capitalize;
}

/* imagine content */
.imagineWrap {
  background-color: var(--greybg);
}

.imagineBox {
  position: relative;
  margin: 0 auto 20px;
}

.imagineBox div {
  overflow: hidden;
}

.imagineBox div img {
  height: 290px;
  object-fit: cover;
  width: 100%;
}

.imagineFlex .imagineBox:nth-child(3) div img {
  height: 600px;
}

.imagineBox p {
  padding: 10px;
  font-weight: 500;
  font-size: 1.1em;
  line-height: normal;
  background-color: rgb(228 160 37 / 80%);
  position: absolute;
  width: 100%;
  bottom: 0;
  color: var(--white);
}

.imagineFlex {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}

/* scroll box */
.scrollText {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  position: relative;
}

.scrollText::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 90px;
  background-image: url(scroll-icon.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  right: 10px;
  bottom: 10px;
  opacity: 0.4;
}

.scrollText h4 {
  font-size: 2.2em;
}

.scrollText h2 {
  font-size: 5em;
}

.scrollText h2 span {
  display: block;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-transition: 0.6s all ease;
  -moz-transition: 0.6s all ease;
  transition: 0.6s all ease;
  background-image: linear-gradient(0, var(--white), var(--white));
  color: transparent;
}

.scrollText h2 span:hover {
  background-image: linear-gradient(0, var(--primary), var(--white));
  -webkit-transition: 0.6s all ease;
  -moz-transition: 0.6s all ease;
  transition: 0.6s all ease;
}

/* highlight section */
.halfleft {
  width: 70%;
}

.halfright {
  width: 30%;
}

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

.highlightBox {
  position: relative;
  overflow: hidden;
  border: 6px solid var(--primary);
  border-left: 0;
}

.halfright .highlightBox:first-child {
  border-bottom: 0;
}

.highlightBox img {
  height: 49.6vh;
  -webkit-transition: 0.6s all ease;
  -moz-transition: 0.6s all ease;
  transition: 0.6s all ease;
  object-fit: cover;
  width: 100%;
}

.halfleft .highlightBox img {
  height: 100vh;
}

.highlightBox:hover img {
  transform: scale(1.1);
  -webkit-transition: 0.6s all ease;
  -moz-transition: 0.6s all ease;
  transition: 0.6s all ease;
}

.highlightBox::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
  z-index: 1;
  -webkit-transition: 0.6s all ease;
  -moz-transition: 0.6s all ease;
  transition: 0.6s all ease;
}

.highlightBox:hover::before {
  background-color: rgb(0 0 0 / 50%);
  -webkit-transition: 0.6s all ease;
  -moz-transition: 0.6s all ease;
  transition: 0.6s all ease;
}

.highlightBox>div {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  color: var(--white);
  padding: 20px;
  z-index: 2;
}

.halfleft .highlightBox>div p {
  width: 80%;
  margin: 0 auto 15px;
}

/* apply section */
.applicate .applyhalf {
  width: 50%;
}

.applicate .applyhalf:last-child {
  background-color: var(--secondary);
  color: var(--white);
  flex-direction: column;
  padding: 30px 60px;
  position: relative;
}

.applicate .applyhalf:last-child::before, .applicate .applyhalf:last-child::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.2;
}

.applicate .applyhalf:last-child::before {
  background-image: url(icon2.png);
  background-position: right top;
  right: 5px;
  top: 5px;
}

.applicate .applyhalf:last-child::after {
  background-image: url(icon1.png);
  background-position: left bottom;
  left: 5px;
  bottom: 5px;
}

.applicate .applyhalf .btn a {
  margin: 5px;
}

.applicate .applyhalf img {
  width: 100%;
}

.applyhalf h2 {
  font-size: 2.8em;
  font-weight: 900;
}

.applyhalf h3 {
  font-size: 2.4em;
  margin: 20px 0;
}

/* Events */
.events {
  background-color: var(--greybg);
}

.events .mainTitle h4 {
  color: var(--primary);
}

.events iframe {
  width: 100%;
}

.calWrap .glEvent {
  width: 48%;
  background: var(--white);
  padding: 15px;
  margin-bottom: 25px;
  border-top: 4px solid var(--secondary);
}

.calWrap .glEvent .glEventDate {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.calWrap .glEvent .glEventDate .glDay {
  font-size: 1.6em;
  font-weight: 800;
}

.calWrap .glEvent .glEventTitle div {
  position: relative;
  padding-left: 15px;
}

.calWrap .glEvent .glEventTitle div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 2px;
  background-color: var(--primary);
}

.events .mainTitle h2 {
  display: inline-flex;
  align-items: center;
}

.events .mainTitle h2 a {
  display: inline-flex;
  margin-bottom: 5px;
  margin-left: 10px;
}

.events .mainTitle h2 a i {
  font-size: 20px;
  display: inline-flex;
}

.events .btn a, .content.editor .btn a {
  border-color: var(--primary);
  color: var(--primary);
}

.events .btn a:hover, .content.editor .btn a:hover {
  color: var(--white);
}

/* Inner page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.content {
  padding: 0;
  padding: 40px 0px;
  position: relative;
  min-height: 300px;
  font-size: 1.1em;
}

.content.editor::before {
  content: '';
  position: absolute;
  background-image: url(STMARYS-Logo.png);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  width: 260px;
  height: 260px;
  top: 20px;
  left: -20px;
  opacity: 0.06;
  z-index: -1;
}

.editor.content>h1 {
  color: var(--primary);
}

.twocolumn {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
}

.fullcal .fc-content {
  color: #fff;
}

.editor .fullcal table td {
  padding: 0;
}

.editor .fullcal table {
  margin: 0;
}

.editor .fullcal .fc-event {
  border: 1px solid var(--primary);
  font-size: 0.8em;
}

.editor .fullcal .fc-event, .fc-event-dot {
  background-color: var(--primary);
}

.editor .fullcal table td {
  border: 1px solid var(--primary);
}

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

.innerbanner h1 {
  color: var(--primary);
  padding: 40px 0;
  font-size: 2.2em;
  position: relative;
}

.innerbanner h1::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 5px;
  background-color: var(--secondary);
  bottom: 16px;
  left: 0;
}

/* staff page */
.staff, .schl-board .row {
  margin: 0 -15px;
}

.staff .staffBox, .schl-board .schlBox {
  width: calc(24% - 30px);
  margin: 15px;
  padding: 15px;
  border-radius: 10px;
  background-color: var(--greycolor);
  box-shadow: 0px 0px 120px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.schl-board .schlBox {
  background-color: var(--greybg);
}

.staff .staffBox:hover {
  background-color: var(--white);
}

.staff .staffBox h4, .schl-board .schlBox h4 {
  margin-top: 0;
}

.staff .staffBox h4 {
  margin-bottom: 7px;
}

.staff .staffBox p, .schl-board .schlBox p {
  margin-bottom: 0;
}

.staff .staffBox a {
  display: inline-flex;
  font-size: 12px;
  margin-left: 4px;
}

.staff .staffBox:hover a {
  color: var(--primary);
}

.staff-img {
  margin-bottom: 15px;
}

.staff-img img {
  width: 100%;
}

.schl-board h2 span {
  font-size: 0.5em;
  color: var(--secondary);
}

/* contact us */
.editor .contactpg .full-screen {
  height: 500px;
}

/* newsletter */
.newsFrame iframe {
  width: 100%;
  height: 580px;
}

.newsarchive {
  padding-top: 30px;
}

.newsarchive .newsletter-list {
  margin: 0 -15px;
}

.newsarchive .newsletter-list li {
  width: calc(20% - 30px);
  margin: 15px;
  list-style: unset;
}

.newsarchive .newsletter-list li a {
  padding: 20px 10px;
  background-color: var(--primary);
  color: var(--white);
  display: block;
}

.newsarchive .newsletter-list li a:hover {
  background-color: var(--secondary);
}

.newsarchive .newsletter-list li a i {
  font-size: 10px;
  display: inline-flex;
  margin-right: 10px;
}

.newspg h3 {
  margin-top: 0;
}

.newscurrent h3 {
  background-color: var(--primary);
  color: var(--white);
  margin: 0;
  padding: 20px;
  font-size: 1.2em;
}

.newscurrent {
  background-color: var(--greycolor);
}

.newscurrent ul {
  padding: 20px 20px 0;
  margin: 0;
}

.newscurrent ul li {
  display: block;
  margin: 0 0 15px;
  width: 100%;
  text-align: left;
}

.newscurrent ul li a {
  color: var(--primary);
}

.newscurrent ul li a i {
  font-size: 10px;
  margin-right: 5px;
  display: inline-flex;
}

/* footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 15px 0;
  font-size: 1.1em;
}

footer a, footer .foot-add a, footer a:visited {
  color: var(--white);
  font-weight: 400;
}

footer a:hover, footer .foot-add a:hover {
  color: var(--secondary);
}

footer .copyright {
  font-size: 0.9em;
  text-align: right;
}

footer .copyright span {
  display: block;
}

footer .foot-add p {
  display: flex;
  margin-bottom: 5px;
}

footer .foot-add i {
  font-size: 10px;
  margin-right: 5px;
  margin-top: 5px;
}

.foot-logo img {
  width: 170px;
}

footer .foot-logo:hover {
  color: var(--secondary);
}

footer .foot-logo h1 span {
  font-size: 0.9em;
}

footer .foot-add p img {
  height: 50px;
}

footer h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
}

footer .foot-link ul li {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 10px;
}

footer .foot-link ul li ul {
  display: none;
}

footer .foot-link ul li:last-child {
  margin-bottom: 0;
}

footer .footer-menu.twocolumn {
  min-width: 300px;
}

.editor .sponsorsWrap h3 {
  margin-top: 40px;
  margin-bottom: 25px;
  position: relative;
  font-size: 1.4em;
}

.editor .sponsorsWrap h3 span {
  padding: 10px 20px 10px 0;
  background-color: var(--white);
}

.editor .sponsorsWrap h3:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  top: 14px;
  background-color: var(--primary);
  z-index: -1;
  opacity: 0.3;
}

.sponsors {
  gap: 20px;
}

.sponsors>* {
  width: calc(25% - 15px);
  border: 1px solid rgba(228, 161, 37, 0.6);
  padding: 20px;
  background-color: var(--white);
  overflow: hidden;
}

.sponsors>* img {
  width: 15rem;
  height: 9rem;
  object-fit: contain;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.sponsors>*:hover {
  background-color: var(--greycolor);
}

.sponsors>*:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* Navigation */
.menu {
  position: relative;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.menu, .menu>li, .flex {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.menu>li {
  position: relative;
  margin: 0 15px;
}

.menu>li>a {
  color: var(--primary);
  position: relative;
  z-index: 1;
  padding: 15px 0;
  font-weight: 500;
}

.home .menu>li>a {
  color: var(--white);
}

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

.menu>li:after {
  content: "";
  position: absolute;
  height: 3px;
  width: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: var(--secondary);
  opacity: 0;
  z-index: 1;
  -webkit-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
}

.menu>li:hover:after, .menu>li.active:after {
  opacity: 1;
  width: 100%;
}

.menu ul {
  width: 220px;
  padding: 0;
  position: absolute;
  left: 0px;
  top: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: -1;
  background-color: white;
  -moz-transition: visibility 0s linear 0.25s;
  -ms-transition: visibility 0s linear 0.25s;
  transition: visibility 0s linear 0.25s;
  -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
  padding: 10px;
}

.menu.right ul {
  left: auto;
  right: 0;
}

.menu ul:after {
  position: absolute;
  content: "";
  top: 6px;
  bottom: 6px;
  left: 6px;
  right: 6px;
  border: 1px solid var(--secondary);
  z-index: -1;
}

.menu>li:hover>ul {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  transition: opacity 0.5s;
  animation: pull-up 0.3s;
  z-index: 90;
}

.menu>li li:hover>ul {
  left: 100%;
  top: 0;
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  transition: opacity 0.5s;
  animation: pull-up 0.3s;
  z-index: 90;
}

.menu.top>li li:hover>ul, .menu>li:last-child li>ul {
  left: inherit;
  right: 100%;
}

.menu li ul li {
  width: 100%;
  padding: 0px;
  position: relative;
  border-bottom: 1px solid rgba(237, 241, 253, 1);
}

.menu ul li:last-child {
  border-bottom: none;
}

.menu li ul li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.8em;
  line-height: 1.15em;
  color: var(--primary);
  font-weight: 500;
}

/* .menu li:hover ul li a {
  color: var(--primary);
} */

.menu li ul li.active>a, .menu li ul li>a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.menu.top {
  width: 100%;
  background-color: var(--primary);
  position: absolute;
  top: 0;
}

.menu.top::before {
  content: "";
  position: absolute;
  background-color: var(--primary);
  top: 0;
  left: -100vw;
  right: -100vw;
  bottom: 0;
  z-index: -1;
}

.menu.top li a {
  font-size: 0.9em;
  padding: 10px 0;
}

.menu.top>li>a {
  color: var(--white);
}

.menu.top li ul li a {
  padding: 10px;
}

.menu.top #st-marys-school-foundation>a {
  padding-left: 10px;
  padding-right: 10px;
  background-color: #dff0fc;
  color: var(--primary);
  font-weight: 600;
}

#menu-trigger {
  display: none;
}

.ul.null_sub-menu {
  display: none;
}

.sponsors span { 
      word-wrap: break-word;
}

@media screen and (max-width:1192px) {
  body, html {
    font-size: 17px;
  }

  .spaceTop {
    padding-top: 50px;
  }

  .spaceBottom {
    padding-bottom: 50px;
  }

  .bigfont {
    font-size: 1.1em;
  }

  p {
    margin-bottom: 10px;
  }

  .editor .btn, .btn {
    padding-top: 10px;
  }

  .content.editor::before {
    width: 180px;
    height: 180px;
    left: 0;
  }

  .menu>li {
    margin: 0 10px;
  }

  .menu>li>a, .menu.top li a {
    font-size: 0.95em;
    padding: 10px 0;
  }

  .logo {
    width: 200px;
  }

  .logo img {
    width: 200px;
  }

  .banner {
    height: 920px;
  }

  .bannerText h1 {
    font-size: 3em;
    line-height: 1.5em;
  }

  .imagineBox div img {
    height: 220px;
  }

  .imagineFlex .imagineBox:nth-child(3) div img {
    height: 460px;
  }

  .scrollText {
    padding: 50px 0;
  }

  .imagineBox p {
    padding: 8px;
    font-size: 0.9em;
  }

  .scrollText h4 {
    font-size: 1.8em;
  }

  .scrollText h2 {
    font-size: 3.5em;
  }

  .highlightBox>div {
    padding: 10px;
  }

  .highlightBox img {
    height: 298px;
  }

  .halfleft .highlightBox img {
    height: 600px;
  }

  .btn a {
    padding: 8px 16px;
    letter-spacing: 0;
    margin-top: 10px;
  }

  .applicate .applyhalf:last-child {
    padding: 20px 30px;
  }

  .staff .staffBox, .schl-board .schlBox {
    width: calc(33.33% - 30px);
  }

  .staff .staffBox h4, .schl-board .schlBox h4 {
    font-size: 1.2em;
  }

  .fullcal .fc-toolbar h2 {
    font-size: 1.2em;
  }

  .editor .fullcal .fc-event {
    font-size: 0.7em;
    font-weight: normal;
  }

  .fullcal .fc-button {
    padding: 6px 10px;
  }

  .editor .contactpg .full-screen {
    height: 460px;
  }

  .newsarchive .newsletter-list {
    margin: 0 -10px;
  }

  .newsarchive .newsletter-list li {
    width: calc(25% - 20px);
    margin: 10px;
  }

  .newscurrent h3 {
    padding: 15px 10px;
    font-size: 1.1em;
  }

  .newscurrent ul {
    padding: 15px 10px 0;
  }

  .foot-logo img {
    width: 150px;
  }
}

@media screen and (max-width:1023px) {
  .container {
    width: calc(100% - 40px);
  }

  .spaceTop {
    padding-top: 35px;
  }

  .spaceBottom {
    padding-bottom: 35px;
  }

  .content {
    padding: 10px 0 20px;
  }

  .logo {
    width: auto;
    top: 0;
    position: relative;
    margin: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 5;
    background-color: #fff;
    -webkit-box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.3);
    width: 288px;
    margin-top: 0;
  }

  .nav:before, .menu ul:after {
    display: none;
  }

  .menu, .nav.showMobiNav {
    display: block;
  }

  .menu>li {
    margin: 0;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .menu>li:not(:last-child) {
    margin-right: 0;
  }

  .menu li a, .home .menu>li>a, .menu>li:last-child>a, .menu>li:last-child:hover>a, .menu>li:last-child.active>a {
    line-height: 1.3em;
    text-align: left;
    position: relative;
    display: block;
    margin-left: 40px;
    padding: 10px 0px 10px 10px;
    color: var(--primary);
    background-color: transparent;
    border-bottom: 1px solid #fff;
  }

  .menu>li#donate a {
    padding: 10px 0px 10px 10px;
  }

  .menu li ul li {
    border-bottom: none;
  }

  .menu li ul li a {
    padding: 8px;
    line-height: 1.3em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .menu li ul li:last-child a {
    border-bottom: unset;
  }

  .menu>li:after {
    content: unset;
  }

  .menu ul, .menu>li li:hover>ul, .menu>li:hover>ul {
    display: block;
    width: inherit;
    position: relative;
    left: inherit;
    top: inherit;
    right: inherit;
    min-height: inherit;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    animation: none;
    visibility: visible;
    opacity: 1;
    background-color: inherit;
  }

  .menu ul {
    padding-left: 10px;
  }

  .menu>li:hover>a {
    color: var(--primary);
    background-color: transparent;
  }

  .menu>li.active>a, .menu li.active li.active li.active>a, .menu li.active li.active>a, .menu li ul li.active>a, .menu li ul li>a:hover {
    color: var(--primary);
    background-color: rgb(56 175 230 / 0.2);
  }

  .menu li .droparrow {
    position: absolute;
    top: 0;
    left: -40px;
    width: 40px;
    height: 100%;
    cursor: pointer;
  }

  .menu li .droparrow:after, .menu li .droparrow:before {
    top: 50%;
    content: " ";
    height: 2px;
    width: 8px;
    position: absolute;
    background-color: var(--primary);
    pointer-events: none;
    -webkit-transition: 0.3s all;
    -moz-transition: 0.3s all;
    transition: 0.3s all;
  }

  .menu li .droparrow:after {
    right: 14px;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu li .droparrow:before {
    left: 13px;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu li .droparrow.open:after {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu li .droparrow.open:before {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #menu-trigger {
    display: block;
    position: relative;
    z-index: 11;
    width: 34px;
    height: 34px;
    cursor: pointer;
    border-radius: 5px;
  }

  #menu-trigger span, #menu-trigger span:before, #menu-trigger span:after {
    position: absolute;
    width: 26px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  .header.home #menu-trigger span, .header.home #menu-trigger span:before, .header.home #menu-trigger span:after {
    background-color: var(--white);
  }

  #menu-trigger span {
    top: 50%;
    margin: -1px auto auto;
    display: block;
    font-size: 0px;
  }

  #menu-trigger span:after {
    top: 7px;
    content: "";
  }

  #menu-trigger span:before {
    top: -7px;
    content: "";
  }

  .showMobiNav#menu-trigger span, .header.home .showMobiNav#menu-trigger span {
    background-color: transparent;
  }

  .showMobiNav#menu-trigger span:before {
    -webkit-transform: translateY(0) rotate(45deg);
    transform: translateY(0) rotate(45deg);
    top: 0;
    left: 0;
  }

  .showMobiNav#menu-trigger span:after {
    -webkit-transform: translateY(0) rotate(-45deg);
    transform: translateY(0) rotate(-45deg);
    top: 0;
    left: 0;
  }

  .header {
    padding: 10px 0;
  }

  .banner {
    height: 680px;
    background-attachment: unset;
  }

  .bannerText {
    top: 60%;
    left: 50%;
    -ms-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
    padding: 0 10px;
  }

  .bannerText h1 {
    font-size: 2.6em;
  }

  .mainTitle h2 {
    font-size: 2.4em;
  }

  .imagineBox div img {
    height: 160px;
  }

  .imagineFlex .imagineBox:nth-child(3) div img {
    height: 340px;
  }

  .scrollText h4 {
    font-size: 1.6em;
  }

  .scrollText h2 {
    font-size: 3em;
  }

  .scrollText::after {
    width: 80px;
    height: 60px;
  }

  .halfleft {
    width: 60%;
  }

  .halfright {
    width: 40%;
  }

  .highlightBox img {
    height: 238px;
  }

  .halfleft .highlightBox img {
    height: 480px;
  }

  .highlightBox>div p, .halfleft .highlightBox>div p {
    width: 100%;
    margin-bottom: 0;
  }

  .applyhalf h2 {
    font-size: 2em;
  }

  .applicate .applyhalf:last-child::before, .applicate .applyhalf:last-child::after {
    width: 100px;
    height: 90px;
  }

  .col55, .col38 {
    width: 100%;
  }

  .events .col38 {
    padding-top: 20px;
  }

  .btn a {
    margin-top: 0;
  }

  .innerbanner h1 {
    padding: 20px 0;
    font-size: 1.6em;
    line-height: normal;
  }

  .innerbanner h1::before {
    bottom: 6px;
  }

  .editor h2 {
    font-size: 1.4em;
  }

  .editor h3 {
    font-size: 1.2em;
  }

  .staff .staffBox, .schl-board .schlBox {
    width: calc(50% - 30px);
  }

  .sponsors>* {
    width: calc(33.33% - 15px);
  }

  .newspg .newscurrent h3 {
    font-size: 1em;
    padding: 10px;
  }

  footer h3 {
    font-size: 1.1em;
  }

  footer {
    padding: 20px 0 15px 0;
    font-size: 1em;
  }
}

@media screen and (max-width:767px) {
  .spaceTop {
    padding-top: 25px;
  }

  .spaceBottom {
    padding-bottom: 25px;
  }

  .editor h3 {
    font-size: 1.3em;
  }

  .col12, .col23, .col13, .bears-den .col13 {
    width: 100%;
  }

  .col13+.col13, .col12+.col12 {
    margin-top: 15px;
  }

  .twocolumn {
    -moz-column-count: inherit;
    -webkit-column-count: inherit;
    column-count: inherit;
  }

  .editor table td a {
    word-break: break-word;
  }

  .editor .leftimg, .editor .rightimg {
    float: none;
    margin: 15px auto;
    max-width: 400px;
    text-align: center;
  }

  .menu.top::before {
    content: unset;
  }

  nav {
    margin-top: 0;
  }

  .menu.top {
    background-color: var(--white);
    position: relative;
    top: auto;
  }

  .bannerText h1 {
    font-size: 1.8em;
    line-height: 1.4em;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .banner {
    height: 520px;
  }

  .mainTitle h2 {
    font-size: 2em;
  }

  .imagineFlex {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }

  .imagineBox div img, .imagineFlex .imagineBox:nth-child(3) div img, .halfleft .highlightBox img, .highlightBox img {
    height: auto;
  }

  .scrollText h4 {
    font-size: 1.4em;
    margin: 5px 0;
  }

  .scrollText h2 {
    font-size: 2em;
  }

  .halfleft, .halfright, .applicate .applyhalf, .calWrap .glEvent {
    width: 100%;
  }

  .applicate .applyhalf img {
    height: 360px;
    width: 100%;
    object-fit: cover;
    object-position: top;
  }

  .staff, .schl-board .row {
    margin: 0;
  }

  .staff .staffBox {
    width: 100%;
    margin: 10px 0;
  }

  .schl-board .schlBox {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  .accordion .accordion-item .expanded-panel.accordion-panel {
    padding: 10px 5px !important;
  }

  .gslide .gslide-inline {
    max-width: 96%;
  }

  .editor .contactpg .full-screen {
    height: 320px;
    margin-top: 30px;
  }

  .sponsors>* {
    width: calc(50% - 15px);
  }

  .newspg h3 {
    font-size: 1em;
  }

  .newsarchive .newsletter-list {
    margin: 0 -4px;
  }

  .newsarchive .newsletter-list li {
    width: calc(50% - 8px);
    margin: 4px;
  }

  .newsFrame iframe {
    height: 400px;
    margin-bottom: 15px;
  }

  .newsarchive .newsletter-list li a {
    padding: 10px 5px;
    font-size: 0.9em;
  }

  .newsarchive .newsletter-list li a i {
    font-size: 8px;
    margin-right: 5px;
  }

  .newscurrent ul li a i {
    font-size: 8px;
  }

  .foot-logo img {
    width: 120px;
  }

  footer .foot-main .copyright {
    width: 100%;
  }

  footer .footer-menu.twocolumn {
    min-width: 100%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }

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

@media screen and (max-width:479px) {
  footer .foot-main>* {
    width: 100%;
  }

  footer .foot-main>*:not(:first-child) {
    margin-top: 20px;
  }

  .sponsors>* {
    width: 100%;
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

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

@-webkit-keyframes pull-up {
  0% {
    transform: translate(0, 30px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes pull-up {
  0% {
    transform: translate(0, 30px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@-webkit-keyframes on-off {
  0% {
    opacity: 0;
  }

  75% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes on-off {
  0% {
    opacity: 0;
  }

  75% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}