﻿/* [news-ticker: scritta scorrevole in prima pagina] */
.news-ticker {
    display: flex;
    align-items: stretch;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 37, 82, .08);
}

.news-ticker__label {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: 0 22px 0 18px;
    background: #f7941d;
    color: #fff;
    font: 700 12px/44px Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.news-ticker .marquee {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    padding: 0 10px;
    border: 0; /* [annulla bordo e sfondo grigio di default del plugin] */
    background: transparent;
    color: #263248;
    font-size: 15px;
    line-height: 44px;
    white-space: nowrap;
    /* [dissolvenza ai bordi] */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.news-ticker .marquee .js-marquee {
    line-height: 44px;
}

.news-ticker .marquee a {
    color: #0b4a9a;
    font-weight: 600;
    text-decoration: none;
}

.news-ticker .marquee a:hover {
    text-decoration: underline;
}

.news-ticker__sep {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 18px;
    border-radius: 50%;
    background: #f7941d;
    vertical-align: middle;
}

.news-ticker:hover {
    box-shadow: 0 3px 14px rgba(16, 37, 82, .16);
}

@media (max-width: 575px) {
    .news-ticker__label {
        padding: 0 16px 0 12px;
        font-size: 11px;
    }

    .news-ticker .marquee {
        font-size: 14px;
    }
}
/* [/news-ticker] */
