@charset "utf-8";


body{
	text-align: center;
	margin:0 auto;
	font-family:Cabin, Geneva, sans-serif;
	font-size:13px;
	color:#FFF;
	font-weight:500;
	text-align:left;
}
img{
	max-width: 100%;
    height: auto;
}
.cuerpo a:hover, .cuerpo a:visited, .cuerpo a:active, .cuerpo a:link {
	text-decoration:none !important;
	color:#FFF !important;
}

/* Cuando el ancho sea inferior a 600px el elemento será un bloque  */
@media all and (max-width: 600px){
	.superior, .menu, .galeria, .cuerpo, .img_text  {
		display: block !important;	 
		width: 100% !important;
		max-width: 100% !important;
		margin: auto !important;
		position: static !important;
		float: none !important;
		font-size:12px !important;
	}
	.superior{
		font-size:20px !important;
		height:5px !important;
		padding-top:1px !important;
		padding-bottom:1px !important;
		display:none !important;
	}
	.cuerpo{
		height:400px !important;
		margin-top:10px;
		margin-right:1px !important;
		padding:2px 0px 2px 0px !important;
	}
	.actividades {
		height:400px !important;
		width:50% !important;
		float:left !important;
		overflow:hidden !important;
	}
	.institucion, .calendario {
		height:50% !important;
		width:50% !important;
		overflow:hidden !important;
	}	
	.img_thumb{
		border: 0px solid #CCC !important;
		padding:1px 1px 1px 0px !important;
		margin:1px 1px 1px 0px !important;
	}
	.img_text{
		width:auto!important;
	}
} 

.superior{
	max-width: 900px;
	margin:auto;
	padding-bottom:10px;
	padding-top:10px;
	background:#FF0;
	color:#000 !important;
	font-weight:bold;
	text-align:center;
	font-size:30px;
	
}
.menu{
	max-width:900px;
	background:#FFF;
	margin:auto;
}

.galeria{
	max-width:900px;
	margin:auto;
	background:#9CC;
}

.cuerpo{
	/* Este es el delimitador para que la página no sea excesibamente grande */
	max-width: 900px;
	margin:auto;
	height:300px;
/*	background:#00F; */
	margin-top:10px;
	padding:10px;
}

.actividades{
/*	background:#069; */
	float:left;
	width:34%;
	height:auto;
}
.institucion{
/*	background:#0C3; */
	float:left;
	width:33%;
	height:auto%;
}
.calendario{
/*	background:#690; */
	float:right;
	width:33%;
	height:auto;
}
.pie{
	background-color:#333;
	max-width:860px;
	margin:auto;
	padding: 4px;
    text-align: center;
}

/* Estilos para actividades, institución y calendario */

.img_thumb{
    float:left;
	border: 1px solid #CCC;
	padding:2px;
	margin-right:2px;
	border-radius: 5px;
	margin-bottom:2px;
	background-color:#FFF;
	height:auto;
}

.img_text{
	position:relative;
	z-index:2;
	background:#666;
	opacity: 0.9;
	padding:5px;
	height:auto;
}

.img_thumb img{
	z-index:-1;
}
