/**
 *
 * Front Page Styles
 * Author: Advisor Evolved
 * Since: 1.0.0
 *
 */

/*=========================================
=            Default Overrides            =
=========================================*/

.widgets-active .site-inner {
	background: #fff;
	max-width: 100%;
	padding: 0;
}

.content .entry-header {
	margin: 0;
}

.entry-header .entry-title {
	text-align: left;
}

.entry-header:before {
	display: none;
}


/*============================================
=            Secondary Navigation            =
============================================*/

.nav-secondary {
	background: #f1f1f2;
}

.nav-secondary > .wrap {
	max-width: 100%;
}

.nav-secondary .genesis-nav-menu {
	text-align: center;
	font-size: 18px;
	text-transform: uppercase;
	width: 100%;
}

.nav-secondary .genesis-nav-menu a {
	padding: 30px 45px;
}

.nav-secondary .genesis-nav-menu a:hover {
	color: #acd47e;
}

.nav-secondary .genesis-nav-menu .menu-item:not(:last-child) > a:after {
	background: #bcbec0;
	content: "";
	display: block;
	float: right;
	height: 20px;
	margin-right: -45px;
	width: 2px;
}


/*===============================
=            Widgets            =
===============================*/

.section {
	padding: 80px 0;
}

.overlay {
	position: relative;
	z-index: 1;
}

.overlay:before {
	background: rgba( 50, 57, 70, .45 );
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.services.overlay:before {
	background: rgba( 50, 57, 70, .75 );
}

/*----------  Hero Text  ----------*/

.hero-text.section {
	background: url( '../images/hero-bg.jpg' ) center center no-repeat;
	background-size: cover;
	min-height: 470px;
	max-height: 700px;
	padding-bottom: 0;
}

.hero-text > .wrap {
	margin-top: 150px;
}

.hero-text .widget {
	background: #57606f;
	color: #fff;
	max-width: 550px;
	margin-left: 80px;
	padding: 30px;
	text-align: center;
	position: relative;
	z-index: 2;
}

.hero-text .widget-title span {
	display: block;
	font-style: italic;
	font-size: .8em;
	font-weight: 300;
}

.hero-text .widget-title {
	color: #fff;
	margin-top: 0;
	font-size: 30px;
	font-size: 2.8rem;
}

/*----------  Testimonials  ----------*/

.testimonials.section {
	padding-bottom: 40px;
}

.testimonials.section .widget_text {
	font-size: 24px;
	margin: 0 auto 60px;
	max-width: 1000px;
	text-align: center;
}

.widget-ae-reviews {
	margin-bottom: 60px;
	overflow: hidden;
}

.widget-ae-reviews .quote {
	background: #f1f1f2;
	float: left;
	margin-left: 2.564102564102564%;
	overflow: hidden;
	text-align: center;
	width: 31.623931623931625%;
}

.widget-ae-reviews .quote.first {
	margin-left: 0;
}

.widget-ae-reviews .avatar-link,
.widget-ae-reviews .avatar-link:hover {
	border-bottom: 0;
	display: block;
}

.widget-ae-reviews .avatar {
	border-radius: 50%;
	float: none;
	margin: 0 auto 20px;
}

.widget-ae-reviews blockquote {
	color: #57606f;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	margin: 0;
	padding: 40px 60px 25px;
	text-align: left;
}

.widget-ae-reviews cite,
.widget-ae-reviews cite a {
	color: #fff;
	font-style: normal;
	font-weight: 700;
}

.widget-ae-reviews cite {
	background: #57606f;
	display: block;
	margin-top: 30px;
	padding: 25px 60px;
	text-align: left;
}

.widget-ae-reviews cite span {
	display: block;
	font-size: 20px;
}

.widget-ae-reviews span.title {
	font-size: 16px;
	font-weight: 400;
}

/*----------  Services  ----------*/

.services {
	background: url( '../images/services-bg.jpg' ) center center no-repeat;
	background-size: cover;
	color: #fff;
}

.services > .wrap {
	max-width: 800px;
	margin: 0 auto;
}

.services .widget {
	position: relative;
	z-index: 2;
}

.services .widget:first-of-type .widget-title {
	margin: 0 0 60px;
}

.services .widget-title {
	color: #fff;
	font-size: 36px;
	text-align: center;
	font-weight: 700;
}

.services .widget_nav_menu a {
	border-bottom: 0;
	color: #fff;
}

.services .widget_nav_menu a:hover {
	border-bottom: 2px solid currentColor;
}

.services .widget_nav_menu ul {
	font-size: 22px;
}

.services .widget_nav_menu .menu-item {
	float: left;
	margin-bottom: 60px;
	padding-left: 80px;
	position: relative;
	width: 50%;
}

.services .widget_nav_menu .menu-item:last-child {
	margin-bottom: 0;
}

.services .widget_nav_menu .menu-item.full {
	clear: both;
	padding: 0;
	text-align: center;
	width: 100%;
}

.services .widget_nav_menu .menu-item .fa:before {
	background: #acd47e;
	border-radius: 50%;
	color: #323946;
	font-size: 16px;
	height: 35px;
	left: 20px;
	line-height: 1;
	padding: 10px 9px;
	position: absolute;
	text-align: center;
	top: -7px;
	width: 35px;
}

/*----------  Partners  ----------*/

.partners {
	background: #323946;
	padding: 20px 0;
}

.partners > .wrap {
	-js-display: flex;
	display: -webkit-box;
	  display: -webkit-flex;
	  display: -ms-flexbox;
	  display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.partners .widget_simpleimage {
	margin: 20px;
}

.partners .widget_simpleimage a,
.partners .widget_simpleimage p,
.partners .widget_simpleimage a:hover {
	border-bottom: 0;
	margin: 0;
}

.partners .widget_simpleimage img {
	width: 200px;
}

/*----------  Blog  ----------*/

.blog-section.section {
	padding: 0;
}

.blog-section > .wrap {
	max-width: 100%;
}

.blog-section .featured-content .entry {
	margin: 0;
	padding: 0;
}

.blog-section .featured-content .entry > a {
	border-bottom: 0;
	margin: 0;
	overflow: hidden;
	width: 50%;
}

.blog-section .featured-content .entry-image {
	display: block;
	min-width: 700px;
	width: 100%;
}

.blog-section .featured-content .entry-header {
	padding: 80px 80px 0 0;
}

.blog-section .featured-content .entry-content {
	font-size: 16px;
	padding: 0 80px 80px 0;
}

.blog-section .featured-content .entry-content:after {
	display: block;
	clear: none;
}

.blog-section .featured-content .entry-title {
	font-weight: 700;
	font-size: 32px;
	margin-bottom: 20px;
}

.blog-section .featured-content .entry-title a:hover {
	border-bottom: 0;
}

.blog-section .featured-content .entry a.more-link {
	display: block;
	font-size: 18px;
	font-weight: 700;
	margin-top: 40px;
}

.blog-section .featured-content .entry a.more-link:hover {
	border-bottom: 0;
}

/* Left Image */

.blog-section .featured-content .entry:nth-child(odd) .entry-header,
.blog-section .featured-content .entry:nth-child(odd) .entry-content {
	margin-left: 50%;
}

.blog-section .featured-content .entry:nth-child(odd) {
	background: #acd47e;
}

.blog-section .featured-content .entry:nth-child(odd) > a {
	float: left;
	margin-right: 80px;
}

.blog-section .entry:nth-child(odd) a.more-link,
.blog-section .entry:nth-child(odd) a.more-link:hover {
	color: #444;
}

/* Right Image */

.blog-section .featured-content .entry:nth-child(even) .entry-header,
.blog-section .featured-content .entry:nth-child(even) .entry-content {
	margin-right: 50%;
	padding-left: 80px;
}

.blog-section .featured-content .entry:nth-child(even) .entry-title,
.blog-section .featured-content .entry:nth-child(even) .entry-title a,
.blog-section .featured-content .entry:nth-child(even) a {
	color: #fff;
}

.blog-section .featured-content .entry:nth-child(even) {
	background: #323946;
	color: #fff;
}

.blog-section .featured-content .entry:nth-child(even) > a,
.blog-section .featured-content .entry:nth-child(even) .entry-image {
	float: right;
}

.blog-section .featured-content .entry:nth-child(even) > a {
	margin-left: 80px;
}

/*=====================================
=            Media Queries            =
=====================================*/


/*----------  1200  ----------*/

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

	.site-inner {
		padding: 0 20px;
	}

	.hero-text .widget {
		margin: 0 auto;
		max-width: 600px;
	}

	.services,
	.partners,
	.blog-section .wrap {
		padding-right: 0;
		padding-left: 0;
	}

	/* Blog Section */
	.blog-section .featured-content .entry {
		float: left;
		width: 50%;
	}

	.blog-section .featured-content .entry:nth-child(odd) .entry-header,
	.blog-section .featured-content .entry:nth-child(odd) .entry-content,
	.blog-section .featured-content .entry:nth-child(odd) .entry-image,
	.blog-section .featured-content .entry:nth-child(even) .entry-header,
	.blog-section .featured-content .entry:nth-child(even) .entry-content,
	.blog-section .featured-content .entry:nth-child(even) .entry-image,
	.blog-section .featured-content .entry:nth-child(odd) > a,
	.blog-section .featured-content .entry:nth-child(even) > a {
		float: none;
		margin: 0;
		width: 100%;
	}

	.blog-section .featured-content .entry:nth-child(odd) .entry-header,
	.blog-section .featured-content .entry:nth-child(even) .entry-header {
		padding: 80px 80px 0;
	}

	.blog-section .featured-content .entry:nth-child(odd) .entry-content,
	.blog-section .featured-content .entry:nth-child(even) .entry-content {
		padding: 0 80px 80px;
	}


}

/*----------  1024  ----------*/

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

	/* Testimonials */
	.widget-ae-reviews blockquote,
	.widget-ae-reviews cite {
		padding: 30px;
	}

	.widget-ae-reviews .avatar {
		margin-bottom: 0;
	}

	/* Blog Section */
	.blog-section .featured-content .entry {
		float: none;
		width: 100%;
	}

	.blog-section .featured-content .entry-image {
		min-width: 100%;
	}

	.blog-section .featured-content .entry:nth-child(odd) .entry-header,
	.blog-section .featured-content .entry:nth-child(even) .entry-header {
		padding: 40px 40px 0;
	}

	.blog-section .featured-content .entry:nth-child(odd) .entry-content,
	.blog-section .featured-content .entry:nth-child(even) .entry-content {
		padding: 0 40px 40px;
	}

}

/*----------  768  ----------*/

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

	.section {
		padding: 40px 0;
	}

	.hero-text .widget {
		position: relative;
	}

	/* Secondary Navigation */
	.nav-secondary .genesis-nav-menu a {
		padding: 15px;
	}

	.nav-secondary .genesis-nav-menu .menu-item:not(:last-child) > a:after {
		margin-right: -20px;
	}

	/* Testimonials */
	.testimonials.section .widget_text {
		font-size: 18px;
	}

	/* Services */
	.services .widget_nav_menu .menu-item {
		float: none;
		width: 100%;
	}

}

/*----------  600  ----------*/

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

	/* Testimonials */
	.widget-ae-reviews .quote {
		float: none;
		margin: 0 0 40px;
		width: 100%;
	}

}
