body
{
	
/*	background-image: url("../images/Background.jpg"); */
}

div.center
{
	text-align: center;
	padding:50px;
	background-color: #eef;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

div.content
{
	width:100%;
	float:bottom; 
	margin-top: 50px; 
	padding-top: 15px;
	overflow-y: hidden;
}

.centerContent
{
	justify-content: center;
	align-items: center;
}

div.banner
{
	
	height:200px;
	overflow: hidden;
	background-image: url("/images/banner.jpg");
	
}

img.banner
{
	height: 50px;
	vertical-align:middle;	
}

table.homeView
{
	border-collapse:separate;
	border-spacing:15px;	
}

 td.homeView
 {
	padding:15px;
	background-color:#eef;
	text-align:center;
}

a.noStyle
{
	color: inherit; 
	text-decoration: inherit; 
}

div.centered-element {
	width:100%;
	margin: 0;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

img.maerchen
{
	max-width:100%;
	float:left;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

div.maerchenContainer
{
	display:flex;
	flex-direction: row;
	margin:30px;
	box-shadow: 5px 5px 15px 7px black;
}

div.maerchenBund
{
	flex:1%;
	border:solid 1px;
	background-color: #fff;
}

div.maerchenItem
{
	flex:100%;
	font-family:Monotype Corsiva, Helvetica, sans-serif;
	font-size: 1.75vw;
	text-align: center;
	border:solid 1px;
	padding: 5px;
	background-color: #fff;
}

img.galerie
{
	border:none;
	display: flex;
/*	width:140px;
	height:180px;	*/
	object-fit: contain;
	max-height:200px;
	max-width:200px;
}

div.galerieContainer
{
	 display: grid;
	 grid-template-columns: repeat(auto-fit, minmax(140px, 256px));
	 grid-template-rows: repeat(auto-fit, 240px);	
	 grid-column-gap: 15px;
	 grid-row-gap: 15px;
	 width: 1fr;
	 margin-left: 15px;
}

div.galerieItem
{
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 256px, 20px);
	padding: 5px;
	background-color:#ebebeb;
	border:1px solid #CCC;
	float:center;	
	height:240px;
/*	margin:0 10px 10px 0;	*/
}

div.galerieItem:hover{
	background-color:#88ccff;
	border:1px solid #333;
}

div.galerieInfo
{
	font-family: sans-serif;
	display: flex;
	text-align: center;
/*	vertical-align:bottom	*/
	align-self: flex-end;
	font-size:10px;
	word-wrap: break-word;
	padding: 5px;
/*	max-width: 140px;	*/
/*	border:1px solid #000;	*/
/*	background-color:#fcc;	*/
}

div.menu-wrap
{
	background-color: #9e926e;
}

ul.sub-menu
{
	display:box;
	margin-left: 0; 
	padding-left: 0;
	background-color:#fff;
}

a.nav {
  text-decoration: none;
  color: black;
  padding: 5px;
  display:inline-block;
}

div.mainMenu
{
	float:top;
	position:fixed;
	top:0px;
	left; 0px;
	background-color: #4444;
	height: 50px;
	width:100%;
}


table.smallBorder, th.smallBorder, td.smallBorder {
  border: 1px solid;
  border-collapse: collapse;
  background-color: white;
}



div.fotoDetailsContainer
{
	position: fixed;
	left: 0px;
	top: 0px;
	
	display:grid;
	grid-template-columns: 5vw auto 5vw;
	grid-template-rows: 50px auto;
	
	height: 100vh;
	width: 100vw;
	width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;

	visibility:hidden;
	background-color: #222;
}

div.fotoDetailsPagerLeft
{
	display: flex;
	background-color: gray;
	grid-column: 1;
	grid-row: 1 / span 2;
	height: auto;
	font-size: 4vw;
	cursor: pointer;
}

div.fotoDetailsPagerRight
{
	display: flex;
	background-color: gray;
	grid-column: 3;
	grid-row: 1 / span 2;
	font-size: 4vw;
	cursor: pointer;
}

div.navBar
{
	/*
	height: 3vh;
	width: 80vw;
	*/
	display: flex;
	grid-column: 2;
	grid-row: 1;
	height:100%;
}

div.fotoDetailsPicture
{
	display: flex;
	grid-column: 2;
	grid-row: 2;
	height: calc(100vh - 50px);
/*
	height:90vh;
	padding:10px;
	height: 10vh;
	width: 10vw;
	*/
}

img.fotoDetails
{
	/*
	display: flex;
	grid-column: 2;
	grid-row: 2;
	*/
	
	object-fit: contain;
	width:100%;
	height:100%;
	margin: 0 auto;
    
/*	float:left;*/

	align: center;
}

img.buttonItem
{

	padding: auto;
	aspect-ratio: 1 / 1;
	cursor: pointer;
	margin: 3px;
	float:right
}

div.admNameCheckerContainer
{
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: repeat(auto-fit);	
	position: fixed;
	left: 0px;
	top: 0px;
	background-color: #ffd;
	visibility: hidden;
}

div.admNameCheckerItem
{
	display: flex;
	margin:5px
}

div.highlights
{
	background-color: #f00;
}