@charset "utf-8";
/* CSS Document */
@font-face { 
font-family: Open Sans; 
src: url(https://cerrajerosvallejo24horas.com/fonts/OpenSans-Regular.ttf); 
font-weight: normal; 
font-display: swap;
}
	
@font-face { 
font-family: News Cycle; 
src: url(https://cerrajerosvallejo24horas.com/fonts/NewsCycle-Regular.ttf); 
font-weight: normal; 
font-display: swap;
}
	
@font-face { 
font-family: Fredoka One; 
src: url(https://cerrajerosvallejo24horas.com/fonts/FredokaOne-Regular.ttf); 
font-weight: normal; 
font-display: swap;
}



* {padding: 0; margin: 0;}
a {outline: 0; text-decoration:none; color:#07519F;}
a:hover{color:#006FE6;}
a img {border-width:0;}



body{
	background:#fff;
    font-family: 'Open Sans', sans-serif;
	font-size:15px;
	font-weight:normal;
	color:#472A0B;
	margin: 1px;
}

header div{
	display: block;
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 1350px;
}
#logo{
	display:block;
	text-align: center;
}
#logo img{
	display: block;
	position: relative;
	margin: 10px auto;
	width: 55%;
	max-width: 710px;
}

#menuhorizontal{
	display: none;
	z-index: 1000;
}
#menuhorizontal a{
	display: block;
	text-align: center;
	border-top: #EE0 1px solid;
	padding: 10px;
    font-size: 18px;
    font-weight: bold;
    color:#000;
    transition:background 0.6s;
}
#menuhorizontal a:hover{
	background: #F7D600;
	border-radius: 3px;
    color:#000;
    transition:background 0.2s;
}

#btnmenu{
	float: right;
	padding: 5px 10px;
	float: left;
	z-index: 10;
}

#deco{
	width: 100%;
}

#destacado{
	background: #0E264A;
	text-align: center;
	padding: 15px;
	z-index: 10000;
	margin-top: -3px;
}
#destacado h1, #destacado p{
	display: block;
	position: relative;
	margin: 5px auto;
	color: #FFF;
	width: 80%;
	max-width: 900px;
	text-align: center;
}

main{
	position: relative;
	margin: 20px auto 60px auto;
	width: 95%;
	max-width: 1200px;
}

.galeria{
	text-align: center;
	border-radius: 5px;
	background: #DDD;
	margin: 30px 2%;
	padding: 10px;
	transition:background 0.4s, box-shadow 0.4s;
}
.galeria:hover{
	background: #0062E8;
	transition:background 2s, box-shadow 2s;
	box-shadow: #003 0 0 100px inset;
}
.galeria a img{
	border:#FFF 5px solid;
	margin: 10px;
	box-shadow: #000 0 2px 4px;
	transition:border 2s;
	max-width: 80%;
	height: auto;
}
.galeria a:hover img{
	border-color:#F7D600;
	transition:border 0.3s;
}

h1{
    font-family: 'Fredoka One', cursive;
	font-size: 35px;
	color:#006BDD;
	font-weight:normal;
}
h2{
    font-family: 'News Cycle', sans-serif;
	font-size:29px;
	padding: 30px 0 5px 5px;
	color:#003874;
	line-height: 32px;
}
h3{
	color:#006CDF;
	padding: 30px 0 5px 0;
	margin: 0 30px;
	border-bottom:#F7D600 1px solid;
	font-size: 17px;
}
p{
	font-size:18px;
	padding: 5px 10px;
	line-height: 120%;
}
li{
	font-size:17px;
	margin: 4px 6%;
	color:#002A7C;
}

.botones{
	padding: 30px 0;
	text-align: center;
}
.botones a{
	display: inline-block;
	margin: 10px;
	padding: 8px 20px;
	font-size: 14px;
	background: #0062E8;
	font-weight:bold;
	border-radius: 3px;
	color:#FFF;
	text-transform: uppercase;
}
.botones a:hover{
	background:#FFDD00;
	color:#FFF;
}

.fotocentrada{
	display: block;
	position: relative;
	margin: 15px auto 30px auto;
	max-width: 90%;
	height: auto;
	border-radius: 4px;
}

.fotoderecha{
	float: right;
	margin-left: 20px;
	max-width: 25%;
	height: auto;
}

footer{
	border-top: #008de3 4px solid;
	background: #202020;
	margin-top: 30px;
	clear:both;
	color:#CCC;
	padding: 20px 1% 70px 1%;
	font-size:15px;
	line-height:130%;
	text-align: center;
}


footer div{
	padding: 20px 0;
}
footer a{
	display: block;
	color: #FE0;
	padding: 1px 0;
	font-size: 14px;
}
footer a:hover{
	color: #FFF
}

#logoinferior{
	padding: 20px 0;
	max-width: 80%;
	height: auto;
	filter: grayscale(0.9);
	transition: filter 0.3s;
}
#logoinferior:hover{
	filter: none;
	transition: filter 0.8s;
}
#cookieinfo{
	display:block;
	position: fixed;
	left: 0;
	bottom:0;
	width: 100%;
	background:rgba(0,0,0,0.8);
	font-size: 12px;
	color: #FFF;
	text-align: center;
	padding: 8px 0 4px 0;
	z-index: 10;
}
#cookieinfo .boton{
	display: inline-block;
	margin: 0 3%;
	padding: 3px 12px;
	border:#000 1px solid;
	border-radius: 1px;
	background: #0062E8;
	color:#FFF;
	font-weight: bold;
}
#cookieinfo .boton:hover{
	background: #FFDD00;
	transition:background 0.3s;
}
#cookieinfo img{
	float: right;
	margin-right: 20px;
}
#cookieinfo a{color:#CCC;}
#cookieinfo a:hover{color:#FFF;}

@media screen and (min-width: 840px) {

	header{
		text-align: right;
		min-height: 126px;
	}
	#btnmenu{
		display: none !important;
	}

	#logo img{
		position: absolute;
		z-index: 100;
		float: left;
	}

	#menuhorizontal{
		display: inline-block;
		width: 45%;
		float: right;
		text-align: right;
		padding-top: 15px;
	}
	#menuhorizontal a{
		display: inline-block;
		border: none;
		font-size: 14px;
		padding: 5px;
	}
	footer{
		text-align: center;
	}
	footer div{
		display: inline-block;
		padding: 8px 3%;
		height: 180px;
		max-width: 280px;
		vertical-align: top;
		text-align: left;
	}
	footer div:last-child{
		max-width: none;
	}

#logoinferior{
	max-width: 400px;
}

}

.flotante{
	position: fixed;
	bottom:10px;
	z-index: 1000;
	bottom:50px;
	
}

.flotante img{
	width: 50px;
}

.telefono{
   left:20px;
}

.whatsapp{
   right: 20px;
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  animation-delay:1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes fadeInUp {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
  }
  @keyframes fadeInUp {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
  } 