body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
}

#header {
    z-index: 2000;
}

#logo {
    width: 7vw;
    height: 7vw;
    margin: 1vw 1vw 0 5vw;
    display: block;
}

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

    position: fixed;
}

#accueil #logo {
    position: absolute;
    width: 14vw;
    height: 14vw;
    top: 1vw;
    left: 0
}

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

    body {
        width: 100vw;
        overflow-x: hidden;
    }

    #accueil #logo, #logo {
        display: inherit;
        width: 15vw;
        height: 15vw;
        margin: 3vw 1vw 0 0vw;
    }

    #accueil #logo {
        width: 20vw;
        height: 20vw;
    }
}


/* TYPO
*************************************************************************************************************************/
h3.titre {
    font-size: 1.8vw;
    padding: 2px 5px;
    font-weight: 900;
    text-transform: uppercase;
}

h4.soustitre, h4.dates {
    font-size: 1.1vw;
    padding: 2px 5px;
    font-weight: bold;
}

h5.lieu, h5.prix, h5.infos, h5.categorie {
    font-size: 1.3vw;
    padding: 2px 5px;
    margin: 8px 0;
}

h5.categorie {
    font-size: 1vw;
}

ul {
    list-style: circle;
}

.ql-align-right {
    text-align: right;
}

.ql-align-center {
    text-align: center;
}

.ql-align-justify {
    text-align: justify;
}

/* NAVIGATION
*************************************************************************************************************************/
nav {
    z-index: 1000;
    position: absolute;
    right: 2vw;
    top: 2vw
}

nav a {
    font-size: 1vw;
    text-transform: uppercase;
    padding: .2em .5em;
}


.subnav {
    padding: 1em;
    list-style: none;
}

.subnav li {
    margin: 1em 0;
}

.subnav li a {
    text-transform: uppercase;
    font-size: 1vw;

    padding: .2em;
}

.saison-nav {
    position: fixed;
    right: 1vw;
    bottom: 1vw;
    background: rgba(255, 255, 255, .9);
    padding: .4em;
}

.saison-nav a {
    display: inline-block;

    height: 2vw;
    text-align: center;
    line-height: 1.5vw;
    font-size: 1.5vw;
}

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

    #btn-mobile-menu {
        position: fixed;
        font-size: 6vw;
        padding: .5em;
        margin: 0;
        width: 10vw;
        top: 20px;
        right: 3vw;
        z-index: 99900000;
        display: block;

    }

    #btn-mobile-menu:before {
        content: "\f0c9";
        font-family: "Font Awesome 5\ Free";
        font-weight: 900;
    }

    .nav-on #btn-mobile-menu:before {

        content: "\f00d";
        font-family: "Font Awesome 5\ Free";
        font-weight: 900;
    }


    .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;
    }

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

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

    #header nav a.active {
        background: transparent;
    }

    #accueil #header nav a {
        color: white;

    }

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

    .saison-nav {
        display: none
    }


}

/* ILLUSTRATIONS
*************************************************************************************************************************/
.illustration-item {
    width: 55vw;
    margin: 10vh auto 0;
    display: flex;
    height: 15vh;
}

.detail .illustration-item {
    width: 25vw;
}

.left-col .illustration-item {
    width: 16vw;
}

.illustration-petit {
    /*width: ;*/
    max-height: 15vh;
    align-self: flex-start;
}

.variante-1 {
    justify-content: space-between;
    align-content: flex-end;
}

.variante-2 {
    justify-content: space-around;
    align-content: center;
}

.variante-3 {
    justify-content: flex-end;
    align-self: flex-end;
}

.illustration-petit.taille-1 {
    max-height: 15vh;
}

.illustration-petit.taille-2 {
    max-height: 25vh;
}

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

    .illustration-item {
        width: 55vw;
        margin: 2vh auto 2vh;
        display: flex;
        height: 20vh;
    }

}

/* ACCUEIL
*************************************************************************************************************************/
#accueil-wrapper {
    width: 70vw;
    margin: 10vh auto 10vh;
    display: flex;
    justify-content: space-between;
}

#accueil-wrapper .center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#accueil-wrapper .event-item {
    /*margin: 5vw;*/

}

#accueil-logo {
    width: 18vw;
    height: 18vw;
    align-self: center;
    margin: 0 2vw;
}

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

    #accueil-wrapper {
        width: 90vw;
        flex-direction: column;
        margin: 0vh auto 2vh;
    }

    #accueil-logo {
        display: none;
    }
}

/* STRUCTURE
*************************************************************************************************************************/
#content-wrapper {
    display: flex;
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
}

/* ACTUALITES
*************************************************************************************************************************/
#accueil .actualite-item {
    width: 50vw;
    padding: .5em;
    margin: 0 auto 5vh;
    display: flex;
    transform: rotateZ(-2deg);
}

#accueil .actualite-item img {
    max-width: 25vw;
    max-height: 25vh;
    align-self: flex-start;
    margin: 0 2vw 0 0;;
}

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

    #accueil .actualite-item {
        width: 90vw;

    }
}

/* PROGRAMME
*************************************************************************************************************************/

#programme.detail {
    background: white;
}

h2.month {

    font-size: 4vw;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-top: 1em;
    /*padding-top: 10vh;*/
    flex: 1 1 20%
}


#event-wrapper {
    display: flex;
    flex-wrap: wrap;
}


.event-container-large, .spacer-large {
    flex: 0 0 40%;
    padding: 2vw;
}

.event-container-small, .spacer-small {
    flex: 1 1 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-container-xlarge {
    flex: 1 1 100%;

}

.event-container-small h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.no-result h3 {
    font-size: 3vw;
    padding: 5em 0;
    text-align: center;

    width: 70vw;
    font-weight: bold;
    text-transform: uppercase;
}

.no-result-accueil {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 25vw;
}

.no-result-accueil h3 {
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
}

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


    .event-container-large {
        padding: 0 0 10vh 0;
    }

    .subnav {
        display: none;
    }

    .right-col {
        width: 90vw;
        padding: 10vh 2vw 10vh;
    }

    h2.month {
        font-size: 10vw;
    }

    .no-result-accueil {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        max-width: 100vw;
        margin-bottom: 2em;
    }

    .no-result-accueil h3 {
        font-size: 6vw;
    }
}

/* EVENEMENTS
*************************************************************************************************************************/

.pill {
    border-radius: 100px;
    padding: .3em .5em;
    text-align: center;
}

.event-item {
    display: block;
    width: 25vw;
    height: 25vw;
    transform-origin: center center;
    transition: .5s ease transform;

}

.visuel {
    width: 100%;
    height: 100%;
    filter: grayscale(1);
    z-index: 10;
}

.detail .visuel {
    filter: grayscale(0);
}

.filter {
    width: 100%;
    height: 100%;
    margin-top: -100%;
    z-index: 50;
    opacity: .6;
    transition: .5s ease opacity;
    background: url(../img/filter-bg.png);
}


.event-item .texts {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 100;
    margin-top: -100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.event-item .infos {
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    /*align-self: flex-start;*/

}

.event-item .infos div {
    padding: 2px 5px;
    background: white;
    width: fit-content;
    margin: 1px 0 1px 2px;
}

.event-item .infos h4 {
    background: white;
    width: fit-content;
    margin: 1px 0 1px 2px;
}

.event-item .infos h5 {
    background: white;
    width: fit-content;
    margin: 1px 0 1px 2px;
}

.event-item .legend {
    display: flex;
    flex-direction: column;
}

.event-item .legend h3, .event-item .legend h4, .event-item .legend h5 {
    display: inherit;
    width: fit-content;
    background: white;
    margin: 1px 0 1px 2px;
}

/* Hover */
.event-item:hover {
    text-decoration: none;
    transform: scale(1.05);
}

.event-item:hover .filter {
    opacity: 0;
}

.event-item:hover .visuel {
    filter: grayscale(0);
}

.pastille {
    width: 5vw;
    height: 5vw;
    position: absolute;
    color: white;
    border-radius: 5vw;
    text-align: center;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: bold;
    transform: rotateZ(25deg);
    font-size: 1vw;
}

.pastille.small {
    margin: 21vw 0 0 21vw;
}

.pastille.big {
    margin: -2vw 0 0 28vw;
}

.strike {
    text-decoration: line-through;;
}

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

    .event-item {
        width: 90vw;
        height: 90vw;
    }

    #accueil .event-item {
        margin: 0 0 10vh 0;
    }

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

    h4.soustitre, h4.dates {
        font-size: 4vw;
    }

    h5.lieu, h5.prix, h5.infos, h5.categorie {
        font-size: 3vw;
    }


    .detail h5.lieu, .detail h5.prix, .detail h5.infos {
        font-size: 4.5vw;
    }

    .pastille {
        width: 20vw;
        height: 20vw;
        border-radius: 20vw;
        font-size: 4vw;
    }

    .pastille.small {
        margin: -4vw 0 0 72vw;
    }

    .pastille.big {
        margin: -8vw 0 0 76vw;
    }
}

/* DÉTAIL */
.left-col {
    width: 36vw;
    min-width: 36vw;
    box-shadow: 10px -20px 20px rgba(0, 0, 0, .2);
}

.left-col.subnav, .left-col.small-col {
    width: 20vw;
    min-width: 20vw;
}

.left-col.small-col .actions {
    text-align: center;
    width: 16vw;
    justify-content: center;
}

.right-col {
    padding: 10vw 5vw;
    width: 100%;
}

.illustration {
    display: block;
    width: 32vw;
    height: 32vw;
    margin: 10vw 2vw .5vw;
}

.spacer {
    height: 30vh;
}

.credit {
    font-size: 80%;
    text-align: right;
    margin-right: 2vw;
}


.detail .pill {
    float: right;
    display: inherit;
}

.detail h3, #reservation h3 {
    font-size: 300%;
}

.detail h4, #reservation h4 {
    font-size: 200%;

}

.detail .dates {
    font-size: 150%;
    margin: 1em 2vw 3em;
    font-weight: 900;
    line-height: 1.5em;
}

.detail .add {
    color: black;
    margin-left: 8px;
}

.detail .dates .strike {
    text-decoration: line-through;;
}

.detail .dates .statut {
    text-transform: uppercase;
}

.detail .text {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
    padding: 5px;
    margin-top: 2em;
    max-width: 50em;
}

.detail .text p {
    margin-bottom: .5em;
}

.detail .notes {
    font-size: 90%;
    margin-top: 2em;
    padding: 5px;
    max-width: 50em;
}

.actions {
    width: 32vw;
    margin: 1vh 2vw 0 2vw;
    display: flex;
    justify-content: space-between;
}


.actions a, .btn-success {
    border-radius: 100px;
    padding: .2em .5em;
    font-size: 150%;
    font-weight: 900;
    text-transform: uppercase;
    transform-origin: center center;
    transition: .5s ease transform;
    margin-top: 10px;
}


.actions a:hover, .btn-success:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

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

}

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

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


}


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

    #content-wrapper {
        flex-direction: column;
        padding-top: 10vh;
    }

    #programme #content-wrapper {
        padding-top: 0;
    }

    .detail .notes {
        line-height: 1.4em;
    }

    .left-col {
        width: auto;
    }

    #reservation .left-col, #reservation_envoyee .left-col {
        display: none;
    }

    .left-col .illustration {
        width: 96vw;
        height: 96vw;
    }

    .left-col .credit {
        margin: 0;
        width: 92vw;
    }

    .detail .dates {
        font-size: 100%;
        margin: 0 2vw;
        font-size: 5vw;
    }

    .detail .illustration-item {
        display: none;
    }

    .mobile.legende {
        background: white;
        padding: 10vh 2vw 2vh 2vw;
        width: 100vw;
    }

    .detail h3, #reservation h3 {
        font-size: 7vw;
    }

    .detail h4, #reservation h4 {
        font-size: 5vw;
    }

    .detail .pill {
        float: none;

        width: fit-content;
        margin: 2vh 0;
    }

    .detail .dates.mobile {
        padding: 2px 5px;
        margin-left: 0;
    }

    .actions {
        width: 92vw;
    }

    .actions a {
        font-size: 4vw;
    }

    .legende h5 {
        font-size: 6vw;
    }
}

/* RESERVATIONS
*************************************************************************************************************************/
#esp-form label {
    margin-top: 1.5em;
    font-weight: 900;
}

#esp-form input {
    width: 30vw;
    max-width: 450px;
}

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

.btn-success {
    float: none;
    line-height: 1em;
}

.btn-success i {
    display: none;
}

#esp-form {
    padding: 1em;
}

#esp-form.btn-success.float-right {
    float: none;
    margin: 2em;
}

#esp-form input[type=radio] {
    width: 2em;
    float: left
}

#esp-form label.radio {
    width: 100%;
}

.notes {
    margin: 2px 5px 1em;
}

.notes.bg-primaire {
    padding: 1em;
    font-weight: bold;
}

.captchaimage {
    float: left
}

#esp-form input.captchafield {
    width: 8em;
    margin: 2em 0 0 2em;

}

input.captchafield {
    border: 1px solid grey;
    font-size: 120%;
}

/* CONTENUS
*************************************************************************************************************************/
#page-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.content-item {
    flex: 0 0 48%;
    margin: 1%;
    line-height: 1.4em;
    padding: 1em;
    font-size: 110%;
    align-self: flex-start;
    max-width: 500px;

}

.content-item p {
    color: black;
}
.content-item img.img-fluid {
    display: block;
    max-height: 30vh;
    margin: 0 auto;
}

.content-item h3.titre {
    font-size: 1.5vw;
    padding: 0;
    margin: 0 0 .75em 0;
}

.content-item p {
    margin-bottom: .5em;
}

.content-item a.map-button {
    border-bottom: 0;
}

.content-item ul {
    list-style-position: outside;
    padding: 0 0 0 1em;
}

.content-item li {
    padding: 0 0 0 .5em;
}

.tool-button {
    font-size: 70%;
    border-width: 1px;
    border-radius: 100px;
    padding: .1em 1em;
    line-height: 1em;
    margin: 0 0 0 .5em;
    transition: .5s background-color ease;
}

.tool-button:hover {
    text-decoration: none;
}

.tool-button.big {
    font-size: 100%;
    margin: 1em 0;
}

#esp-form label {
    width: 100%;
}

#esp-form textarea {
    display: block;
    width: 100%;
    height: 5em;
}

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

    .content-item {
        flex: 0 0 100%;
    }


    .content-item h3.titre {
        font-size: 5vw;
        padding: 0;
        margin: 0 0 .75em 0;
    }

    #esp-form input {
        width: 100%;
    }

    .tool-button.big {
        font-size: 80%;
        margin-bottom: 10px;
        display: block;
    }

}

/* PIED DE PAGE
************************************************************************************************************************/
#footer {
    margin: 5vh auto 0;
    display: flex;
    background: white;
    box-shadow: inset 0px 20px 20px rgba(0, 0, 0, .2);
}

#footer > div {
    flex: 0 0 33%;
    padding: 3em 2em 2em 2em;
}

#footer .contact {
    text-align: center;
}

#footer .reseaux {
    text-align: right;
}

#footer .reseaux i {
    font-size: 200%;
    margin-left: 10px;
}

#footer h4 {
    font-weight: bold;
}

#footer .frmLettreInfo h4 {
    margin: 1em 0 .2em 0;
}

#footer .frmLettreInfo input[type=text] {
    width: 8em;
    border-width: 1px;
    border-style: solid;
    padding: .2em;
}

#footer .frmLettreInfo input[type=submit] {
    background: none;
    padding: .2em;
    border-width: 1px;
    border-style: solid;
}

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

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

    #footer > div {
        flex: 0 0 100%;
        padding: 1em;
        text-align: center;
    }

    #footer .contact {
        text-align: center;
    }

    #footer .reseaux {
        text-align: center;
    }
}

.mc-field-group {
    display: flex;
}

#mce-EMAIL {
    margin: 1em 0 0 0;
}

.mc-field-group input {
    align-self: flex-start;
}

#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 {
    width: 15vw;
    margin: 10px;
}

#a-propos #partenaires {
    margin: 0;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

#a-propos #partenaires > div {
    justify-content: flex-start;
    align-content: flex-start;
}

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

    .partenaire {
        width: 35vw;
    }


}


/* FLUX CULTUROSCOPE
*************************************************************************************************************************/

#cltp-logo {
    color: white;
    font-size: 90%;
    text-align: center;
    display: block;
    padding: .5em;
}

.cltp-item {
    margin: 0 2em 2em 0;
    padding: 1em;
    display: block;
}

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

#en-prevote h1 {
    font-size: 2.5vw;
    margin: 0 0 1em 0;
}

h2.mois {
    font-size: 2vw;
    font-weight: bold;
    margin: 0 0 .5em 0;
    text-transform: uppercase;
}

.cltp-col {
    flex: 0 0 50%
}

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

    #cltp-logo {
        background: black;
        margin-bottom: 4em;
        padding: .5em;
    }

    #en-prevote h1 {
        font-size: 32px;
        margin-top: 1em;
    }

    h2.mois {
        font-size: 24px;
    }

    .cltp-col {
        flex: 0 0 100%;
        margin-bottom: 4em;
    }

    .cltp-item {
        margin: 0 0 2em 0;
    }

}

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


.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) {
    .sponsors-wrapper .partenaire {
        margin: 10px;
        width: 35vw;
        height: auto;
    }
}

/* EMPLOI */
#btn-emploi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: absolute;
    border-radius: 100px;
    height: 10vw;
    width: 10vw;
    font-size: 1.8vw;
    font-weight: 900;
    text-transform: uppercase;
    top:10vh;
    right: 5vw;
    transform: rotateZ(4deg);
}

#btn-emploi:hover {
    color:rgb(251, 242, 136);
    text-decoration: none;
}