/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/* púxese eso porque o ckeditor quitáballe os puntos as listas */
ul {
  list-style-type: square !important;
  list-style-image:url('img/icoLista.gif') !important;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
input,div,textarea {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;outline: none;}
/* Some more resets */
html, body { height: 100%; }
a { text-decoration: underline;color:rgb(53, 96, 12); }

.inner { width: 1020px; margin: 0 auto; }
.left { float: left; }
.right { float: right; }
.clear {clear:both;}

body { background: #FFF; font-family: 'Titillium Web', sans-serif; font-weight: 400;  }


#fondo_info {background: url('img/fondo_info.jpg') no-repeat top center;}

/* DIALOG */
.dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; }
.dialog .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1001; background: #000; opacity: 0.7; }
.dialog .body { position: absolute; top: 50%; left: 50%; z-index: 1002; }

#dialoger .body { width: 420px; height: 516px;  margin-top: -313px; margin-left:-220px; -webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px; }
.closeButton { position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; background: url('img/closeButton.png') no-repeat top center; display: inline-block; }
.closeButton:hover { background-position: bottom center; }
#dialoger #dialogerForm { width:90%;margin:0 auto;}
#dialoger .input { background: url('img/bg_input_dialog.png') no-repeat top center; width: 276px;height: 32px;margin:0 auto;margin-bottom: 5px;}
#dialoger input[type="text"],#dialoger input[type="email"] ,#dialoger input[type="password"]{ border:none;background:#fff;outline: none; font-size: 10px; width: 276px; height: 32px; color: #000; padding:0 0 0 10px;border:1px solid #ccc; }
#dialoger .h1 { text-align:center;font-size:20pt;font-weight: bold }
#dialoger .bg_form {width:302px;height:205px;background: url('img/bg_form.png') no-repeat top center;margin:0 auto;margin-top:20px;padding:10px 0 0 0;}
#dialoger .button1 { margin:20px 0 0 187px;}
.degradado1 { background:#ececec; background: -webkit-linear-gradient(#fafafa, #ececec); background: -moz-linear-gradient(#fafafa, #ececec); background: -o-linear-gradient(#fafafa, #ececec); background: linear-gradient(#fafafa, #ececec);}
/* END DIALOG */

#header { width:100%;height:450px;overflow:hidden;text-align:center;border-bottom:3px solid #687534;}

.lang {width:65px;margin:10px 10px 15px 0;}
.lang input { background:#fff;height:23px;border:none;width:40px;font-size:10pt;padding:0 0 0 5px;color:#ccc;}
.lang img {cursor:pointer;}
.otro_idioma { border:1px dotted #ccc !important;position:absolute;background:#fff;height:23px;border:none;width:65px;font-size:10pt;padding:0 0 0 5px;text-align: left}

.search {width:160px;margin:10px 0 15px 0;}
.search input { background:#fff;height:23px;border:none;width:135px;font-size:10pt;padding:0 0 0 5px;}
.search img {cursor:pointer;}


#menu_superior { width:972px;height:85px;background: url('img/fondo_menu.png') no-repeat top center;margin:0 auto; }
.logo { width:210px;height:65px;cursor:pointer; }
.ap_menu { line-height:65px;padding:0 25px;color:#7d7d7d;font-weight: bold;cursor:pointer;}
.ap_menu:hover {background: url('img/menu_active.png') repeat-x bottom left;}
.separador_menu {width:2px; height:65px;background: url('img/separador_menu.png') no-repeat center center;}


#main { margin-top:-43px;position:relative; z-index:100;background:#fff;}
#barra_superior { height:3px;background: url('img/border_superior_main.png') repeat-x center center;}
#cont {padding:25px;}
#migas {margin-bottom:28px;font-size:10pt;}
#migas h1 {display: inline;font-weight: normal;}
#migas a {color:#004276;font-size:10pt;}
#migas a:hover {text-decoration: underline;}

.cab { height:50px;line-height:50px;background: url('img/cab.png') repeat-x center center;color:#fff;font-weight: 600; font-size:14pt; }
.banners_inicio {padding:0 0 0 19px;}
.banners_inicio .banner {margin-bottom: 18px;}
#noticias_inicio {width:695px;}
.modulo_noticia { background: -webkit-linear-gradient(#fafafa, #ececec);background: -moz-linear-gradient(#fafafa, #ececec);background: -o-linear-gradient(#fafafa, #ececec);height:205px;border:1px solid #ccc;border-bottom:1px solid #687534;border-top:none;}
.modulo_agenda { background: -webkit-linear-gradient(#fafafa, #ececec);background: -moz-linear-gradient(#fafafa, #ececec);background: -o-linear-gradient(#fafafa, #ececec);height:190px;border:1px solid #ccc;border-bottom:1px solid #687534;border-top:none;}
.modulo_anuncio { background: -webkit-linear-gradient(#fafafa, #ececec);background: -moz-linear-gradient(#fafafa, #ececec);background: -o-linear-gradient(#fafafa, #ececec);height:127px;border:1px solid #ccc;border-bottom:1px solid #687534;border-top:none;padding:10px;}
.not_image {width:298px;padding:10px;}
.age_image {width:143px;padding:10px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.border_foto_noticia {width:98%;padding:5px;background: #fff;border-bottom:1px solid #ccc;}
.border_foto_agenda {width:98%;padding:5px;background: #fff;border-bottom:1px solid #ccc;}
.foto_noticia { width:262px;height:173px;}
.foto_agenda { width:110px;height:70px;}
.not_cont { width:380px;}
.age_cont { /*width:calc(100% - 143px);*/ width: 300px;}
.age_cont .not_txt { height:90px;overflow:hidden }
.not_title {color:#626262;font-size:13pt;margin:8px 0 0 0;line-height:14pt;height:40px;overflow:hidden;font-weight: bold;}
.anuncio_title {color:#626262;font-size:11pt;line-height:12pt;height:30px;overflow:hidden;font-weight: bold;}
#noticias_inicio a:hover .not_title{color:#687534;}
#noticias_inicio a:hover .not_txt{color:#000;}
#agenda_inicio a:hover .age_title{color:#687534;}
#agenda_inicio a:hover .age_txt{color:#000;}

.modulo_anuncio { cursor: pointer }
.modulo_anuncio:hover .anuncio_title{color:#687534;}
.modulo_anuncio:hover .anuncio_txt{color:#000;}

.modulo_agenda { cursor: pointer }
.modulo_agenda:hover .not_title{color:#687534;}
.modulo_agenda:hover .not_txt{color:#000;}

.modulo_noticia { cursor: pointer }
.modulo_noticia:hover .not_title{color:#687534;}
.modulo_noticia:hover .not_txt{color:#000;}

.not_date {color:#b5b5b5;font-size:10pt;height:30px;}
.anuncio_date {color:#b5b5b5;font-size:10pt;height:20px;}
.not_txt {color:#626262;font-size:11pt;line-height:12pt;}
.anuncio_txt {color:#626262;font-size:11pt;line-height:12pt;}
.pe_radius {background:#fafafa;border:1px solid #e3e3e3;border-top:none;-webkit-border-bottom-right-radius: 10px;-webkit-border-bottom-left-radius: 10px;-moz-border-radius-bottomright: 10px;-moz-border-radius-bottomleft: 10px;border-bottom-right-radius: 10px;border-bottom-left-radius: 10px;}

.extras_agenda {border-top:1px solid #e3e3e3;padding:5px 10px 0 10px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.ex_age {width:33%;color:#626262;font-size:10pt;font-weight:bold;}
.ex_age img {margin:4px 5px 0 0;}

#agenda_inicio {width:49%;}
#anuncios_inicio {width:49%;margin:0 0 0 2%;}

#submenu {background:#fafafa;width:250px;}
#submenu h1 {color:#687534;font-size:16pt;font-weight: 600;text-align: center}
#submenu a {width:250px;}
.ap_sub {border-left:3px solid #687534;height:46px;background: url('img/flechas.png') no-repeat top right;}
.ap_sub .txt1 {color:#626262;padding:0 0 0 8px;font-weight:bold;}
#submenu .ap_sub:hover .txt1 { color:#687534;}
.verde {color:#000;}
.ap_sub .txt2 {color:#626262;padding:0 0 0 8px;font-size:8pt;}
.separador_submenu {width:90%;margin:0 auto;border-top:1px dotted #c9c9c9;}

.banner {margin-bottom:5px;}
.banner_inactivo {opacity:0.1;}

#info {border:1px solid #687534;margin:0 0 0 20px; width:695px;background: #f8f8f8;}
#info_head {padding:0 0 0 10px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;height:48px;line-height: 48px;border-bottom: 1px solid #687534}
.titulo_info { color:#687534;font-size:15pt; font-weight: 600;margin:0 0 0 10px;}
.contido_info {padding:10px;color:#626262;font-size:11pt;}
.contido_info h2{margin:0;}
.contido_especial {background:#e5e5e5;padding:5px;font-size:11pt;}
.extras {font-size:11pt;}
.extras span {background:url("img/marcador_parrafo.png") no-repeat center left;padding:0 0 0 10px;color:#687534;font-size:13pt;font-weight: bold;}
.extras a { color:#172983;}.extras a:hover { text-decoration:underline;}

.archivo {background:url("img/fondo_archivo.png") no-repeat center left;width:197px;height:45px;margin:0 auto;text-align:left;cursor:pointer;}
.icono_archivo {width:43px;line-height:41px;text-align:center;color:#fff;}
.titulo_archivo {color:#fff;font-size:10pt;width:150px;height:25px;overflow: hidden;margin:4px 0 0 2px;}
.length_archivo {color:#fff;font-size:8pt;}

.cab_verde{padding:0 0 0 5px;color:#fff;height:30px;line-height:30px;background:#687534;}

.boton1 { background:url("img/fondo_boton.png") repeat-x center left;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;color:#fff;height:25px;line-height:25px;padding:0 10px;border:none;font-size:10pt;border:1px outset #687534;}
.boton2 { background:url("img/fondo_boton.png") repeat-x center left;-webkit-border-top-right-radius: 10px;-moz-border-radius-topright: 10px;border-top-right-radius: 10px;color:#fff;height:25px;line-height:25px;padding:0 10px;border:none;font-size:10pt;border:1px outset #687534;}
.boton1:hover,.boton2:hover { background:url("img/fondo_boton_hover.png") repeat-x center left;}
.fotos_galeria { padding:10px; }
.fotos_galeria .la_foto { border:1px solid #ccc;padding:2px;background:#fff;width:90%;margin:0 auto;}
.foto_contido { border:1px solid #ccc;padding:2px;background:#fff;margin:2px 10px 2px 2px;width:170px;float:left;}
.archivos_galeria { padding:10px; }
.archivos_galeria input { width:100px !important;height:20px !important;font-size:10pt !important; }

.destacado {width:16%;text-align:center;color:#687534;font-weight: 600;font-size:11pt;margin:20px 0 0 0;cursor: pointer;}
.destacado a {color:#687534;}
.destacado:hover {font-weight: 700}

#footer {width:100%;height:203px;background:url("img/footer_bg.png") repeat-x center left;}
#footer a {color:#fff;text-decoration: none}
#footer a:hover {text-decoration: underline;}
#menu_inferior{ line-height:60px;color:#fff;font-size:10pt; width: 960px; margin: 0 auto; }
#menu_inferior a{margin:0 10px;}
#menu_inferior a div:hover {text-decoration: underline;}

#formul input[type="text"],#formul input[type="password"],#formul input[type="email"],#formul textarea {background: #e6e6e6;border:none;width: 276px;height: 32px;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.3);-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.3);box-shadow: inset 0 1px 2px rgba(0,0,0,.3);padding:0 5px; resize:none;}

#pager { margin:10px 0;}
#pager .mod_pager { height:24px;line-height:22px;font-size:9pt;color:#9ebf0c;border:1px solid #9ebf0c;padding:0 8px;margin:0 4px 0 0;cursor:pointer;font-weight: 600}
#pager .mod_pager:hover,#pager .mod_pager.actual { background:#9ebf0c;color:#fff;}

#gallery {
    position:relative;
    height:360px;
    z-index:99;
    width: 100%;
  }
  #gallery a {
    float:left;
    position:absolute;
    left:50%;
    margin-left:-700px;
  }
  #gallery a img {
    border:none;
  }
  
  #gallery a.show {
    z-index:500
  }

  #gallery .caption {
    z-index:600; 
    background-color:#000; 
    color:#ffffff; 
    height:100px; 
    width:100%; 
    position:absolute;
    bottom:0;
  }

  #gallery .caption .content {
    margin:5px
  }
  
  #gallery .caption .content h3 {
    margin:0;
    padding:0;
    color:#1DCCEF;
  }
  #puntos {
    position: absolute;
    z-index:100;
    height:30px;
    padding:0 10px;
    background: #548800;
    margin:377px 0 0 744px;
    border-top: 1px solid #acc931;
    background: -webkit-linear-gradient(#687534, #548800); background: -moz-linear-gradient(#687534, #548800);
    background: -o-linear-gradient(#687534, #548800); background: linear-gradient(#687534, #548800);
  }
  #puntos img {
    margin:7px 5px 0 0;
  }
  #buscadorr { position:absolute;z-index:100; left: 50%; margin-left: -486px; }
  #servizos_destacados {height:187px;background:#f8f8f8;border-top:1px solid #e5e5e5;}
  .destacado {text-decoration:none;}
  #la_fecha {font-size:10pt;color:#626262}
  .o_pe {font-size:10pt;}
  .form_suxestions .label {width:120px;line-height:35px;font-weight:600;}
  .form_suxestions textarea {background:#fff !important;width:445px !important;height:200px !important;}
  .formul_sms {text-align:center;width:450px;margin:0 auto;}
  .formul_sms input[type="text"] {width:120px !important;}