html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; /* vertical-align: baseline; */ }

html { line-height: 1; }

body {
	/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
	font-family: "Times New Roman", Times, serif;
	font-size: 14px;    line-height: 1.42857143;    
	color: #555555; position: relative; 
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; 
}

a { text-decoration: none; color:#0a7ac0;}
a:hover { text-decoration: underline; color:#2a9ae0;}


table { border-collapse: collapse; border-spacing: 0; }

caption, th, td { text-align: left; font-weight: normal;  } /* vertical-align: middle; */


#principal{

width: 100%;
max-width: 1280px;
margin:0px auto;

}




.subtitulo
{
	color: #770000;
	font-size:1.2em;
	padding:10px;
	border-bottom:3px solid #AA0000;
}


/*------------- menu nuevo -------------*/
a.menuop{
	color: #eee!important;
	padding:15px;
	display: inline-block;
	font-size:1.2em;
	font-weight: bold;
	text-decoration: none
}
.menuop:hover{
		background-color: #000;
		color:#ff6b00;
	}

.dropdown-menu{	
	border: 2px solid #333;
	font-size: 1.2em;
	font-weight: bold;
	color:#333;
	background-color: #ddd;
}
/*------------- --- -- ---- ------------*/

#menubarra1{
    background-color: #0a7ac0;
    text-align:right;
    border-bottom: 2px solid #ff6b00;
}

#logobarra1{
	background-image: url("img/fondo4.png");
    border-bottom: 2px solid #FFF;
}

#barramenus{
    background-color: #333333;
    border-bottom: 2px solid #aaa;
}

#menubarra2{
    margin-right: 160px;
}

#menubarra3{
	float:right;
    width: 160px;
}

@media only screen and (max-width: 600px) {
	#menubarra3{
		width: 60px;
	}
	#menubarra2{
    	margin-right: 60px;
	}

}


.sombrablanca{
	 text-shadow: 1px 1px 1px #fff,-1px -1px 1px #fff, 1px -1px 1px #fff,-1px 1px 1px #fff;
}
.sombranegra{
	 text-shadow: 1px 1px 1px #000,-1px -1px 1px #000, 1px -1px 1px #000,-1px 1px 1px #000, 2px 2px 2px #000;
}
.rounded {
	font-size: 30px;
	background: orange;
	border-radius: 1em;
	color: white;
	text-align: center;
	padding: 0.2em;
	height: 1.5em;
	float: left;
}
.limpiador {clear:both; padding:0; border-style:none; }

/*
#barratitulo
{
/*	position: relative;
	margin:0px 30px;
	 min-height: 120px; /* tamaño  del icono*
*
}
*
@media only screen and (max-width: 680px) {
	#barratitulo img{
		height: 80px;
	}
}
*/
.caja_enlace_derecha_gris
{
 border:1px solid #999; background-color:#efefef;
 width: 25%;
 min-width: 300px;
 padding: 5px 20px;
 margin-left:auto;
 text-align:center;
}

/* ------------- IMAGENES POPUP tipo lightbox ------------- */
.black_overlay /* fondo negro transparente */
{
display: none;
position: fixed;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: black;
z-index:1001;
-moz-opacity: 0.8;
opacity:.80;
filter: alpha(opacity=80);
}
.white_content /* contenido flotante */
{
display: none;
position: fixed;
top: 5%;
left: 8%;
width: 80%;
padding: 8px 16px 16px 16px;
border: 3px solid #000;
background-color: white;
z-index:1002;
overflow: auto;
}



/* ------------ donaciones ------------------ */

.donaciones
{
  width: 100%;
  text-align:center;
  padding:20px 10px 20px 0px;
  
}

.donaciones table
{
	border:0px solid #777;
}

.donaciones table th
{
	background-color:#663333;
	color: #eee;
	padding:5px;
	text-align:left;
}

.donaciones table td
{
	border-bottom:1px solid #777;
	font-size:0.9em;
}




/* ------------ Acervos ------------------ */

#acervos
{
  width: 100%;
}

.unacervo
{
  text-align:center;
  width: 33.33333%;
  float: left;
  height: 350px;
  overflow: hidden;
}

@media only screen and (max-width: 1280px) {
	.unacervo{
		width: 50%;
	}
}

@media only screen and (max-width: 800px) {
	.unacervo{
		width: 100%;
	}
}


.unacervo .interior
{
	text-align:center;
	border:1px solid #888;
	margin:10px;
	padding:10px;
	min-height: 300px;
}

.acervotitulo
{
	font-size:1.6em;
	padding: 0px 20%;
}

.acervoperiodo
{
	font-size:1.2em;
	font-weight: bold;
	color: #000000;
}

.acervodescripcion
{
	font-size:0.9em;
	color: #666;
	font-style: italic;
}


/* ------------ Publicaciones ------------------ */

#publicaciones
{
  width: 100%;
  margin; 20px 0px;
}

.unapublicacion
{
  text-align:center;
  width: 20%;
  float: left;
  height: 300px;
  overflow: hidden;
  border:0px solid blue;
  position: relative;
}


@media only screen and (max-width: 1100px) {
	.unapublicacion{
		width: 25%;
		height: 300px;
	}
}
@media only screen and (max-width: 900px) {
	.unapublicacion{
		width: 33.3333333%;
		height: 300px;
	}
}

@media only screen and (max-width: 720px) {
	.unapublicacion{
		width: 50%;
		height: 300px;
	}
}

@media only screen and (max-width: 500px) {
	.unapublicacion{
		width: 100%;
		height: 300px;
	}
}

.unapubliportada
{
 background-color:#eeeeee;
 border: 0px solid #cccccc;
 height : 270px; 
 width: 100%;
 border-radius: 0.3em;
 box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.35);
 
}

.unapublitexto
{
 background-color: rgba(0, 0, 0, 0.6);
 border: 1px solid #000;
 display: none;
 color: #fff;
 font-size:0.8em;
 width:90%;
 border-radius: 1em;
 box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.35);
}


.unapubliportada:hover .unapublitexto
{
	display:block;
	
}




/*
.unapublitablaimagen
{
	border:0px solid red;
	height : 300px;
    width: 200px;
}
*/

/*
.unapublicaciondatos
{
	text-align:left;
	margin-left:210px;
	padding:10px;
	font-size:0.9em;
}
*/

/*
.acervotitulo
{
	font-size:1.6em;
	padding: 0px 20%;
}

.acervoperiodo
{
	font-size:1.2em;
	font-weight: bold;
	color: #000000;
}

.acervodescripcion
{
	font-size:0.9em;
	color: #666;
	font-style: italic;
}

*/


/* ------------ Pruebas ------------------ */

	.menuanimado
	{
		position: absolute;
		top:0px;
		width:100px;
		padding:10px 0px;
		border-bottom: 3px solid #666666;
		border-left: 3px solid #666666;
		border-right: 3px solid #666666;
		background-color: #bbbbbb;
		margin: 0px;
		text-align:center;
		border-bottom-left-radius: 1.2em;
		border-bottom-right-radius: 1.2em;
		-webkit-border-bottom-left-radius: 1.2em;
		-webkit-border-bottom-right-radius: 1.2em;
		-moz-border-radius-bottomleft: 1.2em;
		-moz-border-radius-bottomright: 1.2em;
	}

	.menunaranja
	{
		width:120px;
		border-bottom: 3px solid #666666;
		border-left: 3px solid #666666;
		border-right: 3px solid #666666;
		background-color: #bbbbbb;
	}
	.menublanco
	{
		border-bottom: 3px solid #000;
		border-left: 3px solid #000;
		border-right: 3px solid #000;
		background-color: #fff;
	}


.menuanimado a
	{
		color: #333;
		font-size: 16px; 
		font-variant: small-caps;
		text-decoration:none;
	}

.menuanimado a:hover
	{
		color: #fff;
		text-shadow: 1px 1px 1px #000;
	}

.menuanimado::before
	{
		display:block;
		content: '';
		border: 0px solid #999999;
		height: 10px;
	}


.menuanimado::after
	{
		display:block;
		content: '';
		border: 0px solid #999999;
		height: 10px;
		-webkit-transition: all 1s;
		transition: all 1s;
	}


.menuanimado:hover::after {
	height: 40px;
	-webkit-transition: all 1s;
    transition: all 1s;
}
.menuanimado:hover {
	background-color: #999999;
	-webkit-transition: all 1s;
    transition: all 1s;
}



@media only screen and (max-width: 480px) 
{
	.menuanimado
	{
		display:none;
	}
}

/* ------------        ------------------ */

.txt_azul
{

	background-color: #0A7AC0;
	color: #ffffff;
	padding: 10% 10% 10% 20%;
	font-size:1.2em;
	text-align: justify;

}

.txt_azul .tituloseccion
{
	color: #ffffff;
	margin-bottom: 50px;
	font-size:2em;
}

/* ------------        ------------------ */

/* Navigation (with dropdowns) */
ul.tab-boot {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333333;
}
ul.tab-boot li {
    float: right;
}

ul.tab-boot li a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #999;
    padding: 6px 10px;;
}


/* Navigation (with dropdowns) */
ul.tab-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333333;
}

ul.tab-nav li {
    float: right;
}

ul.tab-nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 6px 10px;;
    text-decoration: none;
    color: #999;
}

ul.tab-nav li a:hover {
    background-color: #111111;
    color: #fff;
}

/* Navigation (with dropdowns) */
ul.tab-nav2 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333333;
    /*border-bottom: 2px solid #aaa;*/
}

ul.tab-nav2 li {
    float: left;
}

ul.tab-nav2 li a {
    display: block;
    color: white;
    text-align: center;
    padding: 16px;
    text-decoration: none;
    font-size:1.2em;
}

ul.tab-nav2 li a:hover {
    background-color: #111111;
}

/* Navigation (with dropdowns) */
ul.tab-nav3 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333333;
    /*border-bottom: 2px solid #aaa;*/
}

ul.tab-nav3 li {
    float: left;
}

ul.tab-nav3 li a {
    display: block;
    color: white;
    text-align: center;
    padding: 13px 10px 7px 10px;
    text-decoration: none;
    font-size:1.1em;
}

ul.tab-nav3 li a:hover {
    background-color: #111111;
}




#contenido{
	padding:20px 20px 70px 20px;
	display:block;
	min-height: 400px;
	font-size: 1.4em;
	color: #333;
	text-align: justify;
	line-height: 140%;
	background-image: url("img/cenefafinal.png");
	background-repeat: no-repeat;
	background-position: center bottom;
	margin-bottom: 30px;
}

#contenido_pre{

	background-image: url("img/cenefainicio.png");
	background-repeat: no-repeat;
	background-position: center top;
	margin-top: 30px;
	padding: 20px 0px;
}


#contenido p{
	padding:5px 0px;
}

h1{
	padding:10px 0px;
	color: #740000;
	font-size: 2em;
	font-variant: small-caps;
	background-image: url("img/underline.png");
	background-repeat: no-repeat;
	background-position: left bottom;
	margin-bottom: 10px;
}

h2{
	padding:10px;
	color: #740000;
	font-size: 1.4em;
	font-variant: small-caps;
	font-weight: bold;
}


.imgilustracion_izq{
	margin:10px 20px 5px 0px;
	max-width: 400px;
	width: 30%;
	border-radius: 1em;
}

.imgilustracion_der{
	margin:10px 0px 5px 20px;
	max-width: 400px;
	width: 30%;
	border-radius: 1em;
}

.parrafovinietas{
	padding:3px 0px;
	font-size: 0.9em;
	margin-left: 40px;
}


/* -------------- AGENDA ------------- */
.agenda_item{
	border-bottom: 10px solid #ddddff;
	margin-bottom: 10px;
	min-height:300px; 
}

.agenda_item_interior{
	border-left: 3px solid #ff6b00;
	margin:10px 10px 10px 210px;
	padding: 10px;
}

.agenda_item p{
	line-height: 1.2em;
	
}
.agenda_item .fotoevento{
	width:200px; 
	max-height:290px; 
	overflow:hidden; 
	float:left;
	text-align:center;
}


@media only screen and (max-width: 1024px) {

	.agenda_item{

	}

}


@media only screen and (max-width: 640px) {

	.agenda_item{
	
	}
	.agenda_item .fotoevento{
		float:none;
	}


	.agenda_item .agenda_item_interior
	{
		margin:10px 10px 10px 10px;
	}
}


#agenda_calendario
{
	width: 300px;
	padding: 5px 5px 20px 5px;
	float: left;
}

#agenda_items
{
	margin-left: 300px;
	border: 2px;
	padding: 5px;
}

@media only screen and (max-width: 800px) 
{

	#agenda_calendario
	{
		width: 100%;
		margin: 0px auto;
	}
	
	#agenda_items
	{
		clear:both; 
		padding:0; 
		margin: 0px;
	}

}



/*-----------------  CALENDARIO -------------*/
table.calendario
{
	width: 280px;
	border-radius: 1em;
	border: 1px solid #777;
	padding:2px;
	margin: 0 auto;
}

table.calendario th
{
	text-align:center;
	font-size:0.9em;
	color: #fff;
	
	background: rgba(147,206,222,1);
background: -moz-linear-gradient(top, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(147,206,222,1)), color-stop(41%, rgba(117,189,209,1)), color-stop(100%, rgba(73,165,191,1)));
background: -webkit-linear-gradient(top, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: -o-linear-gradient(top, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: -ms-linear-gradient(top, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: linear-gradient(to bottom, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93cede', endColorstr='#49a5bf', GradientType=0 );
	
	
}

table.calendario tr.nombresdias
{
	font-size:0.7em;
}

table.calendario td
{
	text-align:right;
	font-size:0.8em;
	padding-right:10px;
	border: 1px solid #aaa;
}

table.calendario .diaconevento
{
	background-color: #ffffcc;
	border-bottom: 4px solid #ff6b00;
	color: #000;
}

table.calendario .diasinevento
{
	background-color: #fff;
	color: #777;
}


/* -------------- AGENDA PRINCIPAL ------------- */
#agenda_bloque{
	margin-bottom:10px;
}

.agenda_cuadro{
	width: 33.33333%;
	float: left;
}

.agenda_cuadro_interior{
	border: 2px solid gray;
	border-radius: 0.6em;
	margin: 5px 10px;
	padding: 5px;
}


@media only screen and (max-width: 1280px) {

	.agenda_cuadro{
		width: 50%;
	}

}


@media only screen and (max-width: 800px) {

	.agenda_cuadro{
		width: 100%;
	}

}

/* ----- Pie de pagina ----- */


#piedepagina{
	background-color: #062A41;
	color: #ccc;
	padding:20px;
/*	min-height:400px;*/
	clear:both;
	border: 0px solid red;
}

#piedepagina a{
	color: #ccc;
	text-decoration: none;
}
#piedepagina a:hover{
	color: #fff;
}



#redessociales{
	text-align: center;
}

#redessociales img{
	margin: 1px 20px;
	width: 48px;
	height: 48px;
	
}

#ligasdeinteres{
	float:left;
	width: 45%;
	padding:10px;
	background-color: #062A41;
	
}


#domiciliopie{
	margin-left: 50%;
	text-align:center; 
	padding:10px; 
	border: 0px solid green;
	border-left: 2px solid #CCC;
	background-color: #062A41;
	min-height: 550px;
	
}




@media only screen and (max-width: 800px) {

	#ligasdeinteres{
		float:none;
		width: 100%;
		border-right: 0px solid #aaa;
	}
	
	
	#domiciliopie{
		width: 98%;
		border-left: 0px solid #CCC;
		border-top: 2px solid #CCC;
		
		margin-left: 0%;
	}


}




.enlacesul{
	padding:4px;
	color: #fff;
	list-style-image: url('img/ico_url.png');
	font-size: 1.1em;
	margin-left:20px;
}

.enlacesul li{
	padding:10px 0px;;
}



#derechospie{
	width: 100%;
	padding: 20px 0px;
	text-align:center; 
	font-size: 0.8em;
	background-color: #062A41;
	color: #ccc;
}

