/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

.article_gallery {
    margin-bottom: 12px;
    width: 172px;
    background: #efefef;
}

.article_gallery h3,
.article_gallery h2 {
    display: block;
    width: 152px;
    padding: 10px;
    color: #666;
    background: #d9d9d9;
    font-weight: normal;
    font-size: 12px;
    text-align: center;
    margin: 0;
}

.article_gallery h3 {
    color: #7B0020;
    background: transparent;
}

.article_gallery .pictures {
    padding: 4px;
    background: #414042;
    z-index: 1;
}

.article_gallery .slider {
    overflow: hidden;
    height: 97px;
}

.article_gallery .pictures ul {
    display: block;
    width: 1200px; /* 120px × 10 */
    height: 94px;
    margin-left: 20px;
    list-style: none;
    left: 0;
    position: relative;
}

.article_gallery .pictures li {
    float: left;
    display: table;
    width: 120px;
    height: 90px;
    margin-right: 2px;
    padding: 2px;
    background: #fff;
    overflow: hidden;
}

.article_gallery .pictures li div {
    display: table-cell;
    vertical-align: middle;
    width: 120px;
}

.article_gallery .pictures li img {
    display: block;
    margin: auto;
}

.article_gallery .controls {
    background: #414042;
    height: 16px;
    text-align: center;
    position: relative;
}

.article_gallery .controls a {
    display: block;
    width: 18px;
    height: 16px;
    overflow: hidden;
    text-indent: -32em;
    text-decoration: none;
}

#content .article_gallery .controls a:hover {
    background-color: #ebebeb;
}

.article_gallery .controls a.prev {
    float: left;
}

.article_gallery .controls a.next {
    float: right;
}

.article_gallery .controls a.enlarge {
    margin: 0 auto;
}

.article_gallery .controls a.prev:hover {
    background-position: -41px -8px;
}

.article_gallery .controls a.next:hover {
    background-position: -8px -8px;
}

.article_gallery .controls a.enlarge:hover {
    background-position: -136px -8px;
}