/*** Marcar novedades ***/
/*@keyframes blinker { 50% { opacity: 0; } }

#main-nav ul li ul li#menu-item-1039 a::after{
	content: "New";
	color: red;
	font-weight: bold;
	font-size: xx-small;
	animation: blinker 1s linear infinite;
}
#main-nav ul li ul li#menu-item-1040 a::after{
	content: "Novedad";
	color: red;
	font-weight: bold;
	font-size: xx-small;
	animation: blinker 1s linear infinite;
}
body.page-id-20 section.language-es .page-list-ext-item:first-child .page-list-ext-title a::after{
	content: " \00A1Novedad!";
	color: red;
	font-weight: bold;
	font-size: small;
	animation: blinker 1s linear infinite;
}
body.page-id-259 section.language-en .page-list-ext-item:first-child .page-list-ext-title a::after{
	content: " New!";
	color: red;
	font-weight: bold;
	font-size: small;
	animation: blinker 1s linear infinite;
}*/
/***                    ***/

body{
	font-family: "Open Sans";
}
/* Scroll submenu */
.sub-menu::-webkit-scrollbar {
    width: 10px;
}
.sub-menu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
.sub-menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
	background: white;
	border: 3px solid #5fa0bf;
}
#main-nav li .sub-menu{
	overflow-y: auto;
    max-height: 500px;	
}
#main {
	margin-top: 0px;	
	padding-top: 0px;
}
/**/
.link-icon{
    font-size: large;
    background-color: royalblue;
    border-radius: 30px;
    color: white;
    width: 35px;
    box-shadow: 0 0 5px black;
}
.link-icon li{
	margin: 5px;	
}
article .entry-content img{
	border: 3px solid white;
	box-shadow: 0 0 10px;
}
.entry-content p.foto{
	text-align: center;
}
.page-list-ext-image img{
	border-radius: 15px;
}
.page-list-ext-image{
	float: none !important;
}
.page-list-ext-item h3{
	display: inline;
}	
/* Carousel */
/*.imgcontainer{
	width: 100%;
}
.carousel-inner img{
	width: 100%;
	margin: 0 auto;
}*/
.imgcontainer, .carousel-inner img{
	max-height: 341px;
}
.carousel-inner img{
	/*height: 100%;*/
	margin: 0 auto;
}
.imgcontainer, .carousel-inner, .carousel{
	-webkit-transition: height 1s;
	transition: height 1s;
}

/* Bootstrap tabs */
.tab-content{
	border: 1px solid #ddd;
    border-top: 0;
    padding: 5px;
	background-color: white;
}
ul.nav-tabs { margin: 0 !important; }
.nav-tabs li a { border-radius: 10px 10px 0 0; }
.nav-tabs li > a:hover { color: royalblue; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus { color: royalblue; }


/*Bootstrap pills*/
.nav-pills {
    margin: 0 auto;
    padding: 0;
    width: 600px;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
	background-color: #5fa0bf !important;
    color: #fff !important;
}
.nav-pills>li {
	/*background-color: #BDD7EE;*/
	color: #1F4E79;
}
.nav-tabs>li>a {
    padding: 12px 10px !important;
}
.projects-tabs.nav-tabs>li>a {
    height: 80px;
}
.nav-pills+.tab-content{
	border-right: 0;
	border-bottom: 0;
}
/***/

a:focus, a:hover{
	text-decoration: none;	
}
/* Inicio */
.main-img2{
	background: url("../../../images/fachada.jpg");
    background-blend-mode: screen;
    background-color: lightgray;
    background-size: cover;
    box-shadow: 0 0 5px;
}
.main-img{
    background: url("../../../images/fachada2.jpg");
    background-size: cover;
    box-shadow: 0 0 5px;
    padding-top: 150px;	
}
.main-img-text{
	padding: 20px;
	text-align: justify;
}
.ind-sec-col{
	padding: 25px;
	padding-top: 0px;
}
.ind-sec-col h3{
	text-align: center;
	font-family: Ubuntu;
	color: gray;
}

/* Cabecera */
#site-logo, #site-title, #site-description{
	margin: 0;	
}
#site-title{
	text-align: center;	
}
#main-nav a { line-height: 24px; }
#main-nav * { box-sizing: content-box; }
.head-logo{
	border-radius: 15px;
	box-shadow: 0 0 15px black;
	margin-top: 15px;
}
.site-titu {
	margin-top: -35px;
}
@media (min-width: 992px){
.site-titu {
	margin-top: 45px;
	text-align: left;
}
}
@media (max-width: 767px){
h1 {
	font-size: 1.5em;
}
}
@media (max-width: 460px){
.carousel-indicators{
	display: none;
}

.page-list-ext-image img{
	width: 100px;	
}
.page-list-ext-title{
	font-size: 1.3em;
}
}

#main-nav .tinynav {
	background-color: #5fa0bf;
	color: white;
	margin-top: -8px;
	font-weight: bold;
	
}
.social-icons{
	margin-bottom: 15px;
	float: none;
}
.hgroup-right{
	text-align: right;	
}
/* Banderas idiomas */
.f-langs li img{
	width: 30px;
	border-radius: 5px;
    box-shadow: 0 0 2px;
}
.f-langs li:hover {
	box-shadow: 0 0 6px;
}
.f-langs li {
	display: inline;
	-webkit-transition: 1s;
	transition: 1s;
}
/* Barra de busqueda */
.searchbar{
	border: 1px solid #eaeaea;
	border-radius: 5px;
	-webkit-transition: width 0.5s; /* Safari */
    transition: width 0.5s;
}
/* Ficha investigador */
.foto_investigador_cont{
	float: left;
	padding: 30px;
}
.foto_investigador_cont ~ div{
	padding-top: 30px;	
}
img.foto_investigador{ 
	border-radius: 3px;
	border: 2px solid gray;
	width: 212px;
	margin-bottom: 10px;
	/*-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;*/
}
img.social_investigador{ 
	width: 30px;
    box-shadow: 0 0 10px black;
    border-radius: 15px;
    border: 0;
}
.personal_investigador{ 
	width: 92%;
    margin-top: 5px;
    white-space: normal;
}
.titu_inv{
	font-weight: bold;
	text-align: left;
	font-size: 1.1em;
	color: #314C9C;
}
span.dat_inv, .dat_inv span{
	font-weight: bold;
}
.dat_inv{
	text-align: left;
}
.cvb_inv{
	text-align: justify;
	text-indent: 25px;
	padding: 10px;
}

.fondo_ficha > div:first-child{
	border-bottom: 1px dashed gray;
}
/* Pagina de miembros */
.miembrop img{
	border-radius: 5px;
	width: 100px;
	height: 130px;
	color: black;
	box-shadow: 0 0 10px;
}
.miembrop img:hover{
	box-shadow: 0 0 25px;
}
.miembrop{
	text-align: center;
	height: 14em;
	margin: 10px;
}
.miembro_foot1{
	font-weight: bold;
}
.row-centered {
    text-align:center;
}
.col-centered {
    display:inline-block;
    float:none;
    vertical-align: middle;
    margin-right:-4px;
}
.invest-link{
	color: black;
}
.invest-link:hover{
	text-decoration: underlined;
}
.miembro-antig{
	color: gray;
	background-color: #F5F4F4;
	border-radius: 10px;
}
.accordion{
	cursor: pointer;
    padding: 10px;
    font-size: x-large;
    font-weight: bold;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;	
}
.tog-section{
	-webkit-transition: max-height 0.8s; /* Safari */
    transition: max-height 0.8s;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    /*opacity: 0;*/
}
div.tog-section.show {
    display: block !important;
    /*opacity: 1;*/
    max-height: 1000px;
}
.accordion:after {
    /*content: " \21E9";*/
    content: " \25B6";
}

.accordion.active:after {
    content: " \25BC";
}
.mem-sec-title{
	font-weight: bold;	
}
/* Proyectos */
.dat_proy{
	padding-right: 3px;
	padding-left: 3px;
	font-weight: bold;
	}
.dat_proy::after{
	content: ":";
}
.project-fin{
	font-style: italic;
	font-size: 0.9em;
	padding: 2px;
	border-radius: 3px;
	background-color: black;
	color: white;
	
}
.proy_entry .fa{
	width: 15px;
    text-align: center;	
}
.proy_entry{
	margin: 0 auto;
	margin-bottom: 10px;
	float: none !important;
}
.proy_entry .row{
	margin: 0;
	text-align: justify;
}
.project-flag{
	width: 32px;
	margin-left: 5px;
	border-radius: 5px;
	border: 1px solid gray;
}
/* Publicaciones */
.pub_entry{ 
	text-align: justify;
	padding: 5px;
	}
.pub_entry_wrap {	
	margin: 0 auto;
    float: none !important;
}
.pub_entry:hover {
	border-color: royalblue;
}
/* Premios */
.prem_entry_placa{
	border: 10px outset goldenrod;
	margin: 0 auto;
	margin-bottom: 10px;
	float: none !important;
	box-shadow: 5px 5px 15px;
	background: rgb(243,226,199); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(243,226,199,1) 0%, rgba(193,158,103,1) 50%, rgba(182,141,76,1) 51%, rgba(233,212,179,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(243,226,199,1) 0%,rgba(193,158,103,1) 50%,rgba(182,141,76,1) 51%,rgba(233,212,179,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(243,226,199,1) 0%,rgba(193,158,103,1) 50%,rgba(182,141,76,1) 51%,rgba(233,212,179,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	}
.prem_entry{
	margin: 0 auto;
	margin-bottom: 10px;
	float: none !important;
}
.prem_entry .row{
	margin: 0;
}
.titu_prem_placa{
	font-weight: bold;
	text-align: left;
	font-size: 1.4em;
	color: rgba(218,165,32, 0.5);
	text-shadow: 2px 2px 0px black;
	}
.titu_prem{
	font-weight: bold;
	color: #9A7020;
	text-align: left;
	font-size: 1.2em;
}
.entry_wrapper{
    border: 1px solid lightgray;
    border-radius: 5px;
    padding-top: 25px;	
}
/* Formularios */
.form-busqueda{
    position: relative;
}
.form-busqueda label{
	text-align: left !important;
}
/* Pagina de Recursos */
.img-rec-head{
	display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 0 15px;
}
/* Pagina de Eventos */
.event-container{
	background-blend-mode: screen;
    background-color: lightgray;
    background-size: cover;
    padding: 20px;
    border-radius: 5px;
}
.event-container p{
	text-align: justify;	
}
.img-event-head{
	display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 0 15px;
    border-radius: 5px;
}
/* Footer */
#footerarea{
	background-color: #5d99ba;
}
/* Contacto */
.contact-tit{
	font-weight: bold;	
}
.contact-dat{
	padding-left: 10px;
	width: 85%;
}
/* Novedades */
.np_post_link a{
	/* btn */
	display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    /* btn-default */
    text-shadow: 0 1px 0 #fff;
    background-image: -webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);
    background-image: -o-linear-gradient(top,#fff 0,#e0e0e0 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));
    background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #dbdbdb;
    border-color: #ccc;
}