/* General Blueprint Style */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,600i,700,700i,800');


*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0;}

body {
    font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	color: #A8E000;
	background: #454545;
}

h1, h3, h4, h5 {
	font-weight: 600;
}

h1 {
	font-size: 1.3em;
	line-height: 1.5em;	
	text-transform: uppercase;
	letter-spacing: 0.35em;
}

h2 {
	padding: .8em 0em .1em 0em;
	font-size: 1.1em;
	text-transform: uppercase;
	font-weight: 700;	
	letter-spacing: 0.15em;
	color: #333;
	text-decoration: underline;
}


h3 {
	padding: .1em 0em 0em 0em;
	font-size: 1em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

h4 {
	font-size: .85em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

h5 {
	margin-top: -.8em;
	margin-bottom: .8em;
	font-size: .9em;
	letter-spacing: 0.05em;
	line-height: 1.3em;	
}

p {
	margin-top: -.8em;
	font-size: .9em;
	line-height: 1.3em;
}

a {
	text-decoration: none;
	outline: none;
}

a:hover,
a:active {
	color: #000;
}

a .current {
	color: #333;
}

.container > header {
    width: 100%;	
	margin: 0 0 2em .2em;
	padding: 1em 1em .875em;
    position: fixed;
	background: #454545;
	z-index: 200;	
}

.container > header h1 {
	margin: 0 0 0.6em 0;
	float: left;
}

.content {
	max-width: 69em;
	margin: 0 auto;
	padding: 5em 1em 3em 0em;
}

.content:after {
	content: "";
	display: table;
	clear: both;	
}


.leftbox,
.rightbox {
	width: 100%;
	margin-top: 1em;
	margin-bottom: 1em;
	float: left;
}

.box {
	margin: .5em 1em 1em 1em;
	padding: .1em 1em .5em 1em;
	background: #e4e4e4e4;
	color: black;
}

.subbox {
	margin: -.5em 1em 1em 1em;
	padding: -.1em 1em .5em 1em;
}

.para p {
	text-indent: 1em;
}

.hanging p {
	text-indent: -1em;
	padding-left: 1em;
}

.title {
	font-style: italic;
}

.separate {
	list-style: none;
}

.grid-gallery ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.grid-gallery figure {
	margin: 0;
}

.grid-gallery figure img {
	display: block;
	width: 100%;
}

.grid-gallery figcaption h4 {
	margin: 0;
	padding: 0 0 0.01em;
	font-size: 85%;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 500;	
}

.grid-gallery figcaption p {
	margin: 0;
}

/* Grid style */
.grid-wrap {
	max-width: 69em;
	margin: 0 auto;
	padding: 5em 1em 3em 0em;
}

.grid {
	margin: 0 auto;
}

.grid li {
	width: 100%;
	max-width: 18em;
	float: left;
	cursor: pointer;
}

.grid figure {
	padding: 1em;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.grid li:hover figure {
/*	opacity: 0.7;*/
	border: .125em solid #454545;
}

.grid li:hover figure figcaption h4 {
	font-weight: 400;
}

.grid figcaption {
	background: none;
	padding: .5em;
	border-bottom: .0625em solid #99CC00;
	overflow: hidden;
}

/* Info on arrow key navigation */
.info-keys {
	position: fixed;
	top: .625em;
	left: .625em;
	width: 60px;
	font-size: .625em;
	padding-top: 1.25em;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: .5em;
	text-align: center;
}

.info-keys:before,
.info-keys:after {
	position: absolute;
	top: 0;
	width: 1em;
	height: 1em;
	border: .0625em solid #fff;
	text-align: center;
	line-height: 1em;
	font-size: .75em;
}

.info-keys:before {
	left: 10px;
	content: "\e603";
}

.info-keys:after {
	right: .625em;
	content: "\e604";
}

.navbar {
    background-color: #454545;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.navbar a {
    float: left;
    display: block;
    color: #99CC00;
    text-align: center;
    padding: 1em 1em;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	font-weight: 400;		
}

.navbar a:hover {
    color: white;
}

.navbar a.active {
    color: white;
}

.navbar .icon {
    display: none;
} 

@media screen and (min-width: 432px) {
	.grid li {
		width: 50%;
	}

	.grid figcaption {
	background: none;
	padding: 1em 1em 1em .125em;
	}

	.grid-gallery figcaption h4 {
		font-size: 60%;
	}
}

@media screen and (min-width: 648px) {	
 .grid-wrap {
	padding: 3em 1em 3em 0em;
	}	 
	
	.content {
	padding: 3em 1em 3em 0em;
	}
	
 	.leftbox,
	.rightbox {
		width: 50%
	}
		
.rightbox .box {
	margin-left: 2em;
}
	
	.grid li {
		width: 33.3%;
	}

	.slideshow li {
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		margin: 0;
	}

	.slideshow li figure img {
		width: auto;
		margin: 0 auto;
		max-width: 100%;
	}

	.slideshow nav span,
	.slideshow nav span.nav-close {
		font-size: 1.8em;
		padding: 0.3em;
	}

	.info-keys {
		display: none;
	}

	.grid-gallery figcaption h4 {
		font-size: 62%;
	}

}

@media screen and (max-width: 648px) {
  .navbar a:not(:first-child) {display: none;}
  .navbar a.icon {
    float: right;
    display: block;
  }

  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (min-width: 932px) {

	.content {
	max-width: 98em;
	margin: 0 auto;
	padding: 3em 1em 3em 0em;
	}

	.leftbox {
		width: 33%
	}
	
	.rightbox {
		width: 66%
	}

	.grid-wrap {
	max-width: 98em;
	margin: 0 auto;
	padding: 5em 1em 3em 0em;
	}

	.grid li {
		width: 33.3%;
	}

	.grid figcaption {
	padding: .5em;
	}

	.grid-gallery figcaption h4 {
		font-size: 85%;
	}

	.container > header > span {
	width: 98em;
	margin: auto;
	display: block;
	}

	.navbar > span {
	width: 98em;
	margin: auto;
	display: block;
	}
}


@media screen and (min-width: 1072px) {

	.leftbox {
		width: 25%
	}
	
	.rightbox {
		width: 75%
	}
	
	.grid li {
		width: 25%;
	}

	.grid-gallery figcaption h4 {
		font-size: 85%;
	}
}

@media screen and (min-width: 1600px) {

	.container > header > span {
	padding-left: 1em;
	}

	.grid li {
		width: 20%;
	}

	.grid-gallery figcaption h4 {
		font-size: 85%;
	}
}

/* Slideshow style */
.slideshow {
	position: fixed;
	background: rgba(0,0,0,0.6);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 500;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	-webkit-perspective: 1000px;
	perspective: 1000px;
	-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
	transition: opacity 0.5s, visibility 0s 0.5s;
}

.slideshow-open .slideshow {
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

.slideshow ul {
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translate3d(0,0,150px);
	transform: translate3d(0,0,150px);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.slideshow ul.animatable li {
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.slideshow-open .slideshow ul {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.slideshow li {
	width: 41em;
	height: 48em;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -24em 0 0 -20em;
	visibility: hidden;
}

.slideshow li.show {
	visibility: visible;
}

.slideshow li:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.8);
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.slideshow li.current:after {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity 0.3s, visibility 0s 0.3s;
	transition: opacity 0.3s, visibility 0s 0.3s;
}

.slideshow figure {
	width: 110%;
	height: 110%;
	background: #fff;
	border: 1.5em solid #fff;
}

.slideshow figcaption {
	padding-bottom: 1.25em;
	color:#333;
}

.slideshow figcaption p {
	font-size: 100%;
}

.slideshow figcaption h4 {
	font-weight: 600;
	font-size: 120%;
	text-transform: uppercase;
}

/* Navigation */
.slideshow nav span {
	position: fixed;
	z-index: 1000;
	color: #59656c;
	text-align: center;
	padding: 3%;
	cursor: pointer;
	font-size: 2.2em;
}

.slideshow nav span.nav-prev,
.slideshow nav span.nav-next {
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.slideshow nav span.nav-next {
	right: 0;
}

.slideshow nav span.nav-close {
	top: 0;
	right: 0;
	padding: 0.5em 1em;
	color: #31373a;
}

.icon:before,
.icon:after {
	font-family: 'fontawesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
