/*
Theme Name: Refined Impact
Author: Refined Impact
Author URI: https://refinedimpact.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* sets z-index of the separator under the logo in the header */
.under-logo-sep {
  z-index:1 !important;
}


/* turns the mobile menu off manually */
@media screen and (min-width:1316px) {
  .mobile-menu {
    display:none !important;
  }
}

/* switches the desktop menus to the mobile menus */
@media screen and (max-width:1315px) {
  .desktop-menu {
    display:none !important;
  }
 .main-header .fusion-no-large-visibility.mobile-menu {
   display:flex !important;
  }
  .masthead {
    margin-top:0 !important;
  }
}

/* FOOTER PAYMENT ICONS */
#footer-cc-icons {display: flex; justify-content: left; align-items: left; flex-wrap: wrap; margin: 0 auto;}
#footer-cc-icons .cc-icon-img {max-width: 60px; height: auto; margin: 2px; border-radius: 3px;}
@media only screen and (max-width: 600px) {#footer-cc-icons .cc-icon-img {max-width: 40px;}}

/* adds drop shadow to review bubble boxes */
.reviews .wpsr-review-template {
    box-shadow: 5px 5px 15px rgba(0,0,0,1) !important;
}

/* styles the star color */
.reviews .wpsr-star-filled {
    background-color: #ffd83a !important;
}


/* hover rules for the full-width cta used throughout the site */
/* adds hover effect to text */
.full-width-cta:hover h3 {
  color:#000 !important;
  text-shadow:0 0 0 !important;
  transform: scale(1.1);
}

/* sets background cover on fullwidth CTA on hover */
.full-width-cta:hover {
  background-image:linear-gradient(180deg, #f3c300 0%, #ffd83a 100%) !important;
}

/* sets transition speed on hover of full width cta */
.full-width-cta h3 {
    transition: ease .2s;
}


/* sets under logo separator in header to lower Z index for proper display */
.under-logo-sep {
  z-index:5;
}


/* adds an outside stroke to a text element */
.yellow-stroke {
  -webkit-text-stroke: 5px #ffd83a;
  paint-order: stroke fill;
}

/* puts text shadow on inside text */
.fusion-button .fusion-button-text {
    text-shadow:1px 1px 3px black;
}

/* removes text shadow on hover*/
.fusion-button:hover .fusion-button-text {
    text-shadow:0px 0px 0px black;
}


/* TEXT */
.white-text, .white-text h1, .white-text h2, .white-text h3, .white-text h4, .white-text h5, .white-text h6 {color: #ffffff !important;}

/* TITLE BAR */
.fusion-page-title-bar {background-size: cover !important;}


/* MENU */
.fusion-mobile-nav-item {margin-bottom: 10px;}


/* FOOTER  */
.fusion-footer-widget-area {background-size: cover !important;}	

/* FIX TOP HEADER BAR */
@media only screen and (max-width: 1024px) {.fusion-contact-info {padding: 10px 30px 10px 30px !important;} .fusion-social-links-header {display: none;}}
@media only screen and (max-width: 800px) {.fusion-contact-info {padding-left: 3px !important; padding-right: 3px !important;} .fusion-header-separator, .header-email {display:none;}}
@media only screen and (max-width: 350px) {.fusion-contact-info {display:none;}}


/* GFORMS */
.gform_wrapper.gravity-theme .gfield_checkbox label, .gform_wrapper.gravity-theme .gfield_radio label {font-size: 18px;}
.gform_wrapper .top_label .gfield_label {}
.gform_wrapper .gfield_required {font-size: inherit;}
h2.gsection_title, h3.gsection_title {font-size: 1.4em !important;}
.gform_wrapper .gfield select {font-size: inherit !important;}
.gform_wrapper .gform_button, .gform_wrapper .gform_page_footer input[type=button] {padding: 13px 25px !important; line-height: 1.1em !important; font-size: 1.5em !important; min-width: 200px;}
.gform_next_button, .gform_prev_button {-moz-appearance: none; -webkit-appearance: none;}
.partial_entry_warning, .gform_required_legend {display: none;}
.gfield_label {font-family: inherit; font-weight: 500 !important;}
body .gform_wrapper .gform_heading .gform_description {font-weight: 500; text-align: center;}

/* GFORM ERRORS */
body .gform_wrapper .gfield_error, body .gform_wrapper .validation_error, .gform_wrapper .gform_validation_errors {color: #e50f2b; background-color: transparent !important; border: 0px !important; margin-bottom: 0px !important; padding: 0px !important; box-shadow: none !important;}
.gform_wrapper .gfield_error .gfield_label, .gform_wrapper .validation_message {color: #e50f2b !important; background: transparent !important; border: 0px !important; padding-top: 5px !important;}
.gfield_error select, .gfield_error input, .gfield_error textarea {border: 1px solid #e50f2b !important;}
.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {border: 1px solid #ccc;}
.gform_legacy_markup_wrapper.gf_browser_chrome .gfield_error .ginput_complex.ginput_container.has_first_name.has_middle_name.has_last_name span.name_last, .gform_legacy_markup_wrapper.gf_browser_chrome .gfield_error .ginput_complex.ginput_container.has_first_name.has_middle_name.has_last_name span.name_middle {margin-left: 0px !important;}
.gform_legacy_markup_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, .gform_legacy_markup_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {margin-top: 0px !important;}
.gform_legacy_markup_wrapper li.gfield.gfield_error table.gfield_list thead th {color: #e50f2b !important;}

/* STYLE POWERED BY RI */

#ri img {-webkit-filter: grayscale(100%); filter: grayscale(100%);-webkit-transition: .3s ease-in-out; transition: .3s ease-in-out; vertical-align: middle; margin: auto;}
#ri img:hover {-webkit-filter: grayscale(0); filter: grayscale(0);}
#ri {margin-top: 3px;}
#footer-copyright {line-height: 40px !important;}
@media only screen and (max-width: 500px){#footer {min-height: 130px}}
@media only screen and (min-width: 1024px){#footer-copyright {float: left;} #ri {float: right;}}
@media only screen and (max-width: 1024px) {#ri img {margin-top: 10px}}
@media only screen and (min-width: 1024px){.fusion-copyright-content {width: 80%; margin: auto;}}