@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes moveLogo {
  0%   { top: 16.7%; left: 31.25%; width: 37.5%; height: 66.6%; }
  100% { top: 80%; left: -1%; width: 12%; height: 26%; }
}
@keyframes moveLogoPortrait {
  0%   { top: 16.7%; left: 31.25%; width: 37.5%; height: 66.6%; }
  100% { top: 92%; left: -1%; width: 12%; height: 12%; }
}

/* RTV Utrecht nieuws sjabloon */
#rtvu {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#rtvu #foto {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 0;
	background: #000;
	/* animation */
	animation: fadeOut;
	animation-duration: 1s;
   	animation-fill-mode: forwards;
   	animation-delay: 3s;
}
#rtvu .foto-animate {
    /* animation */
	animation: moveFoto;
	animation-fill-mode: forwards;
	animation-timing-function: linear;	
}
#rtvu #foto img {
	width: 100%;
	height: 100%;
}
@media screen and (orientation:portrait) {
   /* Portrait styles here */
	#rtvu #foto {
		width: 221%;
		height: auto;
	}
}
#rtvu #pre {
	position: absolute;
	top: 16.7%;
	left: 31.25%;
	width: 37.5%;
	height: 66.6%;
	text-align: center;
	fill: #c00;
	/* animation */
	animation: moveLogo;
	animation-duration: 1s;
   	animation-fill-mode: forwards;
   	animation-delay: 3s;
}

#rtvu #pre svg {
	height: 100%;
}

#rtvu #pre img {
	position: absolute;
    top: 35%;
    left: 20%;
    width: 50%;
}

#rtvu #logo {
	display: none;
}
#rtvu #items {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	
}	
#rtvu .item {
	list-style: none;
	position: relative;
	float: left;
	width: 80%;
	min-height: 16vw;
	margin: 2% 5% 0 15%;
	background: #fff;
	box-shadow: 0 0 2vw -1vw black;
	opacity: 0;
	/* animation */
	animation: fadeIn;
	animation-duration: 1s;
   	animation-fill-mode: forwards;
}
#rtvu .item .foto {
	position: absolute;
	top: 0;
	left: 0;
	width: 30%;
	height: 100%;
	background-size: cover;
	background-position: center center;
}
#rtvu .item .tekst {
	position: absolute;
	top: 0;
	left: 30%;
	width: 70%;
	height: auto;
}
#rtvu .item h1 {
	font-size: 150%;
	line-height: 100%;
	padding: 0;
	margin: 3.5% 7% 1.5%;
	display: block;
}
#rtvu .item p {
	font-size: 125%;
	line-height: 120%;
	margin: 0 7%;
}
#rtvu #footer {
	background: none;
}

#rtvu li.item:nth-child(1){
	animation-delay: 3.5s;
}
#rtvu li.item:nth-child(2){
	animation-delay: 4s;
}
#rtvu li.item:nth-child(3){
	animation-delay: 4.5s;
}
#rtvu li.item:nth-child(1n+4) {
	display: none;
}
@media screen and (orientation:portrait) {
   /* Portrait styles here */
	#rtvu #foto {
		height: auto;
		width: 320%;
		
	}
	#rtvu #pre {
		position: absolute;
		top: 30%;
		left: 16.7%;
		width: 66.6%;
		height: 37.5%;
		/* animation */
		animation: moveLogoPortrait;
		animation-duration: 1s;
	   	animation-fill-mode: forwards;
	   	animation-delay: 3s;	
	}

	#rtvu .item {
		list-style: none;
		position: relative;
		float: left;
		width: 86%;
		height: 27.5vh;
		margin: 2.5vh 0 0 7%;
		opacity: 0;
		/* animation */
		animation: fadeIn;
		animation-duration: 1s;
	   	animation-fill-mode: forwards;
	}
	#rtvu .item .foto {
		width: 100%;
		height: 20vw;
		background-position: center center;
	}
	#rtvu .item .tekst {
		top: 20vw;
		left: 0;
		width: 100%;
		height: auto;
		background: #fff;
	}
	#rtvu .item h1 {
		font-size: 100%;
		line-height: 120%;
		padding: 0;
		margin: 2% 4%;
		display: block;
	}
	#rtvu .item p {
		font-size: 70%;
		line-height: 120%;
		margin: 2% 4%;
	}
}