@import url('https://fonts.googleapis.com/css?family=Petit+Formal+Script&display=swap');

*{
    margin:0px;
    padding:0px;
	box-sizing: border-box;
	font-family: sans-serif;
	font-size: 13px;
}
header{
	height: 50px;
	background: #E74C3C;
	color:#fff;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.contenedor{
	margin: 0;
	margin-top:0;
	justify-content: center;
}
#btn-menu{
	display: none;
}
header label{
	float: right;
	font-size: 30px;
	cursor: pointer;
	display: none;
}
.menu ul{
	background: #E74C3C;
	display: flex;
	list-style: none;
}
.menu ul ul{
	display: none;
}
.menu a{
	display: block;
	padding: 15px 19px;
	color: #fff;
	text-decoration: none;
}
.menu a:hover{
	background: #95A5A6;
}
.menu a span{
	margin-left: 10px;
}
.menu ul li:hover ul{
	display: block;
	position: absolute;
}
@media (max-width:1005px){
	header label{
		display: block;
	}
	.menu{
		position: absolute;
        z-index: 2;
		top: 50px;
		left: 0;
		width: 100%;
		transform: translateX(-100%);
		transition: all 0.3s;
	}
	.menu ul{
		display: block;
		background: #364D4E;
	}
	.menu ul li:hover ul{
		display: none;
		position: static;
	}
	.menu a span{
		position: absolute;
		right: 5px;
	}
	#btn-menu:checked ~ .menu{
		transform: translateX(0%);
	}
	.menu ul ul{
		background: #E74C3C;
	}
	
	.menu ul ul a{
		padding: 15px 40px;
	}	
}

#banner {
	width: 100%;
	background: rgba(51,51,51,0.5);
	border-top: 3px solid #A93226;
	display: table;
	text-align: center;
}

#banner .contenedor{
	color: #fff;
	display: table;
	text-align: center;
	margin: 2rem auto;
}
#banner h1{
	display: table-cell;
	margin: 0;
	padding: 0 1rem;
	font-size:35px;
	font-family: 'Petit Formal Script', cursive;
	vertical-align: middle;
}		
@media screen and (max-width: 750px){
	#banner{
		width: 100%;
		height: 80%;
		text-align: center;
		padding: 0 10px;
	}
	#banner .contenedor{
	color: #fff;
	display: table;
	text-align: center;
	margin: 2rem auto;
}
	#banner h1{
		font-size:20px;
		vertical-align: middle;
	}
}
.slider{
	width:100%; /*Ancho del slider*/
	height:100%;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}
.slider ul{
	display:flex;
	padding: 0;
	width: 400%;
	animation: cambio 20s infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in;
}
.slider li{
	width: 100%;
	list-style: none;
}
.slider img{
	width: 100%;
    height: 500px;
    object-fit: cover;
}

@keyframes cambio{
	0% {margin-left:0;}
	20% {margin-left:0;}
	
	25% {margin-left:-100%;}
	45% {margin-left:-100%;}
	
	50% {margin-left:-200%;}
	70% {margin-left:-200%;}
	
	75% {margin-left:-300%;}
	100% {margin-left:-300%;}
}

@media screen and (max-width: 750px){
    .slider img{
	width: 100%;
    height: 300px;
    object-fit: cover;
    }
}
    
.botones{
	width:100%;
	margin-left: auto;
	margin-right: auto;
}
 
.button{
	background: #800080;
	color: #fff;
	display: inline-block;
	font-size: 18px;
	margin: 25px 20px;
	padding: 10px 10px;
	text-align: center;
	width: 294px;
	text-decoration: none;
	box-shadow: 0px 3px 0px #FF00FF;
	flex-wrap: wrap;
}

/* Colores de los botones*/

.button.yellow{
	background: #E7C11A;
	box-shadow: 0px 3px 0px #F69005;
}

.button.red{
	background: #C70039;
	box-shadow: 0px 3px 0px #900C3F;
}
.button.green{
	background: #2EBE1D;
	box-shadow: 0px 3px 0px #3F9534;
}
.button:hover{
	box-shadow:0px 0px 0px;
	padding-top: 7px;
}

@media screen and (max-width: 1020px){
	.botones{
		width: 100%;
		text-align: center;
		padding: 0 10px;
		font-size: 15px;
}
}
@media screen and (max-width: 750px){
	.botones{
		width: 100%;
		text-align: center;
		padding: 0 10px;
		font-size: 15px;
}
    .button{
	
	display: inline-block;
	font-size: 15px;
	margin: 20px 15px;
	padding: 5px 5px;
	text-align: center;
	width: 250px;
	text-decoration: none;
	box-shadow: 0px 3px 0px #FF00FF;
	flex-wrap: wrap;
}
}

#contenedor-medium{
	width: 90%;
	height: 500px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

#contenido{
	width: 68%;
	float: left;
	background: #F6F7F9;
	margin-top: 10px;
	margin-right: 10px;
    padding: 10px;
	display: flex;
	flex-wrap: wrap;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
}
#contenido p {
  color: #524c56;
  margin: 10px;
  font-size: 18px;
  line-height: 25px;
  padding: 8px 0px;
  text-align: justify;
}

aside{
	width: 28%;
	float: right;
	background: #F6F7F9;
	margin-top: 10px;
	margin-right: 10px;
	display: flex;
	flex-wrap: wrap;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
}

aside img{
	width: 94%;
    object-fit: cover;
	display: block;
    margin-top: 10px;
	margin-left: 10px;
	margin-right:10px;
	margin-bottom: 10px;

}

@media screen and (max-width: 750px){
	
	#contenedor-medium{
	width: 90%;
	height: 1480px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	}
	
	#contenido{
		width: 100%;
		text-align: center;
		padding: 10px;
        margin-bottom: 20px;
	}
	
	aside{
		width: 100%;
		text-align: center;
		margin: auto;
		margin-top: 15px;
		margin-bottom: 10px;
	}
	aside img{
	width: 95%;
    object-fit: cover;
	display: block;
    margin-top: 10px;
	margin-left: 10px;
	margin-right:10px;
	margin-bottom: 10px;

}
}

footer{
	width: 100%;
	font-family: Raleway;
	margin-top: 25px;
}

.footer-container{
	width: 100%;
	background: #E74C3C;
	color: #fff;
}

.footer-main{
	width: 90%;
	max-width: 1000px;
	margin: auto;
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
}

.footer-main .footer-columna{
	width: calc(100%/3);
	text-align: center;
}

.footer-main .footer-columna h3 {
	font-size: 15px;
}


.footer-main .footer-columna span p{
	display: inline-block;
	margin-top: 8px;
	margin-left: 8px;
	margin-bottom: 15px;
	font-size: 12px;
	color: white;
}

.footer-copy-redes{
	width: 100%;
	background: #95A5A6;
	border-top: 3px solid #A93226;
}

.main-copy-redes{
	width: 98%;
	max-width: 1000px;
	padding: 8px 0;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.main-copy-redes .footer-copy{
	width: 70%;
	color: #fff;
}

.main-copy-redes .footer-redes{
	width: 30%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.main-copy-redes .footer-redes a{
	display: inline-block;
	text-decoration: none;
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #000;
	text-align: center;
}

.main-copy-redes .footer-copy{
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
	
}
 
.main-copy-redes .footer-redes{
	width: 50%;
	margin: auto;
}

@media screen and (max-width: 750px){
	.footer-main .footer-columna{
		padding: 0 10px;
	}
	
	.footer-main .footer-columna h3{
		font-size: 15px;
	}
	
	.footer-main .footer-columna p{
		font-size: 12px;
	}
}

@media screen and (max-width: 789px){
	
	.footer-main{
		padding: 10px 0;
	}
	.footer-main .footer-columna{
		width: 100%;
		text-align: center;
		margin: 10px 0;
	}
	
	.footer-main .footer-columna h3{
		margin-bottom: 5px;
	
	}
	
	.footer-main .footer-columna span{
		display: block;
	}

.main-copy-redes .footer-copy{
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
	}
	
	.main-copy-redes .footer-redes{
		width:80%;
		margin: auto;
	}
}

#contenedor-paginas{
	width: 90%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

#pantallazos{
	width: 100%;
	background: #F6F7F9;
	margin-top: 10px;
	margin-right: 10px;
	display: flex;
	flex-wrap: wrap;
	vertical-align: middle;
}

#pantallazos img{
	width: 70%;
	margin-top: 25px;
	margin-bottom: 25px;
	margin-left: auto;
	margin-right:auto;
	border: 3px solid #E74C3C;
	overflow: hidden;
}
@media screen and (max-width: 750px){
    #pantallazos img{
	width: 100%;
    }
}
#caja{
	width:100%;
	margin: 0px auto;
	padding: 0px;
}

#caja .uno{
	width: 100%;
	margin: 0px auto;
	padding: 0px;
}

#cajamadre{
	width: 100%;
	height: 150px;
	overflow: hidden;
	display: table;
}

#caja  h4{
	display: table-cell;
	margin: 0;
	padding: 0 1rem;
	font-size:50px;
	font-family: 'Baloo Chettan', cursive;
	font-weight: 600;
	vertical-align: middle;
	
}

#cajamadre img{
	height: 170px;
	float: right;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

@media screen and (max-width: 750px){
	#caja{
		width: 100%;
		padding: 0 10px;
	}
	
	#cajamadre{
	width: 100%;
	height: 130px;
	overflow: hidden;
	display: table;
	}
	#caja  h4{
	display: table-cell;
	margin: 0;
	padding: 0 1rem;
	font-size:50px;
	font-family: 'Baloo Chettan', cursive;
	font-weight: 600;
	vertical-align: middle;
	
}
	
    #cajamadre img{
	height: 150px;
	float: right;
    object-fit: cover;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}#caja  h4{
	display: table-cell;
	margin: 0;
	padding: 0 1rem;
	font-size:50px;
	font-family: 'Baloo Chettan', cursive;
	font-weight: 600;
	vertical-align: middle;
	
}
}
.imgcaja{
	width: 100%;
	height: 100%;
}
.textosobreimg{
	display: block;
	position:absolute;
	bottom: 0px;
	z-index: 10;
	width: 100%;
	height: 15%;
	padding: 3em;
	font-size:40px;
	font-family: 'Baloo Chettan', cursive;
	color: #11255C  ;
	flex-wrap: wrap;
}

.imgcaja:before{
	content: "";
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(#52c4df, #ad55c1);
	opacity: 0.5;
}

#banner-wrapper {
	width: 100%;
}

#banner-wrapper .contenedor-wrapper{
	color: #fff;
	text-align: left;

}
#banner-wrapper h1{
	font-size:40px;
	font-family: 'Petit Formal Script', cursive;
	color: black;

}

#banner-wrapper img{
	width: 100%;
	height: 180px;
}

hr{
	height: 5px;
	background: #E74C3C;
	border: #E74C3C
	
}

.container-all{
	width: 100%;
	background: #fff;
	margin-top: 25px;
	margin-right: 10px;
	flex-wrap: wrap;
	vertical-align: middle;
	border-top: 6px solid #65d6a6;
}

.container-all img{
	display: block;
	margin-left: auto;
	margin-right:auto;
}

.container-all li{
	color: #524c56;
  margin: 10px;
  font-size: 18px;
  line-height: 25px;
  padding: 4px 0px;
  text-align: justify;
}
.container-all a{
	margin: 10px;
	padding: 4px 0px;
	font-size: 22px;
	font-family: 'Baloo Chettan', cursive;
	color: #fff;
	text-align: center;
	}

.button.pag{
	background: #27ae60;
	box-shadow: 0px 3px 0px #E74C3C;
	
}
 h4{
	margin: 10px;
 
  line-height: 155%;
  font-weight: 500;
  color: #27ae60;
  font-size:35px;
  font-family: 'Baloo Chettan', cursive;
 
}

h6{
	margin: 10px;
  font-size: 24px;
  line-height: 155%;
  font-weight: 500;
  color: #27ae60;
  text-align: center;
 
}

p {
  color: #524c56;
  margin: 10px;
  font-size: 18px;
  line-height: 25px;
  padding: 8px 0px;
  text-align: justify;
}
h5 {
  color: #524c56;
  margin: 10px;
  font-size: 18px;
  line-height: 25px;
  padding: 8px 0px;
  text-align: center;
}

.imgbandera{
	width: 200px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.imgescudo{
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
}

@media screen and (max-width: 750px){
	container-all{
		width: 100%;
		text-align: center;
	padding: 0 10px;
	}
	.container-all li{
	color: #524c56;
  margin: 10px;
  font-size: 12px;
  line-height: 25px;
  padding: 4px 0px;
  text-align: justify;
	}
	
	h4{
	margin: 10px;
  font-size: 18px;
  line-height: 155%;
  font-weight: 500;
  color: #27ae60;
}

h6{
	margin: 10px;
  font-size: 18px;
  line-height: 155%;
  font-weight: 500;
  color: #27ae60;
  text-align: center;
 
}
p {
  color: #524c56;
  margin: 10px;
  font-size: 12px;
  line-height: 25px;
  padding: 8px 0px;
  text-align: justify;
}
h5 {
  color: #524c56;
  margin: 10px;
  font-size: 12px;
  line-height: 25px;
  padding: 8px 0px;
  text-align: center;
}
}
.caja-historia{
	width: 55%;
	margin-left: auto;
	margin-right: auto;
}
figure{
	padding: 5px;
	margin: 0 ;
	display: inline-block;
	position: block;
	overflow: hidden;
}
#contact{
	width: 88%;
	height: 450px;
	position: realtive;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
#contacto{
	width: 100;
	height: 450;
	background: #F6F7F9;
	float: left;
	margin-left: auto;
	margin-right: auto;
}
#maps{
	width: 600;
	height:0;
	position: relative;
	float: right;
	background: #F6F7F9;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

@media screen and (max-width: 789px){
	#contact{
	width: 88%;
	height: 600px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
	#contacto{
		width: 100%;
		text-align: center;
		padding: 0 10px;
	}
	#maps{
		width: 100%;
		text-align: center;
		margin: auto;
		margin-top: 15px;
		margin-bottom: 10px;
	}
	#maps iframe{
	width:100%;
	width:100%;
}
}
.galeria{
	top: 20px;
	width: 95%;
	height: auto;
	margin: auto;
	background: #E9F4F4;
}
.galeria .list-image{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.galeria .list-image li{
	margin-right: 15px;
	margin-bottom: 10px;
	list-style: none;
}
.galeria .list-image li .galeria__image{
	position: relative;
	width: 250px;
	height: 330px;
	background: #fff;
	border-radius: 4px;
}
.galeria .list-image li .galeria__image img{
	position: relative;
    z-index: 1;
	width: 250px;
	height: 280px;
    object-fit: cover;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}
.galeria .list-image li .galeria__image .information__image{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 50px;
	background: none;
	border-radius: 4px;
	display: flex;
}
.galeria .list-image li .galeria__image .information__image .name__image{
	font-family: sans-serif;
	font-size: 13px;
	margin-left: 5px;
	text-align: left;
	color: black;
	padding: 0;
}
.galeria .list-image li .galeria__image .information__image .view__moreinfo{
	position: absolute;
	right: 5px;
	top: 10px;
	display: block;
	color: #888;
	font-family: sans-serif;
	font-size: 12px;
}
.linea{
	background: #550b51;
	width: 100%;
	height: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
	display: block;
}
.fotos{
	display: grid;
	grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    width: 95%;
    margin: auto;
    grid-gap: 10px;
    padding: 40px 0;
    overflow: hidden;
}
.fotos > a{
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}
.fotos img{
    width: 100%;
    vertical-align: top;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}
.fotos a:hover img{
    filter: blur(2px);
    transform: rotate(10deg) scale(1.3);
}
.light-box{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0, .9);
    transition: transform .3s ease-in-out;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
}
.light-box img{
    max-height: 90vh;
}
.light-box:target{
    transform: scale(1);
}
.close{
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    background: #851919;
    color: #fff;
    text-decoration: none;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
}
.close{
        top: 0;
        right: 0;
    }
.next{
    display: block;
    background:  #851919;
    color: #fff;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    justify-content: center;
}
@media screen and (max-width:400px){
    .fotos{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        overflow: hidden;
    }
}
.fotos-encuentro{
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.fotos-encuentro li{
   margin-right: 15px;
	list-style: none;
}
.fotos-encuentro img{
   position: relative;
	width: 250px;
	height: 200px;
	border-radius: 4px;
    object-fit: cover;
    overflow: hidden;
}
.fotos-encuentro a{
    margin: 0;
}
.modal{
    display: none;
}
.modal:target{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0, .9);
    transition: transform .3s ease-in-out;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-galeria{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-galeria a{
    color: #fff;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
}
.image-galeria a:nth-child(2){
    margin: 0;
    height: 100%;
    flex-shrink: 2;
}
.image-galeria img{
    width: 750px;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    box-sizing: border-box;
}
.modal .cerrar{
   display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    background: #851919;
    color: #fff;
    text-decoration: none;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
}
 .modal .cerrar{
        top: 0;
        right: 0;
    }
	
	 body div p a{
 text-decoration: none;
 color: blueviolet;
    }
	
#contenido a{
    padding: 10px;
    color: blue;
    text-decoration: underline;
}
#contenido img{
    width: 320px;
   float: left;
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 5px;
}
#contenido p{
    font-size: 16px;
    text-align: justify;
    font-weight: 100;
    margin: auto;
    color: #524c56;
   line-height: 25px;
  padding: 8px 0px;
  
 
}
@media screen and (max-width: 750px){
#contenido img{
    width: 100%;
    margin-right: 0px;
    
}
#contenido p{
  color: #524c56;
  margin: 10px;
  font-size: 12px;
  line-height: 25px;
  padding: 8px 0px;
  text-align: justify;
}
}
#c-slider{
    margin: auto;
    width: 80%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 2px #fff,
                0 15px 50px;
}
#slider{
    display: flex;
    width: 600%;
}
#rec{
    width: 100%;
}
#slider img{
    display: block;
    width: 100%;
    height: 500px;
}
#btn-prev, #btn-next{
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.7);
    color: #000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 40px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    font-family: monospace;
    cursor: pointer;
}
#btn-prev:hover, #btn-next:hover{
    background: rgba(255,255,255,1);
}
#btn-prev{
    left: 10px;
}
#btn-next{
    right: 10px;
}
@media screen and (max-width: 750px){
   #slider img{
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
} 
    #btn-prev, #btn-next{
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 17px;
    }
}