/* ICON BOX BACKGROUND */
.iconboxbg {
    background-color: #252525;
    padding: 20px 0;
    margin: 10px;
    -webkit-transition: background-color 500ms ease-out 200ms;
    -moz-transition: background-color 500ms ease-out 200ms;
    -o-transition: background-color 500ms ease-out 200ms;
    transition: background-color 500ms ease-out 200ms; }

.iconboxbg:hover {
    background-color: #fac635;
    padding: 20px 0;
    margin: 10px;
}


/* FULL WIDTH HEADER */
@media screen and (min-width: 1100px) {
.fl-full-width .fl-page-header-primary.fl-page-nav-right .fl-page-header-wrap .container {
    width: 100%;
}
}

@media screen and (min-width: 992px) {
.fl-page-header-primary.fl-page-nav-right .fl-page-header-row {
    width: 100%;
}
}

/* MENU HIGHLIGHTED BUTTON */
/*Give the link some padding and some color*/
.fl-menu .menu> li.client-button {
    padding: 7px;
}

.fl-menu .menu > li.client-button > a {
    background-color: #FFFFFF !important;
    font-size: 0.95em;
    color: #2D2D2D !important;
    padding: 8px 18px !important;
    border-radius: 200px;

}

/*Adjust the position for the fixed navigation menu*/
.fl-menu .menu > li.client-button > a {
    position: relative;
    bottom: 6px;
}

/*Give the button a hover &amp; active state*/
.fl-menu .menu > li.client-button > a:active,
.fl-menu .menu > li.client-button > a:hover {
    color: #FFFFFF !important;
    background-color: #0088ad !important;
    border-radius: 200px;
}

/* Adjust homepage subhead */
.egl-home-h2 .pp-heading-content {
  overflow: visible;
}
@media (max-width:1049px){
  .egl-home-h2 .heading-title {
    font-size:46px !important;
  }
}
@media (max-width:890px){
  .egl-home-h2 .heading-title {
    font-size:40px !important;
  }
}

/* Encourage line break in hompage callouts
.egl-callout-tight {
  padding-left:20px;
  padding-right:20px;
} */

/* Dual button module styling */
.egl-dualbutton a {
    padding: 20px 25px !important;
}

/* Align to bottom of parent */
.egl-balign-following {
  flex-grow: 1;
}

/* Add CTA highlight to Shop Now button */
.egl-nav-shopnow a {
    background: #057d9e;
    border-radius: 100px;
    margin-left: 10px;
    padding: 10px 15px !important;
    display: inline-block;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.egl-nav-shopnow a:hover {
    color: #2d2d2d !important;
    background: #fac635 !important;
}
@media (max-width: 768px) {
    .egl-nav-shopnow a {
         margin-left: 3px;
         margin-bottom: 10px;
         padding: 10px 7px !important;
    }
}

/* Adjust homepage slider */
.egl-home-slider .fl-slide-content {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* margin-top:120px !important; */
    margin-left:10% !important;
    margin-right:10% !important;
}
.egl-home-slider .fl-slide-content h1, .egl-home-slider .fl-slide-content h2 {
    font-weight: 600;
    line-height: 1;
}
.egl-home-slider .fl-slide-content h3 {
    font-size: 28px;
    font-weight: 500;
    line-height:1.2;
}
.egl-home-slider .fl-slide-bg-photo:before {
    content: '';
    background: rgba(0,0,0,0.55);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.egl-home-slider .fl-builder-content a.fl-button {
    padding: 20px 40px;
}
.egl-home-slider .fl-builder-content a.fl-button i {
    font-size: 16px;
}
@media (max-width: 768px) {
    .fl-builder-content .fl-module-content-slider .fl-slide .fl-slide-content {
        background: none;
    }
    .fl-builder-content .fl-module-content-slider .fl-slide .fl-slide-title {
        line-height: 1 !important;
    }
}
    /* iOS / narrow device fix */
    .egl-home-slider .fl-module-content-slider .bx-wrapper {
        min-height:225px;
    }
    .egl-home-slider .fl-builder-content .bx-wrapper .bx-viewport {
        min-height:225px;
    }
    @media (max-width: 768px) {
        .egl-home-slider .fl-content-slider, .fl-content-slider .fl-slide {
            min-height: 225px !important;
        }
        .egl-home-slider .fl-slide-mobile-photo {
                min-height: 225px;
            display: inline-block;
            position: relative;
            right: -50%;
        }
    }
    .egl-home-slider .fl-slide-mobile-photo-img {
        min-height: 225px;
        max-width: unset!important;
        width: auto;
        position: relative;
        left: -50%;
    }

/* adjust CTA button */
.egl-global-cta .uabb-creative-button-wrap a {
    padding: 20px 40px;
}
.egl-global-cta .uabb-creative-button-wrap .uabb-creative-button i {
    font-size: 16px;
}

/* Home nav responsive fix */
@media (max-width: 768px) {

    .page-id-1647 .fl-builder-content[data-overlay="1"]:not(.fl-theme-builder-header-sticky) {
        position: relative;
        background: #2d2d2d;
    }
}

/* Sub-nav adjustments and responsive fix */

.egl-subnav .uabb-creative-button-wrap a {
    padding-top: 1.33em;
    padding-bottom: 1.33em;
}

@media (max-width: 768px) {
    .egl-subnav .fl-col-small {
        max-width:100% !important;
    }
}

/* Add shadow to header text */
.egl-header-shadow {
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
}

/* Social feed styling */
.fts-mashup-post-wrap {
    background: #fff;
    padding: 20px!important;
    border-radius: 10px;
}
    /* Override FB icon's positioning */
    .fts-mashup-icon-wrap-right.fts-mashup-facebook-icon {
        position: relative;
    }

/* Mobile Menu Styling */
.fl-menu-mobile-toggle {
    color:#ffffff!important;
    background-color: #057d9e!important;
    border-radius: 60px!important;
    padding-left: 20px!important;
    padding-right: 20px!important;
    transition: all 0.5s;
}
.fl-node-5931e23d7d622 .fl-menu-mobile-toggle:hover {
    color: #2d2d2d !important;
    background-color: #fac635 !important;
}
.fl-menu .fl-menu-mobile-toggle.hamburger-label .svg-container {
    width: 1em;
    height: 1em;
}

/* Contact form Captcha fix */
.pp-contact-form-fields-left, .pp-contact-form-fields-right {
    position: relative;
    z-index: 2;
}
.pp-recaptcha {
    z-index: 0;
}