:root {
    --gap: 2rem;
    --smallgap: 1rem;
    --white: #f4f4f9;
    --gray:#e1e3e9;
    --cta: #2f4550;
    --blue: #1197d5;
  }
  
  html {
    box-sizing: border-box;
  }
  
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  html {
    font-size: 20px !important;
  }
  
  p a {
    color: var(--dark-slate-grey);
    color: var(--blue);
  }
  
  p a:hover {
    color: black;
    text-decoration: none;
  }
  
  p {
    line-height: 1.4;
    margin-bottom: 1em;
  }
  
  /* .footer-link */
  #menu_footer-menu a {
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1rem;
    text-decoration: none;
  }
  
  #menu_footer-menu a:hover {
    color: var(--tennis-green);
    text-decoration: underline;
  }
  
  /* .flex-block */
  #menu_footer-menu ul {
    grid-column-gap: 4rem;
    grid-row-gap: 4rem;
    text-align: center;
    flex-direction: row;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: center;
    align-self: stretch;
    align-items: center;
    justify-items: stretch;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
  }
  
  /* .field-label */
  label {
    color: var(--white);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 400;
  }
  
  .container-dark *:not(a, .btn, button) {
    color: #f4f4f9;
  }
  
  /* .text-field, w-input */
  .text-field, .field :is(input[type=text], input[type=email], textarea, select) {
    background-color: rgba(241, 235, 228, 0.2); /* was var in original */
    color: #f4f4f9; /* var in og */
    letter-spacing: 0.1rem;
    border: 2px #000;
    border-radius: 6px;
    flex: 1;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    font-weight: 100;
    display: block;
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.42857143;
    vertical-align: middle;
    width: 100%;
  }
  
  .text-field:focus, .field :is(input[type=text], input[type=email], textarea, select):focus {
    border-color: #3898EC;
    outline: 0;
  }
  
  div#contact_form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  div#contact_form select {
    height: auto;
    text-transform: uppercase;
  }
  
  .div-block {
    max-width: 100%;
  }
  
  .nav-menu-wrapper, .tree_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
  }
  
  #menu_main-menu > ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
    display: flex;
  }
  
  #menu_main-menu > ul ul {
    display: none;
    padding: 0px;
    margin: 0px;
    list-style: none;
    position: absolute;
    background: var(--dark-slate-grey);
    padding: var(--gap);
    padding-bottom: 0.5rem;
  }
  
  #menu_main-menu > ul > li:hover ul {
    display: block;
    padding-top: 1rem;
    border-radius: 0 0 2rem 2rem;
  }
  
  #menu_main-menu li {
    position: relative;
  }
  
  #menu_main-menu a, #menu_main-menu .title_only {
    color: var(--ghost-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    /* padding: 16px 0.5rem 10px; */
    padding: 0.5rem 1rem;
    font-family: Sofia Sans Condensed, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 0.9rem;
    text-decoration: none;
    display: inline-block;
  }
  
  #menu_main-menu ul a:hover {
    color: var(--tennis-green);
    text-decoration: underline !important;
  }
  
  #menu_main-menu > ul ul {
    min-width: 14ch;
  }
  
  li.parent.fitness ul {
    min-width: 25ch !important;
  }
  
  .section.navbar.navbar {
    /*  padding-top:0.5rem;
     padding-bottom:0.5rem; */
  }
  
  #menu_main-menu li.member-login.external_link {
    transition: all 0.3s ease;
    color: white;
  }
  
  #menu_main-menu li.member-login.external_link:hover {
    background: var(--water-blue);
    border-radius: 2rem;
  }
  
  #menu_main-menu li.member-login.external_link a:hover {
    color: white !important;
    text-decoration: none !important;
  }
  
  .hero-logo {
    width: 7rem;
    height: 4rem;
    min-width: 4rem;
    object-fit: contain;
  }
  
  header.hero {
    position: relative;
  }
  
  header.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
  }
  header.hero.small {
    height: 50vh;
  }
  
  header.hero.imageabove {
    flex-direction: column;
    display: block;
  }
  header.hero.imageabove img {
    position: relative;
    height: 50vh;
  }
  header.hero.imageabove h1 {
    font-size: 3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--almost-black);
    text-shadow: none;
  }
  header.hero.imageabove #hero_copy {
    text-shadow: none;
    color: var(--almost-black);
    padding-bottom: 0px;
  }
  
  #hero_copy {
    color: white;
    z-index: 1;
    padding: 2rem;
    text-shadow: 0 0 10px black;
  }
  #hero_copy h1 {
    font-size: 6rem;
    line-height: 0.8em;
  }
  #hero_copy * {
    text-align: center;
  }
  
  #Contact-us {
    padding: 0px 25px;
  }
  
  .container {
    max-width: 1200px;
    padding: 0px 25px;
  }
  
  .footer-wrapper {
    gap: var(--gap);
    justify-content: center;
  }
  
  .front_end_edit_wrap {
    position: absolute;
    width: 10rem;
    background: white;
    border: 1px solid black;
    padding: 0.5rem;
    box-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0.9;
  }
  
  #fees_widget {
    padding-top: var(--gap);
    padding-bottom: var(--gap);
    background: var(--cta);
  }
  #fees_widget * {
    color: white;
  }
  #fees_widget h3 {
    margin-bottom: 1em;
  }
  #fees_widget p {
    margin-bottom: 0.5em;
  }
  
  .col4, .col5 {
    display: flex;
    gap: var(--gap);
  }
  .col4 *, .col5 * {
    flex: 1 1 0px;
  }
  
  @media (max-width: 800px) {
    .col4 {
      flex-direction: column;
    }
    .col4 * {
      text-align: center;
    }
  }
  @media (max-width: 1024px) {
    .col5 {
      flex-direction: column;
    }
    .col5 * {
      text-align: center;
    }
  }
  .banner_wrap {
    margin-top: var(--gap);
    margin-bottom: var(--gap);
  }
  
  .banner.layout_center * {
    text-align: center;
  }
  .banner.layout_center .contain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .banner.layout_right * {
    text-align: right;
  }
  
  .banner.layout_left .banner_wrap {
    flex-direction: row-reverse;
  }
  
  img {
    height: auto;
  }
  
  .banner img {
    height: 50ch;
  }
  
  .banner.has_image .banner_wrap {
    display: flex;
    gap: var(--gap);
    align-items: center;
  }
  
  .banner.has_image .banner_wrap > * {
    width: 50%;
  }
  
  section {
    background: var(--white);
  }
  
  section:nth-of-type(even) {
    background: var(--gray);
  }
  
  .contain {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
  }
  
  section.banner {
    overflow: hidden; /* collapse margins begone */
  }
  
  section#Contact-us {
    padding-top: var(--gap);
    padding-bottom: var(--gap);
  }
  
  a.cta, a.button {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--cta);
    padding: 0.25em 1em;
    border-radius: calc(0.5em + 0.5rem);
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  a.cta:hover, a.button:hover {
    background: var(--blue);
    color: white;
  }
  
  * {
    text-wrap: pretty;
  }
  
  #Contact-us img, img.rounded, .banner img {
    border-radius: 1rem;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .form {
    align-items: flex-end;
  }
  
  .w-form {
    margin: 0px;
    margin-left: var(--gap);
  }
  
  section.buckets {
    padding-top: var(--gap);
    padding-bottom: var(--gap);
  }
  section.buckets .bucket-content {
    padding: 1rem;
    border-radius: 2rem;
    background: white;
    border-radius: 0 0 2rem 2rem;
    text-align: center;
  }
  section.buckets .col2 .bucket {
    width: 50%;
  }
  section.buckets .bucket {
    /* drop shadow filter */
    filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.2));
    width: 33%;
    background: white;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
  }
  section.buckets .bucket * {
    text-align: center;
  }
  section.buckets .bucket a {
    margin-top: auto;
    margin-left: var(--gap);
    margin-right: var(--gap);
    margin-bottom: var(--gap);
    align-self: center;
  }
  section.buckets .bucket p {
    margin: var(--gap);
  }
  section.buckets .bucket h3 {
    margin: var(--gap);
    margin-top: 0.5;
    margin-bottom: 0em;
  }
  
  .bucket-image {
    aspect-ratio: 16/9;
    border-radius: 2rem 2rem 0 0;
  }
  
  .bucket-image img {
    aspect-ratio: 16/9;
    display: block;
    object-fit: cover;
    width: 100%;
    border-radius: 2rem 2rem 0 0;
  }
  
  .buckets_wrap {
    display: flex;
    gap: var(--gap);
  }
  
  /* animate up slightly when bucket comes into view using class .bucket-visible */
  .bucket {
    opacity: 0;
    transform: translateX(1rem);
    transition: all 1s ease;
  }
  
  .bucket-visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  #bucket2 {
    transition-delay: 250ms;
  }
  
  #bucket3 {
    transition-delay: 500ms;
  }
  
  .staff_tag_title {
    margin-bottom: 1.5em;
    margin-top: 1.5em;
  }
  
  .center {
    text-align: center;
  }
  
  /* 800px and below breakpoint */
  @media (max-width: 800px) {
    .buckets_wrap {
      flex-direction: column;
    }
    .bucket-image {
      aspect-ratio: 16/9;
      border-radius: 2rem 2rem 0 0;
    }
    .bucket-image img {
      aspect-ratio: 16/9;
      display: block;
      object-fit: cover;
      width: 100%;
      border-radius: 2rem 2rem 0 0;
    }
    .buckets_wrap .bucket {
      width: 100% !important;
    }
  }
  .footer-brand img {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
  }
  
  button.close.delete {
    display: none;
  }
  
  .alert p {
    margin: 0;
    text-align: center;
    font-weight: bold;
  }
  
  .alert.notification.is-success {
    padding: 2rem;
    background: var(--tennis-green);
    color: black;
  }
  
  .multibuckets {
    padding-top: var(--gap);
    padding-bottom: var(--gap);
  }
  
  .multibuckets_wrap {
    display: grid;
    grid-template-columns: 31% 31% 31%;
    gap: var(--gap);
  }
  .multibuckets_wrap a {
    text-decoration: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.2));
  }
  .multibuckets_wrap a:hover {
    transform: translateY(-0.5rem);
    filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.5));
  }
  .multibuckets_wrap h3 {
    margin: 0px;
    padding: 1em;
    font-size: 1.25rem;
    border-radius: 0 0 2rem 2rem;
    color: white;
    font-weight: regular;
    text-align: center;
    text-decoration: none;
    background: var(--cta);
  }
  
  #staff_listing {
    padding-top: var(--gap);
    padding-bottom: var(--gap);
  }
  
  .tag_staff_wrap {
    display: flex;
    gap: var(--gap);
    flex-wrap: wrap;
    justify-content: center;
  }
  .tag_staff_wrap .staff {
    border-radius: 2rem;
    background: white;
    overflow: hidden;
    filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.5));
    width: 31.01%;
    max-width: 20rem;
    position: relative;
  }
  .tag_staff_wrap .staff .staff_bio {
    /* position off bottom */
    width: 100%;
    position: absolute;
    bottom: 0px;
    padding: 1em;
    background: rgba(0, 0, 0, 0.9);
    background-color: var(--almost-black);
    color: white !important;
    transform: translateY(100%);
    transition: all 0.3s ease;
    overflow: auto;
    max-height: 20em;
  }
  .tag_staff_wrap .staff .staff_bio p:last-of-type {
    margin-bottom: 0px;
  }
  .tag_staff_wrap .staff .staff_bio span {
    color: white !important;
    font-size: 1rem !important;
  }
  .tag_staff_wrap .staff h3, .tag_staff_wrap .staff h4 {
    margin-left: var(--gap);
    margin-right: var(--gap);
    text-align: center;
  }
  .tag_staff_wrap .staff:hover .staff_bio {
    transform: translateY(0%);
  }
  .tag_staff_wrap .staff_image {
    display: block;
    aspect-ratio: 1/0.8;
    object-fit: cover;
    width: 100%;
  }
  
  @media (max-width: 900px) {
    .tag_staff_wrap {
      flex-direction: column;
      padding-left: 1rem;
      padding-right: 1rem;
      align-items: center;
    }
    .tag_staff_wrap .staff {
      width: 100%;
    }
  }
  main:has(p) {
    margin-top: var(--gap);
    margin-bottom: var(--gap);
  }
  
  /* change grid layout below 1024px */
  @media (max-width: 1024px) {
    #Contact-us .w-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 45px;
      max-width: 720px;
    }
    #Contact-us .w-container img {
      display: none;
    }
    #Contact-us .w-container .w-form {
      margin: 0;
      width: 100%;
      align-items: center;
    }
    #Contact-us .w-container .form.container-dark#email-form {
      width: 100%;
    }
  }
  /* change grid layout below 800px */
  @media (max-width: 900px) {
    .multibuckets_wrap {
      grid-template-columns: auto auto;
    }
    .form {
      align-items: center;
      flex-direction: column;
    }
    .banner.layout_right * {
      text-align: center;
    }
    .banner.has_image .banner_wrap > * {
      width: 100%;
    }
  }
  /* override webflow */
  @media screen and (max-width: 991px) {
    .navbar #menu_main-menu ul {
      display: none;
    }
    .menu-button {
      margin-left: auto;
    }
  }
  /* change grid layout below 600px */
  @media (max-width: 600px) {
    .multibuckets_wrap {
      grid-template-columns: auto;
    }
    #hero_copy h1 {
      font-size: clamp(3rem, 0.5rem + 8vw, 6rem);
    }
    .banner.has_image .banner_wrap {
      display: block;
      width: 100%;
      text-align: center;
      font-size: clamp(1rem, -1.5rem + 8vw, 3rem);
    }
    .banner.has_image .banner_wrap .banner_content, .banner.has_image .banner_wrap .banner_image {
      width: 100%;
    }
    #Contact-us .w-container {
      padding: 0;
    }
    #menu_footer-menu ul {
      /* flex-wrap: wrap; */
      grid-column-gap: 10vw;
      grid-row-gap: 1rem;
    }
  }
  @media screen and (max-width: 479px) {
    #Contact-us .w-container {
      align-items: center;
      justify-content: center;
      width: 100%;
    }
    #Contact-us .w-container .div-block {
      width: 100%;
    }
    #Contact-us .w-container .form {
      max-width: 100%;
      margin: 0;
    }
    .navbar .container {
      display: flex;
    }
    .form.banner_wrap {
      max-width: 100%;
    }
    footer * {
      text-align: center !important;
      width: 100%;
    }
    footer * .w-layout-hflex.flex-block {
      margin-left: 0;
      margin-right: 0;
    }
    footer * #menu_footer-menu ul {
      list-style: none;
      margin-left: 0;
      flex-wrap: wrap;
      padding-left: 0;
      margin-left: 0;
      margin-right: 0;
    }
    footer * .container {
      padding: 0;
    }
    footer * .footer-social-block {
      display: flex;
      max-width: 6rem;
      align-self: center;
    }
    footer * .footer-social-block img {
      width: 1.5rem;
    }
  }
  h1 {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
  }
  
  #mobile_nav {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100dvh;
    flex-direction: column;
    z-index: 999;
    background: var(--dark-slate-grey);
  }
  #mobile_nav * {
    color: white;
    text-decoration: none;
  }
  #mobile_nav .tree_wrap {
    align-items: center;
    display: block;
  }
  #mobile_nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  #mobile_nav ul a {
    text-decoration: underline;
  }
  
  #mobile_nav.mobile_nav_visible {
    display: flex;
  }
  
  /* override webflow */
  nav#menu_mobile-menu {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    height: calc(100vh - 10rem); /* was 6rem before mobile search added */
    top: 7rem;
    overflow: auto;
    position: relative;
    padding-bottom: 2rem;
    margin-left: 20vw;
  }
  nav#menu_mobile-menu li.parent ul {
    margin-top: 1rem;
  }
  
  .w-nav-overlay {
    pointer-events: none;
  }
  
  footer a {
    color: white;
  }
  
  .alert-bar {
    background: var(--blue);
    padding: 1em;
  }
  .alert-bar * {
    color: white;
    text-align: center;
  }
  .alert-bar p:last-of-type {
    margin-bottom: 0px;
  }
  
  @media screen and (max-width: 768px) {
    .navbar .navbar {
      width: 100%;
    }
    .navbar .container {
      width: 100%;
    }
    body:has(.menu-button.w--open) {
      overflow-y: hidden;
    }
    body:has(.menu-button.w--open) #mobile_nav {
      display: flex;
    }
  }
  @media screen and (max-width: 530px) {
    .staff_bio p, .tag_staff_wrap .staff .staff_bio p span {
      font-size: 15px !important;
    }
    .tag_staff_wrap .staff .staff_bio span {
      font-size: 15px !important;
    }
  }
  @media screen and (min-width: 800px) {
    .heromarkup {
      font-size: 2em;
    }
  }

  #classes iframe {
    width: 800px;
    max-width: 100%;
    min-height: 20rem;
    height: 50vh;
  }

  .search-icon {
    display:inline-block;
    height:auto;
    width:1.0rem;
    color:white;
  }

  
  
  .search-form {
    position:absolute;
    right:1rem;
    display: none;
  }
  .search-field-wrapper {
    display: none;
    align-items: center;
    justify-content: center;
  }
  .search-form {
    display:none;
  }
  body.search_active .search-field-wrapper, body.search_active .search-form {
    display: flex;
  }

  .search-field-wrapper button {
    height:38px;
  }
  .search-field-wrapper input {
    margin-bottom:0px;
  }
  @media screen and (max-width: 992px) {
    .search-form, .search-button-wrapper {
      display:none !important;
    }
    #mainsearch input {
      width:100% !important;
      min-width:auto !important;
    }
  }
  #mainsearch {
    display:flex;
  }
  #mainsearch input {
    display: inline-block;
    width: auto;
    min-width:20em;
    margin:0px;
  }
  #mainsearch button {
    height:38px;
  }

  form.search-form-mobile.w-clearfix {
    /* position: absolute; */
    margin-top: 6rem;
}

.search-field-wrapper-mobile {
  display: flex;
  padding-left: 2rem;
  padding-right: 2rem;
  height: 38px;
}
form.search-form-mobile.w-clearfix {
  /* position: absolute; */
  margin-top: 0rem;
  transform: translateY(108px);
}
form.search-form-mobile .search-field-wrapper-mobile .search-field {
  color:black !important;
}