/* ============================================= */
			/* ================= Page Rules ================ */
			/* ============================================= */

@font-face {
	font-family: 'CenturyFONT';
	src: url('../style/GOTHIC.TTF.eot');
	src: url('../style/GOTHIC.TTF.eot?#iefix') format('embedded-opentype'),  url('../style/CenturyGothic.woff') format('woff'),  url('../style/CenturyGothic.ttf') format('truetype');
}
* {
	box-sizing: border-box;
	font-weight: normal;
}
html, body {
	width: 100%;
	height: 100%;
	font-size: 0.96em;
	color: #000;
	background: #FFF;
	font-family: CenturyFONT, Verdana, Geneva, sans-serif;
}
body {
	padding: 10px 0 20px;
	overflow-y: scroll;
}
#wrapper {
	min-height: 100%;
	margin: 0 auto -50px; /*bottom margin = footer height */
}
h1, h2, p, li, dd, dt {
	line-height: 1.2em;
}
p {
	margin: 0 0 20px;
	font-size: 1.2em;
	line-height: 1.3em;
}
strong {
	font-weight: bold;
}
main a:link, footer a:link, main a:visited, footer a:visited {
	color: #333;
}
main a:hover, footer a:hover, footer a:focus main a:focus {
	color: black;
}
/* =====================================*/
/* =============== Header ==============*/
/* =====================================*/



header, nav, ul {
	height: 80px;
	width: 100%;
	margin: 0;
	padding: 0;
}
nav {
	border-bottom: 3px solid #999;
	height: 95px;
}
nav ul {
	width: 100%;
	text-align: center;
}
nav ul li {
	display: inline-block;
	text-align: center;
	height: 40px;
	margin-right: -2px;
	background: #fff;
	margin-bottom: 2px;
}
nav ul li#NavHome {
	width: 20%;
}
nav ul li#NavPictures1 {
	width: 37%;
}
nav ul li#NavPictures2 {
	width: 37%;
}
nav ul li#NavPictures3 {
	width: 37%;
}
nav ul li#NavVita {
	width: 20%;
}
nav ul li#NavContact {
	width: 37%;
}
body#BodyHome li#NavHome {
}
body#BodyPictures1 li#NavPictures1 {
	background: #DDD;
}
body#BodyPictures2 li#NavPictures2 {
	background: #DDD;
}
body#BodyPictures3 li#NavPictures3 {
	background: #DDD;
}
body#BodyVita li#NavVita {
	background: #DDD;
}
body#BodyContact li#NavContact {
	background: #DDD;
}
header a:link, header a:visited {
	color: #333;
	text-decoration: none;
	cursor: pointer;
	display: block;
	width: 100%;
	height: 100%;
	padding: 12px 0 0;
}
header a:hover, header a:focus {
	background: #DDD;
	color: black;
	transition: 0.2s;
}
header a:active, header li:active {
	font-size: 0.95em;
	height: 38px;
}
/* =====================================*/
/* =============== CONTENT =============*/
/* =====================================*/

main {
	margin: 20px 2% 20px 3%;
	padding: 20px 0;
	width: 95%;
	color: black;
}
body#BodyVita main img {
	box-shadow: 0 0 3px black;
	height: auto;
	width: 48%;
	margin: 20px 2% 20px 0;
}
body#BodyHome main h1 {
	font-size: 2em;
	white-space: nowrap;
}
main p {
	color: #333;
}
main h1 {
	margin: 0 0 10px;
	font-size: 2.5em;
	color: #333;
}
main h2 {
	margin: 20px 0;
	font-size: 1.6em;
	color: #000;
}
main table tr {
	font-size: 1.2em;
	line-height: 1.3em;
	color: #444;
}
main table tr td:first-of-type {
	width: 130px;
	color: #333;
	font-weight: bold;
}
main table tr td+td {
	padding: 0 0 5px;
}
main table tr td+td strong {
	font-weight: bold;
	color: #333;
}
body#BodyHome main div#MainH1 {
	position: absolute;
	top: 50%;
	left: 50%;
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
body#BodyHome main h1 {
	font-size: 2em;
	white-space: nowrap;
	margin: 0;
}
/*---------------------------------------- Gallery ------------------------------------------*/

#test_box {
	position: fixed;
	top: 0;
	right: 0;
}
#gallery_wrapper {
	margin: auto;
	text-align: center;
	width: 100%;
}
.thumbnail {
	margin: 20px 10px 10px 0;
	display: inline-block;
	width: 40%;
	vertical-align: top;
	cursor: pointer;
	box-shadow: 0 0 3px #666;
}
#gallery_item_wrapper {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
	text-align: center;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#gallery_item_wrapper:before {
	content: "";
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.9;
}
@keyframes fade_in {
 from {
 opacity: 0;
}
to {
	opacity: 1;
}
}
@keyframes fade_out {
 from {
 opacity: 1;
}
to {
	opacity: 0;
}
}
#gallery_item_wrapper.hidden {
	animation-name: fade_out;
	animation-duration: 0.5s;
	display: none;
}
#gallery_item_wrapper.visible {
	display: block;
	animation-name: fade_in;
	animation-duration: 0.5s;
}
#gallery_item {
	position: relative;
	display: inline-block;
	background-color: black;
	color: #6b6a6a;
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
#item_container {
	padding: 40px 40px 20px 40px;
	height: auto;
	max-height: 60%;
	font-size: 0.85em;
}
#item_container p {
	color: #DDD;
}
#item_img {
	text-align: center;
	width: 100%;
}
#item_title {
	margin: 20px 0 10px 0;
	font-weight: bold;
}
.navigation_btn {
	position: absolute;
	display: block;
	top: 44%;
	cursor: pointer;
	color: goldenrod;
	font-weight: bold;
	width: 100px;
	height: auto;
	padding: 40px;
}
.navigation_btn:hover {
	opacity: 1;
	transition-duration: 0.2s;
}
.navigation_btn img {
	width: 100%;
}
#prev_btn {
	left: 1%;
}
#next_btn {
	right: 1%;
}
/* =====================================*/
/* =============== FOOTER ==============*/
/* =====================================*/

footer, .push {
	height: 53px;
}
footer span {
	width: 100%;
	display: block;
}
footer {
	width: 97%;
	margin: 0 auto 15px;
	padding: 6px 0 0;
	color: #333;
	border-top: solid 3px #6B6A6A;
	border-bottom: solid 3px #6B6A6A;
	text-align: center;
	font-size: 0.85em;
}
footer p {
	margin: 0;
	padding: 0;
	line-height: 1.1em;
}
footer span#hyphen {
	display: none;
}
 @media all and (min-width: 430px) {
.thumbnail {
	width: 185px;
}
}
 @media all and (min-width: 600px) {
header {
	width: 98%;
	margin: 0 auto;
	height: 40px;
}
nav {
	height: 55px;
}
nav ul li#NavHome {
	width: 10%;
}
nav ul li#NavPictures1 {
	width: 20%;
}
nav ul li#NavPictures2 {
	width: 20%;
}
nav ul li#NavPictures3 {
	width: 20%;
}
nav ul li#NavVita {
	width: 10%;
}
nav ul li#NavContact {
	width: 16%;
	margin-right: -2px;
}
main {
	margin: 20px auto;
	width: 94%;
}
body#BodyHome main h1 {
	width: inherit;
	font-size: 4em;
}
#wrapper {
	margin: 0 auto -33px; /*bottom margin = footer height */
}
footer, .push {
	height: 38px;
}
footer span {
	white-space: pre;
	width: auto;
	display: inline-block;
}
footer span#hyphen {
	display: inline-block;
}
}




/*------------------Jonas Media Queries (to rule them all)------------------*/

@media all and (min-width:880px) {
main {
	width: 800px;
}
body#BodyHome main h1 {
	font-size: 5em;
}
}
@media all and (min-width:1000px) {
.navigation_btn {
	width: 110px;
}
}
 @media all and (min-width: 1400px) {
main {
	width: 1200px;
}
}
