.mt0 {
  margin-top: 0;
}

.auto-margin {
  margin: auto;
}

.flex-row {
  display: flex !important;
  align-items: center;
  gap: 0.25rem;
}

.content-container.less-padding {
  padding: 0 1rem;
}

#nav-app {
    position: relative;
    margin-right: 0;
    transform: unset;
    top: 0;
    left: 0;
}

.logo-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  background: var(--secondary-brand);
  padding: 0.5rem 1rem;
}

.logo {
  width: 80%;
}

.logo svg {
  max-width: 200px;
  padding: 0.25rem 0;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-social.desktop-only {
    display: none;
}

.nav-social .social-link {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
  border: 1px solid #d3d3d380;
  width: 39.2px;
  text-align: center;
}

.nav-social .social-link:hover,
.nav-social .social-link:focus {
  background: rgba(255, 255, 255, 0.1);
}

#main-nav ul .main-dropdown .main-dropdown-menu {
  display: none;
  transform: unset;
  transform-origin: unset;
  transition: unset;
  opacity: 1;
  height: auto;
}

#main-nav a:hover {
  color: var(--primary-action);
}

@media only screen and (min-width: 62em) {
    .nav-social.desktop-only {
        display: flex;
    }

    .nav-social.mobile-only {
        display: none;
    }
  #main-nav > .main-ul {
    display: flex;
    align-items: center;
  }

  #main-nav > .main-ul {
    gap: 0.8rem;
  }

  #main-nav > .main-ul > .main-li {
    padding: 0.5rem 0.8rem 0.5rem 0;
    border-top: none;
    width: fit-content;
    border-right: 1px solid #d3d3d380;
  }

  #main-nav > .main-ul > .main-li:last-of-type {
    border-right: none;
  }

  #main-nav .nav-link span {
    font-size: 1.1rem;
  }
  #nav-app ul {
    justify-content: flex-end;
    padding-right: 0.5rem;
  }
  #main-nav ul .main-dropdown .main-dropdown-menu {
    display: none;
    top: 58px;
    left: -1rem;
    opacity: 1;
  }

  .search-filters {
    left: 5px;
    width: calc(100% - 10px);
    min-width: unset;
  }

  .logo {
    width: unset;
    position: absolute;
    left: 1rem;
  }

  .logo-row {
    padding: 1.5rem .5rem;;
  }

  .nav-social {
    position: absolute;
    top: 5.875px;
    left: 0.5rem;
  }

  .nav-social .social-link {
    color: var(--primary-brand);
    border: 2px solid #c7c7c7;
  }
}

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

.footer-social i {
  color: var(--primary-brand);
}

.main-footer .small-links {
  margin: 2rem 0 1rem;
}

.main-footer .small-links a {
  text-decoration: underline;
}

.footer-logo {
  margin-top: 3rem;
}

.external-website-wrapper {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  height: fit-content;
  max-width: unset;
}

.external-website {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.external-website img {
  display: block;
  height: 80px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.external-website p {
  font-size: 1rem;
}

@media (max-width: 1199px) {
  .peel-smile {
    right: 1rem;
    left: auto;
  }

  #main-nav ul .main-dropdown-menu {
    padding: 1rem;
    overflow: unset;
  }
}

@media (min-width: 62em) {
  .external-website-wrapper {
    padding: 2rem;
    gap: 2rem;
    height: 100%;
  }

  .external-website {
    height: calc(50% - 2rem);
  }
}

/* Home Page */
.home section {
  margin-bottom: 2rem;
}

@media (min-width: 75em) {
  .home section {
    margin-bottom: 3rem;
  }
}

.home .home-main {
  margin-bottom: 0;
}

/* Home - Banner */
.banner-wrapper {
  margin-bottom: 0.5rem;
}

.banner_img img {
  aspect-ratio: 809/474;
}

.swiper-slide {
  height: unset;
}

.swiper-button-prev {
  background: var(--primary-action);
  opacity: 0.89;
  bottom: 0;
  top: unset;
  right: 40px;
}

.swiper-button-next {
  background: var(--primary-action);
  bottom: 0;
  top: unset;
  right: 0;
}

.swiper-pagination-bullet {
  background: none;
  border: 2px solid white;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: white;
}

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

.swiper-pagination-1.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-1.swiper-pagination-bullets.swiper-pagination-horizontal {
  left: 1.5rem;
  width: fit-content;
}

.district .swiper-slide .banner_media,
.district .swiper-slide.side-by-side .banner_media {
  flex-basis: 100%;
  max-width: 100%;
  aspect-ratio: 809/474;
}

@media (max-width: 62em) {
  .banner_media.banner_img,
  .banner_media.banner_img img {
    position: static;
    aspect-ratio: 809/474;
    height: auto;
  }

  .district .swiper-slide .banner_media,
  .district .swiper-slide.side-by-side .banner_media {
    flex-basis: unset;
    max-width: unset;
  }
}

@media (min-width: 62em) and (max-width: 75em) {
  .swiper-slide .banner_info,
  .side-by-side .banner_info {
    width: 80%;
  }

  .swiper-slide,
  .side-by-side {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }

  /*.banner_media.banner_img, 
	.banner_media.banner_img img {
		aspect-ratio: 3/1;
	}*/
}

@media only screen and (min-width: 75em) {
  .banner-wrapper {
    margin-bottom: 0;
  }
  .banner-container {
    display: flex;
    gap: 0.5rem;
  }

  .carousel {
    width: 70%;
  }

  .carousel2 {
    width: 30%;
  }

  .carousel-slide {
    flex-direction: row-reverse;
  }

  .banner_info h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .district .swiper-slide .banner_media img {
    height: 100%;
  }

  .district .side-by-side .banner_info {
    flex-basis: unset;
    max-width: unset;
    justify-content: center;
    height: 100%;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
  }

  .district .swiper-slide .banner_media,
  .district .swiper-slide.side-by-side .banner_media {
    flex-basis: unset;
    max-width: unset;
    aspect-ratio: 809/474;
  }

  .district .swiper-slide.full-width {
    aspect-ratio: 1411/496;
  }

  .district .swiper-slide.full-width .banner_media {
    aspect-ratio: unset;
    width: 100%;
  }

  .full-width .banner_info {
    padding: 1rem;
  }

  .peel-smile {
    top: 2.5rem;
    right: -1rem;
    left: auto;
    max-width: 140px;
  }

  .swiper-button-prev {
    bottom: 0;
    right: 40px;
    left: auto;
  }
  .swiper-button-next {
    right: 0;
    left: auto;
    bottom: 0;
  }

  .swiper-pagination-1.swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-1.swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 2rem;
    bottom: 1rem;
    right: unset;
  }
	
	.nav-social .social-link:hover, .nav-social .social-link:focus {
		background: rgba(199, 199, 199, 0.5)
	}
}

@media (min-width: 75em) and (max-width: 99em) {
  .banner_info p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .full-width .banner_info {
    width: 70%;
  }
}

@media only screen and (min-width: 99em) {
  .banner_info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .district .side-by-side .banner_info {
    padding: 2rem;
    flex-basis: auto;
    max-width: 40%;
    justify-content: center;
  }

  .district .swiper-slide .banner_media,
  .district .swiper-slide.side-by-side .banner_media {
    flex-basis: 70%;
    max-width: 70%;
  }
}

/* Spotlight carousel */
.swiper-container,
.spotlight-item,
.spotlight-slide {
  height: 100%;
}

.spotlight-item {
  width: 100%;
}

.spotlight-info {
  position: absolute;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: white;
  padding: 1.5rem 1.5rem 4rem;
}
.spotlight-slide .img-wrapper,
.spotlight-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.spotlight-slide .img-wrapper {
  position: relative;
  height: 400px;
}

.spotlight-slide .img-wrapper::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent
    linear-gradient(
      180deg,
      #3b3b3b00 0%,
      #2929294d 0%,
      #0a0a0ad3 68%,
      #000000 100%
    )
    0% 0% no-repeat padding-box;
  opacity: 0.8;
}

.spotlight-slide .img-wrapper.no-cover {
  background-color: #c5e0f5;
  background-image: url(/images/peel-smile-white.svg);
  background-position: 85% 20%;
  background-repeat: no-repeat;
  background-size: 30%;
}

.spotlight-heading {
  color: white;
  font-size: 2rem;
}

.spotlight-title {
  margin: 0 0 0.5rem;
  color: white;
  width: 80%;
}

.spotlight-link {
  color: var(--primary-action);
}

.all-news {
  position: absolute;
  z-index: 10;
  bottom: 0;
  background: var(--primary-brand);
}

.swiper-pagination-2.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-2.swiper-pagination-bullets.swiper-pagination-horizontal {
  top: 1.5rem;
  left: auto;
  right: 1.5rem;
  width: fit-content;
}

@media (min-width: 75em) {
  .spotlight-slide .img-wrapper {
    height: 100%;
  }
}

.cta-block-wrapper {
  margin-top: 2rem;
}

.cta-block-wrapper .row {
  row-gap: 1.5rem;
}

.cta-block-wrapper a {
  padding: 1.5rem 1rem;
}

.cta-column {
  margin-bottom: 0;
  min-height: unset;
}

/* Home - Events */
.home-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.home-blocks h2 {
  font-size: 1.8rem;
}

.home-events,
.home-news,
.home-cta,
.quicklinks-wrapper {
  width: 100%;
}

.home-events {
  height: fit-content;
}

.home-events .row {
  row-gap: 1rem;
}

.event-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  background: var(--light-grey);
  color: var(--body-font-color);
}

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

.event-date-wrapper {
  background: var(--secondary-brand);
  color: white;
  padding: 0.75rem 1rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 60.52px;
}

.event-details {
  padding-right: 1rem;
  width: 80%;
}

.event-name {
  font-weight: var(--font-bold);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.home-news {
  background: var(--secondary-brand);
  color: white;
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-post {
  color: white;
  display: block;
}

.news-post:hover,
.news-post:focus {
  color: var(--primary-action);
}

.news-post::after {
  content: '';
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  display: block;
  margin: .75rem 0;
}

.news-post:last-of-type::after {
  content: none;
}

.home-news .news-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news .btn {
  margin-top: 2rem;
  width: fit-content;
}

.home-news .peel-smile {
  bottom: 1rem;
  top: auto;
  right: 1rem;
  width: 120px;
  left: unset;
}

.home-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  row-gap: 1.5rem;
}

.cta-box {
  position: relative;
  height: calc(33.33% - 1rem);
}

.cta-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  color: white;
}

.cta-box::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent
    linear-gradient(180deg, #3b3b3b4d 0%, #0a0a0ad3 68%, #000000 100%) 0% 0%
    no-repeat padding-box;
  opacity: 0.6;
}

.cta-title {
  margin-bottom: 1rem;
}

.quicklinks-wrapper h3 {
  color: var(--body-font-color);
}

#quicklinks-select {
  background-color: var(--secondary-brand);
  background-image: linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%);
  color: white;
  position: relative;
}

.quicklinks {
  margin-left: 0;
}

.quicklinks li {
  margin-top: 0.75rem;
  background: var(--light-grey);
}

@media (min-width: 48em) {
  .home-events,
  .home-news,
  .home-cta,
  .quicklinks-wrapper {
    width: calc(50% - 0.75rem);
    height: 500.47px;
  }

  .quicklinks-wrapper {
    height: auto;
  }

  .cta-text {
    bottom: 2rem;
    left: 2rem;
  }

  .home-news .peel-smile {
    width: 150px;
  }
}

@media (min-width: 75em) {
  .home-events,
  .home-news,
  .home-cta {
    width: 25%;
  }

  .quicklinks-wrapper {
    width: calc(25% - 4.5rem);
  }
}

@media (min-width: 75em) and (max-width: 99em) {
  .cta-text {
    bottom: 1rem;
    left: 1rem;
  }
}

@media (min-width: 99em) {
  .cta-text {
    bottom: 2rem;
    left: 2rem;
  }

  .cta-title {
    margin-bottom: 2rem;
  }
}

/* Subpage Template */
/*.featured-img-bg.no-img .featured-img-text h1 {
  background: none;
}*/

.featured-img-text {
  top: unset;
  transform: unset;
  padding: unset;
  text-align: unset;
}

.featured-img-text h1 {
  color: white;
  background: rgba(0, 0, 0, 0.5);
}

.featured-img-bg {
  padding: 20% 0;
  padding-bottom: 0;
}

.news-article_template .sidebar,
.event-article_template .sidebar {
  margin-bottom: 2rem;
}

.microsite-intro-wrapper {
  padding-top: 3rem;
  width: 100%;
  margin-left: unset;
}

@media (max-width: 1199px) {
  .menu-column {
    padding: 1rem;
  }
}

@media (min-width: 75em) {
  .sticky-sidebar {
    top: 2rem;
  }

  .featured-img-bg {
    padding: 20rem 0;
    padding-bottom: 0;
  }
  .news-article_template .sidebar,
  .event-article_template .sidebar {
    margin-top: 5rem;
  }
}

.pinned-tag {
    padding: 5px 8px;
    margin-top: 5px;
    display: block;
    width: fit-content;
    font-size: .9rem;
    text-transform: uppercase;
}

/* District Footer */
.main-footer {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.footer-logo-row {
  align-items: flex-start;
  margin-top: 2rem;
}

.footer-logo {
  margin-top: 0;
  width: 200px;
}

.main-footer .footer-social {
    margin-top: 1rem;
}

.main-footer .small-links {
    margin: 1rem 0;
}

.copyright-row {
    padding-bottom: 1rem;
}

.flex-column-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 30px);
}

@media (min-width: 48em){
  .external-website a {
    display: flex;
    align-items: center;
    gap: 2rem;
  } 

  .external-website img {
    margin: 0 auto;
    width: 50%;
  }

  .external-website p {
    width: calc(50% - 2rem);
  }
}

@media (min-width: 62em){
  .footer-logo {
    width: 290px;
  }
}


.add-row:first-of-type {
    margin-top: 1rem;
}

/* For Student Trustees Page */
.page--Student-Trustees div[data-lexical-collapsible-content] .editor-table p img  {
  width: 100%!important;
  height: auto;
  display: block;
  aspect-ratio: 1/1;
}

.page--Student-Trustees div[data-lexical-collapsible-content] .editor-table {
  table-layout: fixed;
}

.arrow-up-link{
    text-align: right;
    color: white;
    display: none;
    width: fit-content;
    margin-left: auto;
    margin-right: .5rem;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	z-index: 100;
	/* display: none; */
}

.arrow-up {
	background-color: #aeaeae;
    padding: .25rem;
    font-size: 2rem;
    transition: all .3s ease;
}


