body {
    font-family: 'Bw Nista Grot Rg', sans-serif;
    height: 100%;
    width: 100vw;
    overflow-x: hidden;
}

/* EN-TETE
**********************************************************************************************************************/
#header {
    background: white;
    height: 80px;
}

#logo {
    font-family: 'Bw Nista Grot Bk', sans-serif;
    color:black;
    padding: 1em;
    font-size: 140%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#logo:hover {
    text-decoration: none;
}

/* SPLASH
**********************************************************************************************************************/
#splash {
    width: 100vw;
    height: 70vh;
    display: flex;
    justify-content: space-between;
}

#splash .video {
    position: absolute;
    /*top:      0;*/
    left: 0;
    width: 100vw;
    height: 70vh;
    overflow: hidden;
}

#splash a {
    border-bottom-width: 1px;
    border-bottom-style: dotted;
}

#splash a:hover {
    text-decoration: none;
    border-bottom-style: solid;
}

#splash video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#splash .sentence {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 48%;
    font-family: 'Bw Nista Grot Bk', sans-serif;
    padding: 3vw;
    z-index: 10;
    font-size: 4vw;
}

#splash .sentence h3 {
    font-size: 4vw;
    font-family: 'Bw Nista Grot Rg', sans-serif;
    }

#splash .sentence a {
    font-family: 'Bw Nista Grot Bk', sans-serif;
    border: 0;
    display: inline-block;
    transition: .5s cubic-bezier(.29,-1.32,.66,1.01) transform;
    }

#splash .sentence a:hover {
    transform: scale(1.1);
   
    }

#splash .image {
    flex: 0 0 48%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90%;
    padding: 3vw;
    z-index: 10;
}

#splash .image.right {
    order: 2;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #splash {
        flex-direction: column;
        height: 60vh;
    }

    #splash .sentence h3 {
        font-size: 6vw;
        text-align: center;
        flex: 1 1 35%
    }

    #splash .image {
        padding: 5vw;
        flex: 0 0 65%
    }

}

/* TYPO
**********************************************************************************************************************/
.titre {
    font-family: "Bw Nista Grot Bk";
    text-transform: uppercase;
    margin: 1em 0 .5em 0;
}

.legende {
    font-style: italic;
    text-align: right;
    font-size: 80%;
}

.content a {
    font-weight: bold;
}

/* UI
**********************************************************************************************************************/
.button {
    display: inline-block;
    padding: .2em .5em;
    text-align: center;
    background: silver;
}

#filter {
    background: rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 5vh auto;
}

.filter {
    display: inline-block;
    padding: 1em 2em;
    text-align: center;
}

.filter.sel {
    background: rgba(0, 0, 0, .75);
    color: white;
    font-family: "Bw Nista Grot Bk";
}

/* NAVIGATION
**********************************************************************************************************************/

#header {
    display: flex;
    justify-content: space-between;
}

#header nav {
    padding: .5em;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#header div.menu-items {
    display: flex;
    justify-content: space-between;
}

#header nav a {
    padding: 0 1em;
    color: #555
}

#header nav a.active {
    font-family: "Bw Nista Grot Bk";
    color: black
}

#btn-mobile-menu {
    display: none;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #btn-mobile-menu {
        position: absolute;
        font-size: 4vw;
        margin: 0;
        width: 60px;
        height: 60px;
        top: 10px;
        right: 10px;
        z-index: 99900000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: right;
        color: #555
        /*background-color: #B4252D;*/
    }

    #btn-mobile-menu:before {
        content: "\f0c9";
        font-family: "Font Awesome 5\ Free";
        font-weight: 900;
        font-size: 120%;
        color:black
    }
    .nav-on #btn-mobile-menu:before {
        content: "\f00d";
        font-family: "Font Awesome 5\ Free";
        font-weight: 900;
        color:white
    }

    .nav-on {
        overflow: hidden;
    }

    #header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 10vh;
        transition: .5s ease all;
    }

    #header nav div.menu-items {
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    #header nav a {
        font-size: 36px;
        text-align: center;
        padding: 1em .6em;
        text-align: center;
        width: 100%;
        display: block;
        color: white;

    }

    #header nav a.active {
        background: transparent;
        color: white;
        font-weight: 900;
    }

    #accueil #header nav a {
        color: white;
    }

    .nav-on #header nav {
        display: flex;
        background-color: rgba(0, 0, 0, 0.8);
        -webkit-backdrop-filter: blur(20px);
        z-index: 10000;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }

}

/* REALISATIONS
**********************************************************************************************************************/
.realisation-item {
    width: 26vw;
    max-width: 260px;
    height: 26vw;
    max-height: 260px;
    overflow: hidden;
    border: 1px dotted red;
    color: white;
    font-size: 2vw;
    display: block;
}

#realisation-detail {
    display: flex;
    width: 100%;
    margin: 5vh auto;
}

#realisation-detail > div {
    flex: 1 1 50%;
}

#realisation-detail .visuel img {
    width: 100%;
}

.nav-button {
    position: absolute;
    top: 45vw;
    background: white;
    font-size: 2vw;
}

#realisation-detail video {
    width: 100%;

}

#btn-prev {
    left: 0;
}

#btn-next {
    right: 0;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .realisation-item {
        width: 78vw;
        height: 78vw;
        max-width: none;
        max-height: none;
    }
}

/* IDEE
**********************************************************************************************************************/
#idees-wrapper, #content-wrapper {
    width: 80vw;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.idee-item {
    margin: 0 0 .5vh 0;
    padding: 1vw;
    flex: 1 1 100%
}

.idee-item.full {
    flex: 0 0 100%;
}

.idee-item.three-quarters {
    flex: 0 0 75%;
}

.idee-item.half {
    flex: 0 0 50%;
}

.idee-item.third {
    flex: 0 0 33%;
}

.idee-item.quarter {
    flex: 0 0 25%;
}


#idees-wrapper video {
    width: 100%;
}

#idees-wrapper img {
    width: 100%;
}

.image-container {
    display: flex;
    justify-content: space-between;
}

.image-container.top, .image-container.bottom {
    flex-direction: column;
}

.image-container.top .img, .image-container.bottom .img {
    flex: 1 1 100%;
}

.image-container.bottom .img {
    order: 1;
}

.image-shadow {
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .5);
    overflow: hidden;
    transition: 0.4s cubic-bezier(.09, .92, .51, 1.51)
}

.image-shadow:hover {
    transform: scale(1.05);
}

.image-container.right, .image-container.left {
    flex-direction: row;
}

.image-container.left .img, .image-container.right .img {
    flex: 0 0 30%;
}

.image-container.left .text, .image-container.right .text {
    flex: 1 1 65%;
    border: 1px dotted green;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-container.right .img {
    order: 1;
}

.photo {
    width: 12vw;
    height: 12vw;
    margin: 1vw

}

.list-2-col {
    width: 100%;
    column-count: 2;
}

.list-centre {
    margin-top: 1em;
    text-align: center;
}


/* CARTE
***********************************************************************************************************************/

#mapid {
    width: 100%;
    height: 45vh;
}

/* CULTUROSCOPE
***********************************************************************************************************************/
.cltp-item {
    margin: 4px auto;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    transition: .2s ease-in-out all;
    z-index: 0;
    color: white;
    text-decoration: none;
}

.cltp-item:hover {
    color: white;
    text-decoration: none;
}

.cltp-item > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cltp-item h5 {
    font-family: 'Bw Nista Grot Bk', sans-serif;
    text-transform: uppercase;
    font-size: 100%;
}

.cltp-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, .6);
    transform: scale(1.02);
    z-index: 50
}

.cltp-item .img {
    flex: 0 0 8vw;
    height: 6vw;
    margin-right: 10px;
    overflow: hidden;
    background-color: black;
}


/* CHIFFRES
**********************************************************************************************************************/
.numbers {
    display: flex;
    justify-content: space-around;
}

.number {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 15vw;
    text-align: center;
    /*background: radial-gradient(circle, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0) 100%);*/
}

.number h4 {
    font-family: 'Bw Nista Grot Bk', sans-serif;

}

.number h4.big {
    font-size: 10vw;
}

.number h4.medium {
    font-size: 6vw;
}

.number h4.small {
    font-size: 3vw;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .numbers {
        display: flex;
        flex-direction: column;
    }
    .number {
      width: 100%;
      margin: 5vh auto;
    }

    .number h4.big, .number h4.medium, .number h4.small {
        font-size: 20vw;
    }

}

/* PIED DE PAGE
**********************************************************************************************************************/
#footer {
    background: rgba(0, 0, 0, .5);
    margin: 0vh 0 0 0;
    min-height: 20vh;
    display: flex;
    justify-content: space-between;
    padding: 2vw;
    color: white;
}

#footer a {
    color: white
}

#footer i {
    font-size: 200%;
}

#footer div {
    flex: 0 0 30%
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #footer {
        flex-direction: column;
    }

    #footer div {
        padding: 2vw;
        text-align: center;
    }

}


/* 404
**********************************************************************************************************************/
.erreur404 {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: black;
    color:white
}

.erreur404 h3 {
    font-size: 17vw;
    font-family: "Bw Nista Grot Bk";

}

.erreur404 h4 {
    font-size: 2.5vw;
    font-family: "Bw Nista Grot Lt";

}