/*
    Slideshow style
*/


/*
    Slides container
    Important:
    Set the width of your slides container
    If height not specified height will be set by the slide content
    Set to display none, prevents content flash
*/

.main-slides .slides_container {
    width:940px;
    height:273px;
    overflow:hidden;
    position:relative;
    display:none;
}

#gallery-tab2 .slides_container {
    width:820px;
    height:380px;
    overflow:hidden;
    position:relative;
    display:none;
    top:20px;
    padding-bottom: 60px;
}

#gallery-tab2 .slides_control {
    background: none repeat scroll 0 0 #FFFFFF;
}

/*
    Each slide
    Important:
    Set the width of your slides
    Offeset for the 20px of padding
    If height not specified height will be set by the slide content
    Set to display block
*/

.main-slides .slide {
    width:940px;
    height:273px;
    display:block;
}

#gallery-tab2 .slide {
    width:820px;
    height:360px;
    display:block;
}
div.link1 {
    margin-top: .75em;
}
.link1 a {
    width: 450px;
    float: left;
    height: 20px;   
    font-size: 11px;
    text-decoration: none;
    color: #313c52;
    padding: 5px;
}

.link1 a:hover {
    color: #e98412;
}

.link2 a {
    width: 300px;
    float: right;
    height: 20px;
    font-size: 11px;
    text-decoration: none;
    color: #313c52; 
    padding: 5px;
}
.link2 a:hover {
    color: #e98412;
}

.link1 p.caption-sm {
    width: 450px;
    float: left;
    height: 20px;
    font-size: 11px;
    text-decoration: none;
    color: #313c52;
    padding: 5px;
}
/*
    Next/prev buttons for main slides
*/
.main-slides .next,.main-slides .prev {
    position:absolute;
    background: url('../images/arrow-prev.png') top center no-repeat;
    top:107px;
    left:0;
    width:36px;
    height:58px;
    display:block;
    z-index:101;
}

.main-slides a.next,.main-slides a.prev {
    position: absolute;
    top:107px;
    right:0;
    height:58px;
    width:36px;
    text-indent: -9999em;
}

.main-slides a.next {
    position: absolute;
    top:107px;
    left:904px;
    height:58px;
    width:36px;
}

.main-slides .next {
    background: url('../images/arrow-next.png') top center no-repeat !important;
    left:904px;
}

.main-slides .prev:hover {
    background: url('../images/arrow-prev.png') bottom center no-repeat !important;
}

.main-slides .next:hover {
    background: url('../images/arrow-next.png') bottom center no-repeat !important;
}

/*
    Next/prev buttons for gallery slides
*/
#gallery-tab2 .next, #gallery-tab2 .prev {
    position:absolute;
    background: url('../images/gallery_prev.png') top center no-repeat;
    top:0;
    left:753px;
    width:35px;
    height:35px;
    display:block;
    z-index:101;
}

#gallery-tab2 a.next,#gallery-tab2 a.prev {
    position: absolute;
    top:-10px;
    left:753px;
    height:35px;
    width:35px;
}

#gallery-tab2 a.next {
    position: absolute;
    top:-10px;
    left:788px;
    height:35px;
    width:35px;
}
    
#gallery-tab2 h1 a.next,#gallery-tab2 h1 a.prev  {
    text-indent: -9999em;
}
    
#gallery-tab2 .next {
    background: url('../images/gallery_next.png') top center no-repeat !important;
    left:788px;
}

#gallery-tab2 .prev:hover {
    background: url('../images/gallery_prev.png') bottom center no-repeat !important;
}

#gallery-tab2 .next:hover {
    background: url('../images/gallery_next.png') bottom center no-repeat !important;
}
    

/*
    Pagination
*/

.pagination {
    position:absolute;
    bottom:20px;
    right:20px;
    margin:26px auto 0;
    width:100px;
    z-index: 200;
}

.pagination li {
    float:left;
    margin:0 1px;
    list-style:none;
}

.pagination li a {
    display:block;
    width:12px;
    height:0;
    padding-top:12px;
    background-image:url(../images/pagination.png);
    background-position:0 0;
    float:left;
    overflow:hidden;
}

.pagination li.current a {
    background-position:0 -13px;
}