
html,
body {
  overflow-x: hidden;
}

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #81a5d5;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

body,
button {
  font-family: astoria-sans, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #3c3c3c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: baltica, serif;
  font-weight: 400;
  font-style: normal;
}

a {
  color: #3c3c3c;
  transition: ease-in-out .4s;
}

button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.button-cookie {
  background-color: #005480!important;
  border-color: #005480!important;
  color: #fff!important;
}

/* WordPress */

[id^="gallery"] img {
  border: none!important;
  max-width: 100%;
  object-fit: contain;
}

[class^="wp-image-"] {
  padding: 5px;
}

.entry-content img {
  margin: 0 0 1.5em 0;
}

.alignleft, img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left;
}

.alignright, img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right;
}

.aligncenter, img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both;
}

.wp-caption {
  margin-bottom: 1.5em;
  text-align: center;
  padding-top: 5px;
}

.wp-caption img {
  border: 0 none;
  padding: 0;
  margin: 0;
}

.wp-caption p.wp-caption-text {
  line-height: 1.5;
  font-size: 14px;
  margin: 0;
}

blockquote.left {
  margin-right: 20px;
  text-align: right;
  margin-left: 0;
  width: 33%;
  float: left;
}

blockquote.right {
  margin-left: 20px;
  text-align: left;
  margin-right: 0;
  width: 33%;
  float: right;
}

@media screen and ( max-width: 991px ) {

  .gallery-item {
    width: 50%!important;
  }

}

@media screen and ( max-width: 767px ) {

  .gallery-item {
    width: 100%!important;
  }

}

/* Header */

header {
  padding-bottom: 15px;
  border-bottom: 10px solid;
}

#header__search {
  height: 0px;
  transition: height 0.2s ease-out;
  overflow: hidden;
}

#header__search-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__search-toggle {
  z-index: 1;
}

.header__search-toggle i {
  font-size: 23px;
}

#header__inner {
  padding-top: 25px;
}

#header-social-links a,
#header__google-translate,
#header-quick-links,
.header__search-toggle--nav {
  margin-right: 15px;
}

#header__google-translate select,
#header__google-translate > div {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  opacity: 0;
  margin: 0;
}

#header__google-translate span {
  display: none;
}

#header__search-form,
.is-form-id-1545 {
  border-radius: .1rem;
  padding: 5px;
  padding-left: 15px;
}

#header__search-form,
.header__search-input,
.is-form-id-1545 {
  width: 98%;
}

#is-search-input-1545,
.is-search-submit,
.is-search-icon {
  color: #fff!important;
  border: 0!important;
  background-color: #81a5d5!important;
}

.is-search-icon svg {
  width: 28px;
}

.is-form-style .is-search-submit path {
  fill: #fff;
}

.header__search-input::placeholder,
#is-search-input-1545::placeholder {
  color: #fff;
}

.mCS-dark-thick.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: #fff!important;
  background-color: #fff!important;
}

div.is-ajax-search-details,
div.is-ajax-search-result {
  background: #81a5d5!important;
}

.is-ajax-search-details .is-title a,
.is-ajax-search-post .is-title a {
  display: block;
  width: 100%;
}

.is-search-sections {
  line-height: 1!important;
}

.is-ajax-search-post,
.is-ajax-search-post-details {
  padding: 10px!important;
}

.is-show-more-results {
  background: #005480!important;
  color: #fff!important;
}

#header-quick-links__items {
  top: 37px;
  left: -88px;
  z-index: 99;
  transition: .4s ease-out;
  opacity: 0;
  visibility: hidden;
}

#header-quick-links__list {
  padding: 15px 20px;
  width: 200px;
  border-radius: 5px;
}

#header-quick-links__items.open {
  opacity: 1;
  visibility: visible;
}

#header-quick-links__list li:not(:last-child) {
  margin-bottom: 5px;
}

.toggler-bar {
  height: 4px;
  width: 45px;
  margin: 8px 0;
}

.toggler-bar:first-child {
  margin-top: 0px;
}

.toggler-bar:last-child {
  margin-bottom: 0px;
}

#main-navigation-overlay {
  z-index: 999;
  top: 0;
  left: 0;
  transition: all .3s ease;
  visibility: hidden;
  opacity: 0;
  user-select: none;
}

#main-navigation-overlay.open {
  visibility: visible;
  opacity: 1;
  user-select: all;
  cursor: pointer;
}

#main-navigation {
  max-width: 500px;
  top: 0;
  right: -500px;
  transition: all .5s ease-in-out;
  z-index: 9999;
  padding: 25px;
  padding-left: 50px;
  padding: 60px 25px 60px 25px;
  overflow: hidden;
}

#main-navigation #navigation-scroll {
  padding-top: 40px;
  max-height: 95%;
}

#main-navigation #navigation-scroll .fakeScroll__bar {
  background: rgba(255,255,255, .4);
}

#main-navigation-list {
  padding-left: 25px;
}

#main-navigation ul li a {
  font-size: 24px;
  border-bottom: 1px solid;
}

#main-navigation ul li {
  padding-top: 15px;
}

#main-navigation .child-items li a {
  font-size: 18px;
  border: none;
}

.nav-has-children::before {
  font-family: 'icomoon' !important;
  font-weight: 900;
  content: "\ea0a";
  font-size: 13px;
  position: absolute;
  left: -20px;
  top: 31px;
  transform: translateY(-50%);
  transition: transform .2s ease-in;
  color: #fff;
}

.parent-link-active::before {
  content: "\ea0b";
}

#main-navigation .child-items {
  height: 0;
  overflow: hidden;
  transition: height .4s ease-out;
}

#main-navigation .child-items li:not(:last-child) {
  padding-bottom: 10px;
}

#main-navigation .child-items li {
  padding-top: 0;
  padding-left: 30px;
}

#main-navigation .child-items li:first-child {
  padding-top: 20px;
}

#main-navigation .child-items li:last-child {
  padding-bottom: 10px;
}

#main-navigation .sub-child-items li:first-child {
  padding-top: 10px;
}

#main-navigation .sub-child-items li:last-child {
  padding-bottom: 0px;
}

@media screen and (max-height: 900px) {

  #main-navigation {
    overflow-y: scroll;
  }

  #main-navigation #navigation-scroll {
    max-height: 85%;
  }

}

@media screen and ( max-width: 575px ) {

  #header__logo {
    margin-bottom: 25px;
  }

}

/* Notifications */

#notifications__container {
  position: absolute;
  z-index: 99;
  left: 30px;
  bottom: 32%;
  user-select: none;
  pointer-events: none;
}

#notifications {
  max-width: 425px;
  box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.75);
}

#notifications,
#notifications__data {
  transition: all .4s ease-in-out;
}

#notifications.close {
  left: -1000px;
}

#notifications__data.close {
  right: 1000px;
}

#notifications.open {
  left: 0px;
}

.notifications__header {
  padding: 55px 25px 15px 25px;
}

.notifications__header h4,
.notifications__header p {
  padding-left: 10px;
}

.notifications__header h4 {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notifications__header img {
  top: 0;
  transform: rotate(-180deg);
}

.notifications__header button {
  top: 15px;
  right: 15px;
  pointer-events: all;
}

.notifications__header button i {
  font-size: 18px;
}

.notifications__footer {
  padding: 15px 35px 25px 35px;
}

.notifications__footer p {
  height: 80px;
  line-height: 1.3;
}

#notifications__data,
#notifications__data.open {
  bottom: 5px;
  right: 10px;
}

#notifications__info {
  margin-right: 5px;
}

#notifications__bell {
  padding: 15px;
  border-radius: 50%;
  bottom: -40px;
  left: -27px;
  overflow: unset;
  pointer-events: all;
}

#notifications__bell span {
  padding: 4px 8px;
  border-radius: 50%;
  top: -2px;
  right: -2px;
  line-height: 1;
}

#notifications__controls button,
.notifications__read-more,
.notifications__link,
.notifications__trigger {
  pointer-events: all;
}

@media screen and ( max-width: 575px ) {

  #notifications__container {
    width: 90%;
    max-width: 425px;
    bottom: 20%;
  }

  #notifications {
    width: 100%;
  }

  .notifications__footer p {
    height: auto;
  }

}

/* Slideshow */

#slideshow-ow .tns-nav {
  position: absolute;
  bottom: 80px;
  left: 17%;
  z-index: 99;
}

#slideshow-ow .tns-nav > [aria-controls] {
  width: 9px;
  height: 9px;
  padding: 0;
  margin: 0 5px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0px 0px 10px #000;
}

#slideshow-ow .tns-nav-active {
  background: #005480!important;
}


#slideshow-ow {
  width: 100%;
}

#slideshow {
  border-bottom: 10px solid;
  overflow: hidden;
}

.slideshow-item {
  height: calc(100vh - 175px);
  overflow: hidden;
}

.slideshow-item img {
  object-fit: cover;
  object-position: center;
}

.slideshow-item__title-container {
  right: 16%;
  bottom: 80px;
  max-width: 40%;
  z-index: 99;
}

.slideshow-item__title {
  font-size: 75px;
  line-height: 1;
  text-shadow: 0px 10px 10px #000;
}

#home-blue-chevron-down {
  top: -40px;
  left: 50%;
  transform: translate(-50%);
  font-size: 80px;
}

@media screen and ( max-width: 991px ) {

  .slideshow-item__title-container {
    max-width: 90%;
    right: 10%;
    bottom: 45px;
  }

  .slideshow-item__title-container h1 {
    font-size: 55px;
  }

  #slideshow-ow .tns-nav {
    display: none;
  }

}

@media screen and ( max-width: 575px ) {

  .slideshow-item__title-container {
    right: 15px;
    max-width: 75%;
  }

  .slideshow-item__title-container h1 {
    font-size: 45px;
  }

}

/* Headmaster's Welcome */

.headmasters-welcome {
  padding: 50px 0px;
  overflow: hidden;
}

.headmasters-welcome__left {
  width: 60%;
  padding-right: 30px;
}

.headmasters-welcome__title {
  font-size: 60px;
  line-height: .9;
}

.headmasters-welcome__title span {
  margin-left: 30px;
}

.headmasters-welcome__link,
.notifications__read-more,
.notifications__link,
.notifications__trigger {
  font-size: 14px;
  padding-bottom: 5px;
  border-bottom: 2px solid;
  margin-right: 50px;
}

.headmasters-welcome__right {
  width: 40%;
  align-self: stretch;
  padding-top: 100px;
}

.headmasters-welcome__right img.img-fluid {
  height: 100%;
  object-fit: cover;
}

.headmasters-welcome__right::before {
  content: '';
  position: absolute;
  background-image: url('../images/light-blue-castle.png');
  top: -15px;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 118%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.headmasters-welcome__headmasters-name {
  left: 0;
  bottom: 20px;
  z-index: 2;
}

.headmasters-welcome__headmasters-name img {
  z-index: 1;
  object-fit: contain;
  object-position: bottom;
}

.headmasters-welcome__headmasters-name p {
  padding: 8px 25px 8px 15px;
  line-height: 1.3;
  font-size: 18px;
}

.headmasters-welcome__headmasters-name p em {
  font-size: 16px;
}

@media screen and ( max-width: 991px ) {

  .headmasters-welcome__title br {
    display: none;
  }

  .headmasters-welcome__title span {
    margin-left: 0;
  }

  .headmasters-welcome__title {
    font-size: 47px;
  }

}

@media screen and ( max-width: 767px ) {

  .headmasters-welcome__right::before {
    top: 0;
    height: 100%;
    background-position: top;
  }

  .headmasters-welcome__headmasters-name {
    bottom: 59px;
  }

}

@media screen and ( max-width: 575px ) {

  .headmasters-welcome__left,
  .headmasters-welcome__right {
    width: 100%;
  }

  .headmasters-welcome__right {
    padding-top: 0;
  }

  .headmasters-welcome__left {
    padding-right: 0px;
    margin-bottom: 30px;
  }

  .headmasters-welcome__headmasters-name {
    bottom: 20px;
  }

  .headmasters-welcome__right::before {
    display: none;
  }

  .headmasters-welcome::before {
    content: '';
    position: absolute;
    background-image: url('../images/light-blue-castle.png');
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

}

/* Homepage Video Section */

.homepage-video-section {
  padding: 30px 0 0 0;
  width: 100%;
}

.homepage-video {
  display: block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.homepage-video__wrapper {
  overflow: hidden;
  border-radius: 0;
  position: relative;
}

.homepage-video__thumbnail {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid #005480;
}

.homepage-video__text {
  left: 0;
  bottom: 20px;
  z-index: 3;
}

.homepage-video__play-button {
  z-index: 1;
  padding: 8px;
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage-video__play-button img {
  display: block;
  height: 30px;
  width: auto;
}

.homepage-video__label {
  padding: 8px 25px 8px 15px;
  line-height: 1.3;
  font-size: 16px;
  color: white;
  letter-spacing: normal;
  text-transform: uppercase;
  font-weight: normal;
  margin: 0;
}

/* Responsive styles for homepage video */
@media (max-width: 991px) {
  .homepage-video__label {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .homepage-video__text {
    bottom: 15px;
  }
}

@media (max-width: 575px) {
  .homepage-video-section {
    padding: 20px 0 0 0;
  }

  .homepage-video__label {
    font-size: 14px;
    padding: 6px 15px 6px 10px;
  }
}

/* School Areas */

.school-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 25px 50px;
}

.school-areas__title {
  font-size: 48px;
  line-height: .9;
}

.school-areas__image {
  height: 195px;
  object-fit: cover;
}

.school-areas__overlay {
  opacity: 0;
  visibility: hidden;
}

.school-areas__link:hover .school-areas__overlay {
  opacity: 1;
  visibility: visible;
}

@media screen and ( max-width: 1199px ) {

  .school-areas__image {
    height: 170px;
  }

}

@media screen and ( max-width: 991px ) {

  .school-areas {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 25px;
  }

  .school-areas__image {
    height: 195px;
  }

}

@media screen and ( max-width: 767px ) {

  .school-areas {
    grid-template-columns: 1fr;
  }

}

/* Facebook News */

.facebook-news {
  padding: 35px 0px;
}

.facebook-news__left {
  width: 25%;
  padding-right: 30px;
}

.facebook-news__title {
  font-size: 36px;
}

.facebook-news__link {
  padding-bottom: 5px;
  border-bottom: 2px solid;
}

.facebook-news__right {
  width: 100%;
}

#cff .cff-html5-video,
#cff video {
  max-height: 250px;
}

#cff .cff-poster {
  max-height: 250px;
  object-fit: cover;
}

@media screen and ( max-width: 991px ) {

  .facebook-news__left,
  .facebook-news__right {
    width: 100%;
    padding: 0px;
  }

  .facebook-news__left {
    margin-bottom: 30px;
    text-align: center;
  }

}

/* Events Slideshow */

#events-slideshow-mw {
  max-width: 90%;
  margin: 0 auto;
}

.events-slideshow-container {
  padding: 30px 0px 40px 0px;
}

.events-slideshow__title {
  font-size: 36px;
}

.events-slideshow__link {
  top: 0;
  right: 0;
}

.events-slideshow__link span {
  line-height: .9;
  margin-right: 8px;
}

.events-slideshow__item {
  padding: 20px 20px 50px 20px;
  min-height: 255px;
}

.events-slideshow__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 40px solid #d3e0f1;
}

.events-slideshow__date {
  font-size: 82px;
}

.events-slideshow__date span {
  font-size: 36px;
  border-bottom: 3px solid;
  line-height: 1.1;
}

@media screen and ( max-width: 991px ) {

  #events-slideshow-mw {
    max-width: 85%;
  }

}

@media screen and ( max-width: 767px ) {

  #events-slideshow-mw {
    max-width: 82%;
  }

}

@media screen and ( max-width: 575px ) {

  #events-slideshow-mw {
    max-width: 75%;
  }

  .events-slideshow__link {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
  }

}

/* Social Toolbar */

#social-toolbar {
  margin-bottom: 30px;
}

#share-area span:not(:first-child) {
  padding-left: 15px;
  border-left: 1px solid;
}

#share-area span:not(:last-child) {
  padding-right: 15px;
}

#share-area .icon-envelope {
  font-size: 18px;
}

@media screen and ( max-width: 991px ) {

  .social-toolbar__breadcrumbs {
    margin-bottom: 15px;
  }

}

/* Page Content */

.page-content {
  padding-top: 30px;
  padding-bottom: 30px;
}

.page-content__left {
  width: 73%;
  padding-right: 20px;
  border-right: 3px solid;
}




.page-content__right {
  width: 27%;
  padding-left: 20px;
}

.campaigning-overview .page-content__right {
  width:35%;
}

.campaigning-overview .page-content__left {
  width:65%;
}


@media screen and (max-width: 991px) {
  .campaigning-overview .page-content__left {
    width:100%;
  }

  .campaigning-overview .page-content__right {
    width:100%;
    max-width:425px;
  }
}

.whats-happening__list {
  counter-reset: happening-counter;
}

.whats-happening__list-item {
  counter-increment: happening-counter;
}

.whats-happening__list-item::before {
  content: counter(happening-counter);
  font-size: 38px;
  margin-right: 15px;
  font-family: baltica, serif;
  font-weight: bold;
  line-height: 1;
  color: #005480;
}

.whats-happening__list-item i {
  margin-top: 5px;
}

.whats-happening__list-item:hover i {
  color: #81a5d5;
}

.whats-happening__list-inner {
  padding-bottom: 15px;
  border-bottom: 1px solid;
}

.whats-happening__list-inner span {
  padding-right: 10px;
}

.page-content__block {
  clear: both;
}

.page-content__block:not(:last-child) {
  margin-bottom: 30px;
}

.accordion__button {
  padding: 15px 25px;
}

.accordion__arrow {
  transition: transform 0.3s ease-out;
}

.accordion__content {
  padding: 0px 35px;
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease-out;
}

.accordion__content-inner {
  padding: 20px 0px;
}

.gallery-item__overlay {
  opacity: 0;
  visibility: hidden;
  user-select: none;
  pointer-events: none;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
  visibility: visible;
}

.split-content--40 {
  width: 40%;
}

.split-content--50 {
  width: 50%;
}

.split-content--60 {
  width: 60%;
}

.split-content--left {
  padding-right: 15px;
}

.split-content--right {
  padding-left: 15px;
}

.split-content__quotation {
  padding: 30px;
}

.page-content__document {
  padding: 10px 20px;
}

.page-content__document:not(:last-child) {
  margin-bottom: 20px;
}

.page-content__document-icon {
  font-size: 36px;
}

.split-content__video-icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 58px;
  color: #c4302b;
  line-height: 0.5;
  border-radius: 50%;
}

.split-content__image-title {
  z-index: 2;
  left: 15px;
  bottom: 15px;
  padding: 8px 25px;
}

.youtube-video-large {
  max-width: 75%;
  margin: 0 auto;
}

.youtube-video-large img {
  max-height: 350px;
  object-fit: cover;
}

.page-content__block blockquote {
  background-color: #d3e0f1;
  color: #005480;
  padding: 25px;
  font-size: 18px;
}

.page-content__block blockquote p {
  margin: 0;
}

.sidebar__image {
  height: 250px;
}

.sidebar__image-link {
  width: 70%;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%);
  line-height: 1.3;
}

.sidebar-events__header {
  padding: 30px 30px 50px 30px;
}

.sidebar-events__footer {
  padding: 30px;
}

#sidebar-events__controls {
  bottom: 5px;
  right: 10px;
  z-index: 99;
}

#sidebar-events__info {
  bottom: 8px;
  right: 38px;
  z-index: 99;
  font-size: 14px;
}

#sidebar-events__teardrop {
  font-size: 18px;
}

@media screen and ( max-width: 991px ) {

  .page-content__left,
  .page-content__right {
    width: 100%;
  }

  .page-content__left {
    padding-right: 0px;
    border-right: 0;
    margin-bottom: 40px;
  }

  .page-content__right {
    padding-left: 0px;
    max-width: 425px;
    margin: 0 auto;
  }

}

@media screen and ( max-width: 767px ) {

  .split-content--left,
  .split-content--right {
    width: 100%;
  }

  .split-content--left {
    padding-right: 0px;
    margin-bottom: 20px;
  }

  .split-content--right {
    padding-left: 0px;
  }

  .youtube-video-large {
    max-width: 100%;
  }

}

/* Loader */

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* Photo Gallery */

#highlighted-photo-gallery-1,
#highlighted-photo-gallery-2 {
  width: 50%;
  margin-bottom: 30px;
}

#highlighted-photo-gallery-1 {
  margin-right: 15px;
}

#highlighted-photo-gallery-2 {
  margin-left: 15px;
}

#photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

#photo-gallery__categories {
  margin-right: 15px;
}

@media screen and ( max-width: 991px ) {

  #highlighted-photo-gallery-1 img,
  #highlighted-photo-gallery-2 img {
    height: 250px;
  }

}

@media screen and ( max-width: 767px ) {

  #highlighted-photo-gallery-1,
  #highlighted-photo-gallery-2 {
    width: 100%;
    padding: 0px;
    margin: 0px 0px 30px 0px;
  }

  #photo-gallery {
    grid-template-columns: 1fr;
  }

  #highlighted-photo-gallery-1 img,
  #highlighted-photo-gallery-2 img,
  #photo-gallery img {
    height: auto;
    max-height: 300px;
  }

}

/* News */

.home-facebook-feed-container {
  padding: 20px;
  border-radius: .25rem;
}

.home .cff-expand a,
#latest-news__facebook-container .cff-likes-box {
  display: none!important;
}

#latest-news__facebook-container {
  padding: 30px;
}

#cff #cff-load-more,
#cff .cff-load-more,
#cff .cff-load-more.cff-disabled,
#cff .cff-load-more.cff-loading {
  background: #005480!important;
  border-radius: 0!important;
  color: #81a5d5!important;
  text-decoration: none!important;
  opacity: 1!important;
  text-transform: uppercase!important;
  font-weight: bold!important;
}

#cff .cff-page-name a {
  font-family: baltica, serif;
  color: #005480!important;
  font-size: 20px!important;
  font-weight: bold!important;
}

#cff .cff-date {
  font-size: 12px!important;
}

#cff .cff-post-links a {
  color: #005480!important;
}

.cff-likebox {
  display: none!important;
}

.cff_owl-theme .cff_owl-controls .cff_owl-page span {
  background: #81a5d5;
}

.home #cff .cff_owl-wrapper {
  display: flex!important;
}

.home #cff .cff-item  {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home #cff .cff-meta-wrap {
  margin-top: auto;
}

/* Events */

.events__loader {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #005480;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#events__left {
  width: 35%;
  padding-right: 20px;
  border-right: 2px solid;
}

#events__right {
  width: 65%;
  padding-left: 20px;
}

#calendar {
  max-width: 600px;
}

#calendar #prev,
#calendar #next {
  cursor: pointer;
}

.month {
  padding: 10px 15px;
  width: 100%;
}

.month ul {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  font-size: 22px;
}

#calendar ul,
#days li {
  list-style-type: none;
}

#days,
#weekdays {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  padding: 10px 0;
  margin: 0;
}

#days {
  background: #eee;
}

#weekdays {
  margin-top: 5px;
  background-color: #ddd;
}

#weekdays li {
  color: #666;
}

#days li {
  font-size: 16px;
  color: #777;
  padding: 15px;
  border: 1px solid #ccc;
}

#days li.active {
  color: #0b0c19;
  font-weight: 700;
}

#weekdays li,
#days li {
  text-align: center;
}

.events__item {
  padding: 20px;
  padding-left: 25px;
}

.events__item-left {
  width: 30%;
}

.events__item-right {
  width: 70%;
  padding-left: 20px;
}

.events__date {
  line-height: 1.1;
  width: 100px;
}

.events__date__day {
  font-size: 32px;
}

.events__date__divider {
  padding: 0px 5px;
}

.events__heading {
  padding: 10px 20px;
  border-radius: .25rem;
}

.events__checkbox {
  height: 30px;
  width: 30px;
  border-radius: .25rem;
  margin-left: 10px;
}

.events__checkbox i {
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s;
  font-size: 18px;
}

.events__checkbox--first {
  margin-right: 25px;
}

.events__view--active .events__checkbox i {
  opacity: 1;
  visibility: visible;
}

.events__category,
.events__year-group {
  padding-right: 10px;
}

.events__category:not(:last-child),
.events__year-group:not(:last-child) {
  margin-bottom: 15px;
}

.events__category span i,
.events__year-group span i {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.events__category .icon-teardrop-right,
.events__year-group .icon-teardrop-right {
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s;
}

.events__category--active .icon-teardrop-right,
.events__year-group--active .icon-teardrop-right {
  opacity: 1;
  visibility: visible;
}

#days li.has_event {
  position: relative;
  z-index: 2;
  color: #fff;
}

#days li.has_event::before {
  content: '';
  position: absolute;
  display: block;
  padding: 14px;
  border-radius: 50%;
  background-color: #81a5d5;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.events__icon {
  font-size: 38px;
  margin-right: 15px;
  width: 38px;
  height: 38px;
}

.years__icon {
  height: 32px;
  width: 32px;
  font-size: 32px;
}

.events__read-more {
  font-size: 14px;
}

@media screen and ( max-width: 1399px ) {

  .events__item-left {
    width: 35%;
  }

  .events__item-right {
    width: 65%;
  }

}

@media screen and ( max-width: 1199px ) {

  #events__left {
    width: 40%;
  }

  #events__right {
    width: 60%;
  }

  .events__heading {
    font-size: 14px;
  }

  .events__icon {
    margin-right: 0px;
    margin-bottom: 5px;
  }

}

@media screen and ( max-width: 991px ) {

  #events__left,
  #events__right {
    width: 100%;
    padding: 0px;
  }

  .events__heading {
    font-size: 16px;
  }

  #events__left {
    border: 0;
  }

  #calendar {
    margin: 0 auto;
  }

  #calendar,
  #events__right {
    margin-bottom: 30px;
  }

  .events__icon {
    margin-right: 15px;
    margin-bottom: 0px;
  }

}

@media screen and ( max-width: 767px ) {

  .events__heading-title {
    margin-bottom: 10px;
  }

  .events__icon {
    margin-right: 0px;
    margin-bottom: 5px;
  }

}

@media screen and ( max-width: 575px ) {

  #weekdays,
  #days {
    display: none;
  }

  .events__item-left,
  .events__item-right {
    width: 100%;
    padding: 0;
  }

  .events__item-left {
    margin-bottom: 20px;
  }

  .events__icon {
    margin-right: 15px;
    margin-bottom: 0px;
  }

  .events__read-more {
    margin-top: 15px;
  }

  .events__view {
    width: 100%;
    justify-content: space-between;
  }

  .events__view[data-view="month"] {
    margin-bottom: 15px;
  }

  .events__checkbox--first {
    margin-right: 0px;
  }

}

/* Contact */

.contact-page__left {
  width: 45%;
  padding-right: 20px;
  border-right: 2px solid;
}

.contact-page__right {
  width: 55%;
  padding-left: 20px;
}

.contact-page__heading {
  padding: 15px 20px;
  border-radius: .25rem;
}

.contact-page__heading p {
  line-height: 1;
}

.contact-page__form {
  padding: 30px 20px;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-date,
.wpcf7-select {
  border: 0;
  padding: 10px;
}

.contact-page__submit p {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-page__image-left {
  width: 45%;
}

.contact-page__image-right {
  width: 55%;
}

.contact-page__image-left,
.contact-page__image-right {
  object-fit: cover;
}

#map {
  height: 300px;
  width: 60%;
}

.contact-page__text {
  padding-left: 20px;
  width: 40%;
}

#contact-page__postcode {
  height: 36px;
  width: 70%;
  padding: 5px 15px;
}

#contact_page__directions {
  width: 30%;
  white-space: nowrap;
}

@media screen and ( max-width: 1199px ) {

  #contact_page__directions {
    font-size: 13px;
  }

}

@media screen and ( max-width: 991px ) {

  #contact_page__directions {
    font-size: 16px;
  }

  .contact-page__left,
  .contact-page__right {
    width: 100%;
    padding: 0px;
  }

  .contact-page__left {
    border: 0;
  }

  .contact-page__right {
    margin-bottom: 30px;
  }

}

@media screen and ( max-width: 575px ) {

  #contact-page__postcode {
    width: 100%;
    margin-bottom: 15px;
  }

  #contact_page__directions {
    width: 75%;
  }

  .contact-page__image-left,
  .contact-page__image-right,
  #map,
  .contact-page__text {
    width: 100%;
    padding: 0px;
  }

  .contact-page__image-left,
  #map {
    margin-bottom: 20px;
  }

}

/* Our Staff */

#modal {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all .4s ease;
}

#modal.modal-show {
  visibility: visible;
  opacity: 1;
}

#modal-body {
  padding: 20px;
  max-height: 85%;
  max-width: 900px;
  overflow-y: scroll;
  overflow-x: hidden;
}

#modal-close {
  top: -45px;
  right: 0px;
  font-size: 32px;
}

#modal__left {
  width: 40%;
  padding-right: 15px;
}

#modal__right {
  width: 60%;
  padding-left: 15px;
}

.staff-members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 25px;
}

.accordion__content--staff {
  padding: 0px;
}

.staff-members__name {
  line-height: 1.3;
}

.staff-members__role {
  line-height: 1.1;
}

.staff-members__content {
  padding: 20px 10px;
  flex: 1;
}

.staff-members__footer {
  margin-top: 15px;
  height: 36px;
}

.staff-members__image {
  height: 250px;
  object-fit: cover;
}

@media screen and ( max-height: 900px ) {

  #modal-close {
    top: 15px;
    right: 15px;
    color: #005480;
  }

}


@media screen and ( max-width: 1199px ) {

  .staff-members {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media screen and ( max-width: 991px ) {

  #modal-body {
    max-width: 90%;
  }

}

@media screen and ( max-width: 767px ) {

  .staff-members {
    grid-template-columns: repeat(2, 1fr);
  }

  #modal__left,
  #modal__right {
    width: 100%;
    padding: 0px;
  }

  #modal__left img {
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
  }

}

@media screen and ( max-width: 575px ) {

  .staff-members__image {
    height: auto;
    max-height: 350px;
  }

  .staff-members {
    grid-template-columns: 1fr;
  }

  #modal__left img {
    padding-right: 30px;
  }

}

/* Admissions */

#admissions__form-container {
  padding: 30px 20px;
}

#admissions__form p {
  margin-bottom: 30px;
}

#admissions__form span.wpcf7-list-item {
  margin-left: 0px;
  margin-top: 10px;
}

/* Vacancies */

.vacancies__wrapper:not(:last-child) {
  margin-bottom: 25px;
}

.vacancies__item {
  padding: 20px;
  border: 3px solid;
}

.vacancies__icon {
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
}

.vacancies__item:hover .vacancies__icon {
  opacity: 1;
  visibility: visible;
}

.vacancies__job-specification-heading {
  padding: 7px 15px;
  border-radius: .25rem;
}

.vacancies__job-specification {
  padding: 25px 15px 25px 15px;
}

.vacancies__job-specification p:last-child {
  margin-bottom: 0px;
}

.vacancies__contact-info {
  padding: 25px 15px;
}

.vacancies__space-right {
  margin-right: 20px;
}

.vacancies__item-left {
  width: 75%;
}

.vacancies__item-right {
  width: 25%;
}

@media screen and ( max-width: 767px ) {

  .vacancies__space-right {
    margin-right: 0px;
    margin-bottom: 15px;
  }

  .vacancies__item-left,
  .vacancies__item-right {
    width: 100%;
  }

}

/* Shop */

#shop__categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

.shop__categories-image-container {
  height: 300px;
  overflow: hidden;
}

.shop__categories-image {
  height: 100%!important;
  object-fit: cover;
  transition: all .5s ease-in-out!important;
}

.shop__categories-link:hover .shop__categories-image {
  transform: scale(1.1);
}

.shop__categories-title {
  left: 50%;
  transform: translate(-50%);
  bottom: 30px;
  font-size: 18px;
  padding: 10px 35px;
  min-width: 50%;
  max-width: 80%;
  white-space: nowrap;
}

.shop__left {
  width: 80%;
  padding-right: 10px;
}

.shop__left--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px 20px;
}

.shop__right {
  width: 20%;
  padding-left: 10px;
}

.shop-category__product-image {
  border: 2px solid;
  border-radius: .25rem;
  padding: 5px;
}

.shop-category__product-image img {
  height: 350px;
  object-fit: cover;
}

.shop-category__icon {
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  padding: 8px 6px 8px 8px;
}

.shop-category__product__overlay {
  opacity: 0;
  visibility: hidden;
  padding: 10px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.shop-category__product-link:hover .shop-category__product__overlay {
  opacity: 1;
  visibility: visible;
}

.shop-category__category-link,
#my-account-link,
.woocommerce-Button,
.woocommerce-MyAccount-navigation ul li a,
.checkout-button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  transition: .4s ease-in-out!important;
  padding: 10px 15px!important;
  border-radius: .25rem!important;
  border-color: #005480!important;
  background-color: #005480!important;
  color: #fff!important;
  font-weight: normal!important;
}

.shop-category__category-link:not(:last-child),
.woocommerce-MyAccount-navigation ul li:not(:last-child) {
  margin-bottom: 15px!important;
}

.shop-category__category-link:last-child {
  display: block!important;
  margin-top: auto!important;
}

.shop-category__category-link:hover,
.shop-category__category-link--active,
#my-account-link:hover,
.woocommerce-Button:hover,
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a,
.checkout-button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  border-color: #81a5d5!important;
  background-color: #81a5d5!important;
  color: #005480!important;
}

.product__left {
  width: 35%;
  padding-right: 10px;
}

.product__right {
  width: 65%;
  padding-left: 10px;
}

.product-slideshow__icon {
  right: 0;
  top: 0;
  padding: 8px;
  pointer-events: none;
}

.product-slideshow__icon i {
  font-size: 18px;
}

.product-slideshow__item:hover .product-slideshow__icon {
  color: #fff;
}

#product-slideshow img,
.product__image-single {
  height: 350px!important;
  object-fit: contain;
  object-position: center;
}

#product-slideshow-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}

#product-slideshow-thumbnails li {
  border: 1px solid;
  padding: 2px;
  cursor: pointer;
}

#product-slideshow-thumbnails img {
  height: 75px;
  object-fit: scale-down;
}

.woocommerce-product-gallery,
.woocommerce-shipping-calculator,
.product_meta .sku_wrapper,
.woocommerce-Tabs-panel--additional_information h2:first-child,
.related.products .onsale,
.cart-collaterals .shipping {
  display: none;
}

.woocommerce div.product div.summary {
  width: 100%;
}

.woocommerce div.product form.cart .variations select {
  min-width: auto;
}

#shopping-basket p {
  font-size: 18px;
}

#my-account-link {
  margin-right: 15px;
}

#shopping-basket p:first-child,
#shopping-basket div {
  margin-right: 10px;
}

#shopping-basket__icon {
  font-size: 30px;
}

#shopping-basket__count {
  top: 7px;
  left: 50%;
  transform: translate(-50%);
  font-size: 15px!important;
}

.woocommerce-MyAccount-content fieldset {
  margin-bottom: 20px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  width: 100%;
  display: block;
}

.woocommerce-variation-add-to-cart {
  display: flex;
  align-items: flex-start;
}

.cw_quantity_select {
  margin-right: 10px;
  margin-bottom: 15px;
}

.product select {
  padding: 5px;
  border-color: #81a5d5;
  color: #005480;
}

.woocommerce div.product .product_title {
  color: #005480;
  margin-bottom: 0px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #3c3c3c;
  font-weight: bold;
}

.woocommerce-input-wrapper input,
.woocommerce-Input {
  border: 1px solid #81a5d5;
  padding: 8px;
}

.woocommerce span.onsale {
  position: static;
  display: inline-block;
  padding: 1px 8px;
  margin-bottom: 10px;
}

.g-recaptcha {
  margin-bottom: 15px;
}

@media screen and ( max-width: 1399px ) {

  .shop__categories-image-container {
    height: 235px;
  }

  #product-slideshow-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media screen and ( max-width: 1199px ) {

  .woocommerce div.product div.summary {
    width: 100%;
  }

  .shop__categories-image-container {
    height: 235px;
  }

}

@media screen and ( max-width: 991px ) {

  #shop__categories,
  .shop__left--grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop__categories-image-container {
    height: 275px;
  }

  .shop__left {
    width: 100%;
    padding-right: 0px;
    margin-bottom: 30px;
  }

  .shop__right {
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
  }

}

@media screen and ( max-width: 767px ) {

  #shop__categories {
    grid-template-columns: 1fr;
  }

  .shop__categories-image-container {
    height: auto;
    max-height: 325px;
  }

  #product-slideshow-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media screen and ( max-width: 575px ) {

  #product-slideshow-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  .product__left,
  .product__right {
    width: 100%;
    padding: 0px;
  }

  .product__right {
    margin-bottom: 20px;
  }

  .shop__left--grid {
    grid-template-columns: 1fr;
  }

  .shop-category__product-image img {
    height: auto;
    max-height: 400px;
  }

  #my-account-link {
    margin-right: 0px;
    margin-bottom: 15px;
  }

}

/* Footer */

#footer-map {
  min-height: 250px;
  overflow: hidden;
}

#footer-map::before {
  position: absolute;
  content: '';
  background-image: url('../images/footer-map.webp');
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

#footer-map__marker {
  top: 35px;
  left: 50%;
  transform: translate(-50%);
  height: 80px;
}

#footer-map__grid-container {
  margin-top: 135px;
  z-index: 1;
}

#footer-map__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
}

#footer-content {
  padding: 50px 0px 30px 0px;
}

.footer-content__top-left,
.footer-content__top-right,
.footer-content__bottom-left,
.footer-content__bottom-right {
  width: 50%;
}

.footer-content__bottom-left {
  padding-right: 20px;
}

.footer-content__contact {
  font-size: 20px;
}

.footer-content__contact i {
  margin-right: 10px;
}

.footer-content__menu {
  column-count: 3;
}

.footer-content__menu li {
  white-space: nowrap;
  padding-bottom: 10px;
}

.footer-content__logo-link {
  padding-right: 5px;
}

.footer-content__logo-link:last-child {
  padding-right: 0px;
}

.footer-content__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: center;
}

#welland {
  height: 15px;
}

@media screen and ( max-width: 1199px ) {

  #footer-map__grid .button--lg {
    padding: 10px 20px;
  }

}

@media screen and ( max-width: 991px ) {

  #footer-map__grid-container {
    margin-bottom: 40px;
  }

  #footer-map__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media screen and ( max-width: 767px ) {

  .footer-content__top-left,
  .footer-content__top-right,
  .footer-content__bottom-left,
  .footer-content__bottom-right {
    width: 100%;
  }

  .footer-content__top-left,
  .footer-content__bottom-right,
  .footer-content__top {
    margin-bottom: 30px;
  }

  .footer-content__bottom-left,
  .footer-content__logo-link {
    padding: 0px;
  }

  .footer-content__bottom-left br {
    display: none;
  }

}

@media screen and ( max-width: 575px ) {

  #footer-map__grid {
    grid-template-columns: 1fr;
  }

  .footer-content__menu {
    column-count: 2;
  }
}




.griddage {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  margin-bottom: 80px;
}



.featured-section__image {
  padding:180px 0;
  background-position: center;
  background-size:cover;
  width:100%;
  z-index: -1;
  margin-bottom: 30px;
}

.no-border {
  border: 0;
}

.single-campaign-div {
  position:relative;
  overflow:hidden;
  padding: 120px 0;
  background-size:cover;
}

.single-campaign__content {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding: 20px;
}

.bg-shape {
  position: absolute;
  width:80%;
  left:60%;
  top:-35%;
  height:150%;
  rotate: -17deg;
  z-index:2;
  display:flex;
  align-items: center;
  padding-left: 5%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}


.campaigns__content {
  top:-10%;
  color:white;
  position:relative;
  max-width:155px;
}

.campaigns__content span {
  font-weight:500;
  font-size: 1.2rem;
}

.bg-shape .marker {
  text-align:right;
  opacity:0.8;
}

.bg-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 44%;
  rotate: 17deg;
}

@media screen and ( min-width: 1001px ) {

  .griddage {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media screen and ( min-width: 1200px ) {

  .bg-shape {
    padding-left:0;
  }
  .griddage {
    grid-template-columns: repeat(3, 1fr);
  }

}

.gap-20 {
  gap: 20px;
}

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

.w-40 {
    width: 40%;
}

.h-auto {
  height:auto;
}

/* Latest News Grid */

.news-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.news-header-wrapper h1 {
  margin-bottom: 0;
  flex: 1;
}

.news-pagination {
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-pagination__arrow {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-pagination__arrow:hover {
  opacity: 0.7;
}

.news-pagination__arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(63%) sepia(24%) saturate(965%) hue-rotate(183deg) brightness(92%) contrast(87%);
}

.news-pagination__numbers {
  font-size: 18px;
  font-weight: normal;
  color: #81a5d5;
  min-width: 50px;
  text-align: center;
}

.latest-news-container {
  padding: 30px 0;
}

.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* News Card Styling */
.news-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.05);
}

.news-card__content {
  padding: 20px;
  background: #d3e0f1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 13px;
  font-weight: normal;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card__title {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 8px;
  font-weight: normal;
  margin-top: 0;
}

.news-card__excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 12px;
  flex: 1;
}

.news-card__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #005480;
  font-size: 14px;
  margin-top: auto;
}

.news-card__icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(93%) saturate(1234%) hue-rotate(177deg) brightness(95%) contrast(101%);
}

.news-card__link-text {
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive breakpoints */
@media (max-width: 992px) {
  .latest-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .latest-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-tile__title {
    font-size: 18px;
  }
}

/* Single Post Page Styles */

.breadcrumb-navigation {
  font-size: 14px;
  color: #666;
}

.breadcrumb-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

.post-meta {
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
}

/* Single Post Page Wrapper with Background */
.single-post-page-wrapper {
  position: relative;
}

.single-post-page-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/tower.jpg');
  background-size: 30% auto;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Single Post Layout */
.single-post-layout {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.single-post-images {
  flex: 0 0 50%;
  width: 50%;
  position: relative;
  padding: 40px 20px 40px 0;
  min-height: 600px;
}

.latest-news-heading {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.single-post-image {
  width: 100%;
  position: relative;
  z-index: 1;
}

.single-post-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.single-post-content {
  flex: 0 0 50%;
  width: 50%;
  padding: 0 0 40px 20px;
  min-width: 0;
}

.single-post-content .post-meta {
  margin-top: calc(32px + 30px + 40px); /* heading font-size + heading margin-bottom + column padding-top */
}

.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: #005480;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Post Navigation */
.post-navigation-arrows {
  padding-top: 40px;
  margin-top: 40px;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.post-nav-item {
  flex: 0 0 auto;
}

.post-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.post-nav-item a:hover {
  opacity: 0.7;
}

.nav-teardrop {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) saturate(100%) invert(63%) sepia(24%) saturate(965%) hue-rotate(183deg) brightness(92%) contrast(87%);
}

.nav-text {
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #005480;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .single-post-layout {
    flex-direction: column;
  }

  .single-post-images {
    flex: 1;
    width: 100%;
    display: flex;
    gap: 20px;
    overflow-x: auto;
  }

  .single-post-image {
    flex: 0 0 250px;
  }

  .post-nav-links {
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .nav-text {
    font-size: 11px;
  }

  .nav-teardrop {
    width: 14px;
    height: 14px;
  }

  .post-nav-links {
    gap: 15px;
  }
}