/* Bandeau d'actualites (fil defilant), insere en haut de chaque page par /rj.php.
   Texte, activation et vitesse : back-office > Bandeau. */
.rj-bandeau {
    position: relative;
    z-index: 10001;
    display: flex;
    align-items: stretch;
    height: 38px;
    background: #e30613;
    color: #fff;
    font: 600 14px/38px 'DINPro', 'Roboto', system-ui, sans-serif;
    overflow: hidden;
}
.rj-bandeau__label {
    position: relative;
    z-index: 2;
    flex: none;
    padding: 0 18px 0 16px;
    background: #a8000d;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 13px;
    font-weight: 700;
}
/* pointe de fleche a droite de l'etiquette */
.rj-bandeau__label::after {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    border-style: solid;
    border-width: 19px 0 19px 12px;
    border-color: transparent transparent transparent #a8000d;
}
.rj-bandeau__piste {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-left: 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.rj-bandeau__defil {
    display: flex;
    width: max-content;
    animation: rj-defil var(--rj-duree, 30s) linear infinite;
}
.rj-bandeau:hover .rj-bandeau__defil,
.rj-bandeau:focus-within .rj-bandeau__defil { animation-play-state: paused; }
.rj-bandeau ul {
    display: flex;
    flex: none;
    min-width: 100vw;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.rj-bandeau li {
    margin: 0 !important;
    padding: 0 28px 0 0 !important;
    white-space: nowrap;
    list-style: none !important;
    color: #fff;
    font: inherit;
}
.rj-bandeau li::before {
    content: "●";
    margin-right: 12px;
    font-size: 8px;
    vertical-align: 2px;
    opacity: .7;
}
.rj-bandeau a,
.rj-bandeau a:visited {
    color: #fff !important;
    font: inherit !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rj-bandeau a:hover { color: #ffe4e6 !important; }
@keyframes rj-defil {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .rj-bandeau__defil { animation: none; }
    .rj-bandeau ul[aria-hidden] { display: none; }
}
@media (max-width: 767px) {
    .rj-bandeau { height: 32px; line-height: 32px; font-size: 13px; }
    .rj-bandeau__label { padding: 0 12px 0 10px; font-size: 11px; }
    .rj-bandeau__label::after { border-width: 16px 0 16px 10px; right: -10px; }
}
