/* CSS RESET  */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  /* line-height: 1.1; */
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  margin: 0;
  /* text-wrap: balance; */
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

@font-face {
  font-family: "Avenir Light";
  src: url("/wp-content/uploads/2024/12/AvenirNextLTPro-Regular.woff2")
    format("woff2");
}
body {
  font-family: "Avenir Light", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #000000;
}

blockquote {
  font-size: var(--h3FontClamp);
  color: #002561;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 40px 0;
}

.white-links a {
  color: #fff !important;
}

.white-links a:hover {
  color: var(--secondary-colour) !important;
}

h5 a {
  background-color: var(--secondary-colour);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2em;
  color: var(--primary-colour);
  margin: 5px 0px 0px;
  display: inline-block;
}
h5 a:hover {
  background-color: var(--secondary-colour);
}

/*
* Variables for breakpoints
*/
/*
* Map for breakpoints
*/
:root,
:before,
:after,
body {
  --adbar: 0px;
  --adbar: var(--wp-admin--admin-bar--height, 0px);
  --100vh: 100vh;
  --100vh-minus-adbar: calc(100svh - var(--adbar));
  /* Colors: */
  --primary-colour: #002561;
  --primary-colour: #002561;
  --secondary-colour: #ffbf14;
  --white: #ffffff;
  --text: #000000;
  --primary-pale-colour: #e0eaf1;
  --secondary-pale-colour: #fef6d9;
  --pale-grey: #f3f3f3;
  --text-grey: #2e2e2e;
  --outsideWidth: 4vw;
  --dblOutsideWidth: calc(var(--outsideWidth) * 2);
  --tripleOutsideWidth: calc(var(--outsideWidth) * 3);
  --pageWidth-woContent: calc(var(--dblOutsideWidth) + 30vw);
  --contentWidth: calc(100vw - var(--pageWidth-woContent));
  --halfOutsideWidth: calc(var(--outsideWidth) / 2);
  --quarterOutsideWidth: calc(var(--outsideWidth) / 4);
  --headingFont: "Libre Baskerville", Sans-serif;
  --headingFontNoClamp: calc(2.5rem + ((1vw - 7.5px) * 3.5));
  --headingFontClamp: clamp(40px, calc(2.5rem + ((1vw - 7.5px) * 3.5)), 80px);
  --subheadingFontNoClamp: calc(0.625rem + calc(1vw - 7.5px) * 1.65);
  --subheadingFontClamp: clamp(
    32px,
    calc(1.625rem + calc(calc(1vw - 7.68px) * 1.6493)),
    45px
  );
  --libre: "Libre Baskerville";
  /* Fonts - Clamp */
  --h1FontClamp: clamp(2.625rem, 2.1726rem + 2.2619vw, 5rem);
  --h2FontClamp: clamp(2.125rem, 2.006rem + 0.5952vw, 2.75rem);
  --h2HomeClamp: clamp(2.75rem, 2.4405rem + 1.5476vw, 4.375rem);
  --h3FontClamp: clamp(1.375rem, 1.2045rem + 0.4545vw, 1.5rem);
  --h4FontClamp: clamp(1.125rem, 1.0682rem + 0.1515vw, 1.25rem);
  --h5FontClamp: clamp(0.9375rem, 0.9091rem + 0.0758vw, 1rem);
  --h6FontClamp: clamp(1rem, 1.5227rem + 0vw, 1.125rem);
  --pFontClamp: clamp(1rem, 0.9432rem + 0.1515vw, 1.125rem);
  /* spacing */
  --verticalPad: clamp(0.625rem, 6.475vw - 2.475rem, 4rem);
  --outsidePad: clamp(0.625rem, 6.475vw - 2.475rem, 4rem);
  --dblOutsidePad: calc(2 * var(--outsidePad));
  --tripleOutsidePad: calc(3 * var(--outsidePad));
  --fullWidth: calc(100vw - var(--dblOutsidePad));
  --singlePad: clamp(0.5rem, 2.374vw - 0.636rem, 1.5rem);
  --gridGap: clamp(0.625rem, 3.264vw - 0.938rem, 2rem);
  --sidebarPad: 16px;
  --totalGap: calc(23 * var(--gridGap));
  --borderRad: 10px;
  --boxShadow: 0px 3px 6px #00000029;
  --zeroInset: 0px 0px 0px 0px;
}

@media (max-width: 768px) {
  :root,
  :before,
  :after,
  body {
    --outsidePad: 20px;
    --verticalPad: 40px;
  }
}
:root {
  --darker-cream: #f6efe6;
  --darker-pale-pink: #f4dee1;
  --darker-dark-grey: #585858;
  --darker-pale-grey: #dfddd9;
  --darker-mid-grey: #4d4d4f;
}

/* Site Header */
.noscroll,
.overflow-hide {
  overflow: hidden;
}

#atft_head {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  top: calc(0 + var(--adbar));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  padding: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 100px;
  margin: 0 auto;
}
#atft_head .atft_site-logo {
  z-index: 1;
}
#atft_head .atft_site-logo img {
  width: 10vw;
  max-width: 240px;
  min-width: 100px;
  padding: 1vw 0 0 3vw;
}
#atft_head .atft_head-container {
  position: fixed;
  margin-top: 0;
  margin-top: calc(0px + var(--adbar));
  right: 0;
  top: 0;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  z-index: 10000;
}
#atft_head .atft_head-container > * {
  transition: all 1s ease !important;
}
#atft_head .atft_head-container .atft_desktop-nav-toggle {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
  cursor: pointer;
  padding: 20px 10px;
  display: block;
  grid-column: span 2;
  z-index: 9999;
  transition: all 0.4s ease;
}
@media (max-width: 767px) {
  #atft_head .atft_head-container .atft_desktop-nav-toggle {
    display: none;
  }
}
#atft_head .atft_head-container .atft_desktop-nav-toggle .atft_burger {
  display: flex;
  align-items: center;
  justify-content: center;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle
  .atft_burger
  .atft_burger-icon {
  display: flex;
  width: 50px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: 10px;
  position: relative;
  transition: all 0.4s ease;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle
  .atft_burger
  .atft_burger-icon
  span {
  width: 30px;
  height: 1px;
  position: absolute;
  transition: all 1s ease;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle
  .atft_burger
  .atft_burger-icon
  span.top {
  top: calc(50% - 10px);
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle
  .atft_burger
  .atft_burger-icon
  span.bottom {
  top: calc(50% + 10px);
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle
  .atft_burger
  .atft_burger-icon
  span.mid {
  top: 50%;
  width: 20px;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle
  .atft_burger
  .atft_burger-text {
  font-weight: 600;
  text-align: center;
  font-size: 20px;
  transition: all 0.4s ease;
  text-transform: uppercase;
}
#atft_head .atft_head-container .atft_desktop-nav-toggle .atft_burger-icon {
  gap: 0px;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle
  .atft_burger-icon
  span {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container .atft_desktop-nav-toggle:hover {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle:hover
  .atft_burger-icon {
  gap: 0px;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle:hover
  .atft_burger-icon
  span {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
}
#atft_head .atft_head-container .atft_desktop-nav-toggle[aria-expanded="true"] {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle[aria-expanded="true"]
  .atft_burger-icon {
  gap: 0px;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle[aria-expanded="true"]
  .atft_burger-icon
  span {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle[aria-expanded="true"]
  .atft_burger-icon
  span.mid {
  width: 0px;
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle[aria-expanded="true"]
  .atft_burger-icon
  span.bottom {
  top: 50%;
  transform: rotate(45deg);
}
#atft_head
  .atft_head-container
  .atft_desktop-nav-toggle[aria-expanded="true"]
  .atft_burger-icon
  span.top {
  top: 50%;
  transform: rotate(-45deg);
}
#atft_head .atft_head-container .atft_desktop-nav-toggle.scrolling {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container .atft_menu-icons {
  text-transform: uppercase;
  text-align: center;
  font-size: 14px;
  padding: 10px 15px;
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
  grid-column: 2 / span 1;
  transition: all 1s ease;
}
@media (max-width: 767px) {
  #atft_head .atft_head-container .atft_menu-icons {
    display: none;
  }
}
#atft_head .atft_head-container .atft_menu-icons a {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
}
#atft_head .atft_head-container .atft_menu-icons:hover {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container .atft_menu-icons:hover a {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container .atft_menu-icons img {
  width: 25px;
}
#atft_head .atft_head-container .atft_menu-icons .atft_menu-search {
  background-color: var(--secondary-colour);
}
#atft_head .atft_head-container .atft_menu-icons .atft_menu-email {
  background-color: var(--text-grey);
}
#atft_head .atft_head-container .atft_menu-icons .atft_menu-email a {
  line-height: 0;
}
#atft_head .atft_head-container .atft_site-navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: var(--gap, 1em);
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-top: 0;
  margin-top: calc(0px + var(--adbar));
  -webkit-transform: translateY(-120%);
  -ms-transform: translateY(-120%);
  transform: translateY(-120%);
  -webkit-transition: -webkit-transform 350ms linear;
  transition: -webkit-transform 350ms linear;
  -o-transition: transform 350ms linear;
  transition: transform 350ms linear;
  transition:
    transform 350ms linear,
    -webkit-transform 350ms linear;
  transition:
    transform 350ms linear,
    -webkit-transform 350ms linear;
  overflow: auto;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation[data-visible="true"] {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container {
  background-color: var(--gold);
  display: grid;
  height: 100vh;
  height: calc(100vh - var(--adbar));
  width: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 4fr 1fr;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container {
  background-color: var(--primary-colour);
  background-image: url("../assets/atft_menu_bg_scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  grid-area: 1/1 / span 1 / span 1;
  display: flex;
  align-items: center;
  height: auto;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--dblOutsidePad);
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu.uc-list-menu {
  margin-left: 0px !important;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  * {
  list-style: none;
  color: white;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  max-width: 400px;
  position: relative;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li
  > a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 40px;
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.3s ease-in-out;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li
  > a
  .menu-item-description {
  grid-area: 1/1 / span 1 / span 1;
  visibility: hidden;
  max-width: 0;
  overflow: hidden;
  transition: visibility 0.3s ease-in-out;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li
  > a
  .menu-item-title {
  grid-area: 1/1 / span 1 / span 1;
  visibility: visible;
  max-width: 100%;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li.hover
  > a {
  transform: translateX(30px);
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li.hover
  > a
  .menu-item-description {
  visibility: visible;
  max-width: 100%;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li.hover
  > a
  .menu-item-title {
  visibility: hidden;
  max-width: 0;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li
  > ul.sub-menu {
  visibility: hidden;
  padding: 0;
  position: absolute;
  left: 100%;
  overflow: hidden;
  max-width: 0;
  -webkit-transition: max-width 1s ease-in-out;
  transition: max-width 1s ease-in-out;
  visibility: hidden;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li
  > ul.sub-menu
  > li {
  padding: 0 0 10px;
  font-size: 17px;
  text-wrap-mode: nowrap;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_menu-container
  #menu-main-menu
  > li.hover
  > ul.sub-menu {
  visibility: visible;
  max-width: 100%;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container {
  padding: 0 var(--dblOutsidePad);
  color: white;
  background-color: var(--primary-colour);
  grid-area: 2/1 / span 1 / span 1;
  display: flex;
  justify-content: space-between;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-header {
  font-size: 20px;
  font-weight: 600;
  font-family: "Playfair Display";
  margin-bottom: 10px;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-header
  a {
  color: white;
  border-bottom: 1px solid #fff;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-sect {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-sect
  a {
  color: white;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-sect.atft_fb {
  display: flex;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-sect.atft_fb
  img {
  width: 36px;
  height: 25px;
  padding-right: 10px;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-sect.atft_fb
  a {
  display: flex;
  flex-direction: row;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  input:focus {
  outline: none !important;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  input[type="text"].atft_search-input {
  border: white solid 1px;
  border-radius: 0;
  background-color: var(--primary-colour);
  border-right: none;
  color: white;
  width: auto;
  padding: 5px 10px;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  input[type="text"].atft_search-input::placeholder {
  color: white;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  .atft_search-container {
  display: flex;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  #atft_searchform
  .atft_search-label {
  display: grid;
  cursor: pointer;
  place-items: center;
  border: white solid 1px;
  border-left: none;
  color: white;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  #atft_searchform
  .atft_search-label
  input {
  color: white;
  border: none;
  border-left: white solid 1px;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  #atft_searchsvg {
  height: 22px;
  width: auto;
  margin: 6px;
}
#atft_head
  .atft_head-container
  .atft_site-navigation
  .atft_header-primary-navigation
  .atft_nav-container
  .atft_contacts-container
  .atft_cont-search
  input[type="submit"].atft_search-input {
  border: white solid 1px;
  border-radius: 0;
  background-color: var(--secondary-colour);
  border-right: none;
  color: white;
  width: auto;
}
#atft_head .atft_head-container.scrolling .atft_desktop-nav-toggle {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head
  .atft_head-container.scrolling
  .atft_desktop-nav-toggle
  .atft_burger-icon
  span {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
}
#atft_head
  .atft_head-container.scrolling
  .atft_desktop-nav-toggle[aria-expanded="true"] {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container.scrolling .atft_desktop-nav-toggle:hover {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
}
#atft_head
  .atft_head-container.scrolling
  .atft_desktop-nav-toggle:hover
  .atft_burger-icon
  span {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container.scrolling .atft_menu-icons {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container.scrolling .atft_menu-icons a {
  background-color: var(--primary-colour);
  color: white;
  transition: all 1s ease;
}
#atft_head .atft_head-container.scrolling .atft_menu-icons:hover {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
}
#atft_head .atft_head-container.scrolling .atft_menu-icons:hover a {
  background-color: white;
  color: var(--primary-colour);
  transition: all 1s ease;
}
#atft_head #menu-main-menu a:hover {
  opacity: 50%;
}
#atft_head .atft_menu-link {
  cursor: pointer;
}
#atft_head .atft_mobile-nav-toggle.atft_desktop-hide {
  display: none;
}
@media (max-width: 767px) {
  #atft_head .shiftnav .fa,
  #atft_head .shiftnav-toggle .fa {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400;
  }
  #atft_head .atft_mobile-nav-toggle.atft_mobile-hide {
    display: none;
  }
  #atft_head .atft_mobile-nav-toggle.atft_desktop-hide {
    display: block;
    cursor: pointer;
    padding: 20px 10px;
    display: block;
    grid-column: span 2;
    z-index: 9999;
    transition: all 0.4s ease;
    background-color: var(--primary-colour);
    color: white;
    transition: all 1s ease;
  }
  #atft_head .atft_mobile-nav-toggle.atft_desktop-hide .atft_burger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #atft_head
    .atft_mobile-nav-toggle.atft_desktop-hide
    .atft_burger
    .atft_burger-icon {
    display: flex;
    width: 50px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: 10px;
    position: relative;
    transition: all 0.4s ease;
  }
  #atft_head
    .atft_mobile-nav-toggle.atft_desktop-hide
    .atft_burger
    .atft_burger-icon
    span {
    width: 30px;
    height: 1px;
    position: absolute;
    transition: all 1s ease;
  }
  #atft_head
    .atft_mobile-nav-toggle.atft_desktop-hide
    .atft_burger
    .atft_burger-icon
    span.top {
    top: calc(50% - 10px);
  }
  #atft_head
    .atft_mobile-nav-toggle.atft_desktop-hide
    .atft_burger
    .atft_burger-icon
    span.bottom {
    top: calc(50% + 10px);
  }
  #atft_head
    .atft_mobile-nav-toggle.atft_desktop-hide
    .atft_burger
    .atft_burger-icon
    span.mid {
    top: 50%;
    width: 20px;
  }
  #atft_head
    .atft_mobile-nav-toggle.atft_desktop-hide
    .atft_burger
    .atft_burger-text {
    font-weight: 600;
    text-align: center;
    font-size: 20px;
    transition: all 0.4s ease;
    text-transform: uppercase;
  }
  #atft_head .atft_mobile-nav-toggle.atft_desktop-hide .atft_burger-icon span {
    background-color: white;
    color: var(--primary-colour);
    transition: all 1s ease;
  }
}

@media (max-width: 767px) {
  .shiftnav .fa,
  .shiftnav-toggle .fa {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400;
  }
  .atft_mobile-nav-toggle:hover {
    background-color: transparent;
    background-mask: url("/wp-content/themes/allteams-flex-theme/icons/icons_menu.svg") !important;
  }
  .menu-item-description {
    display: none;
  }
  .shiftnav-open .atft_mobile-nav-toggle {
    background-image: url("/wp-content/themes/allteams-flex-theme/icons/icons_close_symbol.svg");
    display: none !important;
  }
  .atft_mobile-nav-toggle.atft_mobile-hide {
    display: none;
  }
  .atft_mobile-nav-toggle.atft_desktop-hide {
    display: block;
  }
  #shiftnav-main .shiftnav-menu-image {
    display: flex;
    justify-content: center;
  }
  #shiftnav-main .shiftnav-menu-image img {
    max-width: 100px;
  }
  #shiftnav-main .shiftnav-search {
    margin: 0 25px;
  }
  #shiftnav-main .shiftnav-search input {
    border-radius: 0;
    border: none;
  }
  #shiftnav-main .atft_mobile_cont-sect {
    margin: 10px 25px;
    display: flex;
    gap: 10px;
    flex-direction: row;
    font-size: 16px;
  }
  #shiftnav-main .atft_mobile_cont-sect a {
    display: flex;
    gap: 10px;
    flex-direction: row;
  }
  #shiftnav-main .atft_mobile_cont-sect a img {
    width: 25px;
  }
}
div#bmi-el-footer:before {
  background-color: var(--primary-colour);
  transition:
    background 0.3s,
    border-radius 0.3s,
    opacity 0.3s;
  background-image: url("https://bmi.allteams.dev/wp-content/uploads/2024/12/weave-face-2.png");
  background-position: center right;
  background-repeat: no-repeat;
  /* background-size: 50%; */
  mix-blend-mode: color-burn;
  background-size: cover;
  max-width: 50%;
  margin-left: auto;
  mix-blend-mode: color-burn;
  /* background-size: cover; */
  position: absolute;
  margin-left: auto;
  right: 0;
}
@media (max-width: 1023px) {
  div#bmi-el-footer:before {
    max-width: 100%;
    opacity: 0.5;
  }
}

footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font:
    400 12px/21px Helvetica Neue,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  border-top: 1px solid #2d3c41;
  background: #000;
}
footer .footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(3, auto);
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 64px 128px;
}
footer .footer-top .footer-csr {
  grid-column: 1/2;
  grid-row: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
footer .footer-top .footer-csr img {
  height: 50px;
}
footer .footer-top .footer-csr .csr-tag {
  font: "Avenir Light", sans-serif;
  color: #ffffff;
}
footer .footer-top .brand-logos {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 200px);
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1023px) {
  footer .footer-top .brand-logos {
    grid-template-columns: repeat(2, 200px);
  }
}
@media (max-width: 767px) {
  footer .footer-top .brand-logos {
    grid-template-columns: repeat(1, 200px);
    grid-row: 3;
  }
}
footer .footer-top .brand-logos .brand-logo a {
  font: "Avenir Light", sans-serif;
  color: #ffffff;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
footer .footer-top .footer-socials {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  height: 100%;
}
@media (max-width: 767px) {
  footer .footer-top .footer-socials {
    grid-row: 2;
    justify-content: flex-start;
  }
}
footer .footer-top .site-disclaimer {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
@media (max-width: 767px) {
  footer .footer-top .site-disclaimer {
    grid-row: 4;
  }
}
footer .footer-top .site-disclaimer .disclaimer-content {
  margin: 0 auto;
  width: 100%;
  max-width: 2000px;
}
footer .footer-top .site-disclaimer .disclaimer-content .disclaimer-text {
  color: #909491;
}
footer .footer-metas {
  border-top: 1px solid #2d3c41;
  background: #000000;
  color: #ffffff;
  padding: 64px 128px;
}
footer .footer-metas .footer-meta {
  display: grid;
  justify-content: center;
  align-items: center;
}
footer .footer-metas .footer-meta a {
  color: #ffffff;
}
footer .footer-metas .footer-meta a:hover {
  font-weight: 600;
}
footer .footer-metas .footer-meta .footer-logo {
  grid-column: 1/2;
  grid-row: 1/3;
}
footer .footer-metas .footer-meta .footer-links {
  grid-column: 2/3;
  grid-row: 1;
  display: flex;
  gap: 30px;
}
footer .footer-metas .footer-meta .footer-copyright {
  grid-column: 2/3;
  grid-row: 2;
}
footer .footer-metas .footer-meta img {
  padding: 0 10px;
  height: 50px;
}

@media (max-width: 991px) {
  .disclaimer-content {
    max-width: 100%;
  }
}
html {
  scroll-behavior: smooth;
}

body .has-arrow {
  --arrow-color: var(--primary-colour);
}
body .has-arrow.yellow-arrow {
  --arrow-color: var(--secondary-colour);
}
body .has-arrow a::after {
  content: "";
  display: inline-block;
  padding-left: 10px;
  background-color: var(--arrow-color);
  width: 1em;
  height: 1em;
  mask-image: url("/wp-content/themes/allteams-flex-theme/icons/bmi-arrow.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  vertical-align: bottom;
  transition: transform 0.3s ease-in-out;
}
body .has-arrow:hover a::after {
  transform: translateX(10px);
}

.solid-line {
  position: relative;
}
.solid-line::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  left: 50%;
  width: 2px; /* Adjust the width of the line as needed */
  background-color: #fff; /* Initial color of the line */
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .has-line {
    position: relative;
  }
  .has-line .line {
    content: "";
    position: absolute;
    top: 0;
    height: 0;
    left: 50%;
    width: 2px; /* Adjust the width of the line as needed */
    background-color: #002561; /* Initial color of the line */
    transform: translateX(-50%);
  }
}
.no-line {
  z-index: 4;
}

::placeholder {
  color: #5b595b;
  opacity: 1;
  /* Firefox */
}

/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */
.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  --pswp-root-z-index: 100000;
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  /* defined via js:
  --pswp-transition-duration: 333ms; */
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;
  --pswp-error-text-color: var(--pswp-icon-color);
}

/*
    Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
*/
.pswp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--pswp-root-z-index);
  display: none;
  touch-action: none;
  outline: 0;
  opacity: 0.003;
  contain: layout style size;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Prevents focus outline on the root element,
  (it may be focused initially) */
.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
  display: block;
}

.pswp,
.pswp__bg {
  transform: translateZ(0);
  will-change: opacity;
}

.pswp__bg {
  opacity: 0.005;
  background: var(--pswp-bg);
}

.pswp,
.pswp__scroll-wrap {
  overflow: hidden;
}

.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pswp__img,
.pswp__zoom-wrap {
  width: auto;
  height: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

/* :active to override grabbing cursor */
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
  cursor: -webkit-zoom-out;
  cursor: -moz-zoom-out;
  cursor: zoom-out;
}

/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.pswp__item {
  /* z-index for fade transition */
  z-index: 1;
  overflow: hidden;
}

.pswp__hidden {
  display: none !important;
}

/* Allow to click through pswp__content element, but not its children */
.pswp__content {
  pointer-events: none;
}

.pswp__content > * {
  pointer-events: auto;
}

/*

  PhotoSwipe UI

*/
/*
    Error message appears when image is not loaded
    (JS option errorMsg controls markup)
*/
.pswp__error-msg-container {
  display: grid;
}

.pswp__error-msg {
  margin: auto;
  font-size: 1em;
  line-height: 1;
  color: var(--pswp-error-text-color);
}

/*
class pswp__hide-on-close is applied to elements that
should hide (for example fade out) when PhotoSwipe is closed
and show (for example fade in) when PhotoSwipe is opened
 */
.pswp .pswp__hide-on-close {
  opacity: 0.005;
  will-change: opacity;
  transition: opacity var(--pswp-transition-duration)
    cubic-bezier(0.4, 0, 0.22, 1);
  z-index: 10; /* always overlap slide content */
  pointer-events: none; /* hidden elements should not be clickable */
}

/* class pswp--ui-visible is added when opening or closing transition starts */
.pswp--ui-visible .pswp__hide-on-close {
  opacity: 1;
  pointer-events: auto;
}

/* <button> styles, including css reset */
.pswp__button {
  position: relative;
  display: block;
  width: 50px;
  height: 60px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 0.85;
  -webkit-appearance: none;
  -webkit-touch-callout: none;
}

.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}

.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
  outline: 0;
}

/*
    div element that matches size of large image,
    large image loads on top of it,
    used when msrc is not provided
*/
div.pswp__img--placeholder,
.pswp__img--with-bg {
  background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  z-index: 10;
  /* allow events to pass through top bar itself */
  pointer-events: none !important;
}

.pswp__top-bar > * {
  pointer-events: auto;
  /* this makes transition significantly more smooth,
     even though inner elements are not animated */
  will-change: opacity;
}

/*

  Close button

*/
.pswp__button--close {
  margin-right: 6px;
}

/*

  Arrow buttons

*/
.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}

.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}

.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

/* hide arrows on touch screens */
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

/* show arrows only after mouse was used */
.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}

.pswp__button--arrow--next {
  right: 0px;
}

.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  /* flip horizontally */
  transform: scale(-1, 1);
}

/*

  Zoom button

*/
.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

/* "+" => "-" */
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}

/*

  Loading indicator

*/
.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}

.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}

.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}

@keyframes pswp-clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*

  "1 of 10" counter

*/
.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-inline-start: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}

.pswp--one-slide .pswp__counter {
  display: none;
}

/* HOME WIDGETS */
/* at_banner-image */
.at_image-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.atft_side_menu_container {
  position: relative;
}
.atft_side_menu_container .atft_side_menu {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  max-width: var(--tripleOutsidePad);
  padding: 1rem 1rem;
  background-color: var(--primary-colour);
}
.atft_side_menu_container .atft_side_menu ul.at-ac-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.atft_side_menu_container .atft_side_menu ul.at-ac-menu ul.sub-menu li {
  width: 100%;
  padding-bottom: 0.25rem;
}
.atft_side_menu_container .atft_side_menu ul.at-ac-menu ul.sub-menu li:hover a {
  color: var(--secondary-colour);
}
.atft_side_menu_container .atft_side_menu ul.at-ac-menu ul.sub-menu li a {
  width: 100%;
  color: white;
  font-size: 16px;
}
.atft_side_menu_container
  .atft_side_menu
  ul.at-ac-menu
  ul.sub-menu
  li
  a[aria-current="page"] {
  color: var(--secondary-colour);
}
.atft_side_menu_container .atft_side_menu ul.at-ac-menu > li > a {
  padding-bottom: 1rem;
  display: block;
  font-family: var(--libre);
  font-weight: 700;
}
.atft_side_menu_container
  .atft_side_menu
  ul.at-ac-menu
  > li
  > a
  .menu-item-description {
  display: none;
}
.atft_side_menu_container
  .atft_side_menu
  ul.at-ac-menu
  > li
  > a
  .menu-item-title {
  font-family: var(--libre);
  font-weight: 700;
  color: white;
}
@media (max-width: 1600px) {
  .atft_side_menu_container .atft_side_menu {
    display: none;
  }
}

.at-flex {
  color: #000;
  /*Box control*/
  /* all layouts */
}
.at-flex h2 {
  color: var(--primary-colour);
  font-size: clamp(2.188rem, 3.147vw - 0.129rem, 56px);
  font-weight: 700;
}
.at-flex .at_breadcrumb {
  width: 100%;
  padding: var(--outsidePad) var(--dblOutsidePad) 0;
}
.at-flex .at_breadcrumb ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.at-flex .at_breadcrumb ul li a {
  color: var(--text-grey);
  text-decoration: none;
  font-size: var(--smallFontClamp);
  font-weight: 400;
}
.at-flex .at_breadcrumb ul li a:hover {
  color: var(--red);
}
.at-flex .at_breadcrumb ul li a:after {
  content: "/";
  padding: 0 8px;
}
.at-flex .at__button-container a {
  background-color: #002561;
  color: white;
  border: none;
  font-weight: 400;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0;
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s;
  line-height: 1;
}
.at-flex .at__button-container a:hover {
  background-color: rgb(0, 17.5463917526, 46);
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}
.at-flex .at__button-container a:after {
  display: inline-block;
  width: 20px;
  vertical-align: sub;
  height: 16px;
  background-color: var(--secondary-colour);
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/icons/bmi-arrow.svg?v=1);
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/bmi-arrow.svg?v=1);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* position: absolute; */
  margin-left: 0.5rem;
  padding-top: 6px;
  content: "";
}
.at-flex .at__button-container a[target="_blank"]:after {
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_external-link.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_external-link.svg);
  transform: rotate(0deg);
  width: 18px;
  height: 14px;
}
.at-flex .white {
  background-color: #ffffff;
}
.at-flex .dark-blue {
  background-color: var(--primary-colour);
  color: #ffffff;
}
.at-flex .dark-blue h2 {
  color: #ffffff;
}
.at-flex .dark-blue .at__button-container a {
  background-color: #ffffff;
  color: #002561;
  border: none;
  font-weight: 400;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0;
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s;
  line-height: 1;
}
.at-flex .dark-blue .at__button-container a:hover {
  background-color: rgb(229.5, 229.5, 229.5);
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}
.at-flex .dark-blue .at__button-container a:after {
  display: inline-block;
  width: 20px;
  vertical-align: sub;
  height: 16px;
  background-color: var(--secondary-colour);
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/icons/bmi-arrow.svg?v=1);
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/bmi-arrow.svg?v=1);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* position: absolute; */
  margin-left: 0.5rem;
  padding-top: 6px;
  content: "";
}
.at-flex .dark-blue .at__button-container a[target="_blank"]:after {
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_external-link.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_external-link.svg);
  transform: rotate(0deg);
  width: 18px;
  height: 14px;
}
.at-flex .pale-blue {
  background-color: var(--primary-pale-colour);
}
.at-flex .pale-yellow {
  background-color: var(--secondary-pale-colour);
}
.at-flex .pale-grey {
  background-color: var(--pale-grey);
}
.at-flex .lbc-flex-block {
  display: grid;
  /* place-content: center; */
  width: 100%;
  place-items: center;
}
.at-flex .lbc-flex-block .no-top {
  padding-top: 0 !important;
}
.at-flex .lbc-lay {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  z-index: 1;
  width: 100%;
}
.at-flex .lbc-lay ul {
  list-style: disc;
}
.at-flex .lbc-lay ul li {
  margin: 10px 0 0 1em;
  line-height: 1.5;
}
.at-flex .lbc-lay ol {
  list-style: decimal;
}
.at-flex .lbc-lay .lbc-box {
  max-width: 1600px;
  padding: var(--outsidePad) var(--tripleOutsidePad);
  width: 100%;
}
.at-flex .lbc-lay .lbc-box a {
  word-break: break-word;
}
@media (max-width: 1023px) {
  .at-flex .lbc-lay .lbc-box {
    padding: var(--dblOutsidePad) var(--dblOutsidePad);
  }
}
@media (max-width: 767px) {
  .at-flex .lbc-lay .lbc-box {
    padding: var(--dblOutsidePad) var(--outsidePad);
  }
}
.at-flex .lbc-lay .lbc-full-width-box {
  padding: var(--outsidePad) 0;
  width: 100%;
  display: grid;
  place-items: center;
}
@media (max-width: 1023px) {
  .at-flex .lbc-lay .lbc-full-width-box {
    padding: var(--dblOutsidePad) 0;
  }
}
@media (max-width: 767px) {
  .at-flex .lbc-lay .lbc-full-width-box {
    padding: 2rem 0;
  }
}
.at-flex .lbc-lay .lbc-full-width-box.no-pad {
  padding: 0;
}
.at-flex .lbc-lay.bg-cream-swan:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  background-color: var(--darker-cream);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-cream-swan:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    background-color: var(--darker-cream);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 150% 90%;
    mask-position: 150% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-dark-grey-swan:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  background-color: var(--darker-dark-grey);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-dark-grey-swan:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    background-color: var(--darker-dark-grey);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 150% 90%;
    mask-position: 150% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-grey-swan:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  background-color: var(--darker-pale-grey);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-grey-swan:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    background-color: var(--darker-pale-grey);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 150% 90%;
    mask-position: 150% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-pink-swan:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
  background-color: var(--darker-pale-pink);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-pink-swan:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/swan.svg);
    background-color: var(--darker-pale-pink);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 150% 90%;
    mask-position: 150% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-cream-ripples:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-cream);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-cream-ripples:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-cream);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 110% 90%;
    mask-position: 110% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-cream-ripples:after {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-cream);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: -10% 30px;
  mask-position: -10% 30px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-cream-ripples:after {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-cream);
    -webkit-mask-size: 0%;
    mask-size: 0%;
    -webkit-mask-position: -10% 30px;
    mask-position: -10% 30px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-dark-grey-ripples:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-dark-grey);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-dark-grey-ripples:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-dark-grey);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 110% 90%;
    mask-position: 110% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-dark-grey-ripples:after {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-dark-grey);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: -10% 30px;
  mask-position: -10% 30px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-dark-grey-ripples:after {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-dark-grey);
    -webkit-mask-size: 0%;
    mask-size: 0%;
    -webkit-mask-position: -10% 30px;
    mask-position: -10% 30px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-pink-ripples:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-pale-pink);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 100%;
  mask-position: 110% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-pink-ripples:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-pale-pink);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 110% 90%;
    mask-position: 110% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-pink-ripples:after {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-pale-pink);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: -10% 30px;
  mask-position: -10% 30px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-pink-ripples:after {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-pale-pink);
    -webkit-mask-size: 0%;
    mask-size: 0%;
    -webkit-mask-position: -10% 30px;
    mask-position: -10% 30px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-grey-ripples:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-pale-grey);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 100%;
  mask-position: 110% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-grey-ripples:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-pale-grey);
    -webkit-mask-size: 60%;
    mask-size: 60%;
    -webkit-mask-position: 110% 90%;
    mask-position: 110% 90%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-grey-ripples:after {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
  background-color: var(--darker-pale-grey);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: -10% 30px;
  mask-position: -10% 30px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-grey-ripples:after {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/ripples.svg);
    background-color: var(--darker-pale-grey);
    -webkit-mask-size: 0%;
    mask-size: 0%;
    -webkit-mask-position: -10% 30px;
    mask-position: -10% 30px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-grey-vshape:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  background-color: var(--darker-pale-grey);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.at-flex .lbc-lay.bg-cream-vshape:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  background-color: var(--darker-cream);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.at-flex .lbc-lay.bg-dark-grey-vshape:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  background-color: var(--darker-dark-grey);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.at-flex .lbc-lay.bg-pale-pink-vshape:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg);
  background-color: var(--darker-pale-pink);
  -webkit-mask-size: 30%;
  mask-size: 30%;
  -webkit-mask-position: 110% 90%;
  mask-position: 110% 90%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.at-flex .lbc-lay.bg-cream-wings:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  background-color: var(--darker-cream);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 100% 95%;
  mask-position: 100% 95%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-cream-wings:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    background-color: var(--darker-cream);
    -webkit-mask-size: 50%;
    mask-size: 50%;
    -webkit-mask-position: 100% 95%;
    mask-position: 100% 95%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-grey-wings:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  background-color: var(--darker-pale-grey);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 100% 95%;
  mask-position: 100% 95%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-grey-wings:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    background-color: var(--darker-pale-grey);
    -webkit-mask-size: 50%;
    mask-size: 50%;
    -webkit-mask-position: 100% 95%;
    mask-position: 100% 95%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-pale-pink-wings:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  background-color: var(--darker-pale-pink);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 100% 95%;
  mask-position: 100% 95%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-pale-pink-wings:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    background-color: var(--darker-pale-pink);
    -webkit-mask-size: 50%;
    mask-size: 50%;
    -webkit-mask-position: 100% 95%;
    mask-position: 100% 95%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .lbc-lay.bg-dark-grey-wings:before {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
  background-color: var(--darker-dark-grey);
  -webkit-mask-size: 25%;
  mask-size: 25%;
  -webkit-mask-position: 100% 95%;
  mask-position: 100% 95%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .at-flex .lbc-lay.bg-dark-grey-wings:before {
    content: "";
    -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/wings.svg);
    background-color: var(--darker-dark-grey);
    -webkit-mask-size: 50%;
    mask-size: 50%;
    -webkit-mask-position: 100% 95%;
    mask-position: 100% 95%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.at-flex .underline-title h2 {
  font-size: clamp(2.125rem, 2.006rem + 0.5952vw, 2.75rem);
  padding-bottom: 2rem;
}
.at-flex .no-underline-title h2 {
  font-size: clamp(2.125rem, 2.006rem + 0.5952vw, 2.75rem);
  padding-bottom: 2rem;
}
.at-flex .underline-title h2:after {
  content: "";
  display: block;
  position: relative;
  width: 50px;
  border: 2px solid var(--red);
  margin-top: 8px;
}
.at-flex .at_itemThin {
  max-width: 1216px !important;
}
.at-flex .lbc-lay-text-block .lbc-box > .ltb-block {
  max-width: 1000px;
}
.at-flex .at_itemWide .lbc-box {
  max-width: 1600px;
}
.at-flex h6 a {
  display: inline-block;
}

/* For alpine to remove pre load */
[x-cloak] {
  display: none !important;
}

body.wghs div.wghs-button a.wghs-button-link {
  background-color: var(--red);
  border: none;
  color: white;
  font-weight: 400;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0;
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s;
  line-height: 1;
}
body.wghs div.wghs-button a.wghs-button-link:hover {
  background-color: var(--dark-red);
  color: white;
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}
body.wghs div.wghs-button a.wghs-button-link:after {
  display: inline-block;
  width: 18px;
  height: 10px;
  background-color: var(--white);
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg?v=1);
  mask-image: url(/wp-content/themes/allteams-flex-theme/backgrounds/vshape.svg?v=1);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* position: absolute; */
  margin-left: 0.5rem;
  top: 0;
  content: "";
  transform: rotate(270deg);
}
body.wghs div.wghs-button a.wghs-button-link[target="_blank"]:after {
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_external-link.svg);
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_external-link.svg);
  transform: rotate(0deg);
  width: 18px;
  height: 14px;
}

#at__banner {
  height: 62.5vw;
  max-height: 70vh;
  background-size: cover;
  background-position: top center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 7vh;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#at__banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 7vh;
  left: 50%;
  width: 2px;
  /* Adjust the width of the line as needed */
  background-color: #fff;
  /* Initial color of the line */
  transform: translateX(-50%);
}
#at__banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
#at__banner.no-featured {
  height: 40vh;
  padding: 0 0 10vh 0;
  background-color: var(--primary-pale-colour);
  color: var(--primary-colour);
}
#at__banner.no-featured::before {
  background-color: unset;
  content: none;
}
#at__banner div#at__banner-overlay {
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(1, 2, 2, 0) 70%,
    var(--primary-colour) 100%
  );
  opacity: 0.8;
  transition:
    background 0.3s,
    border-radius 0.3s,
    opacity 0.3s;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
}
#at__banner .at__page-title {
  font-family: var(--libre);
  font-size: clamp(2.5rem, 0.5147rem + 4.4118vw, 74px);
  font-weight: bold;
  margin-bottom: 1rem;
  z-index: 1;
  padding: var(--outsidePad) var(--outsidePad) 0;
}
#at__banner .at__sub-heading {
  font-size: 1.5rem;
  z-index: 1;
}
@media (max-width: 1023px) {
  #at__banner {
    height: var(--100vh-minus-adbar);
    max-height: var(--100vh-minus-adbar);
  }
}

.hero {
  width: 100%;
  height: calc(100vh - (var(--topHeaderHeight) + var(--admin-bar-height)));
  background-size: cover;
  background-position: top center;
  display: flex;
  align-items: flex-end;
  color: white;
  padding: var(--bigPad) var(--dblOutsidePad);
  z-index: 0;
}
.hero.hero-search-open {
  transition: all 300ms;
  align-items: center;
}
.hero.hero-search-open .hero-content {
  transform: translateY(-50%);
  transition: all 500ms;
}

.hero:before {
  content: "";
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 56%, #000000 74%);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.4;
  z-index: 1;
}

.hero-content {
  max-width: 500px;
  padding: 20px 0 0;
  flex: 1;
  z-index: 2;
  transform: translateY(0);
  transition: all 300ms;
}
@media (max-width: 1023px) {
  .hero-content {
    max-width: 400px;
    transition: all 500ms;
  }
}

.hero h1 {
  font-family: var(--libre);
  font-size: clamp(2.5rem, 0.5147rem + 4.4118vw, 4.375rem);
  margin-bottom: 10px;
}

.hero h3 {
  font-family: var(--avenir);
  font-size: 24px;
  margin-bottom: 30px;
}

.search-container {
  display: flex;
  align-items: center;
  width: 80vw;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  background-color: white;
}
@media (max-width: 1023px) {
  .search-container {
    max-width: 400px;
  }
}

.search-container input[type="search"] {
  flex-grow: 1;
  padding: 10px 15px 10px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  background: url(/wp-content/themes/allteams-flex-theme/icons/icons_search.svg?V=1)
    no-repeat 10px center;
  background-size: 20px;
}

.search-container button {
  padding: 4px 10px;
  background-color: #c41230;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-right: 5px;
  border-radius: 30px;
}

.search-container button:hover {
  background-color: #a50f28;
}

.grid-teacher-block-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 32px;
}
.grid-teacher-block-images .tbi-item {
  display: flex;
  flex-direction: column;
}
.grid-teacher-block-images .tbi-item .tbi-image-block img {
  aspect-ratio: 4/5;
  object-fit: cover;
  padding-bottom: 10px;
}
.grid-teacher-block-images .tbi-item .tbi-name {
  padding: 5px 0;
}
.grid-teacher-block-images .tbi-item .tbi-name h3 {
  padding: 0;
  color: #002561;
  font-size: 22px;
  margin-bottom: 5px;
}
.grid-teacher-block-images .tbi-item .tbi-bottom {
  justify-self: flex-end;
  height: 100%;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  gap: 0px;
  color: #002561;
  font-weight: bold;
}
.grid-teacher-block-images .tbi-item .tbi-bottom img.teacher-mail-icon {
  max-width: 20px;
}
.grid-teacher-block-images .tbi-item .tbi-bottom .tbi-role {
  font-weight: 400;
  font-size: 18px;
}
.grid-teacher-block-images .tbi-item .tbi-bottom .tbi-email {
  font-size: 16px;
}
.grid-teacher-block-images .tbi-item .tbi-bottom .tbi-qualiification {
  padding-top: 10px;
  font-size: var(--h5FontClamp);
}

/* Accordion */
.lbc-lay-accordion .lfo-title-box {
  width: auto;
  text-align: center;
  padding: var(--dblOutsidePad) var(--dblOutsidePad) 0;
}
.lbc-lay-accordion .accordion {
  width: 100%;
  max-width: 1216px;
}
.lbc-lay-accordion .accordion .dd {
  display: none;
  background-color: #fff;
  border-bottom: 1px solid var(--primary-colour);
}
.lbc-lay-accordion .accordion > .dt {
  font-family: var(--libre);
  font-size: var(--h3FontClamp);
  font-weight: 400;
  margin-top: 1rem;
  background-color: #fff;
  border-bottom: 1px solid var(--primary-colour);
}
.lbc-lay-accordion .accordion > .dt > a {
  display: block;
  position: relative;
  color: var(--primary-colour);
  text-decoration: none;
  padding: var(--singlePad);
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}
.lbc-lay-accordion .accordion > .dt > a:hover {
  text-decoration: none;
  color: var(--red);
  cursor: pointer;
}
.lbc-lay-accordion .accordion > .dt > a:after {
  content: "";
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_plus.svg?v=1);
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_plus.svg?v=1);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  height: 24px;
  width: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: var(--outsidePad);
  speak: none;
  font-style: normal;
  background-color: var(--primary-colour);
  -webkit-font-smoothing: antialiased;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}
.lbc-lay-accordion .accordion > .dt.active {
  border-bottom: 0;
}
.lbc-lay-accordion .accordion > .dt.active > a {
  color: var(--red);
  cursor: default;
}
.lbc-lay-accordion .accordion > .dt.active > a:after {
  -webkit-mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_minus.svg?v=1);
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/icons_minus.svg?v=1);
}
.lbc-lay-accordion .accordion > .dd {
  margin-bottom: 1rem;
  padding: 32px;
  line-height: 1.6;
}

/* Buttons Section */
.lbc-lay-buttons {
  max-width: 1216px;
  margin: 0px auto;
}
.lbc-lay-buttons .lbc-button-item {
  display: flex;
}
.lbc-lay-buttons .lbc-button-item a {
  margin: 0 auto;
  line-height: 1.2em;
  text-transform: capitalize;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  color: var(--primary-colour);
  background-color: var(--secondary-colour);
  width: 100%;
  padding: 20px 28px;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  margin: 0;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}
.lbc-lay-buttons .lbc-button-item a:after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  background-color: var(--primary-colour);
  width: 1em;
  height: 1em;
  mask-image: url(/wp-content/themes/allteams-flex-theme/icons/bmi-arrow.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  vertical-align: bottom;
  transition: transform 0.3s ease-in-out;
}
.lbc-lay-buttons .lbc-button-item a:hover {
  color: #fff;
  background-color: var(--primary-colour);
}
.lbc-lay-buttons .lbc-button-item a:hover:after {
  background-color: #fff;
}

.lbc-lay-buttons-grid {
  display: -ms-grid;
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.lbc-button-one-two {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lbc-button-item.oc_btn-file a:hover:after {
  transform: rotate(0deg);
}

.at__lay-gallery {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.at__lay-gallery a {
  aspect-ratio: 9/6;
}
.at__lay-gallery a img {
  aspect-ratio: 9/6;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 1023px) {
  .at__lay-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
@media (max-width: 767px) {
  .at__lay-gallery {
    grid-template-columns: 1fr;
  }
}

.pswp button {
  background: none;
}

/* Text Block (master of text block with images) */
.lbc-text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: var(--outsidePad);
}
@media (max-width: 400px) {
  .lbc-text-grid {
    grid-template-columns: 1fr;
  }
}

/* text block with images */
.ltgimage-img {
  height: 0;
  width: 100%;
  overflow: hidden;
  padding-top: 80%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.ltgimage-text {
  padding: 20px 0 0;
}

.lfo-container {
  align-items: top;
}

.lfo-blue {
  background-color: var(--red);
  color: #fff;
  /* padding: 50px; */
}

.lfo-black {
  background-color: var(--black);
  color: #fff;
  /* padding: 50px; */
}

.lfo-beige {
  background-color: var(--dusky-pink);
  /* padding: 50px; */
}

@media (max-width: 767px) {
  .lfo-blue,
  .lfo-black,
  .lfo-beige {
    padding: 0px 20px;
  }
}
.lfo-blue *,
.lfo-black {
  color: #fff;
  border-color: #fff !important;
}

.lfo-blue h2,
.lfo-blue h3,
.lfo-blue h4,
.lfo-black h2,
.lfo-black h3,
.lfo-black h4 {
  color: #fff !important;
  border-color: #fff;
}

.lfo-blue p a,
.lfo-black p a {
  color: var(--dark-grey) !important;
}

.lfo-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /*margin:50px 0;*/
  color: #fff;
  padding: 50px;
}

@media (max-width: 767px) {
  .lfo-image {
    padding: 0px 20px;
  }
}
.at-flex .lbc-lay-full-out .lfo-title-box {
  width: 100%;
  padding: var(--dblOutsidePad) var(--dblOutsidePad) 0;
}
.at-flex .lbc-lay-full-out .lfo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0;
  grid-template-areas: "text image";
}
.at-flex .lbc-lay-full-out .lfo-container .lfo-text {
  grid-area: text;
  padding: var(--outsidePad) var(--outsidePad) var(--outsidePad) 0;
}
.at-flex .lbc-lay-full-out .lfo-container .lfo-img {
  width: 100%;
  height: 100%;
  display: flex;
  max-width: 50vw;
  grid-area: image;
}
.at-flex .lbc-lay-full-out .lfo-container .lfo-img img {
  -o-object-fit: cover;
  object-fit: cover;
}
@media (min-width: 1600px) {
  .at-flex .lbc-lay-full-out .lfo-container .lfo-img {
    max-width: 40vw;
  }
}
@media (max-width: 1023px) {
  .at-flex .lbc-lay-full-out .lfo-container .lfo-img {
    max-width: 100vw;
  }
}
.at-flex .lbc-lay-full-out.lbc-img-left .lfo-container {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "image text";
}
.at-flex .lbc-lay-full-out.lbc-img-left .lfo-container .lfo-text {
  grid-area: text;
  padding: var(--outsidePad) 0 var(--outsidePad) var(--outsidePad);
}
@media (max-width: 1023px) {
  .at-flex .lbc-lay-full-out .lfo-container,
  .at-flex .lbc-lay-full-out.lbc-img-left .lfo-container {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "image";
    padding: 0;
  }
  .at-flex .lbc-lay-full-out .lfo-container .lfo-text,
  .at-flex .lbc-lay-full-out.lbc-img-left .lfo-container .lfo-text {
    padding: var(--dblOutsidePad);
  }
}
@media (max-width: 767px) {
  .at-flex .lbc-lay-full-out .lfo-container .lfo-text,
  .at-flex .lbc-lay-full-out.lbc-img-left .lfo-container .lfo-text {
    padding: var(--dblOutsidePad) var(--outsidePad);
  }
}

.lbc-video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.lbc-video iframe,
.lbc-video object,
.lbc-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Video Popup */
/* Individual video container */
.video-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

/* video poster frame or placeholder image */
.video-wrap .placeholder {
  width: 100%;
}

/* SVG play button container */
.video-wrap .play-btn {
  position: absolute;
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.video-wrap .play-btn svg {
  transition: all 0.2s ease;
  fill: #fff;
}

.video-wrap .play-btn:hover svg,
.video-wrap .play-btn:focus svg {
  cursor: pointer;
  fill: #00bce1;
}

/* adjust your icon size, add different breakpoints as needed */
@media screen and (max-width: 600px) {
  .video-wrap .play-btn {
    width: 70px;
    height: 70px;
  }
}
.at-video-popup {
  position: relative;
  background: #fff;
  padding: 20px;
  width: auto;
  max-width: 80vw;
  --vidWidth: calc(70vw - 40px);
  height: 45vw;
  /*   max-height:80vh; */
  margin: 20px auto;
}

.mfp-close-btn-in .mfp-close {
  color: #fff;
  top: 20px;
  right: 20px;
}

.at__related-posts {
  display: flex;
  --title-space: 6rem;
  --promo-pad: 3rem;
  --promo-heading-size: 2rem;
  gap: 2rem;
  width: 100%;
}
@media (max-width: 767px) {
  .at__related-posts {
    --title-space: 2.5rem;
    --promo-pad: 2.2rem;
    --promo-heading-size: 1.5rem;
    flex-direction: column;
  }
}
.at__related-posts .at__related-post {
  aspect-ratio: 3/2;
  --primarycolor: #4d4d4f;
  --secondarycolor: #fff;
  width: 100%;
  display: flex;
  cursor: pointer;
  position: relative;
  height: auto;
  flex: 1;
  transition: all 1s;
}
.at__related-posts .at__related-post:hover {
  -webkit-filter: brightness(0.6);
  filter: brightness(0.6);
}
.at__related-posts .at__related-post:first-of-type {
  --primarycolor: var(--red);
  --secondarycolor: #fff;
}
@media (max-width: 1023px) {
  .at__related-posts .at__related-post {
    aspect-ratio: 1;
  }
}
@media (max-width: 767px) {
  .at__related-posts .at__related-post {
    aspect-ratio: 3/2;
  }
}
.at__related-posts .at__related-post .img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  background-position-y: top;
}
.at__related-posts .at__related-post .img-container img {
  -o-object-fit: cover;
  object-fit: cover;
}
.at__related-posts .at__related-post .title-container {
  position: absolute;
  right: 0;
  left: calc(100% - var(--title-space));
  bottom: 0;
  top: 0;
  margin: 0;
  background-color: black;
  background-color: var(--primarycolor);
}
.at__related-posts .at__related-post .title-container h2 {
  font-size: var(--promo-heading-size);
}
.at__related-posts .at__related-post h2 {
  color: white;
  color: var(--secondarycolor);
  transform: rotate(180deg);
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-height: 100%;
  /* text-combine-upright: revert-layer; */
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  /* left: 0; */
  bottom: 0;
  line-height: var(--title-space);
  padding: 1rem 0;
}

/*# sourceMappingURL=main.css.map */
