/* Build for mobile first and adjust for desktop - it is much easier than going the other way */

/* colors */
:root {
  --clr-black: #000000;
  --clr-white: #FFFFFF;
  --clr-lt-grey: #c7d0d8;
  --clr-dk-grey: #333333;
  --clr-dk-blue: #04334d;
  --clr-lt-blue: #75a0b8;

  --clr-yellow: #F7C260;
  --clr-lt-grey-alpha90: #c7d0d8E5;
  --clr-dk-grey-alpha90: #333333E5;
  --clr-lt-blue-alpha90: #75a0b8E5;
  --clr-dk-blue-alpha90: #04334dE5;

  --clr-md-grey: #7A7A7A;
  --clr-green: #99AC80;
  --clr-purple: #6D5887;
  --clr-red: #901D3B;
  --clr-brown: #752502;

  --clr-dark-navy: #04334d;
/*  --clr-soft-blue: #8099ac; */
  --clr-soft-blue: #597388;
  --clr-cloud: #F0F0F0;
  --clr-charcoal: #353535;
  --clr-dark-navy-alpha90: #04334dE5;
  --clr-dark-navy-A5: #04334dA5;
  --clr-cloud-alpha90: #F0F0F0E5;


  --gapbar: 2rem;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* some defaults */

body {
	line-height: 1.5;
}

strong {
  font-family: 'libre_franklinbold';
}

h4 {
  font-family: 'libre_franklinsemibold';
}

* + h2 {
  margin-top: 3rem;
}
* + h3 {
  margin-top: 2rem;
}

* + h4 {
  margin-top: 1rem;
}

h2 + hr {
  background-color: var(--clr-dark-navy);
}

section p:last-child {
  margin-bottom: 1rem;
}

main ol,
main ul {
  padding: 0;
  margin: 1rem 0 2rem 1rem;
}
main ol li,
main ul li {
  margin: 0;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
  font-family: 'libre_franklinregular', sans-serif;
}

a {
  color: var(--clr-dark-navy);
  text-decoration: none;
}

nav i:hover,
nav ul li:hover,
nav ul li a:hover,
a:hover {
  cursor: pointer;
  color: var(--clr-soft-blue);
}

/* Header on Mobile */

header {
  display:grid;
  grid-template-columns: repeat(3 , 1fr);
  background-color: var(--clr-white);
  align-items: end;
}

header div {
  margin: 0;
  padding: 1em 0;
  text-align: center;
  grid-column: 1 / 4;
}

header div#logo img {
  margin: 0 auto;
  display: block;
  height: 100%;
  max-width: 332px;
}
header div#logo img.mobile_only + img {
  display: none;
}

row#row__header__feature {
  background-color: var(--clr-cloud);
  display: block;
  margin: 0;
  padding: 0;
}
row#row__header__feature div#header__feature {
  text-align: right;
  width: min(96ch, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

row#row__header__feature div#header__feature a {
  display: inline-block;
  font-weight: 700;
  font-family: 'libre_franklinbold', sans-serif;
  padding: 0 .25rem;
  margin: .5rem 0;
  color: var(--clr-black);
}

row#row__header__feature div#header__feature a#header__feature__mychart span {
  padding: .5rem .75rem;
  background-color: var(--clr-soft-blue);
  border-radius: .25rem;
  color: var(--clr-white);
}
row#row__header__feature  div#header__feature a#header__feature__mychart:hover span {
  background-color: var(--clr-dark-navy);
}
row#row__header__feature div#header__feature a:nth-of-type(2) {
  padding-left: 1rem;
}

row.row__twoColumns a.button,
a.button span:not(.sr-only) {
  font-weight: 700;
  font-family: libre_franklinbold;
  background-color: var(--clr-soft-blue);
  padding: .5rem 1rem;
  border-radius: .5rem;
  color: var(--clr-white);
  break-before: always;
  vertical-align: top;
  display: inline-block;
}

row.row__twoColumns a.button {
  display: inline-flex; 
}

row.row__twoColumns a.button:hover,
a.button:hover span {
  background-color: var(--clr-dark-navy);
}

a.button:before {
  content: "\A";
  white-space: pre;
}

row#row__header__feature  div#header__feature i {
  border-radius: 100%;
  background-color: var(--clr-black);
  color: var(--clr-white);
  padding: .3rem;
}
row#row__header__feature  div#header__feature a:hover {
  color: var(--clr-dark-navy);
}
row#row__header__feature  div#header__feature a:hover i {
  background-color: var(--clr-dark-navy);
}

/* Navigation on Mobile */

nav {
  background-color: var(--clr-dark-navy);
  font-size: 1.2rem;
  line-height: 1.2rem;
  padding: .25em;
  font-weight: 700;
  grid-column: 1 / 4;
}
nav i {
  vertical-align: top;
  color: var(--clr-white);
  padding: .25em;
  font-size: 1.5em;
}
nav a {
  color: var(--clr-white);
  width: 100%;
}

nav ul {
  text-align: left;
  display: inline-block;
  padding: .5em 0;
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
  width: min(66%, 30ch);
  background-color: var(--clr-dk-grey-alpha90);
  transition: all .5s;
  font-size: 1.5rem;
  line-height: 2em;
  backdrop-filter: blur(.5rem);
  -ms-overflow-style: none;
  scrollbar-width: none;
  z-index: 10000;
}

nav ul::--webkit-scrollbar {
  display: none;
}

nav.hidden ul {
  width: 0px;
  left: -100%;
}

nav ul:before,
nav ul li ul:before {
  content: "Menu";
  display: block;
  width: calc(100% - 1rem);
  background-color: var(--clr-charcoal);
  color: var(--clr-md-grey);
  border-bottom: 1px solid var(--clr-black);
  text-align: center;
  padding: .5rem;
}

nav ul li ul:before {
  content: "< Back";
  text-align: left;
  padding-left: 1em;
  width: calc(100% - 1.5em) !important;
}

nav ul li {
  padding: .25rem 1em;
  cursor: pointer;
  width: calc(100% - 2em);
  transition: width 0s;
  background-color: var(--clr-charcoal);
  border-bottom: 1px solid var(--clr-black);
  transition: unset;
}

nav ul li ul {
  transition: unset;
}

nav ul li > ul {
  transition: width 0s;
  position: absolute;
  top: 0;
  left: -100%;
  height: 100vh;
  width: 100%;
  transition: .5s all;
} 

nav li.clickon ul {
  width: 100%;
  left: 0;
}

nav ul li a {
  display: block;
  width: 100%;
}

row.freeform section {
  display: block;
  width: min(calc(100% - 2em), 96ch);
  margin: 0 auto;
  padding: 0 1em;
}

p {
  margin-top: 1rem;
}

row.freeform section img {
  max-width: 100%;
}

row {
  display: block
}
row section {
  width: min(96ch, calc(100% - 2rem));
  margin: 0 auto;
}

row.row__fogfeature {
  background-size: cover;
  background-blend-mode: darken;
  background-position: 50%;
  text-align: center;
  color: var(--clr-white);
}

row.row__fogfeature section {
  padding: 4rem 0;
  width: min(96ch, calc(100% - 2rem));
}
row.row__fogfeature section h2 {
  color: var(--clr-white);
}
row.row__fogfeature section hr {
  background-color: var(--clr-white);
  margin: 1rem auto 2rem auto;
}
row.row__fogfeature section p {
  margin: 1rem auto;
}
row.row__fogfeature a {
  color: var(--clr-white);
  font-family: libre_franklinbold;
}
row.hero section.hero__slider ul li a span {
  padding: .5rem 2rem;
  margin-bottom: unset;
}

row.hero {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: 50% 0%;
  overflow:hidden;
  width: 100%;
}

row.hero section {
  width: 100%;
  display: block;
  margin: 0 auto;
  grid-row-start: 2;
  background: var(--clr-cloud-alpha90);
  position: absolute;
  bottom: 4rem;
  left: 0;
  color: var(--clr-dark-navy);
}

row.hero section p {
  margin: 0;
}

section.hero__slider {
  background: unset !important;
}

section.hero__slider h2 {
  margin-top: 0;
}
row.hero section div {
  width: min(96ch, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1em;
  display: block;
}

row.hero section div h1 {
  padding: 0;
  font-size: 2rem;
}

/* Hero row slider */

row.hero section.hero__slider {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
  aspect-ratio: inherit;
}

row.hero section.hero__slider section.hero__slider__arrows {
  position: relative;
  top: -80%;
}

row.hero section.hero__slider section.hero__slider__arrows i {
  z-index: 9999;
  position: absolute;
  bottom: 0rem;
  left: .5em;
  font-size: 2em;
  border-radius: 100%;
  background-color: var(--clr-cloud-alpha90);
  color: var(--clr-white);
  display: grid;
  align-items: center;
  text-align: center;
  width: 1.25em;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

row.hero section.hero__slider section.hero__slider__arrows i:hover {
  background-color: var(--clr-dk-blue-alpha90);
}

row.hero section.hero__slider section.hero__slider__arrows i:nth-of-type(1) {
  left: 1em;
}
row.hero section.hero__slider section.hero__slider__arrows i:nth-of-type(2) {
  left: calc(100% - 2.5em);
}

row.hero section.hero__slider ul{
  position: relative;
  height: inherit;
  aspect-ratio: inherit;
  padding: 0;
  margin: 0;
}

row.hero section.hero__slider ul.hero__bullets {
  aspect-ratio: unset;
  display:none;
  margin: 0;
}

row.hero section.hero__slider ul li {
  background-size: cover;
  background-position: 50% 0%;
}

row.hero section.hero__slider ul li {
  display: inline-block;
  position: absolute;
  right: -100%;
  top: 0;
  overflow:hidden;
  width: 100%;
  height: inherit;
  display: grid;
  align-items: end;
  aspect-ratio: inherit;
  transition: .5s all;
  transition-delay: 1s;
}

row.hero section.hero__slider ul li span {
  display: block;
  text-align: center;
  padding: .5rem 2rem;
  color: var(--clr-dark-navy);
  background-color: var(--clr-cloud-alpha90);
}

h1 {
  font-family: libre_franklinbold;
}

h2 {
  font-family: libre_franklinbold;
  font-size: 1.5rem;
  color: var(--clr-dark-navy);
}

h3 {
  font-size: 1.3rem;
  font-family: libre_franklinbold;
}

h2,h3,h4,h5,h6 {
  margin-top: 1em;
}

row.hero section.hero__slider ul li span a.button span:not(.sr-only) {
  color: var(--clr-white);
  background-color: var(--clr-soft-blue);
  display: inline-block;
  margin: -.25rem 0 1rem 0;
}
row.hero section.hero__slider ul li span a.button:hover span {
  background-color: var(--clr-dark-navy);
}

row.hero section.hero__slider ul li.visible {
  right: 0;
  z-index:9998;
  transition-delay: 0s;
}

row.featured__cards {
  display: block;
  text-align center;
  color: var(--clr-black);
}

row.featured__cards div {
  display: block;
  padding: 1rem 1rem;
  text-align: center;
}

row.featured__cards div i {
  font-size: 3.5rem;
  color: var(--clr-dark-navy);
  display: grid;
  width: 4rem;
  align-items: middle;
  aspect-ratio: 1 / 1;
  margin: 1rem auto;
}

row.featured__cards div a {
  background-color: var(--clr-dark-navy);
  color: var(--clr-white);
  padding: .5rem .75em;
  font-weight: 700;
  font-family: libre_franklinbold, sans-serif;
  font-size: 1.25rem;
  border-radius: .25rem;
  margin-top: 1.1em;
  display: inline-block;
  transition: ease .25s;
}

row.featured__cards div a:hover {
  transform: scale(1.2);
}

row#home__latest_news {
  display: block;
  padding: 0;
}

row#home__latest_news h3 + p{
  margin-bottom: .5rem;
}

row#home__latest_news a.button span:not(.sr-only) {
  margin-bottom: 2rem;
}

footer {
  background-color: var(--clr-cloud);
  color: var(--clr-black);
  overflow: hidden;
}


footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer__phone:before,
footer address:before  {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  float: left;
  position: relative;
  margin-right: -1.3rem;
  left: -1.5rem;
  font-size: 1.3rem;
}
#footer__phone:before {
  content: '\f095';
}
footer a#footer__phone,
footer address {
  display: block;
  margin: 1rem 0;
  position: relative;
  left: 1.5rem;
}
footer address:before  {
  content: '\f3c5';
}

footer a {
  color: var(--clr-black);
}

footer img {
  display: block;
  margin: 1rem auto;
  max-width: 66%;

}

footer section {
  width: min(96ch, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
}

footer section:nth-of-type(2) {
  text-align: center;
  color: var(--clr-white);
  background-color: var(--clr-dark-navy);
  padding: 1rem 0;
  width: unset;
}

footer ul#footer__socialmedia {
  margin: 1rem 0 0 0;
  font-size: 2rem;
  display: block;
}
footer ul#footer__socialmedia li {
  display: inline-block;
  padding: 0 1rem 0 0;
}

footer ul#footer__quicklinks {
  line-height: 2rem;
}
row.wave {
  --height: 5rem;
  position: relative;
  bottom: var(--height);
  width: 100%;
  height: 0;
  margin-bottom: -8rem;
  background-color: transparent;
  background-size: cover;
  background-attachment: fixed;
  z-index: 9998;
  padding: 0;
  margin: 0;
  display: block;
}

row.wave svg {
  position: relative;
  bottom: 0;
  opacity: .5;
}

row.wave svg:nth-child(2) {
  bottom: var(--height);
  opacity: .7;
}

row.wave svg:nth-child(3) {
  bottom: calc(2 * var(--height));
  opacity: 1;
}

ul.styled li {
  margin: .5em 0 .5em 3em;
  list-style:none;
}

ul.styled__checked li:before,
ol.styled__checked li:before {
  content: "";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  display: block;
    border-radius: 100%;
    color: var(--clr-white);
    background-color: var(--clr-soft-blue);
    text-align: center;
    font-size: 1em;
    position: relative;
  margin-right: -1.5em;
  left: -2.5em;
  aspect-ratio: 1 / 1;
  float: left;
  width: 1.5em;
}

ul#phone_directory span {
  display: inline-block;
}

ul#phone_directory li {
  display: flex;
}
ul#phone_directory span:nth-of-type(1),
ul#phone_directory a {
  white-space: nowrap;
  margin-right: .5rem;
}
ul#phone_directory a {
  white-space: nowrap;
  margin-left: .5rem;
}

ul#phone_directory span:nth-of-type(2) {
  border-bottom: 1px dotted var(--clr-black);
  width: 100%;
  margin: 0 auto;
  height: 1em;
}


hr {
  border: 0;
  background-color: var(--clr-dark-navy);
  width: 6ch;
  height: 2px;
  padding: 0;
  margin: 0 0 1rem 0; 
}
row.row__flipcards {
  margin-bottom: 1rem;
}

row.row__flipcards section {
  display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  grid-gap: 1rem;
  width: min(96ch, 100% - 2rem);
  margin: 0 auto;
  position: relative;
}
row.row__flipcards section div.card__content {
  flex: 0 0 18ch;
  display: inline-block;
  --aspect-ratio: 1 / 1.5;
  aspect-ratio: var(--aspect-ratio);
  background-color: var(--clr-dark-navy);
  color: var(--clr-white);
  text-align: center;
  display: grid;
  align-items: center;
  position: relative;
  transition: 750ms transform ease-in-out;
  margin: 0 auto;
  transform-style: preserve-3d;
}

row.row__flipcards section div.card__content:focus,
row.row__flipcards section div.card__content:hover {
  transform:rotateY(.5turn);
  transition-delay: 150ms;
}


row.row__flipcards section div.card__content {
  --border-radius: 1rem;
  border-radius: var(--border-radius);
}
row.row__flipcards section div.card__content div {
  position: absolute;
  width: 100%;
  aspect-ratio: var(--aspect-ratio);
  display: grid;
  align-items: center;
  backface-visibility: hidden;
  border-radius: var(--border-radius);
  transform-style: preserve-3d;
}


row.row__flipcards section > div div.card__front {
  background-image: url(/assets/img/foundation/top.jpg), linear-gradient(var(--clr-dark-navy), var(--clr-dark-navy));
  background-size: cover;
  font-weight: 700;
  font-size: 1.2em;
  text-shadow:
    3px 3px 3px var(--clr-black);
}


row.row__flipcards section > div div.card__back {
  background-color: var(--clr-dark-navy);
  transform: rotateY(180deg);
}

div.card__back p,
div.card__front p {
  transform: translateZ(50px);
  margin: 1rem;
}

.card__back::before {
  content: '';
  position: absolute;
  --spacer: .375em;
  top: var(--spacer);
  bottom: var(--spacer);
  left: var(--spacer);
  right: var(--spacer);
  border: 2px solid var(--clr-cloud);
  border-radius: .75rem;
  transform: translateZ(40px);
}


row.row__twoColumns section {
  margin-bottom: 1rem;
}

row.row__youtubeVideo section iframe {
  width: 100%;
  margin: 1rem 0;
}

row.carousel section {
  --height: 200px;
  position: relative;
  aspect-ratio: 22 / 9;
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: calc(var(--height) + 2rem);
  height: calc(var(--height) + 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

row.carousel section img {
  position: absolute;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 0 1rem 0 var(--clr-dk-grey-alpha90);
}

row.carousel section img:nth-child(n+6) {
  display:none;
}

row.carousel section img[data-carousel-index="1"] {
  z-index: 100;
  display:unset;
}

row.carousel section img[data-carousel-index="2"] {
  left: 17.5%;
  transform: scale(85%);
  z-index: 50;
  display:unset;
}

row.carousel section img[data-carousel-index="3"] {
  left: 40%;
  transform: scale(60%);
  z-index: 0;
  display:unset;
}

row.carousel section img[data-carousel-index="5"] {
  left: -17.5%;
  transform: scale(85%);
  z-index: 1;
  display:unset;
}

row.carousel section img[data-carousel-index="4"] {
  left: -40%;
  transform: scale(60%);
  z-index: 0;
  display:unset;
}

div#teamMembers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

div.providersTeam#teamMembers {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

div#teamMembers div {
  text-align: center;
}

div#teamMembers img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  width: 80%;
  object-position: top;
  margin: 1rem auto;
}


div.providersTeam#teamMembers > div {
  background-color: var(--clr-cloud);
  padding: 0 1rem 1rem 1rem;
  text-align: left;
}

div.providersTeam#teamMembers img {
  width: calc(100% + 2rem);
  margin: 0 0 1rem 0;
  aspect-ratio: 2 / 3;
  border-radius: 0;
  position: relative;
  left: -1rem;
}

#teamMember > img {
  aspect-ratio: 5 / 7;
  display: block;
  object-fit: cover;
  width: calc(100% - 2rem);
  margin: 1rem auto;
  object-position: top;
}

#teamMember > div ul {
  list-style: unset;
  margin-left: 1rem;
}

#teamMember {
  --img: calc(96ch / 3);
  display: grid;
  grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
  section#teamMember > div {
    grid-row-start: 2;
  }

  section#teamMember > img {
    grid-row-start: 1;
  }
}

row.timeline {
  padding: 1rem 0;
  text-align: center;
  background-color: var(--clr-lt-grey);
}

row.timeline section,
row.row__imgScroller section div.imgScroller {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 1rem;
}

row.timeline img,
row.row__imgScroller.portrait section div.imgScroller img {
  aspect-ratio: 2 / 3;
}

row.timeline img {
  inline-size: calc(100% - 2rem);
  margin: 2rem auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .5rem;
}
row.timeline section,
row.row__imgScroller section div.imgScroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max(32ch, 15%);
  grid-gap: 1rem;
}

row.timeline section {
  width: 100%;
  padding: 0;
  grid-gap: 0;
}

row.timeline section > div div {
  display: grid;
  grid-template-rows: auto 3rem 0;
}

row.timeline section > div:nth-child(even) div {
  border-bottom: 1px solid var(--clr-white);
}
row.timeline section > div:nth-child(odd) div {
  grid-template-rows: 0 4rem auto;
  border-top: 1px solid var(--clr-white);
  position: relative;
  top: -1px;
}


row.timeline section > div:nth-child(odd) div span.event,
row.timeline section > div:nth-child(even) div span.date {
  margin-bottom: 2rem;
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

row.timeline section > div:nth-child(even) div span.event,
row.timeline section > div:nth-child(odd) div span.date {
  margin-bottom: 2rem;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  padding-bottom: 1rem;
  z-index: 1;
  position: relative;
}

row.timeline section > div:nth-child(odd) div span.date {
  margin-top: 2rem;
}
row.timeline section > div:nth-child(odd) div span.event {
  margin-top: 1rem;
}
row.timeline section > div {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
}

row.timeline span {
  padding: 1rem;
  background-color: var(--clr-white);
  width: calc(100% - 4rem);
  margin-inline: auto;
  display: block;
  block-size: fit-content;
}
row.timeline span.date {
  font-family: 'libre_franklinbold';
}

row.timeline section > div:nth-child(odd) div,
row.timeline section > div:nth-child(even) div span.date {
  grid-row-start: 2;
}

row.timeline section > div:nth-child(even) div::after,
row.timeline section > div:nth-child(odd) div::before {
  content: "\f111";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--clr-dk-blue);
  -webkit-text-stroke: 2px var(--clr-white);
  position: relative;
  top: .75rem;
}

row.timeline h2::after {
  content: " ";
  width: 6ch;
  height: 2px;
  display: block;
  background-color: var(--clr-dk-blue);
  -webkit-text-stroke: 2px var(--clr-white);
  margin-top: 1rem;
  margin-inline: auto;
}

row.timeline section > div:nth-child(even):is(:last-child) div::after,
row.timeline section > div:last-child:nth-child(odd):is(:last-child) div::before {
  content: "\f04e";
}

row.timeline section > div:nth-child(odd) div::before {
  top: -.75rem;
}
row.timeline section > div:nth-child(even) div {
  align-items: end;
}
row.row__visitingSpecialists section {
  grid-gap: 1em;
  padding: 1rem;
}

row.row__visitingSpecialists section > div {
  display:grid;  
  grid-template-columns: repeat(auto-fill, minmax(25ch, 1fr));
  grid-gap: 1rem;
  display: grid;
  margin: 1rem 0;
}
row.row__visitingSpecialists section > div div {
  background-color: var(--clr-cloud);
  border-radius: .5rem;
  padding: 1rem;
}

row.row__visitingSpecialists a.button {
  display: inline-block;
}

row.row__visitingSpecialists a.button::before {
  all:unset;
}
row.row__visitingSpecialists a.button + a.button {
  margin-top:1em;
}

section#featured_news_articles {
  display: grid;
  grid-gap: 1rem;
}

section#featured_news_articles div.featured_article {
  background-color: var(--clr-cloud);
  margin-bottom: 1rem;
}

section#featured_news_articles div.featured_article img {
  width: calc(100% + 2rem);
  position: relative;
  top: -1rem;
  left: -1rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: -2rem;
}

section#featured_news_articles div.featured_article {
  padding: 1rem;
}

.post-info {
  background-color: var(--clr-cloud);
  border-radius: .5em;
  padding: 1rem;
  margin: 1rem 0;
}

.post-info .tags {
  margin-left: 1rem;
}

row.row__accordionList section > ul > li:after {
  content: "\f077";
  position: absolute;
  top: 1rem;
  right: 0;
  display: block;
  width: 3rem;
  padding: .1rem;
  aspect-ratio: 3 / 1.7;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  font-size: 1.2rem;
  font-weight: 900;
  font-family: 'Font Awesome 6 Free';
  text-align: center;
  overflow: hidden;
  background-color: var(--clr-dark-navy);
  color: var(--clr-white);
}

row.row__accordionList section > ul > li:nth-child(1):after {
  content: "\f09d";
}

row.row__accordionList section > ul > li:nth-child(2):after {
  content: "\f095";
}

row.row__accordionList section > ul > li:nth-child(3):after {
  content: "\f53d";
}

row.row__accordionList section > ul > li:nth-child(4):after {
  content: "\f653";
}

row.row__accordionList section > ul > li:nth-child(5):after {
  content: "\f570";
}

row.row__accordionList section ul > li {
  padding-top: 1.25rem;
}

row.row__accordionList section > ul > li {
  position: relative;
}

row.row__accordionList section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'libre_franklinbold', sans-serif;
}
row.row__accordionList section > ul {
  margin: 0 0 1em 0;
}

row.row__accordionList section ul li > ul {
  font-weight: 400;
  font-family: 'libre_franklinregular', sans-serif;
  background-color: var(--clr-cloud);
  border-top: 3px solid var(--clr-dark-navy);
  padding: 1rem .25rem;
  overflow:hidden;
  max-height: 1000vh;
}

row.row__accordionList section > ul > li > ul li {
  padding-right: 3.25rem;
}

row.row__accordionList section ul li > ul li {
  padding-top: 0;
}

row.row__accordionList section > ul {
  margin-top: -1rem;
}

row.newsNotificationsList section div.paging {
  display: grid;
  margin-bottom: 1rem;
}

row.newsNotificationsList section div.paging ul.pageList {
  display: grid;
  grid-auto-flow: column;
  grid-gap: .125rem;
  list-style: none;
  padding: .25rem;
  margin: 0;
  background-color: var(--clr-cloud);
  text-align: center;
  border-radius: .25rem;
}

row.newsNotificationsList section div.paging ul.pageList li a:hover {
  background-color: var(--clr-white);
}

row.newsNotificationsList section div.paging ul.pageList li a {
  padding: 1rem;
  display: block;
  background-color: var(--clr-lt-lt-grey);
  border-radius: .125rem;
}

row.newsNotificationsList section div.post {
  display: grid;
  margin-bottom: 2rem;
}

.featured__latestnews .post_readmore a,
row.newsNotificationsList section div.post div.post_readmore a,
a.button:hover span {
  background-color: var(--clr-dark-navy);
  color: var(--clr-white);
}

.featured__latestnews .post_readmore a,
row.newsNotificationsList section div.post div.post_readmore a,
a.button span:not(.sr-only) {
  font-weight: 700;
  font-family: libre_franklinbold;
  background-color: var(--clr-cloud);
  padding: .5rem;
  border-radius: .5rem;
  color: var(--clr-black);
  break-before: always;
  vertical-align: top;
  display: inline-block;
}

.featured__latestnews .post_readmore a:hover,
row.newsNotificationsList section div.post div.post_readmore a:hover,
row.hero section.hero__slider ul li span a.button:hover span {
  background-color: var(--clr-soft-blue);
  outline: 1px solid var(--clr-white);
}

row.newsNotificationsList section div.post div.post_readmore a {
  margin: 1rem auto;
}

row.newsNotificationsList section div.post div.post_readmore {
  text-align: center;
}

row.newsNotificationsList section div.post img {
  width: 100%;
}

row.featured__single a.button:hover span {
  background-color: var(--clr-white);
  color: var(--clr-dark-navy);
}
row.featured__single a.button:before, .hero a.button:before {
  content: "\A";
  white-space: pre;
}

row.featured__single {
   background-size: cover;
}
row.featured__single section {
    padding: 1rem 0;
}

row.featured__single h2:after, footer h2:after, .hero h2:after {
  all:unset;
}

row.featured__single img{
  max-width: 100%;
  margin: 0;
}

row.featured__single, row.hero {
  overflow:hidden;
  width: 100%;
}

row.featured__single span a.button span:not(.sr-only),
row.hero section.hero__slider ul li span a.button span:not(.sr-only) {
  color: var(--clr-white);
  background-color: var(--clr-dark-navy);
  display: inline-block;
  margin: -.25rem 0 1rem 0;
  outline: 1px solid var(--clr-dark-navy);
}

row.featured__single span a span, row.hero section.hero__slider ul li a span {
  padding: .5rem 2rem;
  margin-bottom: unset;
}

row.featured__single span {
  height: fit-content;
  background-color: var(--clr-cloud-alpha90);
}
row.featured__single span {
  display: block;
  text-align: center;
  padding: .5rem 2rem;
  color: var(--clr-dk-grey);
}

div.entry aside {
  margin: 1rem 0 0 0;
  padding: 1rem;
  outline: 2px solid var(--clr-cloud);
  border-radius: .25rem;
  overflow: hidden;
}
div.entry aside img {
  width: calc(100% + 2rem);
  position: relative;
  top: -1rem;
  left: -1rem;
}


div.entry aside p {
  margin-top: -.5rem;
}
div.entry aside p:last-child {
  margin-bottom: 0;
}
div.entry aside cite {
  display: block;
  color: var(--clr-dk-grey);
  font-style: italic;
  background-color: var(--clr-cloud);
  width: calc(100% + 1rem);
  position: relative;
  left: -1rem;
  bottom: -1rem;
  margin-top: -.5rem;
  padding-left: 1rem;
}

/* Adjust for Desktop */

@media (min-width: 1024px) {

  /* Header on Desktop */
  row#row__header {
    background-color: var(--clr-dark-navy);
    display: block;
    padding: 0;
  }
  header {
    width: min(96ch, calc(100% - 2rem));
    display: grid;
    margin: 0 auto;
    align-items: center;
    background-color: var(--clr-dark-navy);
  }
  row#row__header__feature {
    background-color: var(--clr-cloud);
  }
  row#row__header__feature  div#header__feature {
    grid-column: 1 / 4;
    grid-row: 1;
  }
  row#row__header__feature  div#header__feature a {
    display: inline-block;
  }

  /* Navigation on desktop */

  nav.hidden,
  nav.hidden ul,
  nav.hidden ul li,
  nav.hidden ul li ul, 
  nav.hidden ul li ul li {
    width: unset;
    left: unset;
    top: unset;
    position: unset;
    height: unset;
    width: unset;
    margin: unset;
    background-color: unset;
  }

  header div#logo {
    background-color: var(--clr-dark-navy);
    grid-column: 1 / 2;
  }

  header div#logo img.mobile_only {
    display: none;
  }
  header div#logo img.mobile_only + img {
    display: unset;
  }
  nav {
    text-align: center;
    background-color: var(--clr-dark-navy) !important;
    font-weight: 700;
    height: 3rem !important;
    grid-column: 2 / 4;
  }

  nav i#hamburger {
    display: none;
  }
  nav ul {
    padding: .25em 1em; 
    backdrop-filter: unset;
    font-size: 1.2rem !important;
  }

  nav ul:before,
  nav ul li ul:before {
    all: unset;
  }

  nav ul li {
    border: unset;
    padding: .25em 1em; 
    display: inline-block;
  }
  nav ul li ul,
  nav ul li ul li {
    padding: 0 !important;
    position: relative;
  }
  nav ul li ul li a {
    border-bottom: 1px solid #D6D8D9;
  }

  nav ul li ul,
  nav ul li ul li {
    display: none;
  }

  nav ul li.clickon ul,
  nav ul li.clickon ul li {
    display: block;
    background-color: var(--clr-cloud);
  }

  nav ul li.clickon ul {
    --width: 17ch;
    /* border-top: 3px solid var(--clr-yellow);*/
    float: left;
    position: relative;
    top: 2.85rem;
    left: var(--width);
    margin: 0 -21ch;
    width: var(--width);
    z-index: 10000 !important;
    font-weight: 700;
    cursor: default;
  }
  nav ul li:last-child ul {
    margin: 0 -23ch;
  }

  nav ul li.clickon ul li a {
    padding: .25rem .5rem;
    color: var(--clr-dark-navy);
    width: calc(100% - 1rem);
  }
  nav ul li.clickon ul li:last-child a {
    border-bottom: unset;
  }

  nav ul li.clickon ul li:hover a {
    color: var(--clr-soft-blue);
  }

  row.hero,
  row.hero section.hero__slider,
  row.hero section.hero__slider ul,
  row.hero section.hero__slider ul li {
    aspect-ratio: 20 / 9;
    margin: 0;
  }

  row.hero section.hero__slider ul li {
    grid-template-columns: repeat(2, 1fr);
  }

  row.hero section.hero__slider ul li {
    align-items: end;
    margin-right: auto;
    margin-left: 2rem;
  }

  row.hero section.hero__slider ul li span {
    width: min(75%, 40ch);
    border-radius: .5rem;
    padding: 1rem 1.3rem;
    position: relative;
  }

  row.hero section.hero__slider ul li span {
    text-align: left;
    bottom: 5em;
    margin-left: auto;
    margin-right: 2rem;
  }

  row.hero section.hero__slider ul li {
    grid-template-columns: repeat(2, 1fr);
  }
  row.hero section.hero__slider ul li span {
    width: min(60%, 40ch);
    border-radius: .5rem;
    padding: 1rem 2.7rem;
    position: relative;
  }
  row.hero section.hero__slider ul li a {
    display: unset;
    width: unset;
  }
  row.newsNotificationsList section div.post div.post_readmore a,
  row.hero section.hero__slider ul li a.button span:not(.sr-only) {
    width: unset;
    padding: .5rem 1rem;
    position: unset;
    bottom: unset;
  }
  row.hero section.hero__slider ul li a.button span:not(.sr-only) {
    width: unset;
    padding: .5rem 1rem;
    position: unset;
    bottom: unset;
  }
  
  row.hero section.hero__slider ul.hero__bullets {
    display: block;
    text-align: center;
    height: 0;

  }
  row.hero section.hero__slider ul.hero__bullets li {
    --dimension: 1.5rem;
    display:inline-block;
    width: var(--dimension);
    height: var(--dimension);
    border-radius: 100%;
    background-color: var(--clr-cloud);
    outline: 1px solid var(--clr-white);
    position: relative;
    top: -3.5rem;
    margin: .5rem;
    right: unset;
    z-index: 9999;
    transition: 0s;
    transition-delay: 0 !important;
  }
  row.hero section.hero__slider ul.hero__bullets li:hover {
    cursor: pointer;
  }

  row.hero section.hero__slider ul.hero__bullets li.selected {
    background-color: var(--clr-dark-navy);
  }

  row.hero section.hero__slider section.hero__slider__arrows {
    top: -4.75rem;
    width: min(100%, 96ch);
    margin: 0 auto;
  }

  row.hero section.hero__slider section.hero__slider__arrows i {
    font-size: 3rem;
  }
  row.wave + row.featured__cards {
    margin-bottom: 0 !important;
  }
  
  row.wave + row.featured__cards + row,
  row.wave + row.featured__cards {
    margin-top: 0 !important;
  }
  
  row.wave svg path {
    fill: var(--clr-wave);
  }
  
  row.featured__cards section {
    --maxwidth: 28ch;
    --gap: 2rem;
    display: grid;
    width: min(96ch, calc(100% - 2rem));
    margin: 2rem auto;
    padding: 0;
    grid-template-columns: 1fr var(--maxwidth) 1fr;
  }
  
  row.featured__cards div {
    vertical-align: top;
    background-color: var(--clr-cloud);
    border-radius: .5rem;
    width: min(calc(var(--maxwidth) - var(--gap)), calc(100% - var(--gap)));
    margin: calc(var(--gap) / 2) auto;
    color: var(--clr-black);
  }

  row.featured__cards div h2 {
    color: var(--clr-dark-navy);
  }

  row.featured__cards div:nth-of-type(odd),
  row.featured__cards div:nth-of-type(odd) i,
  row.featured__cards div:nth-of-type(odd) h2 {
    color: var(--clr-white);
  }

  row.featured__cards div:nth-of-type(2n+1) {
    background-color: var(--clr-soft-blue);
  }
  row.featured__cards div:nth-of-type(4n+3) {
    background-color: var(--clr-dark-navy);
  }

  section.grid3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem;
  }

  footer {
    text-align: left;
  }

  footer section:nth-of-type(1) {
    padding: 4rem 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3em;
    padding: 1em;
    align-items: center;
  }

  footer-section div {
    display: grid;
  }

  row.row__twocolumn50,
  row.row__twocolumn66 {
    display: grid;
    width: min(96ch, calc(100% - var(--gapbar)));
    margin: 2rem auto;
    grid-gap: var(--gapbar);
    align-items: start;
  }
  row.row__twocolumn50 {
    grid-template-columns: repeat(2, 1fr);
  }
  row.row__twocolumn66 {
    grid-template-columns: 66% auto;
  }
  row.row__twocolumn66 section {
    margin: 0;
  }

  row.row__twocolumn50 section:last-of-type,
  row.row__twocolumn66 section:last-of-type,
  row.row__twoColumns section div:nth-child(even) {
    border-left: 2px solid var(--clr-lt-blue);
    padding: 0 0 0  var(--gapbar);
  }
  ul.columns2 {
    columns: 2;
  }
  row.row__twoColumns section {
    display: grid;
    margin: 1rem auto;
    width: min(96ch, calc(100% - var(--gapbar)));
    grid-gap: var(--gapbar);
    align-items: start;
  }
  row.carousel section {
    --height: 400px;
  }

  #teamMember {
    --img: calc(96ch / 3);
    display: grid;
    grid-template-columns: calc(var(--img) * 2) auto;
  }
  section#featured_news_articles {
    grid-template-columns: repeat(3, 1fr);
  }
  section#featured_news_articles h2 {
    grid-column: 1 / span 3;
  }
  row.newsNotificationsList section div.post div.post_readmore a,
  row.hero section.hero__slider ul li a.button span:not(.sr-only) {
    width: unset;
    padding: .5rem 1rem;
    position: unset;
    bottom: unset;
  }
  row.newsNotificationsList section div.paging {
    grid-template-columns: repeat(3, 1fr);
  }
  row.newsNotificationsList section div.paging ul.pageList {
    grid-column-start: 2;
  }
  row.newsNotificationsList section div.post {
    grid-template-columns: 32ch auto;
    grid-gap: 1rem;
  }
  row.newsNotificationsList section div.post div {
    grid-column: 1 / span 2;
  }
  row.newsNotificationsList section div.post img + div {
    grid-column-start: 2;
    grid-column: 2 / span 1;
  }
  row.newsNotificationsList section div.post div.post_readmore {
    text-align: right;
    margin-right: 1rem;
  }

  row.hero section.hero__slider {
    bottom: 0;
  }

  row.featured__cards div a {
    color: var(--clr-dark-navy);
    background-color: var(--clr-white);
  }
  row.featured__single span {
    top: 0rem;
    grid-column-start: 2;
  }
  row.featured__single.left section div:nth-child(2) {
    grid-column-start: 1;
    grid-row-start: 1;
    margin-left: auto;
  }
  row.featured__single.left section div:nth-child(1) {
    grid-column-start: 2;
    grid-row-start: 1;
  }
  row.featured__single.left section div:nth-child(2) span {
    margin-left: auto;
  }
  row.featured__single, row.hero section.hero__slider ul li {
    grid-template-columns: repeat(2, 1fr);
  }
  row.featured__single span {
    width: min(60%, 40ch);
    border-radius: .5rem;
    padding: 1rem 2.7rem;
    position: relative;
  }
  row.featured__single a {
    display: unset;
    width: unset;
  }
  row.featured__single span a.button span:not(.sr-only) {
    width: unset;
    padding: .5rem 1rem;
    position: unset;
    bottom: unset;
  }
  row.featured__single section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    margin: 0 auto;
    padding: 0;
  }
  row.featured__single section div {
    align-items: center;
    display: grid;
  }

  div.entry aside {
     max-width: 40%;
     float: right;
     margin-left: 1rem;
     margin-bottom: .5rem;
  }
}

.sr-only {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}