
/**
* Alert Banner
* 2023
*/
.alert-banner {
    --mainColor: #00004F;
    align-items: center;
    color: var(--mainColor);
    display: flex;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 24px;
    justify-content: space-between;
    padding: 18px 15px;
}

.alert-banner a {
    color: var(--mainColor);
}

.alert-banner__icon {
    display: block;
    height: 18px;
    margin-left: 5.069444444vw;
    width: 18px;

    @media screen and (min-width: 992px) {
        height: 22px;
        width: 113px;
    }
}

.alert-banner__title {
    padding-right: 5.069444444vw;

    @media screen and (min-width: 992px) {
        max-width: calc(142px + 5.069444444vw);
        padding-right: 5.069444444vw;
    }
}

.alert-banner__title h2 {
    font-family: 'Nunito', sans-serif;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 900;
    line-height: 24px;
    width: 100%;

    @media screen and (min-width: 992px) {
        font-size: 16px;
        line-height: 24px;
    }
}

.alert-banner__alerts {
    align-items: center;
    display: flex;
    flex-grow: 2;
    height: 66px;
    margin-top: -18px;
    margin-bottom: -18px;
    overflow: hidden;
    max-width: calc(100% - 152px);
    position: relative;
    padding: 18px 0;
    width: auto;

    @media screen and (min-width: 992px) {
        max-width: calc(100% - 10.138888888vw - 255px);
    }
}

/*.alert-banner__alerts div + div {*/
/*	margin: 18px 0;*/
/*}*/

.alert-banner__alerts .alert-banner__alert {
    display: block;
    transform: translate3d(0, 100%, 0) skew(-9deg, 0deg);
    opacity: 0;
    transition: opacity 200ms ease, transform 350ms ease-in-out;
}

.alert-banner__alerts.ready .alert-banner__alert {
    transform: translate3d(0, 0, 0) skew(0, 0);
    opacity: 1;
}

.alert-banner__alert.roll {
    transition: transorm 2s linear;
}

.alert-banner__alert,
.alert-banner__alerts div {
    width: fit-content;
}

.alert-banner__alert dl,
.alert-banner__alert dl dt {
    align-items: center;
    display: flex;
    white-space: nowrap;
}

.alert-banner__alert dl dd {
    max-height: 30px;
}

.alert-banner__alert dl dt {
    flex-shrink: 0;
    font-weight: 700;
}

.alert-banner__alert .icon svg {
    display: block;
    height: 30px;
    margin-right: 13px;
    width: 30px;
}

.empty-message p {
    padding: 0;
    margin: 0;
}

.empty-message p a {
    color: #FFB800;
    font-weight: bold;
}

.alert-wrapper {
    position: absolute;
    left: 0;
}

.ready .alert-wrapper .alert-banner__alert {
    opacity: 0;
    transform: translateY(100%);
}

.ready .alert-wrapper.active .alert-banner__alert {
    opacity: 1;
    transform: translateY(0);
}

.ready .alert-wrapper.done .alert-banner__alert,
.ready .alert-wrapper.active.done .alert-banner__alert {
    animation: roll_out 1s ease-in-out forwards 300ms;
    opacity: 0;
    transition: opacity 200ms ease 2500ms, transform 350ms ease-in-out;

    &:first-child:last-child {
        transition: opacity 200ms ease 2999ms, transform 350ms ease-in-out;
    }
}

@keyframes roll_out {
    0% {
        opacity: 1 !important;
        transform: translateY(-200%) !important;
    }

    25% {
        opacity: 0 !important;
        transform: translateY(-200%) !important;
    }

    50% {
        opacity: 0 !important;
        transform: translate3d(0, 200%, 0) !important;
    }

    100% {
        opacity: 1 !important;
        transform: translate3d(0, 200%, 0) !important;
    }
}
.liencitoyen {
    --mainColor: #00004F;
    --accentColor: #FFB800;
    background: var(--mainColor);
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    margin-bottom: 45px;
    position: relative;
    padding: 28px 40px;

    @media screen and (min-width: 992px) {
        flex-wrap: nowrap;
    }
}

.btn {
    background: var(--accentColor);
    border-radius: 25px;
    color: var(--mainColor);
    font-weight: bold;
    line-height: 17px;
    letter-spacing: -.384px;
    padding: 17px 25px;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    transition: color 200ms ease, background-color 300ms ease-in-out;
    width: auto;

    @media screen and (min-width: 992px) {
        padding: 17px 31px;
    }
}

.btn:hover,
.btn:active,
.btn:focus {
    background: white;
    color: var(--mainColor);
}

.liencitoyen__title,
.liencitoyen__title strong {
    display: block;
}

h2.liencitoyen__title strong {
    font-weight: 900;
}

h2.liencitoyen__title {
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 25px;
    line-height: 32px;
    margin-bottom: 5px;
    margin-top: 0;
}

.liencitoyen__content {
    margin-right: 25px;
    width: 305px;
}

h3 {
    color: var(--accentColor);
    font-size: 16px;
    line-height: 36px;
    margin-bottom: 25px;
}

.liencitoyen__citoyen {
    display: flex;
    margin-left: calc(50% - 81px);
    margin-right: auto;
    overflow: hidden;
    order: 2;
    padding: 0 27px 0 21px;
    transform: translateY(28px);

    @media screen and (min-width: 768px) {
        margin-top: -19%;
        margin-left: calc(50vw - 40px);
    }

    @media screen and (min-width: 992px) {
        margin-top: -105px;
        margin-right: 0;
        margin-left: auto;
        min-height: calc(100% + 105px);
        order: initial;
    }
}

.liencitoyen__citoyen:after {
    aspect-ratio: 1/1;
    background: var(--accentColor);
    border-radius: 100%;
    bottom: 14px;
    content: "";
    left: 31.594202899%;
    position: absolute;
    height: auto;
    width: 40%; /* 138 / 345 */
    z-index: 0;

    @media screen and (max-width: 991px) {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    .liencitoyen__citoyen:after {
        display: none !important;
    }
}

.liencitoyen__citoyen img {
    aspect-ratio: 297/278;
    display: block;
    height: 100%;
    margin: auto 0 0 0;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    padding: 0;
    width: auto;
    z-index: 1;
}

.liencitoyen__citoyen svg {
    aspect-ratio: 346/301;
    bottom: -41px;
    display: block;
    left: 0;
    transform: rotate(-49deg);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 200ms ease-in, transform 800ms cubic-bezier(0.42, 0, 0.35, 1.05);
    width: 100%;
}

.liencitoyen__citoyen svg.top {
    z-index: 3;
}

.liencitoyen__citoyen svg.bottom {
    transition-delay: 90ms;
}

.liencitoyen.inview .liencitoyen__citoyen svg,
.liencitoyen.animated .liencitoyen__citoyen svg {
    opacity: 1;
    transform: rotate(0);
}

.liencitoyen__logo {
    background: radial-gradient(45.5% 34.9% at 50% 65%, rgba(0, 0, 79, 0.80) 29%, rgba(0, 0, 79, 0.00) 100%);
    display: block;
    bottom: 25px;
    height: calc(36px + 40px);
    left: 20px;
    padding: 20px;
    position: absolute;
    width: calc(156px + 40px);
    z-index: 1;

    @media screen and (min-width: 992px) {
        bottom: initial;
        margin: auto 0 0 45px;
        left: initial;
        position: relative;
    }
}
