body {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 22px;
    background: var(--couleur_fond);
    color: white
}

h1 {
    color: var(--couleur_principale);
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    body, html {
        max-width: 100vw;
        overflow-x: hidden;

    }
}

/* STRUCTURE
***********************************************************************************************************************/
#col-wrapper {
    width: 80vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.left-col {
    flex: 0 0 30%
}

.right-col {
    flex: 0 0 64%
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #col-wrapper {
        flex-direction: column;
        justify-content: flex-start;
        width: 90%;
    }

    .left-col, .right-col {
        flex: 0 0 100%
    }

    .right-col {
        margin-top: 1em;
    }

}

/* TYPO
***********************************************************************************************************************/
.titre {
    font-size: 200%;
    color: var(--couleur_principale);
    font-weight: 900;
    line-height: 1.1em;
    margin-bottom: .5em;
}

.soustitre {
    font-size: 150%;
    font-weight: 300;
    color: var(--couleur_principale);
    font-style: italic;
    margin-bottom: 1em;;
    line-height: 1.1em;
}

h5.lieu, h5.prix, h5.infos {
    font-size: 100%;
    font-style: italic;
}

.infos {
    margin-bottom: 1em;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    h5.lieu, h5.prix, h5.infos {
        font-size: 18px;
    }
}

/* UI
***********************************************************************************************************************/

.button, .btn {
    background-color: var(--couleur_principale);
    color: black;
    align-self: center;
    padding: .2em .5em;
    margin: .2em .2em;
    border-radius: 100px;
    font-size: 80%;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s transform ease-in-out .3s box-shadow ease;
    border: 0
}

.text a.button {
    color:black;
}

.buttons-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.button:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 0 10px black;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .button {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .buttons-wrapper {
        margin-top: 20px;
        flex-direction: column;
    }
}

/* EN-TÈTE
***********************************************************************************************************************/

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

#logo {
    display: block;
    width: 7vw;
    height: 7vw;
    border-radius: 100%;
    background-color: var(--couleur_principale);
    background-image: url(../img/logo-noir.svg);
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: center;
    margin: 2vw;
}

#logo h1, #logo h2 {
    display: none;
}

#programme:not(.detail) #logo {
    width: 15vw;
    height: 15vw;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #programme:not(.detail) #logo {
        width: 30vw;
        height: 30vw;
        margin: 2vh auto 0;
    }

    #logo {
        width: 12vw;
        height: 12vw;
    }
}

/* NAVIGATION
***********************************************************************************************************************/
nav {
    display: flex;
    align-self: center;
    padding-right: 20px;
}

nav a {
    display: block;
    border-radius: 100px;
    color: white;
    padding: .2em .5em;
    margin: 0 .2em;
    text-decoration: none;
}

nav a:hover {
    text-decoration: none;
}

nav a:hover:not(.selected) {
    text-decoration: none;
    color: var(--couleur_principale);
}

nav a.selected {
    color: black;
    font-weight: bold;
    background-color: var(--couleur_principale);
}

.subnav {
    display: flex;
    flex: 0 0 15%;
    flex-direction: column;
    padding: 0 1em 0 0;
}

.subnav a {
    font-weight: bold;
    display: block;
    margin-bottom: .5em;
    padding-bottom: .5em;
    color:white;
    text-decoration: none;
}
 #saison-nav a {
    color:white
  }
.subnav a.selected, #saison-nav a.selected {
    color: var(--couleur_principale);
}

#saison-nav {
    margin: 0 0 1em 0;
}

.altcha-label {
    color:black;
}

#saison-nav  a{
    margin-right: 1em;
    display: inline-block;
}
@media screen and (min-device-width: 320px) and (max-width: 868px) {
    #btn-mobile-menu {
        position: absolute;
        font-size: 30px;
        margin: 0;
        width: 60px;
        height: 60px;
        top: 10px;
        right: 20px;
        z-index: 99900000;
        display: block;
        cursor: pointer;
        text-align: right;
    }

    #btn-mobile-menu:before {
        font: normal normal normal 14px/1 FontAwesome;
        content: '\f0c9';
        /*margin-right: .5em;*/
        width: 1em;
        font-size: 30px;
        display: inline-block;
        color: var(white);
    }

    .nav-on #btn-mobile-menu:before {
        font: normal normal normal 14px/1 FontAwesome;
        content: '\f00d';
        width: 1em;
        font-size: 30px;
        display: inline-block;
        color: white;

    }

    .nav-on {
        overflow: hidden;
    }


    #nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 10vh;
        margin: 0 0;
        z-index: 1000;

    }

    .nav-on #nav {
        display: flex;
        height: 120vh;
        justify-content: flex-start;
        z-index: 10000;
        background-color: var(--couleur_principale);
        top: 0;
    }

    #nav a {
        color: white;
        text-decoration: none;
        text-align: center;
        padding: .2em .5em;
        width: 80vw;
        margin: 4px auto 40px;
        font-size: 24px;
        flex-direction: row;
        height: auto;
        justify-content: flex-start;
    }

    .nav-on #subnav {
        display: none;
    }

    .subnav {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 1em;
    }

    .subnav a {
        margin: 0 10px;
    }


}

/* ACCUEIL
***********************************************************************************************************************/
#posters-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 80vw;
    margin: 5vh auto;
    gap:1vw
}

#posters-wrapper h3 {
    margin-top: 5vh;
    font-size: 120%;
    color: var(--couleur_principale);
    flex: 0 0 100%;
    border-bottom: 1px solid var(--couleur_principale);
}

.poster {
    width: 26vw;
    /*height: 40vw;*/
    /*aspect-ratio: 3/4;*/
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    margin: 0 0 5vh 0;
    font-weight: bold;
    font-size: 1.5vw;
    color:white;
    text-decoration: none;
}

.poster:hover {
    text-decoration: none;
}

.poster .visuel {
    width: 80%;
    aspect-ratio: 3/4;
    align-self: center;
    background-color: black;
    margin-bottom: 10px;
}

.poster .visuel.actualite {
    background-color: var(--couleur_principale);
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 80%;
    text-align: left;
    font-size: 1.4vw;
}

.poster .visuel.actualite h6 {
    font-size: 120%;
    font-weight: 900;
    margin-bottom: 1em;
    text-align: center;
}

#programme.detail .left-col .gutter {
    position: sticky;
    top: 0
}

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

    #posters-wrapper {
        width: 90vw;
        margin-top: 0;
        gap:0
    }

    .poster {
        width: 100vw;
        /*font-size: 80%;*/
        font-size: 6vw;
    }

    .poster .visuel.actualite {
        font-size: 5vw;
    }

    .detail #posters-wrapper {
        width: 95vw;
    }

    .detail .poster {
        width: 90vw;
    }

    .poster.small {
        width: 45vw;
        font-size: 4vw;
    }

    .poster .visuel {
        width: 95%;
    }
}

/* PAGES
***********************************************************************************************************************/
#content-wrapper {
    width: 80vw;
    margin: 0 auto;
    color: white;
    min-height: 60vh;
}

.main-col {
    flex: 1 1 80%
}

.content-item {
    display: flex;
    flex-wrap: wrap;
    color: white;
}

#lieux-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

#lieux-map {
    width: 100%;
    height: 45vh;
    margin: 0 0 3em 0;
    border-radius: 16px;
    overflow: hidden;
}

#lieux-wrapper .content-item {
    flex: 0 0 32%;
    /*margin-bottom: 8vh;*/
    display: flex;
    flex-direction: column;
}

.lieu-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8em;
    height: 1.8em;
    margin-right: .5em;
    border-radius: 999px;
    background: var(--couleur_principale);
    color: black;
    font-weight: 700;
    font-size: 80%;
    vertical-align: middle;
}

.lieux-marker-wrapper {
    background: transparent;
    border: 0;
}

.lieux-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--couleur_principale);
    color: black;
    font-weight: 700;
    border: 2px solid black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.content-item:first-child .titre {
    margin-top: 0;
    padding-top: 0;

}

.content-item .titre {
    flex: 0 0 100%;
    font-size: 150%;
    margin: 1em 0 .5em;

}


.content-item .img.small-width {
    flex: 0 1 40%;
    margin-right: 20px;

}

.img.full-width {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 1em;
}

.img.full-width img {
    width: 100%;
}

.content-item .text {
    flex: 1 0 58%;
    align-content: center;
}

.left-col a {

    color:white
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #lieux-map {
        height: 36vh;
        margin-bottom: 2em;
    }

    #lieux-wrapper .content-item {
        flex: 0 0 100%;
        margin-bottom: 0em;
    }

    .img.small-width .img.full-width  { flex: 0 0 100%}
}

.text {
    line-height: 1.5em;
}

.text p {
    margin-top: .5em;
}

.text a {

    color:var(--couleur_principale);
}

.fa-map {
    color:white
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #content-wrapper {
        width: 90vw;
    }

    .content-item {
        flex-direction: column;
    }

    .content-item img, .content-item .text {
        flex: 0 0 100%
    }

    .img-fluid {
        width: 100%;
    }

}

.sl-wrapper .sl-close{
    color:white
}

/* EVENEMENTS
***********************************************************************************************************************/
.categorie {
    width: 2em;
    height: 2em;
    background: white;
    border-radius: 100px;
    position: relative;
    left: 21vw;
    top: 1em;
    opacity: 0;
    transition: 0.3s opacity ease-in-out;
}

.aussi {
    color: var(--couleur_principale);
}

.categorie.empty {
    background: transparent;
}

.poster:hover .categorie, .poster.detail .categorie {
    opacity: 1;
}

.actions {
    display: flex;
    flex-direction: column;
}

.statut {
    background-color: var(--couleur_principale);
    color: white;
    padding: .1em .5em;
    font-size: 70%;
    transform: rotateZ(-5deg);
    display: inline-block;
    transform-origin: center;
    margin: -4px 0 0 -4px;
    position: absolute;
}

.nav-button {
    position: fixed;
    top: calc(50vh - 1em);
    font-size: 120%;
    width: 1em;
    height: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*text-align: center;*/
    background: black;
    color: grey;
    transition: 0.3s transform ease-in-out;
    text-decoration: none;
}

.nav-button:hover {
    text-decoration: none;
    transform: scale(1.1);
    background: var(--couleur_principale);
    color: white
}

.nav-button.prev {
    left: 0;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}

.nav-button.next {
    right: 0;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    text-align: right;
}

.galerie {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    width: 100%;
    margin-top:40px

}

.galerie img {
    margin: 10px 10px 0 0;
    width: 100%;
}

.galerie a {
    margin: 10px 10px 0 0;
    width: 30%;
    /*height: 100%;*/
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .galerie a {
        width: 45%;
    }

    .statut {
        font-size: 50%;
    }
}


#partenaires {
    background: white;
    margin: 0 auto;
    padding: 5vh 0 5vh 0;
    text-align: center;

}

#partenaires > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#partenaires h4 {
    font-weight: bold;
}

.partenaire {
    display: inline-block;
    width: 12vw;
    height: 4vw;
    margin: 10px;
    background-color: white;

    border-radius: 4px;
}

.sponsors-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.sponsors-wrapper  h4 {
    flex: 0 0 100%;
    margin-top: 1em;
}


.sponsors-wrapper .content-item a {
    border: 0;

}

.sponsors-wrapper .partenaire {
    margin: 8px;
    width: 14vw;
    /*height: auto;*/

}

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

    .nav-button {
        width: .75em;
        height: 1.5em;
        font-size: 90%;
    }

    .sponsors-wrapper .partenaire {
        margin: 10px;
        width: 35vw;
        height: 18vw;
    }

    .legend .pill {
        margin-top: 3em;
    }

    .mobile.legende {
        margin-top: 1.5em;
    }

    .nav-button {
        top: 30vh;
    }

    video {
        height: 30vh;
    }

    .right-col .partenaire {
        margin: 10px;
        width: 35vw;
        height: 20vw;
    }
}

.line {
    display: flex;
    justify-content: space-between;
    border-top: 1px dotted var(--couleur_principale);
    padding: .2em;

}

.line .soustitre {
    flex: 0 0 30%;

}

.line .soustitre a {
    color: var(--couleur_principale);
    text-decoration: none;
}

.line .dates {
    text-align: center;
    flex: 0 0 30%;
    color:white

}

.line .actions {
    flex: 0 0 30%;

    display: flex;
    justify-content: flex-start;
}

.line .actions .button {
    align-self: flex-end;
    justify-self: flex-start;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .line {
        flex-direction: column;
    }
}

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

    .poster .categorie {
        left: 80vw;
    }

    .detail .categorie {
        left: 80vw;
    }

    .poster.small .categorie {
        left: 41vw;
    }
}

/* Contact */
#map {
    width: 100%;
    height: 50vh;
}

/* Pied de page
***********************************************************************************************************************/
#footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: black;
    padding: 2vw;
    font-size: 80%;
    margin-top: 10vh;
}

#footer h4 {
    display: none;
}

#footer input {
    border: 1px solid white;
    color: white;

}

#footer input[type=submit] {
    background-color: var(--couleur_principale);
    color: black;
    border: 0;
    border-radius: 100px;
    font-weight: 600;
    padding: .2em 1em;
    margin-bottom: 1em;
    margin-left: 10px;
}

#footer h6 {
    color: var(--couleur_principale);
    text-transform: uppercase;
    font-weight: 300;
    font-size: 100%;
}

#footer a {
    text-decoration: underline;
    color:white
}

.inf-main_a813f6133031aa997c1223aca7ef7cf8 {
    background: none;
}

.inf-content {
    display: flex;
}

#footer .big {
    flex: 0 0 40%
}

#footer i {
    font-size: 120%;
    margin-right: 10px;
}

#footer .small {
    flex: 0 0 20%
}

#footer #partenaires {
    flex: 0 0 100%;
    background: black;
}

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

    #footer .col.big, #footer .col.small {
        flex: 0 0 100%;
        margin-bottom: 2em;
    }

    #footer .partenaire {
        width: 20vw;
        height: 12vw;
    }

    #footer {
        padding: 20px;
    }

}


/* FORMULAIRE
***********************************************************************************************************************/
#esp-form label span {
    display: block;
    font-weight: 700;
}

#esp-form label.radio {
    display: block;
}

#esp-form input[type=text], #esp-form input[type=email], input[type=number], #esp-form input[type=password], select, textarea {
    border: 1px solid white;
    width: 20em;
    color: white;
    padding: 3px;
}

#esp-form .field {
    margin: 1em 0 0 0;
}

#esp-form .error {
    display: none;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #esp-form input[type=text], #esp-form input[type=email], #esp-form input[type=password] {
        width: 100%;
    }
}

#erreur404 {
width: 100vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}