/*  --------- RESET BROWSER DEFAULT STYLE ---------  */
/*****************************************************/
body * {
    padding: 0;
    margin: 0;
    font-size: 100%;
    box-sizing: border-box;
    color: #171717;
    -webkit-font-smoothing: antialiased;
}
body, html {
    width: 100%;
}
body {
    line-height: 1;
    padding: 0;
    margin: 0;
    /*background-color: #fafafa;*/
}
* {
    font-family: Whyte, 'Archivo', Arial, sans-serif;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
i {
    font-family: FontAwesome !important;
}


/*  -------------- GENERAL  SETTINGS --------------  */
/*****************************************************/
body {
    height: 100%;
    overflow: hidden; /* Never scroll the page itself */
}
.admin_body {
    height: 100%;
    overflow: auto;
}
.user_added_link:hover {
    text-decoration: underline !important;
}
.main-wrapper {
    display: flex;
    height: 100vh;
}



/*  -------------- SCROLLABLE  STYLE --------------  */
/*****************************************************/
.index-content-wrapper {
    display: flex;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
    padding-top: 200px;
    padding-bottom: 80px;
    padding-right: 100px;
}
.splash-photos-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    padding-top: 200px;
    padding-bottom: 80px;
    padding-right: 100px;
    padding-left: 100px;
    overflow: scroll;
}
.splash-img-v2 {
    object-fit: contain;
    position:relative;
    width: 100%;
    height: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.splash-link-v2 {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
.scrollable {
    margin-left: 20px;
    flex: 0 0;
    flex-basis: 250px;
    position: relative;
    overflow: hidden;
}
.project_text {
    width: 300px;
}
.index-content-text-projects > .project_text {
    padding-left: 50px;
}
.index-content-text {
    flex: 1 1;
    margin-right: 80px;
    width: 100%;
}
.index-content-text > p {
    max-width: 250px;
}
.index-content-text > li {
    max-width: 250px;
}
.remove-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    /*padding-right: 20px;*/
    white-space: nowrap;

    overflow-y: scroll;
    overflow-x: hidden;
    right: -16px !important;
    scrollbar-width: none;
}
.remove-bar::-webkit-scrollbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.no-scroll-bar::-webkit-scrollbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.no-scroll-bar {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    right: -16px !important;
    scrollbar-width: none;
}
.news_date {
    width: 78px;
    display: inline-block;
    text-align: right;
    font-size: 90%;
}
.news_title_label {
    font-size: 90%;
}
@media only screen and (max-width: 768px) {
    .remove-bar {
        font-size: 10px;
        line-height: 10px;
    }
    .project_text {
        font-size: 12px !important;
        line-height: 12px !important;
    }
    .index-content-text {
        font-size: 12px !important;
        line-height: 12px !important;
    }

    .scrollable {
        flex-basis: 150px;
    }
    .remove-bar {
        width: 200px;
    }

    .news_date {
        width: 49px;
    }
}
@media only screen and (max-width: 568px) {
    .remove-bar {
        font-size: 8px;
        line-height: 8px;
    }
    .project_text {
        font-size: 10px !important;
        line-height: 10px !important;
    }
    .index-content-text {
        font-size: 10px !important;
        line-height: 10px !important;
    }
    .scrollable {
        flex-basis: 120px;
    }

    .news_date {
        width: 38px;
    }
}
.fadeouttop {
    position: absolute;
    top: 0;
    height: 100px;
    width: 100%;
    background: -webkit-linear-gradient(
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 100%
    );
}
.fadeoutbottom {
    position: absolute;
    bottom: 0;
    height: 100px;
    width: 100%;
    background: -webkit-linear-gradient(
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%
    );
}


/*  ----------------- INDEX STYLE -----------------  */
/*****************************************************/
.image_hover {
    flex: 2 2;
}
.news-image-link {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.image_cover {
    /*visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 100%;
    max-width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);*/
}
.index-second-wrapper {
    display: flex;
    flex: 2 2;
    padding-left: 20px;
}
@media only screen and (orientation: portrait) and (max-width: 768px) {
    .index-second-wrapper {
        flex-flow: column;
    }
    .index-content-text {
        flex: 1 1;
        order: 2;
    }
    .image_hover {
        flex: 1 1;
        order: 1;
    }
}
@media only screen and (orientation: landscape) and (max-width: 768px) {
    .news_content {
        font-size: 10px;
        line-height: 10px;
    }
}
.news_image_cover {
    object-fit: contain;
    display: none;
    width: 100%;
    height: 100%;
    /*top: 50%;
    left: 65%;
    max-height: 80%;
    max-width: 70%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);*/
}
.news_content {
    display: none;
    position: relative;
    width: 100%;
}


/*  ---------------- PROJECT STYLE ----------------  */
/*****************************************************/
.project_content {
    position: absolute;
    top: 100px;
    left: 20px;
    right: 20px;
    bottom: 20px;
}
.project_cover {
    position: absolute;
    top: 60px;
    width: 100%;
    bottom: 0;
}
.project_title {
    top: 100px;
    margin-left: 20px;
    font-size: 30px;
    line-height: 30px;
    position: absolute;
}
.project_text {
    white-space: normal;
    overflow: auto;
    z-index: 10;
    top: 0;
    bottom: 0;
    position: absolute;
}
.project_text::-webkit-scrollbar {

    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.retour {
    width: 20px;
    height: 20px;
    font-size: 20px;
    position: absolute;
    top: 200px;
    left: 300px;
    cursor: pointer;
}
.carousel {
    visibility: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
}
.carousel > p {
    position: absolute;
    width: 100%;
    height: 100%;
}
.project_image {
    /*visibility: hidden;
    opacity: 0;*/
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.project-image-p-wrapper {
    visibility: hidden;
    opacity: 0;
}
#I1 {
    visibility: visible;
    opacity: 1;
}
.carouselNavButton {
    position: absolute;
    opacity: 0;
    z-index: 5;
    top: 0%;
    height: 100%;
    width: 100%;
}
#right {
    left: 0;
}
.return_button {
    top: 40px;
    margin-left: 20px;
    font-size: 50px;
    line-height: 50px;
    position: absolute;
}
.menu-logo-2 {
    display: block;
    height: 20px;
}

.menu-logo-2:hover {
    opacity: 0.8;
}




/*  ----------------- ADMIN STYLE -----------------  */
/*****************************************************/
.admin_menu {
    font-size: 15px;
    margin: 10px;
}
.admin_title {
    font-size: 25px;
    font-weight: bolder;
}
.inactive_project {
    opacity: 0.2;
}
.admin_subtitle {
    font-size: 20px;
    font-weight: bold;
    display: inline;
}
.index_name {
    font-size: 15px;
    font-weight: bold;
    display: inline;
    margin-left: 10px;
    margin-bottom: 5px;
}
.admin-wrap {
    margin: 10px;
}
.inline_form {
    display: inline;
}
.admin_button {
    cursor: pointer;
    padding:5px 15px;
    border: none;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.edit_form { margin-left: 10px; }
.add_button { background-color: yellowgreen; }
.images_button { background-color: deepskyblue; }
.remove_button { background-color: orangered; }
.img_idx {font-size: 15px;}


/*  ----------------- MENU  STYLE -----------------  */
/*****************************************************/
.menu-logo {
    position: absolute;
    top: 25px;
    right: 40px;
    height: 120px;
    z-index: 100;
}
/* --- Splash screen title --- */
.menu {
    position: absolute;
    top: 90px;
    left:20px;
    line-height: 20px;  font-size: 20px;
    word-spacing: 15px;
    text-align: justify;
    z-index: 100;
}
.prevent-spacing { word-spacing: normal; } /* remove letter spacing on individual item */
.menu-subtitle {
    position: absolute;
    top: 70px;
    left:20px;
    line-height: 20px;
    font-size: 20px;
    font-weight: bold;
    transition: all .1s ease-in-out;
    z-index: 100;
}
.menu-title {  line-height: 30px;  font-size: 30px; font-weight: bolder; margin-right:5px;  }
.menu:after { /* Justify text on the menu */
    content: "";
    display: inline-block;
    width: 100%;
}


.menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 550px;
    transition: all .1s ease-in-out;
    padding-right: 20px;
}
.filling-gap {
    display: block !important;
    width: 70px;
}
.menu > li {
    display: flex;
    border-left: 8px solid transparent;
    white-space: nowrap;
    align-items: flex-end;
}
.menu > li:nth-of-type(1) {
    border-left: 0;
}
.menu > li:nth-of-type(6) {
    border-left: 0;
}
.scrollable:before {
    content:">";
    opacity: 0.5;
    line-height: 20px;
    font-size: 20px;
    position: absolute;
    -webkit-transform: rotate(270deg);
}
.scrollable-to-top:before {
    opacity: 0 !important;
}
.scrollable-to-bottom:after {
    opacity: 0 !important;
}
.scrollable:after {
    content:">";
    bottom: 0;
    opacity: 0.5;
    line-height: 20px;
    font-size: 20px;
    position: absolute;
    -webkit-transform: rotate(90deg);
}
.image_hover_projects {
    position: relative;
}
.scrollable-projects {
    overflow: visible;
}
.project_text.project_meta {
    color: #606060;
    margin-left: 70px;
    padding-left: 0;
    width: 100%;
}
.index-content-text-projects {
    position: relative;
}
@media only screen and (orientation: portrait) and (max-width: 800px) {
    .menu {
        top: 150px;
    }
    .menu-subtitle {
        top: 130px;
    }
    .index-content-wrapper-projects {
        flex-flow: column;
        padding-bottom: 20px;
    }
    .index-content-text-projects {
        flex: 0 0;
    }
    .index-second-wrapper-projects {
        flex: calc(13/10) 1;
        order: 1;
    }
    .scrollable-projects {
        flex: 1 1;
        order: 2;
        margin-top: 10px;
    }
}

@media only screen and (orientation: portrait) and (max-width: 568px) {
    .menu {
        line-height: 10px;
        font-size: 10px;
        width: 340px;
        top: 147px;
    }
    .menu-subtitle {
        line-height: 15px;
        font-size: 15px;
        top:130px;
    }
    .menu-title {  line-height: 20px;  font-size: 20px;}
    .project_title {
        top: 90px;
        font-size: 25px;
        line-height: 25px;
        max-width: 260px;
    }
    .index-second-wrapper {
        padding-left: 0;
    }
    .index-content-wrapper {
        padding-right: 20px;
        padding-bottom: 40px;
    }
    .splash-photos-wrapper {
        padding-bottom: 40px;
        padding-right: 20px;
        padding-left: 20px;
    }
    .index-content-wrapper-projects {
        padding-right: 0;
    }
}

@media only screen and (orientation: portrait) and (max-width: 375px) {
    .menu {
        line-height: 10px;
        font-size: 10px;
        width: 300px;
        top: 120px;
    }
    .menu-subtitle {
        line-height: 12px;
        font-size: 12px;
        top:110px;
    }
    .menu-logo {
        right: 20px;
        height: 90px;
    }
    .menu-title {  line-height: 15px;  font-size: 15px;}
    .return_button {
        top: 30px;
        font-size: 40px;
        line-height: 40px;
    }
    .project_title {
        top: 80px;
        font-size: 20px;
        line-height: 20px;
        max-width: 200px;
    }
    .index-content-wrapper {
        padding-top: 160px;
        padding-bottom: 20px;
    }
    .splash-photos-wrapper {
        padding-top: 160px;
        padding-bottom: 20px;
    }
    .filling-gap {
        display: block !important;
        width: 40px;
    }
}
@media only screen and (orientation: landscape) and (max-width: 768px) {
    .menu {
        line-height: 15px;
        font-size: 15px;
        width: 450px;
        top: 45px;
    }
    .menu-logo {
        top: 10px;
        right: 20px;
        height: 90px;
    }
    .menu-subtitle {
        top: 30px;
        line-height: 15px;
        font-size: 15px;
    }
    .filling-gap {
        width: 100px;
    }
    .menu-title {  line-height: 23px;  font-size: 23px;}
    .index-content-wrapper {
        padding-top: 110px;
        padding-bottom: 10px;
        padding-right: 20px;
    }
    .splash-photos-wrapper {
        padding-top: 110px;
        padding-bottom: 10px;
        padding-right: 20px;
        padding-left: 20px;
    }
    .splash-title-box {
        top: 80px !important;
        left: 10%;
    }
    .splash-carousel {
        top: 150px !important;
        left: 0;
        right: 0;
        bottom: 20px !important;
    }
    .project_title {
        top: 70px;
        font-size: 20px;
        line-height: 20px;
    }
    .return_button {
        top: 10px;
        font-size: 40px;
        line-height: 40px;
    }
    .index-content-text-projects > .project_text {
        padding-left: 10px;
    }
}
@media only screen and (orientation: landscape) and (max-width: 660px) {
    .menu {
        line-height: 12px;
        font-size: 12px;
        width: 400px;
        top: 45px;
    }
    .menu-subtitle {
        top: 30px;
        line-height: 15px;
        font-size: 15px;
    }
    .menu-title { line-height: 20px; font-size: 20px;}
    .index-content-wrapper {
        padding-top: 100px;
        padding-bottom: 10px;
        padding-right: 20px;
    }
    .splash-photos-wrapper {
        padding-top: 100px;
        padding-bottom: 10px;
        padding-right: 20px;
        padding-left: 20px;
    }
    .project_title {
        top: 50px;
        font-size: 20px;
        line-height: 20px;
    }
}



/*  -------------- SPLASH PAGE STYLE --------------  */
/*****************************************************/

.wrapper_container {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 1920px;
    margin: auto;
    left: 0;
    right: 0;
}
/* --- Splash screen logo --- */
.splash-logo {
    position: absolute;
    top: 50px;
    right: 10%;
    width: 25%;
    max-width: 40vh;
    z-index: 10;
}

/* --- Splash screen title --- */
.splash-title-box {
    position: absolute;
    top: 180px;
    left: 10%;
    z-index: 10;
}
#splash-title {  line-height: 40px;  font-size: 40px; font-weight: bolder; }
#splash-subtitle {  line-height: 60px;  font-size: 60px; font-weight: bold; }
@media (max-width: 599px) {
    .splash-title-box {
        position: absolute;
        top: 220px;
        left: 10%;
        z-index: 10;
    }
    #splash-title {  line-height: 30px;  font-size: 30px; font-weight: bolder; }
    #splash-subtitle {  line-height: 40px;  font-size: 40px; font-weight: bold; }
    .splash-geneve {
        font-size: 20px !important;
    }
}

@media only screen and (orientation: landscape) and (max-width: 599px) {
    .splash-geneve {
        bottom: 10px !important;
    }
}


/* --- Images Carousel --- */
.splash-carousel {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    bottom: 100px;
    overflow: hidden
}
.splash-link {
    position: absolute;
    width: 100%;
    height: 100%;
}
.splash-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}


.splash-geneve {
    position: absolute;
    margin: auto;
    width: 100%;
    bottom: 30px;
    font-weight: lighter;
    font-size: 30px;
    display: flex;
    justify-content: space-around;
}
.splash-geneve > p {

}




/*  -------------- PEOPLE LIST STYLE --------------  */
/*****************************************************/
.people_list_title {
    margin-bottom: 5px;
    margin-top: 20px;
}
.people_list_title:nth-of-type(1) {
    margin-top: 0px;
}
.person-item.important {
    cursor: pointer;
    font-weight: bold;
}
.people_container {
    position: relative;
    height: 100%;
    width: 100%;
}
.people_cover {
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*position: absolute;
    max-height: 100%;
    max-width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);*/
}
.text_people {
    position: absolute;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    overflow: scroll;
    max-width: 700px;
}
@media (max-width: 599px) {
    .text_people {
        font-size: 10px;
    }
}
.fixed_people {
    opacity:1 !important;
    visibility: visible !important;
    z-index: 100;
}
.fixed_hidden {
    visibility: hidden !important;
    opacity: 0 !important;
}