﻿body {
    padding-top: 10px;
}

#myCarousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    text-shadow: none;
}

#myCarousel .list-group {
    position: absolute;
    top: 0;
    right: 0;
}

#myCarousel .list-group-item {
    border-radius: 0px;
    cursor: pointer;
}

#myCarousel .list-group .active {
    background-color: #eee;
}

@media (min-width: 992px) {
    #myCarousel {
        padding-right: 33.3333%;
    }

        #myCarousel .carousel-controls {
            display: none;
        }
}

@media (max-width: 991px) {
    .carousel-caption p,
    #myCarousel .list-group {
        display: none;
    }
}





/* new design for news bar (A) FORCE ALL ITEMS INTO SINGLE ROW */
.hmove {
    display: flex;
}

.hitem {
    width: 100%;
    flex-shrink: 0;
    height: 15px;
}

.hwrap {
    overflow: hidden;
    background-color: #6b0505;
    height: 45px;
    align-content: center;
}

/* (B) MOVE ITEMS FROM RIGHT TO LEFT */
 /*first item = 0, fourth item = -300%*/
/*@keyframes rightThenLeft {
    0% {
        transform: translatex(100%);
    }

    100% {
        transform: translatex(-400%);
    }
}*/
@keyframes tickerh {
    0% {
        /*left: 0%;*/
        transform: translateX(-400%)
    }

   /* 50% {
        left: 100%;
        transform: translateX(50%)
    }*/

    100% {
        /*left: 0%;*/
        transform: translateX(100%) 
    }
}
.hmove {
    /*text-align: right;*/
    /*-webkit-animation: tickerh 20s linear infinite;*/
    /*-webkit-animation: ticker 20s cubic-bezier(1, 0, .5, 0) infinite;*/
    color: white;
    font-size: 22px;
    /*-webkit-animation: rightThenLeft tickerh linear 20s infinite;*/
    animation: tickerh linear 32s infinite;
}

    .hmove:hover {
        animation-play-state: paused;
    }
@media (max-width: 991px) {
    
    .hmove {
        font-size: 20px;
    }
}
@media (max-width: 791px) {

    .hmove {
        font-size: 18px;
    }
}
@media (max-width: 591px) {

    .hmove {
        font-size: 16px;
    }
}