/*---- COMMON ------------------------------*/

/* GRID */

body {background-color: #fff; color:#333; font: 14px Open Sans, sans-serif; /*margin-top: -46px;*/ margin: 0;}
html {margin-top: 0 !important;}
body p {line-height: 20px;}
#main {padding: 60px 1em 1em;  min-height: 600px;}
.home #main {padding-top: 20px;}
.container {max-width: 1078px;}
#primary {width: 70.64%;}
#secondary {width: 26.28%;}


/* TAGS */

h1, h2, h3 {font-family: Montserrat, Open Sans, sans-serif;}
h1, h2, h3 {margin-top: 0;}
h1 {font-size: 1.35em;}
h2 {font-size: 1.25em; line-height: 1.5em;}
a:hover, a:active, a:visited, a:focus {text-decoration: none;}
ol, ul, li {list-style-type: none;}
input[type="reset"], input[type="button"], input[type="submit"] {background-color: #78bbb1;}
input[type="reset"]:hover, input[type="button"]:hover, input[type="submit"]:hover {background-color: #54075b;}
p {font-size: 1.2em;}


/* HEADER */

header a {color: #fff;}
.hgroup-wrap {background: #fff; border: 0; padding: 0;
  -webkit-box-shadow: 0px -7px 28px 0px rgba(119,119,119,0.5);
  -moz-box-shadow: 0px -7px 28px 0px rgba(119,119,119,0.5);
  box-shadow: 0px -7px 28px 0px rgba(119,119,119,0.6);
}
.hgroup-wrap>.container {padding: 0 1em;}

h2#site-description {margin-top: 5px; text-align: center; line-height: 1.5em; font-size: 18px; color: #54075b; 
  text-transform:uppercase; 
  max-width: 194px !important;
  text-transform: uppercase;
  display: table;
  white-space: nowrap;
  color: #54075b;
}
h2#site-description:before, h2#site-description:after {
  border-top: 1.5px solid #54075b;
  content: '';
  display: table-cell;
  position: relative;
  top: 0.71em;
  width: 40%;
  max-width: 200px;
  }
  :before { right: 5%; }
  :after { left: 5%; }

  .info-bar {background-color: #67516E; border-bottom: 1px dotted; padding-bottom: 8px; display: none;}
  .info-bar .info ul li:before {color: #78bbb1;}

  #site-logo {margin-top: 0;}
#site-title a img {max-width: 200px;}

#access a {font-family: Montserrat, Open Sans, sans-serif;font-weight: lighter; height: auto; padding: 20px 0 32px; max-width: 840px; margin-bottom: -5px; }
#access a, #site-title a {color: #333333; font-size: 16px;}
#access a:hover#access ul li ul li a, 
#access ul li ul {background-color: #fff; border: 0; top: 68px; width: auto; min-width: 150px;}
#access ul li ul li:last-child a{ border-bottom: 1px solid #ffffff; }
#access ul li ul li {padding: 0 0.75em;}
#access ul li ul li:first-child {padding-top: 0em;}
#access ul li ul li:last-child {padding-bottom: 0.3em;}
#access ul li ul li a, #access ul li.current_page_ancestor ul li a { color: #333333; padding: 10px 0 7px 0 !important; text-transform: uppercase !important; border-bottom: 1px solid #dcdcdc;}

#access ul li ul li:hover > a, 
#access ul li ul li a:hover { color: #63C6AE;}

#access ul li.current-menu-item ul li a, #access ul li ul li.current-menu-item a, #access ul li.current_page_item ul li a {color: #63C6AE; padding: 5px 0;}
#access ul li ul li ul {left: 151px;}
#access ul li ul li a:hover, #access ul li ul li:hover > a, #access ul li.current-menu-item ul li a:hover {
    background: none;
}

#lang_sel {margin-top: 5px; width: 200px;}
#lang_sel a.lang_sel_sel, #lang_sel_click a.lang_sel_sel {background-color: transparent; color: #ccc; border: 0; width: 80px;}
#lang_sel a:hover.lang_sel_sel, #lang_sel_click a:hover.lang_sel_sel {color:#fff;}
#lang_sel a, #lang_sel_click a:visited {padding-left: 0;}
#lang_sel ul ul {width: 100px; top:20px;}
#lang_sel_click {padding-top: 6px; height: auto;}

/*
.social-profiles {padding-top: 2px;}
.social-profiles ul li a {width: 30px; height: 30px; line-height: 30px; margin-left: 5px;}
.social-profiles ul li a:before {font-size: 1.3em;}
#site-generator .social-profiles ul {margin-top: -20px;}
*/


/* STICKY HEADER */

.hgroup-wrap {z-index: 9998; position: fixed; top: 0; width: 100%; padding: 15px 0 6px 0;}
.info-bar {z-index: 9999; position: fixed; top:0; width: 100%;}


/*PAGE */

.page-title-wrap {display: none;}


/* ASIDE */

aside h1.widget-title {color: #54075b; margin-top: 0.25em;}
aside.widget ul li a {color: #A258A4}


/* FOOTER */

footer#colophon .widget-title {border-bottom: 0; margin-bottom: 0;}
footer#colophon img {max-width: 200px;}
footer .widget-wrap {display: none;}
.zframe-flickr-wrap-ltr {height: 0;}


/* ULTIMATE POSTS */

.upw-posts article {border-bottom: 0 !important;}
.upw-posts .entry-title a:focus, .upw-posts .entry-title a:hover {text-decoration: none !important;}


/* SOCIAL */

.addtoany_header {color:#777; font-size: 0.9em; margin-bottom: 0 !important;}
.addtoany_share_save_container {margin: 30px 0 15px !important;}


/* REVOLUTION SLIDER */

.slider-box a {color: #fff !important; font-family: Open Sans !important; font-size: 13px !important; text-align: center;}
.slider-box a:hover, .slider-box a:hover h3 {color:#78bbb1 !important;}
.slider-box h3 {text-transform: uppercase !important; color: #fff !important; font-size: 24px !important; text-align: center; line-height: 23px !important; margin-top: 0 !important; margin-bottom: 0.5em !important; font-weight: 400; padding-bottom: 0 !important; margin-bottom: 1em !important;}
.slider-box p { line-height: 20px; border-width: 0px; margin: 0px; letter-spacing: 0px; font-weight: 400; font-size: 18px; font-family: Montserrat, Open Sans, sans-serif;}
.tp-caption.Video-SubTitle, .Video-SubTitle {background-color: rgba(71, 26, 72, 0.7); padding: 3em !important; border: 1px solid rgba(255, 255, 255, 0.5) !important; max-width: 350px !important;}
.tp-mask-wrap {top: -2em;}


/*---- HOME ------------------------------*/

.widget_text .textwidget iframe {height: 390px;} /* mapa evento */
.home .widget_ultimate_posts {width: 70.64%;}
.home .agenda-home, .home .widget_ai1ec_agenda_widget, .home .widget-easy-twitter-feed-widget-kamn {float: left; margin-left: 3.06%; width: 26.28%;}
.home .widget_text {float: left; width: 100%;}
.home .agenda-home {margin-bottom: 4em;}


/*---- POSTS ------------------------------*/

#content .post {padding-bottom: 0;}
.entry-title {font-family: Montserrat, Open Sans, sans-serif; padding: 0; margin: 0 0 0.25em; line-height: 1em; font-size: 1.25em; font-weight: bold;}
.entry-meta .date {font-size: 0.9em;}
.entry-meta a{color: #AA85AE !important;}
.entry-meta a:hover {color: inherit; cursor: default;}
.entry-header {padding-bottom: 10px;}
#content footer.entry-meta {border: 0; padding: 0;}

.blog .post-featured-image {float: left; margin-right: 1em; max-width: 163px;}
.blog .post-featured-image .arrow {display: none;}
.blog #content article {border-bottom: 1px dotted #54075b; padding-top: 1.75em;}

.post-featured-image {max-width: 100%; width: auto; margin-bottom: 1em;}
.post-featured-image img {width: auto;}
.post-featured-image a {cursor: default;}
.post-featured-image a:hover img {cursor: pointer;} /*añade el cursos sobre la img y no sobre el div*/

.single .post-featured-image a:hover img {cursor: default;}

.type-post footer.entry-meta,
.comments-area, .comments,
.by-author, .author, .cat-links, .archive.category .page-title-wrap, .entry-meta .date a:before
{display: none;}

.pagina-berriak #content .upw-posts .entry-title,
.pagina-noticies #content .upw-posts .entry-title,
.pagina-noticias #content .upw-posts .entry-title {font-size: 1.75em !important; margin-bottom: 0.25em; padding-bottom: 0 !important;}
.pagina-berriak .upw-posts article:last-child, 
.pagina-noticies .upw-posts article:last-child, 
.pagina-noticias .upw-posts article:last-child {border-bottom: 0 !important;}
.pagina-berriak .upw-posts .entry-image img, 
.pagina-noticies .upw-posts .entry-image img, 
.pagina-noticias .upw-posts .entry-image img, .pagina-portada .upw-posts .entry-image img {width: 100%;}

.single #secondary {margin-top: 0;}
#content ul.default-wp-page {display: none;}  /* elimina paginación */
.navrechts {display: block; float: left; margin-top: 4em; width: 100%; border-top: 1px dotted #ccc; padding-top: 3em;}
.navrechts a {color: #999; padding: 0.1em 0.7em; border: 1px solid; margin-right: 0.5em;}
.navrechts a:hover {background: #eee; color: #54075b;}
.navrechts a.selected {border: 2px solid #54075b; color: #54075b;}
.navrechts a.selected:hover {background: #fff;}
.paginacion-noticias {display: table; margin: 0px auto;}


/* NOTICIAS > actualidad en la Home */

.up-noticias {float: left; width:100%;}
.up-noticias .upw-posts article, .up-actualidad .upw-posts article {border-top: 1px dotted #ccc; padding: 3em 0; float: left; margin-bottom: 0; width: 100%;}
.upw-posts article header, .upw-posts article .entry-summary, .upw-posts article footer {padding-bottom: 0.5em;}
.upw-posts article.post {margin-bottom: 0; padding-bottom: 0;}
.upw-posts .entry-cats-label {display: none;}
.upw-posts .entry-meta {color: #AA85AE !important; font-size: 1em; margin-bottom: 0.4em !important;}
.upw-posts .entry-title {font-size: 1.35em;}
.upw-posts .entry-categories {border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 5px 0; margin-top: 20px;}
.up-noticias .upw-posts .entry-image {float: left; margin-right: 2em; width: 50%;}
.up-actualidad .upw-posts .entry-image {float: left; margin-right: 2em; max-width: 50%;}

.up-noticias.upw-posts article:first-child .entry-image /*,.up-actualidad.upw-posts article:first-child .entry-image*/
{display: block;}

.up-noticias .upw-posts article:nth-child(2) .entry-image,
.up-noticias .upw-posts article:nth-child(4) .entry-image /*,.up-actualidad .upw-posts article:nth-child(2) .entry-image,
.up-actualidad .upw-posts article:nth-child(4) .entry-image*/
{width: 33%;}

/*
.up-noticias .upw-posts article:nth-child(3) .entry-image,
.up-noticias .upw-posts article:nth-child(5) .entry-image /*,.up-actualidad .upw-posts article:nth-child(3) .entry-image,
.up-actualidad .upw-posts article:nth-child(5) .entry-image*/
/*{display: none;}/*/

.up-noticias .upw-posts article .entry-title /*,.up-actualidad .upw-posts article .entry-title*/
{font-size: 1.75em !important;}

.up-noticias .upw-posts article:first-child .entry-title /*,.up-actualidad .upw-posts article:first-child .entry-title*/
{/*font-size: 2.3em !important;*/}

.upw-posts article .entry-summary {color: #333;}

#content .noticia .entry-title {margin-bottom: 0; padding-bottom: 0;}
#content .noticia.type-noticia .entry-title {line-height: 1.25em;}
#content .noticia.type-noticia article .readmore {display: none;}
.tax-noticias_taxonomies #content .noticia.type-noticia {border-bottom: 1px dotted #ccc; margin-bottom: 3em; padding-bottom: 0.5em;}
.tax-noticias_taxonomies h1.entry-title {font-size: 1.35em;}
.tax-noticias_taxonomies article>.entry-content {margin-top: 0;}

.noticia .entry-content {line-height: 2em; margin-top: 1em;}
.single-noticia #content h1 {color:#333; font-size: 2em !important; margin-bottom: 0; padding-bottom: 0;}

.single-noticia #primary {width: 65.64%;}
.single-noticia #secondary {width: 31.28%;}
.noticia .entry-summary p, .single .entry-content p  {line-height: 1.6em;}
.single p a:hover {color: #54075b; border-bottom: 1px dotted;}

.upw-posts .entry-image {margin-bottom: 0 !important;}


/*---- NOTICIAS ------------------------------*/

.up-actualidad, .type-noticia {float: left; width:100%;}
.up-actualidad .upw-posts .entry-image {float: left;  margin-right: 1.5em;}
.up-actualidad .upw-posts article:first-child {border-top:0;}
#content .up-actualidad .post {float:left; padding-bottom: 1.25em;}
.pagina-notas-de-prensa #content .entry-title {padding-top: 0.5em;}
.type-noticia .entry-content p a {border-bottom: 1px dotted; color: #54075b;}
.type-noticia .entry-content p a:hover {color: #63c6ae;}
.type-noticia .entry-content iframe {margin: 1em 0;}
.up-actualidad .upw-posts article:first-child {padding-top: 0;}


/*---- PERFILES ------------------------------*/

/* CARGOS, CANDIDATOS Y CIRCULOS */

.up-perfiles {float: left; width: 100%;}
#content .widget h2 {color: #54075b; font-size: 1.75em; border-bottom: 1px dotted; padding-bottom: 0;}
.up-perfiles .upw-posts {margin-top: 2em;}
.up-perfiles .upw-posts article {float: left; width: 46%; padding: 0; height: 120px;}
#content .up-perfiles .upw-posts .entry-title {font-size: 1.5em; padding-top: 0.5em; padding-bottom: 0; font-weight: normal; margin-bottom: 0;}
/*#content .up-perfiles .upw-posts .entry-title a:hover {cursor: default; color: #333;}*/
.up-perfiles .upw-posts .entry-image img {float: left; margin-right: 20px; border-radius: 50%; max-width: 110px;}
.up-perfiles .upw-posts .entry-image a:hover img {/*cursor: default; opacity: 0.8;*/}
.up-perfiles .upw-posts .entry-summary p {position:relative; visibility: hidden;}

.up-perfiles .upw-posts .entry-summary a {color: #946A99; font-size: 1.2em; font-weight: bold;}
.up-perfiles .upw-posts .entry-summary a:hover {color: #54075b; text-decoration: none;}

.up-perfiles .upw-posts .entry-content>:last-child, .up-perfiles .upw-posts .entry-summary>:last-child {margin-bottom: 0;}

.up-perfiles .upw-posts article.cargosinternos_taxonomies-secretaria-general {width: 100% !important;}

#content .cargo-interno .entry-title {font-size: 1.75em; color:#333; font-weight: normal;}
#content .cargo-interno .entry-meta {display: none;}

.pagina-cargos-internos .entry-content #sticky-posts-4 {display: none;} /*elimina comisión de garantías*/


/*---- DOCUMENTOS ------------------------------*/

.up-documentos .upw-posts article {padding: 1em 0 0 !important; border-bottom: 1px dotted #ccc !important; margin-bottom: 0 !important;}
.up-documentos .upw-posts .entry-summary {display: none;}
.up-documentos .upw-posts .entry-title {font-size: 1.2em;}
.up-documentos .upw-posts .entry-meta {margin-bottom: 0.25em;}
.upw-posts .entry-content>:last-child, .upw-posts .entry-summary>:last-child {margin-bottom: 0 !important;}
.up-documentos .upw-posts h4.entry-title {margin-bottom: 0; padding-bottom: 0;}


/*---- ACTAS ------------------------------*/

.pagina-actas #content a:before {font-size: 1.5em; float: left; padding-right: 0.5em; font-family: FontAwesome; content: "\f063"; color: #ccc;}
.pagina-actas {display: block; padding-bottom: 1em;}
.pagina-actas a:hover {color: #54075b;}
.pagina-actas #content .widget h2 {margin-bottom: 1em;}

.up-documentos .upw-posts article.acta {padding: 1em 0 1.5em !important;}
.up-documentos .upw-posts article:first-child.acta {padding-top: 0 !important;}
.up-documentos .upw-posts .acta .entry-meta {margin-left: 2.25em;}
.up-documentos .upw-posts .acta .entry-summary {padding-left: 2em; padding-top: 0.5em;}
.pagina-actas #content .upw-posts a:before {color:#54075b;}
.pagina-actas #primary {margin-bottom: 2.5em;}

.pagina-actas a .acta_field {color: #333; font-weight: bold; font-size: 1.2em; font-family: Montserrat, Open Sans, sans-serif;}
.pagina-actas a:hover .acta_field {color: #54075b;}
.pagina-actas .entry-content li a {float: left; width: 100%; padding: 0.5em 0 1em; border-bottom: 1px dotted #ccc; margin: 1em 0 0em;}

/*---- INICIATIVAS ------------------------------*/

.pagina-iniciativas article.iniciativa:before {font-size: 1.5em; float: left; padding-right: 0.5em; font-family: FontAwesome; content: "\f063"; color: #ccc; margin-top: 3px;}

.up-documentos .upw-posts article:last-child {border-bottom: 0 !important;}


/*---- AGENDA ------------------------------*/

.evento .entry-meta {display: none;}
.pagina-agenda .up-actualidad .upw-posts article {padding: 1.5em 0;}
.pagina-agenda #secondary .agenda-home {display: none;}
.pagina-agenda #content .evento .entry-title {display: block; width: 100%;}
li.agenda-home.widget {width: 100% !important;}
.type-evento #content .entry-title, .agenda-home .entry-title {font-size: 1.1em; font-weight: bold; text-transform: uppercase;}
.agenda-home.widget {float: right;}
.agenda-home .entry-title a {color:#946A99 !important; line-height: 1.3em;}
.agenda-home .entry-title a:hover {color:#78bbb1 !important;}
aside.agenda-home h1.widget-title {color: #946A99 !important;}
#content .entry-title a {color: #333;}
#content .entry-title a:hover {color: #54075b;}
#content .type-evento .entry-title a:hover, , .agenda-home .entry-title a:hover {color:#78bbb1;}
.business-layout .agenda-home .widget-title {font-weight: normal; color: #946A99; font-size:20px;}
.type-evento .more-link, .up-actualidad .more-link, .up-noticias .more-link {display: none;}
.type-evento {padding: 1em 0; border-top: 1px dotted #ddd;}
.upw-posts article.evento {background:#f6f6f6; float:left; margin-bottom: 0; border-left: 4px solid #54075b; padding: 0.75em 0; position: relative; width: 100%;}
.evento {padding-top: 2em;}
.evento-poster {line-height:1em; position: absolute; top: 1em; left:1em;}
.evento-dia {color:#54075b; font-size:2em; font-weight: bold;}
.evento-dia sup {color:#999; vertical-align: top;}
.evento-mes {text-transform:uppercase; font-weight: bold; color:#54075b; text-align: center; padding-left:2px;}
.evento-hora {float:left; margin:0.3em 0px 0px 5.2em; padding-right: 1em; clear: both;}
.evento .fa-tint {padding-right: 6px;}
.upw-posts article.evento:last-child {padding-bottom: 1em;}
.upw-not-found {display: none;}
#content .evento .entry-title, .widget .evento .entry-title {font-size: 1.1em; float:left; margin-left: 4.5em; word-break: break-word;}
.evento .entry-summary {margin-top: -2em;}

.single.single-evento #primary {margin-bottom: 2em;}
.single-evento #primary #content .evento .entry-title {font-size: 2em; margin-left: 0; width: 100%;}
.single-evento #primary .entry-content {color:#333; overflow: visible;}
.single-evento #primary .evento-hora {color:#999; margin-top: 0; display: block; width: 100%; margin: 0 0 1em; float:left;}
.single-evento #primary .entry-header {margin-left: 0;}
.single-evento #primary .type-evento {border-top:0; padding: 0;}
.single-evento #primary .evento-poster {margin: 0;}
.single.single-evento #primary, .single.single-evento #secondary {margin-top: 0;}


/*---- ORGANIZACION ------------------------------*/

.pagina-organizacion #primary h4.entry-title {color: #54075b; font-size: 1.5em; border-bottom: 1px dotted; padding-bottom: 0; cursor: inherit;}
.pagina-organizacion .entry-content a {border-bottom: 1px dotted; color: #78bbb1;}
.pagina-organizacion .entry-content a:hover {color: #54075b;}


/*---- CONTACTO ------------------------------*/

.pagina-contacto iframe {height: 620px;}
ul.formulario-contacto, ul.formulario-contacto li {list-style-type: none;}
ul.formulario-contacto li {margin-bottom: 1em; width: 100%;}
.up-documentos .upw-posts article.contacta {border-bottom: 0 !important; border-top: 1px dotted #ccc !important; padding: 2em 0 1em !important;}
.contacta .entry-title a {cursor: default;}
.contacta .entry-content p a:hover {color: #54075b;}
#content .contacta .entry-title a:hover {color: #333;}


/*article.contacto:before {font-size: 2em; float: left; padding-right: 0.5em; font-family: FontAwesome; content: "\f124"; color: #54075b;}
.pagina-contacto article a:hover {color: #333; cursor: default;}*/


/*----  TWITTER ------------------------------*/

iframe .timeline-Header-title {color: #946A99 !important; text-transform: uppercase !important;}
iframe .SandboxRoot.env-narrow .timeline-Header-byline, .timeline-Footer {display: none !important;}


/*----  CABECERAS ------------------------------*/



/*.cabecera-secciones:before {font-size: 40px; text-align: center; display: table; margin: 0 auto; color: #fff; padding-top: 75px; font-weight: bold;}*/

/* WTF!
.pagina-noticias .cabecera-secciones:before, .pagina-noticias-2 .cabecera-secciones:before, .single-noticia .cabecera-secciones:before, .tax-noticias_taxonomies .cabecera-secciones:before {content: "noticias";}
.tax-noticias_taxonomies.term-preguntas .cabecera-secciones:before, .pagina-preguntas .cabecera-secciones:before {content: "preguntas";}
.tax-noticias_taxonomies.term-leyes .cabecera-secciones:before, .pagina-leyes .cabecera-secciones:before {content: "leyes";}
.tax-noticias_taxonomies.term-propuestas .cabecera-secciones:before, .pagina-propuestas .cabecera-secciones:before {content: "propuestas";}
.pagina-candidaturas .cabecera-secciones:before {content: "candidaturas";}
.pagina-cargos-internos .cabecera-secciones:before, .single-cargo-interno .cabecera-secciones:before {content: "cargos internos";}
.pagina-cargos-publicos .cabecera-secciones:before {content: "cargos públicos";}
.pagina-circulos .cabecera-secciones:before {content: "círculos";}
.pagina-actas .cabecera-secciones:before {content: "actas";}
.pagina-agenda .cabecera-secciones:before, .single-evento .cabecera-secciones:before {content: "agenda";}
.pagina-iniciativas .cabecera-secciones:before {content: "iniciativas";}
.pagina-contacto .cabecera-secciones:before {content: "contacto";}
.pagina-organizacion .cabecera-secciones:before {content: "organización";}
.pagina-opinion .cabecera-secciones:before {content: "opinión";}
.pagina-notas-de-prensa .cabecera-secciones:before {content: "notas de prensa";}
.pagina-estructura .cabecera-secciones:before {content: "estructura";}
.pagina-articulos .cabecera-secciones:before {content: "articulos";}
*/

#screen-options-link-wrap {display: none !important;}

/*---- formulario de contacto Valencia ------------------------------*/

span.wpcf7-list-item {display:block;}

/* AGREGAR TELEGRAM EN LUGAR DE LINKEDIN */

.social-profiles ul li.linkedin {display:none;}
.social-profiles ul li.telegram a:before {font: normal normal normal 14px/1 FontAwesome; content: "\f1d8"; line-height: initial; position: relative; top: -3px;}

.up-perfiles p.cargo{
  margin-right: 5px;
  margin-bottom: 4px; 
  margin-top: -2px; 
}

a:hover img{
filter: saturate(1.2)
}

a img.cargo-social:hover{
  filter: brightness(8%) sepia(48) saturate(31) hue-rotate(281deg) contrast(95%) brightness(101.5%);
}
