﻿.auto-container
{
    position: relative;
}

#news-ticker2 .slider-container
{
    position: relative;
    height: 52px;
}

/* liScroll styles */

.tickercontainer
{
    /* the outer div with the black border */
    border: none;
    background: none;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    top: 0px;
}

.tickercontainer .mask
{
    /* that serves as a mask. so you get a sort of padding both left and right */
    position: relative;
    padding: 0px 0px;
    left: 0px;
    top: 0px;
    height: 52px;
    width: 100%;
    overflow: hidden;
}

ul.newsticker
{
    /* that's your list */
    position: relative;
    right: 100%;
    font-family: 'Al-Jazeera-Bold' ,tahoma;
    font-size: 12px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.newsticker li
{
    float: right; /* important: display inline gives incorrect results when you check for elem's width */
    margin: 0;
    padding: 0;
    background: none;
    position: relative;
    top: 4px;
}

ul.newsticker li:after
{
    content: '';
    position: absolute;
    right: 0px;
    top: 0px;
    width: 50px;
    height: 42px;
    background: url(../img/news-ticker-logo.png) center center no-repeat;
}

ul.newsticker a
{
    white-space: nowrap;
    padding: 0;
    font-size: 14px;
    margin: 0 50px 0 0;
    position: relative;
    display: block;
    line-height: 42px;
    color: #263238;
}

ul.newsticker span
{
    margin: 0 10px 0 0;
}

ul.newsticker2
{
    /* that's your list */
    position: relative;
    right: 100%;
    font-family: 'Al-Jazeera-Bold' ,tahoma;
    font-size: 12px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.newsticker2 li
{
    float: right; /* important: display inline gives incorrect results when you check for elem's width */
    margin: 0;
    padding: 0;
    background: none;
    line-height: 42px;
    height: 42px !important;
    position: relative;
    top: 5px;
}

ul.newsticker2 li:after
{
    content: '';
    position: absolute;
    right: 0px;
    top: 0px;
    width: 50px;
    height: 42px;
    background: url(../img/news-ticker-logo.png) center center no-repeat;
}

ul.newsticker2 a
{
    white-space: nowrap;
    padding: 0;
    color: #ffffff;
    font-family: 'Al-Jazeera-Bold' ,tahoma;
    font-size: 13px;
    margin: 0 50px 0 0;
    position: relative;
    display: block;
    line-height: 42px;
}

ul.newsticker2 span
{
    margin: 0 10px 0 0;
}
