@font-face {
	font-family: AlegreyaSans-Light;
	src: url(alegreyasans-light.woff);
	src: url(alegreyasans-light.otf);
}
@font-face {
	font-family: AlegreyaSans-Light;
	font-style: italic;
	src: url(alegreyasans-lightitalic.woff);
	src: url(alegreyasans-lightitalic.otf);
}
@font-face {
	font-family: AlegreyaSans-Light;
	font-weight: bold;
	src: url(alegreyasans-medium.woff);
	src: url(alegreyasans-medium.otf);
}
@font-face {
	font-family: AlegreyaSans-Light;
	font-style: italic;
	font-weight: bold;
	src: url(alegreyasans-mediumitalic.woff);
	src: url(alegreyasans-mediumitalic.otf);
}
@font-face {
	font-family: AlegreyaSans-Black;
	src: url(alegreyasans-black.woff);
	src: url(alegreyasans-black.otf);
}

/* Global */
html {
	scroll-padding-top: 10em;
}
body {
	margin: 0; 
	padding: 0; 
	font-family: AlegreyaSans-Light, sans-serif; 
	font-weight: normal; 
	font-size: 16px;
}
body .spacer {
	padding: 0;
}
#content {
	padding: 3.5em 2em 0 2em;
	margin: 0;
}
.screenreader {
	display: none;
}
h1 {
	font-size: 3em;
	line-height: 1em;
	text-transform: uppercase; 
	margin: 0 0 0.3em 0;
	padding: 0;
	font-family: AlegreyaSans-Black, sans-serif;
	font-weight: normal;
	letter-spacing: 0.1em;
}
h2 {
	font-weight: bold; 
	margin: 0 0 0.5em 0;
	font-size: 1.75em; 
	padding: 0;
	line-height: 1em;
	font-family: AlegreyaSans-Light, sans-serif;
	font-weight: bold;
	letter-spacing: 0.1em;
}
h3 {
	font-weight: bold; 
	font-size: 1em; 
	margin: 0 0 0.5em 0;
	padding: 0;
	line-height: 1em;
	font-family: AlegreyaSans-Light, sans-serif;
}
p, address {
	line-height: 2em;
	margin: 0;
	text-align: left;
	max-width: 40em;
}
p.medial, p.final {
	margin-top: 1em;
}
p.final, p.insular {
	margin-bottom: 2em;
}
a {
	color: #992984;
	color: #777777;
	text-decoration: none;
	border-bottom: 1px dotted #777777;
}
ul, ol {
	margin: 0 0 2em 0;
	max-width: 80%;
	padding: 0 0 0 0.9em;
}
li {
	line-height: 2em;
}
sup {
	line-height: 1em;
	vertical-align: top;
	margin: 0 0.2em;
	padding: 0;
}
sup a {
	padding: 0 0.2em;
}
ol#footnotes {
	margin-bottom: 5em;
}
ol#footnotes li {
	margin-bottom: 1em;
}
.txtblk {
	max-width: 40em; 
	margin: auto; 
	font-size: 24px; 
	margin-bottom: 4em;
}
@media only screen and (min-width: 1024px){
	body {
		font-size: 20px;
	}
}

/* Navigation */
#navigation {
	background-color: white;
	border-bottom: 1px solid #DDD;
	position: fixed;
	width: 100%;
	padding: 0 2em;
	zoom: 1;
	clear: both;
	z-index: 1;
}
#navigation::before, #navigation::after {
	content: "";
	display: table;
}
#navigation::after {
	clear: both;
}
#navigation img {
	height: 2.5em;
	width: auto;
	margin: 1em 1em 1em 0;
	padding: 0;
	float: left;
	clear: none;
}
#nav-menu {
	margin: 0 4em 0 0;
	padding: 0;
	max-width: 100%;
	width: auto;
	float: none;
	clear: both;
	display: block;
	list-style-type: none;
	height: 0;
	transition: all .5s ease;
	overflow: hidden;
}
#nav-menu.active {
	display: block;
	height: 12em;
	padding: 1em 0 0.75em 0;
}
#nav-menu li {
	display: block;
	clear: both;
	line-height: 2em;
	margin: 0 0 0.75em 0;
	padding: 0;
	text-align: center;
	list-style-type: none;
	max-width: auto;

}
#nav-menu li a {
	width: 100%;
	display: block;
	border: 1px solid black;
	color: black;
	border-radius: 4px;
	border: none;
	background: #BBB;
	color: white;
	font-weight: bold;
	letter-spacing: 0.1em;
}
#nav-manu li.lang a {
	font-style: italic;
}
#nav-menu li span, #nav-menu li a:hover {
	width: 100%;
	display: block;
	color: white;
	border: 1px solid black;
	border-radius: 4px;
	background: black;
	border: none;
	font-weight: bold;
	letter-spacing: 0.1em;
}
/* Hamburger Icon Open*/
#burger {
	float: right;
	height: 1.5em;
	width: 1.5em;
	background: white;
	border: 0.5em solid white;
	position: relative;
	margin: 1.25em 4em 0 0;
	border-radius: 4px;
}
/* Add and Format Lines */
#burgericon,
#burgericon:before,
#burgericon:after {
	content: '';
	position: absolute;
	height: 3px;
	width: 1.5em;
	background: black;
	transition: all .3s ease;
}
/* Displace Lines */
#burgericon {
	top: 0.7em
}
#burgericon:before {
	top: -0.55em
}
#burgericon:after {
	top: 0.55em
}
/* Hamburger Icon Close */
#burger.active {
	background: white;
}
#burger.active #burgericon {
	background: transparent;
	transform: rotate(-135deg)
}
#burger.active #burgericon:before,
#burger.active #burgericon:after {
	top: 0
}
#burger.active #burgericon:before {
	transform: rotate(90deg)
}
@media only screen and (min-width: 1024px){
	#navigation img {
		height: 2em;
		margin: 0.75em 1em 0.75em 0;
	}
	#burger {
		display: none;
	}
	#nav-menu {
		margin: 0 0 0 -4em; 
		padding: 0;
		height: auto;
		text-align: center;
		float: left;
		clear: none;
		width: 100%;
		transition: none;
	}
	#nav-menu li {
		list-style-type: none;
		display: inline-block;
		width: auto;
		min-width: 8%;
		padding: 0 2em;
		line-height: 2.5em;
		margin: 0.5em auto;
		text-align: center;
		background: none;
		color: black;
		text-transform: uppercase;
		letter-spacing: 0.2em;
	}
	#nav-menu li.lang {
		position: absolute;
		width: auto;
		min-width: auto;
		padding: 0;
		right: 6em;
		top: 0;
		display: block;
		font-style: italic;
		text-align: right;
	}
	#nav-menu li a {
		background: none;
		color: black;
		font-weight: normal;
	}
	#nav-menu li span, #nav-menu li a:hover {
		background: none;
		color: black;
		font-weight: bold;
	}
}


/* Slideshow Module */
.slideshow {
	margin: 0 -2em 2.5em -2em;
	padding: 0;
	position: relative;
}
.slideshowcontainer {
	background: #CCCCCC;
	position: relative;
	height: 18em;
	overflow: hidden;
}
.slideshowcontainer .slideshowslide {
	transition: transform 1.5s ease;
	position: absolute;
	border: none;
	width: 100%;
	-webkit-transform: translate(-100%,0%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	left: 50%;
	top: 50%;
	-webkit-animation-name: fadeout;
	-webkit-animation-duration: 4s;
	animation-name: fadeout;
	animation-duration: 4s;
	opacity: 0;
}
.slideshowcontainer .slideshowslide.active {
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	-webkit-animation-name: fadein;
	-webkit-animation-duration: 4s;
	animation-name: fadein;
	animation-duration: 4s;
	opacity: 1;
}
.slideshowcontainer .slideshowslide img {
	width: 100%;
	margin: 0 auto;
	display: block;
}
.slideshowcontainer .slideshowslide img.landscape {
	height: 100%;
	width: auto;
}
.slideshowcaption {
	margin: 0.25 0;
	padding: 4em 0 2em 0;
	line-height: 1.35em;
	display: none;
	
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
	font-size: 3em;
	color: white;
	width: 100%;
	letter-spacing: 0.1em;
	background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.75));
	font-weight: bold;
}
.slideshowcaption a {
	display: block;
	border: none;
	background: white;
	color: black;
	width: 8em;
	margin: 1em auto;
	font-size: 0.25em;
	line-height: 2em;
}
.slideshowcaption.active {
	display: block;
}
.slideshow ul {
	padding: 0;
	display: inline-block;
	margin: 0.35em 0.5em 0 0;
	position: absolute;
	bottom: 0.5em;
	left: 1.25em;
	color: white;
}
.slideshownumber {
	cursor: pointer;
	padding: 0 1em;
	line-height: 1.35em;
	display: inline-block;
	list-style-type: none;
	margin: 0 0.1em 0 0;
}
.slideshownumber.active,
.slideshownumber:hover {
	border-bottom: 2px solid white;
}
.slideshowplaytoggle {
	cursor: pointer;
	padding: 0 1em;
	line-height: 1.35em;
	display: inline-block;
	list-style-type: none;
	margin: 0 0.1em 0 0;
	font-weight: bold;
}
.slideshowplaytoggle span::after {
	content: '| |';
}
.slideshowplaytoggle.active span::after {
	content: '>';
}
@-webkit-keyframes fadein {
	from {opacity: 0} 
	to {opacity: 1}
}
@keyframes fadein {
	from {opacity: 0} 
	to {opacity: 1}
}
@-webkit-keyframes fadeout {
	from {opacity: 1} 
	to {opacity: 0}
}
@keyframes fadeout {
	from {opacity: 1} 
	to {opacity: 0}
}
@media only screen and (min-width: 768px){
.slideshowcontainer {
	background: #CCCCCC;
	position: relative;
	height: 75vh;
	overflow: hidden;
}
.slideshow {
	margin: 0 -2em 2.5em -2em;
	padding: 0;
}
}

/* Hero Image */
#hero {
	margin: 0 -2em 2.5em -2em;
	padding: 0;
	position: relative;
}
#hero .container {
	position: relative;
	width: 100%;
	height: 60vh;
	margin: 0 0 0.25em 0;
	overflow: hidden;
}
#hero .container img {
	width: auto;
	height: 100%;
	margin: 0;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	transition: all .5s ease;
}
#hero p {
	line-height: 1.35em;
	max-width: 100%;
	margin: 0 2em 0 2em;
}
#hero video {
	width: 100%;
	margin: 0 0 0.25em 0;
	background: black;
}
#hero .caption {
	margin: 0.25 0;
	padding: 4em 0 5% 0;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.75));
	text-align: center;
	color: white;
}
@media only screen and (min-width: 700px){
	#hero .container img.landscape {
		height: 100%;
		width: auto;
	}
	#hero .container img.portrait {
		height: auto;
		width: 100%;
	}
}
@media only screen and (min-width: 1024px){
	#hero p {
		margin: 0;
	}
	#hero .container {
		height: 75vh;
	}
}

/* Page Nav */
.pageflip {
	margin: 2em 0;
	font-weight: bold;
	padding: 0;
}
.pageflip::before, .pageflip::after {
	content: "";
	display: table;
}
.pageflip::after {
	clear: both;
}
.pageflip a {
	border: none;
}
.pageflip div {
	float: left;
	width: auto;
	margin: 0 2em 0 0;
	padding: 0;
	text-align: left;
}

/* Multicolumn Layout */
.column-x2 {
	zoom: 1;
	clear: both;
	margin: 0 0 2em 0;
}
.column-x2::before, .column-x2::after {
	content: "";
	display: table;
}
.column-x2::after {
	clear: both;
}
.column-x2 .column1 .spacer {
		margin: 0;
	}
.column-x2 .column2 .spacer {
		margin: 0;
	}
.column-x2 .column1 {
		width: 100%;
	}
.column-x2 .column2 {
		width: 100%;
	}
.column-x2 .button:link {
	border: none;
	display: block;
	margin: 0 0 1em 0;
	transition: color .6s ease;
}
.column-x2 .button:hover {
	color: black;
}
.column-x2 .button span::before {
	content:"";
	border-bottom: 1px solid #992984;
	width: 6em;
	display: inline-block;
	margin: 0 0.2em 0.2em 0;
	transition: border-color .6s ease;
}
.column-x2 .button:hover span::before {
	border-color: black;
}
.column-x2 h2 {
	margin: 0 0 0.1em 0;
}
@media only screen and (min-width: 768px){
	.column-x2 p {
		max-width: 90%;
	}
	.column-x2 .column1 {
		float: left;
		width: 50%;
	}
	.column-x2 .column2 {
		float: left;
		width: 50%;
	}
	.column-x2 .spacer {
		display: block;
		margin: 0;
		padding: 0;
	}
	.column-x2 .column1 .spacer {
		margin-right: 0.25em;
	}
	.column-x2 .column2 .spacer {
		margin-left: 0.25em;
	}
}

/* Flexible Grid. */
.grid {
	zoom: 1;
	clear: both;
}
.grid::before, .grid::after {
	content: "";
	display: table;
}
.grid::after {
	clear: both;
}
.grid div {
	margin: 0 0 3em 0;
}
.grid div span {
	display: block;
	padding: 0;
	margin: 0;
}
.grid div .container {
	overflow: hidden;
	padding: 0;
	margin: 0 0 0.75em 0;
	height: 75vw;
	position: relative;
	width: 100%;
	display: block;
	border: none;
}
.grid div img {
	margin: 0;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	transition: all .5s ease;
}
.grid div img.portrait {
	width: 100%;
}
.grid div img.landscape {
	height: 100%;
}
.grid h3 {
	text-transform: uppercase; 
	font-size: 1.25em;
	margin-bottom: 0.3em;
	letter-spacing: 0.1em;
	font-weight: bold;
	max-width: 80%;
	line-height: 1.25em;
}
.grid.work h3 {
	font-size: 1em;
	font-style: italic;
	text-transform: none;
}
.grid div p {
	text-align: left;
	max-width: 90%;
}
@media only screen and (min-width: 1024px){
	.grid {
		margin: 0 -0.15em;
	}
	.grid div {
		width: 25%;
		float: left;
	}
	.grid .div5,
	.grid .div9 {
		clear: both;
	}
	.grid div span {
		margin: 0 0.15em;
	}
	.grid div .container {
		height: 22vw;
	}
	.grid .button span {
		margin: 0;
		padding: 0;
	}
	.grid div.full {
		width: 100%;
	}
	.grid div.full .container {
		height: 40vw;
	}
}
.grid div .container.mockup {
	background: repeat center #BBBBBB;
	background-image: radial-gradient(circle, #FFFFFF 50%, #DDDDDD);
	background-size: 100%;
}
.grid div .container.mockup img {
	box-shadow: 0 0 5px black;
	
}
.grid div .container.mockup img.portrait {
	width: auto;
	height: 80%;
	padding: 0;
	margin: 0;
}
.grid div .container.mockup img.landscape {
	width: 80%;
	height: auto;
	padding: 0;
	margin: 0;
}
.btn_zoom {
	display: block;
	background: rgba(0,0,0,0.5);
	border-radius: 8px;
	color: white;
	width: 1.2em;
	height: 1.2em;
	line-height: 1.2em;
	text-align: center;
	font-weight: bold;
	position: absolute;
	bottom: 0.5em;
	right: 0.4em;
	font-size: 25px;
}

/* Lightbox*/
#lightbox {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding: 5em 0; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
	animation-name: lightboxfadein;
	animation-duration: 0.6s;
	overflow: hidden;
}
@keyframes lightboxfadein {
	0% {background-color: rgba(0,0,0,0);} 
	100% {background-color: rgba(0,0,0,0.8);}
}
#lightboximg {
	margin: auto;
	display: block;
}
#lightboximg.portrait {
	height: 70vh;
	width: auto;
}
#lightboximg.landscape {
	width: 60vw;
	height: auto;
}
#lightboxtext {
	margin: 0.5em auto;
	display: block;
	width: 80%;
	max-width: 800px;
	text-align: center;
	color: white;
	padding: 15px 0;
	height: 150px;
	font-size: 1.25em;
	font-style: italic;
}
#lightboximg, #lightboxtext {  
	-webkit-animation-name: lightboxzoomin;
	-webkit-animation-duration: 0.6s;
	animation-name: lightboxzoomin;
	animation-duration: 0.6s;
}
@-webkit-keyframes lightboxzoomin {
	from {-webkit-transform:scale(0)} 
	to {-webkit-transform:scale(1)}
}
@keyframes lightboxzoomin {
	from {transform:scale(0)} 
	to {transform:scale(1)}
}
#lightboxclose {
	position: absolute;
	top: 0;
	right: 0.5em;
	color: white;
	font-size: 4em;
	font-weight: bold;
	transition: 0.3s;
	text-align: right;
}
#lightboxclose:hover,
#lightboxclose:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}
@media only screen and (max-width: 600px){
	#lightboximg.portrait, #lightboximg.landscape {
	width: 80vw;
	height: auto;
	}
}

/* Footnotes */
div#footnotes {
	margin-top: 5em;
}
#footnotes ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	max-width: 100%;
}
#footnotes li {
	padding: 0 0 0 2em;
	margin: 0 0 1em 0;
	max-width: 100%;
}
#footnotes li::before, #footnotes li::after {
	content: "";
	display: table;
}
#footnotes li::after {
	clear: both;
}
#footnotes .num {
	width: 2em;
	margin: 0 0 0 -2em;
	padding: 0;
	position: relative;
	float: left;
	line-height: 2em;
	display: block;
}
#footnotes .num a {
	border: none;
	font-weight: bold;
}
#footnotes .txt {
	margin: 0;
	padding: 0;
	display: block;
	max-width: 40em;
}

/* Footer */
#footer {
	margin: 0 0 2em 0;
	font-style: italic;
}
#footer em {
	font-style: normal;
}
#footer ul {
	margin: 0;
	padding: 0;
}
#footer ul li {
	padding: 0;
	margin: 0;
	display: block;
	list-style-type: none;
}
#footer ul li a:link {
	border: none;
}
#footer .spacer {
	padding-top: 3em;
}
#counter:link {
	border: none;
	margin: 0.5em 0;
	display: block;
}