/* Reseteo CSS */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
input,textarea,select { font:inherit; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img, a img { border:0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
strong,b { font-weight:bold; }
em,i { font-style:italic; }
ul { list-style:none; }
a { color:inherit; }
caption,th { text-align:left; }
q:before,q:after { content:''; }
abbr,acronym { border:0; border-bottom:1px dotted; border-color:inherit; }
iframe { border:0; overflow:hidden; }

/* Estilos generales */
html, body { font-size: 62.5%; }
body { font:normal 100% Georgia,serif; background:#fff url(../img/bg_body.png) repeat-x bottom; color:#474747; }  /* 62.5% resets 1em to 10px */
.u { text-decoration:underline; }
.clear { clear:both; }
.hide { display:none; }

/* footer al fondo */
html, body { min-height:100%; }
#body { min-height:100%; margin-bottom:-30em; position:relative; height:auto !important; height:100%; }
#clearfooter { clear:both; height:30em; }
#footer { position:relative; height:30em; }


/* estructura del site */
#body { min-width:99em; }

#header { height:30.9em; background:url(../img/header/inicio.jpg) no-repeat center top; }
#header .inner { position:relative; width:94.8em; height:30.9em; margin:0 auto; }
#header #logo { position:absolute; top:4em; left:4.4em; }
#header_top { height:3.1em; padding:0 1em 0 1.5em; background:#0074c5 url(../img/bg_header_top.gif) repeat-x top; color:#fff; }
#header_top h1 { float:left; }
#header_top form { float:right; padding-top:0.5em; }
#header_top form label { visibility:hidden; }
#header_top form #in_texto { width:140px; height:18px; padding:4px 27px 0 5px; border:none; background:#84c6f2 url(../img/bg_buscar.gif) no-repeat; font:1.2em Arial; vertical-align:middle; }
#header_top form #buscar { width:16px; height:16px; margin:0 10px 0 -25px; padding-bottom:5px; border:none; background:url(../img/ico_buscar.gif); text-indent:-10000px; cursor:pointer; }
#header_top ul { float:right; padding-top:7px; }
#header_top li { display:inline; padding-left:8px; }

.inicio #header { background-image:url(../img/header/inicio.jpg); }
.el-ayuntamiento #header { background-image:url(../img/header/el-ayuntamiento.jpg); }
.el-pueblo #header { background-image:url(../img/header/el-pueblo.jpg); }
.actualidad #header { background-image:url(../img/header/actualidad.jpg); }
.agenda #header { background-image:url(../img/header/agenda.jpg); }
.servicios #header { background-image:url(../img/header/servicios.jpg); }
.sala-de-prensa #header { background-image:url(../img/header/sala-de-prensa.jpg); }
.contacto #header { background-image:url(../img/header/contacto.jpg); }

#menu { position:relative; width:94.8em; height:3em; margin:-6.1em auto 0; background:url(../img/bg_menu.png) repeat; }
#menu ul { text-align:center; font-size:1.43em; line-height:2em; }
#menu li { display:inline; padding:0 1em; background:url(../img/sep_menu.gif) no-repeat left center; }
#menu li:first-child { background:none; }
#menu a { color:#fff; text-decoration:none; }
#menu a:hover { text-decoration:underline; }
#menu span { text-decoration:underline; }
#menu_rss { position:absolute; top:0.6em; right:0.7em; }

#breadcrumb { position:relative; width:79em; margin:0 auto; color:#000; font:1.2em/2.5em 'Lucida Sans Unicode','Lucida Grande',sans-serif; }
#breadcrumb a { padding:0 0.2em; color:#000; text-decoration:none; }
#breadcrumb a:hover { text-decoration:underline; }
#breadcrumb .inicio { padding-left:20px; background:url(../img/ico_inicio.png) no-repeat left center; }

#footer { min-width:99em; background:url(../img/bg_footer.jpg) no-repeat bottom center; }
#footer .inner { position:relative; width:79em; margin:1em auto 0; font:1.2em/1.45em 'Lucida Sans Unicode','Lucida Grande',sans-serif; overflow:hidden; }
#footer #copy { float:left; color:#737270; }
#footer #copy #by { padding:20px 0 0 15px; background:url(../img/ico_bombilla.png) no-repeat left bottom; }
#footer #copy #by a { text-decoration:none; color:#000; }
#footer #copy #by a:hover { text-decoration:underline; }
#footer .links { float:left; padding-left:5em; }
#footer .links a { text-decoration:none; }
#footer .links a:hover { text-decoration:underline; }
#footer #accesos a { color:#f06b3d; }
#footer #legal a { color:#0074c5; }
#footer #entidades { float:right; width:27em; text-align:center; }
#footer #entidades li { display:inline; padding-left:1.66em; }

#content { width:98em; min-height:600px; padding:0 5px 5px; margin:0 auto; background:url(../img/bg_content.png) no-repeat bottom center;   }
#content .inner { font-size:1.2em; line-height:1.5em; background:#fff url(../img/submenu_bg.gif) repeat-y left; overflow:hidden; }
.inicio #content .inner { background:#fff; }

#submenu { float:left; width:16.66em; background:#d5d5d5; }
#submenu h2 { padding-bottom:14px; line-height:2.5em;  background:#f5f5f5 url(../img/bg_submenu.png) no-repeat bottom center; color:#b53000; text-align:center; }
#submenu ul { padding:5px 8px; }
#submenu li { padding:3px 0; }
#submenu li.current { border-top:1px solid #919090; border-bottom:1px solid #f5f5f5; background:#b0afaf; color:#fff; }
#submenu li a { display:block; padding:0 .4em; line-height:1.5em; text-decoration:none; color:#000; }
#submenu li h3 a { color:#fff; }
#submenu li a:hover { color:#fff; }
#submenu li ul { margin-top:3px; padding:5px 0 5px 10px; background:url(../img/bg_submenu.gif) repeat-x top; }
#submenu li ul li.current { border:none; color:#fff; }
#submenu li ul a { font-style:italic; color:#605d5c; }
#submenu li ul li.current a { color:#fff; }

/* #submenu ul a.current { border-top:1px solid #919090; border-bottom:1px solid #f5f5f5; background:#b0afaf; color:#fff; } */

#lateral_dcha { float:right; width:244px; padding-bottom:15px; }
#lateral_dcha #destacados{ padding:30px 0 0 6px; }

#contenido { padding-left:18em; padding-right:255px; padding-bottom:15px; }

#contenido .libreton { padding-top:15px; background:url(../img/libreton_top.png) no-repeat top center; }
#contenido .libreton .bottom { padding-bottom:8px; background:url(../img/libreton_bottom.png) no-repeat left bottom; }
#contenido .libreton .center { padding:20px 2px 0; border:1px solid #d1d1d1; border-width:0 1px; }

/* pagina principal */
#secciones { position:relative; width:217px; height:400px; padding:50px 9px 16px; background:url(../img/bg_libreta.png) no-repeat top left; }
#secciones li { height:60px; background:url(../img/sep_tijeras.png) no-repeat bottom left; text-align:right; }
#secciones li.fin { background:none; }
#secciones li a { display:block; padding-right:67px; height:48px; line-height:48px; background:url(../img/icos_libreta.jpg) no-repeat; color:#0074c5; font-style:italic; text-decoration:none; overflow:hidden; }
#secciones li a:hover { color:#f06b3d; }
#secciones li a.perfil    { background-position:160px 0; }
#secciones li a.poligono  { background-position:160px -48px; }
#secciones li a.bienestar { background-position:160px -96px; }
#secciones li a.juventud  { background-position:160px -142px; }
#secciones li a.cultura   { background-position:160px -190px; }
#secciones li a.telefono  { background-position:160px -238px; }
#secciones #eltiempo  { margin-top:-5px; }

#home_izda { float:left; width:39.5em; padding:0 0 15px 16px; }
#home_izda #saludo { padding-bottom:1.66em; }
#home_izda #saludo .foto { float:left; width:134px; height:134px; padding:8px 8px 10px; background:url(../img/bg_foto_peque.png); }
#home_izda #saludo p { padding:0 0 0 158px; text-align:justify; }
#home_izda #saludo .mas { padding-left:14px; margin-left:10px; background:url(../img/ico_mas.gif) no-repeat left center; color:#0074c5; text-decoration:none; }
#home_izda #saludo .mas:hover { text-decoration:underline; }

#home_izda #ult_hora { float:left; width:19.333em; text-align:justify; }
#home_izda #ult_hora h2 { padding-left:2em; margin-bottom:2px; line-height:2.4em; background:#999 url(../img/ico_ult_hora.gif) no-repeat 0.4em center; color:#fff; }
#home_izda #ult_hora h3 { color:#0074c5; }
#home_izda #ult_hora h3 a { color:#0074c5; text-decoration:none; }
#home_izda #ult_hora h3 a:hover { text-decoration:underline; }
#home_izda #ult_hora .fecha { padding-left:1.8em; margin:.2em 0 .4em; line-height:2em; background:url(../img/ico_fecha.gif) no-repeat left center; color:#8a8a8a; }
#home_izda #ult_hora .intro { font:.9em/1.5em 'Lucida Sans Unicode','Lucida Grande',sans-serif; }
#home_izda #ult_hora .cajita { width:220px; height:53px; padding:7px 0 0 10px; margin-top:10px; line-height:2em; background:#ededed url(../img/bg_cajita.png); }
#home_izda #ult_hora .cajita .noticias { padding:0.12em 0 0 2em; background:url(../img/ico_noticias.png) no-repeat left center; color:#8a8a8a; text-decoration:none; }
#home_izda #ult_hora .cajita .rss { padding-left:2em; background:url(../img/ico_rss.png) no-repeat left center; color:#ff7f00; text-decoration:none; }
#home_izda #ult_hora .cajita a:hover { text-decoration:underline; }

#home_izda #secciones { float:right; margin-right:-4px; }

#anuncios { width:456px; margin-top:10px; background:#ededed url(../img/bg_descubre_repeat.png) repeat-y; }
#anuncios div { background:url(../img/bg_descubre_top.png) no-repeat top; }
#anuncios div div { padding:3px 5px 13px; background:url(../img/bg_descubre_bottom.png) no-repeat bottom; }
#anuncios h2 { line-height:2.2em; padding-left:1em; border-bottom:1px solid #fff; color:#0074c5; }
#anuncios h2 a { color:#0074c5; }
#anuncios h2 a:hover { text-decoration:underline; }
#anuncios ul { padding:.8em 0 0; border-top:1px solid #e8e8e8; font:1em/1.4em 'Lucida Sans Unicode','Lucida Grande',sans-serif; overflow:auto; }
#anuncios li { float:left; clear:both; padding:.1em 0; }
#anuncios a { color:#383838; text-decoration:none; }
#anuncios a:hover { color:#0074c5; }
#anuncios a .date { display:inline-block; width:9em; padding-right:.5em; text-align:right; font:.95em 'Lucida Sans Unicode','Lucida Grande',sans-serif; color:#0074c5; }

#home_dcha { float:right; width:38.3em; padding:0 16px 15px 0; }
#home_dcha #ayuntamiento h2 { line-height:2.2em; color:#0074c5; }
#home_dcha #ayuntamiento p { text-align:justify; }
#home_dcha #ayuntamiento .foto { width:438px; height:227px; padding:8px 8px 16px; margin:1em auto 0; background:url(../img/bg_foto_grande.png); }


#paseo { clear:both; padding:0 0 1em; }
#paseo h2 { line-height:2.2em; color:#0074c5; }
#ayuntamiento h2 { line-height:2.2em; color:#0074c5; }

#descubre { width:456px; margin-top:10px; background:#ededed url(../img/bg_descubre_repeat.png) repeat-y; }
#descubre div { background:url(../img/bg_descubre_top.png) no-repeat top; }
#descubre div div { padding:3px 5px 13px; background:url(../img/bg_descubre_bottom.png) no-repeat bottom; }
#descubre h2 { padding-left:25px; line-height:2.2em; border-bottom:1px solid #fff; background:url(../img/ico_descubre.png) no-repeat 4px center; color:#0074c5; }
#descubre ul { padding:.8em 0 0; border-top:1px solid #e8e8e8; font:1em/1.4em 'Lucida Sans Unicode','Lucida Grande',sans-serif; overflow:auto; }
#descubre li { float:left; width:48%; padding-left:2%; padding-top:.1em; padding-bottom:.1em; }
#descubre a { color:#383838; text-decoration:none; }
#descubre a:hover { text-decoration:underline; }

#destacados { clear:both; padding-top:1em; }

/* estilos especificos */
#contenido h2 {  }

#contenido .foto { padding:8px 8px 14px; background:#f6f5e9 url(../img/bg_foto_sombra_g.png) no-repeat bottom center; overflow:auto; }
#contenido .foto img { float:left; background:#aaa; }
#contenido .foto.left { float:left; width:280px; margin-right:10px; background-image:url(../img/bg_foto_sombra.png); }
#contenido .foto.right { float:right; width:280px; margin-left:10px; background-image:url(../img/bg_foto_sombra.png); }
#contenido .foto.peque { width:88px !important; padding:8px 8px 10px; background-image:url(../img/bg_foto_sombra_p.png) !important; }

#contenido p { margin:1.5em 0; text-align:justify; }
#contenido p.intro { margin:0; color:#0074c5; font-size:1.25em; font-style:italic; line-height:1.25em; text-align:left; }
#contenido p.firma { color:#0074c5; font-style:italic; }

#contenido h2 { padding:.5em 0; font-size:2em; line-height:1em; color:#000; }
#contenido h3 { padding:.5em 0; font-size:1.7em; line-height:1em; }
#contenido h4 { padding:.5em 0; font-size:1.5em; line-height:1em; }
#contenido .destacado1 { color:#F06B3D; }
#contenido .destacado2 { color:#0074C5; }
#contenido a { color:#0074C5; text-decoration:underline; }
#contenido table { max-width:100%; margin:1em auto; border-collapse:collapse; border:1px solid #d5d5d5; }
#contenido table td, #contenido table th { padding:.4em .4em; border:1px solid #d5d5d5; color:#3f3f3f; }
#contenido table thead { border:2px solid #d5d5d5; border-width:2px 1px; }
#contenido table thead td, #contenido table th { background:#ef6b3d; color:#fff; font-weight:bold; }
#contenido table tr, #contenido table tr.par { background:#e4e4e4; }
#contenido table tr.impar { background:#f6f6f6; }
#contenido table td.center, #contenido table th.center { text-align:center; }
#contenido ul { margin:1em 0 1em 2.5em; list-style-type:disc; }
#contenido ol { margin:1em 0 1em 2.5em; list-style-type:decimal; }
#contenido li { padding:.3em 0; }

#contenido .libreton h3 { padding:.3em .7em .5em; color:#727272; font-style:italic; }
#archivos { margin:0 !important; list-style-type:none !important; }
#archivos li { padding-bottom:1em; }
#archivos li a { display:block; padding:.2em .5em; line-height:1.6em; color:#474747; text-decoration:none; }
#archivos li a:hover { background:#f0f0f0; color:#F06B3D; }
#archivos li a strong { padding-right:4em; }
#archivos li a .file { margin-left:5px; color:#000; }
#archivos li a .size { margin-left:15px; color:#0074C5; }
#archivos li a img { float:right; width:2.66em; height:2.66em; margin:.3em 1em 0 0; }
#archivos li div { margin:0 .7em; }
#archivos li p { margin:.5em 0; }

#sitemap { padding-bottom:4em; }
#sitemap ul { margin:0 0 0 2em; }

#mapa_ayuntamiento { margin:2em 0; }

/* modulo noticias */
#noticias { }
#noticias .destacado { margin-bottom:2em; }
#noticias h3 { padding-bottom:.3em; font-size:1.7em; line-height:1.1em; }
#noticias h3 a { text-decoration:none; }
#noticias h3 a:hover { color:#F06B3D; }
#noticias .info { clear:left; padding:.3em 0 0 1em; }
#noticias .autor { padding:0 10px; color:#0074C5; }
#noticias .fecha { padding-left:20px; background:url(../img/ico_fecha.gif) no-repeat left center; color:#000; }
#noticias .categoria { color:#605D5C; }
#noticias .cuerpo { margin:.5em 0; }
#noticias.detalle { padding-bottom:3em; }
#noticias.detalle .cuerpo { margin-top:-1.5em; }
#noticias p { text-align:left; }

#noticias .libreton h3 { padding:.3em .7em .5em; color:#727272; font-style:italic; }
#masnoticias { margin:0 !important; list-style-type:none !important; }
#masnoticias li { padding-bottom:1em; }
#masnoticias li a { display:block; padding:.2em .5em; line-height:1.6em; color:#474747; text-decoration:none; }
#masnoticias li a:hover { background:#f0f0f0; color:#F06B3D; }
#masnoticias li a .fecha { margin-left:5px; }

/* modulo perfil */
#expedientes { margin:0 !important; list-style-type:none !important; }
#expedientes li { padding-bottom:1em; }
#expedientes li a { display:block; padding:.2em .5em; line-height:1.6em; color:#474747; text-decoration:none; }
#expedientes li a:hover { background:#f0f0f0; color:#F06B3D; }
#expedientes li a .fecha { margin-left:5px; color:#000; }
#expedientes li a .estado { margin-left:15px; color:#0074C5; }
#expedientes li a .exp { margin-left:15px; color:#B53000; }
#perfil p.nohay { margin:0; padding:2em 1em 4em; font-style:italic; }

#perfil.detalle .info { padding:1em 1em .5em; line-height:2em; }
#perfil.detalle .info strong { padding-right:.5em; }

/* modulo galeria */
#galeria {  }
#masfotos { margin:0 -5px 0 0 !important; list-style-type:none !important; }
#masfotos li { float:left; width:161px; padding:0 10px 15px 0; text-align:center; }
#masfotos li a { color:#474747; text-decoration:none; }
#masfotos li a img { border:8px solid #f6f5e9; }
#masfotos li a:hover { color:#F06B3D; }
#masfotos li a:focus { outline:0; }
#masfotos li a:focus img { color:#F06B3D; }

/* paginacion */
#paginacion { clear:both; margin:0 auto; padding:20px 0; text-align:center; font:1em 'Lucida Sans Unicode','Lucida Grande',sans-serif; overflow:auto; }
#paginacion ul { margin:0 auto; overflow:auto; }
#paginacion li { display:block; padding:0 1px; }
#paginacion a { display:inline-block; padding:0 5px; margin:0 -1px; border:1px solid #0074C5; border-width:0 1px; background:#fff; color:#0074C5; text-decoration:none; }
#paginacion a:hover { color:#F06B3D; }
#paginacion a.ant { margin:0; border-left:0; border-right:3px double #0074C5; }
#paginacion a.sig { margin:0; border-left:3px double #0074C5; border-right:0; }
#paginacion span { display:inline-block; padding:0 5px; margin:0 1px; color:#474747; }

/* formulario de contacto */
#form_contactar { padding:10px 0; overflow:auto; }
#form_contactar label { float:left; clear:both; }
#form_contactar label span { color:#B53000; }
#form_contactar input[type=text], #form_contactar textarea { float:left; clear:both; margin:.2em 0 .5em; padding:0.2em 0.4em 0.25em; border:1px solid #474747; font:1.2em Georgia,serif; }
#form_contactar input[type=text]:hover, #form_contactar textarea:hover { border:1px solid #d5d5d5; }
#form_contactar input[type=text]:focus, #form_contactar textarea:focus { border:1px solid #d5d5d5; background:#fff; }
#form_contactar #cont_enviar { float:left; clear:both; margin:.2em 0; padding:1px 10px 2px; font:1.2em Georgia,serif; }
span.obligatorio { color:#B53000; }
.form_err { padding:0 1.3em; border:1px solid #B53000; background:#f5f5f5; color:#B53000; }
.msg_form_err { margin:2em 0; padding:0 1.3em; border:1px solid #B53000; background:#f5f5f5; color:#B53000; }
.msg_form_ok { margin:2em 0; padding:0 1.3em; border:1px solid #0074C5; background:#f5f5f5; color:#474747; }

/* el tiempo */
#eltiempo { position:relative; width:217px; height:52px; background:url(../img/bg_eltiempo.png) no-repeat; color:#000; font:10px Verdana,Geneva,sans-serif; overflow:hidden; }
#eltiempo a { position:absolute; top:6px; right:12px; display:block; width:13px; height:13px; background:url(../img/ico_mas_tiempo.gif) no-repeat; overflow:hidden; text-indent:-10000px; }
#eltiempo .tiempo { position:absolute; top:6px; left:12px; width:40px; height:40px; }
#eltiempo .max-min { position:absolute; top:13px; left:73px; font-size:20px; }
#eltiempo .max-min .max { font-weight:normal; color:#822400; }
#eltiempo .max-min .min { font-weight:normal; color:#000982; }

/* modulo agenda */
#calendar { padding:1em 0 3em; text-align:center; }
#calendar h2 { display:inline; }
#calendar a.month { display:inline-block; padding:0 2em; font-size:1.4em; font-weight:bold; text-decoration:none; }
#calendar ul { width:16.4em; margin:.5em auto 0; font-size:1.5em; overflow:hidden; }
#calendar ul li { float:left; width:2em; height:1.5em; padding:0; line-height:1.4em; margin:0.1em; border:1px solid #aaa; list-style:none; text-align:center !important; }
#calendar ul li.day { background:#757575; color:#fff; }
#calendar ul li.na { background:#f5f5f5; text-align:left; text-indent:-10000px; }
#calendar ul li.today { background:#fbf9ca; }
#calendar ul li a { display:block; height:1.5em; background:url(../img/event_bg.gif) no-repeat left top; color:#F06B3D; text-decoration:none; }
#calendar ul li a:hover { background:#F06B3D; color:#fff; text-decoration:none; }

#eventos .vevent { padding-bottom:1em; }
#eventos .dtstart { padding:0 5px 0 20px; background:url(../img/ico_fecha.gif) no-repeat left center; color:#B53000; }
#eventos .cat { padding:1px 5px; margin-right:5px; background:#F06B3D; color:#fff; }
#eventos .location { color:#605D5C; }
#noeventos { padding:3em; text-align:center !important; font-style:italic; }

.ag_archivos { margin:0 !important; list-style-type:none !important; }
.ag_archivos li { margin:0; }
.ag_archivos li a { display:block; padding:.2em .5em; line-height:1.4em; color:#757575; text-decoration:none !important; }
.ag_archivos li a:hover { background:#f1f1f1; color:#990000; }
.ag_archivos li a span { margin-left:5px; color:#000; }
