/* -------------------------------------------CSS Document----------------------------------- */

* {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  text-decoration: none;
  letter-spacing: 0.1rem;
  outline: transparent;
}

:root {
  --highlight-color: #e31d1a;
  --body-bg-color: #dfeef9;
  --article-bg-color: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.5)
  );
  --wormss-orange: #f15a24;
  --footer-color: linear-gradient(0deg, #010f2b, #020454);
  --header-bg-color: rgba(255, 255, 255, 0.1);
  --footer-text-color: #c4c3d2;
  --gradient-title-color: linear-gradient(45deg, #9a71f1, #4ab6f2, #38ff5e);
  --asc: linear-gradient(0deg, rgb(255, 111, 11, 0.2), rgb(255, 204, 246, 0.2));
  --ot: linear-gradient(0deg, rgb(0, 124, 210), rgba(42, 35, 86));
  --availability: linear-gradient(0deg, rgb(81, 81, 81), rgb(24, 24, 24));
}

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

*,
*:before,
*:after {
  box-sizing: inherit;
}

noscript div {
  position: fixed;
  top: 1rem;
  left: 10%;
  padding: 1%;
  width: 78%;
  font-size: 2rem;
  text-align: center;
  color: #fff;
  background-color: #f00;
  border-radius: 1rem;
  z-index: 100;
}

html {
  font-size: 62.5%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
  opacity: 1;
  transition: opacity 0.3s;
}

img[data-src] {
  opacity: 0;
}

body {
  height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background-color: var(--body-bg-color);
  padding: 0 0 0 0;
  display: grid;
  grid-template-rows: var(--header-height) 1fr fit-content;
}

#container {
  height: 100%;
  width: 100%;
  position: relative;
}

p {
  color: inherit;
  font-size: 1.6rem;
  line-height: 150%;
  padding: 0 0 2rem 0;
  letter-spacing: 1.5px;
  max-width: 100ch;
}

a {
  color: var(--wormss-orange);
  transition: all 500ms ease-in-out;
}

a:hover,
a:focus {
  color: var(--highlight-color);
  cursor: pointer;
}

a:active,
a img {
  border: none;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
a[onClick] {
  cursor: pointer;
}

p > a {
  text-decoration: underline;
}
hr {
  border-color: var(--footer-text-color);
  margin-block: var(--general-spacer);
}
.error {
  color: red;
  font-weight: bold;
}
strong {
  font-weight: 700;
}

.clear {
  clear: both;
  width: 0;
  height: 0;
  font-size: 0;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 150%;
  padding: 0 0 2rem 0;
  font-weight: 600;
  font-family: "Trebuchet MS", sans-serif;
  color: var(--wormss-orange);
  text-transform: uppercase;
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em {
  line-height: 150%;
  padding: 0 0 2rem 0;
  font-weight: 600;
  font-family: "Trebuchet MS", sans-serif;
  color: var(--wormss-orange);
}

h1 {
  font-size: 0rem;
  height: 0;
  padding: 0;
  margin: 0;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2rem;
}

address {
  font-size: 1.6rem;
  line-height: 150%;
  padding: 0 0 0 0;
  margin-bottom: 2rem;
}
address a {
  color: var(--wormss-orange);
  text-decoration: underline;
}

ul,
ol {
  margin-left: 2rem;
}

ul > li {
  font-size: 1.6rem;
  line-height: 150%;
  padding: 0 0 2rem 2rem;
  list-style: disc outside;
  text-align: justify;
  max-width: 90ch;
  letter-spacing: 1.5px;
}

ol > li {
  font-size: 1.6rem;
  line-height: 150%;
  padding: 0 0 1rem 2.5rem;
  list-style: decimal outside;
  text-align: justify;
  max-width: 75ch;
  letter-spacing: 1.5px;
}

@media only screen and (min-width: 320px) {
  :root {
    --main-width: calc(100vw - 3rem);
    --header-height: 8rem;
    --main-logo-visibility: inline;
    --show-nav: block;
    --header-gap: 2rem;
    --general-spacer: 1rem;
    --projects-gap: 1rem;
    --section-margin: 1rem auto;
    --carousel-container-padding: 2rem 2rem 4rem 2rem;
    --item-width: 30rem;
    --carousel-height: 30vh;
    --sub-two-column: repeat(auto-fit, minmax(1fr, 43rem));
    --healthcare-columns: repeat(1, minmax(28rem, 1fr));
    --two-column: 1fr;
    --one-two-four: 1fr;
    --one-two: repeat(1, 1fr);
    --one-two-three: 1fr;
    --grid-sizer: 100%;
    --grid-item-width: calc(100% - 3rem);
    --grid-margin: 0 0 1rem 0;
    --general-padding: 1rem;
  }
}

@media only screen and (min-width: 480px) {
  :root {
    --main-width: calc(100vw - 3rem);
  }
}

@media only screen and (min-width: 768px) {
  :root {
    --main-width: calc(100vw - 4rem);
    --header-height: 10rem;
    --main-logo-visibility: inline;
    --general-spacer: 2rem;
    --projects-gap: 2rem;
    --item-width: 40rem;
    --carousel-container-padding: 4rem 4rem 4rem 4rem;
    --section-margin: 2rem auto;
    --carousel-height: 30vh;
    --healthcare-columns: repeat(2, minmax(28rem, 1fr));
    --one-two-four: repeat(2, 1fr);
    --one-two: repeat(2, 1fr);
    --one-two-three: repeat(2, 1fr);
    --grid-sizer: 50%;
    --grid-item-width: calc(50% - 3rem);
    --grid-margin: 0 2rem 2rem 0;
    --general-padding: 2rem;
  }
}

@media only screen and (min-width: 1024px) {
  :root {
    --main-width: calc(100vw - 8rem);
    --header-height: 12rem;
    --show-nav: none;
    --header-gap: 4rem;
    --projects-gap: 2rem;
    --section-margin: 4rem auto;
    --carousel-container-padding: 6rem 6rem 8rem 6rem;
    --carousel-height: 40vh;
    --two-column: 1fr 43rem;
    --one-two: repeat(2, 1fr);
    --one-two-three: repeat(2, 1fr);
    --grid-sizer: 50%;
    --grid-item-width: calc(50% - 3rem);
    --grid-margin: 0 2rem 2rem 0;
    --general-padding: 3rem;
  }
}

@media only screen and (min-width: 1440px) {
  :root {
    --main-width: 80vw;
    --header-height: 15rem;
    --general-spacer: 3rem;
    --projects-gap: 3rem;
    --section-margin: 7.4rem auto;
    --carousel-height: 50vh;
    --carousel-container-padding: 8rem 8rem 8rem 8rem;
    --healthcare-columns: repeat(3, minmax(28rem, 1fr));
    --one-two-four: repeat(2, 1fr);
    --one-two: repeat(2, 1fr);
    --one-two-three: repeat(2, 1fr);
    --grid-item-width: calc(50% - 3rem);
    --grid-margin: 0 3rem 3rem 0;
    --general-padding: 4rem;
  }
}

@media only screen and (min-width: 1845px) {
  :root {
    --main-width: 80vw;
    --header-height: 18rem; /* remove */
    --general-padding: 5rem;
  }
}

@media only screen and (min-width: 2485px) {
  :root {
    --main-width: 70vw;
    --general-spacer: 6rem;
    --general-padding: 6rem;
  }
}

/*---------------------------------------------- header ------------------------------------*/

header > * {
  font-size: 2.4rem;
  line-height: 3.8rem;
  font-weight: 400;
}

header {
  background: var(--header-bg-color);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 300;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: var(--header-gap);
  padding: 0 5vw 0 5vw;
  backdrop-filter: blur(10px);
}

.home__logo {
  display: block;
  aspect-ratio: 4.25/1;
  background-image: url(/img/logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  height: calc(var(--header-height) * 0.5);
  font-size: 0;
  z-index: 2001;
}

.main__logo {
  z-index: 2000;
  display: var(--main-logo-visibility);
  padding: 0;
  margin: 0 0 0 0;
  font-size: clamp(1.2rem, 2.5vw, 3rem);
  line-height: clamp(1.2rem, 2.5vw, 3rem);
  white-space: nowrap;
}

.header-padding {
  position: relative;
  width: 100%;
  background-color: transparent;
  height: var(--header-height);
}

/*---------------------------------------main navigation and menu------------------------------------*/

.menu {
  display: block;
  position: relative;
  z-index: 2000;
  margin: 0 0 0 auto;
}

#nav-button {
  display: none;
}

.line {
  display: none;
}

ul.main-nav {
  position: relative;
  display: flex;
  flex-direction: row;
  margin: 0 0 0 0;
  padding: 0;
}

ul.main-nav li {
  display: block;
  padding: 1rem 0 2rem 1vw;
  text-align: center;
  position: relative;
  max-width: inherit;
}

ul.main-nav li a {
  position: relative;
  display: block;
  font-weight: 100;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  background-color: var(--wormss-orange);
  color: #ffffff;
  padding: 1vw 2vw;
  border-radius: 50vw;
  text-transform: uppercase;
  transition: background-color 500ms ease-in-out;
  font-weight: 400;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
  font-family: "Trebuchet MS", system-ui, sans-serif;
}

ul.main-nav li a:hover {
  background-color: #000;
}

body#home ul.main-nav li#Home-link a,
body#people ul.main-nav li#People-link a,
body#participants ul.main-nav li#Participants-link a,
body#stakeholders ul.main-nav li#Stakeholders-link a {
  text-decoration: underline;
  background-color: #000;
}

@media only screen and (max-width: 720px) {
  body#home ul.main-nav li#Home-link a,
  body#people ul.main-nav li#People-link a,
  body#participants ul.main-nav li#Participants-link a,
  body#stakeholders ul.main-nav li#Stakeholders-link a {
    text-decoration: underline;
    background-color: transparent;
  }

  .menu {
    width: 30px;
    height: 21px;
    margin: 0 0 0 auto;
  }

  .line {
    display: block;
    max-height: 3px;
    height: 12%;
    width: 100%;
    background-color: var(--wormss-orange);
    border-radius: 0;
    cursor: pointer;
    position: absolute;
    top: 44%;
    right: 0;
  }

  .top,
  .bottom {
    display: block;
    position: absolute;
    max-height: 3px;
    height: 12%;
    background-color: var(--wormss-orange);
    border-radius: 0;
    top: 0;
  }

  .pad1,
  .pad2 {
    display: block;
    position: absolute;
    height: 32%;
    background: transparent;
    max-height: 100%;
  }

  .pad1 {
    top: 12%;
  }

  .pad2 {
    top: 56%;
  }

  .bottom {
    top: 88%;
  }

  .line {
    -webkit-transition: background 0s 0s;
    transition: background 0s 0s;
  }

  .top,
  .bottom {
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, transform;
  }

  .middle {
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, transform;
  }

  #nav-button:checked ~ .middle {
    opacity: 0;
  }

  #nav-button:checked ~ .pad1 {
    top: 0px;
    height: 50%;
  }

  #nav-button:checked ~ .pad2 {
    top: 50%;
    height: 50%;
  }

  #nav-button:checked + .top {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
  }

  #nav-button:checked ~ .bottom {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 50%;
  }

  nav#main-nav,
  div.personal-details,
  div.newsletter-modal,
  div#media-modal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #0093e9;
    background-image: linear-gradient(315deg, #0093e9 0%, #80d0c7 100%);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
  }

  nav#main-nav.animated,
  div.personal-details.animated,
  div.newsletter-modal.animated,
  div#media-modal.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }

  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
      visibility: visible;
    }
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
      visibility: visible;
    }
  }
  .fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
  }

  @-webkit-keyframes fadeOut {
    0% {
      opacity: 1;
      visibility: visible;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  @keyframes fadeOut {
    0% {
      opacity: 1;
      visibility: visible;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  .fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
  }

  ul.main-nav {
    position: relative;
    flex-direction: column;
    top: 50vh;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50vw;
    margin: 0;
    padding: 0;
  }

  ul.main-nav li {
    display: block;
    padding: 1rem 0 4vh 0;
    text-align: center;
    position: relative;
    max-width: inherit;
  }

  ul.main-nav li a {
    position: relative;
    display: block;
    font-weight: 100;
    font-size: 10vw;
    color: #ffffff;
    background-color: inherit;
    text-transform: uppercase;
    transition: color 500ms ease-in-out;
    font-weight: 400;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
    font-family: "Trebuchet MS", system-ui, sans-serif;
  }

  ul.main-nav li a:hover {
    background-color: inherit;
    color: var(--wormss-orange);
  }

  @-webkit-keyframes push_text_top {
    0% {
      opacity: 0;
      -webkit-transform: translateY(60px);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
    }
  }
  @-moz-keyframes push_text_top {
    0% {
      opacity: 0;
      -moz-transform: translateY(60px);
    }
    100% {
      opacity: 1;
      -moz-transform: translateY(0);
    }
  }
  @keyframes push_text_top {
    0% {
      opacity: 0;
      transform: translateY(60px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .push_text_top {
    -webkit-animation-name: push_text_top;
    animation-name: push_text_top;
  }

  ul.main-nav > li a:hover {
    color: var(--highlight-color);
  }

  ul.main-nav > li a.selected {
    font-weight: 700;
  }

  li#Services-link a span::after {
    content: "";
    background: url(../img/cross.png) 0 0 no-repeat;
    width: 2rem;
    display: inline-block;
    height: 2rem;
    background-size: cover;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
  }

  li#Services-link a.selected span::after {
    transform: rotate(315deg);
  }

  ul.subnav {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
  }

  ul.subnav li {
    padding: 2rem 0 0 0;
    display: none;
  }

  ul.subnav li a {
    font-size: 1.8rem;
  }
}
#back_to_top.on {
  right: 2.2rem;
  bottom: 5rem;
  opacity: 201;
  visibility: visible;
}

#back_to_top {
  color: rgba(205, 205, 205, 0.5);
  position: fixed;
  bottom: 6.5rem;
  margin: 0;
  z-index: 1;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  right: 25px;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  width: 5.7rem;
  height: 5.7rem;
  border: 0.2rem solid rgba(205, 205, 205, 0.5);
  border-radius: 3rem;
  background-image: url(../img/back-to-top.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#back_to_top:hover {
  background-color: rgba(205, 205, 205, 0.5);
}

#back_to_top,
#back_to_top.off {
  opacity: 0;
}

/***********************************************footer****************************************/

footer {
  background: var(--footer-color);
  width: 100%;
  margin: 0 0 1rem 0;
  display: grid;
  grid-auto-flow: row;
  gap: 2rem;
  padding: var(--general-spacer);
  border-radius: 0;
  align-self: end;
}

footer * {
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
}

footer address {
  font-style: normal;
  font-size: inherit;
  line-height: 110%;
}

footer address strong {
  display: block;
  padding: 0 0 1rem 0;
  font-weight: 700;
}

footer h2 {
  padding: 0;
  font-size: 2.4rem;
  color: #fff;
  text-transform: uppercase;
}

footer .one a {
  text-transform: uppercase;
}

.what3words {
  text-align: right;
  padding-top: 1rem;
}

/*---------------------- following style to fix intermittent ios color bug ---------------------*/

#projects li#Projects-link a,
#project-details li#Projects-link a,
#contact li#Contact-link a {
  color: #4b5662;
  font-weight: 700;
}

/*---------------------------------------------- carousel -----------------------------------*/

#carousel {
  width: 100%;
  height: var(--carousel-height);
  z-index: 1;
  border-color: #fff;
  position: relative;
  /* border-style: solid; */
}

#carousel .slides {
  width: 100%;
  height: 100%;
}

#carousel div.background {
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
  height: 100%;
}

#carousel span#next,
#carousel span#prev,
.slick-next,
.slick-prev,
.multi .next,
.multi .prev {
  position: absolute;
  width: 5rem;
  height: 12.8rem;
  top: 50%;
  cursor: pointer;
  background-size: contain;
  font-size: 0;
  z-index: 40000;
  transition: all 500ms ease-in-out;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border-collapse: collapse;
  border: none;
}

#carousel span#down {
  position: absolute;
  left: 50%;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 0;
  z-index: 40000;
  border-collapse: collapse;
  border: none;
  background: url(../img/down.png) no-repeat;
  background-size: contain;
}

#carousel span#prev,
.multi .prev {
  background-image: url(/img/next.png);
  background-repeat: no-repeat;
  background-color: transparent;
}

#dots {
  position: absolute;
  left: 50%;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 6rem;
  opacity: 0.5;
  z-index: 40000;
  display: grid;
  grid-auto-flow: column;
  gap: 2rem;
}

#dots span {
  cursor: pointer;
  transition: all 500ms ease-in-out;
}

#dots span:hover,
#dots span.cycle-pager-active {
  color: var(--highlight-color);
  opacity: 0.8;
}

#carousel span#next,
.multi .next {
  background-image: url(/img/prev.png);
  background-repeat: no-repeat;
  background-color: transparent;
}

.slick-prev {
  background-image: url(/img/next.png);
  background-repeat: no-repeat;
  left: 0;
  background-color: transparent;
  opacity: 1;
}

.slick-next {
  background-image: url(/img/prev.png);
  background-repeat: no-repeat;
  right: 0;
  background-color: transparent;
  opacity: 1;
}

/*---------------------------------------- slide templates ----------------------------------*/

#carousel .container {
  padding: var(--carousel-container-padding);
  position: absolute;
  overflow: hidden;
}

#carousel p {
  padding: 0 0 1rem 0;
  color: inherit;
  line-height: 120%;
}

#carousel p a {
  color: var(--highlight-color);
  font-size: 1.6rem;
}

#carousel p a:hover {
  text-decoration: underline;
}

#carousel h3 {
  padding: 0 0 1rem 0;
  color: inherit;
  font-weight: 100;
  font-size: 1.8rem;
}

#carousel h4 {
  padding: 0 0 1rem 0;
  color: inherit;
  font-weight: 100;
  font-size: 1.6rem;
}

#carousel .black,
#carousel .grey-holder {
  background: url(../img/black-bg.png) repeat;
  backdrop-filter: blur(10px);
  color: #fff;
  overflow-y: auto;
  max-height: 100%;
  border-radius: 1rem;
}

#carousel .white {
  background-color: var(--header-bg-color);
  backdrop-filter: blur(10px);
  color: #000;
  overflow-y: auto;
  max-height: 100%;
  border-radius: 1rem;
}

#carousel .top {
  position: absolute;
  top: 0;
}

#carousel .center {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#carousel .bottom {
  position: absolute;
  bottom: 0;
}

#carousel .right {
  position: absolute;
  right: 0;
  width: 40%;
}

#carousel .left {
  position: absolute;
  left: 0;
  width: 40%;
}

#carousel .slight-left {
  position: absolute;
  left: 10%;
  width: 40%;
}

#carousel .slight-left p {
  font-size: 1.8rem;
}

#carousel .full {
  width: 100%;
}

#carousel .statement {
  width: 100%;
  color: #e31d1a;
  border-radius: 1rem;
}

#carousel .statement p {
  font-size: 2rem;
  text-align: justify;
  font-weight: 400;
}

#carousel .video {
  padding: 0 0 0 0;
  border-radius: 1rem;
}

#carousel .practice-container {
  position: absolute;
  width: 100%;
  bottom: 0;
  background-color: #fff;
  max-height: 100%;
  overflow-y: auto;
}

#carousel .practice-info {
  width: calc(100% - 4rem);
  left: 2rem;
  padding: 3rem 0 3rem 0;
  position: relative;
}

#carousel .video-holder {
  position: relative;
  width: 60%;
  display: inline-block;
  margin: 0 -0.5rem 0 0;
  padding: 0 0 0 0;
  height: 100%;
}

#carousel .full-video {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

#carousel .youtube {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

#carousel .youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}

#carousel .video-text-holder {
  display: inline-block;
  width: 40%;
  padding: 3rem 1rem 3rem 1rem;
  margin: 0 -0.5rem 0 0;
  vertical-align: top;
  overflow-y: auto;
}

#carousel h2.video-title {
  font-size: 3rem;
  padding: 0 0 1rem 0;
  color: inherit;
}

#carousel .messages-holder {
  display: table;
}

#carousel .messages {
  display: table-row;
  vertical-align: top;
}

#carousel .black-box {
  width: 62.5% !important;
  height: 100%;
  padding: 1rem;
  display: table-cell;
  background: url(../img/black-bg.png) repeat;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

#carousel .black-box * {
  color: #fff;
  font-weight: 100;
  line-height: 100%;
}

#carousel .spacer {
  width: 2.5%;
  height: 100%;
  display: table-cell;
}

#carousel .orange-box {
  min-width: 25% !important;
  height: 100%;
  padding: 1rem;
  display: table-cell;
  background: url(../img/orange-bg.png) repeat;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

#carousel .orange-box * {
  color: #fff !important;
  font-weight: 100;
  line-height: 100%;
}

.clear {
  clear: both;
  height: 0;
  width: 0;
  overflow: hidden;
}

ul.carousel-ul,
ol.carousel-ol {
  padding: 0 0 0 1.6rem;
}

ul.carousel-ul > li {
  font-size: 1.4rem;
  padding: 0 0 0.5rem 0;
  list-style: outside none disc;
}

ol.carousel-ol > li {
  font-size: 1.4rem;
  padding: 0 0 0.5rem 0;
  list-style: outside none decimal;
}

body#practice.slide_show #carousel ul {
  padding-bottom: 30px;
}

body#practice.slide_show #carousel ul > li {
  display: inline-block;
  vertical-align: bottom;
  padding-right: 10px;
  width: 20%;
  box-sizing: border-box;
  margin-right: -5px;
  max-width: 110px;
}

body#practice.slide_show #carousel ul > li img {
  width: 100%;
}

/***************************************** parallax ****************************************/

.text__two-column {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(28rem, 30%, 55rem), 1fr)
  );
  gap: var(--general-spacer);
  margin: var(--section-margin);
  border: 1rem solid transparent;
  align-items: center;
}

.text__two-column h2,
.text__two-column h3,
.page__main-title {
  font-family: "Trebuchet MS", sans-serif;
  font-size: clamp(4rem, 4vw, 7rem);
  font-weight: 800;
  line-height: clamp(4rem, 4vw, 7rem);
  background: var(--gradient-title-color);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.text__two-column h2 span,
.text__two-column h3 span,
.page__main-title span {
  font-size: 0.5em;
  line-height: 0.5em;
}

.text__two-column h3,
.page__main-title {
  font-size: clamp(2rem, 4vw, 6rem);
  line-height: clamp(2rem, 4vw, 6rem);
}

.text__two-column p {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.text__two-column img {
  border-radius: 1rem;
}

.ten24 {
  position: relative;
  text-align: left;
}

.section {
  padding: var(--general-spacer);
  background: #ffffff;
  border-radius: 2rem;
  margin-block-end: 4rem;
  border: 1px solid #ddd;
}

section.parallax {
  height: 500px;
  position: relative;
  overflow: hidden;
  margin-block-end: 4rem;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 3;
}

.para-inner h2,
.para-inner p {
  width: 75%;
  margin: 0px auto;
  padding: 0px;
  color: #fff;
  transition: color 0.9s ease 0s;
  text-align: left;
  z-index: 4;
}

.para-inner h2 {
  margin-top: 125px;
}

.para-inner p {
  font-size: 30px;
}

.bottom-v {
  width: 100%;
  height: 20px;
  background: 0 0;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 200;
}

.solid-bar {
  width: calc(50% - 28px);
  height: 20px;
  position: relative;
  overflow: visible;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
}

.solid-bar div {
  width: 200%;
  height: 20px;
  background: var(--body-bg-color);
  position: absolute;
  top: 0;
  right: 0;
}

.grey .solid-bar div {
  background: #f0f0f0;
}

.solid-bar.right-bar div {
  right: auto;
  left: 0;
}

.v-cut-out {
  width: 42px;
  height: 20px;
  background: 0 0;
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
}

.v-cut-out img {
  position: absolute;
  top: 0;
  left: -7px;
  -ms-filter: "alpha(opacity=0)";
  filter: "alpha(opacity=0)";
  opacity: 1;
  max-width: none;
}

.section.grey {
  background: #f0f0f0;
}

.clear-both {
  clear: both;
  height: 0;
  width: 100%;
}

@media only screen and (min-width: 320px) {
  #carousel {
    height: var(--carousel-height);
    border-width: 0 1rem 1rem 1rem;
  }

  .logo {
    height: 4rem;
    width: 16.1rem;
    left: 1rem;
  }

  .logo a {
    width: 4rem;
  }

  .logo span {
    width: 12.1rem;
  }
  .contact-us__btn {
    right: 5rem;
  }

  #carousel span#next,
  #carousel span#prev,
  .slick-next,
  .slick-prev {
    width: 1.25rem;
    height: 3.2rem;
  }

  #carousel span#next {
    right: 2rem;
  }

  #carousel span#prev {
    left: 2rem;
  }

  #carousel span#dots {
    bottom: 1rem;
  }

  #carousel span#down {
    height: 1.25rem;
    width: 3.2rem;
    bottom: 2rem;
  }

  .slick-prev {
    left: -2rem;
  }

  .slick-next {
    right: -2rem;
  }

  /* ------------------------------------general styles ------------------------------------ */
  main {
    max-width: var(--main-width);
    margin: var(--general-spacer) auto;
  }

  div.grid {
    display: grid;
    gap: 2rem;
    grid-row-gap: 2rem; /* Legacy Safari */
    row-gap: 2rem; /* Modern browsers */
    grid-template-columns: repeat(auto-fit, minmax(var(--item-width), 1fr));
    grid-auto-rows: max-content;
    grid-auto-flow: row;
    max-width: 98rem;
    margin: 0 auto;
    height: fit-content;
    align-content: start;
  }

  div.two__column {
    grid-template-columns: var(--two-column);
  }

  div.one-two {
    grid-template-columns: var(--one-two);
  }
  @media only screen and (min-width: 768px) {
    div.one-two h3.team-country {
      grid-column: span 2;
      padding-bottom: 0;
    }
  }
  div.one-two-three {
    grid-template-columns: var(--one-two-three);
  }

  div.one-two-four {
    grid-template-columns: var(--one-two-four);
  }

  div.three__column {
    grid-template-columns: var(--one-two-three);
  }

  div.four__column {
    grid-template-columns: repeat(4, 1fr);
  }

  div.main-article,
  div.biography {
    display: block;
    margin: 0 auto 0 auto;
    background: var(--article-bg-color);
    padding: 20px;
    border-radius: 2rem;
    border: 1px solid #ddd;
    max-width: 98rem;
    width: 100%;
  }

  div.main-article {
    margin-bottom: 2rem;
  }

  section.double-span {
    grid-column: span 2;
    grid-row: span 2;
  }

  .back {
    width: 100%;
    padding: 2rem 0 4rem 2rem;
    text-align: right;
  }

  .back a {
    font-size: 2.6rem;
    transition: color 500ms ease-in-out;
  }

  /* price table */
  .pricing-table {
    border: 1px solid var(--header-blue);
    background-color: var(--header-blue);
    border-radius: 1rem;
    column-gap: 1px !important;
    text-align: center;
    overflow: hidden;
  }

  .pricing-table article {
    background-color: #fff;
  }

  h3.chiropractor {
    font-family: Montserrat, sans-serif;
    font-size: clamp(2rem, 2vw, 3.5rem);
    font-weight: 800;
    line-height: clamp(2rem, 2vw, 3.5rem);
    background: var(--gradient-title-color);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }

  h3.price-title {
    background-color: var(--header-blue);
    color: #fff;
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 500;
    padding-block: 1rem;
  }

  h3.price-title span {
    font-size: 1.4rem;
    line-height: 1.4rem;
  }

  .pricing-table p {
    display: grid;
    align-items: center;
    padding: var(--general-spacer);
    font-size: 3rem;
    text-align: center;
    font-weight: 600;
  }

  span.old-price {
    text-decoration: line-through;
    font-weight: 300;
  }

  span.new-price {
    font-weight: 600;
  }

  /* healthcare tips styling */
  .healthcare-columns {
    display: grid;
    grid-template-columns: var(--healthcare-columns);
    gap: 2rem;
  }

  .nutrition,
  .health,
  .environment {
    display: block;
    padding: 4rem;
    border-radius: 2rem;
    color: #fff;
    background: #fff;
    position: relative;
    border: 1px solid #ddd;
  }

  .nutrition::after,
  .health::after,
  .environment::after {
    content: "";
    position: absolute;
    width: 4rem;
    height: 4rem;
    aspect-ratio: 1/1;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 4rem;
    right: 4rem;
  }

  .nutrition::after {
    background-image: url("../img/leaf.svg");
  }
  .health::after {
    background-image: url("../img/exercise.svg");
  }
  .environment::after {
    background-image: url("../img/globe-icon.svg");
  }

  .health *,
  .nutrition *,
  .environment * {
    color: #000;
    padding: 0;
  }

  .health h3,
  .nutrition h3,
  .environment h3 {
    font-weight: bold;
  }

  .nutrition {
    background: linear-gradient(
      33deg,
      rgba(93, 129, 200, 0.5),
      rgb(172, 255, 52, 0.5)
    );
  }

  .health {
    background: linear-gradient(
      33deg,
      rgba(174, 4, 172, 0.5),
      rgb(249, 156, 50, 0.5)
    );
  }

  .environment {
    background: local
      linear-gradient(33deg, rgba(202, 99, 99, 0.5), rgb(158, 203, 255, 0.5));
  }

  a.anchor {
    display: block;
    position: absolute;
    top: calc((-1 * var(--header-height)) - 3rem);
    width: 0;
    aspect-ratio: 1;
  }

  /*-------------------------------unsubscribe email form----------------------------*/

  form.form__grid-unsubscribe {
    display: grid;
    gap: 1rem;
    max-width: 40rem;
  }

  form.form__grid-unsubscribe label {
    font-size: 2rem;
    font-weight: bold;
  }

  form.form__grid-unsubscribe input[type="email"] {
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }

  #carousel .black-box input.contact-us__btn {
    background-color: lightgreen;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.6rem;
    padding: 1rem 2rem;
    color: #000;
    font-weight: bold;
  }

  #carousel .black-box input.contact-us__btn:hover {
    cursor: pointer;
    background-color: #000;
    color: #eee;
  }

  /* -------------------------------------team ------------------------------------------*/

  div.team_thumbnail {
    display: grid;
    aspect-ratio: 1/1;
    padding: 2rem;
    background: #c1b9be;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 2rem;
  }

  h3.team__title {
    font-size: clamp(1.8rem, 10vw, 3rem);
    line-height: clamp(1.8rem, 10vw, 3rem);
    font-weight: 500;
    color: #fff;
    align-self: end;
    stroke: #000 1px;
    -webkit-text-stroke-color: #000;
    stroke-width: 1px;
  }

  a.therapies,
  a.therapists,
  a.ailments {
    display: grid;
    aspect-ratio: 1/1;
    padding: 2rem;
    background: #c1b9be;
    background-size: cover;
    background-repeat: none;
    border-radius: 2rem;
    transition: filter 500ms ease-in-out;
    filter: saturate(0%);
  }

  a.therapies *,
  a.therapists *,
  a.ailments * {
    text-align: left;
    padding: 0;
  }

  a.therapies:hover,
  a.therapists:hover,
  a.ailments:hover,
  a.therapies:focus,
  a.therapists:focus,
  a.ailments:focus {
    filter: saturate(150%);
  }

  h3.therapies__title,
  h3.therapists__title,
  h3.ailments__title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: clamp(1.4rem, 5vw, 2rem);
    font-weight: 500;
    color: #fff;
    text-shadow: 5px 2px 3px rgba(0, 0, 0, 0.5);
    align-self: end;
  }

  .availability {
    background: var(--availability);
    padding: 2rem;
    border-radius: 2rem;
    color: #fff;
    margin-block-end: var(--general-spacer);
    display: grid;
    gap: 1rem;
  }

  .availability * {
    padding: 0;
    color: #fff;
  }

  .availability h2,
  .availability h3 {
    font-weight: 500;
    padding-bottom: 1rem;
  }

  .cliniko {
    display: inline-block;
    background: #0093e9;
    color: #eee;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 1rem;
    border: 1px solid #fff;
  }

  /* ----------------------- traffic drivers ----------------------------------------*/
  .traffic__drivers {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    max-width: 133rem;
    margin-inline: auto;
    margin-block: 8rem;
    align-items: stretch;
  }

  .two__column .traffic__drivers {
    grid-template-columns: repeat(1, minmax(30rem, 1fr));
  }

  .drivers {
    display: grid;
    padding: 2rem;
    border-radius: 2rem;
    align-items: center;
    align-content: center;
    background-size: cover;
    border: 1px solid #ddd;
  }

  .drivers * {
    color: inherit;
    text-align: center;
    line-height: 100%;
  }

  .td-contents {
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: max-content;
    gap: 2rem;
  }

  .td-contents h1 {
    display: block;
    font-size: 3.6rem;
    line-height: 3.6rem;
    padding-bottom: 0;
    height: auto;
  }

  .td-contents h3 {
    font-weight: bold;
  }

  .td-contents p {
    font-size: 1.8rem;
    line-height: 1.5;
    padding-bottom: 0;
  }

  .healthcare__tip,
  .healthcare-tips {
    display: grid;
    grid-auto-flow: row;
    gap: 1rem;
  }

  /* ----------------------------------------footer 320 ------------------------------------- */

  footer {
    padding: var(--general-spacer);
  }

  footer > div {
    text-align: left;
    min-height: 14.5rem;
    display: grid;
    grid-auto-flow: row;
    gap: 1rem;
    outline: none;
    padding-block: 1rem;
  }

  /* ---------------------------------------slide templates 320 ----------------------------- */

  #carousel .slides {
    width: 100%;
    height: 100%;
    position: relative;
  }

  #carousel div.background {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
  }

  #carousel .container {
    padding: 0;
    width: calc(100% - 8rem);
    position: absolute;
    left: 4rem;
    right: 4rem;
    bottom: 4rem;
    top: 4rem;
  }

  #carousel .black,
  #carousel .white,
  #carousel .grey-holder {
    padding: var(--general-spacer);
  }

  #carousel .top {
    position: absolute;
    top: 0;
  }

  #carousel .center {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #carousel .expertise-holder .center {
    position: relative;
    top: 0;
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  #carousel .bottom {
    position: absolute;
    top: 60%;
  }

  #carousel .right {
    position: absolute;
    right: 0;
    width: 100%;
  }

  #carousel .payments {
    max-width: 60rem;
  }

  #carousel .left {
    position: absolute;
    display: block;
    left: 0;
    width: auto;
    overflow: hidden;
    height: fit-content;
  }

  #carousel .left h2 {
    padding: 0 0 0 0;
  }

  #carousel .slight-left {
    position: absolute;
    left: 0;
    width: 100%;
  }

  #carousel .full {
    width: 100%;
  }

  #carousel .statement p {
    font-size: 1.8rem;
    text-align: left;
    color: var(--highlight-color);
    width: 90%;
    margin: 0 auto;
    display: block;
    -ms-text-align-last: left;
    -webkit-text-align-last: left;
    text-align-last: left;
  }

  #carousel .video {
    padding: 0;
  }

  #carousel .practice-info {
    width: calc(100% - 8rem);
    left: 4rem;
    padding: 1rem 0 1rem 0;
    position: relative;
  }

  #carousel .expertise-holder {
    max-height: 100%;
    overflow-y: auto !important;
  }

  #carousel .intro {
    color: #fff;
    padding: 1rem;
    background: url(../img/black-bg.png) repeat;
    margin-bottom: 2rem;
  }

  #carousel .intro h4 {
    font-size: 1.8rem;
    padding: 0 0 1rem 0;
    color: #fff;
  }

  #carousel .intro p {
    font-size: 1.6rem;
    line-height: 150%;
    padding: 0 0 2rem 0;
    color: #fff;
  }

  #carousel .bullet-holder {
    color: #fff;
    padding: 1rem;
    background: url(../img/orange-bg.png) repeat;
    margin: 0 0 1rem;
  }

  #carousel .bullet-holder h3 {
    color: #222;
    font-size: 2.5rem;
    padding: 0 0 1rem 0;
    font-weight: 700;
  }

  #carousel .bullet-holder ul {
    color: #4b5662;
    padding: 0 0 0 0;
  }

  #carousel .bullet-holder ul li {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    list-style: none;
    letter-spacing: 0;
  }

  #carousel .bullet-holder ul li:before {
    content: "â€¢ ";
    color: #000;
    font-size: 3rem !important;
    text-indent: -1rem;
    line-height: 1rem;
    vertical-align: middle;
  }

  #carousel .video-holder {
    width: 100%;
    display: block;
    margin: 0 0 0 0;
  }

  #carousel .video-text-holder {
    display: block;
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    margin: 0 0 0 0;
  }

  #carousel h2.video-title {
    font-size: 1.8rem;
  }

  #carousel .messages-holder {
    max-height: 100%;
    overflow-y: auto;
  }

  #carousel .black-box {
    width: 100% !important;
    height: auto;
    display: block;
    margin: 0 0 2rem 0;
    color: #fff;
  }

  #carousel .black-box p {
    font-size: 1.8rem !important;
  }

  #carousel .spacer {
    display: none;
  }

  #carousel .orange-box {
    min-width: 100% !important;
    height: auto;
    display: block;
  }

  #carousel .orange-box p {
    font-size: 1.8rem !important;
    color: #fff;
  }

  #carousel a.email {
    font-size: 1.2rem !important;
  }

  #carousel a.email:hover {
    text-decoration: underline;
  }

  /* -------------------------------------end slide templates 320 ---------------------------*/

  /* -------------------------------------------home page 320 ------------------------------ */

  body#home #carousel {
    height: var(--carousel-height);
  }

  body#home #carousel .container {
    top: 2rem;
    left: 2rem;
    right: 2rem;
    width: auto;
  }

  /* text and parallax section */

  body#home .ten24 {
    width: calc(100% - 20px);
    padding: 0 10px;
    margin: 30px auto;
  }

  body#home .absolute {
    position: absolute;
    width: 75%;
    text-align: left;
    left: 12.5%;
    top: 40%;
    z-index: 200;
  }

  body#home .absolute p {
    text-shadow: 1px 1px 2px black;
  }

  body#home .para-inner h2 {
    margin-top: 125px;
  }

  body#home .para-inner h2,
  .para-inner p {
    width: calc(100% - 20px);
    padding: 0 10px;
  }

  body#home .para-inner p {
    font-size: 18px;
  }

  body#home .float-left,
  .float-right {
    float: none;
    padding: 0 0 20px 0;
  }

  body#home .info-text-col {
    float: none;
    width: 100%;
  }

  body#home .info-text-col h1,
  .info-text-col h2 {
    padding: 0;
    margin: 0 0 20px 0;
  }

  body#home .info-text-col p {
    font-size: 16px;
    line-height: 150%;
    text-align: left;
  }

  body#home .info-text-col p a {
    padding: 15px;
    background-color: #bbb;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    float: right;
  }

  body#home .info-text-col p a:hover {
    color: var(--highlight-color);
  }

  .gcc {
    width: 50%;
  }

  /* projects media section */

  body#home section.media-grid {
    padding: 0 1rem 0 1rem;
    width: 100% !important;
    background-color: #fff;
  }

  body#home section.media-grid:after {
    content: "";
    display: block;
    clear: both;
  }

  body#home section.media-grid div.grid-sizer {
    width: 100%;
  }

  body#home section.media-grid article.grid-item {
    padding: 0;
    background-color: #fff;
    margin: 0 0 1rem 0;
    width: calc(100% - 2rem);
    float: left;
  }

  body#home section.media-grid article .holder {
    position: relative;
    overflow: hidden;
    height: auto;
  }

  body#home section.media-grid article img {
    min-width: 100%;
    margin: 0;
    -webkit-filter: blur(0);
    filter: blur(0);
    transition: filter 500ms ease-in-out, transform 500ms ease-in-out;
    transform: scale(1);
  }

  body#home section.media-grid article:hover img,
  body#home section.media-grid article:active img,
  body#home section.media-grid article:focus img {
    -webkit-filter: blur(5px);
    filter: blur(5px);
    transform: scale(1.05);
    cursor: pointer;
  }

  body#home section.media-grid article .media-info {
    transition: opacity 500ms ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
    color: #000;
    text-align: center;
    opacity: 0;
  }

  body#home section.media-grid article .media-info:hover,
  body#home section.media-grid article .media-info:active,
  body#home section.media-grid article .media-info:focus {
    opacity: 1;
    cursor: pointer;
  }

  body#home section.media-grid article .media-info .text {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 1rem;
    width: 100%;
  }

  body#home section.media-grid article .media-info .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
  }

  /*----------------------------- twitter and facebook share links 320 -------------------------*/

  .social-holder {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(1, min-content);
    gap: 2rem;
    width: auto;
    padding-top: 2rem;
  }

  .social-holder a.orange-link {
    display: inline-block;
    margin: 0 1rem 0 0;
    font-size: 0;
    width: 4.2rem;
    height: 4.2rem;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
  }

  .social-holder > img,
  a.registered > img {
    height: 5.2rem;
  }

  .social-holder a:hover,
  .social-holder a:active,
  .social-holder a:focus {
    -webkit-filter: grayscale(0);
    -ms-filter: grayscale(0);
    filter: grayscale(0);
  }

  .social-holder a.twitter-link {
    background-image: url(../img/twitter.png);
    width: 5.2rem;
  }

  .social-holder a.linkedin-link {
    background-image: url(../img/linkedin.png);
  }

  .social-holder a.instagram-link {
    background-image: url(../img/instagram.png);
  }

  .social-holder a.pinterest-link {
    background-image: url(../img/pinterest.png);
  }

  ul.social-nav {
    padding: 2rem 0 3rem 0;
  }

  li.social__item {
    padding: 0 3rem 0 0;
    display: inline-block;
  }

  li.social__item a {
    padding: 0 0 0 0;
  }

  span.u-h {
    font-size: 0;
    display: none;
  }

  span.social-icon--twitter {
    display: block;
    background: url(../img/twitter.png) no-repeat;
    width: 26px;
    height: 21px;
    background-size: contain;
  }

  span.social-icon--facebook {
    display: block;
    background: url(../img/facebook.png) no-repeat;
    width: 11px;
    height: 21px;
    background-size: contain;
  }

  span.social-icon--twitter:hover,
  span.social-icon--facebook:hover {
    opacity: 0.7;
  }

  /*-------------------------------------- contact page 320----------------------------------- */

  #map-width {
    width: 100%;
    padding: 0;
    position: relative;
    height: 100%;
    grid-row: span 2;
    aspect-ratio: 1/1;
  }

  #map-holder {
    width: 100%;
    height: 0;
    padding: 0 0 100%;
    aspect-ratio: 1/1;
  }

  #map-holder img {
    max-width: inherit;
  }

  body#contact .address-holder,
  body#contact .contact-form-holder {
    padding: 1.8rem 0 0 0;
    margin: 0 0 1rem 0;
  }

  body#contact .address-holder address {
    padding: 0 0 0 0;
  }

  body#contact .address-holder p {
    padding: 0 0 0 0;
  }

  body#contact .address-holder strong {
    display: block;
    padding: 0 0 1rem 0;
  }

  body#contact .contact-email,
  .phone {
    font-size: 1.6rem;
    padding: 0 0 0.5rem;
  }

  body#contact aside .phone {
    font-size: 1.6rem;
  }

  body#contact div.social {
    padding: 0 0 0 0;
    margin: 0 0 1rem 0;
    background-color: #fff;
  }

  .outside-image {
    aspect-ratio: 1/1;
    border-radius: 2rem;
    background-size: cover;
  }

  /*-------------------------------------- funding and stakeholders page 320----------------------------------- */

  div.funders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin: 2rem auto;
  }

  div.funders img {
    width: 100%;
    height: auto;
    max-height: 10rem;
    object-fit: contain;
    object-position: 50% 50%;
    border-radius: 1rem;
  }

  div.funders span {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    padding: 0.5rem 0 0 0;
  }

  /*-------------------------------------- privacy policy page 320----------------------------------- */

  body#privacy main {
    padding: var(--general-spacer);
    max-width: 98rem;
    margin: 0 auto;
  }

  /*-------------------------------------- terms and conditions page 320----------------------------------- */

  body#terms main {
    padding-block: var(--general-spacer);
    max-width: 98rem;
    margin: 0 auto;
  }

  body#terms ol.letters > li {
    list-style-type: lower-alpha;
  }

  body#terms p.indent1 {
    margin-left: 1rem;
  }

  /*---------------------chiropractic lifestyles ----------*/
  div.static {
    text-align: center;
    position: sticky;
    top: var(--header-height);
    z-index: 1;
    background-color: var(--body-bg-color);
    padding-block: var(--general-spacer);
  }

  ul.sub-nav {
    display: inline-flex;
    gap: var(--general-spacer);
  }

  ul.sub-nav > li {
    list-style: none;
  }

  ul.sub-nav > li a.selected {
    color: var(--highlight-color);
  }

  section#lifestyles-holder {
    padding: 0 1rem 0 1rem;
    width: var(--lifestyles-width);
    position: relative;
    margin: 0 auto;
    max-width: 160rem;
  }
  section#lifestyles-holder:after {
    content: "";
    display: block;
    clear: both;
  }

  section#lifestyles-holder div.grid-sizer {
    width: var(--grid-sizer);
  }

  section#lifestyles-holder article.grid-item {
    padding: 0;
    background-color: #fff;
    margin: var(--grid-margin);
    width: var(--grid-item-width);
    float: left;
    transition: all 500ms ease-in-out;
    position: relative;
  }

  section#lifestyles-holder article.grid-item:hover {
    background-color: #eee;
  }

  section#lifestyles-holder article .lifestyle-anchor {
    display: block;
    width: 0px;
    height: 0px;
    position: absolute;
    top: calc(var(--header-height) * -2);
  }

  section#lifestyles-holder article .holder {
    position: relative;
    overflow: hidden;
    height: auto;
    border-radius: 1rem;
    outline: 1px solid #ccc;
    isolation: isolate;
  }

  section#lifestyles-holder a:hover,
  section#lifestyles-holder a :focus {
    color: inherit;
  }

  .lifestyle-header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    aspect-ratio: 16/9;
  }

  .lifestyle-header img.lifestyle_thumb,
  .lifestyle-header h2 {
    grid-row: 1/-1;
    grid-column: 1/-1;
  }

  .lifestyle-header img.lifestyle_thumb {
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: 50% 0%;
    z-index: -1;
    opacity: 0.8;
  }

  .lifestyle-header h2 {
    display: inline-block;
    background-color: rgb(74, 182, 242, 0.95);
    color: #fff;
    font-weight: 400;
    padding: 1rem;
    line-height: 1;
    font-size: clamp (1.4rem, 3vw, 2.6rem);
    margin-inline: 2rem;
    border-radius: 0.5rem;
  }

  section#lifestyles-holder article .lifestyle-info > * {
    padding: 0;
    margin: 0;
  }

  section#lifestyles-holder article .lifestyle-info ul li {
    margin-left: 2rem;
  }

  section#lifestyles-holder article .lifestyle-info {
    padding: 2rem;
    display: grid;
    align-items: start;
    gap: 2rem;
  }

  .lifestyle-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media only screen and (min-width: 768px) {
  .section__image-text,
  .section__text-headline {
    grid-auto-flow: column;
  }

  #carousel {
    height: var(--carousel-height);
    border-width: 0 2rem 2rem 2rem;
  }

  .logo {
    height: 6rem;
    width: 24.2rem;
    left: 2rem;
  }

  .logo a {
    width: 6rem;
  }

  .logo span {
    width: 18.2rem;
  }

  .contact-us__btn {
    right: 7rem;
  }

  #carousel span#dots {
    bottom: 4rem;
  }

  #carousel span#next,
  #carousel span#prev,
  .slick-next,
  .slick-prev {
    width: 2.5rem;
    height: 6.4rem;
  }

  #carousel span#down {
    height: 2.5rem;
    width: 6.4rem;
  }

  #carousel span#next {
    right: 3rem;
  }

  #carousel span#prev {
    left: 3rem;
  }

  .slick-prev {
    left: -3rem;
  }

  .slick-next {
    right: -3rem;
  }

  #base-nav {
    padding: 0.5rem 3rem 0.5rem 3rem;
  }

  /*-------------------------------------footer 768---------------------------------------------*/

  footer > div {
    padding-block: 2rem;
  }

  /* ---------------------------------slide templates 768 ------------------------------------*/

  #carousel .container {
    width: calc(100% - 15rem);
    left: 7.5rem;
    right: 7.5rem;
    top: 5rem;
    bottom: 5rem;
  }

  #carousel .top {
    position: absolute;
    top: 0;
  }

  #carousel .center {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #carousel .bottom {
    position: absolute;
    bottom: 0;
  }

  #carousel .right {
    position: absolute;
    right: 0;
    width: auto;
  }

  #carousel .left {
    position: absolute;
    left: 0;
    width: auto;
  }

  #carousel .slight-left {
    position: absolute;
    left: 10%;
    width: auto;
    max-width: 80%;
  }

  #carousel .full {
    width: 100%;
  }

  #carousel .statement p {
    font-size: 2rem;
    text-align: justify;
    color: var(--highlight-color);
    width: 80%;
    margin: 0 auto;
    display: block;
    -ms-text-align-last: center;
    -webkit-text-align-last: center;
    text-align-last: center;
    max-width: 80rem;
  }

  #carousel .video {
    padding: 0;
  }

  #carousel .expertise-holder .center {
    width: 100%;
    height: 100%;
    top: 0;
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  #carousel .intro {
    width: 40%;
    margin-bottom: 2rem;
    padding: 3rem 1rem 3rem 1rem;
    position: absolute;
    left: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #carousel .bullet-holder {
    padding: 3rem 1rem 3rem 1rem;
    margin: 0 0 0 0;
    width: 40%;
    right: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
  }

  /*--------------------------------------youtube fluid 768----------------------------------- */

  #carousel .video-holder {
    width: 100%;
    display: block;
    margin: 0 0 0 0;
  }

  #carousel .video-text-holder {
    display: block;
    width: 100%;
    padding: 3rem 1rem 2rem 1rem;
    margin: 0 0 0 0;
  }

  #carousel .video-text-holder p {
    padding-left: 0 !important;
  }

  #carousel h2.video-title {
    font-size: 2rem;
  }

  #carousel .messages-holder {
    max-height: calc(100% - 4rem);
    overflow-y: auto;
  }

  #carousel .black-box {
    width: 100% !important;
    height: auto;
    display: block;
    margin: 0 0 2rem 0;
    color: #fff;
    padding: 3rem 1rem 2rem 1rem;
  }

  #carousel .black-box p {
    font-size: 1.8rem !important;
  }

  #carousel .spacer {
    display: none;
  }

  #carousel .orange-box {
    min-width: 100% !important;
    height: auto;
    display: block;
    padding: 3rem 1rem 2rem 1rem;
  }

  #carousel .orange-box p {
    font-size: 1.8rem !important;
    color: #fff;
  }

  #carousel a.email {
    font-size: 1.6rem !important;
  }

  /*------------------------------------- home page 768 ---------------------------------------*/

  body#home #carousel {
    height: var(--carousel-height);
  }

  body#home .ten24 {
    width: calc(100% - 40px);
    padding: 0 20px;
    margin: 50px auto;
  }

  body#home .para-inner h2 {
    margin-top: 125px;
  }

  body#home .para-inner h2,
  .para-inner p {
    width: calc(100% - 40px);
    padding: 0 20px;
  }

  body#home .para-inner p {
    font-size: 21px;
  }

  body#home section.media-grid {
    padding: 0 0 0 2rem;
  }

  body#home section.media-grid div.grid-sizer {
    width: 50%;
  }

  body#home section.media-grid article.grid-item {
    margin: 0 2rem 2rem 0;
    width: calc(50% - 3rem);
  }

  /*-------------------------------- project landing page 768--------------------------------- */

  section#projects-holder div.grid-sizer {
    width: 50%;
  }

  section#projects-holder article.grid-item {
    margin: 0 2rem 2rem 0;
    width: calc(50% - 3rem);
  }

  /*------------------------- projects details page 768--------------------------------------- */

  body#project-details div.grid {
    padding: 2rem 2rem 2rem 2rem;
    grid-gap: 2rem;
  }

  body#project-details #project-slides .proportional {
    padding-bottom: 62.5%;
  }

  body#project-details section.media-grid {
    padding: 2rem 0 0 2rem;
    width: 100% !important;
    background-color: #fff;
  }

  body#project-details section.media-grid div.grid-sizer {
    width: 50%;
  }

  body#project-details section.media-grid article.grid-item {
    margin: 0 2rem 2rem 0;
    width: calc(50% - 3rem);
  }

  section.related-projects {
    padding: 0 1rem 2rem 1rem;
  }

  section.related-projects > h3 {
    font-size: 2.2rem;
  }

  section.related-projects article {
    width: calc(20% - 2.3rem);
    margin: 0 1rem 0 1rem;
  }

  section.related-projects article .media-info .text h4 {
    font-size: 2rem;
  }

  section.related-projects article .media-info .text p {
    font-size: 1.2rem;
  }

  nav.project-nav {
    padding: 0 1rem 2rem 1rem;
  }

  nav.project-nav ul li {
    width: calc(33.33333% - 2.3rem);
  }

  nav.project-nav ul li {
    margin: 0 1rem 0 1rem;
  }

  /*-------------------------------------- contact page 768----------------------------------- */

  body#contact .address-holder,
  body#contact .contact-form-holder {
    padding: 1.8rem 0 0 0;
    margin: 0 0 2rem 0;
    display: inline-block;
    width: 100%;
  }

  body#contact div.social {
    padding: 0 0 0 0;
    margin: 0 0 2rem 0;
  }

  .submit-grid {
    grid-template-columns: 1fr 15rem;
  }

  /*-------------------------------------- privacy policy page 768----------------------------------- */

  /*-------------------------------------- terms and conditions page 768----------------------------------- */
}

@media only screen and (min-width: 1024px) {
  #carousel {
    height: var(--carousel-height);
    border-width: 0 2rem 2rem 2rem;
  }

  .logo {
    height: 8rem;
    width: 34.4rem;
    left: 2rem;
  }

  .logo a {
    width: 8rem;
  }

  .logo span {
    width: 24.3rem;
  }

  .contact-us__btn,
  .home__logo,
  .projects_link {
    display: block;
  }

  #contents {
    padding: 0;
    height: 100%;
  }

  #carousel span#next {
    right: 4rem;
  }

  #carousel span#prev {
    left: 4rem;
  }

  /* --------------------------------------slide templates 1024 --------------------------------*/

  #carousel .right {
    width: auto;
  }

  #carousel .left {
    width: auto;
  }

  #carousel .slight-left {
    position: absolute;
    left: 10%;
    width: auto;
  }

  #carousel .container {
    width: calc(100% - 20rem);
    left: 10rem;
    right: 10rem;
    top: 8rem;
    bottom: 8rem;
    height: calc(100% - 16rem);
    overflow: hidden;
  }

  #carousel .video {
    width: 100%;
    left: 0;
  }

  /*----------------------------------- youtube fluid  1024----------------------------------- */

  #carousel .video-holder {
    position: relative;
    width: 60%;
    display: inline-block;
    margin: 0 -0.5rem 0 0;
  }

  #carousel .youtube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 as percentage of 60% */
    padding-top: 0;
    height: 0;
  }

  #carousel .youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  #carousel .video-text-holder {
    display: inline-block;
    width: 40%;
    padding: 3rem 3rem 3rem 3rem;
    margin: 0 -0.5rem 0 0;
    vertical-align: top;
    box-sizing: border-box;
  }

  #carousel h2.video-title {
    font-size: 2rem;
    padding: 0 0 1rem 0;
    color: inherit;
  }

  #carousel .messages-holder {
    display: table;
    width: 80%;
    left: 10%;
  }

  #carousel .messages {
    display: table-row;
    vertical-align: top;
  }

  #carousel .black-box {
    width: 62.5% !important;
    height: 100%;
    display: table-cell;
    box-sizing: border-box;
  }

  #carousel .spacer {
    width: 2.5%;
    height: 100%;
    display: table-cell;
  }

  #carousel .orange-box {
    min-width: 25% !important;
    height: 100%;
    display: table-cell;
    box-sizing: border-box;
  }

  #carousel .statement p {
    font-size: 2.8rem;
    text-align: justify;
    color: var(--highlight-color);
    width: 60%;
    margin: 0 auto;
    display: block;
    -ms-text-align-last: center;
    -webkit-text-align-last: center;
    text-align-last: center;
    max-width: 80rem;
  }

  /*----------------------------------- home page 1024---------------------------------------- */

  body#home #carousel {
    height: var(--carousel-height);
  }

  body#home .info-text-col {
    float: left;
    width: 50%;
  }

  body#home .float-left,
  .left-contact {
    float: left;
    padding: 0 50px 20px 0;
    width: calc(50% - 50px);
  }

  body#home .float-right,
  .right-contact {
    float: right;
    padding: 0 0 20px 50px;
    width: calc(50% - 50px);
  }

  body#home section.media-grid {
    padding: 0 0 0 2rem;
  }

  body#home section.media-grid div.grid-sizer {
    width: 33.333%;
  }

  body#home section.media-grid article.grid-item {
    margin: 0 2rem 2rem 0;
    width: calc(33.333% - 3rem);
  }

  /*------------------------------- project landing page 1024--------------------------------- */

  section#projects-holder div.grid-sizer {
    width: 33.333%;
  }

  section#projects-holder article.grid-item {
    margin: 0 2rem 2rem 0;
    width: calc(33.333% - 3rem);
  }

  /*------------------------------- projects details 1024------------------------------------ */

  body#project-details #project-slides {
    height: 100%;
  }

  body#project-details #project-slides .proportional {
    padding: 0 0 62.5% 0;
    width: 100%;
    height: 100%;
  }

  body#project-details div.grid {
    padding: 2rem 2rem 2rem 2rem;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
  }

  body#project-details div.grid main {
    grid-column: 1/3;
    grid-row: 1;
  }

  body#project-details div.grid aside {
    grid-column: 3/4;
    grid-row: 1;
  }

  body#project-details section.media-grid {
    padding: 2rem 0 0 2rem;
  }

  body#project-details section.media-grid div.grid-sizer {
    width: 33.333%;
  }

  body#project-details section.media-grid article.grid-item {
    margin: 0 2rem 2rem 0;
    width: calc(33.333% - 3rem);
  }

  section.related-projects > h3 {
    font-size: 3rem;
  }

  /*------------------------------------- contact page 1024------------------------------------- */

  #map-holder {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  body#contact .address-holder,
  body#contact .contact-form-holder {
    padding: 1.8rem 0 0 0;
    margin: 0 0 2rem 0;
    display: block;
    width: 100%;
  }

  /*-------------------------------------- footer 1024----------------------------------- */

  footer {
    grid-auto-flow: column;
    grid-template-columns: max-content 1fr minmax(20, 1fr);
  }

  footer div.one,
  footer div.two {
    padding-right: var(--general-spacer);
    border-right: 1px solid rgba(205, 205, 205, 0.5);
  }

  footer div.three {
    text-align: right;
    margin-left: auto;
    padding-left: var(--general-spacer);
    align-items: start;
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }

  .uni-logo {
    width: 20rem;
    height: auto;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1440px) {
  #carousel {
    height: var(--carousel-height);
    border-width: 0 3rem 3rem 3rem;
  }

  .logo {
    height: 10rem;
    width: 43rem;
    left: 3rem;
  }

  .logo a {
    width: 10rem;
  }

  .logo span {
    width: 33rem;
  }

  .contact-us__btn {
    right: 8rem;
  }

  /* --------------------------------------footer 1440 --------------------------------*/

  /*------------------------------------- home page 1440 ---------------------------------------*/

  body#home #carousel {
    height: var(--carousel-height);
    border-width: 0 3rem 3rem 3rem;
  }

  body#home .ten24 {
    position: relative;
    width: 75%;
    margin: 74px auto;
    text-align: left;
  }

  body#home .absolute {
    position: absolute;
    width: 75%;
    text-align: left;
    left: 12.5%;
    top: 50%;
  }

  body#home .absolute p {
    text-shadow: 1px 1px 2px black;
  }

  body#home .para-inner h2,
  .para-inner p {
    width: 100%;
    padding: 0;
  }

  body#home .para-inner p {
    font-size: 36px;
  }

  body#home .float-left,
  .float-right {
    max-width: 500px;
  }

  body#home section.media-grid {
    padding: 0 0 0 3rem;
  }

  body#home section.media-grid div.grid-sizer {
    width: 33.333%;
  }

  body#home section.media-grid article.grid-item {
    margin: 0 3rem 3rem 0;
    width: calc(33.33% - 4rem);
  }

  /*------------------------------- project landing page 1440--------------------------------- */

  section#projects-holder div.grid-sizer {
    width: 33.333%;
  }

  section#projects-holder article.grid-item {
    margin: 0 3rem 3rem 0;
    width: calc(33.333% - 4rem);
  }

  /*------------------------------------ projects details page 1440--------------------------------- */

  body#project-details div.grid {
    padding: 3rem 3rem 3rem 3rem;
    grid-gap: 3rem;
  }

  body#project-details section.media-grid {
    padding: 0 0 0 3rem;
  }

  body#project-details section.media-grid div.grid-sizer {
    width: 33.333%;
  }

  body#project-details section.media-grid article.grid-item {
    margin: 0 3rem 3rem 0;
    width: calc(33.33% - 4rem);
  }

  section.related-projects {
    padding: 0 1.5rem 3rem 1.5rem;
  }

  section.related-projects article {
    width: calc(20% - 3.3rem);
    margin: 0 1.5rem 0 1.5rem;
  }

  nav.project-nav {
    padding: 0 1.5rem 3rem 1.5rem;
  }

  nav.project-nav ul li {
    width: calc(33.33333% - 3.3rem);
  }

  nav.project-nav ul li {
    margin: 0 1.5rem 0 1.5rem;
  }

  /*------------------------------------- contact page 1440------------------------------------- */

  body#contact .address-holder,
  body#contact .contact-form-holder {
    padding: 1.8rem 0 0 0;
    margin: 0 0 3rem 0;
  }

  body#contact div.social {
    padding: 0 0 0 0;
    margin: 0 0 3rem 0;
  }

  /*-------------------------------------- privacy policy page 1440----------------------------------- */

  /*-------------------------------------- terms and conditions page 1440----------------------------------- */
}

@media only screen and (min-width: 1845px) {
  /* --------------------------------------slide templates 1845 --------------------------------*/

  #carousel .right {
    max-width: 60%;
  }

  #carousel .left {
    max-width: 60%;
  }

  #carousel .slight-left {
    max-width: 60%;
  }

  #carousel .payments {
    max-width: 60rem;
  }
}
