/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://getcarolinainsurance.com
 Description:  Child Theme for Divi
 Author:       Richard Finlayson
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/*****Custom Header Adustments*****/
#et-secondary-nav li ul, #top-header {
    background-color: #004C9C;
}
#et-info {
    float: right;
}
#logo {
    max-height: 120px;
    margin-top: -30px;
}


/*---------------Menu CTA Button---------------*/
 
#top-menu li a:hover {opacity: 1!important;}
             
.menu-cta a {
    border: 2px solid #666666!important;
    padding: 12px!important;
    border-radius: 25px;
    background-color: #8dc63f;
    text-align: center;
    color: white!important;
}
 
.menu-cta a:hover {
    background-color: #8dc639;
    color: black!important;
}
 
.et_header_style_left #et-top-navigation {
    padding-top: 16px!important;
}
 
.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 6px!important;
}
 
/*---------------CTA Button Color on Fixed Navigation---------------*/
 
#main-header.et-fixed-header .menu-cta a {
color: #fff !important;
}
 
/*---------------Menu CTA Button Mobile Settings---------------*/
 
@media only screen and (max-width: 980px) {
.menu-cta a {
    background-color: #8dc63f;
    }
}



/*****Menu Icons*****/
.menu-home a:before {
	font-family: 'ETmodules';
	content: "\e074";
	margin-right:10px;
	margin-top:-2px;
	color: black;
	font-size:18px;
	float: left;

}
.menu-cta a:before {
	font-family: 'ETmodules';
	content: "\7c";
	margin-right:10px;
	margin-top:-2px;
	color: black;
	font-size:18px;
	float: left;

}
.menu-phone a:before {
	font-family: 'ETmodules';
	content: "\e090";
	margin-right:10px;
	margin-top:-2px;
	color: white;
	font-size:20px;
	float: left;

}
.menu-phone  {
	font-size:20px;
}
.menu-loc a:before {
	font-family: 'ETmodules';
	content: "\e081";
	margin-right:10px;
	margin-top:-2px;
	color: gray;
	font-size:20px;
	float: left;

}
.menu-loc  {
	font-size:20px;
}
.menu-email a:before {
	font-family: 'ETmodules';
	content: "\e076";
	margin-right:10px;
	margin-top:-2px;
	color: white;
	font-size:20px;
	float: left;

}
.menu-email  {
	font-size:20px;
}
.menu-aboutus a:before {
	font-family: 'ETmodules';
	content: "\e08b";;
	margin-right:10px;
	margin-top:-2px;
	color: gray;
	font-size:20px;
	float: left;

}
.menu-aboutus  {
	font-size:20px;
}
.menu-add a:before {
	font-family: 'ETmodules';
	content: "\e0fd";
	margin-right:10px;
	margin-top:-2px;
	color: black;
	font-size:20px;
	float: left;

}
.menu-add  {
	font-size:20px;
}

/* === Begin: Set the divi slider height === */
/* Src: https://divibooster.com/changing-the-height-of-the-divi-slider/ */

/* Desktop */
.myslider .et_pb_slide .et_pb_container {
	height: auto !important;
	min-height: 400px !important;
}
/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 980px) {
	.myslider .et_pb_slide .et_pb_container {
		height: auto !important;
		min-height: 400px !important;
	}
}
/* Phone */
@media only screen and (max-width: 767px) {
	.myslider .et_pb_slide .et_pb_container {
		height: auto !important;
		min-height: 400px !important;
	}
}

/* Handle padding */
.myslider .et_pb_slide {
	padding-bottom: 0px !important;
}
.myslider div.et_pb_slide_description, 
.myslider .et_pb_slider_fullwidth_off div.et_pb_slide_description {
	padding-top: 1%;
	padding-bottom: 1%;
}

/* === End: Set divi slider height === */