/*
Theme Name: Divi Child Theme
Theme URI: https://designforalltrades.com.au/
Description: Divi Child Theme
Author: Design For All Trades
Author URI: https://designforalltrades.com.au/
Template: Divi
Version: Updated for Divi 3+
*/



/***** TYPOGRAPHY ******/

body {
	font-family: 'Roboto', sans-serif;
	font-size: 16px; 
	line-height:24px;
	font-weight: 400;
	color: #1e4555 !important;
}

h1 {
	font-family: 'Rubik', sans-serif;
	font-size: 68px; 
	line-height:78px;
	font-weight: 700;
	color: #0e2c48 !important;
	margin-top: 0;
}

h2 {
	font-family: 'Rubik', sans-serif;
	font-size: 40px; 
	line-height:48px;
	font-weight: 700;
	color: #0e2c48 !important;
}

h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 32px; 
	line-height:40px;
	font-weight: 800;
	color: #1c293b !important;
}

h4 {
	font-family: 'Roboto', sans-serif;
	font-size: 26px; 
	line-height:34px;
	font-weight: 400;
	color: #28b68d !important;
}

h5 {
	font-family: 'Roboto', sans-serif;
	font-size: 22px; 
	line-height:30px;
	font-weight: 800;
	color: #1c293b !important;
}

.et_pb_column_1_3 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4, .et_pb_column_2_5 h4 {
	font-size: 26px;
}
.et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2 {
	font-size: 40px;
}

/***** PANELS ******/

.service-icons .et_pb_main_blurb_image {
	max-width: 50% !important;
	margin-bottom: 20px !important;
}
.service-icons .et_pb_blurb_content h4 {
	font-size: 18px !important;
	line-height: 24px !important;
}

/***** TESTIMONIALS ******/

.testimonial h5 {
	font-size: 18px !important;
}
.testimonial h4 {
	font-size: 30px !important;
	line-height: 38px !important;
}

.warranty .et_pb_main_blurb_image img {
	height: 100px !important;
	width:auto;
}
.warranty .et_pb_main_blurb_image {
	margin-bottom: 20px !important;
}
.warranty .et_pb_blurb_content h4 {
	font-size:18px !important;
	line-height: 24px !important;
	font-weight: 700 !important;
}


/*
#work {
	padding: 3px !important;
}
.et_pb_gallery_0.et_pb_gallery .et_pb_gallery_image a img {
border-width: 6px;
border-color: #ffffff;
}
*/

/***** FOOTER ******/

.footer-design h4 {
	font-size: 18px !important;
}
footer p {
	color: #337b74 !important;
}


/***** HEADER ******/

#top-menu1 {
	float: none !important;
}
#top-menu1 .current-menu-item a::before,
#top-menu1 .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu1 li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 10%;
 background: #1ab78d; /*** COLOR OF THE LINE ***/
 height: 2px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu1 li a:hover {
 opacity: 1 !important;
}
#top-menu1 li a:hover:before {
 right: 0;
}
#top-menu1 li li a:before {
 bottom: 0%;
}

#top-menu1 .et-menu-nav li {
	font-size: 16px;
}

#top-menu1 li.current-menu-item>a {
	color: #1ab78d;
}

/***** MOBILE MENU ******/

.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu, .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
    margin-top: 40px;
    background-color: #0e2c48 !important;
}
.et_mobile_menu {
    border-top: 3px solid #1ab78d;
}
.et_mobile_menu li a {
    border-bottom: none;
}
#top-menu1 .et_mobile_menu li a:before {
	display:none;
}




/***** MEDIA QUERIES ******/


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

	
	
	
}


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



	
	
}


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


@media all and (max-width: 640px) {
	
	
	body {
	font-size: 16px; 
	line-height:24px;
}

h1 {
	font-size: 48px !important; 
	line-height:56px !important;
}

h2 {
	font-size: 32px !important; 
	line-height:38px !important;
}

h3 {
	font-size: 26px !important; 
	line-height:34px !important;
}

h4 {
	font-size: 22px !important; 
	line-height:30px !important;
}

h5 {
	font-size: 18px !important; 
	line-height:26px !important;
}
	
	/***** SPACING ******/

	.row-padding-large {
		padding: 80px 0 80px 0;
	}
	.row-padding-medium {
		padding: 100px 0 80px 0;
	}
	.row-padding-small {
		padding: 70px 0 50px 0;
	}
	.row-padding-title {
		padding: 120px 0 50px 0;
	}
	
	.et_pb_menu_0_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap .et_pb_menu__logo img {
    max-height: 40px !important;
}
	.about-panels .image-text .et_pb_text_4 {
		padding: 0 40px 40px 40px !important;
	}
	
	#contact .et_pb_row_14.et_pb_row {
    padding-top: 40px!important;
    padding-right: 20px!important;
    padding-bottom: 40px!important;
    padding-left: 20px!important;
		margin-left: 20px !important;
		margin-right: 20px !important;
		width: 90%;
}
	
	
}




