@charset "utf-8";
/* CSS Document */

*{
	border: 0;
	padding: 0;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
body{
background:#EBEBEB;
	
}

#Contenedor{
	background:#EBEBEB;
	width: 850px;    
	margin-right: auto;
	margin-left: auto;
    text-align: center;
}



#titulo{
	background:#E7E7E7;
	height: 20px;
	text-align: left;
	margin: 0px;    
}


/*--------CABECERA--------------------*/
header{
	background: #080808;
	height: 120px;
	width: 850px;
	margin-right: 0px;
	margin-left: 0px;	
}
header h1{
	background-color: #000000;
	height: 90%;
	width: 330px;
	display: inline-block;		
	margin-top: 8px;
    text-align: left;
}
header #menu{
	background-color: #C8C0C0;
	height: 80%;
	width: 520px;
	float: right;
	display: inline-block;	
	text-align: right;	
	
}
header #menu #cabeMenu{
	background-color: #000000;
	height: 34%;
	width: 520px;
	margin: 0;	
	text-align: center;
}

h1 #logowe{
	margin-left: 8px;
    text-align: left;
    
}

header #menu #camejor{
	margin: 0px;
}

/*-------MENU---------*/

#cabeMenu ul{
    padding: 2px;
    margin: 0px;
    list-style: none;    
}

li{
    display: inline-block;
    margin: 7px 0px;
    
}

#menu #cabeMenu a{
    text-decoration: none;
    color: #006666;
    font-weight: bolder;    
    padding: 5px 20px;
}

#menu #cabeMenu li:nth-of-type(1) a:hover{
    color: #ffffff;
   border-right: 3px solid #ffffff;
}

#menu #cabeMenu li:nth-of-type(2) a:hover{
    color: #ffffff;
   border-right: 3px solid #ffffff;
}

#menu #cabeMenu li:nth-of-type(3) a:hover{
    color: #ffffff;
   border-right: 3px solid #ffffff;
}

#menu #cabeMenu li:nth-of-type(4) a:hover{
    color: #ffffff;
   
}

/*--------------------------FIN CABECERA----------*/

#cuerpo{
    width: 850px;     
    background: #ffffff;
    margin: 0px;
    background-attachment: fixed; 
    
}
/*-------------------*/
#cuerpo h1 {
	color: #fff;
	text-align: center;
}

/*Estilos de la galeria*/

#cuerpo .galeria {
	width: 100%;
	margin: auto;
	list-style: none;
	padding: 5px;
	box-sizing: border-box;	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

#cuerpo .galeria li {
	margin: 2px;
}

#cuerpo .galeria img {
	width: 120px;
	height: 100px;
}
#cuerpo .galeria img:hover{
    border: 1px solid #ffffff;
}

/*Estilos de la galeria 1*/

#cuerpo .galeria1 {
	width: 100%;
	margin: auto;
	list-style: none;
	padding: 5px;
	box-sizing: border-box;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

#cuerpo .galeria1 li {
	margin: 2px;
}

#cuerpo .galeria1 img {
	width: 120px;
	height: 100px;
}

#cuerpo .galeria1 img:hover{
    border: 1px solid #ffffff;
}

/*------grupos-------------*/
#cuerpo #grupo1{
    background: #444;
    height: 485px;
    width: 423px;
    margin: 0px;
    float:left;
	display: inline-block;
     border: 1px solid #ffffff;
    
}

#grupo2{
    background: #444;
    height: 485px;
    width: 423px;
    margin: 0px;
    float: right;
	display: inline-block;
     border: 1px solid #ffffff;
    
}

#grupo3{
    background: #444;
    height: 270px;
    width: 850px;
    margin: 0px;
    display: inline-block; 
     border: 1px solid #ffffff;
}


/*Estilos del modal*/

.modal {
	display: none;
}

.modal:target {
	
	display: block;
	position: fixed;
	background: rgba(0,0,0,0.8);
	top: 0;
	left: 0;
	width: 100%;
	height: 1000px;
}

.modal h3 {
	color: #fff;
	font-size: 30px;
	text-align: center;
	margin: 15px 0;
}

.imagen {
	width: 100%;
	height: 50%;
	
	display: flex;
	justify-content: center;
	align-items: center;
}

.imagen a {
	color: #fff;
	font-size: 40px;
	text-decoration: none;
	margin: 0 10px;
}

.imagen a:nth-child(2) {
	margin: 0;
	height: 100%;
	flex-shrink: 2;
}

.imagen img {
	width: 900px;
	height: 500px;
	max-width: 100%;
	border: 7px solid #fff;
	box-sizing: border-box;
}

.cerrar {
	display: block;
	background: #fff;
	width: 25px;
	height: 25px;
	margin: 15px auto;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	color: #000;
	padding: 5px;
	border-radius: 50%;
	line-height: 25px;
}
/*-------------------*/
footer{
	background-color: #B5B5B5;
	height: 25px;
	width: 850px;	
    text-align: center;
    
    
}
#pfoo{
	font-family: arial;
	font-size: 12px;	
	color: #271FE8; 
    padding-top: 8px;    
}