/* ========================================== *
 *  Weather icons
 * ========================================== */
.weather-icon {
    display: block;
    overflow: hidden;
    width: 70px;
    height: 56px;
    transform: scale(1.5);
    background-repeat: no-repeat;
    background-image: url(../images/weather/meteo-france-sprite.svg);
    text-indent: -9999px;
}
.clear-day-bg {
    background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
}
.weather-icon.clear-day {
    background-position: 0 0;
}
.weather-icon.clear-night {
    background-position: 0 -56px;
}
.weather-icon.hazy-day {
    /* Journée voilée (brume légère) */
    background-position: 0 -112px;
}
.weather-icon.hazy-night {
    /* Nuit voilée (brume légère) */
    background-position: 0 -168px;
}
.weather-icon.partly-cloudy-day {
    /* Éclaircies (journée) */
    background-position: 0 -224px;
}
.weather-icon.partly-cloudy-night {
    /* Éclaircies (nuit) */
    background-position: 0 -280px;
}
.weather-icon.cloudy {
    /* Très nuageux */
    background-position: 0 -336px;
}
.weather-icon.misty-day {
    /* Journée brumeuse */
    background-position: 0 -392px;
}
.weather-icon.misty-nigth {
    /* Nuit brumeuse */
    background-position: 4px -456px;
}
.weather-icon.mist {
    /* Brume */
    background-position: 0 -504px;
}
.weather-icon.fog {
    /* Brouillard */
    background-position: 0 -560px;
}
.weather-icon.freezing-fog {
    /* Brouillard givrant */
    background-position: 0 -616px;
}
.weather-icon.pos1 {
    /* Brouillard givrant */
    background-position: 0 -2px;
}
.weather-icon.pos3 {
    /* Brouillard givrant */
    background-position: 0 -4px;
}
.weather-icon.pos5 {
    /* Brouillard givrant */
    background-position: 0 -6px;
}
.weather-icon.pos7 {
    /* Brouillard givrant */
    background-position: 0 -8px;
}
.weather-icon.pos9 {
    /* Brouillard givrant */
    background-position: 0 -10px;
}
.weather-icon.pos11 {
    /* Brouillard givrant */
    background-position: 0 -12px;
}
.weather-icon.pos13 {
    /* Brouillard givrant */
    background-position: 0 -14px;
}
.weather-icon.pos15 {
    /* Brouillard givrant */
    background-position: 0 -16px;
}
.weather-icon.pos17 {
    /* Brouillard givrant */
    background-position: 0 -18px;
}
.weather-icon.pos19 {
    /* Brouillard givrant */
    background-position: 0 -20px;
}
.weather-icon.pos21 {
    /* Brouillard givrant */
    background-position: 0 -22px;
}
.weather-icon.pos23 {
    /* Brouillard givrant */
    background-position: 0 -24px;
}
.weather-icon.pos25 {
    /* Brouillard givrant */
    background-position: 0 -26px;
}
.weather-icon.pos27 {
    /* Brouillard givrant */
    background-position: 0 -28px;
}
.weather-icon.pos29 {
    /* Brouillard givrant */
    background-position: 0 -30px;
}
.weather-icon.pos31 {
    /* Brouillard givrant */
    background-position: 0 -32px;
}
.weather-icon.pos33 {
    /* Brouillard givrant */
    background-position: 0 -34px;
}
.weather-icon.pos35 {
    /* Brouillard givrant */
    background-position: 0 -36px;
}
.weather-icon.pos37 {
    /* Brouillard givrant */
    background-position: 0 -38px;
}
.weather-icon.pos39 {
    /* Brouillard givrant */
    background-position: 0 -40px;
}
.weather-icon.pos41 {
    /* Brouillard givrant */
    background-position: 0 -42px;
}
.weather-icon.pos43 {
    /* Brouillard givrant */
    background-position: 0 -44px;
}
.weather-icon.pos45 {
    /* Brouillard givrant */
    background-position: 0 -46px;
}
.weather-icon.pos47 {
    /* Brouillard givrant */
    background-position: 0 -48px;
}
.weather-icon.pos49 {
    /* Brouillard givrant */
    background-position: 0 -50px;
}
.weather-icon.pos51 {
    /* Brouillard givrant */
    background-position: 0 -52px;
}
.weather-icon.pos53 {
    /* Brouillard givrant */
    background-position: 0 -54px;
}
/* ============================== *
 *  CIRCLED ICON                  *
 * ============================== */
.circled-icon {
    border-radius: 50%;
    flex: 0 0 auto;
    text-align: left;
    width: 2rem;
    height: 2rem;
}
.circled-icon > * {
    width: 100%;
    height: 100%;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
}
.circled-icon i {
    /*font-size: inherit;*/
    color: white;
}
.circled-icon .icon-badge {
    height: auto;
    bottom: -0.25rem;
}
/* SMALL */
.circled-icon.is-small {
    width: 1.25rem;
    height: 1.25rem;
}
.circled-icon.is-small i {
    font-size: 0.65rem;
}

/* ============================== *
 *  Reveal text                   *
 * ============================== */
.reveal-text .text {
    display: none;
    white-space: nowrap;
    background-color: #e1f5fe;
}
.reveal-text.is-revealed .placeholder {
    display: none;
}
.reveal-text.is-revealed .text {
    display: block;
}

/* ============================== *
 *  Shapes
 * ============================== */
.shape-circle-half::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 175px), calc(-50% - 175px));
    border-radius: 50%;
    width: 250px;
    height: 250px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.25);
    pointer-events: none;
}
/* ============================== *
 *  Aspect ratio
 * ============================== */
.aspect-ratio {
    position: relative;
}
.aspect-ratio::before {
    content: "";
    float: left;
    padding-bottom: 100%;
}
.aspect-ratio::after {
    clear: left;
    content: " ";
    display: table;
}
.aspect-ratio > *:first-child {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
/* ============================== *
 *  Convertible container
 * ============================== */
.convertible-container > *:first-child {
    will-change: transform, width, height;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translate(0, 0);
}
.convertible-container > *:first-child.is-animated {
    will-change: transform, width, height;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translate(0, 0);
}
/* ============================== *
 *  Gradient changer
 * ============================== */
:root {
    --section-gradient-height: 240px;
}
.section-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    height: var(--section-gradient-height);
    overflow-x: hidden;
    overflow-y: visible;
    background-color: rgba(0, 0, 0, 0) !important;
}
.section-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 105%;
    z-index: -1;
    height: var(--section-gradient-height);
}
@media (min-width: 768px) {
    :root {
        --section-gradient-height: 300px;
    }
    .section-gradient::before {
        height: var(--section-gradient-height);
    }
}
.app-changing-gradient::before {
    content: "";
    background-color: #00a096;
    background-image: linear-gradient(19deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.15) 66%);
    transition: background-color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
}
.app-changing-gradient.no-gradient::before {
    background-image: none;
}
.app-changing-gradient.blue-grey::before {
    background-color: #607d8b;
}
.app-changing-gradient.light-blue::before {
    background-color: #03a9f4;
}
.app-changing-gradient.orange::before {
    background-color: #ff9800;
}
.app-changing-gradient.blue::before {
    background-color: #2196f3;
}
.app-changing-gradient.cyan::before {
    background-color: #00bcd4;
}
.app-changing-gradient.cyan.accent-2::before {
    background-color: #18ffff;
}
.app-changing-gradient.white::before {
    background-color: white;
}
.app-changing-gradient.accent-2 {
    background-color: rgba(0, 0, 0, 0) !important;
}
.app-changing-gradient.strict-mode::before {
    border-radius: 0;
}
/* ============================== *
 *  Fade in/out
 * ============================== */
.will-fade {
    transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 1;
}
.is-fading {
    transition: opacity 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 0;
}
.is-faded {
    display: none;
}
.will-shrink {
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: scaleY(1);
}
.is-shrinking {
    transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: scaleY(0);
}
.is-shrinked {
    display: none;
}
.will-fade.will-shrink {
    transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 1;
    transform-origin: top;
    transform: scaleY(1);
}
.will-fade.will-shrink.is-fading {
    transition: opacity 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 0;
    transform: scaleY(0.75);
}
/* ============================== *
 *  Timeline
 * ============================== */
.timeline .timeline-item {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.timeline .timeline-item:not(.timeline-date) {
    padding-left: 30px;
}
.timeline .timeline-item:not(.timeline-date)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 1px;
    height: 100%;
    background-color: #d9d9d9;
    pointer-events: none;
}
.timeline .timeline-item:not(.timeline-date)::after {
    content: "";
    position: absolute;
    top: 1rem;
    left: 3px;
    transform: translateY(3px);
    width: 15px;
    height: 15px;
    background-color: white;
    background-color: currentColor;
    border: 2px solid #cfd8dc;
    border-radius: 50%;
    pointer-events: none;
}
.timeline .timeline-item.timeline-item-validated:not(.timeline-date)::after {
    border: 2px solid #43a047;
}
.timeline .timeline-date {
    font-weight: 600;
    text-transform: uppercase;
    justify-content: center;
    background: #eceff1;
    color: #37474f;
    height: 36px;
    margin-top: 6px;
    margin-bottom: 6px;
}
.is-dense.timeline .timeline-item {
    height: 40px;
    font-size: 0.75rem;
}
.is-dense.timeline .timeline-item:not(.timeline-date) {
    padding-left: 20px;
}
.is-dense.timeline .timeline-item:not(.timeline-date)::before {
    left: 5px;
}
.is-dense.timeline .timeline-item:not(.timeline-date)::after {
    top: calc(50% + 1px);
    left: 0;
    width: 11px;
    height: 11px;
}
.is-dense.timeline .timeline-date {
    height: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* ============================== *
 *  Expand grid
 * ============================== */
.expand-grid li {
    cursor: pointer;
}
.expand-grid .middle-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% / 3);
    height: calc(100% / 3);
    z-index: 2;
}
.expand-grid .middle-block + * {
    position: relative;
    padding-top: calc(100%/6 + 0.5rem);
}
.expand-grid-item-title {
    font-size: 12px;
}
@media (min-width: 320px) {
    .expand-grid-item-title {
        font-size: calc(0.5952380952vw + 10.0952380952px);
    }
}
@media (min-width: 992px) {
    .expand-grid-item-title {
        font-size: 16px;
    }
}
/* ============================== *
 *  Scroll shadows
 * ============================== */
.horizontal-scroll-shadows {
    background:
        linear-gradient(90deg, white 0%, rgba(255,255,255,0)),
        linear-gradient(-90deg, white 0%, rgba(255,255,255,0)) 100% 0,
        radial-gradient(farthest-side at 0% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)),
        radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)) 100% 0%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 100px 100%, 100px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
}
.vertical-scroll-shadows {
    background:
        linear-gradient(white 30%, hsla(0,0%,100%, 0)),
        linear-gradient(hsla(0,0%,100%,0) 10px, white 70%) bottom,
        radial-gradient(at top, rgba(0,0,0,0.2), transparent 70%),
        radial-gradient(at bottom, rgba(0,0,0,0.2), transparent 70%) bottom;
    background-repeat: no-repeat no-repeat;
    background-color: #fff;
    background-size: 100% 20px, 100% 20px, 100% 10px, 100% 10px;
    background-attachment: local, local, scroll, scroll;
}
/* ============================================ *
 *  Section splitter with orientation behavior
 * ============================================ */
.oriented-splitter {
    display: flex;
    height: 100%;
    width: 100%;
}
.oriented-splitter > div {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100%;
}
.oriented-splitter.two-cols > div {
    flex-basis: 50%;
}
@media (orientation: portrait) {
    .oriented-splitter {
        flex-direction: column;
    }
    .oriented-splitter.two-cols > div {
        height: 50%;
    }
}
@media (orientation: landscape) {
    .oriented-splitter {
        flex-direction: row;
    }
    .oriented-splitter.two-cols > div {
        width: 50%;
    }
}
/* =========================================== *
 *  Sticky cell at table horizontal scrolling
 * =========================================== */
.sticky-at-of-x.is-sticky {
    position: sticky;
    left: 0;
    border-left: 1px solid lightgray;
}
.sticky-at-of-x.is-sticky.sticky-right {
    left: auto;
    right: 0;
}

/* ========================================== *
 *  Space for close button
 * ========================================== */
.space-for-close-button {
    padding-right: 3.5rem !important;
}
@media (orientation: portrait) {
    .space-for-close-button--portrait {
        padding-right: 3.5rem !important;
    }
}
@media (orientation: landscape) {
    .space-for-close-button--landscape {
        padding-right: 3.5rem !important;
    }
}
/* ============================== *
 *  Convertible container
 * ============================== */
/* Animated expand card in swiper */
.xpnd-swiper-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform, width, height;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translate(0, 0);
    border-radius: 28px;
}
.xpnd-swiper-card.is-animated {
    will-change: transform, width, height;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translate(0, 0);
}
/* Animated expand item in list */
.xpnd-item {
    position: absolute;
    top: 0;
    left: 0;
    /*bottom: 0;*/
    /*right: 0;*/
    width: 100%;
    height: 100%;
    padding: 0 0.5rem;
    will-change: transform, width, height;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translate(0, 0);
}
.xpnd-item.is-animated {
    will-change: transform, width, height;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translate(0, 0);
}
.xpnd-item .graphic {
    will-change: transform;
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translate(0, 0);
}
.expandable-block {
    /*padding-top: 0.5rem;*/
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow: hidden !important;
    max-height: 0;
    min-height: 0 !important;
}
.expandable-block.open {
    transition: all 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    max-height: 100vh;
}
.disabled-look {
    background-color: #e0e0e0;
}

/* ============================== *
 *  Attachments
 * ============================== */
.attachments ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    margin-bottom: 1rem;
}
.attachments a {
    display: inline-block;
}
@media (max-width: 991.98px) {
    .attachments a {
        font-size: 0.875em;
    }
}
/* Attachments gallery */
.attachments .gallery-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    width: 55px;
    height: 55px;
    text-align: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}
@media (min-width: 992px) {
    .attachments .gallery-item {
        width: 80px;
        height: 80px;
    }
}
.attachments .gallery-item::before {
    content: '\f0c6';
    position: absolute;
    top: 0.25rem;
    left: 0.5rem;
    font-family: "Font Awesome 5 Pro";
    font-size: 16px;
    font-weight: 300;
    color: white;
    background-color: black;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}
.attachments .gallery-picture {
    max-width: 100%;
    object-fit: cover;
}
/* Attachments others */
.attachments .list-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    margin-bottom: 0.5rem;
    background-color: white;
    border-radius: 20px;
    max-width: 100%;
}
.attachments .list-item::before {
    content: '\f0c6';
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Pro";
    font-size: 16px;
    font-weight: 300;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
}
.attachments .list-link {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spinner {
    --spinner-border-width: 4px;
    --spinner-size: 75px;
    --spinner-animation: 1s spin linear infinite;
    width: var(--spinner-size);
    height: var(--spinner-size);
    margin: 0;
    background: transparent;
    border-top: var(--spinner-border-width) solid currentColor;
    border-right: var(--spinner-border-width) solid transparent;
    border-radius: 50%;
    -webkit-animation: var(--spinner-animation);
    animation: var(--spinner-animation);
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.dbl-spinner {
    --dbl-spinner-border-width: 4px;
    --dbl-spinner-size: 75px;
    --dbl-spinner-animation: 2s spin linear infinite;
    --dbl-spinner-second-animation: 1s spin linear infinite;
    position: absolute;
    width: var(--dbl-spinner-size);
    height: var(--dbl-spinner-size);
    border-radius: 50%;
    background-color: transparent;
    border: var(--dbl-spinner-border-width) solid transparent;
    border-top: var(--dbl-spinner-border-width) solid currentColor;
    border-left: var(--dbl-spinner-border-width) solid currentColor;
    -webkit-animation: var(--dbl-spinner-animation);
    animation: var(--dbl-spinner-animation);
}

.dbl-spinner:nth-child(2) {
    border: var(--dbl-spinner-border-width) solid transparent;
    border-right: var(--dbl-spinner-border-width) solid currentColor;
    border-bottom: var(--dbl-spinner-border-width) solid currentColor;
    -webkit-animation: var(--dbl-spinner-second-animation);
    animation: var(--dbl-spinner-second-animation);
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}




.drop-zone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    text-align: center;
    font-size: 20px;
    /*background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23333' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");*/
    border: 1px dashed rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: 0.3s background-color cubic-bezier(0.4, 0.0, 0.2, 1);
}
.drop-zone:hover {
    background-color: rgba(0, 0, 0, 0.025);
}
.drop-zone--over {
    border-style: solid;
}
.drop-zone-input {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.drop-zone-prompt {
    padding: 0.35rem 0.5rem;
    cursor: pointer;
}
.drop-zone-prompt * {
    pointer-events: none;
}
.drop-zone-text > * {
    vertical-align: middle;
}
.drop-zone-thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
}
.drop-zone-thumb::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    font-size: 14px;
    text-align: center;
}

