/*
 Theme Name:   Divi Child Theme
 Theme URI:    https://doc4design.com
 Description:  Doc4 Child Theme for Divi
 Author:       Dale Crum
 Author URI:   https://doc4design.com
 Template:     Divi
 Version:      1.5.0
*/


/***** Add any custom CSS below this line *****/



/* Hide Main Navigation Menu */
#main-header #et-top-navigation {
    display: none;
}

/* Logo Placement */
.logo_container {
    margin-top: 30px;
}

@media only screen and (max-width:980px) {

    .et_header_style_centered #logo,
    .et_header_style_centered .logo_container {
        height: 49px !important;
        max-height: 49px !important;
    }
}

@media only screen and (max-width: 500px) {

    .et_header_style_centered #logo,
    .et_header_style_centered .logo_container {
        height: 40px !important;
        max-height: 40px !important;
    }
}

/* Image Adjustments */
#overflow-img img {
    width: auto;
    height: 450px;
    max-width: unset;
}

@media (max-width: 980px) {
    #overflow-img img {
        width: 100%;
        height: auto;
        max-width: unset;
    }
}

/* Stacking Order */
@media all and (max-width: 980px) {

    /*** wrap row in a flex box ***/
    .custom_row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        /* Safari 6.1+ */
        flex-wrap: wrap;
    }

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }

    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-mobile {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
    }

    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }

}


/* Footer */
#main-footer {
    padding: 150px 0 75px;
}

#footer-bottom {
    padding: 15px 0 50px !important;
}

#footer-bottom .et-social-icons {
    float: left !important;
}

.et-social-icons li {
    margin-right: 20px;
    margin-left: unset;
}

#footer-bottom #footer-info,
#footer-bottom #footer-info a {
    letter-spacing: 0.15em;
    font-weight: 500;
}

#footer-bottom #footer-info {
    float: right;
}

@media (max-width: 980px) {
    #footer-bottom #footer-info {
        float: left;
        text-align: left;
        width: 100%;
    }

    #footer-bottom #footer-info span.break {
        display: block;
    }

    #footer-bottom #footer-info span.hidden {
        display: none;
    }
}

#footer-widgets {
    padding: 0 !important;
}

@media (max-width: 980px) {
    #footer-widgets {
        padding: 0 0 6% !important;
    }
}

#footer-widgets .et_pb_widget {
    line-height: 2.1em;
    font-weight: 400;
}

#footer-widgets .wp-block-image img {
    height: 40px;
}

@media (max-width: 980px) {
    #footer-widgets .footer-widget .fwidget {
        margin-bottom: 25px !important;
    }
}

@media (min-width: 981px) {
    .et_pb_gutters3.et_pb_footer_columns1 .footer-widget {
        width: 50%;
    }
}

@media (max-width: 980px) {
    .et_pb_gutters3.et_pb_footer_columns1 .footer-widget {
        width: 70%;
    }
}