/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(190,190,190,0.9);
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 80px;
	height: 80px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	background: url(../images/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
	cursor: pointer;
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 50%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	height: 20%;
	height: calc(100% / 5);
	min-height: 54px;
}

.overlay ul li a {
	font-size: 54px;
	font-weight: 300;
	display: block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #f0f0f0;
}

.container {
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.container.overlay-open {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
}

.overlay-contentscale {
	visibility: hidden;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
	transition: transform 0.5s, visibility 0s 0.5s;
}

.overlay-contentscale.open {
	visibility: visible;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	overflow-y: scroll;
}

.overlay #container {margin: 120px auto; text-align: center}
.overlay #aligned { overflow: hidden}
.overlay #addressfield {width: 50%; float: left; display: inline-block}
.overlay #addressfield label {margin: 5px 0}
.overlay #selectrange {width: 20%;display: inline-block;margin-top: 13px;float: left;margin-left: 60px;}
.overlay #sidebar {font-size: 1.3em; overflow: hidden}
#GoogleMapCanvas {width:100%;height:500px;}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}

@media only screen and (max-width: 480px) {

    /* Overlay closing cross */
    .overlay .overlay-close {
        width: 20px;
        height: 20px;
    }

    .overlay #container {
        margin: 50px auto;
    }

    .overlay #addressfield {
        width: 80%;
        float: none;
    }

    #hongkiat-form .txtinput, #hongkiat-form textarea {
        width: 70%;
    }

    #buttons {
    display: block;
    margin-top: 27px;
    float: right;
    margin-right: 10px;
}


    .overlay #selectrange {
    width: 20%;
    display: inline-block;
    margin-top: 13px;
    float: left;
    margin-left: 30px;
    padding-right: 50px;
}

    select.selmenu {
        width: 120px;
    }
}

	p.kontakt {
	font-size: 14px;
	}
	
	sup {
	font-size:10px}
	
	#job img {
		width: 10%;
		left: 20px;
		float: left;
		display:block;
		}
		
	#job {
		margin-top: 20px;
		width: 100%;
		height: 80px;
		
		}	
		
	#job p {
		float: right;
		width: 86%;
		
		}	
		
		
		#job a {
		color: red;
		
		}	
        
	.rotate {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  /* Should be unset in IE9+ I think. */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  
  position: fixed;
    left: -170px;
    bottom: 215px;
}
    
    
    @keyframes heartbeat {
  0% {
    transform: scale( .75);
  }
  20% {
    transform: scale( 1);
  }
  40% {
    transform: scale( .75);
  }
  60% {
    transform: scale( 1);
  }
  80% {
    transform: scale( .75);
  }
  100% {
    transform: scale( .75);
  }
}

#heart {
  position: relative;
  width: 100px;
  height: 90px;
  animation: heartbeat 1s infinite;
  float: left;
}

#heart:before,
#heart:after {
  position: absolute;
  content: "";
  left: 50px;
  top: 0;
  width: 50px;
  height: 80px;
  background: #f91505;
  -moz-border-radius: 50px 50px 0 0;
  border-radius: 50px 50px 0 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 0 100%;
  -moz-transform-origin: 0 100%;
  -ms-transform-origin: 0 100%;
  -o-transform-origin: 0 100%;
  transform-origin: 0 100%;
}

#heart:after {
  left: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 100% 100%;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  -o-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}	

span.ferien {
    margin-top: 20px;
    position: absolute;
    max-width: 350px;
}

span.ferien a {
    color: #e30e3d;
    font-weight: 600;
}
