/*
Theme Name: Building Tomorrow 2019
Author: Eric Smolen
Description: Styles for Educate51k announcement page in April 2019
Version: 0.0.1
*/

/* Site Color Variables
$red: #98002e;
$darkred: #6a0021;
$lightred: #77122b;
$orange: #f78429;
$darkorange: #b76424;
$lightorange: #fab177;
$lightorangealt: #d06921;
$green: #199691;
$darkgreen: #0c716c;
$lightgreen: #0f7a75;
$blue: #2c49a7;
$darkblue: #112462;
$lightblue: #2a3577;
$yellow: #f7b729;
$darkyellow: #e8960f;
$lightyellow: #f1a01f;
$black: #242729;
$gray: #c3c3c3;

Border & Shadow Variables
$sectionShadow: 0 2px 7px rgba(0,0,0,0.16);
$textShadow: 0 3px 6px rgba(0,0,0,0.29);
$smallRadius: 3px;

Text Variables
$fontFamily: "Montserrat", sans-serif;
$normal: 300;
$bold: 600;

Header height for body and anchor offsetting variables
$shortHead: 55px;
$tallHead: 90px; */

html {
	scroll-behavior: smooth;
}

h2 {
	font-weight: 600;
}

#holiday-hero {
	background-color: #98002e;
	scroll-behavior: smooth;
	height: 600px;
	padding: 10px 0;
	position: relative;
	overflow-x: clip;
}

#holiday-hero video {
	height: 100%;
	position: absolute;
	right: -250px;
	filter: brightness(75%);
}

#holiday-hero .holiday-donate-header {
	position: relative;
	top: 40%;
}

#holiday-hero .holiday-donate-header h1 {
	color: white;
	text-shadow: 0 3px 6px rgba(0,0,0,0.29);
}


#holiday-hero .holiday-donate-row {
	padding-top: 10px;
	padding-bottom: 40px;
	position: absolute;
	bottom: -350px;
	justify-content: center;
}

.holiday-emphasizenumber {
	font-weight: 900;
}

#holiday-hero h1 {
	font-size: 2.75em;
	font-weight: 900;
	line-height: 1em;
	margin: 5px 0;
	color: #98002e;
}

.holiday-hero-text-arrow {
	margin-top: 15px;
}

.holiday-hero-text-arrow a {
	text-decoration: underline;
	font-weight: 600;
}

.holiday-hero-text-arrow a:hover {
	color: #c3c3c3;
}

.arrow {
	box-sizing: border-box;
	height: 30px;
	width: 30px;
	border-style: solid;
	border-color: white;
	border-width: 0px 5px 5px 0px;
	transform: rotate(45deg);
	margin: auto;
	display: block;
	position: relative;
}

.arrow:hover {
	top: 3px;
	cursor: pointer;
}

#donate-form {
	width: 100%;
	max-width: 500px;
	overflow: hidden;
	background-color: white;
	padding: 30px 40px;
	margin: 0 auto;
	border-radius: 3px;
	font-weight: normal;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
}

#donate-form img {
	margin-bottom: 25px;
}

#donate-form p {
	padding: 0 15px;
	margin: 0 0 15px;
}

.donate-form-header-large {
	display: none;
}

#donate-form a:hover {
	color: black;
}

.white-bg {
	background-color: white;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
}

#holiday-intro {
	padding-top: 380px;
	font-weight: 400;
	font-size: 1em;
	background-image: url(../img/holiday/holiday_stripes_background.png);
	background-repeat: repeat;
	background-size: 50%;
}

#holiday-intro h1 {
	text-shadow: 0 3px 6px rgba(0,0,0,0.29);
}

#holiday-intro p {
	font-size: 1em;
}

#holiday-intro .col-s-12 {
	max-width: 1000px;
}

#holiday-intro .holiday-intro-details {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	padding: 20px 40px;
	border-radius: 3px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
	background-color: white;
}

.holiday-intro-detail-tile1, .holiday-intro-detail-tile2 {
	width: 100%;
}

.holiday-intro-detail-tile2 {
	margin-top: 20px;
}

.holiday-intro-detail-gift-tile-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}

.holiday-intro-detail-gift-tile {
	margin: 15px 10px;
	width: 40%;
}

#holiday-intro .holiday-intro-detail-gift-tile-number {
	color: #98002e;
	font-weight: 900;
	font-size: 2em;
	margin: 0;
	text-align: center;
}

#holiday-intro .holiday-intro-detail-gift-tile-label {
	margin: 0;
	text-align: center;
}

#holiday-intro .button-container {
	text-align: center;
}

#holiday-intro a {
	font-size: 1.5em;
	font-weight: bold;
	padding: 15px 30px;
}

#holiday-communityh {
	padding: 0;
	background-color: #98002e;
	overflow: hidden;
}

#holiday-communityh .photo-row {
	max-width: none;
	background-image: url(../img/holiday/HolidayScroll25.jpeg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 60% center;
	height: 500px;
	padding: 20px 25px;
}

#holiday-communityh .racetrack-row {
	margin: 0 auto;
	width: 105%;
	max-width: none;
	position: relative;
	top: -75px;
	left: -10px;
	transform: rotate(-5deg);
}

#holiday-communityh .racetrack-row img {
	margin: 0 auto;
	width: 100%;
	overflow: hidden;
}

#holiday-communityh .racetrack-row .racetrack-large {
	display: none;
}

#holiday-communityh h1 {
	text-shadow: 0 3px 6px rgba(0,0,0,0.60);
	font-size: 2em;
}

.holiday-communityh-header {
	font-size: 1.4em;
	font-weight: 900;
	display: block;
}

#holiday-communityh .nonphoto-row {
	padding: 40px 25px;
	max-width: 1080px;
}

#holiday-learnersmeet {
	margin-top: -50px;
}

#holiday-communityh h2 {
	font-size: 1.75em;
	text-align: center;
	display: block;
	width: 100%;
	margin: 0;
}

.communityh-video {
	width: 100%;
	margin-bottom: 30px;
}

.communityh-story iframe {
	width: 100%;
	height: 300px;
}

.communityh-videos-container {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

#holiday-communityh h3 {
	font-weight: 600;
	margin-bottom: 0;
	text-align: center;
	font-size: 1.25em;
}

.communityh-story {
	width: 100%;
	max-width: 500px;
	background-color: white;
	border-radius: 3px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
	color: #242729;
	font-weight: normal;
}

#holiday-communityh .communityh-story h3 {
	font-weight: 900;
	font-size: 1.5em;
	margin: 10px 0;
}

#holiday-communityh .communityh-story p {
	padding: 0 15px 15px;
	margin: 0;
	font-weight: normal;
}

#holiday-communityh .communityh-extra a {
	text-decoration: underline;
	font-weight: 600;
}

#holiday-communityh .communityh-extra a:hover {
	color: #c3c3c3;
}

.communityh-tile-l {
	width: 50%;
	padding: 0 5px;
	margin-bottom: 10px;
}

.communityh-tile-l:hover {
	cursor: pointer;
	transform: scale(1.02);
}

.communityh-tile-l p {
	margin: 0 auto 10px;
	text-align: center;
}

.communityh-tile-l img {
	border-radius: 3px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
}

.communityh-subhead {
	width: 100%;
	margin-top: 5px;
	font-weight: normal;
}

.communityh-tile-s {
	max-width: 500px;
	margin-bottom: 40px;
}

.communityh-tile-s:hover {
	transform: scale(1.04);
}

.communityh-tile-s img {
	border-radius: 3px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
}

#bts-learners p {
	font-weight: normal;
}

#bts-learners #bts-learners-holiday {
	font-weight: 600;
	color: white;
	text-align: center;
	font-size: 1.25em;
}

#bts-learners .bts-learners-container {
	max-width: 1500px;
}

#bts-learners .bts-learners-container .bts-learners-tile {
	width: 100%;
	max-width: 300px;
	position: relative;
	margin: 15px auto;
}

#bts-learners .bts-learners-container .bts-learners-tile img {
	border-radius: 3px;
}

#bts-learners .bts-learners-container .bts-learners-tile .bts-learners-tile-text {
	position: absolute;
	left: 0;
	top: 0;
	max-width: 300px;
	color: white;
	text-shadow: 0 3px 6px rgba(0,0,0,0.29);
	height: 100%;
	width: 100%;
	background-image: linear-gradient( rgba(20, 0, 0, 0), rgba(20, 0, 0, 0), rgba(20, 0, 0, 0.70) );
}

#bts-learners .bts-learners-container .bts-learners-tile .bts-learners-tile-text h3 {
	font-weight: 900;
	font-size: 2em;
	position: relative;
	left: 25px;
	top: 72%;
	padding-left: 10px;
	border-left: 1px solid white;
	margin: 0;
	transition: top 1s;
}

#bts-learners .bts-learners-container .bts-learners-tile .bts-learners-tile-text p {
	font-weight: normal;
	margin: 5px 0 0;
	opacity: 0;
	position: absolute;
	top: 15px;
	padding: 0 25px 0 35px;
	transition: opacity 1s;
}

#bts-learners .bts-learners-container .bts-learners-tile:hover .bts-learners-tile-text {
	background-color: rgba(20, 0, 0, 0.70);
}

#bts-learners .bts-learners-container .bts-learners-tile:hover p {
	opacity: 1;
}

#holiday-series {
	padding-top: 60px;
	padding-bottom: 60px;
}

#holiday-series .holiday-series-container {
	margin-top: 20px;
	width: 100%;
	max-width: 750px;
}

#holiday-series .holiday-series-container .holiday-series-story {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	margin: 25px auto;
	max-width: 500px;
	background-color: white;
	border-radius: 3px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
	padding-right: 10px;
}

#holiday-series .holiday-series-container .holiday-series-story img {
	width: 200px;
	margin-right: 15px;
}

#holiday-series .holiday-series-container .holiday-series-story a {
	text-decoration: underline;
	font-size: 1.2em;
	font-weight: 600;
	margin-bottom: 5px;
	display: inline-block;
	color: #6a0021;
}

#holiday-series .holiday-series-container .holiday-series-story a:hover {
	color: #98002e;
}

#holiday-series .center-text a {
	margin-top: 20px;
	font-weight: 600;
}

#holiday-series .center-text a:hover {
	transform: scale(1.05);
	background-color: #c3c3c3;
}

#holiday-recurring {
	font-weight: normal;
}

.holiday-recurring-over {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	color: #98002e;
}

.holiday-recurring-over-tile {
	width: 200px;
	text-align: center;
	margin: 20px;
}

.holiday-recurring-over-tile img {
	border-radius: 3px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.07);
}

.holiday-recurring-over-tile p {
	margin: 5px auto 0;
	font-size: 2em;
	font-weight: bold;
}

#holiday-givingtuesday, #holiday-recurring {
	background-image: url(../img/holiday/holiday_snowflake_background.png);
	background-repeat: repeat;
	background-size: 150%;
}

#holiday-givingtuesday a, #holiday-recurring a {
	font-size: 1.5em;
	font-weight: bold;
	padding: 15px 30px;
}

.holiday-gt-cont {
	margin: 20px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.holiday-gt-amount {
	background-color: white;
	color: #98002e;
	padding: 10px 10px;
	border-radius: 3px;
	font-size: 1.5em;
	font-weight: bold;
	width: 125px;
	text-align: center;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
}

.holiday-gt-amount-big {
	font-size: 2em;
	width: 170px;
	color: white;
	background-color: #98002e;
}

.holiday-gt-label {
	font-weight: normal;
	font-size: .75em;
}

.holiday-gt-amount p {
	margin: 0;
}

.holiday-gt-dot {
	width: 100%;
	text-align: center;
	margin: 2px 0;
}

.holiday-gt-dot span {
	width: 20px;
	height: 20px;
	display: inline-block;
	border-radius: 50%;
	border: 2px solid #98002e;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
}

.holiday-gt-dot .filled {
	background-color: #98002e;
}

#holiday-detail {
	background-image: url(../img/holiday/holiday_stripes_background.png);
	background-repeat: repeat;
	background-size: 100%;
}

.holiday-detail-tile {
	background-color: #ffffff;
	color: #000000;
	width: 100%;
	max-width: 450px;
	padding: 10px;
	margin: 0 auto 15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	border-radius: 3px;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
	position: relative;
	overflow: hidden;
}

.holiday-detail-tile img {
	max-width: 200px;
}

.holiday-detail-tile div {
	display: flex;
	align-items: center;
}

.holiday-detail-tile p {
	padding: 20px;
	margin: 0;
	font-size: 1.1em;
}

.holiday-tile-ribbon {
	width: 80px;
	height: 15px;
	background-color: #98002e;
	position: absolute;
	box-shadow: 0 2px 7px rgba(0,0,0,0.16);
}

.ribbon-tl {
	top: 10px;
	left: -20px;
	transform: rotate(-45deg);
}

.ribbon-tr {
	top: 10px;
	right: -20px;
	transform: rotate(45deg);
}

.ribbon-bl {
	bottom: 10px;
	left: -20px;
	transform: rotate(45deg);
}

.ribbon-br {
	bottom: 10px;
	right: -20px;
	transform: rotate(-45deg);
}

#holiday-detail .button {
	font-size: 1.5em;
	font-weight: bold;
	padding: 15px 30px;
}

#holiday-detail .button:hover {
	background-color: #c3c3c3;
}

@media (min-width: 600px) {
	.holiday-hero-outline {
		font-size: 72px;
	}

	.communityh-story iframe {
		height: 400px;
	}

	.communityh-tile-s {
		max-width: 300px;
		margin: 0 15px 40px;
	}
}

@media (min-width: 768px) {
	#holiday-hero {
		height: 700px;
		padding: 0;
	}

	#holiday-hero video {
		min-width: 100%;
		height: auto;
		min-height: 700px;
		position: absolute;
		right: 0;
	}

	#holiday-hero .holiday-donate-row {
		bottom: -240px;
	}
	
	#holiday-hero .vl-center {
		align-items: stretch;
	}

	#holiday-intro {
		padding-top: 260px;
	}

	#holiday-intro .holiday-intro-details {
		flex-wrap: nowrap;
		padding: 0;
		border-radius: none;
		box-shadow: none;
		background-color: transparent;
		align-items: stretch;
	}

	.holiday-intro-detail-tile1, .holiday-intro-detail-tile2 {
		width: 100%;
		padding: 20px 40px;
		border-radius: 3px;
		box-shadow: 0 2px 7px rgba(0,0,0,0.16);
		background-color: white;
		margin: 0 10px;
	}

	.holiday-intro-detail-tile1 {
		font-size: 1.33em;
	}

	.holiday-intro-detail-tile2 {
		margin-top: 0;
	}

	.holiday-intro-detail-gift-tile-container {
		display: flex;
		justify-content: center;
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.holiday-intro-detail-gift-tile {
		margin: 15px 10px;
		width: 40%;
	}

	#holiday-intro .holiday-intro-detail-gift-tile-number {
		color: #98002e;
		font-weight: 900;
		font-size: 2em;
		margin: 0;
		text-align: center;
	}

	#holiday-intro .holiday-intro-detail-gift-tile-label {
		margin: 0;
		text-align: center;
	}

	#holiday-communityh .photo-row {
		max-width: none;
		background-image: url(../img/holiday/HolidayScroll25.jpeg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: 60% center;
		height: 600px;
		padding: 20px 25px;
		background-attachment: fixed;
	}

	#holiday-communityh h1 {
		font-size: 2.5em;
		margin: 0 auto;
	}

	#holiday-communityh .racetrack-row {
		top: -100px;
	}

	.holiday-detail-tile {
		flex-wrap: nowrap;
		max-width: none;
	}

	.reverse {
		flex-direction: row-reverse;
	}

	.communityh-tile-l {
		width: 25%;
		padding: 0 15px;
	}

	#bts-learners .bts-learners-container {
		justify-content: center;

	}

	#bts-learners .bts-learners-container .bts-learners-tile {
		width: 300px;
		position: relative;
		margin: 15px;
	}

	.holiday-recurring-over-tile {
		width: 150px;
	}

	#holiday-givingtuesday, #holiday-recurring {
		background-size: 75%;
	}

	.holiday-gt-cont {
		align-items: flex-end;
		flex-wrap: nowrap;
	}
}

@media (min-width: 1024px) {
	#holiday-hero {
		height: 800px;
		overflow: clip;
	}

	#holiday-hero video {
		min-width: 100%;
		height: auto;
		min-height: 800px;
		position: absolute;
		right: -200px;
		filter: none;
	}

	#holiday-hero .holiday-donate-header {
		display: none;
	}

	#holiday-hero .holiday-donate-row {
		padding: 180px 20px;
		position: relative;
		bottom: 0;
		justify-content: flex-start;
		margin: 0;
	}

	#holiday-hero .col-m-6 {
		width: 48%;
	}

	#holiday-hero .holiday-donate-container {
		background-color: white;
		border-radius: 3px;
		display: flex;
		align-items: center;
	}

	.donate-form-header-large {
		display: inline-block;
		text-align: left;
		font-size: 1.5em;
		font-weight: 900;
		color: #98002e;
	}

	#holiday-intro {
		padding-top: 60px;
	}
	
	.holiday-hero-outline {
		font-size: 66px;
	}

	#holiday-communityh .racetrack-row {
		top: -50px;
	}

	#holiday-communityh .racetrack-row .racetrack-large {
		display: block;
	}

	#holiday-communityh .racetrack-row .racetrack-mobile {
		display: none;
	}

	#holiday-communityh h1 {
		max-width: none;
	}

	#holiday-communityh .nonphoto-row {
		margin-top: 25px;
	}

	#holiday-detail {
		background-size: 75%;
	}

}

@media (min-width: 1225px) {
	#holiday-hero video {
		right: 0;
	}

	#holiday-hero .holiday-donate-row {
		margin: 0 auto;
		max-width: 1400px;
	}

	#holiday-hero .col-m-6 {
		width: auto;
	}

}

@media (min-width: 1440px) {
	#holiday-givingtuesday, #holiday-recurring {
		background-size: 50%;
	}
}
