/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/


.centre-dropdown-wrapper {
  position: relative;
  display: block;
  width: 100%;
  font-family: sans-serif;
  margin-bottom: 15px;
}

.centre-dropdown-button {
  background: white;
  color: #2f3b82;
  /* dark blue */
  font-weight: 500;
  font-size: 25px;
  border: none;
  border-radius: 999px;
  padding: 20px 30px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  width: 100%;
}

.centre-dropdown-button .arrow {
  margin-left: 10px;
  font-size: 25px;
  line-height: 25px;
  transition: transform 0.3s ease;
}

.centre-dropdown-button.active .arrow {
  transform: rotate(180deg);
}

.centre-dropdown-list {
  position: absolute;
  bottom: 110%;
  /* instead of top: 110% */
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.1);
  /* shadow above */
  margin: 0;
  padding: 10px 0;
  list-style: none;
  width: 100%;
  display: none;
  z-index: 999;
}

.centre-dropdown-list li {
  padding: 8px 20px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
}

.centre-dropdown-list li:hover {
  background: #f2f2f2;
}

.centre-dropdown-list li a {
  color: #2f3b82;
  text-decoration: none;
  display: block;
}


/* bwm Cards */
.bwm-big-card {
  border-radius: 20px;
}

.bwm-big-card::after {
  content: url('https://leep176.sg-host.com/wp-content/uploads/2025/07/card-arrows.svg');
  position: absolute;
  right: 15px;
  bottom: 15px;
  height: 53px;
}

.bwm-big-card .bwm-card-link {
	font-weight: 700;
	font-size: 30px;
	opacity: 1;
	display: flex;
	align-items: center;
	line-height: 30px;
	max-width: calc( 100% - 75px );
  bottom: 0px;
	position: relative;
  transition: all .3s ease;
  height: 60px;
}

.bwm-big-card .wpex-card-details {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.bwm-big-card .wpex-card-details .bwm-card-excerpt {
  bottom: -200px;
	max-width: calc( 100% - 75px );
  position: relative;
  height: 0;
  transition: all .3s ease;
}

.bwm-big-card.hovered .wpex-card-details .bwm-card-excerpt {
  height: auto;
  bottom: 0
}


/* .bwm-big-card *** {
  background-image:linear-gradient(to bottom, rgba(70,100,149,0) 0%, rgba(70,100,149,.15) 60%, rgba(70,100,149,1) 100%);
}

.bwm-big-card:hover *** {
  background-image:linear-gradient(to bottom, rgba(70,100,149,0) 0%, rgba(70,100,149,.15) 60%, rgba(70,100,149,1) 100%);
} */


#opening-hours .tablepress thead {
  background: linear-gradient(90deg, #476695 0%, #51c2ad 100%);
}

#opening-hours .tablepress thead tr,
#opening-hours .tablepress thead th {
  background: transparent;
  text-align: center;
  color: #fff;
}

#opening-hours .tablepress tbody td {
  text-align: center;
  color: #476695;
}


.gform_wrapper form .gform_body .gform_page .gform_page_footer input.gform_next_button {
  background-color: #456594;
}

.gform_wrapper form .gform_body .gform_page .gform_page_footer input[type="submit"]#gform_submit_button_6 {
  background-color: #456594;
}

/* Hide the native radio button */
#gform_wrapper_6 .gfield_radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style the label and create space for the custom circle */
#gform_wrapper_6 .gfield_radio .gchoice label {
    position: relative;
    padding-left: 30px; /* space for circle */
    cursor: pointer;
    display: inline-block;
}

/* Outer circle */
#gform_wrapper_6 .gfield_radio .gchoice label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: 0.2s;
}

/* Inner circle when checked */
#gform_wrapper_6 .gfield_radio .gchoice input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #456594; /* selected color */
    border-radius: 50%;
}

/* Hover effect */
#gform_wrapper_6 .gfield_radio .gchoice label:hover::before {
    border-color: #888;
}


#gform_wrapper_6 .gf_progressbar_title,
#gform_wrapper_6 .gfield_label {
  font-size: 20px;
}

.membershipsFilterBar select {
  background-color: #fff;
  border-radius: 999px;
  border: none;
  color: #456695;
  font-weight: 700;
  padding: 12px;
  width: 100%;
  margin-bottom: 10px;
}

@media( min-width: 992px ) {
  .membershipsFilterBar select:last-of-type {
    margin-bottom: 0px;
  }
}

@media( min-width: 1200px ) {
  .membershipsFilterBar select {
    min-width: 300px;
    margin-bottom: 0;
    width: auto;
  }
}

.membershipsFilterBar #membershipCategoryButtons {
  display: flex;
  gap: 5px;
  align-items: center;
}

@media( max-width: 575px ) {
  .membershipsFilterBar #membershipCategoryButtons button {
    font-size: 15px;
  }
}

.membershipsFilterBar .bar_flex_wrapper {
  flex-direction: column;
}

@media( min-width: 992px ) {
  .membershipsFilterBar .bar_flex_wrapper {
    flex-direction: row;
  }
}

#membershipsGrid .membership_card_header {
  background-color: #456695;
}

@media( min-width: 1400px ) {
  #membershipsGrid .membership_card_header {
    padding: 30px !important;
  }
}

#membershipsGrid .membership_card_lower
#membershipsGrid .membership_card_lower .membership_divider {
  border-color: #456695;
}

#membershipsGrid .membership_card_lower .whats_included,
#membershipsGrid .membership_card_lower .membership_cost {
  color: #456695;
}

#membershipsGrid .membership_category-12 .membership_card_header {
  background-color: #b11176;
}

#membershipsGrid .membership_category-12 .membership_card_lower,
#membershipsGrid .membership_category-12 .membership_card_lower .membership_divider {
  border-color: #b11176;
}

#membershipsGrid .membership_category-12 .membership_card_lower .whats_included,
#membershipsGrid .membership_category-12 .membership_card_lower .membership_cost {
  color: #b11176;
}


#membershipsGrid .wpex-card-inner,
#membershipsGrid .wpex-card-inner .membership_card_lower {
  height: 100%;
}


@media( max-width: 1199px ) {
  #membershipsGrid .wpex-card-inner .membershipCardTerms {
    margin-top: 15px;
  }
}

@media( max-width: 767px ) {
    #membershipsGrid .wpex-card-inner .membership-bullets ul {
      display: block;
    }    
}

#membershipsGrid .wpex-card-inner .membership-bullets ul {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}