﻿/* !jQUERY SCROLLABLE STYLES */

.scrollable {
    /* required settings */
    position: relative;
    overflow: hidden;
    width: 622px;
    height: 250px;
}

/*
root element for scrollable items. Must be absolutely positioned
and it should have a extremely large width to accommodate scrollable
items.  it's enough that you set width and height for the root element
and not for this element.
*/

.scrollable .items {
    /* this cannot be too large */
    /*   width: 20000em; */
    height: 20000em;
    position: absolute;
}

/*
a single item. must be floated in horizontal scrolling.  typically,
this element is the one that *you* will style the most.
*/

.items .ad {
    float: left;
    position: relative;
}

/* position and dimensions of the navigator */

.navi { text-align: right; }

/* items inside navigator */

.navi a {
    display: inline-block;
    background: #3360aa;
    margin: 3px;
    padding: 2px 5px;
    color: #fff;
    font-size: 11px;
    /* CSS3 */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.navi a:hover {
    background: #93add7;
    cursor: pointer;
}

.navi a.active { background: #819e10; }

a.btn-ad {
    display: inline;
    background: #333;
    border: 1px solid #fff;
    padding: 3px 0;
    width: 75px;
    height: auto;
    color: #fff;
    font: normal 11px Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    /* CSS3 */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 3px #111;
    -moz-box-shadow: 1px 1px 3px #111;
    box-shadow: 1px 1px 3px #111;
    background-image: linear-gradient(bottom, #333333 20%, #555555 80%);
    background-image: -o-linear-gradient(bottom, #333333 20%, #555555 80%);
    background-image: -moz-linear-gradient(bottom, #333333 20%, #555555 80%);
    background-image: -webkit-linear-gradient(bottom, #333333 20%, #555555 80%);
    background-image: -ms-linear-gradient(bottom, #333333 20%, #555555 80%);

    background-image: -webkit-gradient(
                                      linear,
                                      left bottom,
                                      left top,
                                      color-stop(0.2, #333333),
                                      color-stop(0.8, #555555)
);
}

a.btn-ad:hover {
    background: #819e10; /* green color */
    /* CSS3 */
    background-image: linear-gradient(bottom, #819e10 20%, #a3c420 80%);
    background-image: -o-linear-gradient(bottom, #819e10 20%, #a3c420 80%);
    background-image: -moz-linear-gradient(bottom, #819e10 20%, #a3c420 80%);
    background-image: -webkit-linear-gradient(bottom, #819e10 20%, #a3c420 80%);
    background-image: -ms-linear-gradient(bottom, #819e10 20%, #a3c420 80%);

    background-image: -webkit-gradient(
                                      linear,
                                      left bottom,
                                      left top,
                                      color-stop(0.2, #819e10),
                                      color-stop(0.8, #a3c420)
);
}