/* Front Page Widgets
 * ========================================================================== */

.flexible-widget-area .wrap {
	padding-top: 30px;
	padding-bottom: 30px;
}

.flexible-widgets .widget {
	margin-bottom: 20px;
}

/*.flexible-widgets .widget:last-child {
	margin-bottom: 0;
}*/

.flexible-widgets .widget-last,
.widget-last {
	margin-bottom: 0;
}

@media only screen and (min-width: 800px) {

	.flexible-widget-area .wrap {
		padding-top: 5%;
		padding-bottom: 5%;
	}

	.flexible-widgets,
	.featured-content.widget .widget-wrap {
		margin-left: -20px;
		margin-right: -20px;
		width: calc( 100% + 40px );
	}

	.flexible-widgets .widget,
	.featured-content.widget .entry {
		float: left;
		padding: 20px;
	}

	.flexible-widgets.widget-full .widget,
	.flexible-widgets.widget-area .widget:nth-of-type(1),
	.flexible-widgets.widget-halves.uneven .widget:last-of-type {
		width: 100%;
	}

	.flexible-widgets.widget-fourths .widget {
		width: 25%;
	}

	.flexible-widgets.widget-halves .widget {
		width: 50%;
	}

	.flexible-widgets.widget-thirds .widget/*,
	.featured-content.widget .entry*/ {
		margin-right: 5%;
		width: 30%;
	}

	.flexible-widgets.widget-thirds .widget:last-child {
		margin-right: 0;
	}

	.flexible-widgets.widget-halves .widget:nth-child(even),
	.flexible-widgets.widget-thirds .widget:nth-child(3n+2),
	.flexible-widgets.widget-fourths .widget:nth-child(4n+2) {
		clear: left;
	}

}


/* Front Page Hero
 * ========================================================================== */

.page-header .wrap {
	padding: 5% 5%;
}

.front-page-hero .button:hover {
	background: #fff;
	color: #2895d2;
}

.front-page-hero .widgettitle {
	font-size: 48px;
}


/* Front Page 1
 * ========================================================================== */

.front-page-1 {
	text-align: left;
}

.front-page-1 .wrap {
	padding: 5% 5%;
}

.front-page-1 .right {
	text-align: right;
}

.front-page-1 img {
	width: 100%;
}

.front-page-1 .widgettitle {
	margin-bottom: 40px;
}

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

	.front-page-1,
	.front-page-1 .right {
		text-align: center;
	}
}


/* Front Page 2
 * ========================================================================== */

.front-page-2 {
	background: #2895d2;
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.front-page-2 .widget-area {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;

	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	position: relative;
}

.front-page-2 .widget.widget-first {
	float: none;
	margin-right: 0%;
	width: 100%;
}

.front-page-2 .featured-content {
	background: rgba(255,255,255,0.3);
	border-radius: 5px;
	padding: 20px 30px;
	/*float: left;
	margin-right: 2%;
	width: 29.33%;*/
}

/*.front-page-2 .featured-content:nth-of-type(4) {
	float: right;
	margin-right: 0;
	width: 29.33%;
}*/

.front-page-2 .featured-content .widgettitle a {
	color: #fff;
	font-family: 'Raleway', sans-serif;
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
}

.front-page-2 .flexible-widgets .widget-last, 
.front-page-2 .widget-last {
	margin-bottom: 20px;
}

.front-page-2 .entry-content p {
	min-height: 250px;
}

@media only screen and (max-width: 800px) {
.front-page-2 .entry-content p {
	min-height: auto;
}
}
/*@media only screen and (min-width: 800px) {

	.front-page-2 .flexible-widgets.widget-halves .widget,
	.front-page-2 .widget {
		width: 50%;
		float: left;
		align-self: center;
	}

	.front-page-2 .widget img.pull-left,
	.front-page-2 .widget img.pull-right {
	    margin-bottom: -30%;
	    margin-top: -30%;
	    pointer-events: none;
	}
}*/


/* Front Page 3
 * ========================================================================== */

.front-page-3 {
	text-align: left;
}

.front-page-3 .widgettitle {
	margin-bottom: 40px;
	text-align: center;
}

@media only screen and (max-width: 800px) {
	.front-page-3 {
		text-align: center;
	}
}


/* Front Page 4
 * ========================================================================== */

.front-page-4 .wrap {
	padding: 60px 0 0;
}

.front-page-4 {
	background: #E7F6FB;
	text-align: center;
}

.front-page-4 .widgettitle {
	color: #2895d2;
	font-weight: 900;
	margin-bottom: 40px;
}

/*.front-page-4 blockquote {
	font-size: 25px;
	font-weight: 300;
	font-style: normal;
	margin: 20px 0;
}

@media only screen and (min-width: 800px) {
	.front-page-4 blockquote {
		font-size: 50px;
	}
}*/

/* Testimonials */

/*.testimonial-slider .entry {
	padding: 0;
	margin: 0;
	border: 0;
}

.testimonial-source {
	max-width: 200px;
	margin: 40px auto;
	text-align: left;
}

.testimonials .testimonial-source img {
	max-width: 50px;
	border-radius: 25px;
	float: left;
	margin-right: 15px;
	margin-top: -15px;
}*/
