body.refonte2021.frise.full-width {
    background-color: #fff !important;
}

.refonte2021 [id^=zone-]>div div.frame:not(.entete):not(.sidebar-sommaire):not(.backLightYellow):not(.backDarkBlue):not(.backDarkGreen):not(.backDarkGrey),
body.refonte2021.full-width {
    background-color: #E6E6E6 !important;
    margin: 0;
}

.refonte2021.frise [id^=zone-]>div div.frame:not(.entete):not(.sidebar-sommaire):not(.apres-titre-seul) {
    padding: 0.5em !important;
}

#friseSlider {
    width: 100%;
}

#friseSlider p {
    white-space: pre-line;
}

.frise p:not(.texte):not(.container) {
    text-align: center;
    width: 90%;
    margin: 2em auto;
}

#friseSlider .slick-track {
    display: flex !important;
}

#friseSlider .slick-slide {
    height: inherit !important;
}

.friseContainer {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: relative;
}

#friseSlider .slick-list {
    width: 100%;
    flex-grow: 1;
    order: 5;
}

#friseSlider .sliderCounter {
    order: 3;
    width: 49px;
    text-align: right;
    font-family: 'Philharmonique';
}

#friseSlider .custom-prev-button {
    order: 2;
    width: 8px;
    margin-left: 50vw;
}

#friseSlider .custom-next-button {
    order: 4;
    margin-right: 0.5em;
    margin-left: 1em;
    width: 8px;
}

#friseSlider .slick-arrow {
    background-color: transparent;
    border: none;
}

#friseSlider .chevron-left {
    transform: rotate(180deg);
}

#friseSlider .slick-slide {
    background-color: #fff;
    border-radius: 16px;
    margin: 0.5em;
    max-height: 75vh;
    overflow-y: scroll;
    height: fit-content !important;
    outline-offset: -2px;
}

#friseSlider .frise-item {
    padding: 1em 1em 0.5em 1em;
}

#friseSlider h2 {
    font-family: 'Philharmonique';
    font-weight: 800;
    text-transform: uppercase;
    width: 100%;
    margin: 0 0 0.5em 0;
}

#friseSlider h3 {
    font-family: 'Philharmonique';
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    padding: 0 0 1.5em 0;
}

#friseSlider h3::after {
    content: "";
    width: 50px;
    height: 2px;
    position: absolute;
    top: calc(100% - 0.5em);
    left: 0;
    background-color: #001B3B;
}

#friseSlider.simpleSlider .slick-dots {
    bottom: 0;
    order: 1;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 50px;
    align-items: center;
    margin: 0.5em 0;
    background-color: #fff;
    padding: 1em 3em;
    scrollbar-width: none;
    border-radius: 16px;
    width: calc( 100% - 4em);
    margin: 1em auto;
}

#friseSlider .slick-dots li {
    margin: 0 15px;
    padding-top: 5px;
}

#friseSlider.simpleSlider .slick-slider.slick-dotted {
    margin-bottom: 0;
}

#friseSlider .slick-dots::-webkit-scrollbar {
    height: 0;
}

#friseSlider .date-chevron {
    position: absolute;
    top: 16px;
    padding: 1em 0.5em;
    height: 50px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 1) 100%);
    z-index: 1;
    border-radius: 0 16px 16px 0;
    cursor: pointer;
}

#friseSlider .date-chevron.chevron-left {
    left: 1em;
}

#friseSlider .date-chevron.chevron-right {
    right: 1em;
}

#friseSlider .slick-dots button {
    color: #001B3B;
    font-size: 1em;
    height: unset;
    display: inline-block;
    width: max-content;
    height: 30px;
}

#friseSlider .slick-dots .slick-active button {
    font-size: 1.3em;
    font-weight: 600;
}


/* Frise Simple_Slider */

#friseSlider.simpleSlider .frise-item {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

@media screen and (max-width: 424px) {
    .frise #page>.container {
        width: 100%;
    }
}

@media screen and (min-width: 425px) {
    /* Frise Simple_Slider */
    #friseSlider.simpleSlider .content {
        width: auto;
        columns: 2;
        column-gap: 1em;
        margin-top: 1em;
        /* column-fill: auto; */
    }
    /* Frise Simple_Slider */
    #friseSlider.simpleSlider .frise-item .content.columnBreak {
        display: flex;
    }
    #friseSlider .frise-item .content:not(.columnBreak) .container:nth-child(n + 2) .cat {
        margin-top: 1em;
    }
}

@media screen and (min-width: 768px) {
    #friseSlider.simpleSlider .frise-item {
        flex-direction: row;
        padding: 2em;
    }
    #friseSlider.simpleSlider .frise-item .content {
        width: 100%;
        display: inline-block;
    }
    #friseSlider .slick-slide {
        margin: 0.5em 2em 1em;
        overflow-y: auto;
    }
    #friseSlider .custom-next-button {
        margin-right: 2em;
    }
    #friseSlider .date-chevron.chevron-left {
        left: 2em;
    }
    #friseSlider .date-chevron.chevron-right {
        right: 2em;
    }
    #friseSlider .slick-dots {
        width: calc( 100% - 4em);
    }
    #friseSlider .slick-slide {
        overflow-y: auto;
    }
}

@media screen and (min-width: 1240px) {
    #friseSlider {
        max-width: 1240px;
        margin: auto;
    }
    .frise p:not(.texte):not(.container) {
        width: 60%;
        max-width: 1240px;
    }
    #friseSlider .custom-prev-button {
        margin-left: 80%;
    }
}