/*
	Theme Name:  Alabama Care Network 2022
	Theme URI:   https://www.ccgideas.com
	Description: Custom WordPress Theme built by Cummings Creative Group and based upon the EA Starter Theme by Bill Erickson: https://github.com/billerickson/EA-Starter
	Author:      Bill Erickson & Nathan Owens
	Author URI:  https://www.ccgideas.com
	Version:     1.0.0
	License:     GPL-2.0+
	License URI: http://www.gnu.org/licenses/gpl-2.0.html


	BEFORE MODIFYING THIS THEME:
	Please read the instructions here (private repo): https://github.com/Cummings-Creative-Group/CCG-WordPressStarterTheme/tree/master/themes/ccgBlank2020-guten
	Devs, contact me if you need access
*/

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
blockquote {
	font-size: 110%;
	padding: 10px;
	background: #f3f3f3;
	font-style: italic;
}
blockquote p {
	font-size: 110%;
}
blockquote cite {
	font-size: 100%;
	font-style: normal;
	opacity: .7;
}
blockquote em {
	font-style: normal;
}
blockquote > p:last-child {
    margin-bottom: 0;
}

.clear{clear:both;}


.alignwide,
.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}


/* Gravity Forms custom classes: labels-hidden & labels-hidden-top */
.gform_wrapper .gform_fields .labels-hidden label { 
	/* hides any label with the field */
	display: none!important;
  }
  .gform_wrapper .gform_fields .labels-hidden-top > label {
	   /* only hides the field's top label */
	display: none!important;
  }
  .gform_wrapper .gform_fields .gfield .ginput_container input[type="text"] {
	width: 100%;
  }
  .gform_button {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;
  }
  
  /* there's also Gravity Forms classes like gf_left_half, gf_right_half, gf_left_third, gf_middle_third, gf_list_2col, gf_list_3col */


 /**********************************
  TURN OFF PAGE TITLE
 */ 
  /* .entry-title {
	display: none;
  } */
 /**********************************
 */


/* WordPress (WP) Admin Bar */
#wpadminbar {
    min-width: 0;
    max-width: 40px;
    overflow: hidden;
    transition: .5s;
}
#wpadminbar:hover {
    max-width: 100%;
    overflow: unset;
}
@media screen and (max-width: 782px) {
    #wpadminbar {
        top: unset;
        bottom: 0;
        position: fixed;
    }
}

section.no-results {
    min-height: 50vh;
}
.grecaptcha-badge {
    z-index: 99999999;
}


/* THEME STYLES */
body{line-height:1.42857143;}

blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}

table{border-collapse:collapse;border-spacing:0;}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}

.clear{clear:both;}

.sticky{}
.bypostauthor{}
.wp-caption { font-size: 90%; font-style: italic; }
.wp-caption-text{}
.gallery-caption{}
.alignright { float: right; margin-left: 15px; margin-bottom: 15px; }
.alignleft { float: left; margin-right: 15px; margin-bottom: 15px; }
.aligncenter{}
.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important;}

/* Gravity Forms custom classes: labels-hidden & labels-hidden-top */
.gform_wrapper .gform_fields .labels-hidden label {
  display: none!important;
}
.gform_wrapper .gform_fields .labels-hidden-top > label {
  display: none!important;
}
.gform_wrapper .gform_fields .gfield .ginput_container input[type="text"] {
  width: 100%;
}
.gform_button {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
}
#wpadminbar {
  /*opacity: 0;*/
}
#wpadminbar:hover {
  /*opacity: 0.8;*/
}
.no-padding-top {
  padding-top: 0!important;
}
.no-padding-bottom {
  padding-bottom: 0!important;
}

/* site-specific CSS */
body {
  font-family: 'Arvo', serif;
  color: #2D2D2D;
}

a {
  transition: all 0.3s;
}
img {
  max-width: 100%;
  height: auto;
}

.content-link, .banner a:not(.btn):not(.wp-block-button__link),
.content .section a:not(.btn):not(.wp-block-button__link) {
  font-weight: 700;
  color: inherit;
  position: relative;
}
.content-link:after, .banner a:not(.btn):not(.wp-block-button__link)::after,
.content .section a:not(.btn):not(.wp-block-button__link)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s;
}
.content-link:hover, .banner a:not(.btn):not(.wp-block-button__link):hover,
.section a:not(.btn):not(.wp-block-button__link):hover {
  color: inherit;
  text-decoration: none;
}
.content-link:hover::after, .banner a:not(.btn):not(.wp-block-button__link):hover::after,
.content .section a:not(.btn):not(.wp-block-button__link):hover::after {
  width: 100%;
  left: 0;
  right: 0;
}
.content-link--blue, .content .section a:not(.btn):not(.wp-block-button__link) {
  color: #527296;
}
a.content-link--blue:hover, .content .section a:not(.btn):not(.wp-block-button__link):hover {
  color: #0D2444;
}
.content-link--blue::after, .content .section a:not(.btn):not(.wp-block-button__link)::after {
  background-color: #0D2444;
}

.wp-block-buttons {
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 0;
}
.wp-block-buttons + .wp-block-buttons {
  margin-top: 5px;
}
.wp-block-buttons > .wp-block-button {
  margin: 0 5px;
}

.wp-block-buttons + *:not(.wp-block-buttons) {
  margin-top: 20px;
}

.wp-block-buttons + h5:not(.wp-block-buttons) {
  margin-top: 40px;
}

.btn, .wp-block-button__link,
.gform_wrapper .gform_button {
  font-size: 15px;
  line-height: 23px;
  font-weight: 700;
  padding: 15px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  min-width: 160px;
  white-space: normal;
  letter-spacing: 1px;
}
.btn--blue-white, .wp-block-button__link,
.gform_wrapper .gform_button {
  background-color: #527296;
  color: #fff;
}
.btn--blue-white:hover, .wp-block-button__link:hover,
.gform_wrapper .gform_button:hover {
  background-color: #0D2444;
  color: #fff;
  text-decoration: none;
}
.btn--dark-blue-white {
  color: #fff;
  background-color: #0D2444;
}
.btn--dark-blue-white:hover {
  color: #fff;
  background-color: #527296;
}
.btn--large {
  max-width: 500px;
  width: 100%;
}

.content .btn--blue-white {
  margin-bottom: 5px;
}

.border-content {
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 25px;
}
.border-content--border-bottom {
  padding-bottom: 25px;
}
.border-content:before,
.border-content--border-bottom:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 2px;
  background-color: #F5C863;
}
.border-content:before {
  top: 0;
}
.border-content--border-bottom:after {
  bottom: 0;
}
.border-content--grey:before,
.border-content--grey:after {
  background-color: rgba(196,196,196,0.5);
}
.border-content--red:before,
.border-content--red:after,
.southeast-menu .border-content::before,
.southeast-menu .border-content::after {
  background-color: #DE4253;
}

hr, hr.wp-block-separator {
  margin: 20px 0;
  width: 100%;
  height: 4px;
  background-color: rgba(196,196,196,0.5);
  border-color: none;
  border-radius: 2px;
  border-top: none;
  border-bottom: none;

}
.mid-state-menu hr {
  background-color: #F5C863;
}
.southeast-menu hr {
  background-color: #DE4253;
}

/***** FONTS *****/

h1,
h2,
h3 {
  font-weight: 700;
  text-transform: uppercase;
}
h1 small {
  font-size: 0.5em;
  display: block;
  font-weight: 700;
  line-height: 1;
}
h5, .h5 p, .banner__content p {
  font-weight: 400;
}
.headline-border {
  border-bottom: 4px solid #F5C863;
  padding-bottom: 25px;
}
.bold {
  font-weight: 700;
}

ul {
  list-style-position: inside;
}

/***** HEADER *****/
.header {
  position: fixed;
  top: 0;
  background-color: #0D2444;
  color: #fff;
  width: 200px;
  border-radius: 0 0 7px 7px;
  padding: 18px 0 13px 20px;
  z-index: 99;
}
.menu__list {
  padding: 0;
  margin: 0;
}
.menu__item, .menu__list > li {
  font-size: 15px;
  line-height: 18px;
  list-style-type: none;
  padding-bottom: 6px;
  padding-top: 8px;
}
.menu__item a,
.menu__item span, 
.menu__list > li a, 
.menu__list > li span {
  color: inherit;
}
.menu__item a:hover, .menu__list > li a:hover {
  text-decoration: none;
  color: #F5C863;
}
.menu--red .menu__item a:hover, .menu--red .menu__list > li a:hover {
  color: #DE4253
}
.menu__item--regions {
  font-size: 12px;
  line-height: 15px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  font-weight: 700;
}
.menu__item--grey {
  color: rgba(255,255,255,0.5);
}
.menu__item--main {
  font-weight: 700;
  color: #F5C863;
  border-bottom: 2px solid #F5C863;
}
.menu--red .menu__item--main {
  color: #DE4253;
  border-color: #DE4253;
}
.home .menu__item--main {
  color: #fff;
  border-bottom: none;
  font-weight: 400;
}
.menu__item--active, .current-menu-item {
  color: #527296;
  font-weight: 700;
}

/***** BANNER *****/
.banner  {
  background-repeat: no-repeat;
  background-position: 50% 30%;
  background-size: cover;
  position: relative;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  min-height: 502px;
  text-shadow: 0 3px 0 rgba(0,0,0,0.16);
}
.banner--landing {
  background-image: url(/wp-content/themes/acn2022/img/banners/landingBg.jpg);
}
.banner--mid-state {
  background-image: url(/wp-content/themes/acn2022/img/banners/midStateBg.jpg);
}
.banner--referral {
  background-image: url(/wp-content/themes/acn2022/img/banners/referralBg.jpg);
}
.banner--medicaid-providers {
  background-image: url(/wp-content/themes/acn2022/img/banners/medicaidProvidersBg.jpg);
}
.banner--medicaid-providers-se {
  background-image: url(/wp-content/themes/acn2022/img/banners/se-Provider.jpg);
}
.banner--member-resources {
  background-image: url(/wp-content/themes/acn2022/img/banners/memberResourcesBg.jpg);
}
.banner--member-resources-se {
  background-image: url(/wp-content/themes/acn2022/img/banners/se-Resources.jpg);
}
.banner--provider-directory {
  background-image: url(/wp-content/themes/acn2022/img/banners/providerDirectoryBg.jpg);
}
.banner--provider-directory-se {
  background-image: url(/wp-content/themes/acn2022/img/banners/se-Doctor.jpg);
}
.banner--services {
  background-image: url(/wp-content/themes/acn2022/img/banners/servicesBg.jpg);
}
.banner--services-se {
  background-image: url(/wp-content/themes/acn2022/img/banners/se-Services.jpg);
}
.banner--team {
  background-image: url(/wp-content/themes/acn2022/img/banners/teamBg.jpg);
}
.banner--team-se {
  background-image: url(/wp-content/themes/acn2022/img/banners/se-Meet_The_Team.jpg);
}
.banner--contact {
  background-image: url(/wp-content/themes/acn2022/img/banners/Contact.jpg);
}
.banner--full-height {
  min-height: 100vh;
}
.banner:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(17,35,66,0.75);
}
.banner__content{
  position: relative;
  z-index: 2;
}
.banner .btn {
  margin-top: 5px;
}
.banner h1,
.banner h2,
.banner h5, .banner__content p {
  margin-bottom: 25px;
}
.banner .btn + h5,
.banner .btn + p,
.border-content .btn + h5,
.border-content .btn + p {
  margin-top: 40px;
}

.banner .county-select li {
  text-shadow: none;
}

.banner__content {
  padding-top: 50px;
  padding-bottom: 50px;
  max-width: 815px;
}
.scroll-down {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background-color: #0D2444;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  transition: all 0.3s;
  color: #fff;
}
.scroll-down--white {
  background-color: #F9F9F9;
  color: #C4C4C4;
}
.scroll-down:hover {
  background-color: #527296;
  box-shadow: 0 6px 12px rgba(0,0,0,.5);
  color: #fff;
}
.scroll-down img,
.scroll-down svg {
  width: 18px;
  position: relative;
  top: 2px;
}
.scroll-down--team {
  margin-top: 25px;
}
.county-select {
  margin-bottom: 25px;
}
.county-select .select {
  width: 275px;
  height: 55px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 99;
}
.county-select .select-styled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #527296;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-family: 'Arvo', serif;
  text-transform: uppercase;
  font-weight: 700;
  padding-left: 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  text-shadow: none;
}
.county-select .select-styled:after {
  content: "";
  position: relative;
  width: 14px;
  height: 14px;
  background: url(/wp-content/themes/acn2022/img/icons/arrowDown.svg) no-repeat 50% 50% / 14px auto;
  margin-left: 15px;
  transition: all 0.3s;
}
.county-select .select-styled.active:after {
  transform: rotate(180deg);
}
.county-select .select-hidden {
  display: none;
  visibility: hidden;
}
.county-select .select-options {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #fff;
  color: #2d2d2d;
  text-align: left;
  font-size: 15px;
  line-height: 23px;
  font-family: 'Arvo', serif;
  padding-left: 35px;
  text-transform: uppercase;
  padding-top: 25px;
  padding-bottom: 25px;
  border-radius: 0 0 4px 4px;
  z-index: 1;
}
.county-select li {
  cursor: pointer;
}

/***** CONTENT *****/
.content {
  text-align: center;
}
.content__headline {
  margin-bottom: 25px;
}
.section {
  padding-top: 65px;
}

/*** services ***/
.services--short {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.services__icon {
  margin-bottom: 25px;
  width: 150px;
  margin-left: auto;
  margin-right: auto;
}
.services__sub-headline {
  margin-bottom: 20px;
}
.services__btn {
  margin-left: 12px;
  margin-right: 12px;
}

/*** referral ***/
.referral__content {
  margin-top: 25px;
}
.referral__btn {
  margin-top: 24px;
  margin-bottom: 40px;
}
.referral__borders-content {
  margin-bottom: 40px;
}

.content-narrow, .narrow-content, .referral__content {
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.wp-block-spacer {
  max-height: 50px;
}

/*** team ***/
.team {
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.team__item {
  padding: 15px;
}
.team__photo {
  width: 150px;
  height: 150px;
  min-width: 150px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  border: 3px solid #527296;
  background-color: rgba(45,45,45,0.1);
  background-position: 50% 50%;
  background-size: 65px 65px;
  background-repeat: no-repeat;
  background-image: url(/wp-content/themes/acn2022/img/icons/user.png);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.team__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: inherit;
}
.custom-object-fit {
  background-size: cover;
}
.custom-object-fit img {
  opacity: 0;
}
.team__name {
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 0;
}
.team__position {
  font-style: italic;
  text-transform: uppercase;
  color: #527296;
}
.team__details {
  padding-top: 16px;
}
.team__email {
  font-size: 12px;
}
.team__contact-info {
  margin-top: 45px;
  margin-bottom: 45px;
}
.team__cell--main {
  padding-right: 30px;
}


.content ul {
  list-style-position: outside;
  padding-left: 60px;
  text-align: left;
}

/***** FOOTER *****/
.footer {
  text-align: center;
  color: #fff;
  background-color: #527296;
}
.footer__bottom {
  padding-top: 35px;
  padding-bottom: 20px;
  background-color: #6480A1;
}
.footer__link {
  margin-left: 10px;
  margin-right: 10px;
}
.footer__address {
  position: relative;
  padding-bottom: 30px;
  padding-top: 50px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.footer__address:before,
.footer__address:after {
  content: "";
  position: absolute;
  height: 5px;
  border-radius: 3px;
  background-color: rgba(255,255,255,0.5);
}
.footer__address:before {
  top: 0;
}
.footer__address:after {
  bottom: 0;
}
.footer a,
.footer a:hover {
  color: inherit;
  text-decoration: none;
}

/***** LANDSCAPE TABLET + MOBILE *****/
@media screen and (max-width: 1199px) {
  .services__item {
    margin-bottom: 40px;
  }
}
/***** TABLET + MOBILE *****/
@media screen and (max-width: 1023.98px) {
  .footer__address:before,
  .footer__address:after {
    left: 0;
    right: 0;
  }
}
@media screen and (max-width: 991px) {
  .team__item--in-line .text-left {
    text-align: center !important;
  }
  .team__cell--main {
    display: block;
  }
}
@media screen and (max-width: 874px) {
  .team .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media screen and (min-width: 640px) and (max-width: 1023.98px) and (orientation: landscape) {
  .header {
    max-height: 100vh;
    overflow: auto;
  }
}
/***** MOBILE *****/
@media screen and (max-width: 639px) {
  body {
    font-size: 12px;
    line-height: 16px;
  }

  h1 {
    font-size: 35px;
    line-height: 38px;
  }
  h2, h1.inner-page-title {
    font-size: 24px;
    line-height: 30px;
  }
  h3 {
    font-size: 22px;
    line-height: 28px;
  }
  h4 {
    font-size: 18px;
    line-height: 24px;
  }
  h5, .h5 p, .banner__content p {
    font-size: 15px;
    line-height: 24px;
  }

  .header {
    left: 0;
    right: 0;
    top: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 15px;
    padding-right: 15px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    border-radius: 0;
    background-color: rgba(18,35,66,0.75);
  }
  .menu {
    position: absolute;
    width: 200px;
    left: 15px;
    padding-left: 20px;
    padding-bottom: 15px;
    top: 0;
    background-color: rgb(18,35,66);
    border-radius: 0 0 7px 7px;
    z-index: 2;
    display: none;
  }
  .menu__list {
    max-height: calc(100vh - 150px);
    overflow: auto;
  }
  .menu__list:first-child {
    margin-top: 150px;
  }
  .menu__btn {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .menu__icon {
    width: 16px;
    height: 12.5px;
    position: relative;
    margin-right: 5px;
  }
  .menu__btn em {
    height: 2.5px;
    width: 100%;
    position: absolute;
    left: 0;
    background-color: #fff;
    transition: all 0.3s;
  }
  .menu__btn em:first-child {
    top: 0;
  }
  .menu__btn em:nth-child(2) {
    top: 5px;
  }
  .menu__btn em:last-child {
    bottom: 0;
  }
  .menu-opened .menu__btn em:first-child {
    transform: rotate(-45deg);
    top: 5px;
  }
  .menu-opened .menu__btn em:nth-child(2) {
    opacity: 0;
  }
  .menu-opened .menu__btn em:last-child {
    transform: rotate(45deg);
    bottom: 5px;
  }
  .logo {
    width: 96px;
    transition: all 0.3s;
    align-self: flex-start;
    position: relative;
    z-index: 3;
    left: 0;
  }
  .menu-opened .logo {
    width: 160px;
    left: 20px;
  }

  .banner {
    padding-top: 75px;
  }
  .services {
    padding-top: 15px;
  }
  .service-area__content {
    margin-bottom: 40px;
  }
  .content {
    padding-bottom: 40px;
  }
  .service-area h5,
  .questions__content h5 {
    margin-bottom: 20px;
  }

  .footer {
    font-size: 16px;
    line-height: 22px;
  }
  .footer__bottom,
  .questions__content {
    margin-top: 40px;
  }
  .footer__pre-links {
    display: block;
    margin-bottom: 8px;
  }
}
@media screen and (max-width: 375px) {
  .services__btn + .services__btn {
    margin-top: 20px;
  }
}
/***** TABLET + DESKTOP *****/
@media screen and (min-width: 640px) {
  body {
    font-size: 15px;
    line-height: 22px;
  }
  h3 {
    font-size: 28px;
    line-height: 32px;
  }
  .content {
    padding-bottom: 30px;
  }
  .section {
    padding-left: 240px;
    padding-right: 20px;
    padding-bottom: 50px;
  }
  .header {
    left: 20px;
  }
  .banner p {
    line-height: 24px;
    bottom: 25px;
  }
  .scroll-down {
    margin-top: 40px;
  }
  .menu__btn {
    display: none;
  }
  .services__item +.services__item {
    margin-top: 85px;
  }
  .services:not(.services--short) {
    padding-top: 40px;
  }
  .services__btn {
    margin-top: 25px;
   }
  .service-area__content {
    padding-bottom: 5px;
  }
  .service-area__map {
    margin-bottom: 30px;
  }
  .referral__content {
    padding-bottom: 40px;
  }
  .questions__content {
    margin-top: 45px;
    padding-top: 65px;
  }
  .service-area h5,
  .questions__content h5 {
    margin-bottom: 30px;
  }
  .team__name--main {
    font-size: 24px;
    line-height: 1.25;
  }
  .footer__pre-links {
    padding-right: 8px;
  }
}
/***** TABLET *****/
@media screen and (min-width: 640px) and (max-width: 1023px) {
  h1 {
    font-size: 38px;
    line-height: 42px;
  }
  h2, h1.inner-page-title {
    font-size: 30px;
    line-height: 35px;
  }
  h4 {
    font-size: 21px;
    line-height: 30px;
  }
  h5, .h5 p, .banner__content p {
    font-size: 18px;
    line-height: 24px;
  }
  .team__photo-wrap {
    padding-left: 15px;
    padding-right: 15px;
    flex-shrink: 0;
  }
}
@media screen and (min-width: 992px) {
  .team__item--in-line {
    display: flex;
    max-width: 830px;
    margin-left: auto;
    margin-right: auto;
  }
}
/***** DESKTOP *****/
@media screen and (min-width: 1024px) {
  h1 {
    font-size: 42px;
    line-height: 50px;
  }
  h2, h1.inner-page-title {
    font-size: 35px;
    line-height: 42px;
  }
  h4 {
    font-size: 24px;
    line-height: 32px;
  }
  h5, .h5 p, .banner__content p {
    font-size: 21px;
    line-height: 30px;
  }
  .banner--full-height {
    padding-top: 180px;
  }
  .banner--member-resources {
    padding-top: 125px;
  }
  .scroll-down--full-space {
    margin-top: 75px;
  }
  .team__photo-wrap {
    padding-left: 35px;
    padding-right: 35px;
  }
  .footer__address:before,
  .footer__address:after {
    left: 55px;
    right: 55px;
  }
}
@media screen and (min-width: 1200px) {
  .service__row {
    padding-bottom: 35px;
  }
  .services__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  .questions__content {
    padding-right: 90px;
    padding-left: 90px;
  }
}
@media screen and (min-width: 1280px) {
  .services:not(.services--short) {
    margin-left: -80px;
    margin-right: -80px;
  }
}


.flat-list {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
}
.flat-list li {
  float: left;
  font-size: 18px;
}
.flat-list li a {
  color: #fff;
}

@media (max-width: 991px) {
  .flat-list {
    flex-direction: column;
  }
  .flat-list li {
    margin-bottom: 1rem;
  }
}


.page-template-page-contact .content,
.page-template-page-contact .referral.section,
.page-template-page-contact .referral.section .referral__content {
  padding-bottom: 0;
}
.page-template-page-contact #wrap .contact-form {
  padding-top: 0;
}


#topbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 40px;
  background: rgba(18, 35, 66, 1);
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}
#topbar p {
  color: rgba(255,255,255,.7);
  margin-bottom: 0;
}
#topbar p a {
  color: #fff;
  font-weight: 700;
  margin-left: 5px;
}

.header {
  margin-top: 40px;
}

@media screen and (min-width: 461px) {
  .hidden-desktop {
    display: none;
  }
}
#topbar-covid {
    position: fixed;
    top: 40px;
    width: 100%;
    height: 40px;
    background: #F5C863;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}

#topbar-covid p {
    color: #0C2444;
    margin-bottom: 0;
}

.content-link.covid:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: #0C2444;
    transition: all 0.3s;
}

.content-link:hover {
  color: inherit;
  text-decoration: none;
}
.content-link:hover:after {
  width: 100%;
  left: 0;
  right: 0;
}

.header {
    margin-top: 80px;
}
.header .menu {
  max-height: calc(100vh - 300px);
  overflow: auto;
}

div#wrap {
	top: 40px;
  position: relative;
}
div#wrap.has-covid-banner {
  top: 80px;
}

@media screen and (max-width: 639px) {
.banner {
    padding-top: 130px;
	}
  .header .menu {
    max-height: calc(100vh - 200px);
  }
}

.gform_wrapper.gravity-theme ,
.gfield.gfield--width-full,
.gform_legacy_markup_wrapper
{
  text-align: left;
  margin-left: 15px;
  margin-right: 15px;
}

.ginput_container_number #gfield_instruction_5_3,
.ginput_container_number #gfield_instruction_6_3
{
  display:none !important;
}

.gform_wrapper.gravity-theme .gfield.gfield--width-full {
  margin-left: 0;
  margin-right: 0;
}

h2 + h3, .wp-block-buttons + h3 {
  margin-top: 2.5rem!important;
}

.footer-top-section{
  padding-top:25px !important;
}

.footer-logo {
  width:150px !important;
}

.contact-form-section {
  padding-left: 240px;
  padding-right: 20px;
  padding-bottom: 50px;
}

.border-content-contact {
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 25px;
}

/* Contact form fixes */
#field_3_16, 
#field_3_14, 
#field_3_27,
#field_3_53,
#field_4_16, 
#field_4_14, 
#field_4_27,
#field_4_53{
  margin-left: 0px;
  margin-right: 0px;
}

@media screen and (max-width: 639px) {
  .contact-form-section {
    padding-left:inherit;
    padding-right: inherit;
  }
}

/* RESOURCES */
.resource-buttons-block {
  max-width: 715px;
  margin-left: auto;
  margin-right: auto;
}
.resource-buttons-block .wp-block-buttons {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem; */
}
.resource-buttons-block .wp-block-buttons + .wp-block-buttons {
  margin-top: 1rem;
}
.resource-buttons-block .wp-block-buttons .wp-block-button__link {
  width: 100%;
}

.category-select {
  margin-top: 2rem;
}
.category-select select {
  font-size: 15px;
  line-height: 23px;
  font-weight: 700;
  padding: 15px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  min-width: 160px;
  white-space: normal;
  background-color: #527296;
  color: #fff;
  transition: .3s;
  width: 315px;
}
.category-select select:hover {
  background-color: #0D2444;
}
.category-select select option {
  background: white;
  color: black;
}

.loading-gif img {
  width: 40px;
  image-rendering: optimizeQuality;
}

.selected-resources {
  margin-top: 2rem;
}
.selected-resources > .border-content {
  padding-top: 0;
}
.selected-resources .resource {
  padding: 25px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 4px solid rgba(196,196,196,0.5);
  border-radius: 4px;
}
.selected-resources .resource .name.h5 {
  margin-bottom: 0;
  margin-right: 10px;
}
.selected-resources .resource .link a {
  color: #0D2444;
}
.icon-arrow {
  width: 35px;
  display: inline-block;
  margin-left: 5px;
}
.icon-arrow svg {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
.icon-arrow svg * {
  fill: #527296;
}

.mb-2r {
  margin-bottom: 2rem;
}

.content ul.center, .content ol.center {
  padding-left: 0;
  text-align: center;
  list-style-position: inside;
}

body, p, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  line-height: 1.5;
}

.content li {
  line-height: 1.8;
}

.ginput_container select {
  height: 42.48px;
}

@media (max-width: 991px) {
  .resource-buttons-block .wp-block-buttons {
    grid-template-columns: 1fr;
  }
}

/* UPDATES: JUNE 2024 */
.service__row {
  justify-content: center;
}

header > .menu .sub-menu {
  padding-left: 16px;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: .5s;
}
header > .menu .sub-menu li {
  padding: 6px 0;
}
header > .menu li.menu-item-has-children {
  position: relative;
}
header > .menu li.menu-item-has-children::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 9px;
  transition: .5s;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(135deg);
}
header > .menu li.menu-item-has-children:hover::after,
header > .menu li.menu-item-has-children:active::after,
header > .menu li.menu-item-has-children:has(.sub-menu .current-menu-item)::after {
  transform: rotate(315deg);
}
header > .menu li.menu-item-has-children:hover .sub-menu,
header > .menu li.menu-item-has-children:active .sub-menu,
header > .menu li.menu-item-has-children .sub-menu:hover,
header > .menu li.menu-item-has-children .sub-menu:has(.current-menu-item) {
  max-height: 500px;
}
/* .menu > .menu__list {
  padding-right: 20px;
}
header .menu > .menu__list:has(li.menu-item-has-children:hover),
header .menu > .menu__list:has(li.menu-item-has-children:active),
header .menu > .menu__list:has(li.menu-item-has-children .sub-menu:hover),
header .menu > .menu__list:has(li.menu-item-has-children .current-menu-item) {
  padding-right: 0;
} */

.menu__list > li.menu-item-has-children a[href="#"]:hover {
  color: inherit;
  cursor: default;
}

@media (max-height: 860px) {
  header > .menu > .menu__list li.menu-item-has-children .sub-menu {
    max-height: 500px!important;
  }
  header > .menu li.menu-item-has-children::after {
    transform: rotate(315deg)!important;
    display: none;
  }
  header .menu > .menu__list > li.menu-item-has-children {
    margin-right: 0!important;
    padding-right: 10px!important;
  }
}


/* adding styles for new mother/baby quiz questions */
.gfield .success {
  color: green;
  font-weight: 600;
}
.gfield .error {
  color: red;
  font-weight: 600;
}
.gfield.quiz .disabled,
.gfield.quiz:has(.disabled) label {
  cursor: not-allowed;
  pointer-events: none;
  opacity: .8;
}
