/* Start of CMSMS style sheet 'palenciana : portada' */
/*******************************/
/* ESTILOS DE PORTADA DE PALENCIANA */
/*******************************/

#contenidoportada {
    clear:both;
    width:950px;    
    overflow:hidden;
    background:#fefefe;
    padding-left:0px;
}

#contenidoportada a:hover{
   text-decoration:underline;
}


#contenidoportada h3  {
   color:#FFF;
   margin: 0px;
   padding: 0px;
}

#contenidoportada #columnaizquierda {
  float:left;
  margin-right:4px;
  margin-top:10px;
  width:510px;
}


#contenidoportada #columnacentro{
  margin-right:5px;
  margin-top:10px;
  width:230px;
  float:left;
}

*html #contenidoportada #columnacentro{
  margin-right:2px;
}

#contenidoportada #columnaderecha{
  width:195px;
  float:left;
  margin: 10px 0 0 6px;
  
}





/************Noticias de portada **************/
#contenidoportada #noticiasportada{
   float:left;
}

#contenidoportada #noticiasportada h2{
  background: transparent url(/uploads/palenciana/h2-actualidad.gif) no-repeat top left;
  width: 510px;
  height: 28px;
  margin: 0 0 0 1px;
  padding: 0;
  text-indent: -3000px;
  float:left;
  border:none;
  top: 0;
}



#contenidoportada #noticiasportada ul{
  margin:0;
  padding: 0;
  background: #ccb674;
  width: 508px;
  margin-left: 1px;
  float:left;
}

 
#contenidoportada #noticiasportada ul li.noticia{
  background: #e6dbba;
  height: 9em;
  width: 40em;
  border: 1px solid #a80000;
  margin: 5px 0 0 7px;
  line-height:1.2em;
}

#contenidoportada #noticiasportada img{
  float:right;
  max-width: 105px;
  max-height: 79px;
  border: 1px solid #a80000;
  margin:0 15px 0 0;
  padding: 0px;
}

*html #contenidoportada #noticiasportada img{
  width: expression(this.width > 105? "105px":this.width);
  height: expression(this.height > 79? "79px":this.height);
  /*width: 105px;*/
}


#contenidoportada #noticiasportada .noticia h3 {
  border:none;
  font-size:1.2em;
  font-weight:bold;
  margin:0;
  padding:0;
}

#contenidoportada #noticiasportada .noticia h3 a{
  color:black;
  font-size:1.2em;
  text-decoration:none;
  line-height: 20px;
}

#contenidoportada #noticiasportada .noticia h3 a:hover{
   text-decoration:underline;
}

*html #contenidoportada #noticiasportada .noticia h3 a{
  font-size: 0.9em;
}

*:first-child+html #contenidoportada #noticiasportada .noticia h3 a{
  font-size: 0.9em;
}

#contenidoportada #noticiasportada  ul li.noticia div {
   margin-top: 3px;
}

#contenidoportada #noticiasportada .masinformacion{
   font-style: italic;
   margin: 5px 0 0 0;
   float:left;
}

*html #contenidoportada #noticiasportada .masinformacion{
  margin-left: 5px;
}

/************Agenda de portada **************/
#contenidoportada #agendaportada{
   float:left;
   margin-top: 1.3em;
}

*:first-child+html #contenidoportada #agendaportada{
  margin-top: 6px;
}

#contenidoportada #agendaportada h3{
  border:none;
  font-size:1.2em;
  font-weight:bold;
  margin:0;
  padding:0;
}

#contenidoportada #agendaportada h2{
  background: transparent url(/uploads/palenciana/h2-agenda.gif) no-repeat top left;
  width: 510px;
  height: 28px;
  margin: 0 0 0 1px;
  padding: 0;
  text-indent: -3000px;
  float:left;
  border: none;
  top:0;
}



#contenidoportada #agendaportada ul{
  margin:0;
  padding: 0;
  background: #ccb674;
  width: 508px;
  margin-left: 1px;
  float:left;
}


#contenidoportada #agendaportada ul.listacalendario li{
  margin:0;
  padding: 0;
  width: 243px;
  margin-left: 1px;
  float:left;
  border: 1px solid black;
  background: #e6dbba;
  border: 1px solid #a80000;
  margin: 5px 0 0 6px;
  min-height: 137px;
  line-height:1.2em;
}


*html #contenidoportada #agendaportada ul.listacalendario li{
  height: 124px;
  margin-left:3px;
}

*:first-child+html #contenidoportada #agendaportada ul.listacalendario li{
   height: 118px;
}

#contenidoportada #agendaportada ul.listacalendario li h3 a {
  margin: 5px 0 0 10px;
  color:black;
  font-size:1.2em;
  text-decoration:none;
  line-height: 20px;
}


#contenidoportada #agendaportada ul.listacalendario li h3 a:hover{
   text-decoration:underline;
}

*html #contenidoportada #agendaportada ul.listacalendario li h3 a{
  font-size: 0.9em;
}

*:first-child+html #contenidoportada #agendaportada ul.listacalendario li h3 a{
  font-size: 0.9em;
}


#contenidoportada #agendaportada img{
  float:left;
  max-width: 86px;
  max-height: 66px;
  border: 1px solid #a80000;
  margin:2px 5px 19px 10px;
  padding: 0px;
}


#contenidoportada #agendaportada dd{
  margin-left: 10px;
  margin-top: 2px;
  padding:0;
}

#contenidoportada #agendaportada .masinformacion{
   font-style: italic;
   margin-left: 10px;
   float:left;
   margin-bottom: 3px;
}

*html #contenidoportada #agendaportada .masinformacion{
  width: 200px;
  margin-bottom:0px;
}

*:first-child+html #contenidoportada #agendaportada .masinformacion{
  width:100%;
  margin-bottom: 0px;
  padding-bottom: 0px;
  margin-top: 1px;
}



/********TRAMITES***********/
#tramitesportada{
   float:left;
}

#tramitesportada h2{
  background: transparent url(/uploads/palenciana/h2-tramites.gif) no-repeat top left;
  height:27px;
  width: 227px;
  margin: 0 0 0 4px;
  padding: 0;
  text-indent: -3000px;
  float:left;
}

#tramitesportada ul{
  margin:0;
  padding: 0;
  background: #ccb674;
  width: 227px;
  margin: 0 0 0 4px;
  float:left;
}

#tramitesportada .vertodo{
  float:left;
  background: transparent url(/uploads/palenciana/ver-todo-chico.gif) no-repeat top left; 
  width: 227px;
  height: 20px;
  margin:0 0 0 4px;
  padding:0px;
}

*html #tramitesportada h2{
  margin:0 0 0 1px;
}
*html #tramitesportada ul{
      margin:0 0 0 1px
}
*html #tramitesportada .vertodo{
  margin:0 0 0 1px
}

#tramitesportada .vertodo a{
    width:53px;
}


#tramitesportada ul li{
  padding: 0;
  width: 212px;
  float:left;
  border: 1px solid black;
  background: #e6dbba;
  border: 1px solid #a80000;
  margin: 10px 0 0 5px;
  min-height: 38px;
}

*html #tramitesportada ul li{
  margin-left: 3px;
}


#tramitesportada ul li a{
  float:left;
  margin: 11px 0 0 0px;
  font-size: 1.15em;
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

#tramitesportada img{
  float:left;
  max-width: 32px;
  max-height: 32px;
  margin:3px 0 0 3px;
  padding: 0px;
}


/*********GALERIA DE IMAGENES ********/
#galeriaportada{
  float:left;
  margin-top: 8px;
}

*html #galeriaportada{
  margin-top: 12px;
}

*:first-child+html #galeriaportada{
  margin-top:13px;
}


#galeriaportada h2{
  background: transparent url(/uploads/palenciana/h2-galeria.gif) no-repeat top left;
  height:27px;
  width: 227px;
  margin: 0 0 0 4px;
  padding: 0;
  text-indent: -3000px;
  float:left;
}

*html #galeriaportada h2{
  margin: 0 0 0 1px;
}

#galeriaportada .vertodo{
  float:left;
  background: transparent url(/uploads/palenciana/ver-todo-chico.gif) no-repeat top left; 
  width: 227px;
  height: 20px;
  margin:0 0 0 4px;
  padding:0px;
}


*html #galeriaportada .vertodo{
  margin:0 0 0 1px;
}

#galeriaportada .vertodo a{
    width:103px;
}

#galeriaportada li.thumb { 
  float:left;
  width: 105px;
  height: 105px;
  margin:10px 0 0 4px;
  padding: 0;
  background: #e6dbba;
  border: 1px solid #a80000;
}

*html #galeriaportada li.thumb { 
  margin-left: 3px;
}


#galeriaportada li.thumb a {
   display:block;
   font-size:0.8em;
   max-height:96px;
   padding:0;
   text-align:center;
   max-width:96px;
   border:none;
   background: none;
}

#galeriaportada ul{
  margin:0;
  padding: 0;
  background: #ccb674;
  width: 227px;
  margin: 0 0 0 4px;
  float:left;
}

*html #galeriaportada ul{
  margin: 0 0 0 1px;
}

#galeriaportada li img {
   float:left; 
    max-height:96px;
   max-width:96px;
   border:none;
   margin: 5px 0 0 5px;
}



*html #galeriaportada li img {
  margin-left: 3px;
}

*:first-child+html #galeriaportada li img {
  margin-left: 0px;
}


/************ENLACES DE INTERES *************/
#enlacesinfo{
   float:left;
}


#enlacesinfo h2{
   float:left;
   background: transparent url(/uploads/palenciana/h2-infointeres.gif) no-repeat top left;
   height:18px;
   width: 195px;
   margin: 0; 
   padding: 0;
   text-indent: -3000px;
   border-bottom: 2px solid #316400;
 }

#enlacesinfo ul{
  margin:5px 0 0 0;
  padding: 0;
  width: 195px;
  float:left;
}


#enlacesinfo ul li{
  float:left;
  width:100%;
  background:none;
  padding:0;
}

#enlacesinfo ul li a{
   float:left;
   margin: 7px 0 0 5px;
   color: black; 
   text-decoration:none;
}

#enlacesinfo img{
   float:left;
}


/*************enlaces portada ***********/
#enlacesportada{
   float:left;
   margin-top:28px;
   width:100%;
}

#enlacesportada h2{
   float:left;
   background: transparent url(/uploads/palenciana/h2-enlaces.gif) no-repeat top left;
   height:18px;
   width: 107px;
   margin: 0; 
   padding: 0;
   text-indent: -3000px;
   border-bottom:2px solid  #316400;
 }

#enlacesportada ul{
  margin:5px 0 0 0;
  padding: 0;
  width: 195px;
  float:left;
}


#enlacesportada ul li{
  margin: 3px 0 0 4px;
  background:none;
  padding:0;
}

#enlacesportada ul li a img{
   border: 1px solid #a80000;
}

/*borrar*/
#enlacesportada .vertodo{
float:left;
border-bottom:2px solid  #316400;  
height:18px;
margin:0;
padding:0;
width:88px;

}

#enlacesportada .vertodo a{
  background:url("/uploads/palenciana/ver-todo-flecha-blanco.gif") no-repeat scroll right -1px transparent;
/*  border-bottom:2px solid #316400;*/
 border:none;
  height:18px;
  margin:0;
  padding:0;
  width:88px;
  color:#316400;
}


/**************eltiempo***************/
#eltiempo{
  float: left;
  margin: 25px 0 0 0;
}

#eltiempo h2{
   float:left;
   background: transparent url(/uploads/palenciana/h2-tiempo.gif) no-repeat top left;
   height:18px;
   width: 195px;
   margin: 0; 
   padding: 0;
   text-indent: -3000px;
   border-bottom: 2px solid #316400;
 }

#eltiempo #tiempocontenido{
     background:none repeat scroll 0 0 #FFFFFF;
     margin:23px 15px 0 4px;
     padding-left:4px;
   
}

*html #eltiempo #tiempocontenido{
  margin-top:0px;
}

/**********COMUN***********/

#noticiasportada .vertodo,  #agendaportada .vertodo{
  float:left;
  background: transparent url(/uploads/palenciana/ver-todo.gif) no-repeat top left; 
  width: 510px;
  height: 20px;
  margin:0px 0px 0px 1px;
  padding:0px;
}


.vertodo a{
  color: black; 
  float:right;
  margin: 3px 8px 0 0;
  text-decoration: none;
  background: transparent url(/uploads/palenciana/ver-todo-flecha.gif) no-repeat right -1px; 
  width: 90px;
}


/****************contenido abajo *****************/

#bannersportada{
  float:left;
  clear:both;
  width:950px;    
  margin-top: 4px;
  margin-left: 2px;
}

#bannersportada ul{
  float:left;
  margin:0;
  padding:0;
}


#bannersportada ul li{
  float:left;
  margin: 0 4px 0 0;
  background:none;
  padding:0;
  width:186px;
  overflow:hidden;
}


#bannersportada ul li a:hover{
  text-decoration:none;
}

#bannersportada img{
  border:none;
  width:186px;
}

}
/* End of 'palenciana : portada' */

/* Start of CMSMS style sheet 'palenciana : comun' */
/*  ESTILOS COMUNES PALENCIANA */

html{
 height:100%;
 background:#fff;
}

body {    
     color:#000;
     font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
     font-size:12px;
     line-height: 1.3em;
     margin:0;
     text-align:left;
    }

/* hacks para que funcione correctamente el centrado de la web en IE5.5 */
@media tty {
i{content:"\";/*" "*/}} body{text-align:center;} /*";}
}/* */ 


ul{
   list-style:none;
}

ul li{  
   background:url("/uploads/palenciana/li.gif") no-repeat scroll 0px 7px transparent;
   padding-left:1em;
   line-height:1.5em;
}


/*********** ENLACES **************/
a {
    color:#316400;
    text-decoration:none;
    outline:none;
}

a:focus, a:hover {
    font-style:italic;
    text-decoration: underline;
    outline:none;
}


/*********** H1...H6 ***********/
/*h1, h2, h3, h4, h5, h6 
{
        font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
        font-weight:normal;
        color:#000;
        margin:0;
        clear:both;
}

h1 {font-size:2.3em;line-height:1;}

h2 {font-size:1.8em;line-height:1em;}
*/
h3 {
      font-size:1.3em;
      line-height:1em;
      font-weight:normal;
      font-style:normal;
      margin-bottom:0.5em;
      margin-top:1em;
      padding-bottom:2px;
      border-bottom:2px solid #000; 
 }

h4 {font-size:1.1em;
margin-bottom:0.5em;
margin-top:0.4em;
text-decoration:underline;}

h5 {
font-size:1em;font-weight:normal;margin-bottom:0.3em;margin-top:0.3em;margin-left:0px;text-decoration:underline;
}
h6 {font-size:0.9em;font-weight:normal;margin-bottom:0.3em;margin-top:0.3em;margin-left:0px;text-decoration:underline;}

/*** CONTENEDOR ***************************************************/
#contenedor{
   background:#fff;
   margin:0 auto; /*centrar página */
   overflow:hidden; 
   width:960px;
   text-align:left;
}


/********************CABECERA************************/
#cabeceradoble{
   width:950px;
   height:190px;
   background: transparent url(/uploads/palenciana/cabecera.gif) no-repeat top left;
}

*html #cabeceradoble{
   height:0px;
}

#cabecera{
    width:950px;
    height:168px;
    overflow:hidden; 
    float:left;
}

#banner
{
  width:609px;
  height:128px;
  float:right;
   background: transparent url(/uploads/palenciana/flash.jpg) no-repeat top left;
}

/*
#banner
{
  width:590px;
  height:167px;
  float:left;
  margin-top:1px;
  margin-left:1px;
}
*/
#cabeceraizquierda
{
  float:left;
  width:340px;
  height:128px ;
}



#cabeceracima
{
    width:950px;
    height:22px;
    background: none;
/*    float:right;*/
}

#cabeceraizquierda h1 {
  width:340px;
  height:128px;
  padding:0;
  margin:0;
}

*html #cabeceraizquierda{  
    height: 122px;
}

*html #cabeceraizquierda h1{
    height: 122px;
}

#cabeceraizquierda h1 a{
  display:block;
  width:340px;
  height:132px;
  text-indent:-2000em;
}


*html #cabeceraizquierda h1 a{
  height: 124px;
}

/*Hack IE6 */
*html #cabeceracima{
  margin-right:2.5em;
}


/**************   MENU CONTACTO **********************/
ul#menucontacto{
    list-style-type:none;
    margin:0px 2px 0 525px;
    float:left;
    text-align:center;
    overflow:hidden;
    height: 21px;
    width:254px;
   background: none;
    padding: 0;

}

*html ul#menucontacto{
  margin-left:263px;
}




ul#menucontacto li {
   background:transparent none repeat scroll 0 0;
   float: left;
   /*padding-right:12px;*/
   text-align: left;
   text-align:center;
   font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
   /*line-height:1.1em;*/
   color: #fff;
   margin-top:0.2em;
   margin-right:0.8em;
   padding:0;
}


*html ul#menucontacto li{
  margin-right:0.5em;
}

*:first-child+html ul#menucontacto li{
    margin-right:0.5em;
}



ul#menucontacto li.rss{
  background: transparent url('/uploads/palenciana/rss.gif') no-repeat 25px -4px;
  text-align: left;
  width:42px;
  height:15px;
  float:left;
}

*html ul#menucontacto li.rss{
background: transparent url('/uploads/palenciana/rss.gif') no-repeat 25px -1px;
}

*:first-child+html ul#menucontacto li.rss{
background: transparent url('/uploads/palenciana/rss.gif') no-repeat 25px -2px;
}

ul#menucontacto  li.primero{
  border:none;
}

ul#menucontacto li.activo{
   /*font-weight:normal;
   color:#0A44A2;*/
   font-style:italic;
}

ul#menucontacto li a{
  border:none;
  text-align:center;
  font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
  font-weight:normal;
  line-height:1.1em;
  color:#000;
  text-decoration:none;
}


*html ul#menucontacto li a{
  line-height:1.5em;
}


*:first-child+html ul#menucontacto li a{
   line-height:1.5em;
}
ul#menucontacto li a:hover{
   color:#000;
   text-decoration:underline;
}



/****** BUSCADOR **************************/
#cabeceracima form{
    float:right;
    width:162px;
}


/*Texto: Buscar */
#cabeceracima form label{
  float:left;
  text-indent: -3000px;
  width: 38px;
  margin-left: -45px;
}

/*Cuadro de búsqueda  (también sería la lupa, que después se sobreescribe más abajo*/
#cabeceracima form input {
 background: none;
  width:120px;
  height:15px;
  font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
  border:none;
  margin-top:2px;
  margin-left:2px;
  color:#000;
  font-size:1em;
  float:left;
  overflow:hidden;
 }


/*Lupa para buscar */
#cabeceracima form input.boton{
 background: transparent url('/uploads/palenciana/lupa.gif') no-repeat scroll 0px 0px;
/*float:left;*/
 width:17px;
 height:26px;
 border:none;
 text-indent:-2000em;
 font-size:0em;
 cursor:pointer;
 margin-left:14px;
}


#cabeceracima form input.boton:hover{
/* background-position:bottom right;*/
}


/*************MENU PRINCIPAL ***************/
#contenidomenuprincipal{
    width:514px; 
    height:34px;
    /*overflow:hidden;
    float:left;*/
}

ul#menuprincipal{
  float:left;
  width:519px;
  height:34px;
  overflow:hidden;
  margin-top:2px;
  margin-left:5px;
  padding: 0;
}



*html ul#menuprincipal{
    height:31px;
    width:490px;
}

*:first-child+html ul#menuprincipal{
   margin-top:8px;
}

ul#menuprincipal li{
  width:186px;
  height:31px;
  padding:0;
  margin:0;
  float:left;
}

#menuprincipal li a, #menuprincipal li span{
  text-indent:-2000em;
  display:block;
}

ul#menuprincipal li a{
  with:100%;
  height:100%;
}

#menuprincipal li.ayuntamiento { 
  width:170px;
  height:31px;
 }

#menuprincipal li.municipio { 
 width:125px;
 height:31px;
 margin-left:5px;
 }

#menuprincipal li.oficina-virtual { 
 width:180px;
 height:31px;
 }


#menuprincipal li.ayuntamiento a { 
 background: transparent url('/uploads/palenciana/ayuntamiento.gif') no-repeat left top;
 }


#menuprincipal li.municipio a { 
 background: transparent url('/uploads/palenciana/municipio.gif') no-repeat left top;
 }


#menuprincipal li.oficina-virtual a { 
 background: transparent url('/uploads/palenciana/oficina-virtual.gif') no-repeat left top;
 }
 /* Hover: Muestro la segunda imagen, como cada imagen es de 30, la segunda será 
    -30. Recordemos que tenemos las tres en un sólo .jpg que es de  anchura * 90.
    En la primera, tenemos el <a> normal, la siguientes es -hover- y la última  -activo- */

#menuprincipal li a:hover { 
   background-position: left -37px;
   height:31px;
}


#menuprincipal li a.activo{ 
   background-position: bottom left;
   height:26px;
   margin-top:1px;
}


#menuprincipal li.ayuntamiento span.activo { 
   background: transparent url('/uploads/palenciana/ayuntamiento.gif') no-repeat bottom left;
   height:26px;
   margin-top:1px;
}

#menuprincipal li.municipio span.activo { 
   background: transparent url('/uploads/palenciana/municipio.gif') no-repeat bottom left;
   height:26px;
   margin-top:1px;
}

#menuprincipal li.oficina-virtual span.activo { 
   background: transparent url('/uploads/palenciana/oficina-virtual.gif') no-repeat bottom left;
   height:26px;
   margin-top:1px;
}


/*#menuprincipal li.municipio a.activo{ 
   background-position: bottom left;
   margin-top: 5px;
}*/

/******************PIE*******************/
#contenedorpie{
     background: transparent url('/uploads/palenciana/pie-bk.gif') repeat-x;
     height:76px;
}



#contenedorpie #pie{ 
  width:960px;
  margin: 0 auto;
}

/**************      PIE     *****************************/
#pie {
    width:953px;
    height:45px;
    margin-top:20px;
}

/*Hack IE7 */
*:first-child+html #pie {
  margin-top:10px;
}

/*Hack IE6 */
* html #pie {
margin-top:10px;
}

#pie #contenidopie{
    width:953px;
    height:45px;
    overflow:hidden;   
}


#pie #datospie{
  float:left;
  padding-top:33px;
  padding-left: 65px;
  margin:0;
  width:535px; /*aumentando este width, desplazamos a la dha. los iconos accesibilidad sin poner margin*/
  background:transparent url('/uploads/palenciana/escudo-pie.gif') no-repeat left 4px;
  height:45px;
}

#pie #datospie a{
   color:#fff;
   text-decoration:none;
}


/*Hack IE6*/
#pie p{
  margin: 23px 0 0 0;
  float:left;
  text-align:left;
  color:#fff; 
  margin-left:8px; 
 }

/*hack IE6 dobla el margen */
*html #pie p{
/*  margin-left:4px;*/
  margin-top:27px;
}

#pie #datospie p{
/************************
  Heredada del body
 font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
 font-size:.95em;
 line-height:1.2em;
 color: #000;
****************************/
 width:auto;
 font-size:1em;
 line-height:1em;
 color:#fff;
 margin:0;
 float:none;

}

/*Cogemos el <a> general 
#pie a{
color:#40221e; 
}
*/

/*******
 Para que funcione en IE 6-7 pues resulta que sus hijos los <a> si tienen el width pero como
sus padres -accesibilidad y validxthm10 no lo tenían puesto, IE6-7 los hacía más grandes
(como la ventana padre de estos).
**********************/
#pie p#accesibilidad,#pie p#validxhtml10{
 width:71px;
}

#pie  p#disenaeprinsa a,#pie  p#creadoconportal a,#pie p#accesibilidad a,
#pie p#validxhtml10 a,#pie p#juntaandalucia a{	
	height:28px;
        text-indent: -1000em;
	margin-top:10px;
	float: left;
}

/*Hack IE6*/
* html #pie  p#disenaeprinsa a,* html #pie  p#creadoconportal a,* html #pie p#accesibilidad a,
* html #pie p#validxhtml10 a,* html #pie p#juntaandalucia a{	
	margin-top:5px;
}

#pie  p#disenaeprinsa a{
	background:transparent url('/uploads/palenciana/disenaeprinsa-peque.gif') no-repeat top;       
	width:67px;	
        margin-right:0px;
        height:24px; 
}

#pie  p#disenaeprinsa a:hover{
	background-position:bottom;       
}

#pie  p#creadoconportal a{
	background:transparent url('/uploads/palenciana/creadoconportal-peque.gif') no-repeat top;        
	width:56px;	   	
        margin-right:0px;
        height:24px;
}

#pie  p#creadoconportal a:hover{
	background-position:bottom;
}

#pie p#juntaandalucia a{
	background:transparent url(uploads/palenciana/jandalucia-peque.gif) no-repeat top;       
        float:left;
	width:47px;	       
        margin-right:0px;
        height:24px;
}

#pie p#juntaandalucia a:hover{
	background-position:bottom;
}

#pie p#accesibilidad a{
	background:transparent url('/uploads/palenciana/accesibilidadAA-peque.gif') no-repeat top;        
	width:71px;	
        float:right;
        margin-right:0px;
        height:24px;
}
#pie p#accesibilidad a:hover{
	background-position:bottom;
}

#pie p#validxhtml10 a{
	background:transparent url('/uploads/palenciana/xhtml-peque.gif') no-repeat top;    
	width:71px;		   
        float:right;
        margin-right:0px;
        height:24px;
}


#pie p#validxhtml10 a:hover{
	background-position:bottom;
}

/**************************************/
/************CUERPO********************/
/**************************************/
#cuerpo{
  width:950px;
  overflow:hidden;
}


/*****MENU SECUNDARIO***********/
#columnaizquierda{
    width:200px;
    margin-left:0px;
    float:left;
    overflow:hidden;
}

#columnaizquierda h2{
  width:200px;
  height:22px;
  margin:0 0 2px 0;
  padding:0;
  border-bottom:2px solid #316400;
  position:relative;
  top:12px;
  left:0px;
  text-indent:-500em;
}

#columnaizquierda h2.ayuntamiento{
  background: transparent url(/uploads/palenciana/h2-ayuntamiento.gif) no-repeat scroll top left;
}
#columnaizquierda h2.municipio{
  background: transparent url(/uploads/palenciana/h2-municipio.gif) no-repeat scroll top left;
}
#columnaizquierda h2.oficina-virtual{
  background: transparent url(/uploads/palenciana/h2-oficinavirtual.gif) no-repeat scroll top left;
}


ul#menusecundario{
    width:200px;
    float:left;
    overflow:hidden; 
    padding: 10px 0 0 0;
    margin:5px 0 1px 0;
}


ul#menusecundario li { 
  width:204px;
  float:left;
  padding:0;
  margin:0;
  overflow:hidden;
  background:none;
}


ul#menusecundario li a,
ul#menusecundario li span {
  float:left;
  font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
  font-size:1em;
  font-weight:normal;
  line-height:2em; 
  letter-spacing:0px;
  color:#000;
  width:200px; 
  padding-left:15px;
  background: transparent url(/uploads/palenciana/li-menusecundario.gif) no-repeat scroll left 5px;
  text-decoration:none;
}

ul#menusecundario li a:hover{
  background: transparent url(/uploads/palenciana/li-menusecundario-hover.gif) no-repeat scroll left 5px;
  color:#a80000;
}

ul#menusecundario li a.activo,
ul#menusecundario li span{
  background: #316400 url(/uploads/palenciana/li-menusecundario-activo.gif) no-repeat scroll left 5px;
  color:#FFF;
}


/******** COLUMNA CENTRO ANCHA ************************/
#columnacentroancha{
  width:735px;
  float:right;
  overflow:hidden;
}

#columnacentroancha h2{
    background: #316400;
    color: #FFF;
    width:722px;
    height: 25px;
    padding-top:4px;
    padding-left:10px;
    margin:0;
    font-size:1.5em;
    line-height:1.1em;
}


#columnacentroancha_cabecera  {
background:url("uploads/palenciana/contenido-h2-cabecera.gif") no-repeat scroll left top transparent;
float:right;
height:4px;
margin:4px 0 0 0 ;
padding:0px;
overflow:hidden;
width:735px;
}

#columnacentroancha_pie {
  width:732px;
  height:5px;
  float:left;

  background:url("uploads/palenciana/contenido-pie.gif") no-repeat scroll left bottom transparent;
}

*html #columnacentroancha_pie {
   margin-top:-9px;
}


/******** COLUMNA CENTRO************************/
#columnacentroestrecha{
  width:565px;
  float:left;
  overflow:hidden;
  margin: 0 0 0 15px;
  padding-right: 10px;
  border-right: 3px solid #316400;
}

#columnacentroestrecha h2{
    background: #316400;
    color: #FFF;
    width:560px;
    height: 25px;
    padding-top:4px;
    padding-left:10px;
    margin:0;
    font-size:1.5em;
    line-height:1.1em;
}


#columnacentroestrecha_cabecera  {
background:url("uploads/palenciana/contenido-h2-cabecera-chica.gif") no-repeat scroll left top transparent;
float:left;
height:4px;
margin:4px 0 0 0 ;
padding:0px;
overflow:hidden;
width:565px;
}

#columnacentroestrecha_pie {
  width:565px;
  height:5px;
  float:left;
  background:url("uploads/palenciana/contenido-pie-chico.gif") no-repeat scroll left bottom transparent;
}

*html #columnacentroestrecha_pie {
   margin-top:-9px;
}

#columnacentroestrecha #elcontenido{
  overflow:hidden;
  width:565px;
  margin:0px;
  background: #ccb674;
}


#columnacentroestrecha #elcontenido #cuerpocontenido{
    background:none repeat scroll 0 0 #E6DBBA;
    border:1px solid #A80000;
    margin:6px 6px 1px;
    min-height:450px;
    padding:5px 5px 20px 5px;
    height:auto;
    float:left;
    width:97%;
}

*html #columnacentroestrecha #elcontenido #cuerpocontenido{
  height: expression(this.height < 450? this.height:"450px");
  width: 95%;
  margin-left:4px;
  /*width: 105px;*/
}


/***********MENUTERCIARIO *****************/

ul#menuterciario{
    width: 13em;
    float:left;
    overflow:hidden; 
    padding: 10px 0 0 0;
    margin:5px 0 1px 0;
}


ul#menuterciario li { 
  width: 13em;
  float:left;
  padding:0;
  margin:0;
  overflow:hidden;
  background: url("/uploads/palenciana/borde-li.gif") no-repeat scroll left top transparent;
}


ul#menuterciario li a,
ul#menuterciario li span {
  float:left;
  font-family:Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
  font-size:0.9em;
  font-weight:normal;
  line-height:1.5em; 
  letter-spacing:0px;
  color:#000;
  width:13em ;
  padding-left:15px;

  /*background: transparent url(/uploads/palenciana/li-menusecundario.gif) no-repeat scroll left 5px;*/
  text-decoration:none;
}

ul#menuterciario li a:hover{
  /*background: transparent url(/uploads/palenciana/li-menusecundario-hover.gif) no-repeat scroll left 5px;*/
  color:#a80000;
}

ul#menuterciario li a.activo,
ul#menuterciario li span{
  color:#000;
  font-weight:bold;
  font-style:italic;
}

ul#menuterciario li ul{
  width:19em;
  padding-left: 2em;
    background: url("/uploads/palenciana/borde-li.gif") no-repeat scroll left center transparent;
}


*html ul#menuterciario li ul{
  padding:0;
  margin-left:2em;
  width: 20px;
}


ul#menuterciario li ul li{ 
   margin: 0px;
   padding-left: 0.5em;
   width:11.5em;
   background: url("/uploads/palenciana/borde-li.gif") no-repeat scroll left top transparent;
}

*html ul#menuterciario li ul li{ 
  width:10.3em;
}


ul#menuterciario li ul li a, 
ul#menuterciario li ul li span{
    width:10em;
}

*html ul#menuterciario li ul li a{ 
  width: 10.3em;
}

*html ul#menuterciario li ul li span{ 
  width: 10.3em;
}

ul#menuterciario li ul li ul{
  width:10em;
  padding-left: 1em;
}

*html ul#menuterciario li ul li ul{
  padding:0;
  width:8.2em;
}

ul#menuterciario li ul li ul li {
  width: 10.5em;
  padding:0;
  margin:0;
  background: url("/uploads/palenciana/borde-li.gif") no-repeat scroll left top transparent;
}

*html ul#menuterciario li ul li ul li{
  width:8.2em;
}

ul#menuterciario li ul li ul li a, ul#menuterciario li ul li ul li span{
   border:none;
   width: 9em;
}

*html ul#menuterciario li ul li ul li a{
  width:8.2em;
}

*html ul#menuterciario li ul li ul li span{
  width:8.2em;
}



/***********EL CONTENIDO ******************************/
#elcontenido{
  overflow:hidden;
  width:732px;
  margin:0px;
  background: #ccb674;
}


#elcontenido #cuerpocontenido{
    background:none repeat scroll 0 0 #E6DBBA;
    border:1px solid #A80000;
    margin:6px 6px 1px;
    min-height:450px;
    padding:5px 5px 20px 5px;
        height:auto;
    float:left;
    width:97%;
}

*html #elcontenido #cuerpocontenido{
  height: expression(this.height < 450? this.height:"450px");
  width:95%;
  /*width: 105px;*/
}



/****************COLUMNA DERECHA ********************/
#columnaderecha{
   float:left;
}




/**************** MIGAS *****************************/
#migas{
   width:730px;
   height:23px;
   display:block;
   margin-top:4px;
   overflow:hidden;
   float:left;
   font-family: Arial,Trebuchet MS,times New Roman,Verdana,sans-serif;
   font-size: 0.8em;
   padding:0;
}

#migas #contenidomigas{
    line-height:1.5em;
    font-weight:normal;
    color:#000;
    text-align:left;
    heigth:23px;
    width:730px
    letter-spacing:0px;
    padding-top:3px;
}

/*Parrafo dentro de las migas, no debe coger los márgenes del elemento general <p>*/
#migas p{
   margin-top:0px;
}
#migas a
{
   color:#000;
   text-decoration:none;
}

#migas a:hover {
  text-decoration: underline;
  color:#000;
}

#migas span.lastitem{
  font-style:italic;
}


/**********************TABLAS ************************/
table{
   margin-bottom:1.4em; 
   width:95%;
   margin:6px auto 7px; /*centramos la tabla*/
  /*Color de cada fila */
   background:#fafafa; /*#f6f6f6;*/ /*CAMBIAR*/

  /*color borde limites superior e inferior tabla 
   border-top:2px solid #316400; /*CAMBIAR línea-separador*/
   border-bottom:2px solid #316400;  /*CAMBIAR línea-separador*/
   border:1px solid #316400;

   border-collapse:separate;
   border-spacing:0;
}

table.mitadancho{
      width:60%;
}

table thead tr *{
   color:#fff;       
}

table thead td, table thead th{    
   font-size:1.2em;

   /*color cabecera tabla background */
   background:#316400; /*CAMBIAR*/

  /*color borde inferior cabecera tabla que junto a los bordes sup-inf de la tabla la delimitan*/
   border-bottom:2px solid #316400;  /*CAMBIAR línea-separador*/
  /*border-left:1px solid #cfdecf;*/ /*separador columnas */

  /*   text-align:center;	 que el usu alinee como quiera, pues al poner esto siempre 
        centra (lo cual puede confundirlo) y además puede que no quiera el centrado.
  */
}

/*SUBCABECERAS  <th> Dentro de tbody->tr->th, subcabecera dentro del body */
table tbody tr th {
  background:#fff none repeat scroll 0 0; /*CAMBIAR color Sub-cabecera */
  border-bottom:2px solid #316400; /*CAMBIAR,  he puesto mº color cabecera-tabla */
  font-size:0.9em;
  color:#000; /*CAMBIAR color texto dentro del background */
  font-weight:bold;
  text-align:center;
}

table tbody tr td{
   border-bottom:2px solid #fff;
   border-left:2px solid #fff;
   padding-left:0.5em;
   padding-right:0.5em;
}

table, td, th {
vertical-align:middle;
}

/* SubCabeceras definidas dentro del body con <th> */
table th a.asc{   
   padding-right:15px;
}
table th a.desc{
   padding-right:15px;
}
table td.importe{
   text-align:right;
   white-space:nowrap;
   font-size:0.9em;
}
table td.descripcion{
   font-size:0.9em;
}
table td.fecha{
   font-size:0.9em;
}

table td.sinsalto{
   white-space:nowrap;
}

/*texto dentro de la tabla*/
#elcontenido table tbody p {
 /*Anulamos estilo #elcontenido p en Generales */
 margin-right:2px; 
 margin-left:0px;
}

/*Imágenes dentro tabla*/
table img{
   margin:0.2em;
   border:none;
   float:none;
}


/****************  FORMULARIOS **************************/
form{
	width:95%;
	overflow:hidden;
	margin:0em auto;
}

form fieldset{
	padding:2%;
       
       /*borde del formulario */
	border:1px solid #a80000; /*CAMBIAR*/
      
       /*color background*/
       background:#E6DBBA; /*CAMBIAR*/

}

form label{
	clear:both;
	display:block;
	width:20%;
	float:left;
	font-weight:normal;
}
form textarea{
	width:60%;
	overflow:hidden;
        font-size:1.6em
}


/*Check-box, cuadros de texto */
form input, form select, form textarea{

       /*borde campos a rellenar: textbox, text areas */
	/*border:1px solid #6b3528;*/ /*CAMBIAR*/

    /*al quitar el borde ya no aparece en IE6-7 en los checkbox */

}

form input, form select{
	font-size:1.1em;
}
form span{
	clear:both;
	display:block;
}
form p{
	clear:both;
	padding:0px;
	margin:3px 0px 8px 0px;
	height:100%;
	overflow:hidden;
}
p.botones{
	padding:3px 0px 2px 0px;
        margin-top: 2em;
        
        border-top: 1px solid #a80000;
        border-bottom: 1px solid #a80000;
        /*fondo color donde se coloca p.e. en Contacto el botón Enviar */
	background:none;
	
        text-align:center;

        /*Color texto botones */
	color:#000; /*fff; EVALUAR */

}
p.botones input, p.botones a{
	width:auto;
	background:#fff !important;
	color:#000;
	text-align:center;
	cursor:pointer;
	font-size:1em;
}
p.botones a{
	padding:2px 0px 2px 0px;
}
.aviso{ 
 /*color aviso de campos que deben rellenarse en formulario */
 color:#5a0000;
}

.mensajeaviso{
 border:1px solid #a80000;
 padding:2%;
 background:#e6dbba;
 margin-bottom:10px; /*separamos los cuadros de texto al mostrar el mensaje*/

}

.mensajeaviso p{
  color:#5a0000;
}

/*Sello de tiempo */
.sello a {
background:transparent url(http://www.dipucordoba.es/inc/eadmin/contratacion/img/sello.gif) no-repeat scroll right top;
float:none;
line-height:25px;
padding-right:25px;
padding-top:6px;
text-decoration:none;
}

/*****************   FORMULARIO SUSCRIPCION   *********************/
div.capasuscripcion dl.suscripcion dd {
  width: 85% !important;
  background:none;
  
}  

div.capasuscripcion dl{
    border:none;
}

div.capasuscripcion dl.suscripcion dd label{
 width:80%;
}
div.capasuscripcion dl.suscripcion dt {
  margin-top: 0px;
  clear: left;
  width: 6% !important;
}

div.capasuscripcion dl.suscripcion dd {
  margin-left: 0px !important;
  margin-top: 4px;
  margin-bottom: 4px;
}
/*DEFINICIONES DE TABLA USADO EN SUSCRIPCIONES */
dl {
    clear:both;
    margin:0px 0px 0px 0px;
    /* 
    Cuadro que envuelve los checkbox. Los <dl> engloban los <dt>
    */
   background:transparent;
   border: 1px solid #a80000;

    overflow: hidden;
    padding: 5px 0;
    height:auto;
    width:95%;
    margin:0 auto;
    margin-bottom:5px;
}


dt {
    clear: both;
	width: 34%;
	float: left;
	margin-top: 4px;
	text-align: right;
    padding: 2px 5px; /*2px 5px*/
    min-height:1.5em;
}

dd {
	width: 50%;
	float: left;
	margin-top: 5px;
	background: #fff;
	padding: 2px 5px;
	min-height:1.5em;
}


/************************** MAPA WEB *************************/
div.div_mapa
{
 width:33%;
 float:left;
 margin-bottom: 3em;
}

#elcontenido div.div_mapa ul{
   margin:0;
   padding:0;
}

#elcontenido div.div_mapa ul.tablaContenido{
  margin-left:0px;
  margin-right:0px;
  padding:0;
}


#elcontenido div.div_mapa ul.tablaContenido li {
  background : none;
  /*Eliminamos estilos posibles puesto en #elcontenido ul li */
  width:auto;
  margin-left:0px;
}


/*Elementos 1er nivel. Cabeceras del mapa */
#elcontenido div.div_mapa ul.tablaContenido li a {

  /*tamaño*/
  width:92%;
  display: block;
 
  /*Lleva la fuente del body */
  line-height:1.4em;  /*CAMBIAR para centrar el texto en el recuadro*/
  font-weight:bold;

  /*color fondo encabezados menú en el mapa-web */
  background:#316400 repeat-x scroll left bottom; /*CAMBIAR COLOR*/

  /*borde de los encabezados */
  border:none;

  /*Controla la altura de los encabezados.*/
  padding:6px 10px 3px 5px;

  margin-bottom: 5px;
  /*color enlaces del mapa, es decir todo el texto. Normalmente el del h3 */
   color:#fff; /*CAMBIAR/*

}

#elcontenido div.div_mapa ul.tablaContenido li ul {
  /*acercamos la barra de elemento hijo a su padre.*/
  margin-top:0px; 
}


#elcontenido div.div_mapa ul.tablaContenido li ul li a  {
   background:none;
   padding-left:0px;
   font-weight:normal;
   margin-bottom:0px;  
   padding:0px;
   width:90%;
   border:none;
   color: #000;

}

#elcontenido div.div_mapa ul.tablaContenido li ul li a:hover {
 /*cogemos el italic del general   color:#d93637; */
 text-decoration:underline;
}


/*Elementos 2º nivel. Inmediatamente bajo los principales que están en cabecera*/
#elcontenido div.div_mapa ul.tablaContenido li ul li {
  padding-top: 0px;
  padding-left:1em; /*Separamos li.gif del texto del enlace */
  background:transparent url(uploads/palenciana/li.gif) no-repeat scroll 0 3px;
}


/*Elementos 3er nivel*/
#elcontenido div.div_mapa ul.tablaContenido li ul li a ul li,
#elcontenido div.div_mapa ul.tablaContenido li ul li ul li { 
  border:0 solid white;
  padding-left:15px; /*o 20px y los borde-li-mapa.gif mostrar en 0 0 */
  padding-top:0;
  background-image:none;
  }

#elcontenido div.div_mapa ul.tablaContenido li ul li a ul li,
#elcontenido div.div_mapa ul.tablaContenido li ul li ul li {
    background:transparent url(uploads/palenciana/borde-li-mapa.gif) no-repeat scroll -5px 0;
    margin:0;
}

#elcontenido div.div_mapa ul.tablaContenido li ul li a ul li.last,
#elcontenido div.div_mapa ul.tablaContenido li ul li ul li.last {
   background:transparent url(uploads/palenciana/borde-li-mapa-last.gif) no-repeat scroll -5px 0;
}


#elcontenido div.div_mapa ul.tablaContenido li ul li ul li a ul li,
#elcontenido div.div_mapa ul.tablaContenido li ul li ul li ul li{
  padding-top: 0px; 
}


/*********** PARA GALERIAS DE IMÁGENES *************/

#elcontenido #galeriainterior{
  margin:0;
  padding: 0;
}

#elcontenido #galeriainterior ul li.thumb{
  margin:0;
  padding:0;
  height:150px;
  background-image:none;
  
 
}
#elcontenido #galeriainterior ul li.thumb img {
border:none;
}

#elcontenido #galeriainterior ul li.thumb a{
  border: 1px solid #a80000;
  color: #fff;
}

#elcontenido #galeriainterior ul li.thumb a:hover {
 font-style:normal;
 text-decoration:none;
}

#elcontenido #galeriainterior ul li.thumb  p{
   margin:0;
   padding:0.5em 0 0.5em 0;
   width: 125px;
}



/***********COLUMNAS INTERIORES *******************/

#elcontenido #columnaizquierdainterior {
   float:left;
   margin-right:1em; 
   margin-left:1em; 
   width:65.8% ;
  /* padding-left:5px;*/
   overflow:hidden;
  /*height:100%;->da problemas en Ie6 si ponemos height para simular min-height y se corta
    el contenido. Pasó al ver varias noticias. Quitarlo o poner auto
    Además si no se usa el min-height tampoco hace falta ponerlo*/
}
#elcontenido #columnaizquierdainterior ul{ 
  float:left;
  overflow:hidden;
  width:100%;
  margin: 0;
  padding:0;
}

/*Elemento <li> al listar noticias por categorías o todas */
#columnaizquierdainterior ul li{
  background:none !important;
  padding-left:0;
}

/********* Anulamos css de img dentro plantilla [contenido.css] ***********/
#elcontenido #columnaizquierdainterior  img {
  border:none;
  padding:0;
  margin-left:none;
}


/*
 IMAGENES EN EL DETALLE DE UNA NOTICIA ESTÁN DENTRO DE UN <P> 
 Al estar dentro de #columnaizquierdainterior hay un menú a la derecha, por tanto
    la imagen no debe llegar a él. Sin embargo su height da igual pues hacia abajo no
    hay límite.
*/
#elcontenido #columnaizquierdainterior p img {
  max-width:440px;
}
/*Hack IE6 */
* html #elcontenido #columnaizquierdainterior p img {
      width: expression(this.width > 440? "440px":this.width);
}

/**********
  [Más información] -> recuadro abajo donde te pone la {fecha de las noticia} en Noticias o {volver a
   galerías de imágenes} en Galerias
*********/

#columnaizquierdainterior .masinformacion {

     width:95%;
      clear:both;
    
     /*texto CAMBIAR (si se desea)*/
     font-size:0.85em;
     color:#000;
    
     margin: 1px 0 1em 0;
     padding-right:0.4em;
     text-align:right;

     /*Así controlamos la altura del <p> más información para que el texto quede dentro
        del recuadro dibujado con el propio <p>*/
     line-height:1.7em;
  
 /*bordes*/
  border-bottom:1px solid #000000;
  border-top:1px solid #000000;
}

#columnaizquierdainterior .masinformacion a:focus,
#columnaizquierdainterior .masinformacion a:hover{
  /*CAMBIAR*/
  font-style:italic;
}

/* << volver : dentro de noticias, agenda,... */
#volver a {
  color:#000;
}
#volver a:hover {
  font-style:italic;
}


  /****************
           COLUMNADERECHAINTERIOR: contiene el menuterciario con  :
                                  categoria   >ver todas>
                                  -----------------------
                                  Categ1 ->elemento <span>
                                  Categ2 ..

    ******************/
#elcontenido  #columnaderechainterior ,#columnaderechainterior{
   background:none repeat scroll 0 0 #FFFFFF;
   border:1px solid #A80000;
   float:left;
   margin:1em 0 1em 0.5em;
   width:28%;
}

/*
  Cabecera en menú derecha. 
   Contiene p.e. en galerias: Galeria   >ver todas<  .  Idem para resto
*/
#elcontenido #columnaderechainterior h3, #columnaderechainterior h3 {
   background:none repeat scroll 0 0 transparent;
   border-bottom:1px solid #A80000;
   color:#000000;
   font-size:1em;
   font-weight:bold;
   height:1.3em;
   line-height:1.5em;
   margin:0 0 0.5em;
   overflow:hidden;
   padding:5px 0 2px 5px;
   text-decoration:none;
   width:97%;
}

/*El   >ver todas< */
#columnaderechainterior h3 a.vertodo { 
     float:right; 
     margin-right:5px;
     font-weight: normal;
     letter-spacing: 0px;
     font-size:0.85em; 
     line-height:1.85em;
     text-align: right;   
    /*separamos el vertodo del título principal*/
    padding-left:25px;
     /*CAMBIAR*/
    color:#000;
  /*  text-decoration:underline; */
}

/*hack IE6-7 */
*:first-child+html #columnaderechainterior h3 a.vertodo{
  margin-top:-17px; /*TOCAR SI NO CUADRA EL VER-TODAS EN IE7*/

}
*html #columnaderechainterior h3 a.vertodo{
  margin-top:-15px;  /*TOCAR SI NO CUADRA EL VER-TODAS EN IE6*/
  line-height:1.5em;
}

/*Hover sobre ver-todo */
#columnaderechainterior h3 a.vertodo:focus, #columnaderechainterior h3 a.vertodo:hover{
   /*CAMBIAR*/
   font-style:italic;
 }

 /*Padding para los li*/
 #columnaderechainterior #menuterciario {
 padding-left:0px;
 padding-bottom:3px;
 margin:0;
}

 
#columnaderechainterior #menuterciario li{
   padding-left:2px; /*Sobreescribimos el del #elcontenido ul li */
  background:none; /*Eliminamos li.gif puesto en #elcontenido ul li */

  /*Tamaño fuente de las distintas categorías listadas como li */
 font-size:1em;
 margin:0:
}

/*Categorías listadas en el menu derecha (categorias de noticias, eventos,..) */
#columnaderechainterior #menuterciario a {
  /*CAMBIAR*/
  color:#000;
  font-size:1em;
}

/*Hover sobre las categorías,.. */
#columnaderechainterior #menuterciario a:hover {
   /*CAMBIAR*/
  /*cogemos color del <a> general*/
  text-decoration:underline;
}
#columnaderechainterior #menuterciario a.activo {
  font-style:italic;
}

/****************   NOTICIAS   **************************************/


/*****************
    Todo el cuerpo de noticias que puede crecer 
 *****************/

#listadonoticiasinterior {
       margin: 0px;
       border: none;
       width:100%;      
       height:auto; 
}

/*Cada noticia es un <li> */
#elcontenido ul.listadointerior li {
  clear:both;
  width:100%;
  border:none;
  background-image:none;

  /*Para que no queden estilos de contenido.css #elcontenido ul li */
 padding-left:0;
}

/* Título de la noticia, es un <a> que lleva a él */
#columnaizquierdainterior ul.listadointerior a{
 /* padding-left:14px; Sangría izqda. título noticia */
  color:#000;
  text-decoration:none;
  
  /*Color enlace noticia,evento,... Poner el del h3*/
  /*cogemos del a general color:#1e008e;  */ /*CAMBIAR*/
}

#columnaizquierdainterior ul.listadointerior a:hover{
  /*Color enlace noticia,evento,...Poner el del h3:over (o menusecund:hover)*/
 /*cogemos del a general color:#990000;*/ /*CAMBIAR */
}

/* imagen de la noticia */
#columnaizquierdainterior ul.listadointerior li img{
     float:left;
     border:1px solid #1e008e;
     max-width:28% !important;  /* Para todos los navegadores */
     width:auto;  /* Para todos los navegadores */     
     margin-left:1em;
     margin-right:5px; /*para separar el resumen que está a su derecha */
     margin-bottom:10px; /*separa el más-información */
     padding:15px 7px;
}

/*Hack IE6 pues no reconoce el max-width */
*html #columnaizquierdainterior ul.listadointerior li img{
      width: expression(this.width > 105? "28%":this.width);
}

/*Div que contene el resumen de la noticia*/
ul.listadointerior li div{
  margin-bottom:1em;
  width:95%; /*igual que paginación*/
}

/*resumen de la noticia */
ul.listadointerior li div p{
  margin:0;
  padding-right:0.2em;
}

.centrado {
  text-align:center;
}

/*************  CALENDARIO    **************/

#elcontenido ul.listacalendario li{
 background-image:none;

/*Para que no quede el estilo de contenido.css #elcontenido ul li*/
 padding-left:0;
}

/*Div que contene el resumen del evento*/
ul.listacalendario li div{
  margin-bottom:1em;
  width:95%; /*igual que paginación*/
}

/*Las img. llevan la clase flotaizquierda */
.listacalendario .flotaizquierda{
     float:left;
     max-width:28% !important;  /* Para todos los navegadores */
     width:auto;  /* Para todos los navegadores */     
     margin-right:5px; /*para separar el resumen que está a su derecha */
     margin-bottom:10px; /*separa el más-información */
}

/*Título del enlace. Es un <a> que lleva a él. */
#columnaizquierdainterior ul.listacalendario a{
 /* padding-left:14px; sangría izquierda título evento */
  color:#000;
  text-decoration:none;
  /*CAMBIAR. Poner el del h3,menu-sec.*/
  /*Dejamos el color del <a> general color:#1e008e; */
}

#columnaizquierdainterior ul.listacalendario a:hover{

  /*CAMBIAR. hover del h3*/
  font-style:italic;
}

#tablaagenda table{
  width:100%; 
  margin-bottom:1.5em;
  margin-top:0px;
  /*Color borde separador calendario - Categorías ver todas. CAMBIAR*/
 /*Fuente*/
  font-size:85%;
  background:none;
  border:none;
  border-bottom:2px solid #316400;
}

/* cuadro que tiene: << Mes >> */
#tablaagenda .calendar-month  {
  overflow:hidden;
  font-size:1.1em;
}


#tablaagenda table tr{
 background:none;
}

/* cuadro que tiene: << Mes >> */
#tablaagenda .calendar-month  {
  font-size:1.1em;
}

/*Texto << (ir a mes anterior) */
#tablaagenda span.calendar-prev { 
     float:left;
     color:#00996a;
     width:16px;
     height:16px;
 }

/*Contiene:    Febrero 2010  ..... es decir el mes y año */
#tablaagenda span.texto { 
     float:left;
     color:#00996a;
     width:80%;
     height:16px;
     text-align:center;
}


/*Texto >> (ir a mes siguiente)*/
#tablaagenda span.calendar-next {
    float:right; 
    color:#00996a;
    width:16px;
    height:16px;
}



#tablaagenda table caption {
  /*CAMBIAR color tabla calendario <<mes Noviembre >> */
  background:#316400;
  text-align:center;
  /*border-top: 1px solid #646100;*//*border*/
}

#tablaagenda table caption *{
  color:white;
  margin:0 auto;
}

/*Texto: Lun Mar Mie Jue Sab Dom que es subcabecera */
#tablaagenda table th{
  padding:0;

 /*color de texto y fondo: CAMBIAR */
  color:#000;
  background:#fff; /*CAMBIAR Color fondo del título: lun mar mie jue...*/
  text-align:center;
  font-weight:normal;
}


/*dias sin eventos: en negro*/
#tablaagenda table td{
  padding: 0 0 5px;
  text-align:center;
  border: none;
  color:#000; 
}

/*hoy*/
#tablaagenda table td.calendar-today{
  background:#e0e0e0;
}

/*días con eventos*/
#tablaagenda table td a{
  /*Dejamos del <a> general color:#1e008e; */
  text-decoration:underline;
} 

#tablaagenda table .calendar .texto {
   padding-top:3px;
   width:128px;
}


  /*********** 
    PAGINACIÓN. Se pagina (poner en pestaña opciones: Enlaces,Agenda y Noticias.
  ***********/
#elcontenido ul.paginacion{
        clear:both;
        /*CAMBIAR */
        /*background: #f1ebef;*/ /* CAMBIAR */
	width:100%;
	/*height:100%; problemas IE6 al poner height en contenido para simular min-height. Ponía
          la paginación a un height= height del contenido.Ad+ no hace falta en ningún caso.*/
	overflow:hidden;
	margin:10px auto;
	text-align:center;
	padding:1px 0px 1px 0px;
        border-top:1px solid #a80000;
        border-bottom:1px solid #a80000;

}


#elcontenido ul.paginacion li{
    background:none;
    display:inline;
    padding-left:18px !important;  /* Para todos los navegadores */
    padding-left:16px;             /*  Para IE 5.5 */
    padding-left/**/:/**/18px;  /*  Para IE 6 */ 
}

ul.paginacion li a{
   color:#000;
}

ul.paginacion li a:hover{
   font-style:italic;
   font-decoration: underline;
}


/*************** ENLACES *******************/
#enlacesinterior ul {
   clear:none;
   float:left;
   background:none;
}

#elcontenido #columnaizquierdainterior ul li.thumbenlace{
   margin-bottom:1em;
   padding-top:1em;
   padding-left: 0px;
   width:47%;  /*31% Para 3 por fila, 45% 2 por fila */
   margin-right:9px;
   overflow:hidden;
   float:left;
   height: auto;  

   /*Para que no coja estilos de #elcontenido ul li en contenido.css */
    margin-left:0;
   background-image:none; /*quitamos el li.gif */
}


/*Sirve tanto para a.enlaceenlace como para a.imagenenlace */
#elcontenido #columnaizquierdainterior li.thumbenlace a{
  display:block;
  padding:0px !important;
  margin:0px !important;
  text-align:center;
  width:100%;
  font-weight:bold;
}


.thumbenlace a:hover{
  text-decoration:none;
  font-style:normal;
}


.thumbenlace a.imagenenlace{
/*  height: 126px; */
  width:auto; 
  overflow:hidden;
  margin-bottom:10px
}

.thumbenlace a.enlaceenlace{
  text-align:center;
  line-height:1.1em;
  /*Dejamos el color del <a> general. color:#1e008e; CAMBIAR*/
  font-size:0.9em;
}


.thumbenlace a.imagenenlace img{
   max-height:120px;
   max-width:1850px !important;  /* 120 (3 x fila)  138 (2 x fila) Para todos los navegadores */
   width:auto;  /* Para todos los navegadores */     
   text-align:center;
   border:1px solid #2c3e2a !important;
   margin-left:0;
}
/*Hack IE6 pues no reconoce el max-width */

*html .thumbenlace a.imagenenlace img{
      width: expression(this.width > 185? "185":this.width);
}
*html .thumbenlace a.imagenenlace img{
      height: expression(this.height > 120? "120":this.height);
}

#elcontenido img { margin-left:5px;margin-right:5px;}

/******************    GOOGLE MAP ***************************/
#map{
   margin:0 auto;
   width:481px;
   height:323px;
   clear:both;
   border:1px solid #2c3e2a;
   position:relative;
   margin-left: 2em auto;
   margin-bottom:1.2em;
}
#map img{
  border:none;
  margin-left:0;
  padding:0;
}

/* End of 'palenciana : comun' */

