/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-300italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: local(''),
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: local(''),
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v34-latin/open-sans-v34-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

* {
	margin:0px;
	padding:0px;
	box-sizing:border-box;
	outline:none;
	color:inherit;
	cursor:inherit;
	font-size:inherit;
	line-height:inherit;
	font-weight:inherit;
	font-style:inherit;
	font-family:inherit;
}
html {
	overflow-y: scroll;
}
html,
body {
	height:100%;
}
body {
	font-family:'Open Sans';
	font-size:0.4cm;
	line-height:0.7cm;
	font-weight:300;
	cursor:default;
}
em {
	font-style:italic;
}
strong {
	font-weight:bold;
}
a {
	cursor:pointer;
	text-decoration:none;
}
#switch,
#admin {
	position:fixed;
	width:20px;
	height:20px;
	border-radius:100%;
	background-color:rgb(0,32,64);
	color:rgb(255,255,255);
	font-weight:600;
	transition:all 0.33s ease-out 0s;
	cursor:pointer;
	transform:scale(2,2);
	opacity:0;
	z-index:1000;
}
#switch {
	bottom:10px;
	left:10px;
}
#admin {
	bottom:10px;
	right:10px;
}
#switch:hover,
#admin:hover {
	background-color:rgb(0,192,255);
	transform:scale(1,1);
	opacity:1;
}
#adminPanel {
	position:absolute;
	display:none;
	width:90%;
	height:90%;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	border:1px solid rgb(0,0,0);
	box-shadow:0px 15px 15px -9px rgba(0,0,0,0.23);
	background-color:rgb(255,255,255);
	z-index:1000;
}
#nfo {
	position:fixed;
	top:10px;
	right:10px;
	background-color:rgb(219,219,219);
	padding:10px;
	z-index:1000;
	border:1px solid rgb(0,0,0);
	font-size:12px;
	line-height:15px;
	max-height:100px;
	overflow-y:scroll;
	transition:max-height 0.23s ease-out 0s;
}
#nfo:hover {
	max-height:300px;
}
#nfo:empty {
	display:none;
}
#wrapper {
}
#navi {
	padding:1cm;
	width:9cm;
	position:fixed;
	top:0;
	left:0;
	height:100%;
	text-align:center;
	transition:background-color 0.1s ease-in 0s, color 0.05s ease-in 0s;
}
#content {
	padding:1cm;
	margin-left:9cm;
	min-height:100%;
	transition:background-color 0.1s ease-in 0s, color 0.05s ease-in 0s;
}
#navi .sign {
	background-image:url(SignaturW.png);
	background-repeat:no-repeat;
	background-size:contain;
	width:3.69cm;
	height:6cm;
	margin-left:1cm;
}
body.dark #navi .sign {
	background-image:url(SignaturS.png);
}
#navi, 
body.dark #content {
	background-color:black;
	color:white;
}	
body.dark #navi, 
#content {
	background-color:white;
	color:black;
}

#navi #mainmenu ul,
#navi #submenu ul {
	list-style:none;
	margin-left:1.5cm;
	text-align:left;
}
#navi ul .active {
	font-weight:bold;
}
#submenu {
	margin-bottom:0.25cm;
}
#overlay {
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	right:0;
	background-color:rgba(0,0,0,0.3);
	display:none;
}

#navi h1 {
	letter-spacing:0.1cm;
	text-transform:uppercase;
}
#navi ul {
	text-transform:uppercase;
}
#content {
	display:flex;
	flex-direction:column;
}
#content.centered {
	justify-content:center;
}
#content .portrait {
	width:4cm;
	transform:rotate(-5deg);
	box-shadow:0.15cm 0.3cm 0.4cm rgba(0,0,0,0.23);
	transition:border-color 0.1s ease-in 0s;
	padding:0.05cm;
	background-color:white;
}
body.dark #content .portrait {
}
#content h1 {
	margin-bottom:0.5cm;
	font-size:125%;
}
#content p + h1 {
	margin-top:0.5cm;
}
#content h2 {
	font-weight:bold;
}
#content p {
	margin-bottom:0.25cm;
}
#thumbs {
	margin-top:1.5cm;
}
#content .thumb {
	float:left;
	width:100px;
	height:100px;
	overflow:hidden;
	margin-right:0.2cm;
	margin-bottom:0.2cm;
	position:relative;
}
#content .thumb > a {
	display:block;
	width:100px;
	height:100px;
	background-repeat:no-repeat;
	transition:transform 0.2s ease-out 0s;
}
#content .thumb .count {
	display:none;
	position:absolute;
	right:0;
	bottom:0;
	background-color:white;
	color:black;
	font-weight:bold;
	font-size:11px;
	line-height:11px;
	padding:2px 2px 2px 3px;
	pointer-events : none;
}
#content .thumb .count .fa {
	font-size:12px;
	opacity:1;
}
#content .thumb > a:hover {
	transform:scale(1.1,1.1);
}
#content .thumb > a:hover ~.count {
	display:block;
}
#content.gallery {
	max-height:100%;
	position:relative;
	padding:2cm;
}
#content.gallery .picture {
	background-size:contain;
	background-position:center center;
	background-repeat:no-repeat;
	height:100vh;
	border:0.2cm solid rgba(0,0,0,0);
	outline:1px solid rgba(0,0,0,0);
	transition:outline 0.1s ease-in 0s;
	background-color:rgba(0,0,0,0.2);
}
body.dark #content.gallery .picture {
	outline-color:white;
}
#content.gallery .info {
	position:absolute;
	top:50%;
	left:50%;
	padding:1cm;
	background-color:rgba(255,255,255,0.8);
	text-align:center;
	transform:translateX(-50%) translateY(-50%);
	display:none;
	box-shadow:0.5cm 0.5cm 0.5cm rgba(0,0,0,0.23);
	color:black;
}
#content .showInfo,
#content .close,
#content .getImage {
	position:absolute;
	font-size:1cm;
	line-height:1cm;
	cursor:pointer;
	z-index:99;
}
#content .showInfo,
#content .close,
#content .getImage a {
	transition:opacity 0.2s ease-out 0s;
	opacity:0;
}
#content .showInfo,
#content .close {
	bottom:0.5cm;
	left:50%;
}
#content .getImage {
	top:50%;
	transform:translateY(-50%);
}
#content .getImage.prev {
	left:0.5cm;
}
#content .getImage.next {
	right:0.5cm;
}
#content .close {
	opacity:0.5;
	display:none;
}
#content:hover .fa:hover {
	opacity:1;
}
#content:hover .fa {
	opacity:0.5;
}
#content .info h1 {
	margin:0;
	font-weight:bold;
}
#mainmenu ul li:first-child.active {
	margin-top:0.75cm;
}
#mainmenu ul li:first-child {
	margin-bottom:0.75cm;
}
#mainmenu ul li:first-child.active a{
	display:none;
}
#content p a {
	color:rgb(0,96,192);
}
#content p a:hover {
	text-decoration:underline;
}
#mobileMenu {
	display:none;
}
/*********
mobile query
*********/

@media (max-width: 900px) {
	#navi {
		width:100vw;
		position:static;
		height:auto;
	}
	#content {
		display:block;
		margin-left:0;
	}
	#navi .sign {
		margin:0 auto !important;
	}
	#navi #mainmenu ul, #navi #submenu ul {
		text-align: center;
		margin-left:0;
	}
	#mobileMenu {
		display:block;
	}
	#navi #mainmenu, #navi #submenu {
		display:none;
	}
	#content img {
		max-width:100% !important;
	}
	.hideOnMobile {
		display:none !important;
	}
}