/* VARIABLE
**********************************************************************************************************************/
:root {
    /*--couleur-fond: #FFF8F0;*/
    /*--couleur-accent: #FF6262;*/
    /*--couleur-fond-accent: #FFF0F0;*/
    --arrondi-standard: 10px;
    --ombre: 0px 3px 6px rgba(0, 0, 0, .35);
}

/* THEME SOMBRE
**********************************************************************************************************************/
body {
    /*
     transition: .5s ease-in-out background, .5s ease-in-out color;
 */
}


body.dark {
    background: black;
    color: white;
    --couleur-fond: #333;
    --couleur-saison: #666;

}

/* STRUCTURE
**********************************************************************************************************************/
body {
    margin: 0;
    padding: 0;
    font-family: "monotype-grotesque", sans-serif;
    font-size: 18px;
}

#header {
    height: 60px;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0 5vw;
}

.header h4 {
    font-family: "monotype-grotesque-condensed", sans-serif;
    text-transform: uppercase;
}

.header h5 {
    font-family: "monotype-grotesque-condensed", sans-serif;
}

.header h6 {
    margin-bottom: 1em;
}

#header #logo {
    width: 120px;
    height: 100%;
    background-image: url(../img/logo-passage-black.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 8px 0;
}

.dark #header #logo {
    background-image: url(../img/logo-passage-white.svg);
}

#header > div {
    display: flex;
    flex: 0 0 50%;
    justify-content: space-between;
}

#header #logo h1 {
    display: none;
}

#header #billetterie-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 30%;
    margin: 0 10px 0 0;

    width: fit-content;

}

#header #billetterie-header {
    flex: 0 0 100%;
    background: var(--couleur-accent);
    /*height: 100%;*/
    border-bottom-left-radius: var(--arrondi-standard);
    border-bottom-right-radius: var(--arrondi-standard);
    padding: 4px 4px 4px 8px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

#header .opened #billetterie-header {
    border-radius: 0;
}

#header #billetterie-header h3 {
    flex: 0 0 10%
}

#header #billetterie-header img {
    /*height: 1.5em;*/
    /*float: right*/
}


#header #billetterie-header > div {
    flex: 1 1 40%
}


#header #billetterie-content {
    background: var(--couleur-fond);
    display: flex;
    justify-content: flex-start;
    border-bottom-left-radius: var(--arrondi-standard);
    border-bottom-right-radius: var(--arrondi-standard);
    font-weight: bold;
    box-shadow: var(--ombre);
}

#header #billetterie-content h5 {
    align-self: center;
    justify-self: center;
    flex: 0 0 100%;
    font-size: 1.5vw;
    text-align: left;
}

#header #billetterie-content > div {
    padding: 10px;
    text-align: left;
}

#header #billetterie-content h6 {
    /*font-weight: bold;*/
    font-size: 85%;
    text-transform: uppercase;
    font-family: "monotype-grotesque-extra-con", sans-serif;

}

#header #billetterie-content h5 {
    font-weight: bold;
}


#header h3 {
    font-family: "monotype-grotesque-extra-con", sans-serif;
    text-transform: uppercase;
    font-size: 150%;
    margin-right: .4em;
}



.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #billetterie-content > div {
        flex: 0 0 100%;
        display: flex;
        justify-content: space-between;
    }

    #header #billetterie-content h5, #header #billetterie-content h6 {
        font-size: 4vw;
    }

    #header #billetterie-content h6 {
        flex: 0 70%;
        text-align: left;
    }

    #header #billetterie-content h5 {
        flex: 0 0 30%;
        text-align: right;
    }

    #header #billetterie-content h5.text {
        flex: 0 0 100%;
        text-align: center;
        padding: .2em;
    }
}

/* TYPO
**********************************************************************************************************************/
#main-col {

}

.contenu {
    font-size: 120%;
}

.underline {
    border-bottom: 1px solid black;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.soustitre, .artistes_compagnie {
    font-family: "monotype-grotesque", sans-serif;
    font-size: 100%;
    font-weight: bold;
    margin: .5em 0;
}

.chapeau {
    font-family: "monotype-grotesque-extra-con", sans-serif;
    font-size: 175%;
    margin: .5em 0;
    padding: .5em 0;
    line-height: 1.1em;
    border-top: 1px dashed black;
    border-bottom: 1px dashed black;
}

.description, .distribution {
    font-family: "monotype-grotesque", sans-serif;
    font-size: 100%;
    margin: .5em 0;

    padding: 1em 0;
    line-height: 1.8em;
}

.description {
    border-bottom: 1px dashed black;
}

.distribution {
    line-height: 1.3em;
}

._item._detail .content-container .distribution h5 {
    font-family: "monotype-grotesque-condensed", sans-serif;
    font-weight: 100;
    margin-top: 0em;
    text-transform: none;
}

.distribution h6, .distribution {
    font-family: "monotype-grotesque", sans-serif;
    font-weight: bold;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
}

.page.item {
    font-family: "monotype-grotesque-condensed", sans-serif;
}

.contenu a {
    border-bottom: 1px black dashed;
}

/* Thème sombre */
.dark .contenu a {
    border-bottom: 1px white dashed;
}

/* Inclusivite */
.inclusivite .chapeau {
    border:0
}

.inclusivite ._item._detail .content-container  .header h5 {
    display: none;
}



.page.item h2 {
    font-family: "monotype-grotesque-extended", sans-serif;
    font-weight: bold;
    margin-bottom: 1em;
}

.page.item h3 {
    font-family: "monotype-grotesque-condensed", sans-serif;
    text-decoration: underline;
    text-transform: uppercase;
    margin: 1em 0 .5em;
}

.legende {
    font-family: "monotype-grotesque-extra-con", sans-serif;
    font-size: 80%;
}

.citation {
    font-family: "monotype-grotesque", sans-serif;
    font-size: 120%;
    font-weight: bold;
    margin-top: 1em;
}

.citation-source {
    font-family: "monotype-grotesque-condensed", sans-serif;
    margin-bottom: 1em;
}

.logo-container {
    display: flex;
}

#logo-wrapper h5 {
    margin-top: 1em;
}

.logo-container .logo-item {
    flex: 0 0 20%
}

.label {
    position: absolute;
    margin-left: calc(-1vw - 10px);

    text-transform: uppercase;
}

/* Inclusivité */
.inclusivite .label {
    position: initial;
}

._card .label {
    margin-left: -10px;
    position: relative;
}

.label div {
    color: white;
    font-family: "monotype-grotesque-condensed", sans-serif;
    padding: .2em;
}

.label span {
    width: 0;
    height: 0;
    display: inline-block;
    border-left: 0px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #FF6262; /* Couleur de fond du triangle */
    transform: rotateZ(180deg);
}


.label div {
    background-color: #FF0000;
    width: fit-content;
}

.label span {
    border-bottom-color: #912727;
}

.label.green div {
    background-color: #33DB00;
}

.label.green span {
    border-bottom-color: #226A0C;
}


/* UI
**********************************************************************************************************************/
.bouton, .btn {
    display: inline-block;
    background-color: var(--couleur-fond);
    border: 1px solid black;
    border-radius: 10px;
    color:black;
    padding: 10px;
    margin: 10px 10px 10px 0;
    cursor: pointer;
    transition: .2s ease-in-out background-color;
}

.dark .bouton, .dark .btn {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* SPLASH
**********************************************************************************************************************/
#splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000000;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: .5s ease-in-out top, 2s opacity;
}

#splash .logo {
    width: 50vw;
    height: 50vh;
    background-image: url(../img/logo-splash.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
}

#splash.hide {
    top: -100vh;
    opacity: 0;
}

/* Navigation
**********************************************************************************************************************/
#menu-wrapper {

    display: flex;
    justify-content: space-between;
    /*flex-wrap: wrap;*/
    flex-direction: column;
    min-width: 30vw;
    /*width: 100%;*/
    z-index: 1000;
    background-color: var(--couleur-fond);
    border-bottom-left-radius: var(--arrondi-standard);
    border-bottom-right-radius: var(--arrondi-standard);
    box-shadow: var(--ombre);
    min-height: 60px;
    height: fit-content;
    flex: 1 1 60%
}

#menu {

    flex: 0 0 100%;
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding: 4px;
    align-items: center;
    min-width: 30vw;

}

#menu > div {
    display: flex;

}

#btn-menu {
    cursor: pointer;
}


.menu-item {
    display: block;
    width: 2em;
    height: 2em;
    margin: 4px;
    cursor: pointer;
    border: 0;
}

#btn-contact {
    text-indent: -9999px;
    background: url(../img/i-contact-noir.svg) no-repeat center;
    background-size: contain;

}

#btn-inclusivite {
    text-indent: -9999px;
    background: url(../img/i-inclusif-noir.svg) no-repeat center;
    /*background: url(../img/i-inclusif-off-noir.svg) no-repeat center;*/
    /*background-size: 100%;*/
    background-size: contain;
}

.inclusivite #btn-inclusivite {
    /*background: url(../img/i-inclusif-on-noir.svg) no-repeat center;*/
    background: url(../img/i-inclusif-noir.svg) no-repeat center;
    /*background-size: 100%;*/
}

#btn-theme {
    text-indent: -9999px;
    /*background: url(../img/i-contrast-off-noir.svg) no-repeat center;*/
    background: url(../img/i-contrast-noir.svg) no-repeat center;
    /*background-size: 90%;*/
    background-size: contain;
}


#btn-search {
    text-indent: -9999px;
    background: url(../img/i-search-noir.svg) no-repeat center;
    /*background-size: contain;*/
    background-size: contain;
}

.dark #btn-contact {
    background: url(../img/i-contact-blanc.svg) no-repeat center;
}

.dark #btn-inclusivite {
    background: url(../img/i-inclusif-blanc.svg) no-repeat center;
    /*background: url(../img/i-inclusif-off-blanc.svg) no-repeat center;*/
    /*background-size: 100%;*/
}

.inclusivite.dark #btn-inclusivite {
    /*background: url(../img/i-inclusif-on-blanc.svg) no-repeat center;*/
    background: url(../img/i-inclusif-blanc.svg) no-repeat center;
    /*background-size: 100%;*/
}

.dark #btn-theme {
    /*background: url(../img/i-contrast-on-blanc.svg) no-repeat center;*/
    background: url(../img/i-contrast-blanc.svg) no-repeat center;
}

.dark #btn-search {
    background: url(../img/i-search-blanc.svg) no-repeat center;
}


#nav {
    display: none;
    flex-direction: column;
    flex: 0 0 100%;
    height: 200px;
    /*background-color: var(--couleur-fond);*/
    min-width: 30vw;
}

#nav .selected {
    color:var(--couleur-accent);
}


.toggle {
    cursor: pointer;
}

nav h4 {
    font-family: "monotype-grotesque-extended", sans-serif;
    font-size: 120%;
}

nav .item-wrapper a {
    font-family: "monotype-grotesque-extra-con", sans-serif;
    font-size: 150%;
}

.toggle span {
    display: inline-block;
    width: 1em;

    text-align: center;
}

.toggled-content {
    display: none;
}


.item-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 1em;
}

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

    #menu-wrapper {
        min-width: auto;
        width: 100%;
    }

    .nav-on #menu-wrapper {
        border-radius: 0;
        box-shadow: none;
    }

    #menu {
        min-width: auto;
        width: 4em;
        text-align: center;
        /*display: flex;*/
        justify-content: center;

    }

    #menu h3 {
        padding: 0;
        margin: 0 auto;
        align-self: center;
    }

    #menu > .menu-item {
        width: auto;
        height: auto;
    }


    #menu #tools {
        display: none
    }

    #nav {
        position: absolute;
        left: 0;
        top: 60px;
        width: 100vw;
        height: auto;
        padding: 70px 10px 20px;
        background: var(--couleur-fond);
        box-shadow: var(--ombre);
    }

    .nav-on #menu #tools {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 70px;
        width: 90%;
        margin: 0 auto;
        left: 10px;
        z-index: 1001;
    }


}

/* ACCUEIL
**********************************************************************************************************************/

/* SCROLL */

#carousel-container {
    display: flex;
    width: 95vw;
    margin-left: 5vw;
    height: 100vh;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
    padding: 4px;
    overflow: hidden;
}


.carousel-container {
    display: block;
    width: 100%;
    max-width: 95vw;
    margin: 0;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-wrapper {
    display: flex;
    width: 100%;
    height: 50vh;
    overflow: auto;

    border-radius: 20px;
    scrollbar-width: none;
    scroll-behavior: smooth;

    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;




    &::-webkit-scrollbar {
        display: none;
    }

    &.dragging {
        scroll-behavior: auto;
    }
}

.carousel {
    display: flex;
    width: auto;
    width: fit-content;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;

}


.carousel-scrollbar,
.carousel-scrollbar .scrollbar-track {
    display: flex;
    width: 90vw;
    align-items: center;
}


.carousel-scrollbar {
    margin-top: 16px;
    padding: 4px 0;
    position: fixed;
    bottom: 26px;
    width: 60vw;
    left: 20vw;
    z-index: 1000;

    .scrollbar-track {
        border-radius: 999px;
        height: 36px;
        background-color: var(--couleur-fond)

    }

    .scrollbar-thumb {
        /*min-width: 6em;*/
        /*max-width: 7em;*/
        width: fit-content;
        height: 100%;
        border-radius: 999px;
        padding: 0 .5em 2px;
        font-size: 150%;
        cursor: pointer;
        position: relative;
        background-color: rgba(0, 0, 0,1);
        transition: transform 200ms, background-color 200ms, height 200ms;
        color: white;
        text-align: center;
        font-family: "monotype-grotesque-condensed", sans-serif;
        text-transform: uppercase;

        &::after {
            /*content: '';*/
            /*display: block;*/
            /*height: 16px;*/
            /*!*width: 100%;*!*/
            /*position: absolute;*/
            /*top: 50%;*/
            /*left: 0;*/
            /*transform: translateY(-50%);*/
        }

        &.dragging {

        }


    }


}

.dark .carousel-scrollbar .scrollbar-thumb {
    color: black;
    background: white;
}

/*#scroll-wrapper {*/
/*    height: 50vh;*/
/*    position: absolute;*/
/*    bottom: 150px;*/
/*    overflow-x: hidden; !* Changé de 'scroll' à 'hidden' pour que le défilement soit contrôlé par jQuery *!*/
/*    overflow-y: hidden;*/
/*    width: 95vw;*/
/*    margin-left: 5vw;*/
/*    scroll-behavior: smooth;*/

/*}*/

.scrollbar-indicator {
    color: var(--couleur-accent);
    font-size:1.1vw;
    margin: 0 1em;
    display: flex;
}

.scrollbar-indicator .arrow {
    align-self: center;
    width: 1.2em;
    height: 1.2em;
    background: url(../img/arrow.svg) no-repeat center;
    margin-right: .3em;
    animation: clignotement 2s infinite;

}

.scrollbar-track {
    box-shadow: var(--ombre);
}

@keyframes clignotement {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .2 ;
    }
    100% {
        opacity: 1;
    }
}


._card-wrapper {
    align-self: center;
    display: flex;
    flex-direction: row;
    width: fit-content;
    flex-wrap: nowrap;
    height: 51vh;
    padding: 10px 0 20px;
    align-items: center;
}

._card._item {
    background-color: var(--couleur-fond);
    width: auto;
    height: 48vh;
    aspect-ratio: 1/2;
    margin: 0 1vw 0 0px;
    padding: 10px;
    transition: .2s ease-in-out margin-top;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--ombre);

}

._card._item.hors-saison {
    background: white;
    border: 4px solid var(--couleur-fond)
}

.dark ._card._item.hors-saison {
    background: black;
}

/*._card._item.multiple {*/
/*    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1),*/
/*    6px 6px 0 0 rgba(0, 0, 0, 0.1),*/
/*    9px 9px 0 0 rgba(0, 0, 0, 0.1);*/

/*}*/

._card._item.multiple {
    box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.1)
}

._card._item.multiple::after {
    content: "";
    position: absolute;
    background-color: var(--couleur-fond);
    width: 100%;
    height: 100%;
    top: 8px;
    left: 8px;
    z-index: -1;
    box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.1)
}



.dark ._card._item.multiple {
    background-color: var(--couleur-fond);
}

.dark ._card._item.multiple:after {
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 1)
}


._card._item:hover {
    margin-top: -10px
}

._card ._visuel {
    width: 100%;
    height: 22vw;
    margin: 0 auto;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    flex: 0 1 70%
}

._card._item.actualite {
    background-color: var(--couleur-saison);
    aspect-ratio: 5/4;
}

._card.actualite ._visuel {
    aspect-ratio: 5/3;
    background-position: center;
}

._card .title-container {
    flex: 0 0 25%
}

._card .titre {
    display: flex;
    flex-wrap: wrap;
}

._card h5  {
    border-bottom: 1px solid black;
    border-collapse: collapse;
    display: flex;
    justify-content: space-between;
    flex: 0 0 100%;
}

._card h5, ._card .dates {
    /*order: 1;*/
    /*flex: 1 1 70%;*/
    font-family: "monotype-grotesque-extended", sans-serif;
    font-size: 1vw

}

._card h4, ._card  .genres{
    /*order: 2;*/
    /*flex: 1 1 30%;*/
    text-align: right;
    font-family: "monotype-grotesque-condensed", sans-serif;
    font-size: 1vw;
    text-transform: uppercase;

}

._card h3 {
    order: 3;
    flex: 0 0 100%;
    font-family: "monotype-grotesque-extended", sans-serif;
    font-weight: bold;
    font-size: 2vw;
    line-height: 1em;
    margin: 10px 0;
    /*height: 3em;*/
}


._card-wrapper {
    will-change: transform;
    transform: translateZ(0);
}

/* Mobile */
@media screen and (min-device-width: 320px) and (max-width: 768px) {
    ._card h5, ._card h4 {
        font-size: 3vw;
    }

    ._card h3 {
        font-size: 6vw;
    }

    ._card._item.actualite {
        width: 90vw;
        margin: 0 5vw;
    }

    ._card._item.actualite, ._card._item.actualite ._visuel {
        aspect-ratio: 1;
    }

}


/* Messages */
#message-container {
    position: absolute;
    top: 90px;
    left: 5vw;
    right: 5vw;
    width: fit-content;
    color:white;
    max-width: 42vw;
    min-width: 10vw;
    background-color: var(--couleur-accent);
    border-top-right-radius: var(--arrondi-standard);
    border-bottom-right-radius: var(--arrondi-standard);
    border-bottom-left-radius: var(--arrondi-standard);
    padding: .5em;
    font-family: "monotype-grotesque-extra-con", sans-serif;
    font-size: 1.5vw;
}

#message-container a {
    text-decoration: underline;
}

.dark #message-container {
    color: white
}

.cursor {
    border-right: 2px solid white;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #message-container {
        max-width: 90vw;
        font-size: 100%;
    }

    .detail #message-container {
    top:120px;

    }


}


/* LISTE */
#list-wrapper {
    position: absolute;
    top: 40vh;
    bottom: 0;
    left: 5vw;
    right: 5vw;
    overflow-y: scroll;

}

/* Inclusivité */
#list-wrapper {
    position: inherit;
    width: 90vw;
    margin: 30vh 5vw 0;
}

._mini._item.evenements {
    background: var(--couleur-fond);
    margin-bottom: 4px;
    padding: 10px;
    box-shadow: var(--ombre);
}

._mini._item.actualite {
    background: var(--couleur-saison);
    margin-bottom: 4px;
    padding: 10px;
    box-shadow: var(--ombre);
}

._item._mini .infos {
    width: 100%;
}

._mini._item.evenements .title-container, ._mini._item.actualite .title-container  {
    width: 100%;
}

._mini._item.evenements .title-container .titre, ._mini._item.actualite  .title-container .titre {
    display: flex;
    flex-direction: row;
    width: 100%;
}

._mini._item.evenements .title-container .titre h3, ._mini._item.actualite .title-container .titre h3  {
    order: 1;
    flex: 0 0 50%;
    font-weight: 700;
    font-family: "monotype-grotesque-condensed", sans-serif;
    font-size: 200%;
    align-self: flex-end;
}

._mini._item.evenements .title-container .titre h4, ._mini._item.actualite .title-container .titre h4 {
    order: 2;
    flex: 0 0 25%;
    font-family: "monotype-grotesque-condensed", sans-serif;
    font-size: 150%;
    align-self: flex-end;
}

._mini._item.evenements .title-container .titre h5, ._mini._item.actualite .title-container .titre h5 {
    order: 3;
    flex: 0 0 25%;
    text-align: right;
    font-size: 150%;
    font-family: "monotype-grotesque-condensed", sans-serif;
    align-self: flex-end;
}

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

    #list-wrapper {
        margin-top: 15vh;
    }

    ._mini._item.evenements .title-container .titre ,
    ._mini._item.actualite .title-container .titre {
        flex-wrap: wrap;
    }

    ._mini._item.evenements .title-container .titre h3 ,
    ._mini._item.actualite .title-container .titre h3 {
        flex: 0 0 100%;
    }

    ._mini._item.evenements .title-container .titre h4, ._mini._item.evenements .title-container .titre h5 ,
    ._mini._item.actualite .title-container .titre h4, ._mini._item.actualite .title-container .titre h5 {
        flex: 0 0 50%
    }

    ._mini._item.evenements .title-container .titre h5 ,
    ._mini._item.actualite .title-container .titre h5 {
        text-align: right;
    }
}

/* RECHERCHE */
#search-container {
    display: none;
    position: relative;
    width: 100%;
    flex-direction: column;
}

#search-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus {
        outline: none;
        border: 2px solid var(--couleur-saison);
        box-shadow: 0 0px 8px rgba(74, 144, 226, 0.5);

}

#suggestions {
    /*position: absolute;*/
    flex: 0 0 100%;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.dark .suggestion-item {
    color: black
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.more {
    display: flex;
    width: 90vw;
    margin: 0 5vw;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
}

.more .title {
    font-family: "monotype-grotesque-extra-con", sans-serif;
    font-size: 120%;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    flex: 0 0 20%;
    text-transform: uppercase;
}

#btn-close-search {
    display: none;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #search-container {
        width: 100vw;
        position: absolute;
        left: 0;
        top: 60px;
        padding: 10px;
        background-color: var(--couleur-fond);
        box-shadow: var(--ombre);
    }

    #search-container .gutter {
        display: flex;
    }

    #btn-close-search {
        width: 42px;
        height: 42px;
        display: inline-block;
        background: url(../img/i-close-black.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        align-self: center;
    }
}

/* FILTER
**********************************************************************************************************************/
#filter-bar {
    /*bottom :calc(160px + 50vh);*/
    /*top:150px;*/
    /*position: absolute;*/
    /*top:20vh;*/
    left: 5vw;
    width: 60px;
    overflow: hidden;
    display: block;
    height: 40px;
    background: var(--couleur-fond);
    border-radius: var(--arrondi-standard);
    box-shadow: var(--ombre);
    margin-bottom: 10px;

}

#accueil.liste #filter-bar {
    /*top: 180px;*/
    position: absolute;
    top: 24vh;

}

#filter-bar.opened {
    width: fit-content;
    display: flex;
}


#filter-wrapper {
    height: 100%;


}

#btn-filter {
    width: 60px;
    height: 100%;
    /*background: url(../img/i-filter-black.svg) no-repeat center;*/
    background-size: 30px;

    font-size: 120%;
    align-self: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    font-family: monotype-grotesque-extra-con;
}





.dark #btn-filter {
    /*background: url(../img/i-filter-white.svg) no-repeat center;*/
}

.opened #btn-filter {
    background: url(../img/i-close-black.svg) no-repeat center;
}

.opened #btn-filter span {
    display: none;
}

.dark .opened #btn-filter {
    background: url(../img/i-close-white.svg) no-repeat center;
}

._filter_input_toggle a {
    align-self: center;
    margin: 5px 4px;

    height: 30px;
    padding: 3px;
    border-radius: 4px;
    font-family: "monotype-grotesque-condensed", sans-serif;
    font-size: 1.3vw;

}

._filter_input_toggle {
    display: flex;
    height: 100%;
    align-self: center;
    /*margin-top: 4px;*/
    /*border: 1px dotted red;*/
}

._filter_input_toggle .selected {
    background-color: var(--couleur-accent);
    color: white;
    font-weight: 900;
}

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

    #carrousels-wrapper {
        margin-top: 130px;
    }

    /*.carrousel-mobile {*/
    /*    height: auto;*/
    /*    !*padding: 10px 10px 50px;*!*/

    /*}*/

    /*.carrousel-mobile ._card {*/
    /*    !*width: 80vw;*!*/
    /*    margin: 0 10vw 10px 0;*/
    /*    height: 50vh;*/
    /*}*/


    .carrousel-mobile {
        overflow-x: scroll;
        overflow-y: hidden;
        width: 100vw;
        padding-left: 5vw;

        display: flex;
    }

    .carrousel-mobile ._card {
        /*width: 80vw;*/
        margin: 0 10vw 10px 0;
        height: 50vh;
        width: 80vw;
    }

    .carrousel-mobile ._card._item {
        aspect-ratio: 1;
    }



    .pastille-mois {
        text-transform: uppercase;
        border-radius: 100px;
        background: black;
        color: white;
        padding: .2em 1em;
        font-family: "monotype-grotesque-condensed", sans-serif;
        width: fit-content;
        margin: 2vh 0 1vh 1vw;
    }
}

/* Contenus
**********************************************************************************************************************/
.col-wrapper {
    display: flex;
    justify-content: space-between;
}

.col {
    flex: 0 0 48%;
}

.header.col-wrapper {
    position: sticky;
    top: 0;
    background-color: var(--couleur-fond);
}

/* Inclusivité */
.inclusivite .header.col-wrapper {
    position: inherit;
}

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

    .col {
        flex: 0 0 100%;

    }

    .underline {
        border-bottom: 0;
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }

    .underline:last-child {
        border-bottom: 1px solid black;
        padding-bottom: .5em;
    }

    .underline h5 {
        flex: 0 0 20%;
        margin: 0;
        padding: 0;
        align-self: center;
    }

    .underline h6 {
        flex: 0 0 75%;
        margin: 0;
        padding: 0;
        align-self: center;
    }

    .underline.left h4 {
        flex: 0 0 100%;
        text-align: right;
    }
}

/* Pages */
.page .visuel {
    margin-bottom: 1em;
}

/* Evénements */

._item._detail.evenements {
    width: 90vw;
    margin: 15vh 5vw;
    padding: 1vw;
    background: var(--couleur-fond);
    box-shadow: var(--ombre);
    border-radius: var(--arrondi-standard);
}

#carrousel-evenement-wrapper {
    width: 100%
}

#carrousel-evenement-wrapper .slide {



}

#carrousel-evenement-wrapper .slide img {

    height: auto;
    object-fit: cover;

}

/* Pages */
#page-wrapper {
    padding-bottom: 10vh;
}

.item.page, ._item.actualites {
    background: var(--couleur-fond);
    width: 60vw;
    min-width: 600px;
    margin: 10vh auto 0;
    padding: 1em 4em;
    min-height: 80vh;
    box-shadow: var(--ombre);

}

._item.actualites {
    background: var(--couleur-saison);
}

._item._detail.actualites > .visuel {
    flex: 0 0 100%;
    aspect-ratio: 4/3;
}

._item._detail .content-container {
    flex: 0 0 100%;
}

._item._detail .content-container h4 {
    font-family: "monotype-grotesque-extra-con", sans-serif;
}

._item._detail .content-container h3 {
    font-family: "monotype-grotesque-extended", sans-serif;
    font-size: 200%;
    line-height: 1em;
}

._item._detail.actualites .content-container h3 {
    margin: .5em 0 1em;
}

._item._detail.actualites {
    padding-bottom: 3em;
    box-shadow: var(--ombre);
}

._item._detail .content-container h3.sous_titre {
    font-family: "monotype-grotesque", sans-serif;
    font-size: 150%;
    margin-bottom: .5em;
}

._item._detail .content-container h5 {
    font-family: "monotype-grotesque-extra-con", sans-serif;
    font-size: 100%;
    text-transform: uppercase;
}

._item._detail .content-container h6, #evenements ._item._detail .content-container h6 {
    font-family: "monotype-grotesque-extended", sans-serif;
    font-size: 80%;
}

.bottom-content {
    margin-bottom: 5vh;
}

/* Incusivité */
.inclusivite ._item._detail .content-container h6 {
    font-size: 120%;
}

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

    .item.page, ._item.actualites {
        width: 95vw;
        min-width: initial;
        padding: 10px;
    }

    ._item._detail.evenements {
        margin-top: 24vh;
    }

    .bottom-content ._card._item {
        aspect-ratio: 1;
    }

    .bottom-content {
        margin-bottom: 10vh;
    }
}

/* Inclusivité */
.inclusivite ._item._detail.evenements {
    width: 70vw;
    margin: 15vh 15vw;
}

.inclusivite .col-wrapper {
    flex-wrap: wrap;
}

.inclusivite .col {
    flex: 0 0 100%;
}

.inclusivite .underline {
    border:0;
    padding: 0;
    margin: 0;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .inclusivite ._item._detail.evenements {
        width: 90vw;
        margin: 15vh 5vw;
    }
}

    /* Actus */

/* Evenements */
.visuel-wrapper img {
    width: 100%;
}

/* Espace pro */

.loginForm {
    display: flex;

    margin: 10vh auto;
    width: fit-content;

}

.loginForm > * {
    margin: 0 1em;
}

#subnav {
    padding: 1em 0;
}

#subnav a {
    padding: .2em .5em;
    margin-right: 1em;
    border-radius: 4px;
    font-size: 1.3vw;
}

#subnav a.active {
    background-color: var(--couleur-accent);
    color: white
}

.file-item {
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed black;
    padding: 1em 0;
}

.dossier {
    margin-bottom: 10px;
}

.toggler {
    cursor: pointer;

}

.toggled {
    margin: 0 0 0 20px;
}

.toggler i {
    display: inline-block;
    width: 20px;
}

i.closed:before {
    content: "+";
    width: 20px;

}

i.open:before {
    width: 20px;
    content: "-";

}

/*.dossier i {*/
/* width: 2em;*/
/*    height: 2em;*/
/*    border: 1px dotted red;*/
/*    display: inline-block;*/
/*    color:black*/
/*}*/

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

    #subnav {
        padding: 0 0 2em 0;
        display: flex;
        flex-direction: column;
    }

    #subnav a {
        font-size: 4vw;
    }

}

/* MULTIMEDIA */
.video-wrapper {
    margin: 1em 0;
}


/* PERSONNES */
#personnes-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;

    margin-bottom: 10vh;
}

.personne-wrapper {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.personne-wrapper .visuel {
    aspect-ratio: 1;
    width: 100%;
    overflow: hidden;
}

.personne-wrapper .visuel .image {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.personne-wrapper .visuel:hover .image {
    display: none;
}

.personne-wrapper .visuel .video {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;;

}

.personne-wrapper .visuel .video video {
    width: 100%;

    height: auto;
}

.personne-wrapper h5 {
    font-family: "monotype-grotesque", sans-serif;
    margin-top: 5px;
    font-size: 100%;
}

.personne-wrapper h6 {
    font-family: "monotype-grotesque-condensed", sans-serif;
    font-weight: normal;
    font-size: 100%;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .personne-wrapper {
        flex: 0 0 45%;
    }
}

/* FOOTER
**********************************************************************************************************************/

#footer-button-bar {
    display: flex;
    justify-content: flex-end;
    z-index: 5;
    bottom:30px;

}



.footer-button {
    background-color: var(--couleur-fond);
    width: 70px;
    height: 36px;
    /*text-indent: -9999px;*/
    text-align: center;
    font-family: monotype-grotesque-extra-con;
    font-size: 120%;
    text-transform: uppercase;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
}


#btn-list {
    position: fixed;
    bottom: 30px;
    left: 5vw;
    z-index: 7;
    /*background-image: url(../img/i-programme-noir.svg);*/
    /*z-index: 50;*/
    box-shadow: var(--ombre);
}

#btn-footer {
    box-shadow: var(--ombre);
    z-index: 2;
    position: relative;

}

.opened #btn-footer {
top:38px;
    z-indx:2
}

.liste #btn-list {
    /*background-image: url(../img/i-scroll-noir.svg);*/
}

/* FORMULAIRES */
#esp-form input {
    width: 100%;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 4px;
}

#esp-form input[type=radio], #esp-form input[type=checkbox] {
    width: auto;
    margin-right: .5em;
}

#esp-form label {
    margin-top: 1em;
    display: block;
}

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

.sent {
    margin: 20vh auto;
    text-align: center;
}


.places {

    width: 100%;
}

.places .field {
    display: flex;
    width: 100%;

}

#esp-form .places .field label {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;

    padding: 0;
    margin: 0;
}

#esp-form .places .field label span {
    flex: 0 0 20%
}

#esp-form .places .field label .radio-box {
    display: flex;
    flex: 0 0 80%;
    align-self: center;
}

#esp-form .places .field label .radio-box input {
    align-self: center;
}

#esp-form h4 {
    margin-top: 1em;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .places .field {
        flex: 0 0 50%
    }

    #esp-form .places .field label .radio-box {

        display: flex;
        flex: 0 0 100%;
        margin-right: 1em;
    }
    #esp-form .places .field label span {
        flex: 0 0 100%;

    }

    #esp-form .places .field label .radio-box label {
        margin-right: 1em;
    }

    #fld_places, #fld_rangs,  #fld_places2, #fld_rangs2 {
        flex: 0 0 100%
    }
    #esp-form .places .field  label {
      width:auto;
    }

    #esp-form .places .field > label {
        flex: 0 0 100%;

    }
}

/* Thème sombre */
.dark #btn-list {
    /*background-image: url(../img/i-programme-blanc.svg);*/
}

.liste.dark #btn-list {
    /*background-image: url(../img/i-scroll-blanc.svg);*/
}

/* Inclusivité */
.inclusivite #btn-list {
    display: none;
}


#btn-footer {
    margin-right: 3px;
    /*background-image: url(../img/i-footer-noir.svg);*/
}

.dark #btn-footer {
    /*background-image: url(../img/i-footer-blanc.svg);*/
}


#footer-wrapper {
    position: fixed;
    bottom: 0;
    width: 90vw;
    margin: 0 5vw;
    overflow: hidden;
    height: 66px;
    transition: .4s ease-in-out height;
}

#footer-wrapper.opened {
    height: calc(78vh + 66px);
    z-index: 10000;
}


#footer {
    height: 78vh;
    margin-top: 40px;
    bottom: 0;
    background-color: var(--couleur-fond);
    padding: 2vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: var(--ombre);
    z-index: 10;
}

/* Inclusivité */
.inclusivite #btn-footer {
    display: none;
}

.inclusivite #footer-wrapper {
    position: inherit;
    height: auto;
    width: 100%;
    margin: 5vh auto 0;
}

#footer .third {
    flex: 0 0 30%;

}

#footer a {
    text-decoration: underline;
    font-family: "monotype-grotesque-extended", sans-serif;
    font-size: 1vw;
}

#footer h5 {
    font-family: "monotype-grotesque-extra-con", sans-serif;
    font-size: 1.5vw;
}

#footer p {
    font-family: "monotype-grotesque-extended", sans-serif;
    font-size: 1vw;
}

#footer .partenaire {
    width: 10vw;
    height: 6vw;
    display: inline-block;
    margin-right: 10px;
    background-size: 90%;
}

.dark #footer .partenaire {
    background-color:white
}

#footer .partenaire.has-picture {
    text-indent: -9999px;
}

#footer .full {
    flex: 0 0 100%
}

#footer #credits {
    font-size: 12px;
    text-align: right;
    padding: .5em;
}

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

    #footer {
        height: 78vh;
    }

    #footer-wrapper.opened {
        height: calc(78vh + 36px);
        z-index: 10000;
    }

    #footer .third {
        flex: 0 0 100%;
    }

    #footer h5 {
        font-size: 14px;
    }

    #footer p, #footer a {
        font-size: 11px;
    }

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

    #footer #credits {
        font-size: 9px;
    }
}