﻿/**
 * CSS style for carouselTicker
 **/

.carouselTicker__list{
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow: hidden;
    white-space: nowrap;
    height: 30px;
}

.carouselTicker__item{
    margin: 0 0 0 5px;
    float: left;
    width: 100px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.carouselTicker__loader{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff url("../img/loader.gif") center center no-repeat;
}

.carouselTicker__item:after {
    content: "";
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    z-index: 1;
    background: #6b5e5e;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/**
 * CSS style for vertical direction
 **/

.carouselTicker_vertical .carouselTicker__list{
    margin: 0;
}

.carouselTicker_vertical .carouselTicker__item{
    margin: 0 0 5px 0;
    border: 4px solid red;
    width: 100px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

#carouselTicker {
    direction: ltr;
}

#carouselTicker .carouselTicker__item {
    width: auto;
    height: auto;
    line-height: normal;
    padding: 0!important;
    position: relative;
    margin: 0 0 0 30px;
}

.carouselTicker__item img {
    vertical-align: top;
}

#carouselTicker .carouselTicker__item a {
    margin: 0 !important;
}

#carouselTicker > span:first-child,
#carouselTicker > span:last-child {    
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 2;
    text-align: center;
    padding:0 20px;
    line-height: 36px;
    font-size: 16px;
    font-weight: normal;
    color: #FFFFFF;
}

#carouselTicker > span:first-child {
    left: 0;
    width: 140px;
    background: white;
    border: 3px solid #cfa920;
    border-width: 0 3px 0 0;
    box-shadow: 2px 7px 20px rgba(0,0,0,0.5);
}

@media screen and (max-width: 480px) {
     #carouselTicker > span:first-child {
        width: 100px;
        padding: 0 10px;
    }
}

#carouselTicker > span:first-child > img {
    padding: 5px 0;
}

#carouselTicker > span:last-child {
    right: 0;
    cursor: pointer
}

html[dir=rtl] #carouselTicker > span:first-child {
    left: auto;
    right: 0;
}

html[dir=rtl] #carouselTicker > span:last-child {
    right: auto;
    left: 0;
}