/*
 Theme Name:   Divi Child
 Description:  Divi Child Theme
 Template:     Divi
 Version:      1.0.0
 Text Domain:  Divi
*/


/* ============ Header ================= */

header#main-header {
    background-color: #294c1f;
    color: #fff;
    padding: 20px 0;
}

#top-menu li {
    padding: 22px !important;
    transition: all 0.15s ease;
    border-radius: 5px;
}

body .et_header_style_left #et-top-navigation .mobile_menu_bar {
    padding-bottom: 0px;
}

#top-menu li:hover a,
#top-menu li.current_page_item a {
    color: #a71916 !important;
    transition: all 0.15s ease;
}

body #et-info-phone:before,
body #et-info-email:before {
    top: 0px;
    margin-right: 5px;
}

nav#top-menu-nav a,
#top-menu li:hover a,
#top-menu li.current_page_item a {
    font-weight: 700;
    color: #fff;
}

.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a {
    padding-bottom: 0px;
}

#top-header,
#et-secondary-nav li ul {
    background-color: #a71916;
}

#top-header .container {
    display: flex;
    justify-content: space-around;
}

#top-header .container.clearfix::after {
    content: none;
}

#top-header #et-info,
#top-header #social_icons {
    width: 50%;
}

#top-header #et-info span {
    line-height: 22px;
}

#top-header #social_icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main_title {
    min-height: 250px;
    margin-top: 37px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main_title .container h1 {
    font-weight: bold;
    font-size: 52px;
}

.main_title.has_banner .container h1,
.main_title.has_banner #breadcrumbs p,
.main_title.has_banner #breadcrumbs span,
.main_title.has_banner #breadcrumbs a {
    color: #fff
}

.main_title.normal .container h1,
.main_title.normal #breadcrumbs p,
.main_title.normal #breadcrumbs span,
.main_title.normal #breadcrumbs a {
    color: #294c1f
}

.home_row_2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.home_row_2 .et_pb_text_inner a,
.project_row .et_pb_text_inner a {
    display: block;
}

#page-container .et_pb_section .home_row_2 .et_pb_button:hover,
body #page-container .et_pb_section .entries-section .et_pb_button:hover {
    color: #a71916 !important;
}

.entries-section .et_pb_column {
    display: flex;
    flex-direction: column;
}

.entries-section .et_pb_column .et_pb_module.et_pb_text {
    flex: 1;
}

.project_column {
    display: flex;
    flex-direction: column;
}

.project_column .et_pb_module.et_pb_text {
    flex: 1;
}

.et_pb_text.contact_info ul {
    padding-left: 0;
}

.et_pb_text.contact_info ul li {
    list-style: none;
}

body #page-container .et_pb_section .project_column a.et_pb_button:hover,
body #page-container .et_pb_section .et_pb_text.contact_info ul li a:hover {
    color: #a71916 !important
}

body #page-container .et_pb_section .view-project:hover {
    color: #a71916 !important;
    transition: all 0.5s ease;
    border-color: #a71916 !important;
}

body #page-container .et_pb_section .view-project:hover:after {
    color: #a71916 !important;
}

body.page-id-156 #page-container .et_pb_section .view-project:hover {
    color: #fff !important;
    transition: all 0.5s ease;
    border-color: #a71916 !important;
}

body.page-id-156 #page-container .et_pb_section .view-project:hover:after {
    color: #fff !important;
}

.et_contact_bottom_container {
    float: none !important;
    margin-top: 15px;
    text-align: center;
    display: inline-block;
}

.field-group {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}

.contact_section h2 {
    padding: 0 10px;
}

.contact_section input.wpcf7-form-control.has-spinner.wpcf7-submit {
    color: #294c1f!important;
    border-color: #294c1f;
    text-align: center;
    border: none;
    width: 95%;
    padding: 10px 30px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.checkbox span {
    color: #fff;
    width: 100%;
    margin: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: #dc3232;
}

.contact_section input.wpcf7-form-control.has-spinner.wpcf7-submit:hover {
    color: #fff!important;
    border-color: #a71916 !important;
    background-color: #a71916 !important;
    transition: all 0.3s ease;
}

.field-group>div {
    width: 100%;
    padding: 0 10px;
}

.field-group input.text,
.field-group input.title,
.field-group input[type=text],
.field-group input[type=email],
.field-group input[type=number],
.field-group select,
.field-group textarea {
    margin: 0;
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

.entries-section .et_pb_column {
    margin-right: 20px;
    width: 25%;
}

.entries-section .et_pb_column img {
    min-height: 200px;
    object-fit: cover;
}

footer .et_pb_widget {
    float: none;
}

footer input {
    width: 100%;
    margin: 10px 0;
    padding: 10px !important;
}

footer #footer-bottom {
    padding: 15px 0;
}

.form-submit {
    position: relative;
}

span.wpcf7-spinner {
    position: absolute;
    left: 40%;
    right: 50%;
    transform: translate(-50%, 40%);
}

#footer-widgets .footer-widget li a:hover {
    text-decoration: underline;
    color: #a71916 !important;
}

footer input.wpcf7-submit {
    background-color: #444;
    /* background-image: none; */
    text-shadow: none;
    color: #fff;
    margin: 0;
    box-shadow: none;
    border: 2px solid #fff;
    padding: 5px 0;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

footer h4 strong,
footer .title {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700 !important;
}

footer .title {
    margin-bottom: 20px;
}

#copyright p {
    color: #fff
}

#footer-widgets .footer-widget li:before {
    content: none;
}

#footer-widgets .footer-widget li {
    padding-left: 0px;
}

.et_pb_gutters3.et_pb_footer_columns4 .footer-widget .fwidget {
    margin-bottom: 15px;
}

.et_pb_request_form {
    box-shadow: 0px 3px 35px -3px rgb(0 0 0 / 19%);
    z-index: 9999;
}

.et_pb_request_form .et_pb_contact p input,
.et_pb_request_form .et_pb_contact p textarea {
    margin-bottom: 15px;
}

@media(min-width: 1023px) {
    .home_banner .left {
        margin-left: 15px !important;
        width: 67.5% !important;
    }
    #logo {
        max-height: 115px;
    }
    header#main-header .et_menu_container {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    #et-top-navigation {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    body .et_menu_container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .home_banner .left {
        width: 50% !important;
    }
    body .et_menu_container.clearfix:after {
        content: none;
    }
    .main_title {
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (max-width: 900px) {
    .et_pb_row_0.et_pb_row.home_banner {
        padding-top: 40px !important;
    }
    .home_banner .left {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    #et-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .main_title {
        margin-top: 0px;
    }
    .main_title h1 {
        font-size: 42px;
    }
}

input::-webkit-inner-spin-button {
    opacity: 0;
}

@media (max-width: 600px) {
    .contact_section input.wpcf7-form-control.has-spinner.wpcf7-submit {
        width: 100%;
    }
    .field-group {
        flex-direction: column;
        margin-bottom: 0;
    }
    .field-group input {
        margin-bottom: 7px !important;
        margin-top: 7px !important;
    }
    .field-group textarea {
        margin-top: 7px !important;
    }
    .field-group>div {
        padding: 0;
    }
}