@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
#woning #background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #eee;
	z-index: 0;
}

#woning #logo {
	position: relative;
	float: left;
	width: auto;
	height: 17.5vh;
	margin: 2.5% 0 2.5% 2.5%;
	background: #fff;
	bottom: inherit;
	left: inherit;
	right: inherit;
	top: inherit;
	padding: inherit;
}
#woning #logo img {
	height: 100%;
	width: auto;
}
@media screen and (orientation:portrait) {
   /* Portrait styles here */
	#woning #logo {
		position: relative;
		float: left;
		width: 20%;
		height: auto;
		padding: 2.5vh 40%;
		margin: 0;
		box-shadow: 0px 0px 0.7vw -0.3vw black;
	}
	#woning #logo img {
		height: auto !important;
		width: 100% !important;
	}
}


#woning #footer {
	position: absolute;
	top: inherit;
	bottom: 0;
	left: 0;
	width: 95%;
	height: auto;
	padding: 0.5% 2.5%;
	text-align: right;
}
@media screen and (orientation:portrait) {
   /* Portrait styles here */
 	#woning #footer {
	 	font-size: 200%;
	 	padding: 1.5% 2.5%;
 	}   
}


#woning h1, #woning h2, #woning h3 {
	margin: 0;
	padding: 0;
}
#woning h1 {
	font-size: 250%;
	margin: 0;
}
#woning h2 {
	font-size: 150%;
	margin: 0;
}
#woning h3 {
	font-size: 400%;
}

#woning #adres, #woning #plaatsnaam {
	position: relative;
	float: left;
	width: 35%;
	height: auto;
	margin: 2.5% 2.5% 0;
	text-align: left;
}

#woning #prijs {
	position: relative;
	float: right;
	width: 35%;
	height: auto;
	margin: 2.5% 2.5% 0;
	text-align: right;	
}
@media screen and (orientation:portrait) {
   /* Portrait styles here */
   	#woning h1 {
		font-size: 300%;
		margin: 0;
	}
	#woning h2 {
		font-size: 200%;
		margin: 0;
	}
	#woning h3 {
		font-size: 450%;
	}
}



#woningcard {
	position: absolute;
	top: 25%;
	left: 2.5%;
	width: 95%;
	height: 70%;
	background: #fff;
	box-shadow: 0px 0px 0.7vw -0.3vw black;
}
@media screen and (orientation:portrait) {
   /* Portrait styles here */
   	#woningcard {
   		box-shadow: none;
   		background: none;
   	}
}
#woning #foto {
	position: absolute;
	top: 0;
	left: 0;
	width: 75%;
	height: 100%;	
}
#woning #foto li {
	list-style: none;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background-size: cover !important;
	background-position: center center !important;
	/* animation */
	animation: fadeIn;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}
#woning #foto li:nth-child(1) {
	z-index: 0;
	animation-delay: 0.1s;
} 
#woning #foto li:nth-child(2) {
	z-index: 1;
	animation-delay: 6s;
} 
#woning #foto li:nth-child(3) {
	z-index: 2;
	animation-delay: 12s;
} 
@media screen and (orientation:portrait) {
   /* Portrait styles here */
 	#woning #foto {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 50%;
		animation: none !important;
	}  
	#woning #foto li {
		border: 0.5vw solid #000;
		box-sizing: border-box;
	}
}




/* gegevens vlak */
#woning #info {
	position: absolute;
	top: 0;
	left: 75%;
	width: 25%;
	height: auto;
	padding: 2.5% 0;
}
#woning li.infovlak {
	float: left;
	list-style: none;
	width: 80%;
	padding: 0 10%;
	margin: 0;
	opacity: 0;
	/* animation */
	animation: fadeIn;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}
#woning li.infovlak p {
	font-size: 1.5vw;
}

#woning li.infovlak:nth-child(1) {
	animation-delay: 0.3s;
} 
#woning li.infovlak:nth-child(2) {
	animation-delay: 0.6s;
} 
#woning li.infovlak:nth-child(3) {
	animation-delay: 0.9s;
} 
#woning li.infovlak:nth-child(4) {
	animation-delay: 1.2s;
} 
#woning li.infovlak:nth-child(5) {
	animation-delay: 1.5s;
} 
#woning li.infovlak:nth-child(6) {
	animation-delay: 1.8s;
} 
#woning li.infovlak:nth-child(7) {
	animation-delay: 2.1s;
} 

@media screen and (orientation:portrait) {
   /* Portrait styles here */
	#woning #info {
		position: absolute;
		top: 57.5%;
		left: 0%;
		width: 100%;
		height: auto;
		padding: 2.5% 0;
	}  
	#woning li.infovlak {
		display: inline-block;
		width: 45%;
		padding: 0 2.5%;
		margin: 1% 2.5%;
		border: 1px solid #ddd;
		box-sizing: border-box;
	}
	#woning li.infovlak p {
		font-size: 3vw;
	}
}
