/*
Theme Name: 3 Moons Studio Child Theme
Theme URI: https://3moons.io/
Version: 1.0
Description: This is a customized theme that styles your website.
Author: 3 Moons Studio
Author URI: https://3moons.io/
template: bb-theme
*/



@font-face {
    font-family: 'FONTSPRING DEMO - Organetto';
    src: url('fonts/FONTSPRINGDEMO-OrganettoRegular.eot');
    src: url('fonts/FONTSPRINGDEMO-OrganettoRegular.eot?#iefix') format('embedded-opentype'),
        url('fonts/FONTSPRINGDEMO-OrganettoRegular.woff2') format('woff2'),
        url('fonts/FONTSPRINGDEMO-OrganettoRegular.woff') format('woff'),
        url('fonts/FONTSPRINGDEMO-OrganettoRegular.ttf') format('truetype'),
        url('fonts/FONTSPRINGDEMO-OrganettoRegular.svg#FONTSPRINGDEMO-OrganettoRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FONTSPRING DEMO - Organetto';
    src: url('fonts/FONTSPRINGDEMO-OrganettoBoldRegular.eot');
    src: url('fonts/FONTSPRINGDEMO-OrganettoBoldRegular.eot?#iefix') format('embedded-opentype'),
        url('fonts/FONTSPRINGDEMO-OrganettoBoldRegular.woff2') format('woff2'),
        url('fonts/FONTSPRINGDEMO-OrganettoBoldRegular.woff') format('woff'),
        url('fonts/FONTSPRINGDEMO-OrganettoBoldRegular.ttf') format('truetype'),
        url('fonts/FONTSPRINGDEMO-OrganettoBoldRegular.svg#FONTSPRINGDEMO-OrganettoBoldRegular') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


/*h1, h2, h3, h4, h5, h6 {
  font-family: 'FONTSPRING DEMO - Organetto';
  font-weight: normal;
  font-style: normal;
  /*text-transform: uppercase;*/
}
*/

/* Add your custom styles here... */
/* accessability css */
.fl-rich-text a {
  text-decoration: underline;
}
.fl-builder-content img:not(.fl-slideshow-image-img) {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.fl-builder-content a:hover img:not(.fl-slideshow-image-img) {
    opacity: 0.75;
}
/* helper classes */
.padding-large > .fl-row-content-wrap,
.padding-large .fl-callout-content {
  padding-top:  150px;
  padding-bottom: 150px;
}
.padding-medium > .fl-row-content-wrap,
.padding-medium .fl-callout-content {
  padding-top:  80px;
  padding-bottom: 80px;
}
.padding-small > .fl-row-content-wrap {
  padding-top:  40px;
  padding-bottom: 40px;
}


.max-500 {
  max-width: 500px;
  margin: auto;
}
.max-600 {
  max-width: 600px;
  margin: auto;
}
.max-700 {
  max-width: 700px;
  margin: auto;
}
.max-800 {
  max-width: 800px;
  margin: auto;
}
.max-900 {
  max-width: 900px;
  margin: auto;
}
.max-1000 {
  max-width: 1000px;
  margin: auto;
}
.max-1100 {
  max-width: 1100px;
  margin: auto;
}
.max-1200 {
  max-width: 1200px;
  margin: auto;
}
.max-1300 {
  max-width: 1300px;
  margin: auto;
}
.max-1400 {
  max-width: 1400px;
  margin: auto;
}

/* native full width video player */
.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
    width: 100% !important;
    height: 100% !important;
}
.mejs-container {
    padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
    max-width: 100% !important;
}
video.wp-video-shortcode {
    position: relative;
}
.mejs-mediaelement {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.mejs-controls {
    display: none;
}
.mejs-overlay-play {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    height: auto !important;
}



/* flex children match height .give-children-equal-height */
/* put this class on the column   */
.fl-col-group-equal-height .give-children-equal-height .fl-col-content {
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
.fl-col-group-equal-height .give-children-equal-height .fl-module-info-box {
    display: flex;
}
.fl-col-group-equal-height .give-children-equal-height .fl-module-info-box .fl-module-content {
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.fl-col-group-equal-height .give-children-equal-height .fl-module-info-box a {
    overflow-wrap: break-word;
    word-break: break-all;
}



/* Remove the thick blue focus ring when clicked with a mouse,
   but keep an accessible outline for keyboard users. */
.fl-accordion .fl-accordion-button:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

/* Give keyboard users a subtle, on-brand focus style (optional). */
.fl-accordion .fl-accordion-button:focus-visible {
  outline: 2px solid rgba(0,0,0,.25);       /* tweak color/thickness */
  outline-offset: 2px;
  box-shadow: none;
}

/* Kill any default borders that create the “white box” look */
.fl-accordion .fl-accordion-button,
.fl-accordion .fl-accordion-item,
.fl-accordion .fl-accordion-item .fl-accordion-content,
.fl-accordion .fl-accordion-item .fl-accordion-button {
  border: none !important;
  box-shadow: none !important;
}

/* Some themes add a focus ring to links inside the button */
.fl-accordion .fl-accordion-button a:focus {
  outline: none !important;
  box-shadow: none !important;
}



/* ==========================================================================
  Custom Global Styles
========================================================================== */
a,
header a *,
.woocommerce-page .woocommerce-MyAccount-navigation ul li a,
.woocommerce-page .woocommerce-MyAccount-navigation ul li a:after,
.fl-post-grid-image a:hover img,
footer a {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

/* carousel */
.uabb-image-carousel .slick-track {
  display: flex;
  flex-wrap: wrap;
}
.uabb-image-carousel-item {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
}

/* Reduce vertical spacing between Gravity Form fields */
body .gform_wrapper .gfield {
  margin-bottom: 10px !important; 
}
body .gform_wrapper .gform_fields {
  row-gap: 0px !important; /* New standard */
  grid-row-gap: 0px !important; /* Legacy fallback */
}
/* Add space between Gravity Forms checkboxes and their labels */
/* Add space between Gravity Forms checkboxes and their labels */
/* Add space between checkbox and label globally */
body .gform_wrapper input[type="checkbox"] + label {
  margin-left: 0.5em; /* adjust as needed */
  padding-top: 2px;
}

/* Remove native browser arrow from Gravity Forms select fields */
body .gform_wrapper .gfield select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: transparent !important;
  background-image: inherit; /* keeps the one your theme adds */
  background-repeat: no-repeat;
}
.uabb-gf-style .ginput_container_select:after {
    content: "\f078";
    font-family: 'Font Awesome 5 Free';
    font-weight: 800;
    font-size: 0.9em;
    line-height: 1;
    top: 50%;
    right: 1em;
}



/* Horizontal align email field and submit button for newsletter form */
/* Layout the field and button side-by-side, bottom aligned */
#gform_wrapper_5 .gform_fields {
  display: flex;
  align-items: flex-end; /* ⬅️ changed from center to bottom align */
  gap: 1rem;
  width: 100%;
}

/* Let the field stretch */
#gform_wrapper_5 .gfield {
  flex: 1 1 auto;
  margin-bottom: 0;
}

/* Input stretches to fill its container */
#gform_wrapper_5 input[type="email"],
#gform_wrapper_5 input[type="text"] {
  width: 100%;
  height: 48px; /* match button height */
  padding: 0.5rem 1rem;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Button aligns to input */
#gform_wrapper_5 .gform_footer {
  margin: 0;
}

#gform_wrapper_5 .gform_footer input[type="submit"] {
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1rem;
}


@media (min-width: 768px) {
  /* Shared pill styles */
  header .cta a {
    display: inline-block;
    padding: 0.4em 1.2em;
    border-radius: 999px;
    color: #fff !important;
    transition: background 0.3s ease, color 0.3s ease;
  }

  /* Orange button for Donate */
  header .cta-donate a {
    background-color: #a94322; /* site orange */
  }

  header .cta-donate a:hover {
    background-color: #234b96;
  }

  /* Red button for Volunteer */
  header .cta-volunteer a {
    background-color: #7b0708; /* site red */
  }

  header .cta-volunteer a:hover {
    background-color: #234b96;
  }
}

.fl-menu li::marker {
  content: "";
}


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