@font-face {
	font-family: "Origin";
	src: url(fonts/Origin-Regular.ttf);
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
}
@font-face {
	font-family: "Origin";
	src: url(fonts/Origin-Light.ttf);
	font-weight: 100;
}
@font-face {
	font-family: "Origin";
	src: url(fonts/Origin-Bold.ttf);
	font-weight: 200;
}
@font-face {
	font-family: "Origin";
	src: url(fonts/Origin-ExtraBold.ttf);
	font-weight: 300;
}

* {
	box-sizing: border-box;
}
body {
	font-family: Origin, Arial, sans-serif;
	color: #505455;
}
a {
	color: #81b2c1;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	margin: 0 0 30px 0;
	font-size: 12px;
	color: #81b2c1;
}
hr {
	width: 300px;
	margin-top: 20px;
	margin-bottom: 20px;
	border: solid #81b2c1 1px;
}
p {
	margin: 0 0 20px 0;
	padding-right: 30px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 100;
	text-align: justify;
}
p img {
	vertical-align: middle;
}
header {
	display: block;
	height: 80px;
	font-size: 25px;
	line-height: 25px;
	cursor: pointer;
}
header > small {
	font-size: 13px;
}
nav {
	display: inline-block;
	width: 170px;
	margin-bottom: 40px;
}
nav li {
	height: 30px;
	font-size: 12px;
	cursor: pointer;
}
nav li:hover, nav li.on {
	color: #81b2c1;
}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
section {
	position: absolute;
	top: 110px;
	right: 0;
	left: 200px;
	padding-right: 2vw;
	display: none;
}
article {
	padding-bottom: 20px;
	display: none;
}
footer {
	position: fixed;
	height: auto;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 5px 0 5px 30px;
	font-size: 10px;
	background-color: rgba(255,255,255,0.8);
	z-index: 9;
}
#container {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px;
}
.containerbackground {
	background: url("images/background.jpg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-attachment: fixed;
	background-position: bottom;
	background-clip: border-box;
}


ul.gallery li {
	display: inline-block;
	position: relative;
	width: 260px;
	height: 170px;
	margin: 0 35px 35px 0;
	text-align: center;
	line-height: 170px;
	border: solid rgba(0,0,0,.05) 1px;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center center;
}
ul.gallery img {
	width: auto;
	height: 100%;
	max-width: 100%;
	border: solid rgba(0,0,0,.05) 1px;
}
ul.gallery li > span {
	position: absolute;
	width: 100%;
	height: 30px;
	left: 0;
	right: 0;
	line-height: normal;
	margin-top: 180px;
	text-align: left;
}
ul.gallery li > div {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.8);
	opacity: 0;
	transition: opacity 0.5s;
	cursor: pointer;
}
ul.gallery li > div:hover {
	opacity: 1;
	transition: opacity 0.5s;
}
ul.gallery li > div span {
	display: inline;
	padding: 4px 30px 4px 30px;
	color: white;
	border: solid white 1px;
}
.gallerypicturecontainer {
	width: 100%;
	text-align: center;
}
.gallerypicture {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 75vh;
	border: solid rgba(0,0,0,.05) 1px;
}


.prev, .next {
	position: absolute;
	width: 60px;
	height: 100px;
	top: 50%;
	margin-top: -50px;
	font-size: 40px;
	font-weight: 100;
	text-align: center;
	line-height: 115px;
	cursor: pointer;
}
.prev:hover, .next:hover {
	background-color: rgba(255,255,255,.2);
}
.prev {
	left: 0;
}
.next {
	right: 2vw;
}


#exhibitions > article > img {
	width: auto;
	max-width: 100%;
	height: auto;
}

@media all and (min-width: 900px) and (max-width: 1200px) {
	#container {
		padding: 20px;
	}
	section {
		top: 80px;
		left: 190px;
	}
}
@media all and (min-width: 640px) and (max-width: 900px) {
	#container {
		padding: 20px;
	}
	section {
		top: 80px;
		left: 190px;
	}
	.gallerypicture {
		width: auto;
		max-width: 100%;
		height: auto;
	}
}
@media all and (max-width: 640px) {
	#container {
		padding: 10px;
	}
	header {
		height: 60px;
		font-size: 20px;
	}
	nav {
		display: block;
		margin-top: 50px;
		padding-bottom: 50px;
	}
	section {
		position: relative;
		top: 0;
		right: 0;
		left: 0;
		padding-right: 0;
		display: none;
	}
	.gallerypicture {
		width: 100%;
		height: auto;
	}
	.prev, .next {
		width: 40px;
	}
	.next {
		right: 0;
	}
}