
body{
	background-image: none;
	background-color: #FFF;
	color: #334;
	line-height: 1.8em;
	margin: 0;
    padding: 0;
}

h1 {
    float: none;
}

a,
.clickable-text {
    color: #28496b;
	text-decoration: underline;
}

a:hover,
.clickable-text:hover {
    color: #0d2742;
	cursor: pointer;
}

.bannerWrap{
	float: left;
	width: 100%;
	margin: 0 0 3em 0;
	padding: 0 3em;
	background-image: url('/home/images/Middle-Path-iPad.jpg');
	background-position: center center;
	-webkit-background-size: cover;
			background-size: cover;
	background-attachment: fixed;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.iconBanner{
	display: block;
    position: relative;
	width: 100%;
	max-width: 620px;
	margin: 6em auto;
}

/* ---------------------------------- */

.breadcrumb {
	list-style-type: none;
	color: #656565;
	padding: 0;
}

.breadcrumb li {
	display: inline;
}

.breadcrumb .separator {
	opacity: 0.5;
}

/* -------------- */

.txt-center {
	text-align: center;
}

.slightly-larger {
	font-size: 1.4em;
}

.big-button {
	display: inline-block;
	border-radius: 3px;
	padding: 0.5em 1em;
	background-color: #aa0505;
	color: #BBB;
	line-height: 1em;
	text-align: center;
	text-decoration: none;
	margin: 0 .5em .5em 0;
	box-shadow: 0 5px 0px -2px #071b2d;
	font-size: 1.8em;
	font-family: 'Domine', serif;
}

.big-button:hover {
	color: white;
	background-color: #cc1212;
}

/* ------ Current examples --------- */ 

.currentExamplesWrap{
	float: left;
	width: 100%;
	margin-bottom: 4em;
	padding: 0 1em;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.currentExamples{
	padding: 1.5em 4em 2.3em 4em;
	max-width: 700px;
	margin: 0 auto;
	border: 3px dashed #28496b;
}

.currentExamples h3{
	font-family: 'Domine', serif;
	margin: 0 0 0.5em;
	color: #28496b;
}

.currentExamples a.exampleChannelLink {
	display: inline-block;
	border-radius: 3px;
	padding: 0.5em 1em;
	background-color: #28496b;
    color: #BBB;
	line-height: 1em;
	text-align: center;
	text-decoration: none;
	margin: 0 .5em .5em 0;
	box-shadow: 0 5px 0px -2px #071b2d;
}

.currentExamples a.exampleChannelLink:hover{
	background-color: #1c3349;
}

.currentExamples a.exampleChannelLink span.name{
	font-family: 'Domine', serif;
	font-weight: bold;
	font-size: 1.5em;
	line-height: 1.4em;
	height: 1.4em;
	display: inline-block;
	width: 100%;
	text-align: center;
	color: white;
}

.currentExamples a.exampleChannelLink span.url{
	font-size: 0.7em;
}

.currentExamples p {
    margin: 0;
}

/* --------- Section Headers -------- */

.brightHeaderWrap{
	float: left;
	width: 100%;
	height: 80px;
	margin: 1.6em 0;
}

.leftPad{
	background-color: #aa0505;
	width: 50%;
	position: absolute;
	height: 80px;
	z-index: 0;
	box-shadow: -14px 8px 0px #3f0c0c;
}

.brightHeader{
	max-width: 900px;
	margin: 0 auto;
	color: white;
	text-shadow: none;
}

.brightHeader h1,
.brightHeader h2 {
	display: block;
	position: absolute;
	background-color: #aa0505;
	height: 80px;
	line-height: 80px;
	margin: 0;
	padding: 0 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: left;
	font-size: 2em;
	width: auto;
}

/* ---------------------------- */

.explainSection{
	float: left;
	width: 100%;
	margin: 0 0 3em;
	padding: 0 2em;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.centerAligner{
	max-width: 860px;
	margin: 0 auto;
}

.explainSection > p, 
.explainSection blockquote{
	display: block;
	padding: 0 20px;
}

.explainSection blockquote:before{
	display: block;
	position: absolute;
	height: 0;
	content: "“";
	font-size: 4em;
	margin-left: -1em;
	margin-top: .2em;
	font-family: 'Domine', serif;
	color: #999;
}

.explainSection blockquote{
	border-left: 4px solid #DDF;
	font-family: 'Domine', serif;
	margin: 2em 4em 0;
}

.explainSection blockquote > p{
	font-size: 1.1em;
}

.explainSection .whoAreStorywalks{
	display: block;
	float: right;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	margin-top: -110px;
	margin-left: 1em;
    background-image: url('/home/images/Chris-at-exhibition.jpg');
	background-position: center center;
	-webkit-background-size: cover;
			background-size: cover;
	box-shadow: 0 70px 24px -50px rgba(0,0,0,0.7);
}

.awardIcon{
	float: right;
	margin-top: -90px;
}


/* ------- The school image ------- */


.opaqueOverImg .explainSection p{
	background-color: #FFF;
	background-color: rgba(255,255,255,0.8);
	padding: 2em;
	box-shadow: 0 9px 9px -6px rgba(0,0,0,0.5);
	border-radius: 2px;
	margin-left: 4em;
}

.opaqueOverImg{
	float: left;
	width: 100%;
	background-position: center center;
	-webkit-background-size: cover;
			background-size: cover;
	background-attachment: fixed;
	padding: 3em 0;
	margin-bottom: 4em;
}

.schoolUniform {
    background-image: url('/home/images/Chris-with-children.jpg');
    background-position: right center;
}

.supportMaterials{
	background-image: url('/home/images/Writing-Up.jpg');
}


/* ---------- Flavour ---------- */

.flavoursWrap{
	width: 90%;
	max-width: 600px;
	margin: 0 auto 0 auto;
	margin-bottom: 4em;
}

.flavoursWrap h2{
	text-shadow: none;
	float: left;
}

.flavours {
	width: 100%;

	display: flex;
}

.flavour{
	flex-grow: 1;
}

.flavour{
	margin-left: 1em;
}

.flavour:first-child {
	margin-left: 0;
}

.flavour img{
	width: 100%;
}

.flavour h3{
	font-family: 'Domine', serif;
	font-size: 1.3em;
	text-shadow: none;
}

.flavour p{
	text-align: justify;
	line-height: 1.4;
}



/* ---------- Call to action --------- */

div.ctaWrap{
	float: left;
	width: 100%;
	padding: 4em 0;
}

a.getItNow{
	font-size: 2em;
	line-height: 1.6em;
	text-align: center;
	margin: 0 auto;
	display: block;
	background-color: #080;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	-webkit-transition: background-color .2s;
	   -moz-transition: background-color .2s;
	   	 -o-transition: background-color .2s;
			transition: background-color .2s;
}

a.getItNow:hover{
	background-color: #0A0;
}

a.getItNow .text{
	margin: 2.4em 0;
	float: left;
	font-family: 'Domine', serif;
	color: #FFF;
}

a.getItNow:hover .text{
	text-shadow: 0 0 15px rgba(255,255,255,0.6);
}

a.getItNow .spinnner{
	margin: -10px 0 0 -10px;
	display: block;
	width: 292px;
	height: 292px;
	position: absolute;
	border-radius: 50%;
	border: 4px dashed #040;
	-webkit-animation: spin 35s infinite linear; /* Safari 4+ */
	   -moz-animation: spin 35s infinite linear; /* Fx 5+ */
	 	 -o-animation: spin 35s infinite linear; /* Opera 12+ */
			animation: spin 35s infinite linear; 

	-webkit-transition: opacity .2s;
	   -moz-transition: opacity .2s;
	   	 -o-transition: opacity .2s;
			transition: opacity .2s;
}

a.getItNow .fastSpin{
	opacity: 0;
	-webkit-animation-duration: 10s;
	   -moz-animation-duration: 10s;
	 	 -o-animation-duration: 10s;
			animation-duration: 10s;
}

a.getItNow:hover .slowSpin{
	opacity: 0;
}

a.getItNow:hover .fastSpin{
	opacity: 1;
}

@-webkit-keyframes spin{
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@-moz-keyframes spin{
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@-o-keyframes spin{
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes spin{
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* --------------- Sponsor Section ------------- */

.sponsors{
	width: 100%;
	float: left;
	margin-top: 3em;
	padding: 0 2em;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.sponsors p{
	font-size: 0.8em;
	line-height: 1.6em;
	padding-top: 1em;
}

.sponsor-bar {
    display: flex;
    width: 100%;
}

.sponsor-bar img {
    height: 80px;
    margin-right: 10px;
}

/* ---------------- CONTACT FORM -------------- */

.contactHero{
	width: 100%;
	height: 400px;
	background-image: url(/contact/images/ContactHero.jpg);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

.contactHero .spacer {
	height: 300px;
	width: 100%;
}

.contactHero h1{
	padding: 0;
	margin: 0;
	height: 100px;
	line-height: 100px;
	color: white;
	background-color: rgba(0,0,0,0.5);
}

.contactPage{
	max-width: 400px;
	margin: 0 auto;
	padding: 0 1em;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.contactForm{
	float: left;
	width: 100%;
	padding-bottom: 3em;
}

.btnBack{
	display: block;
	background: #AAA;
	color: white;
	width: 40px;
	text-decoration: none;
	padding: 0.2em 0.5em;
	margin: 10px;
	border-radius: 4px;
	text-align: center;
}

.contactForm label, .contactForm input, .contactForm textarea{
	float: left;
	clear: left;
	height: 30px;
	line-height: 30px;
	margin: 0;
	width: 100%;
}

.contactForm input, .contactForm textarea{
	margin: 0 0 .5em 0;
	padding: 0 1em;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.contactForm textarea{
	height: 90px;
}

.hoover { display: none; }

.contactForm .submit{
	background-color: #080;
	cursor: pointer;
	border: 0;
	clear: left;
	width: 80%;
	font-size: 1.2em;
	color: white;
	margin: .5em 0 .5em 20%;
	height: 40px;
	line-height: 40px;
	-webkit-appearance: none;
}
.contactForm .submit:hover {
	background-color: #0A0;
}

p.success, p.fail{
	display: block;
	float: left;
	width: 100%;
	max-width: 400px;
	margin: 1em auto;
	padding: 1em;
	border: 1px solid #800;
	color: #800;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

p.success{
	border-color: #080;
	color: #080;
}

.youTubeWrap {
	width: 80%;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	margin: 0 10% 4em 10%;
	overflow: hidden;
}

.youTubeWrap embed, 
.youTubeWrap iframe, 
.youTubeWrap object{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
