/* Footer */

/* GENERAL & MOBILE STYLES */
.grecaptcha-badge {
    display: none !important;
}

footer {
    background: #46336a;
    line-height: normal;
    padding: 60px 0 60px 0;
}

footer img {
    margin: 0;
}

/* -----------------------  Footer flex container  -------------------------- */
footer .footer-flex {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Flex items */
footer .footer-block {
    min-width: 250px;
    position: relative;
    text-align: left;
    vertical-align: top;
}

/* --------------------------  ELOQUA form validation styles  ----------------------------- */
footer .LV_invalid {
    bottom: 50px;
    background: white;
    padding: 12px;
    border-radius: 4px;
    position: absolute;
    color: red;
    z-index: 100;
}

footer .LV_valid {
    display: none;
}

footer .LV_invalid:before {
    content: "* ";
}

/* --------------------------  For mobile only  ----------------------------- */

/* Logo added to top of stacked footer */
.logo.mobile {
    display: block;
    padding-bottom: 30px;
}

.logo.mobile img {
    display: block;
    max-width: 290px;
    margin-left: 15px;
}

/* Remove desktop logo section */
.footer-block#footer-logo {
    display: none;
}

/* Remove terms of service block from locations block */
footer .footer-block .footer-block-bottom {
    display: none;
}

/* Adds extra final terms and icons block for mobile only */
footer .mobile-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .mobile-footer-bottom .mobile-markit {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
}

footer .mobile-footer-bottom .mobile-markit img {
    padding-left: 6px;
}

footer .mobile-footer-bottom p, footer .mobile-footer-bottom a {
    font-size: 11px;
    color: white;
    line-height: 20px;
}

/* ----------------------- Flex item content styles -------------------------- */

footer .footer-block .logo {
    display: block;
    max-width: 290px;
}

footer .footer-block p {
    display: inline-block;
    margin-bottom: 22px;
    color: #fff;
    font-size: 13px;
    overflow: hidden;
}

footer .footer-block p span {
    display: block;
    padding-top: 8px;
    font-size: 13px;
}

footer .footer-block span.d-block,
footer .footer-block p span.d-block {
    padding-top: 0;
    font-size: 13px;
    color: #a09aaf;
}

footer .footer-block a {
    color: #fff;
    font-size: 13px;
}

footer .footer-block a:hover {
    color: #f48d38;
}

.footer-block .contact-box {
    overflow: hidden;
}

.footer-block .contact-box .icon {
    opacity: 0.4;
}

.footericon {
    height: 28px;
    opacity: .4;
}

/* Newsletter Sign up Block */
footer .footer-block#newsletter-signup {
    padding-left: 15px;
    padding-bottom: 30px;
}

.footer-block#newsletter-signup .footer-block-bottom {
}

.footer-block#newsletter-signup .footer-block-bottom p,
.footer-block#newsletter-signup .footer-block-bottom a {
    font-size: 11px;
    color: #a09aaf;
}

/* ----------------------- Footer icons -------------------------- */

.footer-block#footer-logo .ihs-logo.footer-block-bottom {
    position: relative;
    top: 20px;
}

footer .footer-block a.facebook-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 5px 5px 0 0;
    background-size: cover;
}

footer .footer-block a.linkedin-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 5px 5px 0 0;
    background-size: cover;
}

footer .footer-block a.twitter-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 5px 0 0 0;
    padding-top: 2px;
    background-size: cover;
}

footer .footer-block a.instagram-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 5px 5px 0 5px;
    padding-top: 2px;
    background-size: cover;
}

footer .footer-block a.youtube-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 5px 5px 0 0;
    padding-top: 2px;
    background-size: cover;
}


/* ----------------------- Social footer mobile -------------------------- */

@media (max-width: 575px) {

#mobile-footer .icon.ig-icon {
    width: 28px;
    height: 28px;}


#mobile-footer .icon.yt-icon {
        width: 28px;
    height: 28px;
}

.yt-icon, .ig-icon, .tw-icon{
background-size: 25px 25px;
background-position-y: 1px;
}
}


footer .ihs-logo {
    font-size: 10px;
    color: white;
    padding-bottom: 22px;
}

.ihs-logo span {
    float: left;
    padding-top: 12px;
    padding-right: 6px;
}

/* ----------------------- Tablet Size -------------------------- */
@media (min-width: 375px) {
    footer .logo.mobile,
    footer .stacking-blocks,
    footer .footer-block#newsletter-signup {
        margin: 0 auto;
    }

    footer .stacking-blocks {
        padding: 0;
    }

    footer .stacking-blocks #locations,
    footer .stacking-blocks #contact {
        padding: 0;
    }
    
}

/* ----------------------- Desktop Size -------------------------- */
@media (min-width: 991px) {
    footer {
        padding: 60px 0;
    }

    footer img {
        display: inline-block;
        margin: 2px;
    }

    footer .footer-flex {
        flex-direction: row;
        justify-content: center;
    }

    footer .footer-block {
        min-width: 280px;
        width: calc(100%/4)
    }

    footer .footer-block .logo {
        max-width: 310px;
    }

    /* SPECIALIZED WIDTHS -- MIDDLE COLUMNS ARE NOT AS WIDE */
    footer .stacking-blocks {
        margin: inherit;
        display: flex;
        flex-direction: column;
    }

    .footer-block#locations, .footer-block#contact {
        width: 370px;
        padding-left: 30px;
    }

    footer .footer-block#newsletter-signup {
        flex: 2;
        padding-bottom: 0;
        border-left: 1px solid #a09aaf;
        padding-left: 30px;
        margin: 0;
    }

    /* Add desktop logo section */
    .footer-block#footer-logo {
        display: block;
        padding-left: 30px;
    }

    /* Remove logo added to top of stacked mobile footer */
    .logo.mobile {
        display: none;
    }

    /* Add terms of service block to locations block */
    footer .footer-block .footer-block-bottom {
        display: block;
    }

    footer .footer-block .footer-block-bottom p {
        font-size: 13px;
        margin-bottom: 0;
        display: block;
    }

/* Remove mobile terms and icons block */
    footer .mobile-footer-bottom {
        display: none;
    }
}

/* ----------------------- Large Desktop Size -------------------------- */
@media (min-width: 1400px) {
    footer .footer-flex {
        max-width: 1600px;
        margin: 0 auto;
    }

    footer .stacking-blocks {
        display: flex;
        flex-direction: row;
    }

    .footer-block#contact {
        width: 295px;
        padding-left: 0;
    }

    .footer-block#locations {
        width: 295px;
        padding-left: 30px;
    }

    .footer-block:first-of-type {
        padding-left: 100px;
    }

    footer .footer-block#newsletter-signup {
        padding-left: 35px;
        margin-left: 100px;
    }
}