/* OVERRIDE SOME TEXT STYLES FOR HOME PAGE */
article h4,
article h4 a {
	color:#000;
}


/* MOBILE FIRST */

.home_page {
}
.home_page section {
	padding:28px 0;
	border-top:1px solid #e5e5e5;
	position:relative;
}
	.home_page section:first-child {
		border-top:0;
	}

.home_page section h2 {
	font-size:30px;
	text-transform:none;
	text-align:center;
	border-bottom:1px solid #e5e5e5;
	padding-top:0;
	margin-bottom:29px;
}

.home_page section h4 {
	text-transform:uppercase;
	padding-bottom:0;
	font-size:21px;
}

.home_page section>div {
	display:grid;
	grid-gap:59px;
}

	.home_page section>div>div {
		position:relative;
	}



.home_page_item_type_5 a img {
	width:97%;
	-webkit-box-shadow: 1px 1px 5px 0 rgba(0,0,0,.6);
	box-shadow: 1px 1px 5px 0 rgba(0,0,0,.6);
	margin-bottom:1rem;
}
	.home_page_item_type_5 a:hover img {
		-webkit-box-shadow: 1px 1px 2px 0 rgba(0,0,0,.8);
		box-shadow: 1px 1px 2px 0 rgba(0,0,0,.8);
	}





/* audio player */
audio {
	width:100%;
}



/* video sizes */

.home_page_item_type_3>* {
	position:relative;
}
	.home_page_item_type_3>*.media_iframe {
		min-height:50vw;
	}
	.home_page_item_type_3>*>iframe {
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
	}

/* MOBILE ONLY */
@media only screen and (max-width: 699px) {

	section>div>div::after {
		content: '';
		position:absolute;
		left:0;
		right:0;
		bottom:-29px;
		height:1px;
		background:#e5e5e5;
	}
}

/* SMALL TABLET */
@media only screen and (min-width: 700px) and (max-width: 1023px) {

	/* set two item sections to be 50% each */
	section.home_3>div,
	section.home_4>div,
	section.home_5>div {
		grid-template-columns:1fr 1fr;
	}

	/* set three item sections to be 1 100%, 2 50% */
	section.home_6>div,
	section.home_7>div,
	section.home_8>div {
		grid-template-columns:1fr 1fr;
		grid-template-rows:auto auto;
	}
		section.home_6>div>div:first-child,
		section.home_7>div>div:first-child,
		section.home_8>div>div:nth-child(2) {
			grid-column: 1 / 3;
			grid-row:1;
		}

	/* set five item sections to be 1 100%, 2 50%, 2 50% */
	section.home_9>div {
		grid-template-columns:1fr 1fr;
		grid-template-rows:auto auto auto;
	}
		section.home_9>div>div:first-child {
			grid-column: 1 / 3;
			grid-row:1;
		}

	/* rules between */

	section.home_3>div>div:first-child::after,
	section.home_4>div>div:first-child::after,
	section.home_5>div>div:first-child::after,
	section.home_6>div>div:nth-child(2)::after,
	section.home_7>div>div:nth-child(2)::after,
	section.home_8>div>div:first-child::after,
	section.home_9>div>div:nth-child(2)::after,
	section.home_9>div>div:nth-child(4)::after {
		content:'';
		position:absolute;
		top:0;
		bottom:0;
		right:-29px;
		width:1px;
		background:#e5e5e5;
	}

	section.home_8>div>div:nth-child(2)::after,
	section.home_9>div>div:first-child::after,
	section.home_9>div>div:nth-child(2)::before,
	section.home_9>div>div:nth-child(3)::after {
		content: '';
		position:absolute;
		left:0;
		right:0;
		bottom:-29px;
		height:1px;
		background:#e5e5e5;
	}


}

/* LARGE TABLET */
@media only screen and (min-width: 1024px) {

	.home_page section.home_3 h4,
	.home_page section.home_8>div>div:nth-child(2) h4,
	.home_page section.home_9>div>div:first-child h4 {
		font-size:26px;
	}


	.home_page section.home_1 h4,
	.home_page section.home_4>div>div:first-child h4,
	.home_page section.home_5>div>div:nth-child(2) h4,
	.home_page section.home_6>div>div:first-child h4 {
		font-size:30px;
	}


	section.home_3>div {
		grid-template-columns:1fr 1fr;
	}
	section.home_4>div {
		grid-template-columns:auto 290px;
	}
	section.home_5>div {
		grid-template-columns:290px auto;
	}
	section.home_6>div {
		grid-template-columns:3fr 1fr;
		grid-template-rows:auto auto;
	}
		section.home_6>div>div:first-child {
			grid-column: 1;
			grid-row: 1 / 3;
		}
	section.home_7>div {
		grid-template-columns:1fr 3fr;
		grid-template-rows:auto auto;
	}
		section.home_7>div>div:first-child {
			grid-column: 2;
			grid-row: 1 / 3;
		}
	section.home_8>div {
		grid-template-columns:1fr 2fr 1fr;
	}
	section.home_9>div {
		grid-template-columns:1fr 2fr 1fr;
		grid-template-rows: auto auto;
	}
		section.home_9>div>div:first-child {
			grid-column: 2;
			grid-row: 1 / 3;
		}



	/* rules between */

	section.home_3>div>div:first-child::after,
	section.home_4>div>div:first-child::after,
	section.home_8>div>div:nth-child(2)::after,
	section.home_9>div>div:first-child::after {
		content:'';
		position:absolute;
		top:0;
		bottom:0;
		right:-29px;
		width:1px;
		background:#e5e5e5;
	}

	section.home_5>div>div:nth-child(2)::before,
	section.home_8>div>div:nth-child(2)::before,
	section.home_9>div>div:first-child::before {
		content:'';
		position:absolute;
		top:0;
		bottom:0;
		left:-29px;
		width:1px;
		background:#e5e5e5;
	}

	section.home_9>div>div:nth-child(2)::after,
	section.home_9>div>div:nth-child(3)::after{
		content: '';
		position:absolute;
		left:0;
		right:0;
		bottom:-29px;
		height:1px;
		background:#e5e5e5;
	}



	/* video sizes */

	.home_page_item_type_3>*.media_iframe {
		position:relative;
		min-height:310px;
	}

	section.home_4 .home_page_item_type_3 .media_iframe,
	section.home_5 .home_page_item_type_3 .media_iframe,
	section.home_7 .home_page_item_type_3 .media_iframe {
		min-height:500px;
	}


}