
html {
    height: 100%;
    border: 0px;
}

body {
    background-color: white;
    background-size: auto;
    color: white;
    height: 100%;
    font-family: "SF Pro Display","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif !important;
    overflow: hidden;
}

ul {
    display: block;
    list-style-type: none;
    padding: 0px;
    margin-bottom: 0px;
    padding-left: 15px;
}

li {
    cursor: pointer;
}

select {
    font-size: .9rem;
    padding: 2px 5px;
    background-color: transparent;
    border: none;
}

select:hover {
    background-color: transparent; 
}

option {
    color: rgb(0 0 0 / 68%);
}

.row {
    margin: 0px !important;
}

/*----------------------------------- UNITY WEBGL -----------------------------------*/

.unityIframe {
    z-index: 0;
    width: 100%;
    height: 100%;
}

.webgl-content {
    width: 100%;
    height: 100%;
}

.container1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
}

/*------------------------------------- LOADER -------------------------------------------*/

.loader {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url("../Img/intro_value_manual.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    z-index: 7;
    display: block;
}

#loading-video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#loading-text {
    display: none;
    color: black;
    font-size: x-large;
    margin-top: 1em;
}

@media (orientation: portrait) {
    #loading-video {
        width: 100%;
    }
}

@media (orientation: landscape) {
    #loading-video {
        height: 100%;
    }
}

.loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.play-button-container, #loading-text {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    width: 80%;
}

.loading-container p {
    display: none;
    color: black;
}

/*--- Loading icon ---*/

#loading-icon {
    height: 100px;
    width: auto;
    -webkit-animation: spin 3s infinite;
    animation: spin 3s infinite;
    margin-bottom: 50px;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotateY(0deg);
    }

    to {
        -webkit-transform: rotateY(-360deg);
    }
}

@keyframes spin {
    from {
        -moz-transform: rotateY(0deg);
        -ms-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    to {
        -moz-transform: rotateY(-360deg);
        -ms-transform: rotateY(-360deg);
        transform: rotateY(-360deg);
    }
}

/*--- Play button ---*/

#loading-page-title {
    font-size: xxx-large;
    color: black;
    font-weight: bold;
    margin: 0.5em 0;
    line-height: 1.2em;
}

.play-button-container {
    display: none;
}

@media (hover: none) and (pointer: coarse) and (orientation: portrait) {
    #loading-page-title {
        font-size: xxx-large;
    }

    #loading-text {
        font-size: x-large;
    }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) {
    #loading-page-title {
        font-size: x-large;
    }

    #loading-text {
        font-size: large;
    }
}

/*------------------------------------- HEADER -------------------------------------------*/

.header {
    position: absolute;
    top: 0px;
    z-index: 4;
    pointer-events: none;
    height: 10%;
    width: 100%;
    pointer-events: none;
    border-bottom: 3px solid #E6E6E6;
    background-color: white;
}

/*--- Left ---*/

.logo-filiale img {
    width: 100%;
    margin: auto;
}

.logo-filiale {
    display: flex;
    align-items: center;
    pointer-events: auto;
    border-right: 3px solid #E6E6E6;
    padding: 0;
}

.logo-filiale:hover {
    cursor: pointer;
}

/*--- Middle ---*/

.nomVanne {
    color: rgb(75,75,75);
    font-size: 2vw;
    font-weight: bold;
    z-index: 5;
    width: 100%;
    display: block;   
    left: 30px;
    position: relative;
}

.title {
    padding: 10px 15px;
    padding-left: 0px;
    display: flex;
    align-items: flex-end;
}

/*--- Right ---*/

.settings {
    height: 100%;
    text-align: right;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 15px;
}

@media screen and (min-height: 551px) and (max-height: 850px) {
    .settings {
        padding: 0px 15px;
    }
}

@media screen and (max-height: 550px) {
    .settings {
        padding: 0 15px;
    }
}

/*--------------------------------------- ROW 2 -------------------------------------------*/

.menu-and-msg {
    position: absolute;
    top: 10%;
    height: 90%;
    width: 100%;
}

/*------------------------------------- LEFT MENU -----------------------------------------*/

.left-menu {
    width: 100%;
    height: 100%;
    background-color: #E6E6E6;
    z-index: 5;
    display: none;
}

.buttons {
    padding: 0;
    pointer-events: visible;
}

.left-menu-buttons {
    color: black;
    border: none;
    margin: 10px 0;
    font-size: small;
    pointer-events: visible;
}

.menu-button {
    margin: 5vh 0;
}

.menu-button:hover {
    cursor: pointer;
}

.menu-button img {
    width: 50%;
    height: auto;
    text-align: center;
    margin: auto;
    display: flex;
}

.menu-button p {
    font-size: small;
    text-align: center;
    padding-top: 5px;
}

.left-menu-button:focus {
    outline: none;
}

.exit-fullscreen-button {
    display: none;
}

@media screen and (max-width: 1500px) {
    .menu-button p {
        font-size: x-small;
    }
}

@media screen and (max-width: 1000px) and (min-width: 651px) {
    .menu-button p {
        display: none;
    }

    .menu-button img {
        width: 60%;
    }
}

@media screen and (max-width: 650px) {
    .menu-button p {
        display: none;
    }

    .menu-button img {
        width: 80%;
    }
}

/*--------------------------------- RIGHT PART -------------------------------------*/

/*--- Mobile/tablet msg ---*/

.mobile-tablet-msg {
    width: 100%;
    height: fit-content;
    z-index: 5;
    padding: 0;
}

#mobile-tablet-msg {
    background-color: white;
    border: 2px solid black;
    margin: 5px;
    padding: 10px;
    display: none;
    pointer-events: auto;
}

#mobile-tablet-msg img {
    width: 30px;
}

#mobile-tablet-msg p {
    font-size: 20px;
    color: black;
    margin: 0;
    padding: 10px;
}

.hide {
    display: none;
}

/*--- Turn device ---*/

.turn-device-gif {
    width: 100%;
    height: auto;
    z-index: 5;
    padding: 0;
    display: none;
    pointer-events: auto;
}

.turn-device-gif img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*--- End session ---*/

.end-session-msg {
    width: 100%;
    height: auto;
    z-index: 5;
    padding: 0;
    display: none;
    pointer-events: auto;
}

.end-session-msg {
    background-color: white;
    text-align: center;
}

#end-session-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
}

#end-session-buttons button {
    padding: 10px;
    margin: 10px;
    border: 1px solid black;
}

#end-session-buttons button:hover {
    cursor: pointer;
    background-color: #e6e6e6;
}

/*--- Certifications ---*/

.certifications-container {
    height: 100%;
    width: 100%;
    z-index: 3;
    pointer-events: none;
    display: none;
}

#manual-certifications, #engine-certifications {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.certification {
    width: 80px;
    margin-top: 10px;
    pointer-events: auto;
}

/*---------------------------------- LABELS ----------------------------------------*/

.labels {
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
}

.labels_pivot, .labels_handle, .labels_handle_complete, .labels_engine, .labels_engrenage, labels_limiteur_couple0, labels_limiteur_couple1, labels_limiteur_couple2, labels_cmd_manuelle1, labels_cmd_manuelle2, .labels_engine_complete {
    pointer-events: none;
}

.item-hints {
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
}

.item-hints .hint {
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.item-hints .hint::before {
    background-color: #FAD345;
    width: 30px;
    height: 30px;
    z-index: auto;
    -webkit-clip-path: circle(25% at center);
    clip-path: circle(25% at center);
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    pointer-events: auto;
}

.item-hints .hint-pivot::before {
    pointer-events: none;
}

.item-hints .hint::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.item-hints .hint-dot {
    z-index: 3;
    width: 30px;
    height: 30px;
    display: block;
    -webkit-transform: translate(-0%,-0%) scale(.95);
    transform: translate(-0%,-0%) scale(.95);
    margin: auto;
    background-image: none;
    background-size: 40%;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 50%;
}

#pivot-dot {
    background-image: none;
}

.item-hints .hint-radius {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.item-hints .hint[data-position="1"] .hint-content {
    top: 15px;
    left: 50%;
    margin-left: 57px;
}

.item-hints .hint-content {
    color: rgb(0 0 0 / 68%);
    position: absolute;
    z-index: 1;
    padding: 0px;
    opacity: 0;
    pointer-events: none;
}

@media screen and (min-width: 1001px) {
    .item-hints .hint-content {
        width: 300px;
    }
}

@media screen and (max-width: 1000px) and (min-width: 651px) {
    .item-hints .hint-content {
        width: 200px;
    }
}

@media screen and (max-width: 650px) {
    .item-hints .hint-content {
        width: 200px;
    }
}

.item-hints .hint-content::after {
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
  top: 0;
  left: 0;
  width: 50px;
  content: '';
  background-color: #FAD345;
  height: 1px;
  position: absolute;
  opacity: 1;
}

.p_labels {
    margin-bottom: 0;
    margin-left: 10px;
    color: black;
    padding: 5px;
    padding-right: 10px;
    line-height: 1.2em;
    font-size: 15px;
}

.label-box {
    background-color: #E6E6E6;
}

.label-box img {
    margin-left: 10px;
    padding: 5px;
}

.item-hints .hint-content::after {
  opacity: 1;
  visibility: visible;
}

.item-hints .hint[data-position="4"] .hint-content {
  top: 15px;
  left: 50%;
  margin-left: 57px;
}

#line {
    width: 100%;
    height: 100%;
    background-color: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
}

/*---------------------------------- END SESSION ----------------------------------------*/

.end-session-page {
    width: 100%;
    height: 100%;
    background: url("../Img/intro_value_manual.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 5;
    display: none;
}

#end-session-text {
    color: black;
    font-size: x-large;
    margin: 0.5em 5rem 1rem 5rem;
}

.loader-end-session-button {
    text-decoration: underline;
    height: auto;
    width: 420px;
    border: none;
    background-color: transparent;
    outline: none;
    font-size: x-large;
    color: #4472C4;
}

.loader-end-session-button:hover {
    cursor: pointer;
    color: #27467D;
    outline: none;
    border: none;
}
