/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 14px;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	overflow: hidden;
	background-color: #371B10;
}
a, a:hover, a:active, a:visited {
	color: #ffffff;
	text-decoration: none;
}
a:hover {
	background-color: rgba(255,255,255,0.20);
}
#photoBackground10 {
	background: url(../img/10sunrise.jpg) no-repeat center center fixed #371B10;
}
#photoBackground20 {
	background: url(../img/20stjames@2x.jpg) no-repeat center center fixed #371B10;
}
#photoBackground30 {
	background: url(../img/30hub@2x.jpg) no-repeat bottom right fixed #371B10;
}
#photoBackground40 {
	background: url(../img/40teachers@2x.jpg) no-repeat bottom center fixed #371B10;
}
#photoBackground50 {
	background: url(../img/50experts@2x.jpg) no-repeat top right fixed #371B10;
}
#photoBackground60 {
	background: url(../img/60daynight@2x.jpg) no-repeat center center fixed #371B10;
}
#photoBackground70 {
	background: url(../img/70adaptation@2x.jpg) no-repeat center bottom fixed #371B10;
}
#photoBackground80 {
	background: url(../img/80contrasts@2x.jpg) no-repeat left center fixed #371B10;
}
#photoBackground90 {
	background: url(../img/90opportunities@2x.jpg) no-repeat right center fixed #371B10;
}
#photoBackground100 {
	background: url(../img/100handson@2x.jpg) no-repeat left top fixed #371B10;
}
#photoBackground110 {
	background: url(../img/110challenges@2x.jpg)	 no-repeat left top fixed #371B10;
}
#photoBackground10, #photoBackground20,#photoBackground30,
#photoBackground40, #photoBackground50, #photoBackground60,
#photoBackground70, #photoBackground80, #photoBackground90, 
#photoBackground100, #photoBackground110 {
  	-webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
}
.mobileImage {
	display: none;
}
body {
	font-family: usual, helvetica, arial, sans-serif;
	font-weight: 300;
	font-size: 1em;
	line-height: 1.6;
	color: white;
}
h1 {
	font-weight: 300;
	text-transform: uppercase;
	margin: 0 0 0.1em;
	letter-spacing: 0.075em;
	line-height: 1.2;
}
h1.title50 {
	position: absolute;
	bottom: 58%;
	right: 36%;
	text-shadow: 0 2px 8px rgba(0,0,0,0.50);
}
h1.title70 {
	position: absolute;
	left: 2em;
	bottom: 2em;
}
h1.title90 {
	position: absolute;
	left: 3%;
	bottom: 25%;
}
h1.title100 {
	position: absolute;
	left: 3%;
	top: 15%;
	line-height: 1.2;
}
.floatRight {
	float: right;
	margin-left: auto;
	margin-right: auto;
}
.navLinks,
.navLinks:hover,
.navLinks:active,
.navLinks:visited {
	text-decoration: none;
	color: #ffffff;
	font-size: 0.80em;
	text-transform: uppercase;
	padding: 0.1em 10px;
  	transition-property: background;
  	transition-duration: 1s;
}
.navLinks:hover {
	background-color: #ffffff;
	color: #371B10;
	  transition-property: background;
	  transition-duration: 0.5s;
}
.navRight {
	text-align: center;
}
.navLeft {
	margin-right: 10px;
	text-align: center;
}
p {
	margin: 0.1em 0 0.5em;
}
.rightColBottom {
	width: 40%;
	position: absolute;
	right: 3em;
	/* bottom: 10em; */
	bottom: 22%;
	max-height: 60%;
	overflow: auto;
}
.leftColBottom {
	width: 40%;
	position: absolute;
	left: 2em;
	bottom: 2em;
	max-height: 50%;
	opacity: 0.9;
	padding: 0.5em 1.5em;
	overflow: auto;
	background-color: #371B10;
	background: -moz-radial-gradient(center, ellipse cover, #371b10 60%, #160b06 100%); 
	background: -webkit-radial-gradient(center, ellipse cover, #371b10 60%,#160b06 100%); 
	background: radial-gradient(ellipse at center, #371b10 60%,#160b06 100%); 
}
.rightColEdge {
	width: 18em;
	width: 22vw;
	position: absolute;
	right: 2em;
	top: 1em;
	max-height: 98%;
	overflow: auto;
}
.text40 {
	width: 29em;
	width: 40vw;
	position: absolute;
	right: 4%;
	top: 12%;
	max-height: 98%;
	overflow: auto;
}
.text50 {
	width: 23%;
	position: absolute;
	right: 0;
	bottom: 0;
	max-height: 90%;
	opacity: 0.9;
	padding: 1em 1.5em;
	overflow: auto;
	background-color: #371B10;
	background: -moz-radial-gradient(center, ellipse cover, #371b10 60%, #160b06 100%); 
	background: -webkit-radial-gradient(center, ellipse cover, #371b10 60%,#160b06 100%); 
	background: radial-gradient(ellipse at center, #371b10 60%,#160b06 100%); 
}
.text60 {
	width: 60%;
	position: absolute;
	right: 5%;
	bottom: 2em;
	/* bottom: 10em; */
	bottom: 5%;
	max-height: 30%;
	overflow: auto;
}
.text50 h1, .text70 h1, .text90 h1, .text100 h1 {
	display: none;
}
.text70 {
	width: 23%;
	position: absolute;
	right: 0;
	bottom: 0;
	max-height: 90%;
	opacity: 0.9;
	padding: 1em 1.5em;
	overflow: auto;
	background-color: #371B10;
	background: -moz-radial-gradient(center, ellipse cover, #371b10 60%, #160b06 100%); 
	background: -webkit-radial-gradient(center, ellipse cover, #371b10 60%,#160b06 100%); 
	background: radial-gradient(ellipse at center, #371b10 60%,#160b06 100%); 
}
.text80 {
	width: 23%;
	position: absolute;
	right: 0;
	bottom: 0%;
	max-height: 100%;
	opacity: 0.9;
	padding: 1em 1.5em;
	overflow: auto;
	background-color: #371B10;
	background: -moz-radial-gradient(center, ellipse cover, #371b10 60%, #160b06 100%); 
	background: -webkit-radial-gradient(center, ellipse cover, #371b10 60%,#160b06 100%); 
	background: radial-gradient(ellipse at center, #371b10 60%,#160b06 100%); 
}
.text90 {
	width: 23%;
	position: absolute;
	right: 0em;
	bottom: 0em;
	padding: 1em 1.5em;
	max-height: 90%;
	opacity: 0.9;
	padding: 1em 1.5em;
	overflow: auto;
	color: #000000;
}
.text90 .navLinks {
	color: #000000;	
}
.text100 {
	width: 23%;
	position: absolute;
	right: 0;
	top: 0%;
	max-height: 100%;
	opacity: 0.9;
	padding: 1em 1.5em;
	overflow: auto;
	background-color: #371B10;
	background: -moz-radial-gradient(center, ellipse cover, #371b10 60%, #160b06 100%); 
	background: -webkit-radial-gradient(center, ellipse cover, #371b10 60%,#160b06 100%); 
	background: radial-gradient(ellipse at center, #371b10 60%,#160b06 100%); 
	height: 100%;
}
.text110 {
	width: 23%;
	position: absolute;
	left: 0;
	top: 3%;
	padding: 1em 1.5em;
	padding: 1em 1.5em;
	overflow: auto;
	color: #ffffff;
	max-height: 95%;
}
#team {
	position: absolute;
	left: 2em;
	bottom: 2em;
}
#team h3 {
	font-weight: 300;
	font-size: 0.85em;
	line-height: 1.2;
	margin-bottom: 0.3em;
	text-transform: uppercase;
}
#team .subhead {
	font-size: 0.70em;
	margin-top: 0;
	margin-bottom: 0.5em;
	line-height: 1.0;
}
#team h4 {
	font-weight: 400;
	font-size: 0.80em;
	margin-top: 0.3em;
	margin-bottom: 0;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 1023px) {
	.rightColEdge {
		width: 16em;
		width: 22vw;
		right: 1em;
		max-height: 99%;
	}
	p {
		line-height: 1.4;
		font-size: 1em;
	}
}
@media only screen and (min-width: 1368px) {
	h1.title50 {
		bottom: 50%;
	}
}
@media only screen and (min-width: 1350px) {
	.rightColEdge {
		width: 21em;
		right: 1.5em;
		max-height: 99%;
	}
	h1 {
		font-size: 2em;
	}
	p {
		line-height: 1.6;
	}
	
}
@media only screen and (min-height: 800px) {
	.text50 {
		bottom: 10%;
		width: 25%;
	}
}
@media only screen and (max-width: 768px), (orientation: portrait) {
	html {
		overflow: auto;
	}
	.rightColEdge, .leftColBottom, .rightColBottom, .text40, .text50, .text60,
	.text70, .text80, .text90, .text100, .text110 {
		position: static;
		margin: 3% 5%;
		width: 90%;
		padding-bottom: 3%;
		background-image: none;
		color: #ffffff;
	}
	.text90 .navLinks {
		color: #ffffff;
	}
	.leftColBottom, .text50, .text70, .text80, .text90, .text100, .text110 {
		opacity: 1.0;
		padding: 0;
	}
	#team {
		padding: 1em 0 0 0;
		position: static;
		border-top: 1px solid rgba(255,255,255,0.25);
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
		margin-bottom: 5em;
	}
	h1 {
		font-size: 2em;
	}
	.text40 h1 {
		font-size: 1.5em;
	}
	h1.title50, h1.title70, h1.title90, h1.title100 {
		display: none;
	}
	.text50 h1, .text70 h1, .text90 h1, .text100 h1 {
		display: block;
	}
	p {
		line-height: 1.6;
		font-size: 1em;
		margin: 0.4em 0 0.7em;
	}
	#photoBackground10, #photoBackground20, #photoBackground30,
	#photoBackground40, #photoBackground50, #photoBackground60,
	#photoBackground70, #photoBackground80, #photoBackground90, 
	#photoBackground100, #photoBackground110 {
		background: none no-repeat top right fixed #371B10;
		background-size: 100%;
	}
	.mobileImage {
		display: block;
		max-width: 100%;
		margin-bottom: 20px;
	}
}
@media only screen and (max-width: 320px) {
	h1 {
		font-size: 1.5em;
	}
}
@media only screen and (min-width: 1279px) and (orientation: landscape) {
	
	h1.title70 {
		font-size: 3em;
		left: 1.5em;
		bottom: 1.5em;
	}
	h1.title90 {
		font-size: 3em;
		left: 1em;
		bottom: 20%;
	}
	h1.title100 {
		font-size: 3em;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
