/* 
 Theme Name:     Contractor Child Theme
 Author:         Mark Hendriksen
 Author URI:     https://www.markhendriksen.com
 Template:       Divi
 Version:        1.0
 Description:   A Divi child theme designed for contractor websites
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* ########## CHANGE COLORS ########## */

/* ######## MOBILE HAMBURGER ######### */

.custom_menu .mobile_nav .mobile_menu_bar:before {
	color: #ffffff !important;
}

@media (max-width: 479px) {
.custom_menu .mobile_nav .mobile_menu_bar:before {
	color: #ffffff !important;
}}

/* ######## CTA BUTTON IN HEADER ######### */

.cta_menu a {
    background-color: #0078bc;
    color: #fff !important;
}

/* ######## BUTTON SINGLE BLOG POST ######### */

.more-link {
    background-color: #73be0f;
    color: #fff;
}

/* ######### SIDEBAR WIDGETS ########## */

.et_pb_widget {
border: 1px solid #e5e5e5;
border-top: 5px solid #73be0f;
}

/* ######### WIDGET CTA ########## */

.button a {
background-color: #73be0f;
color: #fff !important;
}

.button a:hover {
background-color: #0078bc;
}

/* ######### WIDGET REVIEW ########## */

.review_title {
color: #0078bc;
}

/* ###### SIDEBAR MENU ###### */

.et_pb_widget_area .menu .menu-item {
	background-color: #73be0f;
}

.et_pb_widget_area .menu .menu-item:hover {
	background-color: #0078bc;
}

.et_pb_widget_area .menu .menu-item:hover a {
	color: #fff;
}

.et_pb_widget_area .menu .menu-item a {
	color: #fff;
}

.et_pb_widget_area .menu .current-menu-item {
	background-color: #0078bc;
}

.et_pb_widget_area .menu .current-menu-item a {
	color: #fff !important;
}

/* ########## END CHANGE COLORS ########## */


/* ###### GENERAL ###### */

@media (max-width: 981px) {
#page-container {
	overflow-x: hidden;
}}

@media (min-width: 981px) and (max-width: 1400px) {
.et_pb_row.custom_row_95 {
	max-width: 95% !important;
    width: 95% !important;
}}

/* ###### CUSTOM SHADOWS ###### */

.column_shadow .et_pb_column_1_3 {
	box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.25);
}

.column_shadow .et_pb_column_1_4 {
	box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.15);
}

.column_shadow_1_2 {
	box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.25);
}

.blog_image_shadow img {
	box-shadow: 0px 0px 30px 2px rgba(0, 0, 0, 0.25);
}

.icon_home_why_us .et-pb-icon-circle {
    padding: 15px !important;
}

/* ###### HEADER & MENU ###### */

#main-header {
	background-image: url("top-header-bg.svg");
	background-position: -300px;
    background-repeat: no-repeat;
}

@media (min-width: 981px) and (max-width: 1500px) {
#main-header {
	background-position: -300px;
}}

@media (min-width: 981px) and (max-width: 1175px) {
#top-menu li a {
    font-size: 18px !important;
}
	
#logo {
    max-height: 60% !important;
}

#main-header {
	background-position: -300px;
}}

@media (min-width: 981px) {
.et_fullwidth_nav #main-header .container {
    padding-right: 0px !important;
}

.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
    padding: 35px 0 0 0 !important;
}}

@media (min-width: 1850px) {
#top-menu li {
	margin-right: 70px;
}}

@media (min-width: 1500px) and (max-width: 1849px) {
#top-menu li {
	margin-right: 30px !important;
}}

.cta_menu a {
	padding-bottom: 0px;
    padding: 25px 35px 20px 35px !important;
}

@media (min-width: 981px) and (max-width: 1100px) {
.cta_menu a {
    padding: 15px 15px 10px 15px !important;
	margin-top: 15px !important;
}}

@media (min-width: 981px) and (max-width: 1499px) {
.cta_menu a {
	margin-right: 10px;
}}

.et_pb_text .phone_number_topheader {
	font-size: 40px !important;
	display: inline-block;
    vertical-align: middle;
	margin-left: 15px;
}

@media (max-width: 479px) {
.et_pb_text .phone_number_topheader {
	font-size: 30px !important;
	margin-left: 0px;
}}

@media (max-width: 980px) {
.column_under_header_home {
	margin-bottom: 0px !important;	
}}

/* ###### DROPDOWN ###### */

.nav li ul.sub-menu {
    padding: 0px 0 !important;
}

#top-menu li ul.sub-menu li a {
    font-size: 20px !important;
	color: #000 !important;
}

#top-menu li li a {
    padding: 6px 10px !important;
	margin-top: 3px;
}

#top-menu li li {
    background-color: #fff !important;
    margin-top: 3px !important;
}

/* ###### MEGA MENU ###### */

.et_fullwidth_nav #top-menu li.mega-menu>ul {
    width: 400px;
	left: initial !important;
	right: initial !important;
}

#top-menu li.mega-menu>ul>li.mega_menu_image>a:first-child {
	border-bottom: 0px solid rgba(0,0,0,.03);
}

#top-menu li.mega-menu ul li.mega_menu_image {
	padding-top: 45px !important;
}

@media all and (max-width: 980px) {
li.mega_menu_image  {
	display: none !important;
}}

#top-menu li.mega-menu ul li ul li:first-child   {
	padding-top: 10px !important;
}

#top-menu li.mega-menu>ul {
    padding: 25px !important;
    background-color: #fff !important;
}

/* ###### HOME PAGE ###### */

@media (max-width: 980px) {
.home_cta_middle {
	max-width: 100% !important;
    width: 100% !important;
}}

@media (min-width: 981px) and (max-width: 1400px) {
.home_cta_middle {
	max-width: 200% !important;
    width: 200% !important;
}

.home_project_section  .et_pb_text {
	padding-left: 25px !important;	
}

.home_project_section .button_project {
	right: 25px !important;
}}

@media (max-width: 479px) {
.home_services {
	background-attachment: fixed !important;
}}

.button_project:hover .et_pb_column {
	background-color: #000;
}

/* ###### PROJECT PAGE ###### */

@media all and (min-width: 981px) {
.project_page_column_1,
.project_page_column_2,
.project_page_column_3,
.project_page_column_4 {
border-right: 5px solid #fff;
}}

@media all and (max-width: 479px) {
.project_page_column_1,
.project_page_column_2,
.project_page_column_3,
.project_page_column_4{
border-bottom: 5px solid #fff;
}}

@media (min-width: 480px) and (max-width: 980px) {
.project_page_column_1,
.project_page_column_2,
.project_page_column_3,
.project_page_column_4 {
border-right: 5px solid #fff;
}
.project_page_column_1,
.project_page_column_2 {
border-bottom: 5px solid #fff;
}}

/* ############# REVIEW PAGE ############# */

.review .et_pb_column {
box-shadow: 0px 7px 16px 0px rgba(0, 0, 0, 0.14);
-webkit-transition: all .3s ease-out;
-moz-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}

.review .et_pb_column:before {
pointer-events: none;
position: absolute;
z-index: -1;
content: '';
top: 100%;
left: 5%;
height: 10px;
width: 90%;
opacity: 0;
background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
-webkit-transition: all .3s ease-out;
-moz-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}

.review .et_pb_column:hover {
-webkit-transform: translateY(-7px);
transform: translateY(-7px);
box-shadow: 0px 8px 14px rgba(0, 0, 0, 0.2);}
 
.review .et_pb_column:hover:before {
 opacity:1;
 top: 106%;
 height: 15px;}

.review .et_pb_column .et_pb_blurb_container {
padding: 0 25px;
}

/* ######### CONTACT PAGE ########## */

@media (max-width: 980px) {
.contact_blurb .et_pb_blurb {
	border-right-width: 0px !important;
	padding-bottom: 35px;
}}

@media (min-width: 981px) and (max-width: 1400px) {
.et_pb_row.contact_blurb {
	padding-left: 25px !important;
	padding-right: 25px !important;
}}

.contact_blurb .et_pb_blurb a {
	color: #fff;
}

/* ##### CTA FIXED ##### */

.cta_fixed_right_container {
	position:fixed;
	top: 40%;
	right:0px;
	z-index:9999999;
	transform: translateX(100%);
	box-shadow: rgb(199, 199, 199) 0px 0px 10px;
    transition: 0.5s ease-out;
	min-height: 300px;
	height: 300px;
}

.cta_fixed_right_container:hover {
transform: translateX(0px);
}

.cta_fixed_right_tab_text {
    transform: translate(-100%, -100%) rotate(-90deg);
    transform-origin: right bottom 0px;
    position: absolute;
    top: 0px;
    min-width: 300px;
    text-align: center;
    justify-content: center;
    padding: 1.3rem 0.25rem 1rem 1em;
    margin: 0px;
    display: flex;
}

.cta_fixed_right_container .customer_service_image {
	position: absolute;
    left: -67px;
    top: -67px;
}

/* ###### SIDEBAR MENU ###### */

.et_pb_widget_area .menu .menu-item {
	padding: 10px 20px 10px 20px;
	-webkit-transition: all .3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.et_pb_widget_area .menu .menu-item a {
	font-family: 'Teko',Helvetica,Arial,Lucida,sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	-webkit-transition: all .3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* ############################ */
/* ######### SIDEBAR ########## */
/* ############################ */

.et_pb_widget {
padding: 30px;
border-radius: 5px;
}

h4.widgettitle {
font-size: 24px;
font-weight: bold;
}

/* ######### WIDGET PROJECT ########## */

.widget_project p,
.cta_sidebar p {
font-size: 14px;
line-height: 1.5em;
}

.widget_project img {
width: 75px;
}

.widget_project h4.widgettitle {
padding-bottom: 20px;
}

@media all and (max-width: 1175px) and (min-width: 981px) {
.widget_project img {
width: 100%
}}

/* ######### WIDGET CTA ########## */

.cta_sidebar {
text-align: center;
}

.button a {
font-size: 18px;
font-weight: bold;
padding: 8px;
width: 100%;
display: block;
border-radius: 10px;
text-align: center;
margin-top: 15px;
line-height: 1.4em;
}

/* ######### WIDGET REVIEW ########## */

.review_title {
	font-size: 30px;
	font-style: italic;
	font-weight: bold;
}

/* ###### SINGLE BLOG PAGE ###### */

.single .et_pb_post {
    margin-bottom: 0px;
}

.single .post {
    padding-bottom: 0px;
}

#left-area {
    padding-bottom: 0px;
}

#left-area ul li ul {
    padding: 20px 0 20px 0px;
}

.more-link {
	display: inline-block !important;
    padding: 1px 15px;
    margin-top: 15px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25098039215686274);
    text-transform: uppercase;
    font-size: 14px;
}


/* ###### DIVI 4.0 FIXES ###### */

.et_pb_fullwidth_menu .et_pb_menu__wrap, .et_pb_menu .et_pb_menu__wrap {
    justify-content: flex-end !important;
}

.custom_menu ul.et-menu li a {
	font-weight: 400 !important;
}

@media (min-width: 1850px) {
.custom_menu ul.et-menu li {
	margin-right: 70px !important;
}}

.et-db #et-boc .et-l .custom_menu.et_pb_menu ul li.cta_menu a,
.custom_menu.et_pb_menu .cta_menu a {
    padding-bottom: 0px;
	margin-top: 3px;
	color: #fff !important;
	display: inline-block;
}

@media (max-width: 980px) {
.custom_menu.et_pb_menu .cta_menu a {
	padding: 8px 20px 5px 20px !important;
}}

.custom_menu.et_pb_menu .et_pb_menu__menu>nav>ul>li {
    display: block !important;
}

.custom_menu ul.et-menu {
	margin-top: 17px;
}

/* ###### DROPDOWN ###### */

.nav li ul.sub-menu {
    padding: 0px 0 !important;
}

.custom_menu ul.et-menu li ul.sub-menu li a {
    font-size: 20px !important;
	color: #000 !important;
}

.custom_menu ul.et-menu li li a {
    padding: 6px 10px !important;
	margin-top: 3px;
}

.et-db #et-boc .et-l .custom_menu ul.et-menu li li,
.custom_menu ul.et-menu li li {
    background-color: #fff !important;
    margin-top: 3px !important;
}

.custom_menu ul.et-menu li li.menu-item-has-children>a:first-child:after {
    top: 6px !important;
}

.custom_menu ul.et-menu li li:first-child {
    margin-top: 0px !important;
}

.et-fb .cta_fixed_right_container {
	display: none;
}
