#main *:not([class*="galleria"]){
	position:relative;
	float:left;
	font-family:Gill Sans, Gill Sans MT, Myriad Pro, DejaVu Sans Condensed, Helvetica, Arial," sans-serif";
}
body, html{
	padding:0;
	margin:0;
}
#main, body, html{
	position:absolute;
	left:0;
	top:0;
	min-width:800px;
	height:100%;
	width:100%;
}

.galleria a {
	display: contents;
	color: white;
}

/* GALLERIA */
div.galleria-images {
	height: 100% !important;
}
div.galleria-images > div.galleria-image {
	height: -webkit-calc(100% - 48px) !important;
	height: -o-calc(100% - 48px) !important;
	height: -ms-calc(100% - 48px) !important;
	height: -ms-calc(100% - 48px) !important;
	height: calc(100% - 48px) !important;
}
div.galleria-images > div.galleria-image > div.galleria-layer {
	height: auto !important;
}
.galleria-current, .galleria-total
{
	float:none !important;
}

.galleria, .galleria .galleria-container
{
	border-radius:20px;
	background:#1a1616;
}

/* BIG PICTURE */
#bigpicture
{
	z-index:50;
}
#bigpicture #background
{
	background:black;
	opacity:0.8;
}
#bigpicture #wrapper
{
	height:80%;
	width:80%;
}
#sale li.highlighted {
	font-weight: bold;
	font-size:1.3vw;
}
#bp_galleria .galleria-container .galleria-stage .galleria-images .galleria-image img
{
	z-index:10;
}
#bigpicture #wrapper #close
{
	z-index:100;
	position:absolute;
	top:5px;
	right:5px;
	color:white;
}
#bigpicture #wrapper #close:hover
{
	color:lightgray;
}

/* TOP - BANNER */
#top
{
	height:15%;	
	min-width:800px;
}
#top #banner
{
	background:#1a1616;
}
#top #banner #left #logo
{
	background-image:url("../img/logo_white.png");
	background-position:20px center;
	background-repeat:no-repeat;
}

/* MID - CONTENT */
#mid
{
	top:15%;
	height:85%;
	background:white;
	overflow:auto;
}

#Startseite .galleria .comment
{
	position:absolute;
	bottom:0;
	color:white;
	font-size:1.25vw;
	padding:0.85vw 0.95vw 0.75vw 0.85vw;
	background:black;
	opacity:0.75;
	border-top-right-radius:10px;
}

#Firmenvorstellung
{
	min-height:85%;
	background:#dc5151;
}
#Firmenvorstellung #text-container
{
	color:white;
}
#Firmenvorstellung #text-container #text
{
	font-size:160%;
	padding-top:2.5%;
	padding-bottom:2.5%;
	padding-left:10%;
}

#Gebiete #subjects
{
	/*height:64%;*/
	width:90%;
	margin-top:2%;
	margin-left:5%;
	margin-bottom:2%;
}
#Gebiete .subject
{
	/*height:100%;*/
	width:23.5%;
	background:#1a1616;
	cursor:pointer;
}
#Gebiete .subject:not(:first-child)
{
	margin-left:2%;
}
#Gebiete .sub-active
{
	background:#dc5151 !important;
	-webkit-box-shadow:0px 0px 3px 2px #dc5151;
	-moz-box-shadow: 0px 0px 3px 2px #dc5151;
	box-shadow: 0px 0px 3px 2px #dc5151;
	cursor:default;
}
#Gebiete .gallery
{
	position:relative;
	height:30% !important;
	width:90%;
	margin-top:2%;
	margin-bottom:2%;
	left:5%;
	border-radius:10px;
	background:#1a1616;
	overflow:hidden;
}
#Gebiete .gallery .cover
{
	height:100%;
}
#main li:not(:last-child)
{
	margin-bottom:3%;
}
#main li{
	width: 100%;
}
#sale li
{
	cursor:alias;
}
#sale li:hover
{
	color:#ffff9d;
}
.cover-active
{
	color:#ffff9d;
}

#contact_form
{
	height:95%;
	width:95%;
	margin-top:2.5%;
	margin-left: 5%;
}
#contact_form form
{
	height:100%;
	width:100%;
}
#contact_form form input,
#contact_form form textarea
{
	width:100%;
	max-width:100%;
	height:8%;
	border:none;
	outline:none;
	background:#1a1616;
	color:white;
	font-size:1vw;
	text-indent:1vw;
	margin-bottom:1%;
}
#contact_form form textarea
{
	height:25% !important;
	max-height:25%;
	padding-top:1vw;
	padding-left:1vw;
	text-indent:0 !important;
	
	width:100%;
	
	max-width:100%;
	min-width: 100%;
}
#contact_form form input[type=submit]
{
	text-indent:0 !important;	
}
#contact_form form input[type=submit]:hover
{
	cursor:pointer;
	background:#332B2B;
}

#map
{
	width:90%;
	height:65%;
	margin:2.5% 5%;
}
.galleria-image-nav > div{
	opacity: 1 !important;
}
#banner #categories {
	display: flex;
    justify-items: self-start;
    justify-content: space-around;
}
#banner #categories .flex {
	
}