/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 30.0
Description: Custom designed theme from KO Marketing.
Author: Kris LaGreca
Author URI: http://www.komarketingco.com
template: bb-theme
*/
/* VARIABLES */
:root {
    /* Core Brand Colors */
    --bb-color-orange: #f37125;
    --bb-color-ashy-gray: #c7c8ca;
    --bb-color-raisin-black: #231f20;
    --bb-color-off-white: #f2f3f3;
    --bb-color-white: #ffffff;
}
/* GLOBAL STYLES & TYPOGRAPHY */

/* General Body Styles */
body, body.fl-builder  {
    margin:0;
    padding:0;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--bb-color-raisin-black);
    background-color: var(--bb-color-off-white);
}
html {
    font-size: 16px;
}

/* Base styles (mobile-first) */
h1, .fl-builder h1 {
  font-size: 2.441rem;
  line-height: 1.2;
}
h2, .fl-builder h2 {
  font-size: 1.953rem;
  line-height: 1.25;
}
h3, .fl-builder h3 {
  font-size: 1.563rem;
  line-height: 1.3;
}
h4, .fl-builder h4 {
  font-size: 1.25rem;
  line-height: 1.35;
}
h5, .fl-builder h5 {
  font-size: 1.125rem;
  line-height: 1.4;
}
h6, .fl-builder h6 {
  font-size: 1rem;
  line-height: 1.5;
}

/* Medium screens (≥768px) */
@media (min-width: 768px) {
  h1, .fl-builder h1 {
    font-size: 3.052rem;
  }
  h2, .fl-builder h2 {
    font-size: 2.441rem;
  }
  h3, .fl-builder h3 {
    font-size: 1.953rem;
  }
  h4, .fl-builder h4 {
    font-size: 1.563rem;
  }
  h5, .fl-builder h5 {
    font-size: 1.25rem;
  }
  h6, .fl-builder h6 {
    font-size: 1rem;
  }
}

/* Large screens (≥1024px) */
@media (min-width: 1024px) {
  h1, .fl-builder h1 {
    font-size: 3.615rem;
  }
  h2, .fl-builder h2 {
    font-size: 2.852rem;
  }
  h3, .fl-builder h3 {
    font-size: 2.241rem;
  }
  h4, .fl-builder h4 {
    font-size: 1.853rem;
  }
  h5, .fl-builder h5 {
    font-size: 1.25rem;
  }
  h6, .fl-builder h6 {
    font-size: 1rem;
  }
} 

.fl-screen-reader-text {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 10px 15px;
    background: var(--bb-color-off-white) !important;
}

/* Links */
a:not(:has(img)) {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: color 0.3s ease, background-size 0.3s ease-in-out;
}
a:not(:has(img)):hover, a:not(:has(img)):focus {
    background-size: 100% 2px;
    text-decoration: none;
}
a:has(img), i, a > img {
    text-decoration: none;
    background-image: none;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
a:has(img):hover, i:hover, a:hover img {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
}

/* COMPONENTS */

/* Buttons */
.fl-button,
button,
.fl-module-button a,
.uabb-button-wrap a.uabb-button,
.gform_wrapper input[type="submit"],
.gform_wrapper input[type="button"],
#myform .gform_wrapper input[type=submit],
#myform .gform_wrapper input[type=button],
#myform .gform_wrapper button[type=button],
.woocommerce-page button[type="submit"],
.woocommerce-page a.wc-block-components-button {
  font-family: var(--font-button);
  font-size: 1.2rem;
  letter-spacing: 1px;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 0px;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.3s ease;
  word-wrap: normal;
}

.fl-button:hover,
button:hover,
.fl-module-button a:hover,
.uabb-button-wrap a.uabb-button:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper input[type="button"]:hover,
#myform .gform_wrapper input[type=submit]:hover,
#myform .gform_wrapper input[type=button]:hover,
#myform .gform_wrapper button[type=button]:hover,
.woocommerce-page button[type="submit"]:hover,
.woocommerce-page a.wc-block-components-button:hover {
  border: none;
  transition: background-color 0.3s ease;
}
.fl-builder .fl-builder-content a.fl-button:hover i.fl-button-icon-after {
    margin-right:8px;
}

/* LAYOUT */

/* Top Bar */
#topbar {
    font-size: 0.8rem;
    justify-content: space-between;
    text-align: right;
}
#topbar .fl-module-html, #topbar .fl-row-content-wrap
 {
    padding:5px;
    margin:0px;
 }

/* Main Header */
#mainheader {
    justify-content: space-between; /* Pushes logo left, nav right */
    align-items: center;
    width: 100%;
}
#mainheader .fl-row-content-wrap {
    margin: 0;
    padding: 0;
}
#mainheader .fl-photo {
    flex: 0 0 auto; /* Menu stays left */
}
#mainheader .fl-photo img {
    width: auto;
}
#mainheader .fl-menu {
    flex: 0 0 auto; /* Menu stays right */
}

#mainheader .fl-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#mainheader .fl-menu a {
    font-family: var(--font-menu);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--bb-color-raisin-black);
    text-decoration: none;
}
#mainheader .fl-menu a:hover {
    color: var(--bb-color-orange);
}


/* PLUGIN/SPECIFIC INTEGRATIONS */

/* Gravity Forms */
.uabb-gf-style .ginput_container_select:after {
display:none;
}

.form .gform_body label.gfield_label, form .gform_body legend.gfield_label {
  font-weight: 700;
}

#myform .gform_wrapper .gfield select { margin: 0px !important;}

.gform-body.gform_body gmp-place-autocomplete {
    border: 1px solid #686e77 !important;
    width: 100% !important;
    background: #fff !important;
    display: inline-block !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
}

.gfield .ginput_container input,
.gfield .ginput_container textarea,
.gfield .ginput_container select {
    border: 1px solid #686e77 !important;
    border-radius: 3px !important;
}
/* Style Google Maps Autocomplete only inside Gravity Forms */
.gform-body.gform_body gmp-place-autocomplete {
  display: inline-block !important;
  width: 100% !important;

  border: 1px solid #686e77 !important;
  border-radius: 3px !important;
  background-color: var(--bb-color-white) !important;
  box-sizing: border-box !important;
}

/* Unify input, textarea, and select field styles */
.gfield .ginput_container input,
.gfield .ginput_container textarea,
.gfield .ginput_container select {
  border: 1px solid #686e77 !important;
  border-radius: 3px !important;
}

/* UABB */
.oaksincflips .uabb-face.uabb-front .uabb-face-text-title, .oaksincflips .uabb-face.uabb-front .uabb-flip-box-section-content.uabb-text-editor { display: none;}

/* UTILITIES */

/* Alignment */
.center {
    text-align: center;
    margin: 0 auto;
}
/* hide recaptcha */
   .grecaptcha-badge {
        visibility: hidden !important;
 }
