/* Clear Fix and Box Sizing */

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
 
.clearfix:after {
    clear: both;
}
 
/* IE6/7 support */

.clearfix {
    *zoom: 1;
}

/* Body */

body {
	font-family: Arial,Helvetica,sans-serif;
	line-height: 1.2em;
	overflow-x: hidden;
}

/* Links */

a {
    text-decoration: none;
    color: #1763a7;
   	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	-ms-transition: all 0.25s linear;
	transition: all 0.25s linear;
}
 
a:hover {
	color: #1960ae; 
	text-decoration: underline;
}

#about a {
    text-decoration: none;
    color: #1763a7;
   	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	-ms-transition: all 0.25s linear;
	transition: all 0.25s linear;
}
 
#about a:hover {
	color: #1763a7; 
	text-decoration: underline;
}

/* Headings */

h1, h2, h3, h4, h5, h6 {
	font-family: "museo-slab",serif;
	color: #ffffff;
	font-weight: 500;
	font-size: 48px;
	line-height: 1em;
}

h1 {
	font-size: 48px;
}

h2 {
	font-size: 36px;
	font-weight: 700;
	color: #1763a7;
	text-align: center;
	text-transform: uppercase;
	padding: 10px 0 30px 0;
	letter-spacing: 5px;
}

h3 {
	font-size: 18px;
	color: #898989;
	padding: 10px 0 40px 0;
	text-align: center;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.25em;
}

/* Horizontal line */

.hr {
	border: 0;
	border: none;
	background: url('../img/hr.png') top center no-repeat;
	background-size: 50%;
	height: 22px;
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	hr {
		background: url('../img/hr@2x.png') top center no-repeat;
		background-size: 50%;
	}
}
	
@media only screen and (max-width: 695px) {
	hr {
		margin-bottom: 45px;
	}
}

/* Sections */

.container {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
}

header {
	background: #f0f0ee url('../img/background.jpg') top center;
	z-index: -1; /* It's kind of weird but we need this for the ribbon CSS */
	padding-bottom: 20px;
	background-repeat: repeat-x;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	header {
		background: #f0f0ee url('../img/background@2x.jpg') top center;
		background-size: 100% 100%;
		background-repeat: repeat-x;
	}
}

@media only screen and (max-width: 695px) {
	header {
		/*padding-bottom: 45px;*/
	}
}

header .container {
	position: relative;
	z-index: 1; /* Again, it's for the ribbon CSS */
}

header .container #video { 
	height: 540px;
	width: 100%;
	background: #00283d;
	/*-moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);*/
	
	/* This part is so that the Youtube Videos scale nicely */
	position:relative;
	padding-bottom:56.25%;
	padding-top:0px;
	height:0;
	overflow:hidden;
}

/* Scale Youtube Video */
header .container #video iframe, header .container #video object, header .container #video embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100.25%;
}

section#content {
	background: #fff;
	color: #000000;
	padding: 40px 20px;
}

@media only screen and (max-width: 695px) {
	section#content {
		padding: 40px 20px;
	}
}

section#content #about {
	font-family: "museo-slab",serif;
	font-size: 22px;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.4em;
}

section#content #after {
	font-family: "museo-slab",serif;
	font-size: 22px;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.4em;
	margin-top: 40px;
}

@media only screen and (max-width: 695px) {
	section#content #about,
	section#content #after {
		font-size: 16px;
		}
}

footer {
	background: #ececec;
	padding: 20px 0;
	color: #898989;
	font-size: 14px;
}

footer p {
	margin: 0 10px;
}

footer #footer-logo {
	float: right;
	margin-right: 10px;
	max-width: 175px;

   	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	-ms-transition: all 0.25s linear;
	transition: all 0.25s linear;
}

footer #footer-logo:hover {
	opacity: 0.6;
}

/* Ribbon */

.ribbon {
	font-family: "museo-slab",serif;
	color: #005b85;
	font-weight: 700;
	font-size: 48px;
	letter-spacing: 5px;

	width: 79%;	
	position: relative;
	text-align: center;
	line-height: 48px;
	padding: 25px 0;
	margin: 30px auto 30px auto;
	font-size: 48px !important;
	text-transform: uppercase;
	color: #005b85;
	/*text-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);*/
	background: #fed147;
}

.ribbon:before, .ribbon:after {
	content: "";
	position: absolute;
	display: block;
	bottom: -20px;
	border: 45px solid #d5a93b;
	z-index: -1;
}
.ribbon:before {
	left: -100px;
	border-right-width: 120px;
	border-left-color: transparent;
	-moz-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
}
.ribbon:after {
	right: -100px;
	border-left-width: 120px;
	border-right-color: transparent;
	-moz-box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.25);
	box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.25);
}

.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
	content: "";
	position: absolute;
	display: block;
	border-style: solid;
	border-color: #7c6126 transparent transparent transparent;
	bottom: -20px;
}
.ribbon .ribbon-content:before {
	left: 0;
	border-width: 20px 0 0 65px;
	
}
.ribbon .ribbon-content:after {
	right: 0;
	border-width: 20px 65px 0 0;
}

#symbol-left {
	height: 45px;
	width: 58px;
	background: url('../img/symbol-left.png') center center no-repeat;
	background-size: 100%;
	display: inline-block;
	margin-right: 10px;
	margin-bottom: -10px;
}

#symbol-right {
	height: 45px;
	width: 58px;
	background: url('../img/symbol-right.png') center center no-repeat;
	background-size: 100%;
	display: inline-block;
	margin-left: 10px;
	margin-bottom: -10px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	#symbol-left {
		background: url('../img/symbol-left@2x.png') center center no-repeat;
		background-size: 100%;
	}
	
	#symbol-right {
		background: url('../img/symbol-right@2x.png') center center no-repeat;
		background-size: 100%;
	}
}

/* Charity Boxes */

.block {
	min-height: 590px;
	width: 100%;
	background: #ebebeb;
}

.no-vote .block {
	min-height: 590px;
}

@media only screen and (max-width: 695px) {
	.block {
		min-height: 580px;
		margin-bottom: 30px;
	}
}

.block .video {
	background: #ffffff;
	width: 100%;
	height: 205px;
}

.block .description {
	width: auto;
	padding: 20px;
	font-size: 14px;
	line-height: 1.3em;
	color: #898989;
}

.block .description h3 {
	padding: 0 0 30px 0;
	letter-spacing: 3px;
}

	
@media only screen and (max-width:900px) {
	.block .description h3 {
		letter-spacing: 0px !important;
	}
}

.block button {
	border: 0;
	color: #ffffff;
	font-family: "museo-slab",serif;
	text-transform: uppercase;
	font-size: 32px;
	line-height: 1em;
	font-weight: 600;
	letter-spacing: 5px;
	text-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
	outline: none;
	cursor: pointer;
	
	height: 77px;
	width: 100%;
	
	-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
	background-color: rgb(0, 95, 179);
	background-image: -moz-linear-gradient(bottom, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	background-image: -o-linear-gradient(bottom, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	background-image: linear-gradient(to top, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	-moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);

	/* Background Transition Workaround */
	background-size:1px 144px;	
	-webkit-transition: background 0.25s linear;  
	-moz-transition: background 0.25s linear;  
	-o-transition: background 0.25s linear;  
	transition: background 0.25s linear; 
}

.block button:hover,
.block button:active {
	/* Background Transition Workaround */
	background-position:77px;
}


.play {
	position: relative;
	border-radius: 50%;
	background: #ffc739;
	height: 50px;
	width: 50px;
	margin: -30px auto 0 auto;
	cursor: pointer;
	
	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	-ms-transition: all 0.25s linear;
	transition: all 0.25s linear;
}

.block .video:hover .play {
	background: #1960ae;
}


.play-arrow {
	position: absolute;
	margin: 13px 0 0 18px;
	width: 0; 
	height: 0; 
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 20px solid #ffffff;
}

/* Media Queries */

@media only screen and (max-width: 980px) {

	header #video-wrapper {
		margin: 0 10px;
	}
	
	.ribbon:before {
		left: -80px;
	}
	.ribbon:after {
		right: -80px;
	}

	.ribbon .ribbon-content:before {
		border-width: 20px 0 0 85px;
	}
	
	.ribbon .ribbon-content:after {
		border-width: 20px 85px 0 0;
	}

	
	
}

@media only screen and (min-width:781px) and (max-width: 900px) {
	.ribbon {
		letter-spacing: -1px;
	}
	
	#symbol-left {
		margin-right: 0;
	}

	#symbol-right {
		margin-right: 0;
	}
}

@media only screen and (max-width: 780px) {

	header {
		background-position-y: 0;
		background-position-x: 0;
	}

	.ribbon {
		margin-bottom: 30px;
		letter-spacing: 0px;
	}
	
	.ribbon:before {
		left: -50px;
		border-right-width: 60px;
	}
	
	.ribbon:after {
		right: -50px;
		border-left-width: 60px;
	}
	
	.ribbon .ribbon-content:before {
		border-width: 20px 0 0 55px;
	}

	.ribbon .ribbon-content:after {
		border-width: 20px 55px 0 0;
	}
	
	.ribbon-content {
		text-align: center;
		margin: 0 70px;
		padding: 0;
		display: inline-block;
	}

	#symbol-left {
		display: block;
		position: absolute;
		top: 10px;
		left: 20px;
		height: 96px;
		margin-right: 0;
	}
	
	#symbol-right {
		display: block;
		position: absolute;
		top: 10px;
		right: 20px;
		height: 96px;
		margin-left: 0;
	}
		
}


@media only screen and (max-width: 695px) {
	footer {
		text-align: center;
		padding: 20px;
	}
	
	footer #footer-logo {
		margin: 20px auto 10px auto;
		float: none;
	}
}

@media only screen and (max-width: 480px) {
	
	.ribbon {
		position: relative;
		margin: -5px 0 0 0;
		width: 100%;
		font-size: 42px !important;
	}
	
	.ribbon-content {
		text-align: center;
		margin: 0 50px;
		padding: 0;
		display: inline-block;
	}
	
	.ribbon:before,
	.ribbon:after,
	.ribbon .ribbon-content:before,
	.ribbon .ribbon-content:after {
		display: none;
	}
	
	#symbol-left {
		display: block;
		position: absolute;
		top: 10px;
		left: 10px;
		height: 96px;
	}
	
	#symbol-right {
		display: block;
		position: absolute;
		top: 10px;
		right: 10px;
		height: 96px;
	}
	
	header .container #video {
		margin-top: 40px;	
	}
}

#about button {
	border: 0;
	color: #ffffff;
	font-family: "museo-slab",serif;
	text-transform: uppercase;
	font-size: 32px;
	line-height: 1em;
	font-weight: 600;
	letter-spacing: 5px;
	padding: 0 0 0 5px;
	
	text-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
	outline: none;
	cursor: pointer;
	
	height: 77px;
	width: 320px;
	margin: 20px auto 40px auto;
	
	-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
	background-color: rgb(0, 95, 179);
	background-image: -moz-linear-gradient(bottom, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	background-image: -o-linear-gradient(bottom, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	background-image: linear-gradient(to top, rgb(1, 77, 143) 50%, rgb(49, 125, 193) 100%);
	-moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);

	/* Background Transition Workaround */
	background-size:1px 144px;	
	-webkit-transition: background 0.25s linear;  
	-moz-transition: background 0.25s linear;  
	-o-transition: background 0.25s linear;  
	transition: background 0.25s linear; 
}

#about button:hover,
#about button:active {
	/* Background Transition Workaround */
	background-position:77px;
}

/* IE Workarounds */

.lt-ie9 .ribbon:before, 
.lt-ie9 .ribbon:after,
.lt-ie9 .ribbon .ribbon-content:before, 
.lt-ie9 .ribbon .ribbon-content:after {
	display: none !important;
}

.lt-ie9 .ribbon {
	width: 720px !important;
	min-width: 720px !important;
	padding-top: 19px !important;
	padding-left: 130px !important;
	padding-right: 130px !important;
	height: 111px !important;
	background-color: transparent !important;
	background-image: url('../img/img-ribbon.png') !important;
	background-position: top center !important;
	background-repeat: no-repeat !important;
}

.lt-ie9 #symbol-left,
.lt-ie9 #symbol-right {
	*display: inline !important;
}

/* Scroll Down Button */

#scroll-down-preload {
    background: url('../img/img-scroll-down-hover.png') no-repeat -9999px -9999px;
}

#scroll-down {
    display: block;
    margin: 10px auto 0 auto;
    width: 280px;
    height: 78px;
    background-image: url('../img/img-scroll-down.png');
    background-position: 0 0;
   	-webkit-transition: all none;
	-moz-transition: all none;
	-o-transition: none;
	-ms-transition: none;
	transition: none;
}

#scroll-down:hover {
    background-image: url('../img/img-scroll-down-hover.png');   
}

/* Image CSS */

.logo {
	display: block;
	width: 100%;
	height: auto;
}