.header {
  /* @media only screen and (max-width: 480px) {
    height: 140px;
  } */
}
.header.hasnavigation {
  background-color: #023f67;
  grid-template-areas: "logo content content" "logo aside aside" "navigation navigation navigation";
  grid-template-rows: 1fr auto;
}
.header__logo {
  padding-right: 30px !important;
  padding-left: 30px !important;
}
@media only screen and (max-width: 768px) {
  .header__logo img {
    height: 60px !important;
  }
}
.header__navigation {
  position: absolute;
  justify-content: flex-start;
  width: 100%;
  height: 60px;
}
.header__navigation::before {
  position: absolute;
  width: 100%;
  height: 80px;
  content: "";
  opacity: 0.9;
  background-image: url(//cache.cms.io/2019.flexphysiotherapy.com.au/upload/template/custom/flex-torn-top-002.svg);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}
.header__navigation .depth-0 {
  padding-left: 2vw;
}
.header__navigation .depth-0 li:not(:first-child)::before {
  content: "|";
  color: #023f67;
  font-size: 1.4rem;
  font-weight: 700;
}
.header__content {
  /* display: grid; */
  /* grid-template-areas: '. book location1 location2 info .'; */
  /* grid-template-columns: auto min-content min-content min-content 220px 30px; */
  display: flex;
  justify-content: flex-end;
  -moz-column-gap: 40px;
       column-gap: 40px;
  align-items: center;
  padding-right: 20px;
}
.header__content .header__book a[href="https://flex.physio/cancellation-policy"] {
  color: white;
  background-color: transparent;
}
.header__content .header__info {
  flex: 1 1 auto;
}
@media only screen and (max-width: 1024px) {
  .header__content {
    grid-template-columns: auto;
    -moz-column-gap: 2vw;
         column-gap: 2vw;
    row-gap: 0;
  }
}
@media only screen and (max-width: 768px) {
  .header__content {
    /* display: grid;
    grid-template-areas: '. location1' '. location2' '. book';
    grid-template-columns: auto auto min-content;
    row-gap: 3px; */
    /* .header__book:has(a.button) {
      position: fixed;
      top: 1rem;
      left: 1rem;
      z-index: 99999;
    } */
  }
}
.header__book {
  grid-area: book;
  align-self: center;
  padding-bottom: 1px;
}
.header__book a {
  white-space: nowrap;
  color: #023f67;
  background-color: #8fd6ee;
  border: none;
}
.header__book a::after {
  color: inherit;
}
.header__location1 {
  grid-area: location1;
}
.header__location2 {
  grid-area: location2;
}
.header__location strong {
  display: block;
  color: #8fd6ee;
  font-size: 11.2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.header__location a {
  white-space: nowrap;
  text-decoration: none;
  color: #ffffff;
}
.header__location a[href*="tel:"] {
  font-size: 17.6px;
}
.header__location a[href*="mailto:"] {
  font-size: 14.4px;
}
.header__location a[href*="mailto:"]::before {
  content: "";
  display: inline-block;
  margin-right: 5.3333333333px;
  width: 19.2px;
  height: 19.2px;
  background: url(//cache.cms.io/2019.flexphysiotherapy.com.au/upload/assets/header-content/paper-plane-01.svg) no-repeat;
  background-size: contain;
  vertical-align: middle;
}
@media only screen and (max-width: 310px) {
  .header__location a[href*="mailto:"]::before {
    display: none;
  }
}
.header__info {
  grid-area: info;
  color: #ffffff;
  font-size: 14.4px;
  font-weight: 100;
  line-height: 1.3;
  max-width: 230px;
}
.header__info strong {
  display: block;
  color: #8fd6ee;
  font-size: 11.2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media only screen and (max-width: 850px) {
  .header__info {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  header.header.header--single {
    /* z-index: 999; */
    grid-template-areas: "logo" "content" "aside" "navigation";
    grid-template-columns: 100%;
  }
  header.header.header--single .header__logo img {
    width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  header.header.header--single .header__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    padding: 1rem;
    padding-top: 0;
  }
  header.header.header--single .header__content > * {
    grid-area: unset;
  }
}
.section--single.masonry .container {
  margin: 1vw 0;
  grid-gap: 1vw;
}
.section--single.masonry + .section--single.masonry .container {
  margin-top: 0;
}

.feature-soc ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.feature-soc li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 33px;
}
.feature-soc li img {
  position: absolute;
  top: 5px;
  left: 0;
  margin: 0 !important;
}

.richslides .section .container,
.main > .section:first-child .container {
  min-height: calc(100% - 100px) !important;
  padding-top: 100px !important;
}

.richslides h1,
.richslides h2,
.richslides h3,
.richslides h4,
.richslides h5,
.richslides h6,
.richslides p {
  text-shadow: 0 0 8px #404040;
}
.richslides .content {
  /* Prevent content overlapping bullet navigation on narrower screens */
  padding-bottom: 60px !important;
}

.card-index.card-index__container {
  margin-top: 20px;
}

.grid__items--default .grid__item {
  background: #ffffff;
}
.grid__items--default .grid__date {
  font-size: 1rem;
}
.grid__items--default .grid__title {
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.2em;
}

.content hr:not(.spacer) {
  height: 2px;
  margin: 25px 0;
  border: 0;
  background: #8fd6ee;
}

.editorialimage__title {
  line-height: 1em;
}
.editorialimage__description {
  line-height: 0.9em;
}

.search {
  margin-right: 6vw;
  padding-bottom: 10px;
}

.section__footer a {
  text-decoration: none;
}
.section__footer .content {
  padding-bottom: 8vw;
}
.section__footer h4.highlight1 {
  color: #8fd6ee;
  font-weight: 600;
}
.section__footer .button {
  font-size: 0.6em;
  color: #023f67;
  background-color: #8fd6ee;
  border: none;
}

.copyright {
  position: absolute;
  bottom: 4vw;
}

.mcms {
  position: absolute;
  bottom: 4vw;
}

p.walk-in {
  border-width: 2px;
  border-style: dotted;
  border-color: #8fd6ee;
  padding: 1em;
}

a.viewmap {
  -webkit-text-decoration: underline #8fd6ee;
          text-decoration: underline #8fd6ee;
  text-decoration-line: underline;
  text-decoration-style: solid;
}

.hasfeatureimage > * {
  text-shadow: 0 0 8px #404040;
}

.featureimage::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: linear-gradient(to top, rgba(2, 63, 103, 0.8) 10%, rgba(2, 63, 103, 0) 60%);
  mix-blend-mode: multiply;
}

.background::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: linear-gradient(to top, rgba(2, 63, 103, 0.7) 8%, rgba(2, 63, 103, 0) 50%);
  mix-blend-mode: multiply;
}

.section--single.pinned-footer {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}
.section--single.pinned-footer .container .column .content {
  padding-right: 6.5rem;
}
.section--single.pinned-footer .container .column .content .button {
  margin-top: 1rem;
}
.section--single.pinned-footer > a.close {
  /* content: "\f00d"; */
  font-family: "Font Awesome 5 Pro", "FontAwesome";
  font-size: 4rem;
  line-height: 0.625;
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5em;
  cursor: pointer;
  z-index: 2;
}

