/* Main Styles */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial;
	font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height:1.4em;
	background-color:#eee;
	color:#333;
	background-image: url(/layout/meer.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

nav {
	width: 100%;
	height:8em;
	/* background-color: #000; */
	display: flex;
	flex-wrap: wrap;
	padding: 15px 10px 0 10px;
	background: rgba(0, 0, 0, 0.85);
	position: fixed;
	z-index: 999;
	transition: .5s all ease-in-out;
}
nav.shrinked > div {
	height:5em;
	padding: 0px;
	}
nav.shrinked {	
	height:5.5em;
	padding-top: 14px;
	}
nav.shrinked > div p img {
    max-width: 100px;
}
nav.shrinked .nav .overlay {
    top: 74px;
	}

header {
    text-align: center;
    padding: 10px;
	height: 9em;
}
nav > div { 
	position:relative;
	color:#FFF;
	display:inline-block;
	flex: 33.33%;
	max-width: 33.33%;
	text-align:center;
	height:7em;
}
nav > div p { 
	position: absolute;
	bottom:0px;
	width:100%;
	cursor:pointer;
	padding:0 2px 0 2px;
}

/*
.nav:hover_ .navoverlay {
  opacity: 1;
  visibility: visible;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
*/

.navoverlay {
	opacity: 0;
    position: absolute;
    top: 113px;
    background: rgba(0, 0, 0, 0.88);
	width: calc(100% + 0px);
	height: auto;
    transition: .3s ease;
	z-index:999;
	visibility: hidden;
	margin-left: -20px;
	padding: 2em;
    text-align: left;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.shrinked .navoverlay {
    top: 74px;
}
.navoverlay.second {
	background:  rgba(0, 0, 0, 0.88) url("/layout/helmerrick.de2.jpg") no-repeat right;
	background-size: 44%;
	background-position-y: 90%;
}
.navoverlay.third {
	background:  rgba(0, 0, 0, 0.88) url("/layout/raz-studios.de3.jpg") no-repeat right;
	background-size: 44%;
	background-position-y: 90%;
	width: calc(100% + 30px);
}
.navclose, .close {
	position:absolute;
	height:32px;
	width:32px;
	top:10px;
	right:15px;
	cursor:pointer;
	z-index:33;
	font-size:2em;
}
.close:hover {
	font-size:2.2em;
}

a {
	color: #eee;
	text-decoration:none;
}
h1 {
	margin: 0 15px;
	font-size:1.5em;
	line-height:1.2em;
	/* color: white; */
	text-shadow: 6px 6px 10px #000;
}
.row {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
	width:100%;
}
.row .column p {
	font-size: 1em;
}
/* Create four equal columns that sits next to each other */
.column {
    flex: 50%;
    max-width: 50%;
    padding: 10px;
}

.column img, .container img {
    /* margin-top: 8px;
	border: 1px solid #666; */
    vertical-align: middle;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*.container {
	position: relative;
    flex: 25%;
    max-width: 25%;
    padding: 10px;
	display: flex;
}*/	
.container img {
  cursor:pointer;
}

.container {
    position: relative;
	opacity: 100%;
    flex: 25%;
    max-width: 25%;
    padding: 10px;
    display: flex;
    padding-bottom: calc(25% - 10px);
}

.container img {
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px) !important;
    height: calc(100% - 20px);
}

.image {
  display: block;
  width: 100%;
  height: auto;
}	
.info {
  position: absolute;
  opacity: 1;
  width: 34px;
  height: 34px;
  text-align:center;
  top: 28px;
  right:28px;
  border:1px solid #f1f1f1;
  border-radius: 50%;
  color: #f1f1f1;
  line-height:1em;
  font-size: 2em;
  z-index:2;
  cursor:pointer;
  z-index:99;
}
	
/* The overlay effect - lays on top of the container and over the image */
.overlay {
  position: absolute;
  top: 10px;
  background: rgba(0, 0, 0, 0.8); /* Black see-through */
  color: #f1f1f1;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  transition: .5s ease;
  visibility: hidden;
  opacity:0;
  color: white;
  padding: 10px 20px;
  text-align: left;
}
.container.stretch .overlay {
  height: calc(100% + 10px);
}
.overlay > span {
	float:right;
	font-size:3em;
}
.overlay a img {
	max-width:50%;
}
.overlay p {
	margin-bottom:0;
}
/* 
When you hover over the container, fade in the overlay title 
.container:hover_ .overlay {
  opacity: 1;
}
.container:hover, .container:active { 
	-webkit-user-select: none; 
	-webkit-touch-callout: none
}	
*/	
		
footer {
	position:relative;
	/* background-color:#000; */
	width:100%;
	color:#FFF;
	margin-top:2em;
	padding:0 2em;
	background: rgba(0, 0, 0, 0.8);
}

#footer .row {
	height:6em;
	overflow: hidden;
}	
#footer .container {
	opacity:100%;
}
.lcnr, .lc {
	border:1px solid white;
	border-radius: 16px;
	padding:3px;
}	
.lc {
	margin-left:-4px;
}
.stretch {
	padding-bottom: 0px;
	width:100%;
    flex: 100%;
    max-width: 100%;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
	float:right;
	font-size:3em;
	width: 25%;
	text-align: right;
	top: 30px;
	z-index:20;
	cursor:pointer;
}
/* Tooltip text */
.tooltiptext {
    visibility: hidden;
	opacity:0;
    width: 350%;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
	top: -30px;
	right: 60%;
	font-size:1.0rem;
	text-align: left;
	transition: 0.3s ease;
	min-height: 720%;
}

/* Show the tooltip text when you mouse over the tooltip container
.tooltip:hover .tooltiptext {
    visibility: visible;
	opacity:1;
}
 */
.tooltip:hover {
	font-size:3.2em;
}
.visible {
  opacity: 1;
  z-index:10;
  visibility:visible;
}
.hidden {
  opacity: 0.5;
  z-index:1;
  line-height:0.75em;
}
.overlay.visible, .navoverlay.visible {
  cursor: pointer;
}


button {
	font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	position:absolute;
	color:white;
    border: 1px solid white;
	border-radius: 6px;
    /* background-color: black; */
	background: rgba(0, 0, 0, 0.7);
    padding: 2px 12px 3px;
    font-size: 1em;
    cursor: pointer;
}
button:hover {
    background-color: white;
    color: black;
}
button:hover a {
    color: black;
}

.button {
	position:absolute;
	color:white;
    border: 1px solid white;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.7);
    padding: 1px 12px 2px;
    font-size: 1em;
    cursor: pointer;
}
.button:hover {
    background-color: white;
    color: black;
}
.button:hover a {
    color: black;
}


.ordernow {
	position:absolute;
	bottom:6px;
	width: calc(100% - 40px);
}
.ordernow img {
	display:inline-block;
	width: 33.33%;
	float: right;
	padding:1px;
	position: initial;
}
header .left {
	float:left;
}
header .right {
	float:right;
}
.shftdwn {
	padding-top:2em;
}
.plus {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	font-size: 3em;
	color: white;
	border: 2px solid white;
	border-radius: 50%;
	padding: 7px 4px;
	opacity:0.3;
	margin-left:-20px;
	margin-top:-20px;
}
#impr { position:absolute; display: none; bottom:5em; left:0px; padding:3em; z-index:9999; margin-right: 0px; line-height:1.2em; background: rgba(0, 0, 0, 0.92); border-bottom: 0px solid white; border-radius: 0px; height:auto;}	
	nav > div p img {
		max-width: 200px;
		transition: .2s all ease-in-out;
	}

/*#button { position:absolute; top:2em; left:2%; z-index:3; background-color:transparent; color: #fff; cursor: pointer;}	*/


/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 1024px) {
    .column, .container {
        flex: 33.33%;
        max-width: 33.33%;
		padding-bottom: calc(33.33% - 10px);
    }
	 #footer .container {
        flex: 50%;
        max-width: 50%;
		padding-bottom: 10px;
    }
	#footer .row {
    	height: 10em;
	}	
	.stretch {
		padding-bottom: 0px;
		width:100%;
		flex: 100%;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.column, .container {
        flex: 50%;
        max-width: 50%;
		padding-bottom: calc(50% - 10px);
    }

	nav > div p img {
		max-width: 160px;		
	}
	.nav .navoverlay {
		width: calc(300% + 30px);
		height: auto;
	}
	.nav .navoverlay.second {
		left: -100%;
	}
	.nav .navoverlay.third {
		left: -200%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 500px) {
    .column, .container {
        flex: 100%;
        max-width: 100%;
		padding-bottom: calc(100% - 10px);
    }
	.nav .navoverlay {
	width: calc(300% + 20px);

	}
	#footer {
		padding: 0;
	}
	#footer .row {
		height: 14em;
	}
	header .left {
		float:none;
	}
	header .right {
		float:none;
	}
	.shftdwn {
		padding-top:1em;
	}
	nav {
		padding:0;
	}
	nav > div p {
	font-size: 0.8em;
	line-height: 1.4em;
	}
	nav > div p img {
		max-width: 110px;		
	}
	#impr {
	    bottom: 7em;
	}
}
.orderform  {
	/* display: contents; */
}

.submitbutton { 
	/* background:transparent url(../layout/pesch-records.png);
	background-size:205px;
	width: 205px; */
	height:auto;
	max-width: 50%;
	padding: 1px;
	color: transparent !important;
}
.submitbutton:hover { 
	background: rgba(0, 0, 0, 0.4);
	border-radius:6px;
	color:white !important;
}
