.tx-clickforiframe {
    position: relative;
    padding-top: 5rem;
    display: inline-block;
    width: 100%;
    margin-bottom: 3rem;
    background-color: var(--color-ecosystem-lightblue);
    padding: 2rem;
}

.iframeBeforeShow {
    background-size: cover;
    background-position: center;
    background-color: #dedad6;
    color: white;
    text-align: center;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%
}
.iframeBeforeShow:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(218,218,233, .6); /* var(--color-ecosystem-lightblue) */
}
.cfi-noThumbnail {
    background-image:  repeating-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), repeating-linear-gradient(45deg, #fff 25%, #dadae9 25%, #dadae9 75%, #fff 75%, #fff);
    background-position: 0 0, 7px 7px;
    background-size: 14px 14px;
}
.iframeBeforeShow button {
    display: block;
    font-size: small;
}
.iframeBeforeShow button:active:before,
.iframeBeforeShow button:focus:before,
.iframeBeforeShow button:hover:before {
    transform: translate(-30%,-13%) translateZ(0);
}

/* ******************
NOTICE
****************** */

.cfi-noticeWrapper {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    line-height: 1.5;
    background-color: var(--color-ecosystem-lightblue);
}
.cfi-noticeText {
    font-weight: bold;
    margin-bottom: 1rem;
}
.cfi-noticeText:before {
    content: ' ';
    background-image: url(../Icons/picto-idee.svg);
    background-size: 3rem 3rem;
    background-repeat: no-repeat;
    height: 3rem;
    min-width: 3rem;
    margin-right: 1rem;
    display: inline-block;
    vertical-align: text-bottom;
}
.iframeBeforeShow iframe {
    border: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ******************
TRANSCRIPTION
****************** */

.cfiTranscriptionWrapper {
    position: relative;
    line-height: 1.5;
    background-color: var(--color-site-primary);
    color: #fff;
}
.cfiTranscriptionWrapper .cfiText {
    padding: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.2rem;
}

.cfiTranscriptionWrapper details {
    position: relative;
}

.cfiTranscriptionWrapper details > div {
    background-color: #fff;
    color: #000;
    padding: 1rem 3rem;
}

.cfiTranscriptionWrapper details summary {
    padding: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    cursor: pointer;

    position: relative;
    will-change: transform;
    transition: .3s ease-in-out;
    transition-delay: .3s;
    overflow: hidden;
}

/* Picto */
.cfiTranscriptionWrapper details summary::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Free";
    content: "\f06e";
    font-size: 150%;
    margin-right: 1rem;
}
.cfiTranscriptionWrapper details[open] > summary::before {
    content: "\f070";
}

/* Effet survol */

.cfiTranscriptionWrapper details summary:hover,
.cfiTranscriptionWrapper details summary:active,
.cfiTranscriptionWrapper details summary:focus {
    color: var(--color-site-primary);
}

.cfiTranscriptionWrapper details summary::after {
    content: '';
    display: block;
    position: absolute;
    width: 300%;
    height: 500%;
    border-radius: 100%;
    transition: .3s cubic-bezier(0.4, 0.0, 1, 1);
    transform: translate(-50%,110%) translateZ(0);
    background-color: #fff;
}

.cfiTranscriptionWrapper details summary:hover:after,
.cfiTranscriptionWrapper details summary:active:after,
.cfiTranscriptionWrapper details summary:focus:after {
    transform: translate(-20%,-10%) translateZ(0);
    z-index: -1;
}

/* Transcription ouverte */
.cfiTranscriptionWrapper details[open] > summary {
    background-color: #fff;
    color: #000;
}

.cfiTranscriptionWrapper details[open] > summary:focus {
    color: #000;
}

.cfiTranscriptionWrapper details[open] > summary:hover,
.cfiTranscriptionWrapper details[open] > summary:active {
    color: white;
}

.cfiTranscriptionWrapper details[open] > summary:after {
    transform: translate(-50%,110%) translateZ(0);
    background-color: var(--color-site-primary);
}

.cfiTranscriptionWrapper details[open] > summary:hover:after,
.cfiTranscriptionWrapper details[open] > summary:active:after {
    transform: translate(-20%,-10%) translateZ(0);

}

/* ******************
MEDIA QUERIES
****************** */

@media (min-width: 575px) {
    .cfi-noticeText{
        margin-bottom:0;
    }
    .cfi-noticeText:before {
        content: ' ';
        background-image: url(../Icons/picto-idee.svg);
        background-size: 3rem 3rem;
        background-repeat: no-repeat;
        height: 3rem;
        min-width: 3rem;
        margin-right: 1rem;
    }
    .cfi-legalText {
        margin-left: 4rem;
    }
    .cfiTranscriptionWrapper .cfiText {
        width: 70%;
        min-height: 8rem;
        display: flex;
        align-items: center;
    }
    .cfiTranscriptionWrapper details summary {
        width: 20%;
        height: 8rem;
        position: absolute;
        top: -8rem;
        right: 0;
        flex-direction: column;
        text-align: center;
        padding: 0;
        justify-content: center;
        border-left: 1px solid var(--color-site-primary-d10);
    }
    .cfiTranscriptionWrapper details summary::before {
        margin-right: 0;
        font-size: 200%;
    }
}

@media (min-width: 992px) {
    .cfiTranscriptionWrapper details > div {
        font-size: 1.8rem;
    }
}

/* Handle summary message */
details:not([open]) > summary > span:last-of-type,
details[open] > summary > span:first-of-type {
    display: none;
}
