a.speciallink{
  padding:0.4em 0.5em;
  background-color:rgb(50%,0%,0%);/*#aaa;*/
  color:white;
  text-decoration:none;
  }

a.speciallink:hover{
  background-color:#ccc;
  color:#000;
  text-decoration:underline;
  }

@media print {

	#nav,
	#header .hcenter {
		display: none;
	}

	#background {
		background: white
	}
}
body {
	padding: 0;
	margin: 0;
	font: normal 1em sans-serif;
	background: white;
}

/* ----------   ----------- */
#backgnd {
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;

	background-color: white;
	
	background: -o-linear-gradient(      right, rgba(  0%,   0%,   0%, .2), white 30%, white 70%, rgba(  0%,   0%,   0%, .2));
	background: -moz-linear-gradient(    right, rgba(  0%,   0%,   0%, .2), white 30%, white 70%, rgba(  0%,   0%,   0%, .2));
	background: -webkit-linear-gradient( right, rgba(  0%,   0%,   0%, .2), white 30%, white 70%, rgba(  0%,   0%,   0%, .2));
	background: linear-gradient(         right, rgba(  0%,   0%,   0%, .2), white 30%, white 70%, rgba(  0%,   0%,   0%, .2));

	margin: 0;
	padding: 20px;
}

#page {
	max-width: 800px;
	min-width: 360px;
	height: 100%;
	margin: 0 auto;
	position: relative;
}

#header {
	left: 0;
	top: 0.1em;
	right: 0;
	height: 4em;
	overflow: hidden;
	border-radius: 0.6em 0.6em 0 0;
	background: rgba(50%, 50%, 50%, .05);
}

#nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 1.1em;
	height: 0em;
	background: #ff0;
	z-index: 1000;
}

#content {
	left: 0;
	right: 0;
	top: 0em;
	bottom: 0em;
	/*border-top: 1px solid #000;*/
	margin: 0em 0 0em 0;
	/*box-shadow: 0 0em 1em rgba(50%,50%,50%,0.5) inset;*/
	overflow: auto;
	background: white;
}

/*________________________________ */
/* --------- MENU --------------*/
.menu {
	float: left;
	height: 1.1em;
	font: normal 1.5em/115% sans-serif;
	color:#000;
	margin: -0.2em 0 0 0.5em;
	text-align: center;
	
	border-radius: 0.2em 0.2em 0.2em 0.2em;
	-moz-transition: 2s;
	transition: 2s;
}

.menu_burger {
	writing-mode: vertical-lr;
	margin: 0.1em;
}

.menu_tdn {
	overflow: hidden;
	font-size: 1em;
	font-weight: normal;
	background: rgb(70%,70%,70%);
	border-radius: 0.2em 0.2em 0.2em 0.2em;
}

.menu_tdn ul {
	list-style: none;
	padding: 0px;
	transition: 2s .5s;
	-o-transition: 2s .5s;
	-ms-transition: 2s .5s;
	-moz-transition: 2s .5s;
	-khtml-transition: 2s .5s;
	-webkit-transition: 2s .5s;
}

/* n*(items_li_height+border) */
.items {
	margin: -900px 0 0 0;
}

.menu_tdn li.bot {
	height: 0px;
}

.menu_tdn li {
	display: block;
	height: 29px;
	background: rgb(80%,80%,80%);
	color: rgb(50%,50%,50%);
	font-size: 0.8em;
	margin-top: 1px;
	text-align: left;
	padding-left: 0.5em;
}

.menu_tdn li.level2 {
	padding-left: 1.5em;
}

.menu_tdn a {
	display: block;
	height: 29px;
	line-height: 29px;
}

.menu:hover {
	cursor: default;
}

.menu:hover .menu_tdn ul {
	margin-top: 0px;
	transition: .5s;
	-o-transition: .5s;
	-ms-transition: .5s;
	-moz-transition: .5s;
	-khtml-transition: .5s;
	-webkit-transition: .5s;
}

.menu_tdn a {
	text-decoration: none;
	text-align: left;
	padding-left: 0em;
	font-size: 1em;
	color: black;
	background: rgb(80%,80%,80%);
	transition: .3s;
	-o-transition: .3s;
	-ms-transition: .3s;
	-moz-transition: .3s;
	-khtml-transition: .3s;
	-webkit-transition: .3s;
}

.menu_tdn a:hover {
	color: white;
	background: #777;
}

.w9 {
	width: 9em;
}

.w7 {
	width: 7em;
}

@media screen and (max-width: 720px) {
	.menu {
		float: left;
		height: 1.8em;
		font: normal 1.8em/115% sans-serif;
	}

	.menu_tdn li {
		height: 34px;
	}
	
	.menu_tdn a {
		height: 34px;
		line-height: 34px;
	}
}

@media screen and (max-width: 480px) {
	.menu {
		float: left;
		height: 2em;
		font: normal 2em/115% sans-serif;
	}

	.menu_tdn li {
		height: 39px;
	}
	
	.menu_tdn a {
		height: 39px;
		line-height: 39px;
	}
}

/* ______________________________ */
/* --------- FORMATE --------------*/
/*----*/
#header p {
	margin: 5px;
	font-size: .8em;
}

#header .hleft {
	float: left;
	width: 200px;
	height: 100%;
	margin: 0px;
}

#header .hright {
	float: right;
	width: 200px;
	height: 100%;
	margin: 0px;
	padding-top: 0.3em;
	padding-right: 0%;
	text-align: right;
}

#header .hright p {
	font-size: 1.7em;
	font-weight: bold;
	padding-right: 0.4em;
	
	text-align: right;
}

#header .hcenter {
	width: 300px;
	height: 100%;
	margin: 0px auto;
	box-shadow: 0 0 10px #000;
}

#header .hcenter p {
	text-align: justify;
	font-weight: bold;
}

#header .hcenter img {
	width: 100%;
	margin-top: -20px;
}

#header .hcenter img:hover {
	margin-top: -70px;
}

/*----*/
#content .content {
	margin: 10px;
}

#content h1{
	padding-bottom: 0.5em;
}

#content h2{
	padding-bottom: 0.4em;
}

#content h3{
	padding-bottom: 0.3em;
}

#content p{
	padding-bottom: 0.5em;
}

.float {
	display: flow-root;
}

.float_left, .float_right {
	display: block;
	border: #000 solid 1px;
	width: 30%;
	max-width: 7em;
	margin-top: 0.2em;
	margin-bottom: 0.5em;
}

.float_left, .float_right {
	float: left;
	margin-right: 0.5em;
}

.float_right {
	float: right;
	margin-left: 0.5em;
}

.masonryholder{
	column-count: 1;
	column-gap: 10px;
	margin: 0 auto;
}

.mimg{
	padding-right: 0.8em;
	margin: 0 0 10px;
	width: 70%;
	float:left;
}

.mimg:hover{
	width: 100%;
	max-height: 90%;
}

.mtext{
	padding-left: 10px;
	text-align: left;
	display: block;
}

.mtext:after {
	content: "";
	display: block;
	clear: both;
}

.mspace{
	width: 100%;
	float: none;
	padding-top: 10px;
}

.masonryblock figure{
	width: 100%;
	margin: 0;
}

.mimg img{
	width: 100%;
	border: rgb(70%,70%,70%) solid 1px;
}

#content .content p {
	margin: 0px;
}

#content .content hr {
	height: 0px;
	padding-bottom: 0px;
	margin: 10px 0;
}

#content .content.pic_center img {
	display: block;
	width: 300px;
	margin: 5px auto;
}

#content .content.pic_center span {
	display: table;
	margin: 0px auto;
	font-size: .7em;
	color: #444;
}

/*----*/

#footer p {
	display: table;
	
	margin: 1.5em 2em 0 auto;
	padding: 0;
	font-size: .7em;
}

#footer a {
	color: #000;
	text-decoration: none;
}

#footer a:hover {
	color: #fff;
	text-decoration: underline;
}

/* thumbnail gallery*/
*, *::before, *::after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}
  
.container {
	display: flex;
	justify-content: center;
	color: white;
	background-color: white;
}
  
.thumbnails {
	display: flex;
	flex-direction: column;
	line-height: 100%em;
	
	a { display: block; }
	
	img {
	  	width: 10vmin;
	  	height: 10vmin;
	  	object-fit: cover;
	  	object-position: top;
		border: #000 solid 1px;
	}
	li{

	}
	li:hover img{
		border: #f00 solid 1px;
	}
	li:active img{
		border: #ff0 solid 1px;
	}
}
  
.slides {
	overflow: hidden;
	width: 75vmin;
	height: 100vmin;
	text-align: center;
	background-color: white;
	li {
	  	width: 75vmin;
	  	height: 100vmin;
	  	position: absolute;
	  	z-index: 1;
	}
	
	img {
		max-width: 75vmin;
		max-height: 100vmin;
	  	object-fit: cover;
	  	object-position: top;
	}
}
	
.slides li:target {
	z-index: 3;
	-webkit-animation: show 1s 1;
	animation: show 1s 1;
}
  
.slides li:not(:target) {
	-webkit-animation: hidden 1s 1;
	animation: hidden 1s 1;
}
  
@keyframes slide {
	0% 		{ transform: translateY(-100%); }
	100% 	{ transform: translateY(0%); }
}
  
@keyframes hidden {
	0% 		{ z-index: 2; }
	100% 	{ z-index: 2; }
}
