* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Desktop Styles */
@media only screen and (min-width: 961px) {
    
    body {font-family: 'Martel Sans', sans-serif; margin:0; padding:0; line-height:1.2; color:#686868; background-color:white;}
    h1 {font-family:'Georgia', serif;}
    hr {border-color:#D7D7D7;}
    a{color:#893030;text-decoration: none;cursor:pointer;}
    a:hover{color:#db4c4c}
    
/*** ------------------------ Top ---------------------- ***/
    .top {
        height: 40px;
        background-color: black;
        }
    
    .twitter_top {
        padding: 10px;
        color: white;
        margin: 0.1%;
        margin-left: 2%;
        }

    .twitter_top:hover {
        color: #D7D7D7;
        }
    
    .researchgate_top {
        padding: 10px;
        color: white;
        margin: 0.1%;
        margin-left: 0.2%;
        }

    .researchgate_top:hover {
        color: #D7D7D7;
        }

    .orcid_top {
        padding: 10px;
        color: white;
        margin: 0.1%;
        margin-left: 0.2%;
        }

    .orcid_top:hover {
        color: #D7D7D7;
        }

    .mendeley_top {
        padding: 10px;
        color: white;
        margin: 0.1%;
        margin-left: 0.2%;
        }

    .mendeley_top:hover {
        color: #D7D7D7;
        }
    
    
    
/*** ------------------------ Menu ---------------------- ***/
    .container {
        background-color: #FBFCFC;
        padding: 40px;
        border-bottom: 0.75px solid #D7D7D7;
        }
    
    .logo {
        float: left;
        padding-left: 5%;
        margin-right: 75px;
        margin-top: -35px;
        }
    
    .logo img {
        padding-top: 10px;
        width: 400px;        
        }
    
    .header_desk {
        text-align: center;
        padding: 25px;
        padding-top: 5px;
        padding-left: 47%;
        font-size: 12px;
        text-transform: uppercase;
        /* position: sticky; */
        /* top: 0px; */
        /* z-index: 2; */
        }
    
        .header_desk li {
            display: inline;
            padding: 10px;
            }

        .header_desk a {
            text-decoration: none;
            color: #212121;
            }

        .header_desk :hover {
            color: #9E9E9E;
            }
    
    .header_phone {
        display: none;
        }
    
    .subratllat {
        background-image: linear-gradient(silver, silver);
        background-size: 0 2px, auto;
        background-repeat: no-repeat;
        background-position: center bottom;
        transition: all .2s ease-out;
        }
    
        .subratllat:hover{
            background-size: 100% 2px, auto;
            }
    
        li {
            float: left;
            position: relative;
            }

        ul li ul {
            background: grey;
            position: absolute;
            transition: all 0.5s ease;
            display: none;
            background-color: #FBFCFC;
            margin-top: 0.5rem;
            width: 80%;
            }
    
        ul li ul li {
            background: #e3e3e3;
            width: 200%;
            text-align: left;
            font-size: 11px;
            }

            ul li ul li:hover{
                background: #b8b8b8;
                }
    
        .subratllat_2 {
            z-index: 1;
            }
    
        .subratllat_2 :hover .subclass_3{
            color: white;
            }

        ul li:hover > ul,
        ul li ul:hover {
            display: block;
            }
    
    
    
    .cover {
        /* The image used */
        background-image: url(img/cover1.png);
        /* Set a specific height */
        height: 450px;
        /* Create a parallax scrolling effect */
        background-attachment: fixed;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        }
    
    .subcover {
        margin-top: 0px;
        height: 100%;
        background-color: rgba(30, 30, 30, 0.25);
        text-align: center;
        }
    
    .core {
        background-color: white;
        padding: 7%;
        font-size: 13px;
        line-height: 1.7;
        text-align: justify;
    }
    
    .twitter {
        float: right;
        width: 30%;
        }
    
    .description {
        width: 65%;
        }
    
        .description p{
            font-size: 1.8rem; 
            font-weight: bold; 
            padding-bottom: 12px;
            font-variant: small-caps;
            text-align: center;
            }
    
        .description ul {
            padding-left: 5%;
            }
    
        .description img {
            float: left;
            width: 37.5%;
            margin-right: 4%;
            margin-bottom: 4%;
            }
    
        .description sup {
            font-variant: normal;
            font-size: 12px;
        }

/*** --------------------- Biografia ------------------- ***/
    
    .alvar {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        }
    
        .alvar p{
            /**font-family: 'Georgia', serif;**/
            font-size: 1.8rem; 
            font-weight: bold; 
            padding-bottom: 12px;
            margin-top: -6%;
            font-variant: small-caps;
            text-align: center;
            }
        
        .alvar p1{
            font-size: 18px;
            padding-bottom: 12px;
            font-variant: small-caps;
            }
    
        .alvar img {
            float: left;
            width: 37.5%;
            margin-right: 4%;
            margin-bottom: 4%;
            }
    
        .alvar sup {
            font-variant: normal;
            font-size: 12px;
            }
    
        .alvar button {
            font-size: 0.7rem; 
            color: darkgrey; 
            cursor: pointer;
            border: none;
            background: none;
            padding-left: 10px;
            }
    
        .header_alvar {
            text-align: center;
            font-size: 12px;
            text-transform: uppercase;
            border-top: 0.75px solid rgba(0, 0, 0, 0.2);
            position: sticky;
            top: 0px;
            z-index: 2;
            background-color: white;
            height: 75px;
            }

            .header_alvar li {
                display: inline;
                margin: 15px;
                margin-top: 20px;
                margin-bottom: 20px;
                background-color: white;
                }
    
            .header_alvar ul {
                padding-left: 37%;
                }
    
        .highlight {
            padding: 10px;
            border: 1px solid #893030;
            border-radius: 4px;
            background-color: rgba(219, 76, 76, 0.05);
            color: #893030;
            }
    
            .highlight :hover{
                color: #893030;
                }
    
        .no-highlight {
            padding: 10px;
            border: 0.75px solid rgba(0, 0, 0, 0.2);
            border-radius: 4px;
            }

            .no-highlight a{
                color: #9E9E9E;
                }

            .no-highlight :hover{
                color: #893030;
                }
    
        .kbio img{
          position: relative;
          display: inline-block;
          width: 12px;
          opacity: 0.3;
        }

        .kbio p4{
          visibility: hidden;
          position: absolute;
          padding-left: 5px;
          z-index: 1;
          opacity: 0;
          transition: opacity 0.3s;
        }


        .kbio:hover p4{
          visibility: visible;
          opacity: 1;
        }

/*==================================
    TIMELINE
==================================*/
/*-- GENERAL STYLES
------------------------------*/
.container3 {
    padding-top: 1%;
}

.timeline {
  list-style: none;
}

/*----- TIMELINE ITEM -----*/
.timeline-item {
  padding-left: 40px;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
  font-size: 0.7rem;
  color: #6E6E6E;
  font-weight: 70;
  letter-spacing: 3px;
  margin: 0 0 .5em 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker:before {
  background: #FF6B6B;
  border: 3px solid transparent;
  border-radius: 100%;
  content: "";
  display: block;
  height: 10px;
  position: absolute;
  top: 4px;
  left: 0;
  width: 10px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}
.timeline-marker:after {
  content: "";
  width: 3px;
  background: #CCD5DB;
  display: block;
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 6px;
}
.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
  background: transparent;
  border: 3px solid #FF6B6B;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
  padding-bottom: 40px;
}
.timeline-content p:last-child {
  margin-bottom: 0;
}

/*----- TIMELINE PERIOD -----*/
.period {
  padding: 0;
}
.period .timeline-info {
  display: none;
}
.period .timeline-marker:before {
  background: transparent;
  content: "";
  width: 15px;
  height: auto;
  border: none;
  border-radius: 0;
  top: 0;
  bottom: 30px;
  position: absolute;
  border-top: 3px solid #CCD5DB;
}
.period .timeline-content {
  padding: 40px 0 70px;
}
     
 .biggal {
  display: flex;
  width: 100%;
  padding: 4% 2%;
  box-sizing: border-box;
  height: 50vh;
}

.biggal1 {
  display: flex;
  width: 100%;
  padding: 4% 2%;
  box-sizing: border-box;
  height: 75vh;
}    
    
.gal {
  flex: 1;
  overflow: hidden;
  transition: .5s;
  margin: 0 1%;
  box-shadow: 0 10px 15px rgba(0,0,0,.1);
  line-height: 0;
}

.gal img {
  width: 100%;
  height: calc(100% - 10vh);
  object-fit: cover; 
  transition: .5s;
}

.gal p2 {
  font-size: 2vh;
  display: block;
  text-align: center;
  height: 10vh;
  line-height: 2.6;
}

.gal:hover { flex: 1 1 50%; }
.gal:hover > img {
  width: 100%;
  height: 100%;
}
    
/*** ----------------------  Footer  -------------------- ***/
    .footer {
        clear: both;
        overflow: hidden;
        background-color: #FAFAFA;
        border-top: 0.75px solid #D7D7D7;
        /* The image used */
        background-image: url(img/lab.jpeg);
        /* Set a specific height */
        background-position: center;
        background-size: cover;
        }
    
    .subfooter {
        margin-top: 0px;
        height: 100%;
        background-color: rgba(30, 30, 30, 0.65);
        padding: 5%;
        font-size: 0.9rem;
        text-align: center;
        color: whitesmoke;
        line-height: 2;
        }
    
        .subfooter a {
            text-decoration: none;
            color: #D0D3D4;
            }

        .subfooter a:hover {
            color: #A6ACAF;
            }
    
    .bottom {
        height: 40px;
        background-color: black;
        }
    
/*** -------------------- Publicacions ------------------ ***/
    
    .pub {
        clear: both;
        overflow: hidden;
        background-color: white;
        padding-top: 3%;
        padding-left: 8%;
        padding-right: 8%;
        line-height: 1.7;
        text-align: justify;
        font-size: 0.8rem;
        }
    
    .year {
        width: 7.5%;
        letter-spacing: .1rem;
        padding-left: 2.5%;
        font-size: 1.2rem;
        }
    
    .pub_list {
        float: right;
        width: 85%;        
        }
    
        .details {
            float: right;
            height: 32px;
            margin-left: 5%;
            margin-right: 2.5%;
            margin-top: 1.5%;
            cursor: pointer;
            }
    
    .img1 {
        height: 32px;
        padding-right: 9px;
        padding-left: 13px;
        }
    
    .img2 {
        height: 34px;
        display: none;
        }
    
    .details:hover .img1{
        display: none;
        }
    
    .details:hover .img2{
        display: block;
        }
    
    .img1_op {
        height: 69px;
        margin-right: -15px;
        padding-left: 13px;
        }
    
    .img2_op {
        height: 69px;
        margin-right: -15px;
        padding-left: 13px;
        display: none;
        }
    
    .details:hover .img1_op{
        display: none;
        }
    
    .details:hover .img2_op{
        display: block;
        }
    
        .pub_list p{
            clear: both;
            overflow: hidden;
            }
    
    .pub_text {
        padding-top: 3px;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        }
    
    .dropdown-content {
        display: none;
        width: 90%;
        margin-left: 5%;
        /*box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);*/
        padding: 12px 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        text-decoration: none;
        font-size: 0.75rem;
        }
    
        .dropdown-content p{
            float: right;
            width: 59%;
            clear: both;
            overflow: hidden;
            }
    
    .img_info {
        width: 30%;
        margin-left: 2.5%;
        margin-right: 2.5%;
        font-weight: bold;
        }
    
        .img_info img {
            width: 100%;
            }

    .show {display: block;}
    
    .open_access {
        content: url(img/open_access.png);
        height: 2rem;
        
    }
            
    
    .divisor {
        background-color: white;
        height: 60px;
        }
    
/*** --------------- Selected publication --------------- ***/
    .sel_pub {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        }
    
        .sel_pub p{
            /**font-family: 'Georgia', serif;**/
            font-size: 1.8rem; 
            font-weight: bold; 
            padding-bottom: 12px;
            margin-top: -6%;
            font-variant: small-caps;
            text-align: center;
            }
    
        .sel_pub p3{
            width: 90%;
            margin-left: 5%;
            /*box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);*/
            padding: 12px 16px;
            text-decoration: none;
            font-size: 0.75rem;
            float: right;
            width: 59%;
            clear: both;
            overflow: hidden;
            }
    
        .kk1 img{
            width: 30%;
            margin: 1%;
            margin-left: 2%;
            padding: 1%;
            cursor: pointer;
            filter:grayscale(25%);
            border: 1px solid rgba(0, 0, 0, 0.1);
            }
        
        .kk1 img:hover{
            border: 1px solid rgba(0, 0, 0, 0.2);
            box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            filter:grayscale(0%);
            }
        
        .kk2 {
            width: 80%;
            margin-left: 10%
            }
    
    
        .sel_float img{float: left;}
    
        .comm_info img{
            float: left;
            margin-right: 3%;
            }
        
        .comm_info i{
            font-size: 0.75rem; 
            color: darkgrey;
            }
    
        .comm_info strong{
            font-size: 0.8rem; 
            }


 /*** ----------------------- Dissemination --------------------- ***/   
        .dis_bloc {
            width: 90%;
            margin-left: 5%;
            /*box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);*/
            padding: 12px 16px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            text-decoration: none;
            font-size: 0.75rem;
            clear: both;
            overflow: hidden;
            }

        .dis_bloc img{
            width: 30%;
            margin: 1%;
            margin-left: 2%;
            margin-right: 2%;
            padding: 1%;
            cursor: pointer;
            filter:grayscale(25%);
            border: 1px solid rgba(0, 0, 0, 0.1);
            }
        
        .dis_bloc img:hover{
            border: 1px solid rgba(0, 0, 0, 0.2);
            box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            filter:grayscale(0%);
            }
    
        .dis_text {
            padding-top: 1%
            }
    

    
    
    
    
    
    
/*** ----------------------- Contact --------------------- ***/
    .twitter_cont {
        padding: 10px;
        border-radius: 50%;
        background: #80a6c3;
        color: white;
        margin: 1%;
        }

    .twitter_cont:hover {
        background-color: #55ACEE;
        color: white;
        }
    
    .researchgate_cont {
        padding: 10px;
        border-radius: 50%;
        background: #3f8d87;
        color: white;
        margin: 1%;
        }

    .researchgate_cont:hover {
        background-color: #00CCBB;
        color: white;
        }

    .orcid_cont {
        padding: 10px;
        border-radius: 50%;
        background: #94a85f;
        color: white;
        margin: 1%;
        }

    .orcid_cont:hover {
        background-color: #A6CE39;
        color: white;
        }

    .google-scholar_cont {
        padding: 10px;
        border-radius: 50%;
        background: #3e67ab;
        color: white;
        margin: 1%;
        }

    .google-scholar_cont:hover {
        background-color: #4285F4;
        color: white;
        }
    
    .mendeley_cont {
        padding: 10px;
        border-radius: 50%;
        background: #854148;
        color: white;
        margin: 1%;
        }

    .mendeley_cont:hover {
        background-color: #AB1B2A;
        color: white;
        }
    
    .publons_cont {
        padding: 10px;
        border-radius: 50%;
        background: #827140;
        color: white;
        margin: 1%;
        }

    .publons_cont:hover {
        background-color: #c4ab60;
        color: white;
        }
    
/*** ----------------- Botó (tornar dalt) --------------- ***/
    
    .but_top {
        display: none;
        position: fixed;
        top: 87%;
        right: 3%;
        z-index: 1;
        }
    
        .but_top a{
            color: white;
            }

    .but {
        padding: 12px;
        font-size: 1rem;
        width: 40px;
        text-decoration: none;
        background: rgba(219, 82, 82, 0.5);
        color: white;
        border-radius: 10px;
        }   

        .but:hover {
            background-color: rgba(219, 82, 82, 0.9);
            }
    
}


/* Tablet & Phone Styles */
@media only screen and (max-width: 960px) {
    
    body {font-family: 'Martel Sans', sans-serif; margin:0; padding:0; line-height:1.2; color:#686868; background-color:white;}
    h1 {font-family:'Georgia', serif;}
    hr {border-color:#D7D7D7;}
    a{color:#893030;text-decoration: none;cursor:pointer;}
    a:hover{color:#db4c4c}
    
    .top { /* none */ }
    
    .container {
        background-color: #FBFCFC;
        border-bottom: 0.75px solid #D7D7D7;
        text-align: center;
        }
    
    .logo img {
        padding-top: 10px;
        max-width: 70%;        
        }
    
    .header_phone {
        clear: both;
        overflow: hidden;
        padding: 20px;
        font-size: 12px;
        text-transform: uppercase;
        }
    
        .header_phone ul {
            display: none;
            padding-top: 20px;
        }
    
        .header_phone:hover ul {
            display: block;
        }
    
        .header_phone li {
            padding: 10px;
            }

        .header_phone a {
            text-decoration: none;
            color: #212121;
            }

        .header_phone a:hover {
            color: #9E9E9E;
            }
    
    .header_desk {
        display: none;
    }
    
    .subratllat {
        background-image: linear-gradient(silver, silver);
        background-size: 0 2px, auto;
        background-repeat: no-repeat;
        background-position: center bottom;
        transition: all .2s ease-out;
        }
    
        .subratllat:hover{
            background-size: 100% 2px, auto;
            }
    
    .cover {
        /* The image used */
        background-image: url(img/cover.png);
        /* Set a specific height */
        height: 450px;
        /* Create a parallax scrolling effect */
        background-attachment: fixed;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        }
    
    .subcover {
        margin-top: 0px;
        height: 100%;
        background-color: rgba(30, 30, 30, 0.25);
        text-align: center;
        }
    
    .core {
        background-color: white;
        padding: 7%;
        font-size: 13px;
        line-height: 1.7;
        text-align: justify;
        }    
    
    .twitter {
        display: none;
        }
    
    .description {
        width: 100%;
        }
    
    .alvar {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        }
    
        .alvar p{
            /**font-family: 'Georgia', serif;**/
            font-size: 26px; 
            font-weight: bold; 
            padding-bottom: 12px;
            margin-top: -6%;
            font-variant: small-caps;
            text-align: center;
            }
    
        .alvar p1{
            font-size: 18px;
            padding-bottom: 12px;
            font-variant: small-caps;            
            }
    
        .alvar img{
            display: none;
            }
    
        .alvar sup {
            font-variant: normal;
            font-size: 13px;
        }
    
    .footer {
        clear: both;
        overflow: hidden;
        background-color: #FAFAFA;
        border-top: 0.75px solid #D7D7D7;
        /* The image used */
        background-image: url(img/lab.jpeg);
        /* Set a specific height */
        background-position: center;
        background-size: cover;
        }
    
    .subfooter {
        margin-top: 0px;
        height: 100%;
        background-color: rgba(30, 30, 30, 0.65);
        padding: 5%;
        font-size: 14px;
        text-align: center;
        color: whitesmoke;
        line-height: 2;
        }
    
        .subfooter a {
            text-decoration: none;
            color: #D0D3D4;
            }

        .subfooter a:hover {
            color: #A6ACAF;
            }
    
    .bottom {
        height: 40px;
        background-color: black;
        }
    
    .pub {
        clear: both;
        overflow: hidden;
        background-color: white;
        padding: 7%;
        padding-left: 12%;
        padding-right: 12%;
        font-size: 14px;
        line-height: 1.7;
        text-align: justify;
        font-family: book antiqua; 
        font-size: 15px;
        margin-bottom: 7%;
        }
    
    .pub a {
        text-decoration: none;
        color: #DB4C4C;
        }
    
    .year {
        width: 10%;
        font-size: 13px;
        letter-spacing: .1rem;
        padding-left: 5%;
        font-size: 19px;
        }
    
    .pub_list {
        float: right;
        width: 75%;        
        }
    
        .pub_list img {
            display: none;
            }
    
    .divisor {
        background-color: white;
        height: 60px;
        }
    
    .but_top {
        display: none;
        position: fixed;
        top: 87%;
        right: 3%;
        z-index: 1;
        }

    .but {
        padding: 12px;
        font-size: 1rem;
        width: 40px;
        text-decoration: none;
        background: rgba(219, 82, 82, 0.5);
        color: white;
        border-radius: 10px;
        }   

        .but:hover {
            background-color: rgba(219, 82, 82, 0.9);
            }
    
    .subpresentation {
        clear: both;
        overflow: hidden;
        margin: 3%;
        margin-top: 0;
        padding-left: 15px;
        padding-right: 15px;
        line-height:1.7;
        width: 90%;
        padding-left: 5%;
        }
    
        .subpresentation img {
            float: left; 
            padding-bottom: 15px; 
            padding-right: 15px;
            padding-top: 4px;
            width: 145px;
            }
    
    .slot {
        float: left;
        width: 98%;
        margin: 1%;
        padding: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        }
    
    .kk {
        text-align: center;
    }
    
        .slot img{
            display: flex;
            display: none;
            width: 50%;
            margin-bottom: 5%;
            margin-left: 25%;
            margin-right: 25%;
            }
        
        .slot p1{
            font-size: 18px;
            padding-bottom: 12px;
            font-variant: small-caps;
            }
    
        .slot p2{
            font-size: 13px;
            padding-bottom: 12px;
            color: #A6ACAF;
            }
        
        .slot p3{
            font-size: 13px;
            padding-bottom: 12px;
            }
            
        .slot a {
            font-size: 13px;
            text-decoration: none;
            color: #D0D3D4;
            }

        .slot a:hover {
            color: #A6ACAF;
            }
    
        .speaker h3 {
            font-size: 15px;
            font-weight: bold;
            }
            
    .pics_news {
        text-align: center;
        padding: 5px;
        font-weight: bold; 
        }
    
    .pics_news img {
            display: none;
            }

        .pics_news:hover img{
            display: block;
            }
    
    
}