/* SPC Front Page
Loads on the front page */

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

.front-page .content-sidebar-wrap,
.front-page.full-width-content .content {
	max-width: 100%;
	padding: 0;
	width: 100%;
}

.front-page .content-sidebar-wrap .wrap {
	margin: 0 auto;
	max-width: 1140px;
}


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

.front-page-banner {
	background-size: cover;
	color: #ffffff;
	font-family: 'Crimson Text', serif;
	padding: 250px 30px 150px;
	text-align: center;
}

.front-page-banner .widget {
	max-width: 800px;
	margin: 0 auto;
}

.front-page-banner .widget .widget-title {
	color: #ffffff;
	font-size: 44px;
	font-size: 4.4rem;
	font-weight: 400;
	margin-bottom: 10px;
}

.front-page-banner .widget p {
	font-style: italic;
	font-size: 30px;
	font-size: 3rem;
	padding: 10px 0;
}

.front-page-banner .button {
	background-color: #A9BA9D;
	color: #ffffff;
	border: 2px solid #A9BA9D;
}

/* Overlay */

div#front-page-banner {
	position: relative;
}

.front-page .content-sidebar-wrap .wrap {
	position: relative;
	z-index: 100;
}

div#front-page-banner:before {
    content: '';
    background-color: rgba(0,0,0,0.45);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 0;
}

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

.front-page-boxes {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-around;
	padding: 0 20px;
}

.front-page-box {
	color: #989898;
	width: 95%;
	padding: 50px 40px 20px;
	text-align: center;
}

.front-page-box .widget {
	border-bottom: 1px solid #f2f2f2;
	margin-bottom: 25px;
}

.front-page-box > .widget:first-of-type,
.front-page-box > .widget:nth-last-child(2)  {
	border-bottom: 0;
}

.front-page-box .widget:last-of-type {
	border-bottom: 0;
	margin-bottom: 0;
}

#box-2.front-page-box {
	background-color: #ffffff;
	margin-top: -20px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.16);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.16);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.16);
}

.front-page-box .widget-title {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color: #989898;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.front-page-box > .widget:first-of-type .widget-title {
	color: #333;
	font-family: 'Crimson Text', serif;
	font-size: 30px;
	padding-bottom: 8px;
	margin-bottom: 10px;
	text-transform: none;
	letter-spacing: 0;
	position: relative;
}

.front-page-box > .widget:first-of-type .widget-title:after {
	content: '';
	width: 40px;
	border-bottom: 3px solid #A9BA9D;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -20px;
}

.front-page-box h4,
.front-page-box strong {
	color: #333;
	font-size: 18px;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
	font-weight: 800;
}

.front-page-box p {
	margin-bottom: 10px;
}

.front-page-box .button {
	margin-bottom: 8px;
	width: 100%;
}


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

.front-page-4 {
	padding: 50px 30px 80px;
}

.front-page-4 .widget-title {
    font-family: 'Crimson Text', serif;
    font-size: 30px;
    margin-bottom: 5px;
    text-transform: none;
	text-align: center;
}

.front-page-4 .featured-content article.entry {
	padding: 0!important;
}

.front-page-4 .featured-content article.entry > a {
	margin: 0;
	max-width: 100%;
	position: relative;
	width: 100%;
	z-index: 1;
}

.front-page-4 .featured-content article.entry .entry-header {
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 2;
}

.front-page-4 .featured-content article.entry .entry-header .entry-title,
.front-page-4 .featured-content article.entry .entry-header .entry-title a {
	color: #fff;
}

.front-page-4 .featured-content article.entry .entry-header .entry-meta,
.front-page-4 .featured-content article.entry .entry-header .entry-meta a {
	color: #fff;
	font-style: normal;
}


.front-page-4 .featured-content article.entry .entry-header .entry-title a:hover,
.front-page-4 .featured-content article.entry .entry-header .entry-meta a:hover {
	color: #A9BA9D;
}

.front-page-4 .featured-content .more-from-category {
	clear: both;
	margin-top: 0;
	padding-top: 80px;
	width: 100%;
}

.front-page-4 .featured-content article.entry:nth-of-type(1) {
	height: 500px;
	margin: 0;
	position: relative;
	width: 70%;
}

.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header {
	height: 500px;
	padding: 45% 5% 5% 5%;
}

.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header .entry-title {
	font-size: 30px;
}

.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header .entry-meta {
	font-size: 20px;
}

.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-image {
	height: 500px;
	object-fit: cover;
}

.front-page-4 .featured-content article.entry:nth-of-type(2),
.front-page-4 .featured-content article.entry:nth-of-type(3) {
	height: 250px;
	margin: 0;
	position: relative;
	width: 30%;
}

.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header,
.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header  {
	height: 250px;
	padding: 40% 5% 5% 5%;
}

.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header .entry-title,
.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header .entry-title {
	font-size: 20px;
}

.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header .entry-meta,
.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header .entry-meta {
	font-size: 16px;
}

.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-image,
.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-image {
	height: 250px;
	object-fit: cover;
}


/* Front Page Featured Content
--------------------------------------------- */

.front-page .content .entry.post {
	float: left;
	width: 31.33%;
	margin: 1%;
	padding: 30px;
    border: 1px solid #eceef1;
    border-radius: 3px;
}

.front-page .featured-content .entry.post:nth-of-type(4n) {
    clear:left;
}

.front-page .featured-content .entry-image {
	width: 100%;
	height: auto;
}

.front-page .featured-content .entry > a {
	display: block;
    width: calc(100% + 6rem);
    max-width: calc(100% + 6rem);
    margin: -3rem -3rem 3rem;
    border-radius: 3px 3px 0 0;
}

.front-page .featured-content .more-from-category {
	clear: both;
	text-align:center;
}

.front-page .featured-content .entry-title {
	color: #333;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 800;
    font-family: Open Sans;
}

.front-page .featured-content .entry-header .entry-meta {
	margin-bottom: 10px;
}

.front-page .featured-content .more-from-category {
	font-weight: 800;
	margin-top: 40px;
	text-transform: uppercase;
}

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


@media only screen and (max-width: 1200px) {
	
	.banner-content {
		padding: 260px 60px;
		width: 62%;
	}

}

@media only screen and (max-width: 1023px) {
	
	.front-page-banner .wrap {
		padding: 80px 30px 0px;
	}
	
	.front-page-banner .widget-title:after {
	    top: 182px;
	    left: 60%;
	}
	
	/*.front-page .content .entry.post {
		width: 47%;
	}
	.front-page .featured-content .entry.post:nth-of-type(4n) {
		clear: none;
	}
	.front-page .featured-content .entry.post:nth-of-type(3n) {
		clear: left;
	}*/

}

@media only screen and (max-width: 860px) {
	
	.front-page-banner .wrap {
		margin: 0 auto;
	}
	
	.front-page-banner {
		padding: 200px 30px 130px;
	}

}

@media only screen and (max-width: 800px) {
	
	/* Reorder boxes */
	
	.front-page-boxes {
	    flex-direction: column;
	}
	
	#box-2.front-page-box {
		order: -1;
	}
	
	/*.front-page .content .entry.post {
		width: 98%;
		float: none;
	}*/

	.front-page-4 .featured-content article.entry:nth-of-type(1),
	.front-page-4 .featured-content article.entry:nth-of-type(2),
	.front-page-4 .featured-content article.entry:nth-of-type(3) {
	  border: 1px solid #eceef1;
	  height: 500px;
	  width: 100%;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-image,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-image,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-image {
	  height: 500px;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header {
	  height: 500px;
	  padding: 45% 5% 5% 5%;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header .entry-title,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header .entry-title,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header .entry-title {
		font-size: 30px;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header .entry-meta,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header .entry-meta,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header .entry-meta {
		font-size: 20px;
	}


}

@media only screen and (max-width: 600px) {
	
	.site-inner {
		padding-left: 0;
		padding-right: 0;
	}
	
	.front-page-banner .wrap {
		padding: 0;
	}
	
	.front-page-banner .widget .widget-title {
		font-size: 30px;
		font-size: 3rem;
	}

	.front-page-box {
		padding: 40px 20px;
	}
	
	.front-page-box .widget {
		margin-bottom: 30px;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1),
	.front-page-4 .featured-content article.entry:nth-of-type(2),
	.front-page-4 .featured-content article.entry:nth-of-type(3) {
	  border: 1px solid #eceef1;
	  height: 300px;
	  width: 100%;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-image,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-image,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-image {
	  height: 300px;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header {
	  height: 300px;
	  padding: 40% 5% 5% 5%;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header .entry-title,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header .entry-title,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header .entry-title {
		font-size: 20px;
	}

	.front-page-4 .featured-content article.entry:nth-of-type(1) .entry-header .entry-meta,
	.front-page-4 .featured-content article.entry:nth-of-type(2) .entry-header .entry-meta,
	.front-page-4 .featured-content article.entry:nth-of-type(3) .entry-header .entry-meta {
		font-size: 16px;
	}

}