.skip-main {
  position: absolute;
  top: -45px;
  left: 0;
  background: #514660;
  color: #fff !important;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
}
.skip-main:focus {
  top: 0;
  outline: 2px solid #fff;
  color: #FFF !important;
}

.headroom {
  will-change: transform;
  transition: transform 200ms linear;
}
.headroom--pinned {
  transform: translateY(0%);
  background: #FFF;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.24);
}
.headroom--pinned.headroom--top {
  background: transparent;
  box-shadow: none;
}
.headroom--unpinned {
  transform: translateY(-100%);
  box-shadow: none;
}


body.no-header .headroom--pinned:not(.headroom--top) .nav-link {
  color: #514660 !important;
}
body.no-header .headroom--unpinned.headroom--top .nav-link {
  color: #FFF !important;
}

.no-header .navbar {
  border-bottom: none;
}
.navbar {
  border-bottom: 1px solid #1683A5;
}
.text-underline {
  text-decoration: underline;
}
.textFormatting a {
  text-decoration: underline;
  font-weight: 600;
}

.pt0 {
  padding-top: 0;
}
.pt1 {
  padding-top: 1rem;
}
.pb0 {
  padding-bottom: 0;
}
.mt0 {
  margin-top: 0rem;
}
.mt1 {
  margin-top: 1rem;
}
.mt1-5 {
  margin-top: 1.5rem;
}
.mt2 {
  margin-top: 2rem;
}
.mt2-5 {
  margin-top: 2.5rem;
}
.mt3 {
  margin-top: 3rem;
}
.mt4 {
  margin-top: 4rem;
}
.mt5 {
  margin-top: 5rem;
}
.mt6 {
  margin-top: 6rem;
}
.mb0 {
  margin-bottom: 0rem !important;
}
.mb-sm {
  margin-bottom: .15rem;
}
.mb-md {
  margin-bottom: .5rem;
}
.mb-lg {
  margin-bottom: .75rem;
}
.mb1 {
  margin-bottom: 1rem;
}
.mb1-5 {
  margin-bottom: 1.5rem;
}
.mb2 {
  margin-bottom: 2rem;
}
.mb2-5 {
  margin-bottom: 2.5rem;
}
.mb3 {
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .pb0-lg {
    padding-bottom: 0;
  }
}

@media (max-width: 1199px) {
  .pb1-sm {
    padding-bottom: 1rem;
  }
  .pt2-sm {
    padding-top: 2rem;
  }
  .pb2-sm {
    padding-bottom: 2rem;
  }
  .p0-sm {
    padding-left: 0;
    padding-right: 0;
  }
  .p-sm {
/*    padding-left: .938rem;
    padding-right: .938rem;*/
  }
  .mb0-sm {
    margin-bottom: 0rem;
  }
  .mb1-sm {
    margin-bottom: 1rem;
  }
  .mb1-5-sm {
    margin-bottom: 1.5rem;
  }
  .mb2-sm {
    margin-bottom: 2rem;
  }
  .mb3-sm {
    margin-bottom: 3rem;
  }
  .mb4-sm {
    margin-bottom: 4rem;
  }
  .mb1-sm {
    margin-bottom: 1rem !important;
  }
  .mt0-sm {
    margin-top: 0;
  }
  .mt1-sm {
    margin-top: 1rem !important;
  }
  .mt1-5-sm {
    margin-top: 1.5rem !important;
  }
  .mt2-sm {
    margin-top: 2rem;
  }
  .mt3-sm {
    margin-top: 3rem;
  }
}

.media img {
  margin-right: 2rem;
}


.nav-item .btn {
  min-width: 135px;
  font-size: unset;
  padding: .25rem;
}
.mobileNavContact .btn {
  min-width: 125px;
  font-size: unset;
  padding: .25rem;
  font-size: 1rem;
  margin-right: 3rem;
}
.mobileNavContact .btn:hover {
  color: #514660!important;
}

@media (max-width: 420px) {
  .mobileNavContact .btn {
    margin-right: 1.75rem;
  }
}

.mobileNavDropdownToggle,
.mobileNavContact {
  font-size: 0.813rem;
  text-align: center;
  color: #514660;
}
.no-header .mobileNavDropdownToggle,
.no-header .mobileNavDropdownToggle:hover {
  color: #FFF;
}
.no-header .headroom--pinned:not(.headroom--top) .mobileNavDropdownToggle,
.no-header .headroom--pinned:not(.headroom--top) .mobileNavDropdownToggle:hover {
  color: #514660;
}
.mobileNavModal .modal-content {
  border: none;
  border-radius: 0;
  background: #514660;
  height: 100vh;
  text-align: center;
}
.mobileNavModal .close {
  opacity: 1;
  padding: 0;
  margin: 0;
}
.mobileNavModal .modal-header {
  padding: 1.5rem 1rem 0;
  text-align: left;
  border-bottom: none;
}
.mobileNavModal .modal-header img {
  width: 135px;
}
.mobileNavModal .mobileLinks {
  padding-top: 3rem;
}
.mobileNavModal .mobileLinks .navbar-nav div {
  padding: 1.25rem 0;
  margin-top: 0;
}
.mobileNavModal .mobileLinks a:not(.btn) {
  text-decoration: none !important;
  font-size: 1.5rem;
  padding: 1rem 0;
  font-weight: 500;
  color: #FFF;
  border-bottom: none;
}
.mobileNavModal .mobileLinks a.btn {
  width: 175px;
  margin: 1rem auto 0;
  font-size: 1.25rem;
}
.mobileNavModal .mobileLinks .dropdown {
  padding: 0;
}

.mobileNavModal .dropdown-menu {
  position: static !important; 
  float: none;
  width: 100%;
  margin: 0;
  border: none; 
  box-shadow: none; 
  padding: 0 0 1rem;
  transform: none !important;
  border-radius: 0;
  background: #514660;
  text-align: center;
}
.mobileNavModal .dropdown-menu a {
  font-size: 1.25rem !important;
}


.nav-item .btn:hover {
  color: #514760;
}

.light {
  background: #D0E6ED;
}

.blue {
  background: #1683A5;
  color: #FFF;
}
.blue h1 {
  color: #FFF;
}
.purple .btn.btn-secondary:hover,
.blue .btn.btn-secondary:hover {
  color: #FFF;
}

.blue-link {
  color: #1683A5;
  text-decoration: underline;
}
.blue-text {
  color: #1683A5;
}

.purple {
  background: #514660;
  color: #FFF;
}
.purple h1 {
  color: #FFF;
}
.purple-text {
  color: #514660;
}

.purple-bg {
  background-color: #514660;
  background-image: url('/../img/purple-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  background-blend-mode: multiply;

  color: #fff;
}

.green {
  background: #CFE06E url('/../img/background-2.png') no-repeat center / cover;
  color: #514660;
}
.green h1,
.green .h1 {
  color: #514660;
}
.green-text {
  color: #CFE06E !important;
}

.grey {
  background: #F0EFEF;
}

.white, h1.white, h2.white {
  color: #FFF;
}

.semi {
  font-weight: 600;
}
.regular {
  font-weight: 400;
}

.w-background {
  background:#1683A5 url('/../img/background.png') no-repeat center / contain;
}
.w-background.cover {
  background:#1683A5 url('/../img/background.png') no-repeat center / cover;
}


.text-wrap {
  max-width: 775px;
  margin-left: auto;
  margin-right: auto;
}

.text-wrap-sm {
  max-width: 715px;
  margin-left: auto;
  margin-right: auto;
}
.text-wrap-md {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.text-wrap-940 {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}
.text-wrap-lg {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.text-pullout {
  font-size: 1.5rem;
  margin: 1.5rem 0;
  color: #1683A5;
}

section {
  position: relative;
  padding: 50px 0;
}

section.top-header {
  padding: 90px 0 65px;
}

.sectionOverlap {
  padding-bottom: 150px;
}
.contentOverlap {
  margin-top: -100px;
  position: relative;
}

@media (min-width: 992px) {
  section {
    padding: 75px 0;
  }
}

@media (min-width: 1200px) {
  section.top-header,
  section {
    padding: 100px 0;
  }
}

.br-right {
  border-bottom-right-radius: 70px;
}

@media (min-width:992px) {
  .p-sm {
    padding: 25px 0;
  }
}


.header {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.headerOverlay {
  position: absolute;
  inset: 0;
  height: 100%;
  background: rgba(81, 79, 96, .8);
  z-index: 1;
}

.headerText {
  background: #514660;
  padding: 1rem 0;
}
@media (min-width: 992px) {
  .headerText {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 75px;
    margin: 0 auto;
    z-index: 9;
    background: transparent;
    padding: 0;
  }
}


.headerVideo > video{
  position: absolute;
  z-index: 0;
  background-size: 100% 100%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  object-fit: contain;
  height: auto;
  background-position: center;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  left: 50%;
}

@media (max-width: 992px) {
  .headerVideo > video {
    position: absolute;
    top: 0;
    left: 0;
    transform: none;

    width: 100%;
    height: 100%;

    min-width: unset;
    min-height: unset;

    object-fit: cover; /* fills screen better on mobile */
    background-position: center;
  }
}

.text-md {
  font-size: 18px;
}
.text-lg {
  font-size: 18px;
  line-height: 1.35;
}

@media (min-width: 992px) {
  .header {
    height: 600px;
  }
  .text-lg {
    font-size: 20px;
  }
}


@media (min-width: 1200px) {
  .header {
    height: 800px;
  }
  .text-md {
    font-size: 22px;
  }
  .text-lg {
    font-size: 24px;
  }
}




.circle-wrap {
  position: relative;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
.circle-header {
  border-radius: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 250px;
  height: 250px;
  margin: 0 0 0 -25px;
}
.circle-border {
  position: absolute;
  border-radius: 50%;
  border: 10px solid #CFE06E;
  width: 250px;
  height: 250px;
  margin: 0 -25px 0 0;
}

@media (min-width: 768px) {
  .circle-wrap {
    margin-top: 0;
    display: inline-block;
    justify-content: unset;
  }
  .circle-header {
    width: 35vw;
    height: 35vw;
    margin: 0 30px 0 auto;
  }
  .circle-border {
    border: 12px solid #CFE06E;
    width: 35vw;
    height: 35vw;
    margin: 0 0 0 auto;
    left: unset;
    right: 0;
  }
}

@media (min-width: 1400px) {
  .circle-border {
    width: 515px;
    height: 515px;
  }
  .circle-header {
    width: 515px;
    height: 515px;
  }
}

.block {
  background: #D0E6ED;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1rem;
}

.block-dark {
  background: #365965;
}

.block ul li {
  margin-bottom: .25rem;
}

.team-block {
  font-size: 1rem;
}

.team-block-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: .75rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  .block {
    padding: 2rem 2rem 1.5rem;
    height: 100%;
    margin-bottom: 0;
  }
  .block.team-block {
    padding: 1.75rem 1.75rem 1.5rem;
  }
}

@media (min-width: 1200px) {
  .block.block-lg {
    padding: 4rem;
  }
}

.icon-block {
  text-align: center;
  font-weight: 700;
}

.icon-block p:not(.h3) {
  max-width: 300px;
  margin: 0 auto;
}

.icon-block span {
  font-size: 50px;
  display: block;
}

.icon-block img {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .icon-block span {
    font-size: 70px;
  }
}


.sortingPanel {
  border-top: 1px solid #B2ADAD;
}

.filter-item {
  border-bottom: 1px solid #B2ADAD;
  padding: .65rem;
  cursor: pointer;
  background: #F0EFEF;
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1rem;
  transition: background 0.2s ease;
  line-height: 1.4;
}

.filter-item img {
  width: 20px;
  height: 20px;
}

.filter-item:hover {
  background: #e6e6e6;
}

.filter-item.active {
  background: #F0EFEF;
}

.filter-item:not(.active) {
  background: #ffffff;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .filter-item {
    padding: .75rem;
    gap: .75rem;
    font-size: 1.125rem;
  }
  .filter-item img {
    width: 25px;
    height: 25px;
  }
}

.reset, .reset:hover, .reset:focus {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: underline;
  color: #514660;
}

.centre-buttons {
  display: inline-grid;
}

.centre-buttons .btn {
  width: 100%;
}

.centreWindow {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.centreWindow:not(:empty) {
  display: block;
  opacity: 1;
}
.centreWindow {
  margin-top: auto;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  padding: 1.25rem 1.25rem 1.5rem;
}

.centreWindow h3 {
  margin-top: 0;
}

.centre-card {
  position: relative;
}
.centre-card-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-right: 2.5rem;
  line-height: 1.2;
}
.centre-card-title img {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.centreWindow {
  transition: all 0.2s ease;
}

@media (max-width: 767px) {
  .centreWindow {
    position: absolute;
    top: 150%;
    left: 0;
    right: 0;
    z-index: 2000;
    max-height: 60vh;
    max-width: 87%;
    margin: 0 auto;
  }
}


.centre-close {
  position: absolute;
  top: 0rem;
  right: 0;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background: url('/../img/icons/close.svg') no-repeat center / contain;
}

@media (min-width: 992px) {
  .centreWindow {
    padding: 2rem;
  }
  .centre-card-title img {
    width: 32px;
    height: 32px;
  }
  .centre-close {
    top: .25rem;
    width: 35px;
    height: 35px;
  }
}

.teamBlock {
  background: #D0E6ED;
  padding: 1rem;
  border-bottom-right-radius: 60px;
  height: 100%;
  font-weight: 700;
}
.teamBlock .teamBlock-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  .teamBlock {
    padding: 1.5rem;
  }
  .teamBlock .teamBlock-img {
    width: 135px;
    height: 135px;
  }
}

.newsIntro.light {
  background: #D0E6ED url('/../img/news-bg.png') no-repeat left center / 75%;
}
.newsIntro.grey {
  background: #DFDDE2 url('/../img/news-bg.png') no-repeat left center / 75%;
}

.newsIntro.grey .breadcrumb-item.active,
.newsIntro.grey .breadcrumb-item + .breadcrumb-item {
  color: #514660;
}

.newsGallerySliderWrapper img {
  max-width: 80%;
}

.news-block {
  height: 100%;
  background: #1683A5;
  transition: .2s all;
}
.news-block > a {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: block;
  z-index: 100;
}
.news-block .newsBlock-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 55%;
  position: relative;
  overflow: hidden;
}

.news-block:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.news-block .newsBlock-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(1);
  transition: transform 0.35s ease-in-out;
  will-change: transform;
}
.news-block:hover .newsBlock-image::before {
  transform: scale(1.05);
}

.news-block .news-blockTitle {
  color: #CFE06E;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.news-blockBody {
  background: #1683A5;
  color: #FFF;
  padding: 1.25rem;
}

.news-block-light {
  background: #D0E6ED;
}
.news-block-light .news-blockBody {
  background: #D0E6ED;
  color: #514660;
  padding: 1.25rem;
}
.news-block-light .news-blockTitle {
  color: #514660;
}

@media (min-width: 992px) {
  .news-block .news-blockTitle {
    font-size: 24px;
    margin-bottom: 1rem;
    line-height: 1.25;
  }
  .news-blockBody {
    padding: 2rem;
  }

  .specialty-col {
    border-left: 1px solid #1683A5;
  }
}


.organisationFormat p {
  margin-top: 20px;
}
.organisationFormat p:has(> strong:only-child) {
  margin-bottom: 0;
  margin-top: 10px;
}

.contact-block {
  padding: 50px 0;
}

@media (min-width: 992px) {
  .contact-block {
    padding: 10%;
  }
}

.formWrap {
  max-width: 600px;
  margin: 0 auto;
}


.formWrap .form-control {
  border: 1px solid #1683A5;
  border-radius: 0.375rem;
  padding: 1rem 1.125rem 0.375rem 1.125rem;
  color: #514660;
}
.formWrap input.form-control,
.formWrap select.form-control {
  height: 52px;
}
.formWrap select.form-control {
  padding: .45rem 1.125rem 0.375rem 1.125rem;
}
.formWrap textarea.form-control {
  padding-top: 2rem;
  height: 125px;
}
.formWrap .form-group {
  position: relative;
  margin-bottom: 1.25rem;
}
.formWrap .form-control:focus {
  border: 2px solid #FFF;
  outline: none;
  box-shadow: none;
}
.formWrap .form-group label {
  position: absolute;
  top: .938rem;
  left: 10px;
  padding: 0 0.5rem;
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s ease all;
}
.formWrap .form-control:focus ~ label,
.formWrap .form-control:not(:placeholder-shown) ~ label {
  top: 0.75rem;
  left: 0.7rem;
  font-size: 0.75rem;
  color: #514660;
  font-weight: 500;
}
.formWrap .form-control:focus ~ label,
.formWrap .form-control:not(:placeholder-shown) ~ label {
  top: 0.3rem;
}
.formWrap textarea.form-control + label,
.formWrap textarea.form-control:focus ~ label,
.formWrap textarea.form-control:not(:placeholder-shown) ~ label {
  top: 8px;
  left: 10px;
  transform: none;
}

.admin{
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid #FFF;
  padding: 1.563rem;
  border-radius: 6px;
  background: #FFF;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.24);
}
.admin h1 {
  margin: 0 0 20px;
}
.admin .btn {
  margin-top: 15px
}



footer {
  padding: 50px 0;
  background: #514660;
  color: #FFF;
  font-size: 1rem;
}
footer .footer-nav {
  font-weight: 700;
}
footer .footer-nav p {
  margin-bottom: 10px;
}
footer .footer-nav p a {
  color: #FFF;
}
footer .footer-nav p a:hover {
  text-decoration: underline;
}
footer a,
footer a:hover,
footer a:focus {
  color: #FFF;
}
@media (min-width: 992px) {
  footer {
    padding: 75px 0;
    font-size: 1.125rem;
  }
}