/* @group reset - eric myer reset v2.0 | 20110126
-----------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote::before, blockquote::after, q::before, q::after {
	content: "";
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Set CSS Variables
-----------------------------------------------------------------*/
:root {
	--main-font: arial, helvetica, sans-serif;
	--heading-font: rubik, sans-serif;
}

/* Set tags and general classes
-----------------------------------------------------------------*/
* {
	box-sizing: border-box;
	outline: none;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--heading-font);
	font-size: 18px;
	font-weight: 300;
	color: #333;
	line-height: 1.5;
	min-width: 320px;
	background-color: #fff;
}

h1, h2 {
	font-weight: 500;
	color: #055cb9;
	margin: 0;
	font-size: 48px;
	line-height: 1.1;
}
h1 {
	text-transform: uppercase;
	margin: 0 0 -15px 0;
}
@media all and (max-width: 420px) {
	h1, h2 {
		font-size: 40px;
	}
}
h3 {
	margin-bottom: 30px;
	font-size: 34px;
	line-height: 1.1;
	min-height: 75px;
}
@media all and (max-width: 1299px) {
	h3 {
		min-height: 113px;
	}
}
h4 {
	font-weight: 500;
	font-size: 56px;
	line-height: 1.1;
	color: #8c3a97;
	max-width: 600px;
	margin-bottom: 20px;
}
@media all and (max-width: 490px) {
	h4 {
		font-size: 46px;
	}
}

a {
	color: #005dba;
	text-decoration: none;
	border: 0;
	transition: all .2s ease;
}
a:hover {
	color: #00a3dd;
}

button {
	padding: 15px;
	border: 0;
	text-transform: uppercase;
	font-size: 30px;
	color: #fff;
	position: absolute;
	bottom: 35px;
	left: 30px;
	width: calc(100% - 60px);
	cursor: pointer;
	background: #53c1b0;
	transition: all .2s ease;
}
button:hover {
	color: #fff !important;
	background: #055cb9 !important;
}
#thanks button {
	position: static !important;
	margin-top: 35px !important;
	width: 280px !important;
}

img, iframe, video {
	display: block;
	max-width: 100%;
}

p {
	margin-bottom: 15px;
}

.bold, strong, b {
	font-weight: 400;
}
.italic, em, i {
	font-style: italic;
}

.center {
	text-align: center;
}

/* Custom
-----------------------------------------------------------------*/
#page-wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	background: #fff;
}
.content-wrapper {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-wrapper iframe, .video-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Site Specific
-----------------------------------------------------------------*/
hr {
	width: 100%;
	height: 10px;
	border: 0;
	margin: 0;
	padding: 0;
	background: linear-gradient(90deg, #53c1b0 0%, #53c1b0 33.333%, #ffdb27 33.333%, #ffdb27 66.666%, #8c3a97 66.666%, #8c3a97 100%);
}

header {
	padding: 30px 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
header img {
	width: 320px;
}
header a {
	opacity: 1;
}
header a:hover {
	opacity: .7;
}
@media all and (max-width: 979px) {
	header {
		display: block;
		padding: 30px 20px;
	}
	header img {
		margin: 0 auto 20px auto;
	}
	header h1 {
		text-align: center;
	}
}

#vid-container {
	margin: 0 auto;
	width: 80%;
}
@media all and (max-width: 979px) {
	#vid-container {
		width: 100%;
	}	
}

#vote-heading {
	padding: 35px 20px;
}

#charities-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}
#charities-wrapper > div {
	position: relative;
	flex-basis: 33.333%;
	padding: 50px 30px 140px 30px;
}
#charities-wrapper > div:nth-of-type(2) {
	border-left: 1px solid #b1b4b3;
	border-right: 1px solid #b1b4b3;
}
#charities-wrapper > div:nth-of-type(2) button {
	background: #ffdb27;
	color: #000;
}
#charities-wrapper > div:last-of-type button {
	background: #8c3a97;
}
#charities-wrapper > div img {
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
}
@media all and (max-width: 1039px) {
	h3 {
		min-height: 0;
	}
	#charities-wrapper > div {
		flex-basis: 100%;
	}
	#charities-wrapper > div:nth-of-type(2) {
		border-left: 0;
		border-right: 0;
		border-top: 1px solid #b1b4b3;
		border-bottom: 1px solid #b1b4b3;
	}
	#charities-wrapper > div img {
		margin: 0 auto;
	}
}
@media all and (max-width: 350px) {
	#charities-wrapper > div {
		padding: 50px 15px 140px 15px;
	}
	button {
		left: 15px;
		width: calc(100% - 30px);
	}
}

#about-wrapper {
	position: relative;
	padding: 60px 40px;
	background: #eef5fb;
	min-height: 560px;
}
#about-wrapper div {
	max-width: 66%;
}
#about-wrapper div p {
	font-size: 24px;
}
#about-wrapper div img {
	width: 240px;
	margin-top: 50px;
}
#about-wrapper > img {
	position: absolute;
	bottom: 0;
	right: 40px;
	width: 320px;
	max-width: calc(33.333% - 80px);
}
@media all and (max-width: 899px) {
	#about-wrapper {
		padding-bottom: 0;
		min-height: 0;
	}
	#about-wrapper div {
		max-width: 100%;
	}
	#about-wrapper > img {
		position: static;
		width: 320px;
		max-width: 50%;
		margin: 60px auto 0 auto;
	}
}
@media all and (max-width: 559px) {
	#about-wrapper {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media all and (max-width: 399px) {
	h4 {
		font-size: 42px;
	}
	#about-wrapper div p {
		font-size: 20px;
	}
}

footer {
	font-family: var(--main-font);
	padding: 50px 20px;
	background: #3c3c3c;
	color: #fff;
}
footer a {
	color: #fff;
}
footer p {
	margin: 0;
	font-size: 16px;
}
footer ul li {
	display: inline-block;
	margin-bottom: 10px;
}
footer ul li:not(:last-child)::after {
	content: "|";
	display: inline-block;
	margin: 0 10px;
}
@media all and (max-width: 760px) {
	footer ul li {
		display: block;
	}
	footer ul li:not(:last-child)::after {
		display: none;
	}
}

/* Stop zooming on inputs in iPhone
-----------------------------------------------------------------*/
@media all and (-webkit-min-device-pixel-ratio:2) and (max-device-width: 1024px) { 
	select:focus, select:hover,
	textarea:focus, textarea:hover,
	input:focus, input:hover {
		font-size: 1rem;
	}
}