/*-------------------------------------new ICONS font for navbars----------------------------------------*/
@font-face {
    font-family: "madfont";
    src: url("../../static/fonts/madfont.ttf") format("TrueType"),
           url("../../static/fonts/madfont.otf") format("OpenType");
   }
.centered{
    text-align: center;
}
.bold{
    font-weight: bold;
}
.italic{
    font-style: italic;
}
.nonItalic{
    font-style: normal !important;
}
.icon{
    font-family: "madfont";
}
.hidden{
    display: none;
}
/*======================================================LARGE SCREENS===========================================*/
@media screen and (min-width: 900px){
    /*--------------------------------------------GENERALS PARAMS--------------------------------------------*/
    body{
        /* overflow-x: hidden; */
        margin: 0px;
        font-family:'Montserrat', sans-serif, 'Times New Roman', Times, serif;
        max-width: 100vw;
        position: relative;
    }
    #body_part{
        display: flex;
    }

    #main-content>#content{
        min-height: 100%;
    }
    #main-content{
        padding-bottom: 15vh;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
    }
    /*----------------------------------------------MAIN NAVBAR----------------------------------------------*/
    #main_navbar{
        position: sticky;
        top: 0;
        font-size: 13px;
        background: linear-gradient(90deg, rgba(8,40,83,1) 0%, rgba(8,40,83,1) 84%, rgba(8,40,83,0.8) 100%);
        height: 100vh;
        width: min-content;
    }
    #main_navbar a{
        color: inherit;
        text-decoration: none;
    }
    #main_navbar_ul{
        list-style-type: none;
        margin: 0px 0px;
        padding-left: 0px;
        padding-top: 2vh;
    }
    .main_nav_li{
        min-height: 38px;
        line-height: 38px;
        color: white;
    }
    .main_nav_li:hover{
        background: linear-gradient(90deg, rgba(3, 17, 36, 1) 0%, rgba(3, 17, 36, 1) 74%, rgba(3, 17, 36, 0) 100%);
        /* background-color: rgb(3, 17, 36); */
        cursor: pointer;
        -moz-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: background-color 300ms ease;
        color: rgb(18, 98, 204);
    }
    .mainnav_li_container{
        padding: 13px 11px 13px 17px;
    }
    .mainnav_li_container>a{
        display: flex;
    }
    .main_nav_entry{
        padding-left: 8px;
        width: auto !important;
    }
    .main_nav_icon{
        font-family: "madfont";
        font-size: 30px;
    }
    .main_nav_icon2{
        font-size: 30px;
    }
    #btn{
        display: none;
        position: absolute;
        top: 0%;
        right: 0px;
        height: 100vh;
    }
    #btn>img{
        position: relative;
        top: 48vh;
        height: 4vh;
    }
    #btn2{
        display: none;
        position: absolute;
        top: 48vh;
        right: 0px;
    }
    #btn2>img{
        height: 4vh;
    }
    #main_navbar:hover #btn{
        display: block;
        transform: translateX(102%);
    }
    .small:hover .small_nav_entry{
        display: block !important;
        -moz-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
    }
    .small_nav_entry{
        width: 0px !important;
        visibility: hidden;
        -moz-transition: width 300ms ease;
        -o-transition: width 300ms ease;
        transition: width 300ms ease;
    }
    .small_nav_li_container{
        padding-right: 17px;
        -moz-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
    }

    /*---------------------------------------------TOP CONTENT----------------------------------------------*/
    #top_content_part{
        height: 20vh;
        display: flex;
        background-color:rgba(8,40,83,1);
        background-image: url(./../../static/img/titles2.png);
        background-size: contain;
    }
    #left_top_content_part{
        width: 85%;
        text-align: right;
        color: white;
        padding-right: 2vw;
        font-family: "madfont";
        font-size: 2.9vh;
        padding: 1vh 1vw;
        background-image: linear-gradient(90deg, rgba(8,40,83,0.4) 0%, rgba(8,40,83,1) 98%);
        opacity: 1;
    }
    #left_top_content_part p{
        margin: 1.1vh;
    }
    #current_location{
        position: absolute;
        font-family: 'Montserrat', sans-serif, 'Times New Roman', Times, serif;
    }
    #left_top_content_part a{
        padding: 0.7vh;
        color: white;
        text-decoration: none;
        border-radius: 50%;
        border: 2px solid white;
        transition: all 0.2s ease-in-out;
    }
    #left_top_content_part a:hover{
        color: rgb(18, 98, 204);
        margin-right: -1vh;
        transition: all 0.2s ease-in-out;
    }
    #github_p{
        transform: translate(-1.5em, -0.3em);
    }
    #mail_p{
        transform: translate(-1.5em, 0.2em);
    }
    #right_top_content_part{
        width: 15%;
        height: 100%;
    }
    #right_top_content_part{
        background-color: rgb(18, 98, 204);
    }
    #right_top_content_part>img{
        border-radius: 50%;
        border: 2px solid white;
        max-height: 16vh;
        max-width: 80%;
        display: block;
        margin: auto;
        margin-top: 2vh;
    }
    #current_location{
        font-size: 4vw;
        padding-left: 1vw;
        padding-top: 2.5vh;
    }
    .titleYear{
        color: white;
        font-size: 25px;
        background-color: rgb(8, 40, 83);
        padding: 0.5vh 0.5vw;
        font-weight: normal;
    }
    .year div{
        margin: 4vh 0vw 2vh 50px;
        position: relative;
    }
    .confFile{
        position: absolute;
        left: -55px;
        top: -15px;
        z-index: 1;
    }
    .confName{
        position: relative;
        text-indent: -30px;
        z-index: 2;
        font-size: 20px;
        font-weight: bold;
    }
    .year p{
        margin: 0;
    }
    .confType{
        font-style: italic;
    }
    /*---------------------------------------------CENTRAL PART---------------------------------------------*/
    #central_part{
        padding: 6vh 10vw;
    }
    .programTable{
        margin-bottom: 4vh;
        border-collapse: collapse;
        width: 100%;
    }
    .programTable>tr>td{
        border: 1px solid black;
        padding: 0.5vh 1vw;
    }
    .programTable .title{
        width: 15%;
    }
    .Name{
        background-color: rgb(8, 40, 83);
        color: white;
    }
    .Publication>.content{
        font-family:serif, 'Times New Roman', Times, serif;
    }
    #MAD_titles{
        list-style-type: none;
        padding-left: 0px;
    }
    #MAD_titles li:before{
        content: "➢ ";
        color: rgb(18, 98, 204);
        font-size: larger;
    }
    #main_scientific_interests{
        line-height: 150%;
        font-size: larger;
        text-align: justify;
    }
    #main_scientific_interests h1{
        text-align: left;
        font-size: 25px;
        background-color: rgb(8, 40, 83);
        color: white;
        padding: 0.5vh 0.5vw;
        font-weight: normal;
    }
    #spaghettis_part{
        display: flex;
        background: linear-gradient(20deg, rgba(8,40,83,1) 30%, rgba(18,98,204,1) 50%, rgba(8,40,83,1) 70%);
        color: white;
        padding: 2vh 2vw;
        border-radius: 50px 0 50px 0;
    }
    #p_spa_1{
        min-width: 18vw;
    }
    #spa_img{
        height: 85%;
        border-radius: 50%;
        margin-left: 4vh;
    }
    .spaghettis{
        float: right;
        cursor: pointer;
        font-weight: bold;
    }
    .spaghettis:hover{
        border-bottom: 1px solid white;
        border-right: 1px solid white;
        padding: 0vh 1vw 1vh 0vw;
        border-radius: 50%;
    }
    #cv h1{
        color: white;
        font-size: 25px;
        background-color: rgb(8, 40, 83);
        padding: 0.5vh 0.5vw;
        font-weight: normal;
    }
    .partCV{
        border-collapse: collapse;
    }
    .partCV td{
        border: 1px solid white;
    }
    .yearCV{
        hyphens: none;
        text-align: right;
        padding: 1vh 2vw 1vh 0vw;
        white-space: nowrap;
        min-width:fit-content;
    }
    .CVEvent{
        padding: 1vh 0vw 1vh 0vw;
    }
                        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------PUBLICATIONS------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    #publis_header{
        display: flex;
        justify-content: space-around;
        padding-bottom: 6vh;
    }
    #publis_header img{
        height: 200px;
    }
    .tablePublis{
        /* border: 1px solid #c9cacb;
        box-shadow: 3px 4px 5px #c9cacb; */
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .titlePubli{
        font-size: 17px;
    }
    .tRow4td{
        font-size: 14px;
    }
    .container_titlePubli{
        font-style: italic;
        padding: 0 1vw;
    }
    .authorsPubli{
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #orcidGS{
        color: rgba(8,40,83,1);
        font-size: 28px;
        list-style-type: "➪ ";
    }
    #orcidGS a:active{
        color: rgba(8,40,83,1);
    }
    #orcidGS a{
        text-decoration: none;
    }

    /*-------------------------------------stylising MAD's code without changing contain : SPAGHETTIS----------------*/
    #slides{
        border-radius: 50px;
    }
    #slides_body>p{
        text-align: center;
    }
    #slides_body{
        background: radial-gradient(circle, rgba(18,98,204,1) 0%, rgba(18,98,204,1) 47%, rgba(8,40,83,1) 100%);
        display: block;
    }
        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------HOME------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    #logos{
        width:calc(100% + 20vw);
        margin-left: -10vw;
        padding: 2vh 0vw;
        box-shadow: 0 0 20px rgba(0,0,0,0.3);
        display: flex;
        margin-top: 6vh;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items:center ;
    }
    .logo{
        width: 6vw;
    }
    /*----------------------------------FOOTER'S params----------------------------*/
    #footer{
        background-color:rgba(8,40,83,1) ;
        color: white;
        height: 30px;
        background-image: url(./../../static/img/titles2.png);
        background-size: contain;
        padding: 1vh 1vw;
    }
    #footer p{
        margin: 0px;
    }
    #footer_background{
        background: linear-gradient(90deg, rgba(8,40,83,0.5) 0%, rgba(8,40,83,0.7) 50%, rgba(8,40,83,0.5) 100%); 
        justify-content: space-around;
        flex-wrap: wrap;
        height: 100%;
        width: 100%;
        display: flex;
    }
    #mentions_legales{
        text-decoration: underline;
    }
    #mentions_legales:hover{
        color: rgb(18, 98, 204);
        cursor: pointer;
    }
    #legals_container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        font-size: smaller;
    }
    #footer_contact{
        display: flex;
        flex-wrap: wrap;
    }
    #legals_container>div{
        width: 40%;
        padding: 2vh 2vw;
    }
    #legals_container h2{
        margin-top: 0px;
    }
}
/*======================================================SMALL SCREENS===========================================*/
@media screen and (max-width: 900px) {
    /*--------------------------------------------GENERALS PARAMS--------------------------------------------*/
    body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    }
    body{
        overflow-x: hidden;
        margin: 0px;
        font-family:'Montserrat', sans-serif, 'Times New Roman', Times, serif;
        max-width: 100vw;
        position: relative;
    }
    #body_part{
        display: flex;
    }
    #main-content{
        /* min-height: 100vh; */
        /* padding-bottom: 15vh; */
        width: calc(100vw - 66px);
        max-width: calc(100vw - 66px);
    }
    #content{
        width: 100%;
        max-width: 100%;
    }
/*=== === === === ===
    /*----------------------------------------------MAIN NAVBAR----------------------------------------------*/
    #main_navbar{
        position: sticky;
        top: 0;
        font-size: 13px;
        background: linear-gradient(90deg, rgba(8,40,83,1) 0%, rgba(8,40,83,1) 84%, rgba(8,40,83,0.8) 100%);
        height: 100vh;
        width: min-content;
    }
    #main_navbar a{
        color: inherit;
        text-decoration: none;
    }
    #main_navbar_ul{
        list-style-type: none;
        margin: 0px 0px;
        padding-left: 0px;
        padding-top: 2vh;
    }
    .main_nav_li{
        min-height: 38px;
        line-height: 38px;
        color: white;
    }
    .main_nav_li:hover{
        background: linear-gradient(90deg, rgba(3, 17, 36, 1) 0%, rgba(3, 17, 36, 1) 74%, rgba(3, 17, 36, 0) 100%);
        /* background-color: rgb(3, 17, 36); */
        cursor: pointer;
        -moz-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: background-color 300ms ease;
        color: rgb(18, 98, 204);
    }
    .mainnav_li_container{
        padding: 13px 11px 13px 17px;
    }
    .mainnav_li_container>a{
        display: flex;
    }
    .main_nav_icon{
        font-family: "madfont";
        font-size: 30px;
    }
    #btn>img{
        position: relative;
        top: 48vh;
        height: 4vh;
    }
    #btn2{
        display: none;
        position: absolute;
        top: 48vh;
        right: 0px;
    }
    #btn2>img{
        height: 4vh;
    }
    #main_navbar:hover #btn{
        display: block;
        transform: translateX(102%);
    }
    .small:hover .small_nav_entry{
        display: block !important;
        -moz-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
    }
    .small_nav_entry{
        width: 0px !important;
        visibility: hidden;
        -moz-transition: width 300ms ease;
        -o-transition: width 300ms ease;
        transition: width 300ms ease;
    }
    .small_nav_li_container{
        padding-right: 17px;
        -moz-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
    }
    /*---------------------------------------------TOP CONTENT----------------------------------------------*/
    #top_content_part{
        height: 30vh;
        width: 100%;
        max-width: 100%;
        display: flex;
        background-image: url(./../../static/img/titlesSquare2.png);
        background-color: rgba(8,40,83,1);
        background-size: contain;
    }
    #left_top_content_part{
        width: 50%;
        background-image: linear-gradient(90deg, rgba(8,40,83,0.4) 0%, rgba(8,40,83,1) 98%);
        text-align: right;
        color: white;
        padding-right: 2vw;
        font-family: "madfont";
        font-size: 2.9vh;
        padding: 1vh 1vw;
    }
    #right_top_content_part{
        width: 50%;
        height: 100%;
    }
    .main_nav_entry{
        width: 0px !important;
        visibility: hidden;
        padding-left: 8px;
    }
    #btn{
        visibility: hidden !important;
        display: none;
        position: absolute;
        top: 0%;
        right: 0px;
        height: 100vh;
    }
    #left_top_content_part p{
        margin: 3vh;
        
    }
    #right_top_content_part{
        background-color: rgb(18, 98, 204);
    }
    #right_top_content_part>img{
        max-height: 26vh;
        max-width: 80%;
        display: block;
        margin: auto;
        margin-top: 2vh;
        border-radius: 50%;
        border: 2px solid white;
    }
    #current_location{
        writing-mode: vertical-rl;
        text-orientation: mixed;
        position: absolute;
        font-family: 'Montserrat', sans-serif, 'Times New Roman', Times, serif;
        font-size: 4vw;
        /* opacity: 0.3; */
        padding-left: 1vw;
        padding-top: 2.5vh;
    }
    #left_top_content_part a{
        padding: 0.7vh;
        color: white;
        text-decoration: none;
        border-radius: 50%;
        border: 2px solid white;
        transition: all 0.2s ease-in-out;
    }
    #left_top_content_part a:hover{
        color: rgb(18, 98, 204);
        margin-right: -1vh;
        transition: all 0.2s ease-in-out;
    }
    #github_p{
        transform: translate(-1.5em, -0.3em);
    }
    #mail_p{
        transform: translate(-1.5em, 0.2em);
    }
    /*---------------------------------------------CENTRAL PART---------------------------------------------*/
    .table{
        word-wrap:break-word;
    }
    #central_part{
        padding: 3vh 5vw;
        width: calc(90vw - 78px);
        max-width: calc(90vw - 78px);
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    #central_part p{
        text-align: justify;
    }
                        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------TALKS------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    .titleYear{
        color: white;
        font-size: 25px;
        background-color: rgb(8, 40, 83);
        padding: 0.5vh 0.5vw;
        font-weight: normal;
    }
    .year div{
        margin: 4vh 0vw 2vh 50px;
        position: relative;
    }
    .confFile{
        position: absolute;
        left: -55px;
        top: -15px;
        z-index: 1;
    }
    .confName{
        position: relative;
        text-indent: -30px;
        z-index: 2;
        font-size: 24px !important;
        font-weight: bold !important;
    }
    .year p{
        margin: 0;
    }
    .confType{
        font-style: italic;
    }
                        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------PROGRAMS------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    #ordered_pgms{
        text-align: left !important;
    }
    .programTable{
        margin-bottom: 4vh;
        border-collapse: collapse;
        width: 100%;
    }
    .programTable>tr>td{
        border: 1px solid black;
        padding: 0.5vh 1vw;
    }
    .programTable .title{
        width: 15%;
    }
    .programTable .content{
        max-width: 40vw;
        word-wrap: break-word;
    }
    .Name{
        background-color: rgb(8, 40, 83);
        color: white;
    }
    .Publication>.content{
        font-family:serif, 'Times New Roman', Times, serif;
    }
                        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------PUBLICATIONS------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    .tablePublis{
        /* border: 1px solid #c9cacb;
        box-shadow: 3px 4px 5px #c9cacb; */
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    #publis_header{
        padding-bottom: 6vh;
    }
    #publis_header img{
        max-height: 200px;
        max-width: 100%;
    }
    .titlePubli{
        font-size: 17px;
    }
    .tRow4td{
        font-size: 14px;
        word-wrap: anywhere;
    }
    .container_titlePubli{
        font-style: italic;
        padding: 0 1vw;
    }
    .authorsPubli{
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #orcidGS{
        color: rgba(8,40,83,1);
        font-size: 28px;
        list-style-type: "➪ ";  
    }
    #orcidGS a:active{
        color: rgba(8,40,83,1);
    }
    #orcidGS a{
        text-decoration: none;
    }
                        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------PRESENTATION------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

    #MAD_titles{
        list-style-type: none;
        padding-left: 0px;
    }
    #MAD_titles li:before{
        content: "➢ ";
        color: rgb(18, 98, 204);
        font-size: larger;
    }

    #main_scientific_interests{
        line-height: 150%;
        font-size: larger;
        text-align: justify;
    }
    #main_scientific_interests h1{
        text-align: left;
        font-size: 25px;
        background-color: rgb(8, 40, 83);
        color: white;
        padding: 0.5vh 0.5vw;
        font-weight: normal;
    }
    #spaghettis_part{
        display: flex;
        background: linear-gradient(20deg, rgba(8,40,83,1) 30%, rgba(18,98,204,1) 50%, rgba(8,40,83,1) 70%);
        color: white;
        padding: 2vh 2vw;
        border-radius: 50px 0 50px 0;
    }
    #p_spa_1{
        min-width: 18vw;
    }
    #spa_img{
        border-radius: 50%;
        width: 25vw;
        padding: 0 0 2vh 2vw;
    }
    .spaghettis{
        float: right;
        cursor: pointer;
        font-weight: bold;
    }
    .spaghettis:hover{
        border-bottom: 1px solid white;
        border-right: 1px solid white;
        padding: 0vh 1vw 1vh 0vw;
        border-radius: 50%;
    }
                        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------CV------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    #cv h1{
        color: white;
        font-size: 25px;
        background-color: rgb(8, 40, 83);
        padding: 0.5vh 0.5vw;
        font-weight: normal;
    }
    .partCV{
        border-collapse: collapse;
    }
    .partCV td{
        border: 1px solid white;
    }
    .yearCV{
        text-align: right;
        padding: 1vh 2vw 1vh 0vw;
        min-width: 30%;
    }
    .CVEvent{
        padding: 1vh 0vw 1vh 0vw;
    }
                        /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------SPAGHETTIS------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

    /*-------------------------------------stylising MAD's code without changing contain : SPAGHETTIS----------------*/
    #slides{
        border-radius: 50px;
        max-width: 98vw;
    }
    #slides_body>p{
        text-align: center;
    }
    #slides_body{
        background: radial-gradient(circle, rgba(18,98,204,1) 0%, rgba(18,98,204,1) 47%, rgba(8,40,83,1) 100%);
        display: block;
        max-width: 100vw;
    }
       /*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\--------HOME------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
    #logos{
        width:calc(100% + 11vw);
        margin-left: -5vw;
        padding: 2vh 0vw;
        box-shadow: 0 0 20px rgba(0,0,0,0.3);
        display: flex;
        flex-wrap: wrap;
        margin-top: 6vh;
        justify-content: space-around;
        align-items: center;
    }
    .logo{
        width: 10vw;
    }
    /*----------------------------------FOOTER'S params----------------------------*/
    #footer{
        background-color:rgba(8,40,83,1) ;
        color: white;
        height: 8vh;
        background-image: url(./../../static/img/titles2.png);
        background-size: contain;
        padding: 1vh 1vw;
    }
    #footer p{
        margin: 0px;
    }
    #footer_background{
        background: linear-gradient(90deg, rgba(8,40,83,0.5) 0%, rgba(8,40,83,0.7) 50%, rgba(8,40,83,0.5) 100%); 
        justify-content: space-around;
        flex-wrap: wrap;
        height: 100%;
        width: 100%;
        display: flex;
    }
    #mentions_legales{
        text-decoration: underline;
    }
    #mentions_legales:hover{
        color: rgb(18, 98, 204);
        cursor: pointer;
    }
    #legals_container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        font-size: smaller;
    }
    #footer_contact{
        display: flex;
        flex-wrap: wrap;
    }
    #footer_contact span{
        display: none;
    }
    #legals_container>div{
        width: 40%;
        padding: 2vh 2vw;
    }
    #legals_container h2{
        margin-top: 0px;
    }
    .tohide{
        display: none;
    }
}
