@charset "UTF-8";
/* CSS Document */
@import url("https://use.typekit.net/ijz8ifs.css");

/* === Global Vars === */

:root {
    /*--hot: #7EDDD3;*/
     /* new hot */
    --hot: #7DDDD3; 
    --hot-lt: #dff7f5;
    --orange: #F99D33;
/*    --hot: #C05400;
    --hot: #e9e9e9;*/
    --rollover: #B1EBE5;
    /*--rollover: #caf5f0;*/
    /*--light: #FFFAF4;*/
    /*--light: #FCF8F4;*/
    --light: #FBF1E7;
    --light2: #fcead5;
    --text: #183029;
    --linkover: #E0332E;;
    /*--dark: #183029;*/
    /* new dark */
    /*--dark: #18404E; */
    /* new new dark */
    --dark: #184050; 
    --gray: #2d2d2d;
    --green-dk: #244C5A;
    --green-md: #58A291;
    --green-br: #006A52;
    --display: "barlow", sans-serif;
    --header_ht: 112px;
    --button_radius: 10px;
}

/* ============= Header / Navigation ============= */

header {
    background-color: #FFF;
    background-color: var(--green-dk);
    /*overflow: hidden;*/
/*    padding: 16px 16px 20px 12px;*/
/*    transition: all 0.2s ;*/
}

.logo {
    padding: 10px;
}

.logo img {
    max-width: 150px;
    height: auto;
}

.m_only {
    display: block;
}

.d_only, .lg_only {
    display: none;
}

.primary.row > div {
    flex: none;
}

/* ==== Animated menu toggle ==== */

.menu-toggle {
  width: 40px;
  height: 30px;
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  border: 5px #fff solid;
  background: #fff;
  border-radius: 5px;
  padding: 5px;
  z-index: 9999;

  /*display: none;*/
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--green-dk);
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease;  
}

/* Position the 3 bars */
.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* ACTIVE STATE → turns into X */
.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ==== Mobile Nav ==== */

.top_nav {
    padding: 0;
}

/* Base mobile nav styles */
.m_nav {
    display: block;
    margin-top: var(--header_ht);
    padding-right: 0;
}

.m_nav :is(ul, li) {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.m_nav a {
    display: block;
    width: 100%;
    background-color: var(--dark);
    color: #FFF !important;
    font-size: 1.2em;
    font-weight: bold;
    padding: 12px;
    text-decoration: none;
    font-family: var(--display);
}

.m_nav li.is-active > a {
    background: var(--green-dk);
}

/* Submenu (hidden by default for animation) */
.m_nav .has-child > .wp-block-navigation__submenu-container {
    display: none;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

/* Submenu items */
.m_nav .wp-block-navigation__submenu-container li {
    display: block;
    width: 100%;    
}

.m_nav .wp-block-navigation__submenu-container a {
    padding-left: 24px;
    font-size: 1em;
    font-weight: normal;
}

/* closed */
.m_nav .has-child > .wp-block-navigation__submenu-container {
    /*display: none;*/
/*    overflow: hidden;
    height: 0;*/
}

/* open */
.m_nav .has-child.submenu-open > .wp-block-navigation__submenu-container {
    /*display: block;*/
    height: auto;
    visibility: visible;
    opacity: 1;
}

.m_nav .has-child > a {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* space between text + arrow */
}

.m_nav .has-child > a::after {
    content: "▾";
    font-size: 12px;
    transition: transform 0.2s ease;
}

/* Flip when open */
.m_nav .has-child.submenu-open > a::after {
    transform: rotate(180deg);
}

/* Off-canvas nav wrapper */
.m_nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 420px);
    background-color: var(--blue);
    transform: translate3d(100%, 0, 0);
    z-index: 999;
}

/* Open state */
.m_nav.is-open {
    transform: translate3d(0, 0, 0);
}

/* Slide animation */
.m_nav.is-animating {
    transition: transform 0.4s ease;
}

/* Force vertical stacking inside nav */
.m_nav nav,
.m_nav ul,
.m_nav li {
    display: block;
    width: 100%;
}

/* Remove default WP spacing quirks */
.m_nav li.wp-block-navigation-item {
    margin: 0;
}

/* Optional divider styling */
.is-animating li a {
    border-top: 2px solid rgba(255,255,255,0.2);
}

/* Prevent WP submenu positioning/hover behavior */
.m_nav .wp-block-navigation__submenu-container {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Ensure submenu children render correctly */
.is-animating li {
    display: block !important;
    width: 100% !important;
}

/* ==== Mobile Nav End ==== */
/* ==== Nav Button ==== */

.button_col {
    padding: 0;
}

.button_col p,
.button_col p a {
    margin: 0;
    width: 100%;
    display: block;
    border-radius: 0;
    text-align: center;
}


/* ============= Basic Styles (body, h1, etc) ============= */

html, body, .page-wrapper, .section, .row {
  /*height: 100%;*/
}

body {
    font-size: 16px;
    font-family: avenir-lt-pro, sans-serif;
    font-weight: 350;
    font-style: normal;
    color: var(--text);
    padding: 0;
    background-color: var(--green-dk);
}

body.wp-admin,
body.block-editor-iframe__body,
body#tinymce {
    background-color: #FFF !important;
}

.skip, .homepage_h1, .VisuallyHidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    font-style: normal;
    line-height: 1.1;
    color: var(--green-dk);
    text-wrap: balance;
}

h1, h2, h3, p {
    margin-bottom: 20px;
    /*text-align: center;*/
}

p, li {
    line-height: 1.3;
}

h1.leadin {
    font-size: 1.2em;
}

h1,
h1.leadin ~ h2 {
    font-size: 3em;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
}

h2 span:not(span.hyphenate) {
    display: block;
    padding-top: 0.5em;
}

h3 {
    font-size: 1.3em;
    font-weight: 600;
}

h3.leadin {
    margin-bottom: 0;
}

h3.leadin ~ p {
    margin-top: 5px;
    line-height: 1.2;
}

ul {
    padding-left: 20px;
    text-wrap: balance;
}

li {
    margin-bottom: 10px;
    text-wrap: pretty;
}

p {
    text-wrap: pretty;
    line-height: 1.6;
}

.balance_text p, p.balance_text  {
    text-wrap: balance;
}

.bg_dark a:not(.bg_dark .col_fill_1 a) {
 color: var(--hot);
}

a {
    color: var(--green-br);
    transition: color 0.2s;
}

a:hover {
    color: var(--linkover);
}

.link-disabled {
    text-decoration: none;
    color: var(--text);
}

.bg_dark .link-disabled {
    color: #FFF !important;
}

.maxw {
    max-width: 1200px;
    margin-inline: auto;
}

.maxw2 {
    max-width: 600px;
    margin-inline: auto;
}

.maxw3 {
    max-width: 1600px;
}

.maxw4 {
    max-width: 900px;
    margin-inline: auto;
}

.max80p {

}

.container-fluid {
    margin-bottom: 0 !important;
}

.pad1 {
    padding: 6vw !important;
}

.pad1 > .maxw,
.pad1 > .maxw3 {
/*.pad1 > .maxw:not(.pad1 .maxw:has(> .row)) {*/
    padding: 0;
    /*border: solid rgba(0, 128, 0, 0.16) 3px;*/
}

.pad1.xtravp {
    padding: 6vw 3vw !important;
}

.pad1.pb-0 {
    padding: 6vw 6vw 0 6vw !important;
}

.pad1.pb-0.pe-0 {
    padding: 6vw 0 0 6vw !important;
}

.pad1 > :last-child,
.wp-block-group.pad1 > div > :last-child {
    margin-bottom: 0;
}

.pad1.cta_block {
    padding: 18vw 4vw !important;
}

.dc_anchor {
    scroll-margin-top: 180px;
}

h2 .small, h3 .small {
    font-size: 0.5em;   
}

p.small {
    font-size: 0.75em;   
}

.mid {
    font-size: 1.5em;
}

.big {
    font-size: 2em;
}

span.nobreak {
    white-space: nowrap;
    padding: 0 !important;
    display: inline-block !important;
}

.orng {
    color: var(--orange);
}

.bright {
    font-size: 2.7em;
    font-weight: normal;
}

.bg_dark .bright {
    color: var(--hot) !important;
}

.hidden:not(body.wp-admin .hidden), 
.backend_message {
    display: none !important;
}

.btn,
.wp-block-wp-bootstrap-blocks-button,
.button_col a,
.location-card__actions a {
    border: none;
    border-radius: var(--button_radius);
    /*background-color: var(--hot) !important;*/
    background-color: var(--hot) !important;
    /*border: var(--hot) solid 4px;*/
    /*color: #FFF;*/
    color: var(--text) !important;
    font-weight: 600;
    display: block;
    margin: 1em 0;
    width: fit-content;
    padding: 15px 25px 18px;
    text-decoration: none;
    font-family: var(--display);
    line-height: 1;
    font-size: 0.85em;
}

body.wp-admin .wp-block-wp-bootstrap-blocks-button > div  {
    background-color: transparent !important;
}

.btn:hover {
    background-color: var(--rollover) !important;
    /*background-color: var(--rollover);*/
}

.btn-secondary,
.location-card__actions a:nth-child(2) {
    background-color: var(--hot-lt) !important;
}

.btn a {
    text-decoration: none;
    color: var(--text);
}

.block_buttons .btn {
    display: block;
    width: 100%;
}

.dyn_button a {
    font-size: 1.2em;
}

.wp-block-group.button_group > div {
    display: flex;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 12px;
}

.wp-block-group.button_group.centered > div {
    justify-content: center !important;
}

.text-center .btn {
    margin: 1em auto;
}

/* for admin layout */
[data-alignment="center"] {
    display: flex;
    justify-content: center;
}

.bg_red {
    background-color: var(--red);
}

.bg_light {
    background-color: var(--light);
}

.bg_dark {
    background-color: var(--dark);
}

.bg_split {
    background: #ffffff;
    background: linear-gradient(180deg, var(--light) 56%, #FFF 56%);
}

.bg_dark :is(h2,h3,p):not(.col_fill_1 :is(h2,h3,p),.bright,.bg_white :is(h3,p)) {
    color: #FFF !important;
}

.bg_white {
    background: #ffffff;
}

.vert_center {
    align-self: center;
}

.vert_center > .group {
    height: 100%!important;
/*    display: flex !important;*/
    justify-content: center !important;
    flex-direction: column !important;
}

*.centered {
    text-align: center;
}

.btn.centered,
.btn.m_centered,
.centered ~ .wp-bootstrap-blocks-button > .btn,
.m_centered ~ .wp-bootstrap-blocks-button > .btn {
    margin-inline: auto;
    width: 80vw;
}

.btn.centered,
.btn.m_centered,
.centered ~ .wp-bootstrap-blocks-button > .btn,
.m_centered ~ .wp-bootstrap-blocks-button > .btn {
    margin-inline: auto;
    width: 80vw;
}

.loader1 {
    display: none;
    margin-top: 10px;
    font-weight: bold;
}

.round20,
.round20 img {
    border-radius: 20px;
}

.round40,
.round40 img {
    border-radius: 40px;
}

.hyphenate {
      overflow-wrap: break-word;
      word-break: normal;
      hyphens: auto;
}

.leading_tight > div {
    padding: 1vw;
}

.leading_tight > div * {
    margin-bottom: 5px;
    line-height: 1.1;
}


/* ============= Hero ============= */

.container-fluid:has(> .hero_1) {
    padding-inline: 0;
}

.hero_1 {
    position: relative;
    padding-inline: 0;
}

.hero_1 > .wp-block-group,
body.wp-admin .hero_1 .wp-block-group {
    background-color: #FFF;
    position: relative;
    z-index: 10;
    padding: 30px;
    /*border-radius: 0 0 30px 0;*/
}

body.wp-admin .hero_1 > div > .block-editor-block-list__layout {
    display: flex;
    justify-content: space-between;
}

body.wp-admin .hero_1 .wp-block-group {
    display: flex;
    width: 50vw !important;
    /*position: absolute;*/
}

body.wp-admin .hero_1 figure img {
    width: 100% !important;
    height: auto;
}

.hero_1 figure {
    margin-bottom: 0;
    /*transform: translateY(-30px);*/
}

.hero_1 img {
    width: 100% !important;
    height: auto !important;
    right: 0;
    bottom: 0;
    border-radius: 0 0 0 30px;
}

.hero_1 :is(h2,p):not(.button_group p) {
    margin-bottom: 30px;
}

.hero_1 h2 {
    line-height: 1.1;  
}

.hero_1 p {
    font-size: 1.2em;
}

.hero img {
    width: 100%;
    height: auto;
}

.hero_2 .row > div:first-child {
    padding: 6vw;
}

.hero_2 .row > div:last-child {
    text-align: right;
    position: relative;
    padding: 60px 60px 60px 30px
}

.hero_2 .row > div:last-child::after {
    content: '';
    background-color: var(--green-md);
    width: 60%;
    height: 100%;
    border-radius: 30px 0 0 30px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

.hero_2 img {
    position: relative;
    z-index: 10;
}

/* === Hero Select & Button === */

.hero .button_group > div {
  display: block;
}

.home_hero {
    padding-inline: 0;
}

.home_hero .wp-block-group.button_group > div *:not(.button) {
    /*background-color: rgba(210, 210, 210, 0.13);*/
    width: 100%;
}

/* Button block wrapper */
.hero .wp-bootstrap-blocks-button {
  width: fit-content;
  margin: 0;
}

/* Selectric wrapper */
.hero .selectric-wrapper {
  width: fit-content;
  height: 52px;
}

/* Shared control sizing */
.hero .selectric,
.hero .btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  font-family: var(--display);
}

.hero .btn:hover {
    background-color: var(--rollover) !important;
}

/* Selectric control */
.hero .selectric {
  background: var(--hot-lt);
  border: 0;
  border-radius: var(--button_radius);
  padding: 0 20px 0 25px;
  margin-top: 0;
}

/* Selectric label */
.hero .selectric .label {
  display: inline-flex;
  align-items: center;
  height: auto;
  margin: 0;
  padding: 10px 0;
  font: inherit;
  line-height: inherit;
  color: var(--dark);
}

/* Reset Selectric arrow button */
.hero .selectric .button {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0 0 0 14px;
  padding: 0;
  background: transparent;
  line-height: 1;
}

/* Triangle arrow */
.hero .selectric .button::after {
  content: "";
  position: static !important;
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  border: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid var(--hot);
  transform: translateY(2.5px);
}

/* Primary CTA */
.hero .btn {
  justify-content: center;
  margin: 0 0 15px;
  padding: 0 25px;
  background-color: var(--hot) !important;
  border: 0;
  border-radius: var(--button_radius);
  color: var(--dark) !important;
  text-decoration: none;
}

/* Dropdown items */
.hero .selectric-items ul,
.hero .selectric-items li {
  font-size: 0.85em;
}

.hero .selectric-items li.highlighted {
    background-color: var(--hot-lt);
}

.hero .selectric-open .selectric {
    background-color: var(--hot);
    border-radius: var(--button_radius) var(--button_radius) 0 0;
}

/* ========== Page Styles ========= */


main {
    background-color: #FFF;
    min-height: 80vh;
    overflow: hidden;
}

main#search_page {
    background-color: transparent;
}

main#location_page {
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease;    
}

main#location_page.locations-ready {
    opacity: 1;
    visibility: visible;
}

.col_fill_1 {
    /*align-items: stretch;    */
}

.col_fill_1 > div {
    margin-bottom: 15px;   
    /*height: 100%;*/
}

.col_fill_1 .wp-block-group:not(.wp-block-group .wp-block-group) {
    background-color: #FFF;
    border-radius: 20px;
    border: solid var(--green-dk) 2px;
    padding: 15px;
    align-items: stretch;  
    height: 100%;
}

.col_fill_1.xtrap .wp-block-group:not(.wp-block-group .wp-block-group) {
    padding: 30px;
}

.col_fill_1 .wp-block-group.reversed  {
    background-color: var(--green-dk) !important;
}

.col_fill_1 .wp-block-group.reversed :is(h3,p) {
    color: #FFF;
}

.col_fill_1 .wp-block-group > div {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.col_fill_1.flush_top .wp-block-group > div {
    justify-content: flex-start;
}

.col_fill_1 .wp-block-group img {
    height: 55px !important;
    width: auto !important;
}

.col_fill_1 .btn {
    margin-top: 0;
}

.wp-block-group__inner-container > .wp-bootstrap-blocks-button:last-child .btn:not(.button_group .btn) {
  margin-bottom: 0;
  /*border: solid red 3px;*/
}

.col_icon > div {
    margin-bottom: 10px;
}

.col_icon figure {
    flex: 0 0 60px;
    /*width: 50px;*/
/*    min-width: 50px;
    max-width: 50px;*/
    margin-right: 15px;
    /*border: solid 2px gray;*/
}

.col_icon img {
    width: auto !important;
    height: 55px !important;
}

body.block-editor-iframe__body .col_icon figure {
    max-height: 100px;
}

body.block-editor-iframe__body .col_icon img {
}

.col_icon.round figure,
.col_icon.round img {
    display: flex;
}

.col_icon.round figure {
    border-radius: 1000px;
    overflow: hidden;
    height: fit-content;
    background-color: #FFF;
    aspect-ratio: 1 / 1;   
    justify-content: center;
    max-width: 75px;
}

.col_icon.round img {
    aspect-ratio: 1 / 1;    
    object-fit: contain;
    background-color: #FFF;    
    padding: 5px;  
    align-self: center;  
    margin-bottom: 0;
}

.lines_between {
    border-block: 2px solid #ddd;
}

.bg_dark .lines_between {
    border-block: 2px solid var(--hot);
}

.lines_between h3.mid {
    font-size: 1.9em;
}

body.wp-admin .col_icon {
}

body.wp-admin .col_icon.round figure {
    max-width: 50px !important;
}

.img_flush_left img {
    border-radius: 0 40px 0 0;
}

.img_flush_left_2 img {
    border-radius: 0 0 40px 0px;
}

.img_flush_right img {
    border-radius: 0 0 0 40px;
}

.img_flush_right_2 img {
    border-radius: 40px 0 0 0;
}

.col_cares > div {
    font-family: var(--display);
    font-weight: 600;
}

.col_cares strong {
    font-size: 2em;
    font-weight: 500;
}

.col_cares p {
    margin-bottom: 0;
}

.col_xtra_p > div {
    padding: 15px;
    border-radius: 20px;
}

.stats_row_1 {
    margin-inline: 0;
}

.stats_row_1 > div {
    width: fit-content;
    max-width: fit-content;
    padding-inline: 25px;
}

.bg_style_1 {
    position: relative;
    padding: 15px;
}

.bg_style_1 * {
    position: relative;
    z-index: 10;
}

.bg_style_1::after {
    content: '';
    width: 100%;
    height: 50%;
    background-color: var(--green-md);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 40px 0 0;
}

.bg_style_1.flipped::after {
    border-radius: 40px 0 0 0;    
}

.row.pad30 > div {
    padding: 2vw 0;
}

.show_second_large {
    margin-bottom: 30px;
}

/* === Ratings === */

.star-ratings {
  unicode-bidi: bidi-override;
  color: #ccc;
  font-size: 25px;
  position: relative;
  margin: 0 0 20px;
  padding: 0;
  width: fit-content;
  font-family: system-ui, sans-serif;  
}
.star-ratings .fill-ratings {
  color: #e7711b;
  padding: 0;
  position: absolute;
  z-index: 1;
  display: block;
  top: 0;
  left: 0;
  overflow: hidden;
}
.star-ratings .fill-ratings span {
  display: inline-block;
}
.star-ratings .empty-ratings {
  padding: 0;
  display: block;
  z-index: 0;
}

.star-ratings p {
    font-size: 14px;
    color: #333;
    margin-top: 12px;
    text-align: center;
}
.single_star {
    color: #e7711b;    
    font-family: system-ui, sans-serif;  
    font-size: 25px;  
    width: fit-content;
    display: inline-block;  
}

/* == Total Reviews == */

.total_reviews > div {
    background-color: transparent !important;
    width: fit-content !important;
    align-self: center;
}

.total_reviews strong {
    font-family: var(--display);
    font-size: 3em;
    font-weight: 500;
}

.total_reviews figure {
    margin-bottom: 5px;
    width: 120px;
}

/* ======= Review Blocks ======= */

.reviews_block_1 .row > div:nth-child(2) {
    background-color: var(--green-md);
    border-radius: 0 0 0 40px;
}

.reviews_block_1.bg_flipped .row > div:nth-child(2) {
    background-color: var(--green-md);
    border-radius: 40px 0 0 0;
}

.reviews_block_1 .col_fill_1 .wp-block-group {
    border: none;
}

.reviews_block_1 h3 {
    color: var(--green-br);
}

.reviews_block_1 .col_reviews {
    padding-block: 3vw;
}

/* ======= Services Blocks ======= */

.services_row {
    margin-top: 2vw;
}

.services_row.col_icon.round figure {
    max-width: 100px;
    margin-inline: auto;
}

.services_row.col_icon.round img {
    height: 80px !important;
    padding: 8px;
}

.services_row :is(h3,p) {
    text-align: center;
}

/* ======= Slick Sliders ======= */

.dc_slick .slick-slide {
    padding-inline: 15px;
}

.slick-list {
  padding-right: 80px; /* shows next slide peeking in */
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

.slick-dots {
    position: relative;
    padding: 0 0 15px;
    background-color: #FFF;
    transform: translateY(-15px);
    /*bottom: -30px;*/
}

.bg_light .slick-dots {
    background-color: var(--light);
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--hot);
    opacity: .6;
}

.reviews_block_1 .slick-dots {
    background-color: transparent;
}

/* 1. Ensure parent has a defined height */
.dc_slick:not(.team.dc_slick) {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 2. Make slick containers inherit height */
.dc_slick .slick-list,
.dc_slick .slick-track {
  height: 100%;
}

/* 3. Use flexbox to stretch slides */
.dc_slick .slick-track {
  display: flex;
  align-items: stretch;
}

/* 4. Let slides fill height */
.dc_slick .slick-slide {
  height: auto; /* critical override */
  display: flex;
}

/* 5. Make inner slide content fill */
.dc_slick .slick-slide > div:not(.team div) {
  display: flex;
  flex: 1;
}

.team .slick-slide {
    flex-direction: column;
    /*justify-content: flex-end;*/
}

.team.extd .slick-slide {
    /*padding-inline: 35px;*/
}

/* ======= Fancy Box ======= */

.fancybox-hidden {
  display: none !important;
}

.fancybox-content .insurance-modal {
  display: block !important;
  height: auto !important;
  max-height: 75vh;
  overflow-y: auto;
  padding: 40px;  
}

.fancybox-content {
  height: auto !important;
  max-height: 85vh !important;
}


/* ========== WP Accordions ========== */

.wp-block-accordion-panel {
    overflow: hidden;
}

.wp-block-accordion-heading__toggle {
    cursor: pointer;
    display: flex;
    align-items: center;   /* 🔥 this fixes vertical centering */
    justify-content: space-between;  
}

.wp-block-accordion-item {
    /*background-color: var(--light);*/
    /*margin-bottom: 15px;*/
    /*border-radius: 10px;*/
    /*padding-inline: 15px;*/
    border-bottom: 1px solid var(--green-md);
}

.wp-block-accordion-item h3 {
    margin-bottom: 0;
    padding-block: 10px;
    line-height: 1.1;
}

.wp-block-accordion-item > h3 + * {
  padding-left: 30px; /* or margin-left */
}

/* Layout */
.wp-block-accordion-heading__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Icon container */
.wp-block-accordion-heading__toggle-icon {
  font-size: 0;                /* hide WP’s original + */
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Glyph */
.wp-block-accordion-heading__toggle-icon::before {
  content: "+";
  font-size: 28px;
  line-height: 1;
  display: block;
  /* subtle optical centering */
  transform: translateY(-2px);
  transition: transform 0.25s ease;
  color: var(--hot);
}

/* ========== Provider Search ========== */

.prov_search {
    /*background-color: lightgreen;*/
}

.prov_search h1 span {
    font-size: 60%;
    display: block;
    font-style: normal;
}

.prov_search input {
    height: 80px;
    width: 100%;
    padding-left: 70px;
    display: block;
    border-radius: 15px;
    border: solid 2px var(--dark);
    overflow: visible;
    background-image: url(https://upperlinehealth.com/wp-content/uploads/2023/05/magglass_gray.webp);
    background-repeat: no-repeat;
    background-size: auto 50%;
    background-position: 12px center;       
}

ul.ui-autocomplete {
    background-color: #59A193 !important;
/*  width: 200px !important;*/
}

ul.ui-autocomplete li {
    padding: 15px;
    cursor: pointer;
    color: #FFF;
    font-weight: bold;
    background-image: none;
}

ul.ui-autocomplete li:before {
    content: '';
}

ul.ui-autocomplete li:hover {
/*  background-color: yellowgreen;*/
}

.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
    z-index: 1;
}

.ui-helper-hidden-accessible{
    display:none !important;
}


/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: 1px solid #d3d3d3;
    background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;
    font-weight: normal;
    color: #555555;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
    color: #555555;
    text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border: 1px solid #999999;
    background: #dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;
    font-weight: normal;
    color: #212121;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited {
    color: #212121;
    text-decoration: none;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #aaaaaa;
    background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
    font-weight: normal;
    color: #212121;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: #212121;
    text-decoration: none;
}

.by_spec {
    padding: 30px;
    background-color: #FFF;
}

.by_spec ul {
    margin: 0 auto;
}

.by_spec ul li {
    text-align: center;
    background: none;
    padding-left: 0;
}

.prov_list a:not(.prov_list .breadcrumbs a) {
    padding: 15px;
    display: block; 
    border-top: solid 2px #DDD;
    text-decoration: none;
    line-height: 1.1;
    font-size: 0.8em;
    transition: color 0.2s;
}

.prov_list a:hover {
    /*color: var(--linkover);*/
}

.prov_list a.anchor {
    border-top: none;
}

.prov_list h1 {
    margin-bottom: 3vw;
}

/* ===== Care Partners ===== */

.partners_list .row {
    background-color: #FFF;
    border-radius: 20px;
    border: solid 3px var(--dark);
    margin-bottom: 30px;
}

.partners_list .row > div {
    padding: 30px;
}

.partners_list .row > div:first-child {
    padding-bottom: 0;
}


.partners_list img {
    margin-block: 15px;
}

/* ===== Provider Pages ===== */

.provider_page .prov_hero {
    background-color: var(--light);
    padding-block: 30px;
}

.provider_page .prov_hero img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 30px;
}

.provider_page .prov_hero h1 {
    font-size: 2em;
}

.provider_page .prov_hero h1 span {
    font-weight: normal;
}

.provider_page .prov_hero .title {
    font-size: 0.6em;
}

.provider_info .row > div:first-child {
    padding-block: 3vw;
}

.provider_info .row > div:last-child {
    padding: 3vw;
}

.provider_info h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

/* ===== Leadership ===== */

.row.team > div:not(.row.team .slick-list) {
    padding: 35px;
    text-align: center;
}

.row.team .team_info h3,
.row.team .team_info p {
    text-align: center;
}

.row.team .team_info h3 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 1em;
}

.row.team .team_info p {
    font-size: 0.85em;
    line-height: 1.1;
}

.row.team img.headshot {
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
/*    height: auto;*/
}

.row.team .linkedin {
    text-align: center;
    padding: 5px 20px;
    margin: 10px auto;
    display: block;
    background-color: var(--green-dk);
    border-radius: 100px;
    width: fit-content;
}

.row.team .linkedin img {
    max-width: 60px;
    height: auto;
    cursor: pointer;
}

.row.team .bio_link {
    font-size: 0.75em;
    margin-top: 0 !important;
    padding: 8px 12px 8px;
    text-align: center;
    font-weight: bold;
    /*border: solid lightgray 1px;*/
    width: 100%;
    display: block;
}

.team_bio {
    display: none;
}

.team_bio.fancybox-content {
    background-color: #FFF !important;
    border-radius: 12px;
    max-width: 850px !important;
}

.team_bio.fancybox-content p {
    line-height: 1.4 !important;
}

/* ========== Contact Page ========== */

.gen_contact .row > div:last-child {
    border-radius: 20px;
    padding: 3vw;
}

.gen_contact .row > div:last-child h3 {
    margin-bottom: 5px;
}

.contact-form iframe,
.jotform-form iframe,
iframe[src*="jotform"] {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

iframe[src*="jotform.com"],
iframe[src*="form.jotform.com"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 900px;
    border: 0;
    display: block;
    overflow: hidden;
}

.wp-block-embed,
.wp-block-html,
.contact_block,
.contact_block > div {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* ========== Footer ========== */

footer {
    background-color: var(--dark);
    color: #FFF;
    padding: 2vw;
    font-size: 0.8em;
}

footer a {
    color: #FFF;
}

footer .row {
    justify-content: space-between;
}

footer .row > div {
    max-width: fit-content;
}

footer .social_links figure {
    display: inline;
}

footer .social_links figure img {
    max-width: 25px;
    margin-left: 5px;
    height: auto;   
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7474%) hue-rotate(351deg) brightness(100%) contrast(100%);
}

footer .social_links figure img:hover {
    filter: brightness(0) saturate(100%) invert(83%) sepia(18%) saturate(759%) hue-rotate(122deg) brightness(94%) contrast(92%);
}

/* ========== Responsive Start ========== */

@media(min-width: 400px) {

    /* === Hero Select & Button === */

    .hero .button_group > div {
      display: flex;
      gap: 12px;
    }

}

@media(min-width: 576px) {

    .primary.row > div {
        /*flex: 1;*/
    }

    .col_icon.side > div {
        display: flex;
    }   

    /* ======= Services Blocks ======= */

    .services_row.col_icon.round figure {
        max-width: 60px;
        margin-inline: 0;
        margin-right: 15px;
    }

    .services_row.col_icon.round img {

    }

    .services_row :is(h3,p) {
        text-align: initial;
    } 

}

@media(min-width: 768px) {

    body {
        font-size: 20px;
    }

    h1, h2, h3, p {
        text-align: initial;
    }  

    p, li {
        /*line-height: 1.5;*/
    }  

    .btn.btn-primary {
    }

    .d_only {
        display: block;
    }

    /* === Header / Navigation === */

    header {
    }

    .m_only,
    .m_nav,
    .m_nav.open {
        display: none;
    }    

    .d_nav {
        display: block;
    }

    .top_nav {
        padding: 0;
    }

    .logo {
        position: absolute;
        transition: top 0.2s, transform 0.2s;
        top: 0;
    }

    .button_col {
        flex: none;
        width: 100%;
        display: block;
        align-self: center;
    }

    .logo img {
        width: 20vw;
        max-width: 220px;
        height: auto;
        cursor: pointer;
    }

    .nav_col {
    }

    .nav_col a {
        font-family: var(--display);
        font-weight: 700;
        font-style: normal;        
        color: #FFF !important;
        font-size: 2vw;        
        padding: 0 10px;
        position: relative;
        line-height: 1;
        text-align: center;    
        border: none;           
    }

    .primary {
        display: flex;
        padding: 15px 0 0;
        justify-content: flex-end;  
        /*border: solid yellow 2px;      */
    }

    .primary > div {
    }    

    .primary .nav_col {
        flex: 1;
        padding-inline: 20px;
        /*max-width: 800px;*/
    }

    .primary .nav {
        top: 0;
        background-color: transparent;
        position: relative;
        transform: none;
        transition: none;
    }

    .primary .nav.is-animating {
        transition: none;
    }    

    .primary .nav :is(nav,ul,li) {
        display: flex;
    }    

    .primary nav {
        width: 100%;
    }

    .primary .nav_col ul {
        justify-content: space-between;
    }   

    .primary .nav_col li {
        width: fit-content;
        padding: 0 1px;
        margin-bottom: 0;
    }  

    .primary .nav_col a {
        padding: 10px 0px 10px 10px;
        padding-bottom: 20px;
    }

    .primary .nav_col > li > a span {
        border-bottom: solid 2px var(--green-dk);
    }

    .primary .nav_col li.current-menu-ancestor > a span {
        border-bottom: solid 2px var(--hot);
    }    

    .primary .nav_col a:before {
        content: '';
        width: 1%;
        height: 1%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        opacity: 0.5;
        background-repeat: no-repeat;
        background-size: auto 70%;
        background-position: center;  
        z-index: -1; 
        transition: width 0.2s, height 0.2s;
    }

    .primary .nav_col a:hover:before {
        width: 100%;
        height: 100%;        
    }

    .primary .contact_button a {
        background-color: #F05C1B;
        color: #FFF !important;
    }

    /* link padding */
    .primary .contact_button a {
        padding: 10px 15px;
        border-radius: 0 1.2em 0 1.2em;
    }

    .primary svg {
        color: #FFF;
    }

    .secondary {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-left: auto;
        margin-right: 0;
        padding-right: 0;
        float: none;
    }

    .secondary .row {
        background-color: #fff;
        padding: 15px 0 15px 30px;
        display: flex;
        justify-content: flex-end;
        width: auto;
        margin-left: auto;
        margin-right: 0;
        border-radius: 0 0 0 20px;

    }

    .secondary .row > div {
        flex: 0 0 auto;
        width: fit-content;
    }

    .secondary li {
        margin-bottom: 0;
    }

    .secondary .row > div {
        width: fit-content;
    }

    .secondary .nav_col {
        flex: none;
    }

    .secondary .nav_col a {
        color: var(--dark) !important;
    }

    .secondary .search_col {
        max-width: 200px;
    }

    .secondary .search_col input,
    .secondary .search_col button {
        height: 25px;
        border: none;
    }

    .secondary .search_col input {

    }

    .secondary .search_col button {
        padding: 0;
        margin: 0;      
        background-color: #e8e8e8;
    }

    /* ======== Swap Dropdown Icon ======== */

    .wp-block-navigation__submenu-icon svg {
      display: none !important;
    }    

    .wp-block-navigation__submenu-icon {
      position: relative;
      width: 20px;
      height: 20px;
    }

    .wp-block-navigation__submenu-icon::before {
      content: "+";
      color: var(--hot);
      font-weight: bold;
      font-size: 18px;
      line-height: 1;
      display: block;
      text-align: center;
      position: relative;
      top: -3px;
    }    

    .wp-block-navigation__submenu-icon[aria-expanded="true"]::before {
      content: "−";
    }    

    /* ======== Subnav ======== */

    .primary .nav_col li ul {
        margin-left: -1.25em;
        border: solid 2px var(--green-dk) !important;
        border-top: none !important;
        padding-left: 0;
        border-radius: 0 0 10px 10px;
    }

    .primary .nav_col li li {
        background-color: transparent;
        width: 100%;
        padding: 0;
    }

    .primary .nav_col li li a {
        padding: 1em 1.5em !important;
        margin: 0;
        text-align: left;
        color: var(--dark) !important;
        /*border-top: 1px var(--light) solid;*/
        flex-direction: column;
        transition: background-color 0.2s, color 0.2s;
    }

    .primary .nav_col li li:first-child a {
        /*border-top: none;*/
    }

    .primary .nav_col li li:last-child a {
        border-radius: 0 0 8px 8px;
    }

    .primary .nav_col li li a:hover {
        background-color: var(--hot);
        color: var(--text) !important;
    }    

    .primary .nav_col li li.current-menu-item a {
        background-color: var(--hot-lt);
    }

    /* ======== Hero Areas ======== */

    .hero_1 {
        position: relative;
        padding: 0;
    }

    .hero_1 h2 {
        font-size: 3em;
    }

    .hero_1 > .wp-block-group {
        background-color: #FFF;
        width: 48%;
        z-index: 10;
        padding: 0;
        border-radius: 0 0 30px 0;
        min-height: 80%;
    }

    .hero_1 > .wp-block-group > div {
        padding: 3vw;
    }

    .hero_1 figure,
    .hero_1 img {
        height: 100% !important;
        width: auto !important;        
    }

    .hero_1 figure {
        text-align: right;
        position: absolute;
        top: 0;
        right: 0;
        transform: translateY(-30px);
    }

    .hero_1 img {
        max-width: 200%;
        border-radius: 0 0 0 30px;
    }    

    .hero_2 .row > div:last-child::after {
        border-radius: 0 0 0 30px;    
    }


    /* ======== Page Styles ======== */

    .pad1 {
        padding: 4vw !important;
    }

    .pad1.pb-0 {
        padding: 4vw 4vw 0 4vw !important;
    }

    .pad1.pb-0.pe-0 {
        padding: 4vw 0 0 4vw !important;
    }    

    .pad1.cta_block {
        padding: 8vw 4vw !important;
    }

    .row.pad30 > div {
        padding: 2vw;
    }    
  
    .row:not(.row:has(.show_second_large)) > div:first-child.img_col,
    .row:has(.show_second_large) > div:last-child.img_col {  
        padding-right: 3vw;
        padding-left: 0;
        /*background-color: red;*/
    }
  
    .row:not(.row:has(.show_second_large)) > div:last-child.img_col,
    .row:has(.show_second_large) > div:first-child.img_col {        
        padding-left: 3vw;
        padding-right: 0;
        /*background-color: green;*/
    }

    .hyphenate_med {
          overflow-wrap: break-word;
          word-break: normal;
          hyphens: auto;
    }

    .btn.centered,
    .btn.m_centered,
    .centered ~ .wp-bootstrap-blocks-button > .btn,
    .m_centered ~ .wp-bootstrap-blocks-button > .btn {
        width: fit-content;
        /*border: solid red 2px;*/
    }  

    .btn.m_centered,
    .m_centered ~ .wp-bootstrap-blocks-button > .btn {
        margin-inline: 0;
    }  

    .lines_between, .bg_dark .lines_between {
        border-block: none;        
    }

    .lines_between > div {
        border-right: 2px solid #ddd;
    }

    .bg_dark .lines_between > div {
        border-right: 2px solid var(--hot);
    }

    .lines_between > div:last-child {
        border-right: none;
    }      

    /* ===== Provider Pages ===== */

    .provider_page .prov_hero img {
        margin-bottom: 0px;
        width: 100%;
        height: auto;
    }    

    /* ======== Partners List ======== */

    .partners_list .row > div:first-child {
        padding-bottom: 30px;
    }

    /* ======= Services Blocks ======= */

    .services_row figure {
    }

    .services_row img {
    }    

    /* ======== Listing Links ======== */

    .list_links {
        text-align: center;
    }

    .list_links :is(p,li) {
        display: inline-block;
    }

    .list_links p {
        margin-bottom: 5px;
    }

    .list_links li {
        list-style-type: none;        
        margin-right: 10px;
        padding-left: 10px;
        border-left: solid var(--hot) 2px;
    }

    .list_links li:first-child {
        border: none;
    }

}

@media(min-width: 850px) {

    .home_hero .wp-block-group.button_group > div * {
        width: initial;
    }

}

@media(min-width: 950px) {

    /* === Header / Navigation === */

    header .col a {
        font-size: 0.8em;
    }

    .primary {
        padding: 15px 2vw 0;
    }

    .primary > div {
        width: fit-content;
    }

    .primary .nav_col a {
        padding: 30px 0px 30px 10px;
    }     

    .primary .button_col p a {
        width: fit-content;
        border-radius: var(--button_radius);
    }    

    h1,
    h1.leadin ~ h2:not(.hero_1 h2) {
        font-size: 3.5em;
    }      


}

@media(min-width: 992px) {

    .lg_only {
        display: block;
    }

    .primary {
    }

    .primary .nav_col ul {
        padding-left: 45px;
    }      

    /* === Heros === */

    .hero_1 {
        /*padding-top: 100px;*/
        /*background-color: blueviolet;*/
    }

    .hero_1 > .wp-block-group {
        position: relative;
        /*top: -100px;*/
        width: 50%;
    }

    .hero_1 > .wp-block-group > div {
        padding: 3vw;
    }

    .hero_1 h2,
    .hero_1 h1.leadin ~ h2 {
        /*font-size: 4vw;*/
    }

    .hero_1 h1.leadin ~ h2 .hyphenate {
        overflow-wrap: normal;
        word-break: none;
        hyphens: none;
    }

    .hero_1 figure {
        position: absolute;        
        text-align: right;
        top: 0px;
        left: 20vw;
        /*border: solid red 2px;*/
    }

    body.wp-admin .hero_1 figure {
        left: 0;
    }

    .hero_1 img {

    }

    /* === Slick === */

    .team.extd .slick-slide {
        padding-inline: 35px;
    }

    /* === Page Styles === */

    .show_second_large {
        order: 2;
        margin-bottom: 0;
    }

    .hyphenate_med {
          overflow-wrap: none;
          word-break: normal;
          hyphens: none;
    }    
    

}

@media(min-width: 1200px) {

    /* === Header / Nav === */

    .logo {
        top: 50%;
        transform: translateY(-50%);
    }   

    .primary {
        padding: 0 12px 0;
    } 

    .primary .button_col {
        margin-left: 2vw;
    }

    .slick-list:not(.col_reviews .slick-list, .slick_3 .slick-list) {
        padding: 0;
    }

    /* === Heros === */

    .hero_1 h1.leadin {
        /*font-size: 1em;*/
    }

    .hero_1 h2, .hero_1 h1.leadin ~ h2 {
        /*font-size: 3vw;*/
    }    

    .hero_1 figure {
        /*transform: none;*/
    }

    /* === Page Styles === */

    .bg_style_1.flipped::after {
        border-radius: 40px 40px 0 0;
    }


}

@media(min-width: 1300px) {
}

@media(min-width: 1600px) {

    /* === SITE HEROES === */   

    .hero_1 {
        padding-bottom: 5vw !important;
    }

    .hero_1 > div:first-child {
        width: 55%;
        min-height: 500px;
        transform: translatex(75px);
        border-radius: 0 0 30px 30px;    
        /*top: 100px;*/
        /*border: solid red 3px;*/
        /*width: 70%;*/
    }

    .hero_1 .wp-block-group {
        display: flex;
    }

    .hero_1 .wp-block-group > div {
        align-self: center;
    }

    .hero_1 figure {
        transform: none;
    }    

    .hero_1 img {
        width: 60% !important;
        height: auto !important;
        max-width: 2000px;
    }

    /* === HOME HERO === */    

    .hero_1.home_hero {
        padding-bottom: 12vw !important;
        /*border: solid red 3px;*/
    }

    .hero_1.home_hero h2 {
        /*padding-right: 1vw;*/
    }

    .hero_1.home_hero > div:first-child {
        width: 40vw;
        top: 4vw;
        left: 3vw;
        border-radius: 30px;
    }

    .hero_1.home_hero img {
        height: 100% !important;
        width: auto !important;
        /*max-width: 100%;*/
        /*width: 75vw !important;*/
        /*height: 90vh !important;*/
    }    

    /* ===== Site Styles ===== */    

    .img_flush_left img,
    .img_flush_right_2 img,
    .bg_style_1::after {
        border-radius: 40px 40px 0 0;
    }

    .img_flush_right img,
    .img_flush_left_2 img {
        border-radius: 0 0 40px 40px;
    }

    .col_icon figure {
        flex: 0 0 80px;
        margin-bottom: 30px;
    }  

    .col_icon img {
        height: 100px !important;
    }  

    .col_icon.round figure {
        max-width: 150px;
    }   

    .col_icon.round img {
        padding: 0px;
    }   

    .col_icon.round.side img {
        padding: 12px;
    }    

}

