/*CONTENIDOS*/
/*style*/
/*slick-slide*/
/*cookies*/
/*EQUIPO*/
/*CONTACTO*/

a{
	text-decoration: none !important;
}

h1, h2, h3, h4, h5{
	font-weight: 700;
}

p{
	color: #666666;
}

.spacer{
	margin-top: 2em;
	margin-bottom: 2em;
	display: inline-block;
	height: 1px;
	width: 100%;
}

.fs-icon-grevia{
	font-size: 5em;
}

.text-justify{
	text-align: justify;
}

.bk_grevia{
	background-color: #f2f6fa;
}

.box_white{
	background-color: #ffffff;
	height: 100%;
}

.color_grevia{
	color: #0059a2 !important;
}

/*Bootstrap perso*/
.btn.btn-primary{
	background-color: #0059a2;
	border-color: #0059a2;
}


.btn.btn-primary:hover{
	background-color: #f77500;
	border-color: #ff8415;
}

.btn.btn-secundary{
	background-color: #ffffff;
	border-color: #0059a2;
}

/*Menu Nav*/
.nav-item {
	padding: 10px;
}

.nav-margin-top{
	margin-top: 0px;
}

.nav-item a{
	color: #0059a2;
    font-weight: 700;
}

.nav-item__lang a{
	color: #0059a2 !important;
    font-weight: 700;
    opacity: 0.6 !important;

}

.nav-item__lang{
    margin-left: 20px;
}

/*.Fnav-item{
	opacity: 0.7;
}*/

.headerLinks{
	height: 30px;
	overflow: hidden;
}

.headerLinks p{
	margin: 0;
	line-height: 30px;
}

#seccion5 {
    line-height: 41px;
    margin-right: 18px;
}

/*.fixed-top > .container-fluid{
	padding-right: 0px;
	margin-right: 0px;
}*/

@media (max-width: 767px) {
	.collapse .nav-item{
		text-align: center;
		border-bottom: 1px solid #ccc;
		
	}	
}



/*Parallax*/
.parallax {
	/* The image used */
	background-image: url("../imagenes/bk_parallax.jpg");

	/* Set a specific height */
	min-height: 500px;

	/* Create the parallax scrolling effect */
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/*Portada*/
.portada {
	height: auto;
	background-position: center;
	background-size: cover;
	display: flex;    
	margin-bottom: 5vh;
}
.portada_texto h1 {
	font-size: 3em;
	font-weight: 700;
	/*text-shadow: 1px 1px 2px #ffffff;*/
}

.portada_texto h2 {
	font-size: 1.5em;
	font-weight: 400;
	/*text-shadow: 1px 1px 3px #ffffff;*/
	margin-top: 30px;
}

/*Portada Equipo*/
.portadaHome {
	background-image: url(../imagenes/portada_grevia.jpg);
}
.portadaEquipo {
	background-image: url(../imagenes/portada_equipo_grevia.jpg);
}


.seccion-sponsors {
	margin-top: 30px;
}
.seccion-sponsors {
	padding: 100px 0;
}

.slider {
	width: 80%;
	margin: 100px 0px 0px 10%;
}

.slick_div img{
	max-width: 300px;
	padding-right: 30px;
	padding-left: 30px;
	filter: grayscale(100%);
	display: inline-block;
}


.slick-prev:before, .slick-next:before {
	color: #999999 !important;
}

.modalCookies {
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: center;
}

.cookies .cookiesImg {
	text-align: center;
	margin-bottom: 10px;
	font-size: 12px;
}

.cookies .cookiesTxt {
	width: 60%;
	margin-left: 20%;
	margin-bottom: 25px;
	text-align: center;
}

.cookies .cookiesBtn {
	display: flex;
	justify-content: center;
	align-items: center;
}

.divCookies {
	margin: 25px;
	font-size: 12px;
	color: #666;
}



.cookies .cookiesTxt span {
	color: #444;
	font-size: 12px;
}

.cookies .cookiesImg img {
	width: 60px;
}

.cookies {
	position: fixed;
	bottom: 0px;
	background: #F2F2F2;
	width: 100%;
	padding: 20px;
	border-radius: 3px;
	z-index: 50000;
	box-shadow: -2px -2px 3px rgb(0 0 0 / 20%);
}


/*NEW COOKIES*/
#cookies{
	font-size: 0.8em;
	position: fixed;
	bottom: 0px;
	background: #F2F2F2;
	width: 100%;
	padding: 20px;
	z-index: 3000;
}

.cookies_bk {
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: center;
}

.btnCookieWhite {
	text-align: center;
	width: auto;
	color: #666;
	border: 0.5px solid #999;
	font-size: 10px;
	padding: 10px 15px;
	margin: 0px 10px;
	cursor: pointer;
	border-radius: 3px;
	text-decoration: none;
}

.btnCookieWhite.imp {
	text-align: center;
	width: auto;
	background: #0059A2;
	color: #ffffff;
	border: 1px solid #0059A2;
	font-size: 10px;
	padding: 10px 15px;
	margin: 0px 10px;
	cursor: pointer;
	border-radius: 3px;
	text-transform: uppercase;
	text-decoration: none;
}

/*EQUIPO*/
.sectoresCajaTxt, .sectoresCajaTxt-Desc{
	margin-top: 30px;
	margin-bottom: 30px;
}

.textoPais .sectoresCajaTxt-Desc{
	margin-top: 5px;
	margin-bottom: 55px;
}

.sectoresTxtEquipo{
	min-height: 450px;
}

@media (max-width: 960px) {
	.sectoresTxtEquipo{
		min-height: 500px;
	}	
}

@media (max-width: 600px) {
	.sectoresTxtEquipo{
		min-height: 400px;
	}	
}

.pestanas {
	margin-left: 5%;
	width: 90%;
}

.pestana {
    display: inline-block;
    font-weight: 400;
    color: #0059A2;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #0059A2;
    padding: 14px 0px;
    width: 32%;
    font-size: 32px;
    cursor: pointer;
    margin: 2% 0.5% 4% 0%;
}

.textoPestana {
	width: 100%;
	background-color: #fff;
}

.areas .sectores .box33 {
	width: 33%;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 20px;
}

#paisesColab {
	width: 80%;
	margin-left: 10%;
}

.paisesColab {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.paisIcon {
	width: 130px;
	/* display: flex; */
	justify-content: center;
	align-items: center;
	text-align: left;
	flex-direction: column;
	margin: 10px;
	cursor: pointer;
	filter: grayscale(100%);
	opacity: 0.5;
}

.section-SubTitle-Team {
	margin-left: 10%;
	font-size: 38px;
	font-weight: normal;
	color: #444;
	padding: 75px 0 25px;
}

.paisIconTxt {
	float: right;
	margin-top: 13px;
	font-size: 24px;
}

#pestana1 /*(onload)*/ {
	border-bottom: 2px solid #0059A2;
	font-weight: bold;
}

#spain /*(onload)*/{
	filter: none;
	opacity: 1;
}

.areas .sectores {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	width: 95%;
	margin: 0 auto;
}

.areas .sectores .box33 {
	width: 33%;
	/*padding-left: 20px;*/
	padding-bottom: 20px;
}

.areas .sectores .box33 .sectoresCaja .sectoresCajaimg {
	margin-bottom: -50px;
	text-align: center;	
}



/*CONTACTO*/
.contactoFormCaja_input_txt {
	width: 100%;
	color: #222;
}

.contactoFormCaja_input_txt input, .contactoFormCaja_input_txt select {
	width: 90%;
	background: #F2F7FA;
	color: #444;
	border: none;
	display: flex;
	flex-direction: row;
	height: 40px;
	padding: 0 10px;
	margin: 15px 15px 30px 0px;
	font-size: 15px;
}

.asuntoMensajeCaja {
	display: flex;
	flex-direction: column;
	margin: 0 15px 30px 15px;
	width: 100%;
}

.asuntoMensajeCaja span {
	color: #222;
	font-size: 17px;
}

.asuntoMensajeCaja textarea {
	margin: 5px 0 0 0;
	padding: 5px;
	width: 90%;
	color: #444;
	font-size: 15px;
	background: #F2F7FA;
}

.validarEnvioCaja {
	width: 100%;
	margin-bottom: 10px;
	color: #444;
	font-size: 14px;
}

.divCookies label{
	margin-left: 4px;
	line-height: 20px;
    margin-bottom: 6px;
    vertical-align: middle;
}
 
.cookies input[type="checkbox"]{
	margin: 0px !important;
}
.cookies input[type="checkbox"]:checked + label:after {
	margin-left: -22px;
	margin-top: 5px;
}

.validarEnvioCaja a {
	color: #444;
}
.validarEnvioCaja input[type="checkbox"]:checked + label:after{
	margin-top: -12px;
}




@media (max-width: 1300px){
	/*.slick-slide img{
		padding-right: 130px;
	}	*/
}

@media (max-width: 992px) {
	.modalCookies {
		top: 0px;
	}

	.areas .sectores .box33 {
		width: 50%;
		margin-top: 15%;
	}
}

@media (max-width: 600px) {
	.areas .sectores .box33 {
		width: 100%;
		margin-top: 15%;
	}
	
	.portada .portada_Box .portada_texto{
		margin: 15vh auto 30px auto;
	}

	.pestana {
		width: 32%;
		font-size: 17px;
		margin-right: 0;
	}

	.cookies .cookiesBtn .btnCookieWhite {
		margin: 30px 10px;
	}

	.divCookies{
		margin: 5px;
	}
}

@media (max-width: 600px) {
	.slick_div img{
		width: 100%;
	}
	.slick-next{
		right: 0px;
	}
	.slick-prev{
		left: -10px;
	}
	.portada_texto h1{
		font-size: 2em;
	}
}




/* estilos new team */

/* cards-direction */

.card {
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #0059A2;
    border-radius: 1.25rem;
}

    .card.mb-3:hover {
        border: 0px; 
        background-color: #F2F6FA;
        /* border: 0px; */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        /* transform: scale(1.05); */
    }
    .card.mb-3 {
        width: 100%;
    }


@media (max-width: 1352px) {
    .card.mb-3 {
        width: 95%;
        margin: 0 auto;
    }
}


.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}

.rounded-start {
    border-bottom-left-radius: 1.25rem !important;
    border-top-left-radius: 1.25rem !important;
}


@media (max-width: 767px) {
    .rounded-start {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-top-left-radius: 1.25rem !important;
        border-top-right-radius: 1.25rem !important;
    }
}

.img-card {
    width: 100%;
    object-fit: cover;
}

.img-fluid-team {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .card-horizontal {
        flex-direction: column;
    }

    .img-card {
        width: 100%;
    }
}

.card-footer {
    display: flex;
    align-items: center;
    padding: 0;
    background-color: transparent;
    border-top: 0;
}


.info-prof {
    display: flex;
    flex-direction: column;
    padding: 2.3rem;
}

.card-body {
    padding: 0;
    /*margin-top: 1rem;*/
}

.card-title {
    margin-bottom: 0.5rem;
    color: #0059A2;
}

.card-text:last-child {
    margin-top: 20px;
}


.social-icons {
    font-size: 1.5rem;
    margin-top: 8px;
}


i.fas.fa-envelope.ms-4 {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    color: white;
    background-color: #d96565;
    padding: 10px;
    border-radius: 50%;
}



i.fab.fa-researchgate {
    font-size: 28px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #0CD5AF;
    padding: 10px;
    border-radius: 50%;
}

i.fab.fa-linkedin-in {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;  
    color: white;
    background-color: #0059A2;
    padding: 10px;
    border-radius: 50%;
}



.prof {
    margin-top: 12px;
}


span.prof {
    font-size: 18px;
    color: #0059A2;
}

/* NAV TEAM */

/*.pestana {
 
    margin: 0% 0.5% 3% 0%;
}*/

.contenedor-pestanas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


/* MIEMBROS */

.card-miembros {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    gap: 0px;
    padding: 0; /* Remove padding here */
    overflow: hidden;
}

    .card-miembros:hover {
        border: 0px;
        background-color: #F2F6FA;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.custom-col-miembros {
    display: flex;
}

.card-footer-miembros {
    margin-top: auto; 
    padding: 0 0 2rem 0;

}

h6.card-title {
    font-size: 18px;
    font-weight: 500;
    color: #0059A2;
}


h5.card-title-prof {
    margin-top: 1.5rem;
    font-size: 1.75rem;
    color: #0059a2;
}

@media (min-width:1400px) {
    .img-card {
        height: 350px;
    }
}

.sectoresCajaimg {
    width: 100%;
    overflow: hidden;
    height: 250px; 
}

    .sectoresCajaimg img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #eef6f8;
        display: block;
    }


/*NEW Nav*/

/*.nav-item:hover {
    opacity: 0.3 !important;
}*/

.nav-link.color_grevia:hover {
    opacity: 0.7;
}


.nav-lang-esp:hover,.nav-lang-en:hover, .nav-lang-cat:hover {
    opacity: 0.3!important;
}


