/*
###########################################################
##                                                       ##
##      (c) 2022 USSURFS, LLC. All rights reserved.      ##
##                                                       ##
###########################################################
*/

/*------------------------------------------------------------------
  || News Ticker
------------------------------------------------------------------*/

.tickerBG {
    background-image: url('images/news.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
}

#all_news {
    width: 100%;
    height: 32px;
    margin: 0 auto;
    overflow: hidden;
}

#all_news span {
    background-image: url('images/btn-warning.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
    float: left;
    color: rgba(0, 0, 0, .8);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px black;
    padding: 6px;
    position: relative;
    border-radius: 4px;
    font-size: 12px;
}

#all_news ul {
    float: left;
    padding-left: 20px;
    -webkit-animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite;
    -moz-animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite;
    -ms-animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite;
    animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite
}

#all_news ul:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -ms-animation-play-state: paused;
    animation-play-state: paused
}

#all_news li {
    line-height: 25px
}

#all_news a {
    color: #fff;
    text-decoration: none;
    font-size: 13px
}

@-webkit-keyframes ticker {
    0% {
        margin-top: 0
    }

    25% {
        margin-top: -26px
    }

    50% {
        margin-top: -52px
    }

    75% {
        margin-top: -78px
    }

    100% {
        margin-top: 0
    }
}

@-moz-keyframes ticker {
    0% {
        margin-top: 0
    }

    25% {
        margin-top: -26px
    }

    50% {
        margin-top: -52px
    }

    75% {
        margin-top: -78px
    }

    100% {
        margin-top: 0
    }
}

@-ms-keyframes ticker {
    0% {
        margin-top: 0
    }

    25% {
        margin-top: -26px
    }

    50% {
        margin-top: -52px
    }

    75% {
        margin-top: -78px
    }

    100% {
        margin-top: 0
    }
}

@keyframes ticker {
    0% {
        margin-top: 0
    }

    25% {
        margin-top: -26px
    }

    50% {
        margin-top: -52px
    }

    75% {
        margin-top: -78px
    }

    100% {
        margin-top: 0
    }
}