/***************  GENERAL ***********************/
html, body { height: 100%; margin: 0; padding: 0; }

body{ font-family: 'Raleway', sans-serif; }

a{color:#000000;outline: 0;}
a:hover{text-decoration: none;}
a:focus, a:hover{color: #ec7174!important;}

.container-fluid { padding: 0px;height:100%; }

/***************  FOOTER ***********************/
footer{
    background: #000000;
    color:#fff;
}

.outer-footer{
    height:100px;
    background:transparent;
}

.footer-txt {
    font-size:1.2em;
    text-align: right;
    /*width:220px;
    width:135px;*/
    border-right: 2px solid #fff;
}

.footer-txt p {
    padding-right:10px;
}

.footer-left-logo{
    padding:30px;
}

#sticky-footer{
    display:none;
}

/***************  HOME ***********************/
.Absolute-Center {
    min-height: 90% !important;
    /*min-height: 90vh !important;*/
    min-height: 68.1vh !important;
    display: flex;
    align-items: center;
}

#bodyContent{
    text-align: left;
}

.home-carrousel{
    /*padding-top: 45px;*/
}

.home-intro{
    padding-bottom:50px;
    padding-top:50px;
}

.logo-ub{
    padding-bottom: 20px;
}

.home-intro-title{
    padding-bottom:20px;
}

.events-and-social-block{
    max-width: 250px;
    margin:0 auto;
}

.nopadding {
    padding: 0!important;
    margin: 0!important;
}

.img-marta, .img-florenci, .img-montserrat{
    width:100%;
}

.marta-background{
    background-image: url('../img/marta_lab.jpg')!important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#fff;
    height: 496px;
}

.marta-background2{
    background-image: url('../img/marta_lab2.jpg')!important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#fff;
    height: 496px;
}

.florenci-background{
    background-image: url('../img/florenci_lab.jpg')!important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#fff;
    height: 496px;
}

.florenci-background2{
    background-image: url('../img/florenci_lab2.jpg')!important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#fff;
    height: 496px;
}

.montserrat-background{
    background-image: url('../img/montse_lab.jpg')!important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#fff;
    height: 496px;
}

.montserrat-background2{
    background-image: url('../img/montse_lab2.jpg')!important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#fff;
    height: 496px;
}

.professional-text-list > li {
    padding-left: 25px!important;
    padding-right: 25px!important;
}

.professional-text-list {
    margin-right:0px!important;
    margin-top:30px;
}

.contact-margin-section {
    margin-top:65px;
}

.professional-text-block p{
    margin-top:40px;
    font-size:1.4em;
    font-weight:300;
}

.professional-content{
    padding-left:5px;
    padding-right:5px;
}

.outer{
    height:496px;
    background:transparent;
}

.inner{
    position:relative;
    top:50%;
    -ms-transform: translatey(-55%); /* IE 9 */
    -webkit-transform: translatey(-55%);;
    transform:translatey(-55%);
}

.parallax-window {
    min-height: 250px;
    background: transparent;
}

#map {
    height:600px;
    max-height:600px;
}

.contact-subtitle {
    margin-top:30px;
}

.resize-flaticon:before, .resize-flaticon:after {
    color:#ec7174;
    font-size: 8em!important;
    -webkit-transition: -webkit-transform .3s, color .3s;
    -o-transition: -o-transform .3s, color .3s;
    transition: transform .3s, color .3s
}

.resize-inside-flaticon:before, .resize-inside-flaticon:after {
    color:#fff;
    font-size: 4em!important;
    margin-left:0!important;
}

.rotate:hover .resize-flaticon:before, .rotate:hover .resize-flaticon:after {
    color:#333!important;
}

.rotate-professional:hover i{
    -webkit-transform: scale(-1.1, 1.1) translate3d(0, 1px, 0);
    -ms-transform: scale(-1.1, 1.1) translate3d(0, 1px, 0);
    -o-transform: scale(-1.1, 1.1) translate3d(0, 1px, 0);
    transform: scale(-1.1, 1.1) translate3d(0, 1px, 0);
}

.rotate-professional:hover .resize-inside-flaticon:before, .resize-inside-flaticon:after {
    color:#ec7174!important;
}

.rotate-professional i{
    transition: transform 0.50s;
    transition-timing: ease-in-out;
    display: inline-block;
}

.rotate-professional .professional-icon-title{
    -webkit-transition: -webkit-transform .2s, color .2s;
    -o-transition: -o-transform .2s, color .2s;
    transition: transform .2s, color .2s;
}

.rotate-professional  {
    text-decoration: none;
    color: #fff;
}
.rotate-professional:hover .professional-icon-title{
    color: #ec7174;
}

.rotate:hover i{
    -webkit-transform: scale(-1.1, 1.1) translate3d(0, -3px, 0);
    -ms-transform: scale(-1.1, 1.1) translate3d(0, -3px, 0);
    -o-transform: scale(-1.1, 1.1) translate3d(0, -3px, 0);
    transform: scale(-1.1, 1.1) translate3d(0, -3px, 0);
}

.rotate i{
    transition: transform 0.50s;
    transition-timing: ease-in-out;
    display: inline-block;
    padding-right: 25px;
}

.icon-speaker-box{
    max-width:155px;
    margin:0 auto;
}

.icon-heart-box{
    max-width:170px;
    margin:0 auto;
}

.es-block{
    padding-top: 50px;
    padding-bottom: 50px;
}

.professional-icon-title{
    font-size:1.4em;
}

.social-events-title, .news-title{
    margin-top:0;
}

.contact-block{
    margin-bottom:70px;
}

.newspiece-title{
    margin-top:0px;
}

.news-link:hover, .events-link:hover{
    color:#000000!important;
}

.map-content{
    margin-top:10px;
}

/***************  MEET THE LAB ***********************/

.mtl-background{
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    background-size: cover!important;
    -o-background-size: cover!important;
    width: 100%;
    height: 450px;
}

.mtl{
    margin-top:50px;
    margin-bottom:50px;
}

.mtl-row{
    margin-bottom:20px;
}

.mtl-ul{
    margin-top: 15px;
    margin-bottom: 30px;
    line-height: 10px;
}

.mtl-ul li{
    list-style-type: none;
}

.parallax-mtl-window {
    min-height: 500px;
    background: transparent;
}

.thumbnail-box{
    height:380px;
}

.thumbnail{
    padding:0px!important;
    border:none!important;
    -webkit-border-radius:0!important;
    -moz-border-radius:0!important;
    border-radius:0!important;
}

.thumbnail img {
    height:250px;
    width:100%;
}

.resize-mtl-flaticon:before, .resize-mtl-flaticon:after{
    font-size: 1.6em!important;
    padding-right:30px;
    color:#ec7174;
}

.professional-link{
    color:#fff;
}

.hover{
    overflow: hidden;
}

.hover img {
    max-width: 100%;
    width:100%;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.hover:hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.hover img{
    display: block;
    position: relative;
}

.mtl-slogan{
    position:relative;
    background: transparent!important;
    color:#fff;
}

.thumbnail {
    position: relative;
}

.Absolute-Center {
    min-height: 45vh !important; /* These two lines are counted as one :-)       */
    display: flex;
    align-items: center;
}

.caption-txt {
    color: #fff;
    line-height:45px;
}

.caption-white span, .caption-white p {
    background: rgba(255,255,255,.7);
    color:#000;
    padding: 5px 10px 5px 10px;
    margin-bottom:0;
}

.caption-black, .caption-black p {
    background: rgba(0,0,0,.7);
    color:#fff;
    font-size: 0.6em;
    padding: 5px 10px 5px 10px;
    margin-bottom:0;
}

.full-height {
    height:100%
}

.title-slogan{
    font-size:14px!important;
}

.subtitle-slogan{
    margin-top: 10px;
}

/***************  PUBLICATIONS ***********************/
.publications-hr{

}

.resize-publication-flaticon:before, .resize-publication-flaticon:after{
    font-size: 1.6em!important;
    padding-right:30px;
    color:#ec7174;
}

.publication-row{
    margin-bottom:20px;
}

.publication-background{
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    background-size: cover!important;
    -o-background-size: cover!important;
    width: 100%;
    height: 450px;
}

.publication-img{
    width:100%;
}

/***************  RESEARCH ***********************/
.research-hr{

}

.resize-research-flaticon:before, .resize-research-flaticon:after{
    font-size: 1.6em!important;
    padding-right:30px;
    color:#ec7174;
}

.research-row{
    margin-bottom:20px;
}

.research-background{
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    background-size: cover!important;
    -o-background-size: cover!important;
    width: 100%;
    height: 450px;
}

.research-img{
    width:100%;
}

.panel-default>.panel-heading{
    background: transparent!important;
    border-color: transparent!important;
}

.panel-default{
    border-color: transparent!important;
}

.panel-default{
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.panel-heading{
    padding:10px 0px!important;
}

.accordion-subtitle{
    color:#684949;
    font-weight: 700;
    text-decoration: underline;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body{
    border-top-color:transparent!important;
}

.panel-body{
    margin-left:80px;
}

.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

/***************  ACCORDION SLIDER ***********************/

#accordion-ub .panel-counter {
    padding: 5px;
    font-size: 14px;
    color: #333;
    -moz-transform-origin: left bottom;
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -moz-transform: rotate(-90deg) translateY(100%);
    -webkit-transform: rotate(-90deg) translateY(100%);
    transform: rotate(-90deg) translateY(100%);
}

@media (max-width: 860px) {
    #accordion-ub.custom-responsive .panel-counter {
        font-size: 16px;
        padding: 2px;
        bottom: 2px !important;
        left: 2px !important;
    }

    #accordion-ub.custom-responsive .hide-medium-screen {
        display: none;
    }
}

@media (max-width: 640px) {
    #accordion-ub.custom-responsive .as-layer {
        font-size: 12px;
    }

    #accordion-ub.custom-responsive .hide-small-screen {
        display: none;
    }
}

@media (max-width: 450px) {
    #accordion-ub.custom-responsive .as-layer {
        font-size: 10px;
        padding: 2px;
    }
}

.controls {
    margin-top: 30px;
    text-align: center;
}

.controls a {
    color: #333;
}

.controls span.custom-arrow {
    display: none;
}

/***************  NEWS & EVENTS ***********************/
.accordion-body img{
    display: block;
    max-width: 100%;
    height: auto;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background: #EC7174!important;
    border-color:transparent!important;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    color: #000!important;
}

.pagination>li>a, .pagination>li>span {
    color:#000;
}

.clear-grid{
    clear:both;
}

.movies {
    margin-top: 2rem;
    margin-bottom: .60rem;
}

.img-card {
    width: 100%;
    margin-bottom: .40rem;
}

.thumbnail-new {
    position: relative;
    padding: 0px;
    margin-bottom: 40px;
    overflow: hidden;
}

.thumbnail-new img {
    width: 100%;
}

.news-block{
    padding-top:50px;
    padding-bottom:50px;
}

.btn-new {
    color: #ffffff;
    background-color: #EC7174;
}

.btn-new:hover,
.btn-new:focus,
.btn-new:active,
.btn-new.active,
.open .dropdown-toggle.btn-new {
    color:#ffffff;
    background: #000000;
}

.btn-new:active,
.btn-new.active,
.open .dropdown-toggle.btn-new {
    background-image: none;
}

.btn-new.disabled,
.btn-new[disabled],
fieldset[disabled] .btn-new,
.btn-new.disabled:hover,
.btn-new[disabled]:hover,
fieldset[disabled] .btn-new:hover,
.btn-new.disabled:focus,
.btn-new[disabled]:focus,
fieldset[disabled] .btn-new:focus,
.btn-new.disabled:active,
.btn-new[disabled]:active,
fieldset[disabled] .btn-new:active,
.btn-new.disabled.active,
.btn-new[disabled].active,
fieldset[disabled] .btn-new.active {
    background-color: #EC7174;
    border-color: #EC7174;
}

.btn-new .badge {
    color: #EC7174;
    background-color: #ffffff;
}

.news-background{
    background: url('../img/news.jpg') no-repeat center center;
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    background-size: cover!important;
    -o-background-size: cover!important;
    width: 100%;
    height: 40vh;
    min-height:40vh;
}

.events-background{
    background: url('../img/events.jpg') no-repeat center center;
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    background-size: cover!important;
    -o-background-size: cover!important;
    width: 100%;
    height: 40vh;
    min-height:40vh;
}

/***************  MEDIA QUERIES ***********************/
@media (max-width: 797px) {
    body {
        padding-left: 0px;
        padding-right: 0px;
    }

    .research-background {
        -webkit-background-size: cover!important;
        -moz-background-size: cover!important;
        background-size: cover!important;
        -o-background-size: cover!important;
        background-position: 75% 7%!important;
    }

    .publication-background {
        -webkit-background-size: cover!important;
        -moz-background-size: cover!important;
        background-size: cover!important;
        -o-background-size: cover!important;
        background-position: 75% 7%!important;
    }

    .mtl-background {
        -webkit-background-size: cover!important;
        -moz-background-size: cover!important;
        background-size: cover!important;
        -o-background-size: cover!important;
        background-position: 75% 7%!important;
    }
}

/*@media (max-width: 460px) {
    .caption-black, .caption-white{
        left:30%;
    }
}*/

@media (min-width: 320px) and (max-width: 444px) {
    .resize-inside-flaticon:before, .resize-inside-flaticon:after {
        font-size: 2.5em!important;
    }

    .professional-icon-title{
        font-size:1.2em!important;
    }

    .professional-h{
        font-size:22px!important;
    }

    .professional-text-block p{
        font-size: 1.2em;
        margin:0px!important;
    }
}

@media (max-width: 768px) {
    .logo-nav-fixed {
        display:none!important;
    }
}






/*********************** Bootstrap Clearfix ************************/

/*  Tablet  */
@media (min-width:767px){

    /* Column clear fix */
    .col-lg-1:nth-child(12n+1),
    .col-lg-2:nth-child(6n+1),
    .col-lg-3:nth-child(4n+1),
    .col-lg-4:nth-child(3n+1),
    .col-lg-6:nth-child(2n+1),
    .col-md-1:nth-child(12n+1),
    .col-md-2:nth-child(6n+1),
    .col-md-3:nth-child(4n+1),
    .col-md-4:nth-child(3n+1),
    .col-md-6:nth-child(2n+1){
        clear: none;
    }
    .col-sm-1:nth-child(12n+1),
    .col-sm-2:nth-child(6n+1),
    .col-sm-3:nth-child(4n+1),
    .col-sm-4:nth-child(3n+1),
    .col-sm-6:nth-child(2n+1){
        clear: left;
    }
}


/*  Medium Desktop  */
@media (min-width:992px){

    /* Column clear fix */
    .col-lg-1:nth-child(12n+1),
    .col-lg-2:nth-child(6n+1),
    .col-lg-3:nth-child(4n+1),
    .col-lg-4:nth-child(3n+1),
    .col-lg-6:nth-child(2n+1),
    .col-sm-1:nth-child(12n+1),
    .col-sm-2:nth-child(6n+1),
    .col-sm-3:nth-child(4n+1),
    .col-sm-4:nth-child(3n+1),
    .col-sm-6:nth-child(2n+1){
        clear: none;
    }
    .col-md-1:nth-child(12n+1),
    .col-md-2:nth-child(6n+1),
    .col-md-3:nth-child(4n+1),
    .col-md-4:nth-child(3n+1),
    .col-md-6:nth-child(2n+1){
        clear: left;
    }
}


/*  Large Desktop  */
@media (min-width:1200px){

    /* Column clear fix */
    .col-md-1:nth-child(12n+1),
    .col-md-2:nth-child(6n+1),
    .col-md-3:nth-child(4n+1),
    .col-md-4:nth-child(3n+1),
    .col-md-6:nth-child(2n+1),
    .col-sm-1:nth-child(12n+1),
    .col-sm-2:nth-child(6n+1),
    .col-sm-3:nth-child(4n+1),
    .col-sm-4:nth-child(3n+1),
    .col-sm-6:nth-child(2n+1){
        clear: none;
    }
    .col-lg-1:nth-child(12n+1),
    .col-lg-2:nth-child(6n+1),
    .col-lg-3:nth-child(4n+1),
    .col-lg-4:nth-child(3n+1),
    .col-lg-6:nth-child(2n+1){
        clear: left;
    }
}

/********************** FLIP BRAND LOGO *******************************/
.animated {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.flipInX {
    -webkit-backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    -moz-backface-visibility: visible !important;
    -moz-animation-name: flipInX;
    -o-backface-visibility: visible !important;
    -o-animation-name: flipInX;
    backface-visibility: visible !important;
    animation-name: flipInX;
}

@-webkit-keyframes flipInY {

    0% {
        -webkit-transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        -webkit-transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -webkit-transform: perspective(400px) rotateY(10deg);
    }

    100% {
        -webkit-transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

@-moz-keyframes flipInY {

    0% {
        -moz-transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        -moz-transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -moz-transform: perspective(400px) rotateY(10deg);
    }

    100% {
        -moz-transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

@-o-keyframes flipInY {

    0% {
        -o-transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        -o-transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -o-transform: perspective(400px) rotateY(10deg);
    }

    100% {
        -o-transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes flipInY {

    0% {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        transform: perspective(400px) rotateY(10deg);
    }

    100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

.flipInY {
    -webkit-backface-visibility: visible !important;
    -webkit-animation-name: flipInY;
    -moz-backface-visibility: visible !important;
    -moz-animation-name: flipInY;
    -o-backface-visibility: visible !important;
    -o-animation-name: flipInY;
    backface-visibility: visible !important;
    animation-name: flipInY;
}

/******************** COOKIES CONSENT ***************************/
.cc-btn:hover{
    color:#fff!important;
}

.ul-privacy-policy {
    list-style-type: disc;
    margin-left: 15px;
}