
#error404 header, #privacidadcookies header{
	background-image: url(../img/color.png);
}

#error404 .contenedor-ppal{
	padding-top: 120px;
}

#error404 .contenedor-ppal .gif{
	background-image: url(../img/error.gif);
	width: 40%;
	height: 400px;
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center;
	margin: auto;
	float: left;
}

#error404 .contenedor-ppal .mensaje{
	width: 40%;
	float: left;
}

#error404 .contenedor-ppal .vaya{
	height: 150px;
	margin-top: 60px;
	text-indent: -99999px;
	background-image: url(../img/vaya.png);
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center;

}

#error404 .contenedor-ppal a{
	margin-top: 20px;
	display: inline-block;
	background-color: #bea151;
	text-align: center;
	color: #eee;
	width: 100%;
	padding: 20px;
	margin-bottom: 50px;
	box-shadow: 5px 5px 10px #aaa;
	
}
#error404 .contenedor-ppal a:hover{
	background-color: #eee;
	color: #777;
}

#error404 .contenedor-ppal .a{
	text-align: center;
	width: 40%;
	float: left;
}

@media screen and (max-width: 900px){
	#error404 .contenedor-ppal  a{
		font-size: 12px;
	}
}

@media screen and (max-width: 800px){
	#error404 .contenedor-ppal .gif{
	background-image: url(../img/error.gif);
	width: 40%;
	height: 150px;
	background-repeat: no-repeat;
	background-size: 80%;
	background-position: center;
	margin-top: 70px;
	float: left;
}


#error404 .contenedor-ppal .a{
	width: 60%;
	margin: auto 20%;
}

#error404 .contenedor-ppal .vaya{
	background-size: 110%;
}
}


@media screen and (max-width: 500px){
	#error404 .contenedor-ppal .gif{
	background-image: url(../img/error.gif);
	width: 40%;
	height: 110px;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 30%;
	
}
#error404 .contenedor-ppal .mensaje{
	width: 60%;
}
#error404 .contenedor-ppal .vaya{
	background-size: 100%;
}
#error404 .contenedor-ppal a{
	margin-top: -20px;
}
}

@media screen and (max-width: 350px){
	#error404 .contenedor-ppal .gif{
	background-image: url(../img/error.gif);
	width: 40%;
	height: 110px;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 25%;
}
#error404 .contenedor-ppal .mensaje{
	width: 70%;
}
#error404 .contenedor-ppal .vaya{
	background-size: 100%;
}
#error404 .contenedor-ppal a{
	margin-top: -20px;
}
}

