body {
    font-family: "SF Pro Display","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif !important;
}

.container1 {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.footer, .header, .gamme-menu, .right-side {
    background-color: white;
}

select {
    font-size: .9rem;
    padding: 2px 5px;
    background-color: transparent;
    border: none;
}

select:hover {
    background-color: transparent;
}

/*------------------------------------- HEADER ---------------------------------------*/

.header {
    width: 100%;
    height: 10vh;
    margin: 0;
}

/*--- Left ---*/

.logo-filiale {
    display: flex;
    align-items: center;
    pointer-events: auto;
    border: 3px solid white;
    border-top: none;
    border-left: none;
    padding: 0;
}

.logo-filiale:hover {
    cursor: pointer;
}

.logo-filiale img {
    margin: auto;
}

/*--- Middle ---*/

#home-title {
    display: flex;
    height: 100%;
    width: 100%;
    font-size: x-large;
    align-items: center;
    font-weight: bold;
    justify-content: center;
}

@media screen and (max-height: 750px) {
    #home-title {
        font-size: 1.5em;
    }
}

@media screen and (min-height: 751px) {
    #home-title {
        font-size: 1.8em;
    }
}

/*--- Right ---*/

.settings {
    height: 100%;
    text-align: right;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 15px;
}

.languages {
    height: 40%;
    display: inline;
    pointer-events: auto;
    display: block;
}

.languages img {
    height: 50%;
}

#language_select {
    height: 100%;
}

@media screen and (min-height: 851px) {
    .languages {
        height: 40%;
    }
}

@media screen and (min-height: 551px) and (max-height: 850px) {
    .settings {
        padding: 0px 15px;
    }

    .languages {
        height: 70%;
    }
}

@media screen and (max-height: 550px) {
    .settings {
        padding: 0 15px;
    }

    .languages {
        height: 80%;
    }
}

/*--------------------------------- MIDDLE CONTENT ----------------------------------------*/

.content {
    margin: 0;
    width: 100%;
    height: 100%;
}

.row-valve {
    padding: 5px;
    height: 35vh;
}

.valve-title {
    width: 100%;
    height: auto;
    text-align: left;
    padding: 0 10px;
    margin: 5px 0;
    z-index: 2;
}

.title-line {
    width: 20%;
    text-align: left;
    height: 5px;
    border: none;
    margin: 5px 0 0 10px;
}

.value-line {
    background-color: #0785A9;
    opacity: 40%;
}

.ttv-line {
    background-color: #335B74;
    opacity: 40%;
}

.jc-line {
    background-color: #1C97E8;
    opacity: 40%;
}

.valves-section {
    width: 100%;
    height: 100%;
    padding: 0;
    background-color: white;
}

.manual-valve, .engine-valve {
    padding: 5px;
}

.manual-valve:hover, .engine-valve:hover {
    cursor: pointer;
}

.manual-valve:hover img:last-of-type, .engine-valve:hover img:last-of-type {
    -moz-transform: scale(1.1) translate(-50%, -50%);
    -webkit-transform: scale(1.1) translate(-50%, -50%);
    transform: scale(1.1) translate(-50%, -50%);
}

.home-video {
    background-color: #f7f7f7;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transition: all .4s ease-in-out;
}

video {
    cursor: pointer;
    height: 100%;
}

.clip-path {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 40%;
}

.left-clip-path {
    clip-path: polygon(100% 70%,0% 100%,100% 100%);
}

.right-clip-path {
    clip-path: polygon(0% 70%,100% 41%,100% 100%,0% 100%);
}

@media (orientation: landscape) {
    .manual-valve, .engine-valve {
        width: 50%;
    }

    .row-valve {
        height: 35vh;
    }

    .engine-valve {
        left: 50%;
    }

    .valve-title {
        font-size: 1.2vw;
        line-height: 1.31em;
    }

    .product-img {
        height: 70%;
    }
}

@media (orientation: portrait) {
    .manual-valve, .engine-valve {
        width: 50%;
    }

    .row-valve {
        height: 50vh;
    }

    .engine-valve {
        left: 50%;
    }

    .valve-title {
        font-size: 1.7vh;
    }

    .home-video {
        justify-content: center;
    }

    .product-img {
        width: 80%;
        top: 65%;
    }
}

/*----------------------------------- FOOTER ---------------------------------------------*/

.footer {
    margin: 0;
    width: 100%;
    height: 10vh;
    bottom: 0;
}

.left-side-footer {
    border: 3px solid white;
    border-bottom: none;
    border-left: none;
}
