/* Breakthrough Pro Front Page
Loads on the front page */

/* Front Page
---------------------------------------------------------------------------- */

.blog .site-inner {
	margin-top: 40px;
	padding-top: 0;
}

.front-page .site-inner {
	margin-top: 0;
	max-width: 100%;
	padding: 0;
}

.blog.full-width-content .content {
	max-width: 1200px;
	width: 100%;
}

.front-page.full-width-content .site-inner .content {
	max-width: 100%;
	width: 100%;
}

.front-page .content .entry {
	background: none;
}

.front-page .widget .entry-content {
	padding: 0;
}

.front-page .full-width-image {
	float: left;
	margin-top: -150px;
	clear: both;
}

.front-page .footer-cta-image {
	margin-top: 0;
}

.front-page .above-footer-cta + .footer-cta-image {
	margin-top: -120px;
}

.front-page .widget-title {
	font-family: 'PT Serif', serif;
	font-size: 38px;
	letter-spacing: -1px;
	text-transform: none;
	color: #1e4fbd;
}

.front-page .widget-title:first-of-type {
	margin-bottom: 40px;
}

.front-page .front-page-2:nth-child(n + 2) .widget-title {
	color: #25212A;
}

.front-page .front-page-1 + .full-width-image,
.front-page .front-page-2 + .full-width-image,
.front-page .front-page-4 + .full-width-image {
	margin-top: 0;
}

.front-page .content .view-all-portfolio {
	margin-bottom: 80px;
}

/* Front Hero
--------------------------------------------- */

.hero-section {
	padding: 110px 0;
	position: relative;
	z-index: 9999;
}

.hero-title {
font-size: 50px;
    letter-spacing: -2.5px;
    line-height: 1.05;
    max-width: 960px;
    text-align: center;
    margin: 10px auto 20px;
    color: #bd1e2d;
}

.hero-section .full-width-image {
	position: relative;
	margin-top: -55px;
	z-index: -1;
}

.hero-section .button-hero {
	border: 10px solid #fff;
}

/* Front Page 1
--------------------------------------------- */

.front-page-1 {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 40px;
}

.front-page-1 .flexible-widgets.widget-halves .widget:nth-of-type(1) {
	width: 70%;
}

.front-page-1 .flexible-widgets.widget-halves .widget:nth-of-type(2) {
	width: 30%;
}

.front-page-1 .flexible-widgets.widget-halves .widget .button {
	margin-top: 90px;
}

.front-page-1 p {
	margin-top: 20px;
}

/* Front Page 2
--------------------------------------------- */

.front-page-2 {
	background-color: #eee;
	position: relative;
	z-index: 9999;
}

.front-page-2 .featured-content .entry-title {
	font-size: 28px;
	margin-bottom: 28px;
}

.front-page-2 .flexible-widgets .wrap {
	max-width: 100%;
	padding-top: 0;
	padding-bottom: 0;
}

.front-page-2 .flexible-widgets .widget:first-child {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
}

.front-page-2 .flexible-widgets .widget:first-child img {
	display: block;
	width: 100%;
}

.front-page-2 .flexible-widgets .widget:last-child {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.front-page-2 .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	padding: 10px 12px 9px;
	box-shadow: none;
	font-size: 18px;
}

.front-page-2 .gform_heading {
	text-align: center;
}

.front-page-2 .gform_wrapper h3.gform_title {
	font-size: 34px;
	color: #1e4fbd;
	line-height: 1.1;
}

.front-page-2 .gform_wrapper li.hidden_label input {
    margin-top: 0;
}

.front-page-2 .gform_description {
	font-size: 17px;
	line-height: 1.4;
}

.front-page-2 .gform_wrapper .gform_footer {
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.front-page-2 .gform_wrapper .gform_footer input.button {
	background-color: #bd1e2d;
    font-size: 18px;
    line-height: 1.2;
    padding: 20px 90px;
    margin-right: 0;
}

.front-page-2 .gform_wrapper .gform_footer input:hover.button {
	background-color: #1e4fbd;	
}

.front-page-2 .privacy {
	text-align: center;
	font-size: 14px;
	margin-top: 20px;
	margin-bottom: 0;
}

.front-page-2 .gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0;
}

body .front-page-2 .gform_wrapper ul li.gfield {
	margin-top: 0;
}

/* Front Page 3
--------------------------------------------- */

.front-page-3 {
	    margin-top: 60px;
    margin-bottom: 140px;
}

.front-page-3 .flexible-widgets.widget-full {
	padding: 0 40px;
}

.front-page-3 .wrap {
	background-color: #fff;
	padding-bottom: 0;
	position: relative;
	z-index: 9999;
}

/* Front Page 4
--------------------------------------------- */

.front-page-4 {
	clear: both;
    position: relative;
    padding-bottom: 40px;
    margin-top: 150px;

}

.front-page-4::after {
	    bottom: 10%;
    content: "";
    background-color: #f5f5f5;
    height: 100%;
    transform: skewY(-3deg);
    position: absolute;
    width: 100%;
    z-index: 1;
}

.front-page-4 .widget-full .widget:first-of-type {
	margin-bottom: 80px;
}

.front-page-4 .featuredpage .alignleft +.entry-content {
	padding-top: 40px;
}

.front-page-4 .featuredpage .alignleft {
	margin-right: 128px;
}

.front-page-4 .flexible-widgets .wrap {
	z-index: 5;
	position: relative;
}

.front-page-4 cite {
	color: #bd1e2d;
}

/* Front Page 5
--------------------------------------------- */

.front-page-5 {
	margin-top: 30px;
	margin-bottom: 50px;
	text-align: center;
}

.front-page-5 .flexible-widgets.widget-full {
	padding: 0 40px;
}

.front-page-5 .wrap {
	background-color: #fff;
	padding-bottom: 0;
	position: relative;
	z-index: 9999;
}

/* Front Page 6
--------------------------------------------- */

.front-page-6 {
	clear: both;
	padding-top: 130px;
}

.front-page-6 .featured-content .entry {
	float: left;
	margin-left: 0;
	margin-right: 5%;
	width: 30%;
}

.front-page-6 .featured-content .entry:nth-of-type(3n) {
	float: right;
	margin-right: 0;
}

.front-page-6 .featured-content .entry:nth-of-type(3n+1) {
	clear: left;
}

.front-page-6 .featured-content .entry-title {
	font-size: 28px;
}


/* Media Queries
---------------------------------------------------------------------------- */

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

	.blog.full-width-content .content {
		max-width: 1140px;
	}
	
	.front-page-2 .gform_wrapper .gform_footer input.button {
    	font-size: 16px;
		padding: 20px 70px;
    }
    
    .front-page-2 .gform_wrapper h3.gform_title {
	    font-size: 30px;
    }
    
    .front-page-2 .gform_description {
	    font-size: 16px;
    }
    
    .front-page-2 .privacy {
	    margin-top: 15px;
    }

}

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

	.blog.full-width-content .content {
		max-width: 960px;
	}

	.hero-section {
		padding: 80px 0 40px;
	}

	.hero-title {
		font-size: 44px;
	}

	.front-page .widget-title:first-of-type {
		margin-bottom: 30px;
	}

	.front-page-6 .featured-content .entry-title {
		font-size: 20px;
	}

	.front-page-4 .featuredpage .alignleft {
		margin-right: 80px;
	}
	
	.front-page-2 .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 8px 10px 7px;
    font-size: 16px;
}

.front-page-2 .gform_wrapper .gform_footer input.button {
    font-size: 14px;
    padding: 15px 40px;
}

.front-page-2 .privacy {
    margin-top: 10px;
}

.front-page-2 .gform_wrapper h3.gform_title {
    font-size: 28px;
}

.front-page-2 .gform_description {
    font-size: 14px;
}

.gform_wrapper span.gform_description {
	margin-bottom: 0;
}

}

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

	.hero-section {
		padding: 60px 0 0;
	}

	.front-page .full-width-image {
		margin-top: -120px;
	}

	.hero-section .full-width-image {
		margin-top: -55px;
	}

	.front-page .widget-title:first-of-type {
		margin-bottom: 20px;
	}

	.front-page .full-width-image.footer-cta-image {
		margin-top: 0;
	}

	.front-page-1 .flexible-widgets.widget-halves .widget:nth-of-type(1),
	.front-page-1 .flexible-widgets.widget-halves .widget:nth-of-type(2) {
		width: 100%;
	}

	.front-page-1 .flexible-widgets.widget-halves .widget .button {
		margin-top: 0;
	}

	.front-page-3,
	.front-page-6 {
		padding-top: 0;
	}

	.front-page-4 {
		padding-top: 20px;
	}

	.front-page-4 .featuredpage .alignleft {
		float: none;
		margin-right: 0;
	}

	.front-page-6 .featured-content .entry-title {
		font-size: 20px;
	}
	
	.front-page-2 .flexible-widgets .widget:last-child {
		right: 5%;
	    left: 5%;
	    padding: 20px 5%;
	    max-width: 90%;
	    background: rgba(255,255,255,.8);
	}
	
	.front-page-2 .gform_wrapper .gform_footer input.button {
		width: 100%;
	}
	
	.front-page-2 .gform_wrapper .gform_footer input.button {
    	font-size: 17px;
    	padding: 25px 60px;
	}
	
	.front-page-2 .gform_wrapper h3.gform_title {
    	font-size: 38px;
	}
	
	.front-page-2 .gform_description {
    	font-size: 18px;
	}
	
	.front-page-4 .flexible-widgets .wrap {
	padding-top: 0;
	padding-bottom: 70px;
}

blockquote {
	margin: 10px 60px;
}

}

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

	.front-page .hero-section .full-width-image {
		margin-top: -40px;
	}

	.hero-title {
		font-size: 44px;
		margin-bottom: 40px;
	}

	.front-page-3 .widget-title {
		font-size: 28px;
	}
	
	.front-page-3 {
    margin-top: 20px;
    margin-bottom: 110px;
    }
    
    .front-page-4 {
    padding-top: 0;
    padding-bottom: 90px;
}

.front-page-5 {
    margin-top: 0;
    margin-bottom: 0;
    }
    
    .front-page .widget-title {
    font-size: 34px;
    }

	.front-page .full-width-image {
		margin-top: 0;
	}

	.front-page-3 .flexible-widgets.widget-full,
	.front-page-5 .flexible-widgets.widget-full {
		padding: 0;
	}

	.front-page-3 .flexible-widgets.widget-full .wrap,
	.front-page-5 .flexible-widgets.widget-full .wrap {
		padding-bottom: 40px;
	}

	.front-page-6 .featured-content .entry {
		float: left;
		margin-left: 0;
		margin-right: 4%;
		padding: 0;
		width: 48%;
	}

	.front-page-6 .featured-content .entry:nth-of-type(2n+1) {
		clear: left;
		margin-right: 4%;
	}

	.front-page-6 .featured-content .entry:nth-of-type(2n) {
		margin-right: 0;
	}

	.front-page-6 .featured-content .entry:nth-of-type(3n) {
		float: left;
	}

	.front-page-6 .featured-content .entry:nth-of-type(3n+1) {
		clear: none;
	}

	.front-page-6 .featured-content .entry-title {
		font-size: 20px;
	}

	.hero-section .button-hero {
		border: 5px solid #fff;
	}
	
	.front-page-2 .flexible-widgets .wrap {
		padding-left: 0;
		padding-right: 0;
	}
	
	.front-page-1 .wrap {
		padding-top: 20px;
		padding-bottom: 10px;
	}
	
	.front-page-4 {
		margin-top: 20px;
	}

}

@media only screen and (max-width: 768px) {
	.front-page-2 .flexible-widgets .widget:last-child {
		position: relative;
		top: 0;
		    transform: none;
		    left: 0;
		    right: 0;
		    max-width: 100%;
		    background-color: #f2f2f2;
	}
	
	blockquote {
		font-size: 20px;
	}
}

@media only screen and (max-width: 641px) {
.front-page-2 .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
	line-height: 1.3;
	font-size: 13px;
}

.front-page-2 .gform_wrapper h3.gform_title {
    font-size: 30px;
}

.front-page-2 .gform_description {
    font-size: 15px;
}
}

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

	.front-page .full-width-image img {
		height: 150px;
		object-fit: cover;
		width: 100%;
	}

	.front-page .full-width-image {
		margin-left: 0;
		margin-top: 0;
		margin-right: 0;
		width: 100%;
		height: 150px;
		overflow: hidden;
	}

	.hero-section .full-width-image {
		margin-left: calc( -5% - 3px);
		margin-top: -30px;
		margin-right: calc( -5% - 3px);
		width: calc(110% + 6px);
	}

	.front-page-6 .featured-content .entry {
		margin-bottom: 40px;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
		width: 100%;
	}

	.front-page-6 .featured-content .entry:nth-of-type(3n+1),
	.front-page-6 .featured-content .entry:nth-of-type(2n+1) {
		clear: none;
		margin-right: 0;
	}

}

@media only screen and (max-width: 500px) {
.front-page-2 .gform_wrapper .gform_footer input.button {
	padding: 20px;
}
}
