/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn { from { opacity:1; } to { opacity:0; } }
@-moz-keyframes fadeIn { from { opacity:1; } to { opacity:0; } }
@keyframes fadeIn { from { opacity:1; } to { opacity:0; } }
 
.fade-out {
    opacity:1;  /* make things invisible upon start */
    -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;
 
    -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;
 
    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    animation-duration:1s;
}
 
.fade-out.one {
	-webkit-animation-delay: 4s;
	-moz-animation-delay: 4s;
	animation-delay: 4s;
	position: absolute;
	margin-top: 135px;
	margin-left: 270px;
}
 
.box{
	width: 480px;
	height: 380px;
	z-index: 2;
	}
	
	#boxshadow {
	background-color: #999999;
	-webkit-box-shadow: 0px 0px 3px 4px #999999;
	box-shadow: 0px 0px 3px 4px #999999;
	width: 480px;
	height: 380px;
	z-index: 1;
	margin-left: 270px;
	margin-top: 135px;
}
