/*
Theme Name: Divi Construction
Theme URI: https://divilife.com/downloads/divi-construction-child-theme
Version: 1.0
Description: Divi Construction is a child theme for Divi, designed for construction companies, contractors, and more!
Author: Divi Life — Tim Strifler
Template: Divi
Author URI: https://divilife.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* General Styling */
.et_fullwidth_nav #main-header .container, 
.et_fullwidth_secondary_nav #top-header .container {
    padding-right: 5%;
    padding-left: 5%;
}

/* Header Info */
#et-info-phone {
    margin-right: 19px;
    border-right: 2px solid #02426a;
    padding-right: 20px;
}

#et-info-email:before, 
#et-info-phone:before, 
#et_search_icon:before {
    color: #02426a !important;
    margin-right: 10px;
}

#et-secondary-menu .et-social-icons {
    margin-right: 0px;
}

.et_duplicate_social_icons {
    display: block;
}

#et-secondary-menu {
    float: right;
    width: 300px;
    text-align: right;
    margin-top: -4px;
}

#top-header {
    padding: 5px 0;
}

#top-header #et-info .et-social-icons {
    display: none;
}

.et-fixed-header#top-header {
    background: #4a5e70 !important;
}

/* Social Icons */
#top-header .et-social-icon a {
    font-size: 10px;
    background: #02426a;
    padding: 5px;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    line-height: 1;
    vertical-align: middle;
    display: inline-table;
}

.et-social-icons a.icon:before {
    margin-top: 3px;
    display: inline-block;
}

/* Top Menu */
#top-menu li {
    display: inline-block;
    padding: 0 15px;
    margin-right: 20px;
    font-size: 14px;
}

#top-menu li.quote-link {
    margin-left: 70px;
    margin-right: 0;
}

#top-menu li.quote-link a {
    padding: 20px 30px !important;
    background: #fbba00;
    border-radius: 0 15px 0 0;
}

#top-menu li.quote-link a:hover {
    border-radius: 0;
}

#top-menu li a {
    font-weight: 600 !important;
}

#top-menu li.quote-link a:active, 
#top-menu li.quote-link.current-menu-item a {
    color: #ffffff !important;
}

#et-top-navigation {
    padding-top: 19px !important;
}

/* Row One */
#row-one {
    padding: 100px 0;
}

#row-one h4 {
    font-size: 25px;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    color: #fff;
    text-shadow: 0 0 0 #000;
    margin-bottom: 20px;
}

#row-one h2 {
    border-left: 10px solid #ffc840;
    color: #fff;
    text-transform: uppercase;
    padding-left: 20px;
    font-weight: 700;
    font-size: 40px;
}

#row-one h2 span {
    color: #fbba00;
}

#row-one p {
    color: #fff;
    margin-top: 20px;
    max-width: 600px;
}

#row-one .et_pb_column {
    max-width: 800px;
}

#row-one .et_pb_button {
    font-weight: 600;
    margin-top: 25px;
}

/* Row Two */
#row-two, 
#row-two .et_pb_row {
    padding-bottom: 0;
}

#row-two h2 {
    font-weight: 600;
    margin: 50px 0 5px;
    font-size: 30px;
    padding-bottom: 20px;
}

#row-two h2:after {
    height: 4px;
    width: 120px;
    background: #ffcc00;
    content: "";
    display: block;
    margin: 20px 0;
}

#row-two h3 {
    font-weight: 600;
    margin: 0px 0 5px;
    font-size: 18px;
    padding-bottom: 20px;

}

#row-two {
    margin: 50px 0 0;
}

#row-two .et_pb_blurb h4 {
    font-weight: 700;
}

#row-two .et_pb_blurb_position_left .et_pb_main_blurb_image {
    width: 42px;
}

#row-two .et_pb_main_blurb_image .et_pb_image_wrap {
    background: #ffffff;
    padding: 8px;
    border-radius: 50%;
}

/* Row Three */
#row-three {
    padding: 20px 0;
}

#row-three .et_pb_column_1_3 {
    box-shadow: 0 0 20px #ddd;
    padding: 30px 15px 30px 20px;
    margin-bottom: 30px;
    transition: all 0.7s;
    min-height: 210px;
}

#row-three .et_pb_column_1_3:hover {
    box-shadow: 0 0 60px #ccc;
}

#row-three h3:after {
    height: 4px;
    width: 120px;
    background: #fbba00;
    content: "";
    display: block;
    margin: 20px auto;
}

#row-three h3 {
    padding-bottom: 0;
    font-weight: 600;
    margin: 30px 0 0;
    font-size: 36px;
    text-align: center;
}

#row-three h4 {
    font-weight: 700;
    font-size: 18px;
}

#row-three .et_pb_blurb .et_pb_image_wrap {
    background: #fbba00;
    padding: 8px;
    border-radius: 50%;
}

#row-three .et_pb_main_blurb_image {
    width: 48px;
}

#row-three .et_pb_blurb {
    margin-bottom: 0;
}

/* Row Four */
#row-four .et_pb_image {
    margin-bottom: 30px;
}

#row-four .percent-value {
    font-weight: 600;
}

#row-four .percent p {
    line-height: 1;
}

#row-four .percent {
    margin-bottom: 10px;
    height: auto;
}

#row-four .title {
    font-size: 21px;
}

/* Row Five */
#row-five {}

#row-five h3:after {
    height: 4px;
    width: 120px;
    background: #fbba00;
    content: "";
    display: block;
    margin: 20px auto;
}

#row-five h3 {
    padding-bottom: 15px;
    font-weight: 600;
    margin: 0 0 0;
    font-size: 36px;
    text-align: center;
}

#row-five .et_pb_team_member {
    box-shadow: 0 0 20px #ddd;
    background: #f5f5f5;
    text-align: center;
    padding-bottom: 30px;
    transition: all 0.5s;
}

#row-five .et_pb_team_member:hover {
    box-shadow: 0 0 60px #ddd;
}

#row-five .et_pb_module_header {
    font-weight: 600;
    font-size: 22px;
    font-family: "Montserrat";
    padding-bottom: 0;
}

#row-five .et_pb_member_position {
    font-size: 17px;
    color: #273747;
}

.et_pb_member_social_links li:last-child {
    margin-right: 0;
}

#row-five .et_pb_member_social_links a {
    height: 35px;
    width: 35px;
    padding: 4px;
    background: #000;
    border-radius: 50%;
    color: #fff;
}

#row-five .et_pb_font_icon:before {
    font-size: 12px;
}

.et_pb_member_social_links li {
    margin-right: 10px;
}

/* Row Six */
#row-six h3 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 30px;
}

#row-six .et_pb_button {
    padding: 12px 30px !important;
    margin-top: -8px;
    transition: all 0.5s;
}

#row-six .et_pb_button:hover {
    background: #000;
    color: #fbba00 !important;
}

/* Row Seven */
#row-seven h3:after, 
h3.underline:after {
    height: 4px;
    width: 120px;
    background: #fbba00;
    content: "";
    display: block;
    margin: 20px auto;
}

#row-seven h3, 
h3.underline {
    font-weight: 600;
    margin: 0 0 0;
    font-size: 36px;
    text-align: center;
    padding-bottom: 20px;
}

#row-seven article {
    border: none;
    box-shadow: 0 0 60px #eee;
    transition: all 0.5s;
}

#row-seven article:hover {
    box-shadow: 0 0 130px #eee;
}

#row-seven article h2 {
    font-weight: 700;
    font-size: 20px;
    padding-bottom: 5px;
}

#row-seven .et_pb_image_container {
    margin-bottom: 10px !important;
}

#row-seven .et_pb_post .entry-featured-image-url {
    margin-bottom: 20px;
}

#row-seven .post-meta {
    margin-bottom: 15px;
    font-size: 12px;
    color: #999;
}

#row-seven .more-link {
    background: #ffca35;
    padding: 8px 25px;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    border-radius: 3px;
    margin-top: 20px;
}

#row-seven {
    padding-bottom: 0;
}

/* Row Eight */
#row-eight h3 {
    font-weight: 600;
    margin: 0 0 0;
    font-size: 36px;
    text-align: center;
}

#row-eight h3:after {
    height: 4px;
    width: 120px;
    background: #ffcc00;
    content: "";
    display: block;
    margin: 20px auto;
}

#row-eight .et_pb_slide_description {
    padding: 0 0 50px;
}

#row-eight .et_pb_slide_content {
    text-align: left;
    color: #000;
}

#row-eight .et_pb_slide_content h4 {
    color: #000 !important;
    text-shadow: none;
    font-weight: 700;
    margin-top: -10px;
    padding-bottom: 0;
}

#row-eight .et_pb_slide_content p {
    font-size: 12px;
    text-shadow: none;
}

#row-eight .et_pb_slide_content img {
    margin-bottom: 30px;
    border: 5px solid #fff;
    box-shadow: 0 0 10px #ccc;
}

#row-eight .et_pb_container {
    height: auto !important;
}

#row-eight .et-pb-controllers .et-pb-active-control {
    background: #fbba00 !important;
}

#row-eight .et-pb-controllers a {
    display: inline-block;
    width: 35px;
    height: 7px;
    margin-right: 10px;
    background-color: #f9e5ad;
    text-indent: -9999px;
    padding: 0;
    border-radius: 7px;
}

/* Star Ratings */
p.stars {
    padding-bottom: 0;
    margin-top: -10px;
}

p.stars i {
    color: #fbba00;
    font-style: italic;
    font-size: 16px;
    margin-right: 2px;
}

/* Row Nine */
#row-nine img {
    margin: 0 30px;
    max-width: 150px;
}

/* Footer Widgets */
#main-footer #footer-widgets .footer-widget:first-child {
    width: 33%;
}

#main-footer #footer-widgets .footer-widget:first-child p {
    font-size: 13px;
}

#main-footer #footer-widgets .footer-widget:first-child a {
    margin: 0 10px;
}

#main-footer #footer-widgets .footer-widget:first-child .widget_text {
    margin-bottom: 25px;
}

#main-footer #footer-widgets .footer-widget:first-child .widget_media_image {
    margin-bottom: 30px;
}

#main-footer #footer-widgets .footer-widget:last-child {
    width: 33%;
}

#main-footer #footer-widgets .footer-widget:last-child .widget_custom_html div {
    height: 20px;
}

#main-footer #footer-widgets .footer-widget:nth-child(2) {
    width: 33%;
}

#main-footer #footer-widgets .footer-widget:nth-child(2) a {
    margin-right: 10px;
}

#main-footer #footer-widgets .et_pb_widget {
    float: none;
    max-width: 100%;
}

#main-footer #footer-widgets h4 {
    font-weight: 600;
    padding-bottom: 35px;
}

#main-footer #footer-widgets ul li {
    padding-left: 0;
}

#main-footer #footer-widgets ul li:before {
    display: none;
}

#main-footer #footer-widgets .widget_recent_entries li {
    margin-bottom: 35px;
}

#main-footer #footer-widgets .widget_recent_entries li a {
    font-weight: 500;
}

#main-footer #footer-widgets .widget_recent_entries li a:hover {
    color: #fbba00;
}

#main-footer #footer-widgets .widget_recent_entries li span {
    font-size: 13px;
    display: block;
}

/* Footer Info */
#footer-info {
    font-size: 10px !important;
    width: 45%;
    font-weight: 500 !important;
}

/* Footer Navigation */
#et-footer-nav {
    width: 51%;
    float: right;
    text-align: right;
}

#et-footer-nav .container {
    width: 100%;
}

#et-footer-nav .bottom-nav {
    float: right;
    padding: 0;
    text-align: right;
}

#et-footer-nav .bottom-nav li:last-child {
    padding-right: 0;
}

#et-footer-nav .bottom-nav li a {
    font-weight: 500;
}

/* Video Overlays */
#video-overlays .et_pb_image .et_overlay:before {
    color: #fbba00 !important;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 40px;
    margin: -20px 0 0 -25px;
}

#video-overlays img {
    border: 10px solid #fff;
    box-shadow: 0 0 40px #ccc;
}

/* Skill Counter */
#skill-counter {
    padding-top: 15px !important;
}

#skill-counter .et_pb_counter_container {
    overflow: visible;
    position: relative;
    margin-bottom: 25px;
    color: #fff;
    background-color: #ddd;
    width: 100%;
    height: 6px;
}

#skill-counter .et_pb_counter_amount {
    min-height: 6px;
    font-size: 12px;
    line-height: 1;
    text-align: right;
    position: relative;
}

#skill-counter span.et_pb_counter_amount_number {
    display: inline-block;
    padding-left: 5px;
    color: #000;
    position: absolute;
    top: -25px;
    right: 0;
    font-weight: 500;
}

#skill-counter .et_pb_counter_title {
    padding-bottom: 10px;
    font-size: 14px;
    color: #000;
}

/* Blogroll */
#blogroll article {
    box-shadow: 0 0 30px #ddd;
}

#blogroll article .post-content {
    padding: 0 30px 30px;
}

#blogroll article .post-meta {
    padding: 0 30px 15px;
    font-size: 13px;
    color: #8e9499;
    font-weight: 400;
}

#blogroll article .entry-title {
    padding: 0 30px 0;
    font-weight: 600;
}

#blogroll article .more-link {
    border-radius: 0 15px 0 0;
    margin-top: 10px;
    padding: 10px 30px;
    background: #fbba00 !important;
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Sidebar */
#sbar .et_pb_widget {
    padding: 30px;
    background: #f6f6f6;
    margin-bottom: 35px;
}

#sbar .et_pb_widget .widgettitle:after {
    height: 2px;
    width: 70px;
    background: #fbba00;
    content: "";
    display: block;
    margin: 10px auto;
}

#sbar .et_pb_widget .widgettitle {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 22px;
    background-size: 70px;
}

#sbar .widget_search input#s {
    background: none;
    border-bottom: 1px solid #bbb;
    border-top: none;
    border-left: none;
    border-right: none;
}

#sbar .widget_recent_entries li a {
    display: block;
    font-weight: 600;
    font-size: 16px;
    padding-top: 15px;
}

#sbar .widget_recent_entries li .post-date {
    text-align: left;
    color: #8e9499;
    font-size: 13px;
    display: inline-block;
}

#sbar .widget_categories #a:hover {
    color: #fbba00;
}

#sbar .widget_text img {
    border: 3px solid #fff;
}

#sbar .widget_text h4 {
    font-weight: 600;
    padding-bottom: 4px;
}

#sbar p.stars {
    padding-bottom: 10px;
}

#sbar .widget_search input#searchsubmit {
    margin-right: 20px;
    background: none;
    border: none;
    background: url(http://divicontractor.wpengine.com/wp-content/uploads/2018/02/search-icon.png) no-repeat right center;
    text-indent: -99999px;
}

/* Fixed Header */
.et-fixed-header #et-top-navigation {
    padding-top: 1px !important;
}

/* Mobile Styles */
@media (max-width: 1200px) {
  
	
	#top-menu li.quote-link {
        margin-left: 0;
    }
  
    #et_mobile_nav_menu {
        display: block;
        float: right;
    }

    #top-menu {
        display: none;
    }

    #et-footer-nav {
        float: none;
        text-align: center;
        width: 100%;
    }

    #footer-info {
        float: none;
        text-align: center;
        width: 100%;
        font-weight: 400 !important;
        font-size: 12px !important;
    }

    #et-footer-nav .bottom-nav {
        float: none;
        text-align: center;
        padding-bottom: 10px;
    }

    #row-five .et_pb_team_member_image img {
        width: 100%;
    }

    .et_pb_column .et_pb_team_member_description {
        display: block;
    }
}

@media (max-width: 980px) {
    #row-nine img {
        margin: 20px 30px;
        max-width: 250px;
    }
}

@media (max-width: 767px) {
    #row-nine img {
        margin: 20px 30px;
        max-width: 180px;
    }
}

@media (max-width: 600px) {
    #et-info-phone {
        margin-right: 0;
        border-right: none;
        padding-right: 0;
    }

    #top-header a {
        color: #fff;
        padding-top: 8px;
        display: block;
    }

    #row-one h4 {
        font-size: 17px;
    }

    #row-one h2 {
        border-left: 10px solid #ffcc00;
        color: #fff;
        text-transform: uppercase;
        padding-left: 14px;
        font-weight: 700;
        font-size: 25px;
    }

    #row-one {
        padding: 0;
    }

    #row-one h2 {
        font-size: 25px;
    }

    #row-nine img {
        margin: 30px auto;
        max-width: 80%;
        display: block;
    }

    #main-footer #footer-widgets .footer-widget:first-child {
        text-align: center;
    }

    #main-footer #footer-widgets .footer-widget:nth-child(2) {
        width: 27%;
        text-align: center;
        padding-top: 30px;
    }

    #main-footer #footer-widgets h4 {
        text-align: center;
    }

    .bottom-nav li {
        display: inline-block;
        padding-right: 0;
        font-size: 14px;
        font-weight: 600;
        display: block;
        padding-bottom: 10px;
    }

    .et_pb_fullwidth_header h1 {
        font-size: 31px !important;
    }
}

@media (max-width: 480px) {
    /* Applique un fond blanc au menu mobile */
    #main-header,
    #et_mobile_nav_menu {
        background-color: #ffffff !important;
    }

    /* Fond blanc pour le conteneur du menu mobile */
    #et_mobile_nav_menu .mobile_nav {
        background-color: #ffffff !important;
    }

    /* Fond blanc pour le sous-menu */
    #et_mobile_nav_menu ul {
        background-color: #ffffff !important;
    }
/* Sub-menu adjustments */
#top-menu .sub-menu {
    width: 600px; /* or specify a fixed width if necessary */
}

#top-menu .sub-menu a {
    white-space: nowrap;
}

.et_pb_button {
    border-radius: 0 15px 0 0 !important;
}
	}
