/*
Theme Name: Divi Child By Cornerstone Web Studio
Theme URI: http://cornerstone.studio
Description: A Custom Child Theme For Divi
Author: Cornerstone Web Studio
Author URI: http://cornerstone.studio
Template: Divi
Version: Updated for Divi 4
*/


/*========================================================*/
/*                CORNERSTONE.STUDIO STYLES               */
/*========================================================*/



/*--------------------------------------------------------*/
/*                   GENERAL SITE STYLE                   */
/*--------------------------------------------------------*/


/*--------------------------------------------------------*/
/*                         NAV MENU                       */
/*--------------------------------------------------------*/

/* Breakpoint Transition to Mobile Menu */
@media only screen and (max-width: 1201px) {
    #top-menu, .fullwidth-menu, nav#top-menu-nav, nav.fullwidth-menu-nav {
        display: none !important;
    }
    #et_mobile_nav_menu, .et_mobile_nav_menu {
        display: none !important;
    }
}

/* Start Superfly Menu */
@media all and (min-width: 1200px) {
    .superfly-on #sfm-sidebar, .superfly-on .sfm-navicon-button {
        display: none !important;
    }
}


/* Button in Navigation */
.navBtn a {
    padding: 10px 15px 10px 15px !important;
    color: #ffffff !important;
    background-color: #000000 !important;
    margin-bottom: 2px !important;
}

.navBtn a:hover {
    background-color: #4285f4 !important;
    color: #000000 !important;
    transition: 300ms ease 0ms;
}

.et-fixed-header #top-menu .navBtn a {
    color: #ffffff !important;
}

/* Adjust Nav Padding (Only if using .navBtn) */
.et_header_style_left #et-top-navigation,
.et_header_style_left .et-fixed-header #et-top-navigation {
    padding: 13px 0 11px 0 !important;
}

@media only screen and (min-width: 981px) {
    .et_header_style_left #et-top-navigation nav > ul > li > a:not(.navBtn),
    .et_header_style_split #et-top-navigation nav > ul > li > a:not(.navBtn) {
        padding-bottom: 0px !important;
    }
}

/* Mobile Dropdown Menu Accent Color */
.mobile_menu_bar:before {
    color: #4285f4 !important;
}

.et_mobile_menu {
    border-color: #4285f4 !important;
}

/* Secondary Menu as Promo Banner */
#et-secondary-menu {
    float: none;
}

#et-secondary-nav {
    width: 100%;
}

#et-secondary-nav > li:last-child {
    text-align: center;
    width: 100%;
}

.promoBannerBTN {
    padding: 0 0 12px !important;
}





/*--------------------------------------------------------*/
/*                           BODY                         */
/*--------------------------------------------------------*/

/* Changing Column Stacking Order on Mobile */
@media all and (max-width: 980px) {
    .custom_row {
        display: flex;
        flex-wrap: wrap;
    }
    .first-on-mobile { order: 1; }
    .second-on-mobile { order: 2; }
    .third-on-mobile { order: 3; }
    .fourth-on-mobile { order: 4; }
    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

.accentColor {
    color: #0e354a !important;
}


/*--------------------------------------------------------*/
/*                          FOOTER                        */
/*--------------------------------------------------------*/

.quicklinks ul {
    padding-left: 0 !important;
}

.quicklinks ul li {
    font-weight: 400;
    line-height: 2rem;
    list-style: none;
    padding-bottom: 6px;
    display: table-row;
}

.quicklinks ul li:before {
    content: "\f192";
    font-family: "Font Awesome 5 Free";
    padding-right: 10px;
    display: table-cell;
}


/*--------------------------------------------------------*/
/*                     GRAVITY FORMS                      */
/*--------------------------------------------------------*/

.gravityFormInputField input,
.gravityFormInputField select,
.gravityFormInputField textarea {
    background-color: #EBECF3 !important;
    color: #000 !important;
    font-size: 16px !important;
    padding: 16px !important;
    border: none;
}

/* Submit Button Styles */
#gform_submit_button_1, #gform_submit_button_2, #gform_submit_button_3,
#gform_submit_button_4, #gform_submit_button_5, #gform_submit_button_6 {
    position: relative;
    padding: 10px 20px;
    letter-spacing: 1px;
    font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
    border: 0;
    color: #fff;
    background-color: #000;
    transition: all 300ms ease 0ms;
    cursor: pointer;
}

#gform_submit_button_1:hover, #gform_submit_button_1:focus, #gform_submit_button_1:active,
#gform_submit_button_2:hover, #gform_submit_button_2:focus, #gform_submit_button_2:active,
#gform_submit_button_3:hover, #gform_submit_button_3:focus, #gform_submit_button_3:active,
#gform_submit_button_4:hover, #gform_submit_button_4:focus, #gform_submit_button_4:active,
#gform_submit_button_5:hover, #gform_submit_button_5:focus, #gform_submit_button_5:active,
#gform_submit_button_6:hover, #gform_submit_button_6:focus, #gform_submit_button_6:active {
    color: #fff;
    background-color: #b70019;
    transition: all 300ms ease 0ms;
}

/* Align Submit Button Right */
.gform_footer {
    float: right;
}

/* Keep reCAPTCHA V3 Badge Above Everything */
.grecaptcha-badge {
    z-index: 999 !important;
}
