:root {
    --fc-clickid-texte: #ffffff;
    --fc-clickid-principale: #ff6e1e;
    --fc-clickid-radius: .5rem;
    --fc-clickid-ombre: 0px 0px 32px rgba(0,0,0,0.15);
}

html {
    overflow-x: hidden;
}

/* BANNIERE */
#fc-clickid.-banniere {
    position: relative;
    padding: 8px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    z-index: 9;
}
.-banniere {
    background: var(--fc-clickid-principale);
    color: #ffffff;
}
.-banniere a {
    color: #ffffff;
}
.-banniere a:hover,
.-banniere-popup .fc-clickid__popup.notfull a:hover {
    opacity: .5;
}

/* ENCART */
#fc-clickid.-encart {
    background-color: #ffffff;
    border-radius: var(--fc-clickid-radius);
    box-shadow: var(--fc-clickid-ombre);
    position: absolute;
    width: 32rem;
    max-width: 96%;
    top: 14rem;
    padding: 16px 10px 16px 16px;
    box-sizing: border-box;
    z-index: 9;
    transition: .3s ease transform;
    max-height: calc(100vh - 17rem);
}
@media screen and (min-width: 1023px) {
    #fc-clickid.-encart {
        padding: 32px 8px 32px 32px;
    }
}
#fc-clickid.-encart.fermer.gauche {
    transform: translateX(-100%);
}
#fc-clickid.-encart.fermer.droite {
    transform: translateX(100%);
}
#fc-clickid.-encart.fermer.gauche #clickid-btn {
    transform: translate(48px, -16px);
}
#fc-clickid.-encart.fermer.droite #clickid-btn {
    transform: translate(-48px, -16px);
}
#fc-clickid .fc-clickid__encart {
    max-height: calc(100vh - 19rem);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 6px;

    scrollbar-color: #afafaf #efefef;
	scrollbar-width: thin;
}
@media screen and (min-width: 1023px) {
    #fc-clickid .fc-clickid__encart {
        max-height: calc(100vh - 19rem);
        padding-right: 24px;
    }
}
#fc-clickid .fc-clickid__encart::-webkit-scrollbar {
  width: .5rem;
  height: .5rem;
  background-color: #efefef;
}
#fc-clickid .fc-clickid__encart::-webkit-scrollbar-thumb {
  background: #afafaf;
}
#fc-clickid.-encart a {
    text-decoration: none;
    color: inherit;
}
#fc-clickid.-encart.gauche {
    left: 8px;
}
#fc-clickid.-encart.droite {
    right: 8px;
}
.clickid-btn {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 8px;
    border-radius: 100px;
    position: absolute;
    top: 0;
    transform: translate(0, -32px);
}
#fc-clickid.-encart img {
    max-height: 256px;
    height: auto;
    width: 100%;
    object-fit: cover;
    margin: auto;
    max-width: 100%;
}
#fc-clickid.-encart figure,
.fc-clickid__popup figure {
    margin-bottom: 24px;
}
#fc-clickid.-encart picture,
.fc-clickid__popup picture {
    display: block;
}
#fc-clickid.-encart figure:last-child,
.fc-clickid__popup figure:last-child {
    margin-bottom: 0;
}
.-encart.gauche .clickid-btn {
    right: 0;
}
.-encart.droite .clickid-btn {
    left: 0;
}
@media screen and (min-width: 1023px) {
    .-encart.gauche .clickid-btn {
        transform: translate(16px, -16px);
    }
    .-encart.droite .clickid-btn {
        transform: translate(-16px, -16px);
    }
}
.-encart .clickid-titre,
.fc-clickid__popup .clickid-titre {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}
.-encart .clickid-titre:last-child,
.fc-clickid__popup .clickid-titre:last-child {
    margin-bottom: 0;
}
.fc-clickid__popup .clickid-descriptif {
    margin-bottom: 24px;
}
.fc-clickid__popup .clickid-descriptif:last-child {
    margin-bottom: 0;
}
#clickid-btn {
    cursor: pointer;
    transition: .3s ease all;
}
#clickid-btn:hover {
    opacity: .75;
}
.clickid-btn svg {
    width: 24px;
    height: auto;
    fill: white;
}
.clickid-btn .chevron-clickid {
    width: 8px;
}
.-encart.gauche .chevron-clickid {
    transform: rotate(180deg);
    order: -1;
}

/* BANNIERE */
#fc-clickid.-banniere-popup {
    position: relative;
    z-index: 9;
}
#fc-clickid .fc-clickid__banniere {
    padding: 8px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.fc-clickid__banniere {
    background: var(--fc-clickid-principale);
    color: #ffffff;
    cursor: pointer;
}
.fc-clickid__popup {
    background-color: #ffffff;
    border-radius: var(--fc-clickid-radius);
    box-shadow: var(--fc-clickid-ombre);
    position: fixed;
    width: 80rem;
    max-width: 96%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    padding: 16px;
    box-sizing: border-box;
    text-align: center;
    transition: .3s ease all;

    max-height: 90vh;
    min-height: 30rem;
    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-color: #afafaf #efefef;
	scrollbar-width: thin;
    z-index: 5;
}
.fc-clickid__popup .fc-clickid__popup__close ~ div {
    width: 100%;
    height: 100%;
    margin: auto;
}
.fc-clickid__popup img,
.fc-clickid__popup picture {
    width: 100%;
    height: 100%;
}
.fc-clickid__popup figure{
    margin: -16px -16px 16px -16px;
    height: 256px;
    width: auto;
}
@media screen and (min-width: 1023px) {
    .fc-clickid__popup {
        padding: 48px;
        display: flex;
        gap: 48px;
    }
    .notfull.fc-clickid__popup figure{
        position: sticky;
        top: -48px;
        left: -48px;
        bottom: -48px;
        min-width: 28vw;
        max-width: 28vw;
        margin: -48px 0 -48px -48px;
        height: auto;
    }
}
.fc-clickid__popup::-webkit-scrollbar {
  width: .5rem;
  height: .5rem;
  background-color: #efefef;
}
.fc-clickid__popup::-webkit-scrollbar-thumb {
  background: #afafaf;
}
.fc-clickid__popup.fermer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(.5);
}
.fc-clickid__popup.notfull img {
    object-fit: contain;
    backdrop-filter: blur(8px);
}
.fc-clickid__popup.full {
    padding: 0;
    width: auto;
    max-width: initial;
    max-height: 99vh;
}
.fc-clickid__popup.full figure {
    width: auto;
    position: relative;
    height: auto;
    margin: 0;
}
@media screen and (min-width: 1023px) {
    div.fc-clickid__popup__close {
        top: 32px;
        right: 32px;
    }
}
.fc-clickid__popup__close {
    position: absolute;
    top: 4px;
    right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' preserveAspectRatio='none' stroke='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.557 10.9102C10.6539 11.007 10.8133 11.007 10.9102 10.9102C11.007 10.8133 11.007 10.6539 10.9102 10.557L6.34453 5.99141L10.9102 1.42578C11.007 1.32891 11.007 1.16953 10.9102 1.07266C10.8133 0.975781 10.6539 0.975781 10.557 1.07266L5.99141 5.63828L1.42578 1.07266C1.32891 0.975781 1.16953 0.975781 1.07266 1.07266C0.975781 1.16953 0.975781 1.32891 1.07266 1.42578L5.63828 5.99141L1.07266 10.557C0.975781 10.6539 0.975781 10.8133 1.07266 10.9102C1.16953 11.007 1.32891 11.007 1.42578 10.9102L5.99141 6.34453L10.557 10.9102Z' fill='black'/%3E%3C/svg%3E%0A");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 32px;
    height: 32px;
    z-index: 1;
    cursor: pointer;
    transition: .3s ease transform;
    background-color: #00000017;
    border-radius: 100%;
}
.fc-clickid__popup__close:hover {
    transform: scale(.9);
}
.fc-clickid__banniere button {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    text-decoration: underline;
    font-size: 14px;
    transition: .3s ease all;
    color: #ffffff;
}
#fc-clickid.-banniere-popup:after {
    content: "";
    background: #00000070;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    pointer-events: none;
    transition: .3s ease opacity;
}
#fc-clickid.-banniere-popup.fermer:after {
    opacity: 0;
}