html {
    background-color: white;
}

body {
    margin: auto;
    overflow: hidden;
    height: 100%;
    font-family: "Roboto Condensed", sans-serif;
}

h5 {
    margin: 0;
}

a {
    text-decoration: none;
    color: black;
}

#canvas {
    position: relative;
    width: 100vw;
    z-index: -1;
}

#home-img {
    width: 100vw;
    height: auto;
}

#load-img {
    width: 100vw;
    height: auto;
}

#svg {
    height: auto;
    position: fixed;
    top: 0px;
    right: 0px;
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer */
    -khtml-user-select: none;
    /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none;
    /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none;
    /* Disable Android and iOS callouts*/
}

#bat1 {
    fill: #b32861;
}

#bat2 {
    fill: #00a6ca;
}

#text-show {
    color: #7594bc;
    display: none;
    position: absolute;
    bottom: 170px;
    left: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px;
}

#text-close {
    position: absolute;
    bottom: 16px;
    color: white;
    background-color: #002d5d;
}

#pdfContent {
    width: 75vw;
    height: 75vh;
}

.header {
    overflow: hidden;
    position: fixed;
    background-color: #77a487;
    top:5vh;
    left: 50vw;
    transform: translate(-50%);
    z-index: 100;
}

.header a {
    float: left;
    display: block;
    background-color: #fff;
    color: #77a487;
    text-align: center;
    padding: 14px 16px;
    margin: 0px 0px 0px 2px;
    cursor: pointer;
}

.header a:hover {
    background-color:  #77a487;
    color: white;
}

a.isactive {
    background-color:  #77a487;
    color: white;
}

.home-svg:hover {
    fill-opacity: 0.4;
    cursor: pointer;
}

.logo {
    position: fixed;
    z-index: 4;
    right: 15px;
    top: 15px;    
}

.logo2 {
    position: fixed;
    z-index: 4;
    left: 15px;
    top: 15px;    
}

.maquette {
    overflow: hidden;
    /*height: 100%;
    width: 100%;*/
}

.center {
    position: fixed;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.div-viewer {
    z-index: 1;
    background-size: 100% 100%;
    display: block;
}

.button {
    width: 117px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer */
    -khtml-user-select: none;
    /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none;
    /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none;
    /* Disable Android and iOS callouts*/
}

.tooltip {
    display: none;
    user-select: none;
    position: absolute;
    cursor: pointer;
    white-space: nowrap;
    width: 220px;
    height: 70px;
    z-index: 1000;
    box-shadow: 1px 1px 20px #aaa;
    background-color: #fff;
    transform: translate(-50%, -100%);
    transform-style: preserve-3d;
}

.tooltip::after {
    content: '';
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg) translateX(-50%);
    background-color: #77a487;
    left: 49%;
    top: auto;
    bottom: -8px;
}

.tooltip.isactive {
    display: block;
}

.tooltip:hover {
    display: block;
}

.tooltip h5 {
    position: relative;
    background-color: #77a487;
    color: whitesmoke;
    text-transform: uppercase;
    height: 70px;
    width: 110px;
    float: left;
    text-align: center;
    line-height: 70px;
    margin-right: 20px;
    font-size: 16px;
    font-weight: 600;
}

.tooltip_data {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    color: #3b434c;
}

.tooltip_data .reference {
    font-size: 11px;
}

.tooltip_data .surface {
    display: block;
    font-size: 22px;
    line-height: .95;
    letter-spacing: -1px;
    font-weight: bold;
}

p {
    margin: auto;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.poz-nav {
    position: fixed;
    left: 1vw;
    bottom: 0px;
    z-index: 100;
}

.navigate {
    /*display: none;*/
    float: left;
}

.filter-poz {
    position: absolute;
    left: 80px;
    bottom: 10px;
}

.filter-active {
    font-weight: bold;
}

#goFS {
    font-size: 36px;
    user-select: none;
    cursor: pointer;
    bottom: 10px;
    left: 140px;
    color: whitesmoke;
    background-color: rgba(0, 45, 93, 0.8);
    border-radius: 4px;
}

.menu-pc {
    position: fixed;
    bottom: 10px;
    max-height: calc(85% - 60px);
    width: 70px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    box-sizing: content-box;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #fff;
    scrollbar-color: #77a487 transparent;
    scrollbar-width: thin;
}

/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #77a487;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #7594bc;
}

.menu-pc a {
    display: block;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer */
    -khtml-user-select: none;
    /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none;
    /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none;
    /* Disable Android and iOS callouts*/
}

.menu-pc a:hover {
    color: whitesmoke;
    background-color: #77a487;
    cursor: pointer;
}

.etage-active {
    color: whitesmoke;
    background-color: #77a487;
}

.break {
    background-color: rgba(255, 255, 255, 0.7);
    position: relative;
    height: 2px;
    width: auto;
    z-index: 4;
}

.type {
    list-style-type: none;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    padding-left: 0;
    margin: 0;
}

.type li {
    display: inline-block;
    margin-bottom: 6px;
}

.type a {
    display: block;
    padding: 5px;
    color: white;
    text-align: center;
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer */
    -khtml-user-select: none;
    /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none;
    /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none;
    /* Disable Android and iOS callouts*/
}

.type a:hover {
    background-color: #A8BED5;
    cursor: pointer;
}

#T1 {
    background-color: #b5d7f0;
}

#T1b {
    font-size: 10.5px;
    background-color: #8ce3ce;
}

#T2 {
    background-color: #ead168;
}

#T3 {
    background-color: #bfc568;
}

#T4 {
    background-color: #dd8c91;
}

#T5 {
    background-color: #DA98EA;
}

#T6 {
    background-color: #F3AC51;
}

#copyright {
    position: absolute;
    top: 95%;
    left: 50%;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    transform: translate(-50%, -50%);
}

.media-poz {
    position: absolute;
    z-index: 5;
    float: right;
    visibility: hidden;
    margin: 10px;
    top: 050vh;
    right: 0vw;
    transform: translate(110%, -50%);
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
}

.div-hs-img {
    text-align: right;
    font-size: 24px;
    padding: 10px;
    color: white;
    background-color: #77a487;
    border-radius: 8px 8px 8px 8px;
}

.div-hs-img:hover {
    cursor: pointer;
}

.path-img {
    width: 70vw;
    max-width: 100%;
    height: auto;
}

.loading {
    top: 49vh;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #77a487;
    position: fixed;
    font-size: 32px;
    font-style: italic; 
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    z-index: 100;
}

path {
    stroke: #aaa;
    stroke-width: 2;
    stroke-linejoin: round;
    cursor: pointer;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.hs-T1 {
    fill: #b5d7f0;
}

.hs-T1b {
    fill: #8ce3ce;
}

.hs-T2 {
    fill: #ead168;
}

.hs-T3 {
    fill: #bfc568;
}

.hs-T4 {
    fill: #dd8c91;
}

.hs-T5 {
    fill: #DA98EA;
}

.hs-T6 {
    fill: #F3AC51;
}

.hide {
    display: none
}

path:hover {
    fill: #A8BED5;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.process {
    position: absolute;
    height: 100%;
    width: 10vw;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease;
    user-select: none;
}

.process:hover {
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.code.icon {
    color: black;
    position: absolute;
    top: 47%;
    margin-left: 3px;
    margin-top: 6px;
    z-index: 1;
}

#lCode {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 25px;
    border-left: solid 2px currentColor;
    border-top: solid 2px currentColor;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#rCode {
    content: '';
    position: absolute;
    right: 25px;
    width: 24px;
    height: 24px;
    border-bottom: solid 2px currentColor;
    border-right: solid 2px currentColor;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#pLeft {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

#pRight {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent);
}

label,#toggle {
    display: none;
}

@media screen and (max-width: 1830px) {
        
    nav .header {
        display: none;
        flex-direction: column;
    }
    
    .header {
        top: 50px;
        left: 160px;
    }
    
    #toggle:checked + .header {
        display: flex;
    }
    
    label {
        position: fixed;
        float: left;
        left: 25px;
        top: 50px;
        width: 30px;
        height: auto
        font-size: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0px auto;
        padding: 5px;
        cursor: pointer;
        z-index: 100;
        background: #77a487;
        color: white;
        user-select: none;
        border-radius: 5px;
    }

    .media-poz {
        position: fixed;
        max-width: 100%;
        float: none;
        margin: auto;
        transform: translate(0%, -50%);
    }

    .div-hs-img {
        background-color: rgba(0, 0, 0, 0.4);
        color: white;
    }

    .path-img {
        width: 135vh;
        height: auto !important;
    }

    .type {
        position: relative;
        top: 10px;
    }
}

@media screen (max-width: 640px) {

    .tooltip {
        text-align: center;
        width: 90px;
        height: auto;
        white-space: normal;
    }

    .tooltip::after {
        background-color: #fff;
    }

    .tooltip h5 {
        height: 50px;
        line-height: 50px;
        width: 100%;
        font-size: 14px;
    }

    .tooltip_data {
        transform: none;
        margin-bottom: 5px;
    }

    .menu-pc {
        height: 190px;
    }

    .media-poz {
        position: fixed;
        top: 0px;
        width: 100%;
        height: 100%;
        max-width: 100%;
        float: none;
        margin: auto;
        transform: translate(0%, -50%);
    }

    .div-hs-img {
        background-color: rgba(0, 0, 0, 0.4);
        color: white;
    }

    .path-img {
        width: 135vh;
        height: auto !important;
    }

    .div-show-Maq {
        width: 50px;
        height: 50px;
    }

    .div-show-Maq-activ {
        width: 50px;
        height: 50px;
    }
}

@media (max-device-width:768px) and (orientation: landscape) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}
