/*
Theme Name:     Divi Child Theme
Theme URI:      http://www.elegantthemes.com/gallery/divi/
Description:    Divi Child Theme
Author:         Elegant Themes
Author URI:     http://www.elegantthemes.com
Template:       Divi
Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 {
	font-family: 'Fjalla One', sans-serif; 
	color: #247489;
	letter-spacing: .02em;
}

body {
	line-height: 1.4em;
}

.nav-btn {
	background-color: #A82A2A; font-size: 1.2em;
	margin-bottom: 10px; padding: 15px !important;
	border-radius: 3px;
	text-align: center; line-height: 0px !important; vertical-align: baseline;
}

.nav-btn:hover {
	background-color: #a34c4c; 
}

.nav-btn a, .et-fixed-header #top-menu .customer-btn a, .et-fixed-header  #top-menu .sched-btn a {
	color: #ffffff !important; padding-bottom: 0px !important;
}

.sidebar-btn {
	color: #fff !important;
	font-size: 16px;
	width: 100%;
}

.sidebar-btn:after {
	font-size: 26px;
}

.et_pb_bg_layout_light .et_pb_post p {
	color: #393a3a;
}

.hover-shadow.et_pb_posts article{
	padding: 20px;
	margin-left: -20px;
	margin-right: -20px;
}

.et_pb_posts article h2.entry-title {
	margin-top: 0px;
}

.et_pb_posts article {
	transition: all 0.5s ease;
}

.et_pb_posts article:last-of-type {
	margin-bottom: 0px;
}

.hover-shadow.et_pb_posts article:hover {
	box-shadow: 0 0 20px rgba(0,0,0,.1);
}

.et_pb_posts a.more-link {
	text-transform: uppercase;
	text-align: right;
	font-weight: bold;
	color: #a82a2a;
}

.testimonials h3 {
	line-height: 1.3em;
	font-family: 'Lato' !important;
	letter-spacing: 0em !important;
}

.et_pb_member_position { 
	color: #6a6a6a 
} 

.et_pb_button { 
	color: #ffffff; margin-top: 5px !important; 
}

.bg-opaque .et_parallax_bg {
	opacity: .3;
}

.icon-top-align span.et-pb-icon {
	vertical-align: top;
	margin-top: -2px;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	width: 100%;
	max-width: 100%;
}

.et_pb_column_1_3 h3, .et_pb_column_1_4 h3 {
	font-size: 32px;
}

.et_pb_column_1_3 h2 {
	font-size: 32px;
}

.quick-links .et_pb_main_blurb_image {
	text-align: left;
}

.quick-links .et_pb_blurb_container {
	padding-left: 0px;
}

.et_pb_gutters3 .et_pb_column_1_3 .et_pb_module.et_pb_button_module_wrapper {
	margin-bottom: 15px;
}

.titles-toggle h5 {
	background-color: #a82a2a;
	width: 40%;
	padding: 20px !important;
	margin: auto;
	color: #fff !important;
}

.et_pb_testimonial_description span::first-line { 
	font-weight: 700 !important; 
}

.custom-btn { 
	text-transform: uppercase 
}

.et_pb_button_time_approve {
	color: #ffffff!important;
	background: #a22622;
	border-width: 3px!important;
	border-color: #a22622;
	letter-spacing: 0px;
	font-size: 17px;
	padding-left: 2em;
	padding-right: 0.7em;
	width: 100%;
}

.et_pb_button_time_approve:before {
	content: attr(data-icon);
	font-family: "ETmodules"!important;
	color: #ffffff;
	line-height: 1.7em;
	font-size: 17px!important;
	opacity: 1;
	margin-left: -1.3em;
	right: auto;
	display: inline-block;
}

.et_pb_button_time_approve:after  {
	content: none !important;
}

.et_pb_button_time_approve:hover, .et_pb_module .et_pb_button_time_approve:hover{
	padding-left: 2em;
	padding-right: 0.7em;
	background: #a3514f!important;
}

.et_pb_column.et_pb_team_member.highlight {
	background-color: #ffffff;
	padding-top: 40px!important;
	padding-right: 40px!important;
	padding-bottom: 40px!important;
	padding-left: 40px!important;
	box-shadow: 0 0 20px rgba(0,0,0,.1);
	flex-direction: column;
}

.et_pb_column.et_pb_team_member.highlight h4 {
	padding-bottom: 0px;
}

.et_pb_team_member.highlight .et_pb_team_member_image img{
	border-radius: 50%;
}

.et_pb_team_member.highlight .et_pb_team_member_image{
	margin-top: -120px;
	margin-left: auto;
	margin-right: auto;
}

.et_pb_team_member.highlight .et_pb_team_member_description {
	overflow: scroll;
	max-height: 300px;
}

.et_pb_blurb_content {
	max-width: 100%;
}

.et_pb_column_1_3 h4, .et_pb_column_1_4 h4 {
	font-size: 24px;
}

.gfield select {
	height: 56px;
}

.gform_footer button {
	color: #fff;
}

/*-----Fade Effect-----*/

.ds-hover-3::before,
.ds-hover-3::after {
	opacity: .5;
	color: #000;
	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
.ds-hover-3:hover::before,
.ds-hover-3:hover::after {
	opacity: .7;
}


/*-----Arrows-----*/
.arrow-section-1:before {
	content: "";
	height: 100%;
	position: absolute;
	left: 125px;
	top: 90px;
	border-left: 4px solid #A82A2A;
	border-top: 4px solid #A82A2A;
	display: inline-block;
	width: 50%;
}

.arrow-section-2:before {
	content: "";
	height: 99px;
	position: absolute;
	left: 125px;
	top: 0px;
	border-left: 4px solid #A82A2A;
	border-bottom: 4px solid #A82A2A;
	display: inline-block;
	width: 50%;
}

.arrow-section-2:after  {
	content: "";
	height: 100%;
	position: absolute;
	right: 125px;
	top: 99px;
	border-right: 4px solid #A82A2A;
	border-top: 4px solid #A82A2A;
	display: inline-block;
	width: 50%;
	visibility: visible;
}

.arrow-section-2 .left-arrow.et_pb_blurb .et_pb_main_blurb_image, .arrow-section-2 .right-arrow.et_pb_blurb .et_pb_main_blurb_image {
	margin-bottom: 0px;
	margin-top: -5px;
}

.arrow-section-2 .right-arrow.et_pb_blurb .et_pb_main_blurb_image {
	text-align: left;
	float: left;
	margin-left: -9px;
}

.arrow-section-2 .left-arrow.et_pb_blurb .et_pb_main_blurb_image {
	text-align: right;
	float: right;
	margin-right: -9px;
}

.et_pb_fullwidth_header.arrow-header .et_pb_fullwidth_header_container:before {
	content: url(http://beta.resource-connection.com.php7-32.phx1-2.websitetestlink.com/wp-content/uploads/2018/02/header-arrow-6.png);
	top: -140px;
	position: absolute;
	left: 0px;
}

.et_pb_fullwidth_header.arrow-header .et_pb_fullwidth_header_container {
	padding-left: 150px;
}

.post-small-marg .et_pb_post {
	margin-bottom: 0px;
}

.arrow-section-1:before {
	top: 46px;
}


@media all and (max-width: 1434px) and (min-width: 1371px){
	.arrow-section-1:before {
		width: 5%;
	}
}

@media all and (max-width: 1370px) {
	.arrow-section-1:before {
		height: 100%;
		left: 50px;
		border-left: 4px solid #A82A2A;
		border-top: 4px solid #A82A2A;
		width: 7%;
	}
	.arrow-section-2:before {
		left: 50px;
	}
	.arrow-section-2:after {
		right: 50px;
	}

}

@media all and (max-width: 1338px) {
	.arrow-section-2 .left-arrow.et_pb_blurb .et_pb_main_blurb_image, .arrow-section-2 .right-arrow.et_pb_blurb .et_pb_main_blurb_image {
		margin-top: -5px;
	}
}

@media all and (max-width: 980px) {
	.no-marg-col .et_pb_column {
		margin-bottom: 0px;
	}
	.et_pb_column.quick-links {
		margin-top: 0px;
		padding-bottom: 20px !important;
	}
	body #page-container .et_pb_button {
		max-width: 100%;
		width: 100%;
		text-align: center;
	}
	.main-buttons .et_pb_column {
		margin-bottom: 0px;
	}
	.titles-toggle h5 {
		width: 100%;
	}
	.et_pb_team_member.highlight {
		margin-bottom: 120px;
	}
	.et_pb_row .et_pb_team_member.highlight:last-of-type {
		margin-bottom: 0px;
	}
}

@media all and (max-width: 980px) and (min-width: 768px) {
	.arrow-section-2 .et_pb_row .et_pb_column_1_3:nth-child(odd){
		width: 20% !important;
	}
	.arrow-section-2 .et_pb_row .et_pb_column_1_3:nth-child(even){
		width: 60% !important;
	}
	.et_pb_column .et_pb_team_member_image {
		float: none;
		width: auto;
	}
}

@media all and (min-width: 1289px) {
	#et-info { 
		padding-top: 10px; 
	}
}

@media all and (max-width: 1160px) and (min-width: 1140px) {
	#top-menu li {
		padding-right: 15px;
	}
}

@media all and (max-width: 1140px){
	#et_mobile_nav_menu { 
		display: block !important; 
	}
	#top-menu-nav { 
		display: none !important; 
	}
	/*.nav-btn { 
	background-color: transparent; padding: 0 !important 
}*/
}

@media all and (max-width: 1134px) {
	.connecting-header.et_pb_text_1 h1{
		font-size: 34px !important;
	}
}

@media all and (max-width: 1013px) {
	.connecting-header.et_pb_text_1 h1{
		font-size: 32px !important;
	}
}

@media all and (max-width: 1000px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 60px !important;
	}
}

@media all and (max-width: 953px) {
	.connecting-header.et_pb_text_1 h1{
		font-size: 30px !important;
	}
}

@media all and (max-width: 920px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 58px !important;
	}
}

@media all and (max-width: 894px) {
	.connecting-header.et_pb_text_1 h1{
		font-size: 28px !important;
	}
}

@media all and (max-width: 885px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 54px !important;
	}
}

@media all and (max-width: 834px) {
	.connecting-header.et_pb_text_1 h1{
		font-size: 32px !important;
	}
}

@media all and (max-width: 824px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 50px !important;
	}
}

@media all and (min-width: 768px) {
	.et_pb_post.has-post-thumbnail a.entry-featured-image-url {
		width: 30%;
		float: left;
		padding-right: 30px;
	}
	.et_pb_post.has-post-thumbnail .post-content {
		float: right;
		width: 70%;
	}
	.et_pb_post.has-post-thumbnail.et_pb_no_thumb .post-content {
		width: 100%;
		float: none;
	}
}

@media all and (max-width: 767px) {
	et_pb_gutters1 .main-header.et_pb_text_0 h5 {
		font-size: 28px !important;
	}
	.home-header {
		background-position: center !important;
	}
	.arrow-section-1:before, .arrow-section-2:before, .arrow-section-2:after {
		display: none;
	}
	body, p {
		font-size: 18px;
	}
	.et_pb_testimonial {
		padding: 10px;
	}
	.et_pb_fullwidth_header.arrow-header .et_pb_fullwidth_header_container:before {
		content: url(http://beta.resource-connection.com.php7-32.phx1-2.websitetestlink.com/wp-content/uploads/2018/02/header-arrow-6.png);
		top: -120px;
		position: absolute;
		left: 0px;
	}
}

@media all and (max-width: 763px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 44px !important;
	}
}

@media all and (max-width: 715px) {
	.connecting-header.et_pb_text_1 h1{
		font-size: 22px !important;
	}
}

@media all and (max-width: 696px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 42px !important;
	}
}

@media all and (min-width: 641px) {
	div.ginput_container_name span.name_last, li.gfield.gf_right_half, li.gfield.gf_right_third, li#field_1_4, li#field_2_3, li#field_2_4, li#field_2_8{
		padding-right: 0px !important;
	}
}

@media all and (max-width: 640px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 38px !important;
	}
}

@media all and (max-width: 600px) {
	.et_pb_fullwidth_header.arrow-header .et_pb_fullwidth_header_container:before {
		display: none;
	}
	.et_pb_fullwidth_header.arrow-header .et_pb_fullwidth_header_container {
		padding-left: 0px;
	}
}

@media all and (max-width: 579px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 34px !important;
	}
}

@media all and (max-width: 518px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 32px !important;
	}
}

@media all and (max-width: 495px) {
	et_pb_gutters1 .et_pb_text_inner .main-header.et_pb_text_0 h5 {
		font-size: 22px !important;
	}
}

@media all and (max-width: 488px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 32px !important;
	}
}

@media all and (max-width: 457px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 32px !important;
	}
}

@media all and (max-width: 423px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 32px !important;
	}
}

@media all and (max-width: 366px) {
	.et_pb_gutters1 .main-header.et_pb_text_0 h1 {
		font-size: 32px !important;
	}
}