
/*
 Theme Name:   Foundations (Divi child)
 Description:  Divi Child Theme
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         full-width, responsive-layout, accessibility-ready
 Text Domain:  pfs
*/

/* Main Theme Styles */

#footer-info,
#footer-info + .container {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.35vw;
}

a:hover {
    text-decoration: underline;
}

.current_page_item > a {
    font-weight: bold;
    cursor: default;
}

.current_page_item > a:hover {
    text-decoration: none;
}

@media only screen and (min-width: 981px) {
    #footer-info,
    #footer-info + .container {
        font-size: 16px;
    }

    /* Allow sidebar to join up with section below; specificity to override existing overspecified styles */
    #main-content .sidebar_continuous {
        margin-bottom: 0;
    }

    /* Borderless variant for widget area */

    .et_pb_widget_area_borderless {
        border-right: none;
    }
}
@media (max-width: 980px) {
    #footer-info + .container {
        float: none;
        text-align: center;
    }
}

@media only screen and (max-width: 450px) {
    #footer-info,
    #footer-info + .container {
        font-size: 10px;
    }
}

/* No pointer on open accordion panel title, as it closes on opening another */
.et_pb_toggle_open h5.et_pb_toggle_title {
    cursor: default;
}

/* Pad and shadow Foundations images */

#foundations .et_portfolio_image {
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 0 3px 0 #333;
}

/* Slide text: bottom aligned option with text_bottom ID on slider (ID rather than class to override Divi defaults) */
 
#text-bottom .et_pb_slide {
    padding: 0;
}

#text_bottom .et_pb_slide_description {
    padding: 32% 0 0;
}

#text_bottom .et_pb_slide_content {
    padding-top: 2%;
}


/* Captcha position adjustment */

.et_pb_contact_right .et_pb_contact_captcha {
    padding: 18px 16px 13px;
    max-width: 60px;
    width: 60px;
}

/* Guide text for fields */

.et_pb_contact_captcha_question:before {
    content: "Not a robot? Please add these two numbers: ";
    display: block;
}

.et_pb_contact p input, .et_pb_contact p textarea {
    color: #777;
}

@media (max-width: 980px) {
    .row_flex {
        display: block;
    }

    .et_pb_contact_captcha_question:before {
        display: block;
    }
    .home .et_pb_number_counter_0.et_pb_number_counter {
        padding-top: 0 !important;
    }

}

@media (max-width: 720px) {
    .et_pb_contact_captcha_question:before {
        display: block;
    }
}