@charset "utf-8";
/* CSS Document */

.cabecera{
	display: flex;
	width: 100%;
	max-width: 1420px;
	position: relative;
}

.foto-entrada{}

.entrada_img{
	display: block;
	width: 100%;
	height: 100%;
}

.titulo-contacto{
	font-family: 'open_sanslight', sans-serif;
    font-size: 54px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    background: rgba(0,0,0,0.5);
    padding: 10px 20px 10px 20px;
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 2px;
	line-height: 72px;
}

#entrada-contacto {
	width: 96%;
	max-width: 940px;
	margin: auto;
	margin-top: 22px;
	margin-bottom: 44px;
	font-family: "open_sanslight";
	font-size: 17px;
	text-align: justify;
	line-height: 20px;
	/*color: #5A6064;*/
}

#entrada-contacto h1{
	line-height: 44px;
	margin-bottom: 20px;
	text-align: left;
	letter-spacing: 3px;
	word-spacing: 6px;
}
#entrada-contacto h5{
	margin-bottom: 26px;
}

.txtentradacentrado {
	font-family: "open_sansitalic", "sans-serif";
	font-size: 18px;
	color: #FF0000;
	text-align: center;
	padding-top: 14px;
}

.txtentradacentrado2 {
	font-family: "open_sansitalic", "sans-serif";
	font-size: 18px;
	color: #fc5353;
	text-align: center;
}

#entrada-contacto p{
	line-height: 29px;
}

#textos-entrada{
	width: 90%;
	max-width: 800px;
}

#img-muestras{
	width: 96%;
	max-width: 800px;
	display: flex;
	margin: auto;
	justify-content: center;
	background: rgba(255,0,0,0.2);
	margin-top: 20px;
	margin-bottom: 20px;
}

#h1_form{
	text-align: center;
	padding-bottom: 30px;
}

#cotenedor-contactos{
	width:90%;
	max-width:1050px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/*align-items: center;*/
	margin: auto;
	/*background-color: aquamarine;*/
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 10px rgba(0,0,0, 0.2);
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0, 0.2);
	/*background-image: url("../imagen/fondo-form-contact.jpg");*/
	/*background-color: aqua*/
}

#datosdecontacto{
	width: 45%;
	/*background-color: #EC0609;*/
}

#formulario-contacto{
	width: 55%;
	min-width: 450px;
}

#textos-contactos::before{
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #FF0000;
	opacity: 0.75;
}

#textos-contactos{
	width: 100%;
	position: relative;
	background-image: url("../imagen/fondo-form-contact-peque.jpg");
	background-size: cover;
}

#txtdatos{
	padding: 1px 16px 20px 30px;
	position: relative;
	z-index: 2;
}

#txtdatos p{
	font-size: 16px;
	text-align: left;
}

.txtdatos{
	color:  #fff;
	margin-bottom: 20px;
	
}

.datosdestacado{
	font-weight: 900;
}

#txtdatos h4 {
	margin-bottom: 26px;
	font-size: 30px;
}

.galeria-img{
	width: 100%;
}

#galeria-contenedor{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 150px;
	grid-gap: 10px;
	margin-bottom: 30px;
}

.img-galeria{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 2px;
}

#img-item:nth-child(6){
	grid-row-start: span 2;
}

#img-item:nth-child(7){
	grid-column-start: span 2;
}

#img-item:nth-child(10){
	grid-row-start: span 2;
}

#img-item:nth-child(14){
	grid-column-start: span 1;
}

#img-item:nth-child(16){
	grid-column-start: span 2;
}

#img-item{
	position: relative;
	overflow: hidden;
}

#img-item img{
	transition: transform 0.5s;
}

#img-item:hover img{
	transform: scale(1.3)
}

.galeria-tiutlo-img{
	position: absolute;
	width: 100%;
	bottom: 0;
	margin: 0;
	color: #FFFFFF;
	background: linear-gradient(rgba(255,0,4,0.06),rgba(255,0,4,1.0));
	font-size: 14px;
	padding: 12px 7px 4px 7px;
	text-align: left;
}

/* div imagen grande del lightbox*/
.lightbox{
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.8);
	width: 100%;
	height: 100vh;
	z-index: 9999;
	transform: scale(0);
	transition: transform 0.27s ease-in-out;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0px 2% 0px 2%;
}

.lightbox:target {
	transform: scale(1);
}

#centrado-lightbox{
	display: flex;
	justify-content: center;
	align-items: center;
	
}

.lightbox img{
	max-height: 70vh;
}

.next{
	display: block;
	margin-right: -40px;
	background-color: rgba(255,0,0,0.85);
	padding: 21px 8px;
	border-radius: 4px;
	z-index: 999999;
}

.prev{
	display: block;
	margin-left: -40px;
	background-color: rgba(255,0,0,0.85);
	padding: 21px 8px;
	border-radius: 4px;
	z-index: 999999;
}

.icon-arrow-left2, .icon-arrow-right2{
	color: #FFFFFF;
}

.prev:hover > .icon-arrow-right2 {
	color: rgba(0,0,0,0.70);
}

.next:hover > .icon-arrow-left2{
	color: rgba(0,0,0,0.70);
}

.icon-arrow-left2:hover, .icon-arrow-right2:hover{
	color: rgba(0,0,0,0.80);
}

.cerrarLightbox{
	display: block;
	position: absolute;
	top: 20px;
	right: 40px;
	background-color: rgba(255,0,0,0.85);
	padding: 7px;
	border-radius: 4px;
}
.icon-cross{
	color: #FFFFFF;
}

.icon-cross:hover{
	color: rgba(255,173,173,1.00);
}

.h1centrado{
	font-family: 'open_sanslight', sans-serif;
	font-size: 36px;
	color: #606060;
	margin-top: 30px;
	text-align: center;
	line-height: 46px;
}

.txtcentrado{
	text-align: center;
	margin-bottom: 16px;
}

@media screen and (max-width:950px){
	.titulo-contacto{
		font-size: 46px;
		line-height: 60px;
		padding: 8px 15px 8px 15px;
	}
}

@media screen and (max-width:926px){
	#datosdecontacto{
		width: 100%;
	}
	#formulario-contacto{
		width: 55%;
		min-width: 455px;
	}
	#galeria-contenedor{
		grid-template-columns: repeat(3, 1fr);
	}
}
@media screen and (max-width:880px){
	#entrada-contacto{
		width: 90%;
	}
}

@media screen and (max-width:750px){
	.titulo-contacto{
		font-size: 38px;
		line-height: 50px;
		padding: 6px 12px 6px 12px;
	}
}

@media screen and (max-width:680px){
	#galeria-contenedor{
		grid-template-columns: repeat(2, 1fr);
	}
	#img-item:nth-child(3){
		grid-column-start: span 2;
	}
	#img-item:nth-child(5){
		grid-row-start: span 2;
	}
	#img-item:nth-child(6){
		grid-row-start: span 1;
	}
	#img-item:nth-child(13){
		grid-column-start: span 2;
	}
}

@media screen and (max-width:620px){
	.titulo-contacto{
		font-size: 33px;
		line-height: 42px;
		padding: 3px 10px 3px 10px;
	}
}

@media screen and (max-width:522px){
	#formulario-contacto{
		width: 100%;
		min-width: 250px;
	}
}

@media screen and (max-width:460px){
	#galeria-contenedor{
		grid-template-columns: repeat(1, 1fr);
	}
	#img-item:nth-child(1){
		grid-column-start: span 2;
	}
	#img-item:nth-child(2){
		grid-column-start: span 2;
	}
	#img-item:nth-child(3){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(4){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(5){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(6){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(7){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(8){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(9){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(10){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(11){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(12){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(13){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(14){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(15){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
	#img-item:nth-child(16){
		grid-column-start: span 2;
		grid-row-start: span 1;
	}
}

@media screen and (max-width:255px){
	#txtdatos h4 {
	margin-bottom: 20px;
	font-size: 22px;
	}
}