@media (max-width: 66em) {
	.page-title {
		font-size: 1.35em;
	}
}

.community-header::before {
	content: ' ';
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-color: rgba(30, 30, 30, 0.5);
	background-position: center, center;
	background-size: auto;
	background-repeat: repeat;
	box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.85);
	pointer-events: none;
}

.header--95vh {
	min-height: 30em;
}

@media (min-width: 36rem) {
	.header--95vh {
		height: 95vh;
		min-height: 43em;
	}
}

@media (min-width: 48rem) {
	.has-image.community-header {
		background: fixed!important;
	}
}

.video--hero {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	transition: all ease-out 1s;
	z-index: 1;
}

@media (max-width: 62em) {
	.video--hero {
		display: none
	}
}

.btn--play {
	width: 6em;
	height: 6em;
	z-index: 1;
	border: none !important;
	background: transparent url(../img/play-button.svg) no-repeat center top !important;
	background-size: cover;
	filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.5))
}

.btn--play:hover {
	transform: scale(1.25);
	filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, 0.7));
}

.btn--play.label--bottom {
	background-size: 60%!important;
	padding-top: 6.5em;
	width: 9em;
	padding-bottom: 2em;
}

.btn--play.label--side {
	padding-left: 6em;
	width: auto;
	height: 5em;
	background-size: contain!important;
	background-position-x: left!important
}

.btn--float {
	top: 32%;
	left: 37%;
}

@media (max-width: 36rem) {
	.btn--float {
		top: 17%;
		left: 37%;
	}
}

@media (max-width: 92rem) {
	.cell--1of2.header-description {
		width: 75%!important;
	}
}

@media (max-width: 36rem) {
	.header-description {
		display: none;
	}
}

.flex {
	display: flex;
}

.vertical--center {
	align-self: center;
}

.fade-in {
	animation: fadein 2s;
	-moz-animation: fadein 2s; /* Firefox */
	-webkit-animation: fadein 2s; /* Safari and Chrome */
	-o-animation: fadein 2s; /* Opera */
}

.copy {
	color: #888;
	line-height: 2;
}

.copy a {
	font-weight: bold;
}

.scripture-passage {
	padding-left: 2em;
}

.copy--indented {
	margin-left: 2em;
}

.copy-featured {
	font-size: 150%;
	text-align: center;
	margin-bottom: 1.5em
}

.image--left {
	margin-right: 5% !important;
}

.photo--left {
	padding-right: 0.25em;
}

.photo--right {
	padding-left: 0.25em;
}

.photo--center {
	padding-left: 0.125em;
	padding-right: 0.125em;
}

.photo-row--first {
	padding-bottom: 0.25em;
}

.photo-row--second {
	padding-top: 0.25em;
}

@media (max-width: 48rem) {
	.cell--1of3.photo--left, .cell--1of3.photo--center, .cell--1of3.photo--right, .cell--1of2.photo--right, .cell--1of2.photo--left {
		width: 100%;
	}
	
	.photo--left {
		padding-right: 0;
		padding-bottom: 0.25em;
	}
	
	.photo--right {
		padding-left: 0;
		padding-top: 0.25em;
	}
	
	.photo--center {
		padding-right: 0;
		padding-left: 0;
		padding-top:0.25em;
		padding-bottom: 0.25em
	}
	
	.copy--full .photo--left, .copy--full .photo--right {
		max-width: 100%;
	}
}

.return-button {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 9;
	opacity: 0.4;
}

.return-button:hover {
	opacity: 1;
	background-color: #FDBD00;
}

.padding--deep {
	padding-top: 5rem;
	padding-bottom: 4rem;
}

@media (max-width: 36rem) {
	.padding--deep {
		padding-top: 4rem;
		padding-bottom: 2rem;
	}
}

@media (max-width: 95rem) {
	.cell--1of2.map-panel {
		width: 65%;
	}
}

/**Landing Page**/
.text-leaded {
	line-height: 1.8;
}

.text-unleaded {
	line-height: 1.2;
}

.has-shadow {
	filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.35));
}

.has-shadow--inset {
	-moz-box-shadow: inset 0 0px 40px 0px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: inset 0 0px 40px 0px rgba(0, 0, 0, 0.25);
	box-shadow: inset 0 0px 40px 0px rgba(0, 0, 0, 0.25);
}

.intro-block {
	padding-bottom: 7em;
}

@media (max-width: 48rem) {
	.intro-block .cell--snuggle.cell--3of4 {
		width: 75%;
		margin-left: auto!important;
		margin-right: auto!important;
	}
	
	.cell--2of3.copy--column {
		width: 100%;
	}
}



/** Story Blocks **/

.storycard-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.storycard {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	flex: 1 1 auto;
	align-content: start;
}

.storycard-img {
	flex: 0 0 1;
}

.storycard-content {
	flex: 1 1 auto;
}
.has-border--right {
	border-right: 1px solid #ccc;
}

@media (min-width: 48rem) {
	.storycard:nth-child(4n) .storycard-content.has-border--right {
		border-right: none;
	}
}
@media (min-width: 36em) and (max-width: 48em) {
	.storycard:nth-child(2n) .storycard-content.has-border--right {
		border-right: none;
	}
}
@media (max-width: 36em) {
	.storycard .storycard-content.has-border--right {
		border-right: none;
	}
}

/** END Story Blocks **/

/** Floating Photo **/

@media (max-width: 60em) {
	.photo--float--top {
		margin-top: -10em;
		margin-bottom: 2em;
		margin-left: auto;
		margin-right: auto;
		pointer-events: none;
	}
	.intro-content {
		margin-top: 10em;
	}
	.photo--float--left,
	.photo--float--right {
		display: none;
	}
}

@media (min-width: 60em) {
	.photo--float--top {
		display: none;
	}
	.photo--float--left {
		position: absolute;
		bottom: -7%;
		left: -15%;
		pointer-events: none;
	}
	.photo--float--right {
		position: absolute;
		bottom: -7%;
		right: -15%;
		pointer-events: none;
	}
}

@media (min-width: 36em) and (max-width: 48em) {
	.copy--column {
		width: 100%;
	}
	.photo--float {
		width: calc(75% - 0.5rem * 2) !important;
		margin-left: calc(12.5% + 0.5rem) !important;
		margin-right: calc(12.5% + 0.5rem) !important;
	}
}

@media (max-width: 48em) {
	.img--accent--float {
		display: none;
	}
}


/** END Floating Photo **/

@media (max-width: 60em) {
	.form--signup--main {
		width: 100% !important;
	}
}
