/*---------------------------------------------------------------------------------

 Theme Name:   divi-child
 Theme URI:    https://www.elegantthemes.com/
 Description:  divi child theme
 Template:     Divi

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* Header CSS */
.et-fixed-header #logo {
    content: url(/wp-content/uploads/2023/03/web-header-logo.png);
}
.et-fixed-header #et-info a span, .et-fixed-header #et-info a {
	color: #588695 !important;
}
#et-info a span, #et-info a {
    color: #fff !important;
    font-weight: 500;
}
#et-info-phone::before {
    content: "";
    background: url(/wp-content/uploads/2023/03/phone-24.png) center / contain no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
    top: 5px;
    margin-right: 8px;
}
#et-info-email::before {
    content: "";
    background: url(/wp-content/uploads/2023/03/email-24.png) center / contain no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    top: 5px;
    margin-right: 8px;
}
.mobile_menu_bar_toggle::before {
    color: #9fe04a !important;
}
#mobile_menu {
    border-top: 2px solid #9fe04a !important;
    background: #193b48 !important;
}
#mobile_menu .menu-item-1804 {
    display: none;
}
#top-menu .sub-menu {
	width: 320px;
}
#top-menu .sub-menu li a {
	width: 300px;
}

/* Slider CSS */
.banner-btn-group {
    display: flex;
    align-items: center;
}
.banner-btn {
    border-radius: 3px;
}
.banner-call-btn {
    background: #bc0800;
	color: #FFFFFF;
    margin-right: 10px;
	padding: 20px 20px 20px 58px;
}
.banner-free-btn {
    background: #9fe04a;
    padding: 20px 30px 20px 60px;
}
.banner-btn::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
}
.banner-call-btn::before {
    background: url(/wp-content/uploads/2023/03/white-phone-icon.png);
    position: absolute;
    left: 20px;
    top: 15px;
}
.banner-free-btn::before {
    background: url(/wp-content/uploads/2023/03/free-consultation.png);
    position: absolute;
    left: 53%;
    top: 18px;
}

/* Button CSS */
.call-btn {
    background: #fcec42;
    padding: 15px 20px 15px 20px;
    border-radius: 3px;
}
.call-btn::before {
    background: url(/wp-content/uploads/2023/03/white-phone-icon.png);
    content: "";
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    top: 10px;
    margin-right: 10px;
}
.top-menu-link {
    background: #bc0800 !important;
    padding: 5px 12px;
    border-radius: 3px;
}

/* Project Gallery CSS */
#project_gallery .et_pb_gallery_item {
    padding: 15px;
}
#project_gallery .et_pb_gallery_title {
    margin-top: 0;
    padding: 20px 10px;
    color: #fff;
    background: #234d5b;
	border-top: 2px solid #9fe04a;
}
#project_gallery .et_pb_gallery_caption {
    display: none;
}
#project_gallery .et_pb_gallery_caption a {
    color: #9fe04a;
    font-weight: 500;
}
#project_gallery .et_pb_gallery_item {
	cursor: pointer;
}
#project_gallery .et_pb_gallery_item:hover .et_pb_gallery_title {
    position: absolute;
    top: 20%;
    background: rgba(0,0,0,0.5);
	left: 10%;
    max-width: 300px;
	width: 100%;
	border: none;
}
#project_gallery .et_pb_gallery_item:hover .et_pb_gallery_caption {
    display: block;
    position: absolute;
    top: 33%;
    color: #fff;
    background: rgba(0,0,0,0.5);
    left: 10%;
    padding: 10px;
    max-width: 300px;
	width: 100%;
	font-weight: 300;
}

/* Home Page Form CSS */
.frm-two_cols {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
}
.frm_left {
    width: 49%;
    margin-right: 2%;
    float: left;
    display: inline-block;
}
.frm_right {
    width: 49%;
    float: right;
    display: inline-block;
}
.txtarea_wrap {
    width: 100%;
    display: block;
    margin-bottom: 25px;
}

.frm-btn_wrap {
    width: 100%;
    display: block;
	text-align: center;
}

.wpcf7-form input[type=text], .wpcf7-form input[type=tel], .wpcf7-form input[type=email], .wpcf7-form select {
    width: 100%;
    height: 60px;
    background: #fff !important;
    padding: 15px;
    border: 1px solid #e1e1e1 !important;
    border-radius: 5px;
}
.wpcf7-form textarea {
    width: 100%;
    padding: 15px;
    height: 120px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 300;
}

.home-form_wrap button {
    background: #bc0800;
    border: none;
    color: #2d5d6d;
    font-weight: 500;
    width:  60%;
    padding: 20px;
    cursor: pointer;
	border-radius: 5px;
}
.home-form_wrap button:hover::after, .contact-frm_wrap button:hover::after{
	display: none !important;
}

.home-form_wrap button:hover{
    background: #105ca8 !important;
    padding: 20px !important;
    border: none !important;
    border-radius: 5px;
    text-align: center;
	color: #fff;
}

.contact-frm_wrap button {
    background: #fcec42;
    border: none;
    color: #2d5d6d;
    font-weight: 300;
    width:  80%;
    padding: 20px;
    cursor: pointer;
	border-radius: 5px;
}
.contact-frm_wrap button:hover{
    padding: 20px !important;
    border: none !important;
    border-radius: 5px;
    text-align: center;
}

.section_title::after {
    content: "";
    width: 120px;
    height: 4px;
    display: inline-block;
    border-top: 2px solid #bc0800;
    margin-left: 20px;
}

.why_title::after {
    content: "";
    width: 120px;
    height: 4px;
    display: inline-block;
    border-top: 2px solid #fcec42;
    margin-left: 20px;
}

.testi_title::after {
	content: "";
    width: 120px;
    height: 4px;
    display: inline-block;
    border-top: 2px solid #bc0800;
    margin-left: 20px;
}
.testi_title::before {
	content: "";
    width: 120px;
    height: 4px;
    display: inline-block;
    border-top: 2px solid #9fe04a;
    margin-right: 20px;
}


/* Mobile CSS */

@media only screen and (max-width: 768px) {
	.banner-free-btn::before {
		left: 55%;
		top: 15px;
	}
	.swiper-button-prev, .swiper-button-next {
		display: none;
	}
}

@media only screen and (max-width: 479px) {
	#top-header {
		display: none;
	}
	.et_pb_section_first {
		padding-top: 90px !important;
	}
	.home-form_wrap {
		width: 100% !important;
		margin: 0 auto !important;
		display: table;
	}
	.frm-two_cols {
		display: block;
		margin-bottom: 0;
	}
	.frm_left {
		margin-right: 0;
	}
	.frm_left, .frm_right {
		width: 100%;
		margin-bottom: 10px;
		display: block;
		float: none;
	}
	.frm-btn_wrap {
		float: none;
		width: 100%;
		margin: 0 auto;
		display: block;
	}
	.contact-frm_wrap button, .home-form_wrap button  { 
	  width: 100%;
	}
	.banner-btn-group {
		display: block;
	}
	.banner-btn {
		display: block;
		text-align: center;
		width: 100%;
		margin-bottom: 10px;
	}
	.banner-free-btn::before {
		left: 8%;
		top: 65%;
	}
	.section_title::after {
		display: block;
		margin: 5px 0;
		width: 100%;
	}
	.why_title::after {
    	display: block;
		margin: 5px 0;
		width: 100%;
	}
	.testi_title::after, .testi_title::before {
		display: block;
		margin: 5px auto;
	}
	.cta-icon {
		float: none !important;
		margin: 0 auto !important;
		margin: 10px auto !important;
	}
}