/*
Theme Name: Divi Child Theme
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Template: Divi
*/


/***** Custom Styles here ******/

html body {
	background: #1f4f87;
}

/* links */
body a {
	color:#c58d6d
}
body a:hover, body a:focus {
	color: #955251;
}

body .et_pb_contact_main_title {
	color: #1f4f87;
	font-weight: bold;
}

body .et_pb_promo.et_pb_bg_layout_dark a, body .primary a {
	color: #fff;
	text-decoration: underline;
}
	body .et_pb_promo.et_pb_bg_layout_dark a:hover, body .et_pb_promo.et_pb_bg_layout_dark a:focus, body .primary a:hover, body .primary a:focus {
		text-decoration: none;
	}
body .et_pb_promo.et_pb_bg_layout_dark a.et_pb_promo_button {
	text-decoration: none;
}



/* text style */
body h1, body h2, body h3, body h4, body h5, body h6 {
	font-weight: bold;
	color: #1f4f87;
}
body h3, body h4, body h5, body h6 {
	line-height: 1.4;
}
	.et_pb_text h1 {
		text-align: center;
	}
	.et_pb_text h3 {
		margin-bottom: 10px;
	}
body h2 {
	color: #1F4F8B;
}
body p {
	line-height: 1.5em;
}

.et_pb_blurb_content p, body .testimonial_rotator_quote {
	text-indent: 35px;
}

body.et_fixed_nav #logo {
  max-height: 70px;
  margin-bottom: 20px;
}

body h2.testimonial_rotator_slide_title {
	font-size: 24px;
}

#left-area ul, .entry-content ul, .comment-content ul {
font-size: 16px;
line-height: 1.6;
}

/* elements style */
.et_pb_testimonial.et_pb_bg_layout_dark:before {
	background: #c58d6d;
}

body .et_pb_contact input[type="text"], body .et_pb_contact input[type="email"], body .et_pb_contact textarea {
	border: 2px solid #ccc !important;
	-webkit-border-radius: 4px !important;
	-moz-border-radius: 4px !important;
	border-radius: 4px !important;
}

.fixed-boxes .et_pb_column_1_4 a.et_pb_promo_button {
	width: 100px;
}

.fa-section .fa, .et_pb_blurb .fa {
	display: block;
	font-size: 64px;
  	color: #c58d6d;
  	margin-bottom: 12px;
}
	.et_pb_blurb .fa {
		text-align: center;
		font-size: 96px;
		color: #1f4f87;
	}

.et_pb_contact input[type="text"], .et_pb_contact input[type="email"], .et_pb_contact textarea {
  background-color: #eee;
  border: none!important;
  width: 100% !important;
  -moz-border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  border-radius: 0 !important;
  font-size: 14px;
  color: #999 !important;
  padding: 16px !important;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
 } 	
 
.et_pb_section table.et_pb_contact_form, .et_pb_section .et_pb_contact_form td {
 	border: none;
 }
 	.et_pb_section .et_pb_contact_form td {
 		padding: 6px 0;
 	}

/* header */
body #main-header {
	-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	-moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

#top-menu .menu-item-has-children > a:first-child:after, .fullwidth-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
	display: none;
}

#logo:hover, #logo:focus {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

/* menu */

#main-header .container {
	width: 96%;
}

body #top-menu li {
	padding-right: 0;
}

body.et_header_style_left #et-top-navigation, body.et_header_style_split #et-top-navigation {
	padding-top: 0;
}

body.et_header_style_left #et-top-navigation nav > ul > li > a, body.et_header_style_split #et-top-navigation nav > ul > li > a {
	padding-bottom: 17px;
}

body #main-header {
	padding-top: 15px;
}

body #top-menu {
	padding-top: 15px;
}

body #top-menu li > a, body .fullwidth-menu li > a, body .et_mobile_menu li a {
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}
	body #top-menu li > a, body .fullwidth-menu li > a {
		padding: 15px 20px;
	}
		body #top-menu li.cta-nav a {
			background: #c58d6d;
			-webkit-border-radius: 4px;
			-moz-border-radius: 4px;
			border-radius: 4px;
		}
			body #top-menu li.cta-nav a:hover, body #top-menu li.cta-nav a:focus, body #top-menu li.current-menu-ancestor.cta-nav > a:hover, body #top-menu li.current-menu-item.cta-nav > a:hover, body .bottom-nav li.current-menu-item.cta-nav > a:hover, body #top-menu li.current-menu-ancestor.cta-nav > a:focus, body #top-menu li.current-menu-item.cta-nav > a:focus, body .bottom-nav li.current-menu-item.cta-nav > a:focus {
				color: #f1f1f1;
			}

	body #top-menu li > a:hover, body #top-menu li > a:focus, .et_mobile_menu li a:hover, .et_mobile_menu li a:focus, body #top-menu li.current-menu-ancestor > a, body #top-menu li.current-menu-item > a, body .bottom-nav li.current-menu-item > a
	 {
		color: #c58d6d;
		font-weight: bold;
	}

body #top-menu li.current-menu-ancestor.cta-nav > a, body #top-menu li.current-menu-item.cta-nav > a, body .bottom-nav li.current-menu-item.cta-nav > a {
	color: #fff;
}

/* mobile menu */	
body .et_mobile_menu {
	top: 82px;
	text-align: left;
}	

/* dropdown menu */
body .nav li ul {
	width: 360px;
	left: 0;
	padding: 0 15px;
}
	body .et-fixed-header .nav li ul {
	top: 52px;
}
body #top-menu ul li, body .fullwidth-menu ul li {
	display: block;
	padding: 0;
}
	body #top-menu ul li:before, body .fullwidth-menu ul li:before {
	  font-family: FontAwesome;
	   content: "\f105";
	   float: left;
	   padding: 5px 10px 0 0;
	   color: #fff;
	}
body #top-menu ul li a, body .fullwidth-menu ul li a {
	font-size: 14px;
	padding: 5px 0;
	text-transform: capitalize;
	font-weight: bold !important;
	display: block;
	width: 100%;
}
	body .et_mobile_menu ul a {
		text-transform: capitalize;
		color: #ccc;
	}
/* dropdown menu 2nd level*/
body .nav li ul ul {
	left: -474px;
	  top: -22px;
	  text-align: right;
	  width: 440px;
}
	body #top-menu ul ul li:before, body .fullwidth-menu ul ul li:before {
		content: "\f104";
	   float: right;
	   padding: 5px 0 0 5px;
	}


/* logo */
body .et-fixed-header #logo {
  max-height: 60px;
  margin-bottom: 10px;
}

/* testimonials rotator*/
.testimonial_rotator .has-image .img img, .testimonial_rotator_single.has-image .img img {
	-webkit-border-radius: 150px;
	-moz-border-radius: 150px;
	border-radius: 150px;
}

.testimonial_rotator .has-image .img, .testimonial_rotator_single.has-image .img {
	float: left;
	margin: 15px 20px 20px 0;
	width: auto;
	max-width: 50px;
}

body .testimonial_rotator .has-image .text, body .testimonial_rotator_single.has-image .text, body .testimonial_rotator_description {
	float: none;
	margin: 0 auto;
	width: 75%;
}
	body .testimonial_rotator_author_info {
		margin: 30px 0 0;
	}

body .testimonial_rotator .testimonial_rotator_slide_title {
  margin: 0 0 25px 0;
}

body .testimonial_rotator_quote {
	font-size: 16px;
	line-height: 1.7em;
}

body .fa-chevron-left:before {
	  content: "\f104";
}

body .fa-chevron-right:before {
	  content: "\f105";
}

body .testimonial_rotator_prev, body .testimonial_rotator_next {
	font-size: 100px;
	color: rgba(0,0,0,0.1);
}

body .testimonial_rotator_wrap {
  position: initial;
}

body .testimonial_rotator_prev {
  left: -25px;
}

body .testimonial_rotator_next {
  right: -25px;
}

/* testimonials home */
.testimonials-home .et_pb_blurb_content {
	text-align: center;
}
	.testimonials-home h4 {
		color: #1b1b1b;
	}
	.testimonials-home h4:before, .testimonials-home h4:after, .quote h4:before, .quote h4:after {
		font-family: FontAwesome;
		content: "\f10d";
		color: #c58d6d;
		margin-right: 10px;
	}
	.testimonials-home h4:after, .quote h4:after {
		content: "\f10e";
		margin-left: 10px;
	}
.testimonials-home .et_pb_main_blurb_image img {
	-webkit-border-radius: 150px;
	-moz-border-radius: 150px;
	border-radius: 150px;
}


.et_pb_promo_button.medium {
	font-size: 24px;
}
	body .et_pb_promo_button.medium:hover:after {
		margin-top: 7px;
	}

/* clients testimonials */
	.quote h4 {
		color: #1b1b1b;
		font-weight: normal;
		font-style: italic;
		line-height: 1.6;
	}
	.quote p {
		font-size: 15px;
  		margin-top: 30px;
  		font-weight: bold;
	}

/* promo boxes */
.fixed-boxes .et_pb_promo {
  text-align: center;
  position: relative;
}
	.et_pb_promo.auto {
		min-height: initial;
	}
	.et_pb_promo.auto .et_pb_promo_button {
		position: relative;
		bottom: auto;
	}
body .et_pb_promo_button {
	font-size: 16px;
}

.fixed-boxes .et_pb_promo, .shadow-bottom {
  -webkit-box-shadow: 0px 15px 25px 0px #ccc;
    -moz-box-shadow: 0px 15px 25px 0px #ccc;
	  box-shadow: 0px 15px 25px 0px #ccc;
}

body .et_pb_promo_button:hover:after {
	font-size: 26px;
}
body .primary .et_pb_promo_button:hover:after {
	margin-top: 7px;
}
	

/* primary */
.et_pb_promo.primary h2 {
	font-size: 46px;
}
.et_pb_promo.primary .et_pb_promo_button {
	font-size: 24px;
	left: auto;
	transform: translateX(0);
}

.et_pb_promo_button.primary {
	font-size: 26px;
}
	.et_pb_promo_button.primary:hover, .et_pb_promo_button.primary:focus {
		color: #fff;
	}
.et_pb_promo_button.accent {
	background-color: #c58d6d;
	border-color: #c58d6d;
}
.et_pb_promo_button.primary:after, a.et_pb_more_button.primary:after {
	top: 15px;
}




/* blurb boxes */
.et_pb_main_blurb_image img {
	max-width: 96px;
}
	.et_pb_main_blurb_image.auto img {
		max-width: 100%;
	}

/* footer */
body #footer-bottom {
	background: #1f4f87;
}
body .footer-widget {
	width: auto;
	float: none;
}

body #footer-widgets {
	float: left;
	padding-top: 40px;
}

.logo-footer {
	width: 48px; 
	float: left; 
	margin-right: 20px;
	margin-top: -10px;
}
#main-footer {
	padding-bottom: 15px;
}
#main-footer .et-social-icons {
	padding-top: 40px;
}

#main-footer .et-social-icon a {
	color: #fff;
}
	#main-footer .et-social-icon a:hover, #main-footer .et-social-icon a:focus {
		color: #c58d6d;
	}

#main-footer .footer-widget, #main-footer .container {
	width: 100% !important;
}


/* top intro */
.top-intro h2 {
  font-size: 26px;
  margin-top: 20px;
}

/* stay in touch */
.primary .et-social-icons {
	float: none;
}
	.primary a.icon {
		color: #f1f1f1;
		text-decoration: none;
	}
		.primary a.icon:hover, .primary a.icon:focus {
			color: #ccc !important;
		}

/************** tablets max *************/
@media only screen and (max-width: 768px) {

body .testimonial_rotator_wrap {
	margin: 0;
	padding: 0;
}

body .testimonial_rotator .has-image .text, body .testimonial_rotator_single.has-image .text {
	width: auto;
}

body .testimonial_rotator_wrap.with-prevnext {
	padding: 10px 0;
}

body .testimonial_rotator_prev {
  left: 65px;
  bottom: 0;
  top: auto;
}

body .testimonial_rotator_next {
  right: 65px;
  bottom: 0;
  top: auto;
}

}

/************** desktop max *************/
@media only screen and (max-width: 980px) {
body #main-header #et_mobile_nav_menu {
  margin-top: 28px;
}

/* promo boxes */
.et_pb_promo {
  min-height: inherit;
}

body .et_pb_promo_button {
	position: relative;
	bottom: auto;
}

body h2.testimonial_rotator_slide_title {
	font-size: 20px;
	line-height: 1.3;
}

.et_pb_promo_button.primary {
	font-size: 20px;
}

.et_pb_promo.primary h2 {
	font-size: 36px;
}

/* footer */
body #footer-widgets {
	float: none;
	padding-top: 20px;
    padding-bottom: 0;
}

#main-footer {
	padding: 0 15px 15px;
}

}

/************ desktop and up ******************/
@media only screen and (min-width: 981px) {
	
	
body.et_header_style_left .et-fixed-header #et-top-navigation, body.et_header_style_split .et-fixed-header #et-top-navigation {
	padding-top: 0;
}
	
body .et-fixed-header #top-menu li.current-menu-ancestor > a, body .et-fixed-header #top-menu li.current-menu-item > a {
    color: #c58d6d !important;
}

#et-top-navigation {
	padding-left: 0 !important;
}

body h1 {
	font-size: 56px;
	line-height: 1.3
}

body h2 {
	font-size: 36px;
	line-height: 1.2
}

body p, body .testimonial_rotator_quote {
	font-size: 18px;
	line-height: 1.6em;
}

.fixed-boxes .et_pb_promo .et_pb_promo_button {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 160px;
}

.fixed-boxes .et_pb_promo {
  min-height: 230px;
}

.fixed-boxes h2 {
	font-size: 24px;
}
 

}