/*
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
*/



.et_fullwidth_nav #main-header .container, .et_fullwidth_secondary_nav #top-header .container {
    padding-right: 5%;
    padding-left: 5%;
}
#et-info-phone {
    margin-right: 19px;
    border-right: 2px #485c6f solid;
    padding-right: 20px;
}
#et-info-email:before, #et-info-phone:before, #et_search_icon:before{color:#ffc840!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;}
#top-header .et-social-icon a {
    font-size: 10px;
    background: #4a5e70;
    padding: 5px 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 li {
    display: inline-block;
    padding-right: 15px;
    font-size: 14px;
    padding-left: 15px;
    margin-right: 20px;
}
#top-menu li.current-menu-item{border-bottom: 3px #ffc840 solid;}
#top-menu li.quote-link{margin-left:70px;margin-right: 0;}
#top-menu li.quote-link a{padding:20px 30px!important;background:#ffc840;}
#top-menu li a{font-weight: 600!important;}
#et-top-navigation{padding-top: 19px!important;}

#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:0px 0px 0px #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:#ffc840;}
#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 .et_pb_row{padding-bottom:0}*/
#row-two h3{font-weight:600;margin-top:50px;font-size:40px;margin-bottom: 5px;padding-bottom: 20px;}
#row-two h3:after{height:4px;width:120px;background:#ffc840;;content:"";display:block;margin:20px 0;}
#row-two .et_pb_blurb{margin-top:50px;margin-bottom: 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: #ffca35;
	padding: 8px;
	border-radius: 50%;
	}
#palvelut{padding-top:20px;padding-bottom: 50px;}
#palvelut .et_pb_column_1_3 {
    box-shadow: 0 0 20px #ddd;
    padding: 30px 15px 30px 20px;
    margin-bottom:30px;
    transition:all .7s;
    min-height: 170px;
}
#palvelut .et_pb_column_1_3:hover{box-shadow:0 0 60px #ccc}
#palvelut h3:after{height:4px;width:120px;background:#ffc840;;content:"";display:block;margin:20px auto;}
#palvelut h3{padding-bottom: 0;font-weight:600;margin-top: 30px;font-size:36px;margin-bottom: 0px;text-align:center;}
#palvelut h4{font-weight:700;font-size:18px}
#palvelut .et_pb_blurb .et_pb_image_wrap{
	background: #ffca35;
	padding: 8px;
	border-radius: 50%;
}
#palvelut .et_pb_main_blurb_image{width:48px;}
#palvelut .et_pb_blurb{margin-bottom:0px}

#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 h3:after{height:4px;width:120px;background:#ffc840;;content:"";display:block;margin:20px auto;}
#row-five h3{padding-bottom:15px;font-weight:600;margin-top:0px;font-size:36px;margin-bottom: 0px;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 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:#ffc840!important}

#row-seven h3:after, h3.underline:after{height:4px;width:120px;background:#ffc840;;content:"";display:block;margin:20px auto;}
#row-seven h3, h3.underline{font-weight:600;margin-top:0px;font-size: 36px;margin-bottom: 0px;text-align:center;padding-bottom: 20px;}
#row-seven article{border:none;box-shadow:0 0 60px #eee;transition:all .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 h3{font-weight:600;margin-top:0px;font-size:36px;margin-bottom: 0px;text-align:center;} 
#row-eight h3:after{height:4px;width:120px;background:#ffc840;;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 #fff solid;box-shadow:0 0 10px #ccc}
#row-eight .et_pb_container{height:auto!important}
#row-eight .et-pb-controllers .et-pb-active-control{background:#ffca35!important}
#row-eight .et-pb-controllers a {
    display: inline-block;
    width: 35px;
    height: 7px;
    margin-right: 10px;
    background-color: #f9e5ad;
    text-indent: -9999px;
    padding: 0px;
    border-radius: 7px;
}
p.stars{padding-bottom:0;margin-top:-10px}
p.stars i {
    color: #ffca35;
    font-style: italic;
    font-size: 16px;
    margin-right:2px
}
#row-nine img{margin:0 30px;max-width:150px}
#main-footer #footer-widgets .footer-widget:first-child{width:25%}
#main-footer #footer-widgets .footer-widget:first-child p{font-size:13px}
#main-footer #footer-widgets .footer-widget:first-child a{margin-right: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:30%}
#main-footer #footer-widgets .footer-widget:last-child .widget_custom_html div{height:20px}
#main-footer #footer-widgets .footer-widget:nth-child(2){width:34%}
#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:#ffca35}
#main-footer #footer-widgets .widget_recent_entries li span{font-size:13px;display:block}
#footer-info{
    font-size: 14px!important;
    width: 45%;
    font-weight:500!important
}
#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 .et_pb_image .et_overlay:before{
    color: #ffca35!important;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size:40px;
    margin: -20px 0 0 -25px;
}
#video-overlays img{border:10px #fff solid;box-shadow:0 0 40px #ccc}
#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;}
.bgleft:after{margin: 20px 0 0!important;}
.bgleft{text-align:left!important}
#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 0px;font-weight:600}
#blogroll article .more-link{border-radius:4px; margin-top:20px;padding:12px 30px;background:#ffca35!important;color:#fff;display:inline-block;text-transform:uppercase;font-weight:600;letter-spacing:1px}
#sbar .et_pb_widget{padding:30px;background:#f6f6f6;margin-bottom:35px}
#sbar .et_pb_widget .widgettitle:after{height:2px;width:70px;background:#ffc840;;content:"";display:block;margin:10px auto;}
#sbar .et_pb_widget .widgettitle{font-weight:600;margin-bottom:0px;font-size:22px;background-size:70px}
#sbar .widget_search input#s{background:none;border-bottom:1px #bbb solid;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:#ffca35}
#sbar .widget_text img{border:3px #fff solid}
#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}
.et-fixed-header #et-top-navigation {
    padding-top: 1px!important;
}
@media (max-width:1200px)
{
    #top-menu li.quote-link {
    margin-left: 0px;
}
#et_mobile_nav_menu {
    display: block;
    float: right;
}
#top-menu {
    display: none;
}
#main-footer #footer-widgets .footer-widget:last-child{width:35%}
#main-footer #footer-widgets .footer-widget:first-child{width:27%;}
#main-footer #footer-widgets .footer-widget:nth-child(2){width:27%}
#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 #ffc840;
    color: #fff;
    text-transform: uppercase;
    padding-left: 14px;
    font-weight: 700;
    font-size: 25px;
}
	#row-one h2 {
    font-size: 25px;
}
	#row-nine{padding:0}
	#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)
{
}
