/* Personalización IN1 - Grupo inmunología */
/*           SINFOMAC 03/2017              */
/*******************************************/

/*		 CONFIGURACIÓN DE COLOR 		*/
/**************************************************
	Colores 				     
		Azul (Main)	#468bb9	=>	Detalles, Enlaces 	  
		Azul (37%)	#34678a 	=> Enlaces (Hover)  
		Azul (70%) 	#90b9d5 	=> Slider (Bordes)  
		Azul (95%) 	#edf3f8  => Enlaces (Meta entradas)  
		Rojo  		#cc8888 	  
		Texto 		#1a1a1a 	  
 **************************************************/

/* Básica */
.site-branding .site-title a { 
	color: #468bb9;
}
.custom-logo {
	max-width: 60px;
}
a {
	color: #468bb9;
}
a:hover, a:focus, a:active { 
	color: #34678a; 
}
/* Contenido */ 
.entry-title a, .section-title a {
	color: #468bb9;
}
#main .entry-title a:hover, 
#main .entry-title a:focus { 
	color: #34678a;
}
#main .entry-meta, 
#main .entry-meta a, 
.entry-footer, 
.entry-footer a { 
	color: #468bb9; 
}
.sticky-post { 
	background-color: #468bb9; 
}
/* Fondo cabecera principal */
.site-header {
	background-color: #ffffff;
}
/* Menú móvil */
.menu-toggle.toggled-on {
	background-color: #34678a;
	border-color: #34678a;
}
/* Evitar que los selectores del slider se vean sobre el menu */
#slider-section .cycle-pager {
	z-index: 998;
}
/* Eventos */
#events-section .section-title a:hover, 
#events-section .section-title a:focus, 
#events-section .entry-title a:hover, 
#events-section .entry-title a:focus { 
	color: #34678a; 
}
#events-section .section-heading-wrap p a, 
#events-section .entry-summary a, 
#events-section .entry-content a { 
	color: #468bb9; 
}
#events-section .section-heading-wrap p a:hover, 
#events-section .section-heading-wrap p a:focus, 
#events-section .entry-summary a:hover, 
#events-section .entry-summary a:focus, 
#events-section .entry-content a:hover, 
#events-section .entry-content a:focus { 
	color: #34678a; 
}
#events-section .readmore a { 
	border-color: #468bb9; 
	color: #468bb9; 
}
#events-section .readmore a:hover, 
#events-section .readmore a:focus { 
	background-color: #468bb9; 
	border-color: #468bb9; 
	color: #edf3f8; 
}
#events-section .entry-header .entry-meta a, 
#events-section .entry-footer { 
	background-color: #34678a; 
}
#events-section .entry-header .entry-meta a, 
#events-section .entry-footer a { 
	color: #edf3f8; 
}
#events-section .entry-header .entry-meta a:hover, 
#events-section .entry-header .entry-meta a:focus, 
#events-section .entry-footer a:hover,
#events-section .entry-footer a:focus {
	background-color: #34678a;
	color: #ffffff;
} 
#events-section .entry-footer:hover, 
#events-section .entry-footer:focus { 
	background-color: #34678a; 
}
/* Slider */
#slider-section .entry-title, #slider-section .entry-title a {
	color: #468bb9;
}
#slider-section .entry-title a:hover,  
#slider-section .entry-title a:focus { 
	color: #34678a; 
}
#slider-section .entry-summary a { 
	color: #468bb9; 
}
#slider-section .entry-summary a:hover, 
#slider-section .entry-summary a:focus { 
	color: #34678a; 
}
#slider-section .entry-summary .readmore a, 
#slider-section .cycle-prev, 
#slider-section .cycle-next { 
	background-color: #468bb9; 
	border-color: #468bb9; 
}
#slider-section .entry-summary .readmore a:hover, 
#slider-section .entry-summary .readmore a:focus, 
#slider-section .cycle-prev:hover, 
#slider-section .cycle-prev:focus,
#slider-section .cycle-next:hover, 
#slider-section .cycle-next:focus { 
	background-color: #edf3f8; 
	border-color: #90b9d5; 
	color: #34678a; 
}
/* Contenido destacado */ 
#featured-section { 
	background-color: #ffffff; 
}
#featured-section .section-title, 
#featured-section .entry-title { 
	color: #1a1a1a; 
}
#featured-section .section-title a,
#featured-section .entry-title a {
	color: #468bb9;
}
#featured-section .section-title a:hover, 
#featured-section .section-title a:focus, 
#featured-section .entry-title a:hover, 
#featured-section .entry-title a:focus { 
	color: #34678a; 
}
#featured-section .section-heading-wrap p, 
#featured-section .entry-summary, 
#featured-section .entry-content { 
	color: #1a1a1a; 
}
#featured-section .section-heading-wrap p a, 
#featured-section .entry-summary a, 
#featured-section .entry-content a { 
	color: #468bb9; 
}
#featured-section .section-heading-wrap p a:hover, 
#featured-section .section-heading-wrap p a:focus, 
#featured-section .entry-summary a:hover, 
#featured-section .entry-summary a:focus, 
#featured-section .entry-content a:hover, 
#featured-section .entry-content a:focus { 
	color: #34678a; 
}
#featured-section .readmore a { 
	border-color: #468bb9; 
	color: #468bb9; 
}
#featured-section .readmore a:hover, 
#featured-section .readmore a:focus { 
	background-color: #468bb9; 
	border-color: #468bb9; 
	color: #edf3f8; 
}
/* Pie de página */
#colophon { 
	background-color: #34678a; 
}
#colophon a:hover, 
#colophon a:focus { 
	color: #edf3f8; 
}
#supplementary { /* Zona sidebar */
	background-color: #468bb9; 
}
/* Volver arriba */
#scrollup { 
	background-color: #ffffff; 
	border-color: #468bb9; 
	color: #468bb9; 
}
#scrollup:hover, 
#scrollup:focus { 
	background-color: #468bb9; 
	border-color: #468bb9; 
	color: #edf3f8; 
}
/* Noticias */
#news-section { 
	background-color: #468bb9; 
}
#news-section .entry-title a:hover, 
#news-section .entry-title a:focus { 
	color: #34678a; 
}
#news-section .entry-summary a, 
#news-section .entry-content a { 
	color: #468bb9; 
}
#news-section .entry-summary a:hover, 
#news-section .entry-summary a:focus, 
#news-section .entry-content a:hover, 
#news-section .entry-content a:focus { 
	color: #468bb9; 
}
#news-section .readmore a { 
	border-color: #468bb9; 
	color: #468bb9; 
}
#news-section .readmore a:hover, 
#news-section .readmore a:focus { 
	background-color: #468bb9; 
	border-color: #468bb9; 
	color: #edf3f8; 
}
#news-section .entry-header .entry-meta a, 
#news-section .entry-footer { 
	background-color: #34678a; 
}
#news-section .entry-header .entry-meta a, 
#news-section .entry-footer a { 
	color: #edf3f8; 
}
#news-section .entry-header .entry-meta a:hover, 
#news-section .entry-header .entry-meta a:focus, 
#news-section .entry-footer a:hover,
#news-section .entry-footer a:focus {
	color: #ffffff;
}
#news-section .entry-header .entry-meta a:hover, 
#news-section .entry-header .entry-meta a:focus, 
#news-section .entry-footer:hover, 
#news-section .entry-footer:focus { 
	background-color: #34678a;
}
#news-ticker { 
	background-color: #468bb9; 
	border-color: #468bb9; 
}
/* Portafolio */
#portfolio-section { 
	background-color: #468bb9; 
}
#portfolio-section .section-heading-wrap p a:hover, 
#portfolio-section .section-heading-wrap p a:focus { 
	color: #34678a; 
}
#portfolio-section .section-title:hover, 
#portfolio-section .section-title:focus { 
	color: #ffffff; 
}
/* Menú principal */
#site-header-menu-primary .main-navigation a { 
	background-color: #ffffff;
}
#site-header-menu-primary .main-navigation ul ul,
#site-header-menu-primary .main-navigation ul ul li { 
	border-color: #7eabcd; 
}
.main-navigation ul ul::before {
	border-color: #7eabcd transparent;
}
/* LLamada a la acción (Promoción) */
#promotion-section a { 
	color: #468bb9; 
}
#promotion-section a:hover, 
#promotion-section a:focus { 
	color: #34678a; 
}
#promotion-section .readmore a  { 
	color: #468bb9; 
	border-color: #468bb9; 
}
#promotion-section .readmore a:hover, 
#promotion-section .readmore a:focus { 
	background-color: #468bb9; 
	color: #edf3f8; 
	border-color: #468bb9; 
}
/* Archivo Team */
.page-header,
.row-flex .entry-header  {
	border-color: #468bb9 !important;
}

/* Fancy-title para contenido */
.entry-content .fancy-title {
	border-color: #468bb9;
}

/* Contacto (CF7) */
input[type="submit"] {
	background-color: transparent;
	color: #34678a; 
}
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #34678a;
	border-color: #34678a;
	color: #ffffff; 
}
/* FIN CONFIGURACIÓN DE COLOR */

/* ESTRUCTURA */
/* Ajustar el tipo de letra para TODA la página. */
html {
	font-size: 16px;
}
body, button, input, select, textarea {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
}
/* Controlar separación de palabras */
.post-navigation .post-title,
.entry-title,
.comments-title,
.section-title {
	-webkit-hyphens: manual;
	-moz-hyphens: manual;
	-ms-hyphens: manual;
	hyphens: manual;
}

/* There is no spoon!*/
.row-flex {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-around;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-align-items: flex-start;	
	align-items: flex-start;
	-webkit-align-content: flex-start;
	align-content: flex-start;
}
.flex-justify {
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	justify-content: space-between;
}
.flex-start {
	-webkit-justify-content: flex-start;	
	-moz-justify-content: flex-start;	
	justify-content: flex-start;
}
.flex-center {
	-webkit-justify-content: center;	
	-moz-justify-content: center;	
	justify-content: center;
}
.flex-v-center {
	-webkit-align-items: center;	
	align-items: center;
}
.flex-full-width {
	-webkit-flex: 5 1 auto;
	-moz-flex: 5 1 auto;
	-ms-flex: 5 1 auto;	
	flex: 5 1 auto;
}
.item-flex {
}

/* Cabecera Sticky */
#masthead.sticky-element-original {
	padding: 0 1.875em !important;
}
/* Títulos página y decoración */
.page-header {
	margin: 0 0 3.5em;
}
div.page-header {
	margin-top: 2em;
}
.page-header .page-title,
.page-header p {
	padding-left: 7.7%;
}
/* Efectos en menús */
.menu-item-has-children .menu-item-has-children:hover a::after {
	right: calc( 100% - 8px );
	z-index: 100000;
	border-radius: 50%;
	background: #34678a;
	color: white;
}
.main-navigation .current-menu-item > a, 
.main-navigation .current-menu-ancestor > a, 
.main-navigation .current_page_item > a, 
.main-navigation .current_page_ancestor > a {
	font-weight: bold;
}

/* Títulos unificados */
body.page:not(.home) .site-content .entry-header {
	border-top: 4px solid #468bb9;
	padding-top: 1.75em;
	margin: 0 0 3.5em;
}
.page-title,
body.page:not(.home) .entry-header h1.entry-title {
	font-size: 1.875rem;
	padding-left: 7.7%;
}
.entry-content .fancy-title {
	padding-bottom: 0.5rem;
	border-bottom-width: 2px;
	border-bottom-style: solid;
}
/* Subrayado ligero */
#events-section .entry-footer a:hover,
#colophon a:hover {
	box-shadow: 0 1px 0 0 currentColor;
}

/* Pie de página */
#colophon .widget-area .widget {
	padding-bottom: 0;
	margin-bottom: 0; 
}
#colophon .widget-area .hentry .entry-title {
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.75;
	margin-bottom: 0;
}
#colophon .widget-area .hentry {
	margin-bottom: 0;
}
#colophon .article-wrap.one-column {
	padding: 0 0 1.75em 1.125em;
}
#colophon .widget-area .ctfeaturedpostpageimage .hentry.no-featured-image:last-child {
	margin-bottom: 1.75em;
}
/* FIN ESTRUCTURA */

/* GALERIAS INCRUSTADAS */
/* Galeria WP */
.gallery.row-flex {
	margin: 0 auto 1.75em;
}
.gallery.row-flex .gallery-item {
	max-width: 200px;
	min-width: 150px;
	padding: 0;
}
.gallery.row-flex .gallery-item a:focus {
	outline: none;
}
/* Fondo azul en hover */
/* Galería WP */
.gallery.row-flex .gallery-item {
	background-color: #468bb9;
}
.gallery.row-flex .gallery-item a img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.gallery.row-flex .gallery-item a:hover img,
.gallery.row-flex .gallery-item a:focus img,
.gallery.row-flex .gallery-item a:active img {
	opacity: 0.8;
}
.gallery.row-flex br {
	display: none;
}
/* FIN GALERIAS INCRUSTADAS */

/* PÁGINA EQUIPO */
/* Común */
.full-width .has-post-thumbnail.sinfomac-member .archive-post-wrap .entry-container,
.post-type-archive.full-width .has-post-thumbnail.sinfomac-member .archive-post-wrap .featured-image {
	float: none;
}
/* Team Leader */
.post-type-archive-sinfomac-member .row-flex .team-leader, 
.post-type-archive-sinfomac-member .row-flex .team-leader article.sinfomac-member .entry-container {
	width: 100%;
}
.post-type-archive.full-width .team-leader .has-post-thumbnail.sinfomac-member .archive-post-wrap .featured-image {
	width: auto;
	min-width: 300px;
	margin: 1rem;
}
.post-type-archive.full-width .team-leader .has-post-thumbnail.sinfomac-member .archive-post-wrap .member-heading {
	margin: 1rem;
}
.team-leader .entry-title {
	text-align: center;
}
/* Members */
.row-flex .team-member {
	width: 300px;
	margin: 2px;
}
.post-type-archive-sinfomac-member .row-flex .team-member article.sinfomac-member .featured-image {
	width: 100%;
	min-width: 300px;
}
.post-type-archive-sinfomac-member .row-flex .team-member .archive-post-wrap .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255,255,255,0.7);
  overflow: hidden;
  width: 100%;
  height: 73px;
  transition: .5s ease;
  padding-left: 1rem;
  padding-right: 0.5rem;
}
.post-type-archive-sinfomac-member .row-flex .team-member .archive-post-wrap:hover .overlay {
	height: 100%;
	background-color: rgba(255,255,255,0.9);
}
.post-type-archive-sinfomac-member .row-flex .team-member .archive-post-wrap .overlay .entry-header {
	min-height: 68px;
	display: block;
	margin-top: 5px;
	transition: .5s ease;
}
.post-type-archive-sinfomac-member .row-flex .team-member .archive-post-wrap:hover .overlay .entry-header {
	margin-top: 2rem;
}
.team-member .entry-title {
	font-size: 1.5rem;
	text-align: center;
}
.post-type-archive-sinfomac-member .row-flex .team-member .archive-post-wrap:not(:hover) .overlay .entry-title a {
	color: #1a1a1a;
}
/* Collaborator & Historical */  
.row-flex .team-collaborator,
.row-flex .team-historical {
	width: 300px;
	margin: 2px;
}
.row-flex .team-collaborator .entry-container,
.row-flex .team-historical .entry-container
 {
	padding: 0.5rem;
}
.row-flex .entry-header {
	border-bottom-width: 1px;
	border-bottom-style: solid; 
}
.team-collaborator .entry-title,
.team-historical .entry-title {
	font-size: 1.125rem;
}
.team-collaborator .entry-content,
.team-historical .entry-content {
	padding-left: 1em;
}
.team-collaborator .position,
.team-collaborator .member-email,
.team-collaborator .member-phone,
.team-historical .position,
.team-historical .member-email,
.team-historical .member-phone {
	font-size: 0.875rem;
	margin-bottom: 1em;
}
/* FIN PÁGINA EQUIPO */

/* PÁGINA MIEMBRO */
.single-sinfomac-member.full-width article.sinfomac-member .archive-post-wrap .entry-container {
	width: 100%;
}
.member-data {
	border-bottom: solid 2px #468bb9;
}
.member-data .featured-image {
	min-width: 300px;
	margin: 1rem;
}
.member-data .member-heading {
	margin: 1rem;
}
.leader-data .member-heading .position,
.member-data .member-heading .position {
	margin-bottom: 2rem;
}
.leader-data .member-heading .member-email,
.leader-data .member-heading .member-phone,
.member-data .member-heading .member-email,
.member-data .member-heading .member-phone {
	margin-bottom: 1rem;
	padding-left: 2rem;
}
/* FIN PÁGINA MIEMBRO */

/* PÁGINA PROYECTO */
.single-jetpack-portfolio .content-area .entry-header {
	border-top: 4px solid #468bb9;
	margin: 0 0 3.5em;
	padding-top: 1.75em;
}
.single-jetpack-portfolio article .content-area .entry-container {
	padding-left: 1rem;
}
.single-jetpack-portfolio .content-area .entry-header .entry-title {
	padding-left: 7.7%;
}

/* FIN PÁGINA PROYECTO */

/* LISTADO NOTICIAS/EVENTOS */
/* En pantallas pequeñas poner la imagen sobre la noticia */
@media screen and (max-width: 500px) {
	.archive.category-news.full-width article.category-news .archive-post-wrap .featured-image,
	.archive.category-news.full-width article.category-news .archive-post-wrap .entry-container,
	.archive.category-events.full-width article.category-events .archive-post-wrap .featured-image,
	.archive.category-events.full-width article.category-events .archive-post-wrap .entry-container {
		width: 100%;
		float: none;
	}
	.archive.category-news.full-width article.category-news .archive-post-wrap .featured-image,
	.archive.category-events.full-width article.category-events .archive-post-wrap .featured-image {
		text-align: center;
		margin-bottom: 1rem;
	}	
}
.entry-meta .tags-links {
	margin-right: 10px;
}
/* FIN LISTADO NOTICIAS/EVENTOS */

/* PRESENTACIÓN: GRUPO INMUNOLOGÍA */
article#post-52 .entry-content div:first-of-type {
	margin-bottom: 0;
} 
article#post-52 .entry-content .reduced {
	margin-top: -20px;
	text-align: center;
	font-size: 0.875rem;
}
/* FIN PRESENTACIÓN: GRUPO INMUNOLOGÍA */

/* SECCIÓN NOTICIAS */
#news-section span.readmore {
	display: none;
}
#news-section .entry-header .entry-meta {
	z-index: 30;
}
#news-section .entry-header .entry-title {
	min-height: 50px;
}
#news-section .entry-container .entry-summary {
	position: absolute;
	bottom: calc( 100% - 201px );
	left: 0;
	width: 100%;
	height: 0;
	overflow: hidden;
	z-index: 20;
	background: rgba(255,255,255,0.9);
	transition: 0.5s ease;
	margin: 0;
	pointer-events: none;
}
#news-section .entry-container .entry-summary p {
		padding: 36px 0.5rem 0;
		font-size: 0.875rem;
		line-height: 1.5;
}
#news-section article:hover .entry-container .entry-summary,
#news-section article:focus .entry-container .entry-summary {
	height: 201px;
}
#news-section footer.entry-footer {
	margin: 0;
}
#news-section footer.entry-footer .entry-meta {
	min-height: 50px;
	font-size: 0.875rem;
}
/* FIN SECCIÓN NOTICIAS */

/* SECCIÓN EVENTOS */
#events-section span.readmore {
	display: none;
}
#events-section .entry-header .entry-meta {
	z-index: 30;
}
#events-section .entry-header .entry-title {
	min-height: 50px;
}
#events-section .entry-container .entry-summary {
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: 0;
	overflow: hidden;
	z-index: 20;
	background: rgba(255,255,255,0.9);
	transition: 0.5s ease;
	margin: 0;
	pointer-events: none;
}
#events-section .entry-container .entry-summary p {
		padding: 18px 0.5rem;
		font-size: 0.875rem;
		line-height: 1.5;
}
#events-section article:hover .entry-container .entry-summary,
#events-section article:focus .entry-container .entry-summary  {
	height: 200px;
}
#events-section footer.entry-footer {
	margin: 0;
}
#events-section footer.entry-footer .entry-meta {
	min-height: 50px;
	font-size: 0.875rem;
}
/* FIN SECCIÓN EVENTOS */

/* LINEAS INVESTIGACIÓN */
/* Tamaño letra enlaces a portfolio por shortcode */
.jetpack-portfolio-shortcode .portfolio-entry-title a {
	font-size: 1.125rem;
}
/* FIN LINEAS INVESTIGACIÓN */

/* BIBLIOGRAFÍA */
/* Alternar versión dinámica y estática (pantallas pequeñas) */
#bibliography {
	display: inline;
}
#mobile {
	display: none;
}
@media screen and (max-width: 767px) {
	#bibliography {
		display: none;
	}
	#mobile {
		display: inline;
	}
}

/* Estática - Mendeley shortcodes */ 
.wpmgrouptitle {
	font-size: 1.2875rem;
} 
.wpmref {
	margin-left: 30px;
}
.wpmauthors {}
.wpmyear {}
.wpmyear:after{
	content: ': ';
}
.wpmtitle {
	font-weight: bold;
}
.wpmtitle:before,
.wpmtitle:after {
	content: '"';
}
.wpmoutlet,
.wpmvolume,
.wpmissue,
.wpmpages {
	font-style: italic;
}
.wpmeditors {}
.wpmpublisher {}
.wpmurl {}
.wpmurldoi {}

/* Dinámica (Plantilla bibexhibit.tpl.php) */
div.publication { 
	margin-bottom: 1em; 
	padding: 1em; 
}
div.author {}
div.title { 
	font-weight: bold; 
}
div.url, div.doi { 
	overflow: hidden;  
}
#bibliography {
  float: left;
  margin: 0 0 0 10px;
  padding: 0 10px 0 0;
}
.exhibit-controlPanel {
	width: 25px;
}
#bibliography table, 
#bibliography tr, 
#bibliography th, 
#bibliography td,
.simileAjax-bubble-container table,
.simileAjax-bubble-container tr,
.simileAjax-bubble-container th,
.simileAjax-bubble-container td {
	border: 0px solid #468bb9;
	}
.biblio-box {
	width: 100%;
}
.publication-box {
	overflow: hidden;
	width: 75%;
}
#bibliography .publication td {
	border-width: 0 0 1px 1px; 
}
#bibliography .exhibit-tileView-body {
	list-style-position: inside;
	margin-left: 0.5rem;
}
.filter-box {
	width: 25%;
	vertical-align: top;
}
#bibliography div.exhibit-collectionView-group h1 {
	font-size: 1.4375rem;
	text-transform: capitalize;
}
#bibliography div.exhibit-collectionView-group h2 {
	font-size: 1.2875rem;
	text-transform: capitalize;
}
#bibliography .exhibit-toolboxWidget-popup {
	position: relative !important;
	top: -35px !important;
	left: 30px !important;
	text-align: left !important;
	width: 20px;
}
#bibliography .timeline-event-icon {
	line-height: 0rem
}
span.exhibit-viewPanel-viewSelection-selectedView {
  font-weight:    bold;
  border-bottom:  2px solid #468bb9 !important;
}
#content img{
  padding: 0px;
  background: none;
  border: none;
}
/* FIN BIBLIOGRAFÍA */