/* 
 * jQuery RefineSlide plugin v0.3
 * Copyright 2012, Alex Dunphy
 * MIT License (http://www.20script.ir)
 *
 * Base styles
 */

.rs-wrap:after,
.rs-slider:after,
.rs-thumbwrap:after,
.rs-arrows:after,
.rs-caption:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    line-height: 0;
    visibility: hidden;
}

/* ===[ Slider ]=== */

.refheight {height:320px;}

.rs-wrap {
    position: relative;
    max-width: 100%;
border:#d5d5d5 solid 1px; background:#fff; padding:15px; overflow:hidden; margin-bottom:20px;
}

.rs-slide-bg { *zoom: 1 }

.rs-slider > li > a { display: block }

.rs-slider > li {
    list-style: none;
    filter: alpha(opacity=0);
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0 -100% 0 0;
    padding: 0;
    float: left;
    position: relative;
}

    .rs-slider > li > a {
        padding: 0;
        background: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .rs-slider > li img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        -ms-interpolation-mode: bicubic;
    }

/* ===[ Thumbnails ]=== */

.rs-thumb-wrap { *zoom: 1 }

    .rs-thumb-wrap > a {
        display: block;
        float: left;
        position: relative;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

        .rs-thumb-wrap > a > img {
            max-width: 100%;
            max-height: 100%;
            display: block;
            -ms-interpolation-mode: bicubic;
        }

.rs-thumbwrap > a:first-child { margin-left: 0!important }

/* ===[ Arrows ]=== */

.rs-arrows {*height: 0; }

.rs-arrows .rs-next, .rs-arrows .rs-prev { z-index: 1 }
.rs-arrows:hover .rs-next, .rs-arrows:hover .rs-prev { z-index: 2 }


.rs-arrows a {opacity: 1; width: 48px; height: 48px; display: block; position:absolute; top:45%; z-index:9; cursor:pointer; }
 
.rs-arrows .rs-next {background: url(../images/nivo-arrows.png) no-repeat scroll 0 0; margin-top: -24px; right: 15px; background-position: -48px}
.rs-arrows .rs-prev {background: url(../images/nivo-arrows.png) no-repeat scroll 0 0; margin: -24px 0 0}

.rs-arrows:hover .rs-next {background: url(../images/nivo-arrows.png) no-repeat scroll 0 0 #000000; background-position: -48px; opacity: 0.6; -moz-transition: background 0.3s ease-in-out 0s; -webkit-transition: background 0.3s ease-in-out 0s; -o-transition: background 0.3s ease-in-out 0s; transition: background 0.3s ease-in-out 0s; }
.rs-arrows:hover .rs-prev {background: url(../images/nivo-arrows.png) no-repeat scroll 0 0 #000000; opacity: 0.6; -moz-transition: background 0.3s ease-in-out 0s; -webkit-transition: background 0.3s ease-in-out 0s; -o-transition: background 0.3s ease-in-out 0s; transition: background 0.3s ease-in-out 0s; }

/* ===[ Captions ]=== */

.rs-caption {
    overflow: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; margin-right:0;
   float:left; position:absolute; bottom:20px; background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6); padding:10px; height:auto; z-index:8
}
.rs-caption h1 {font-family: BebasNeueRegular, Open Sans Condensed, Arial, Sans-Serif; font-size:20px; color:#00A1FF; margin-top:6px; padding:3px 0px 2px 0px; text-shadow: 1px 1px 1px #000}
.rs-caption h1 a {border:1px solid #fff; background:#FB2900; color:#fff; text-shadow:1px 1px 1px #000; padding:3px 10px 2px 10px} 
.rs-caption h1 a:hover {text-decoration:none}
.rs-caption-text {line-height:15px; width:600px; padding:3px 5px 3px 0;  color:#fff}
.rs-caption-plays {background: url(../images/playon.png) no-repeat left; margin-left:11px; padding:0px 10px 0px 25px; color:#fff; text-shadow:1px 1px 1px #333; font-weight:bold}
.paddgrey {background:#262729; border:1px solid #fff; padding:7px 2px 7px 2px; margin-left:9px; margin-top:6px}


.rs-caption.rs-top-left {
    top: 0;
    bottom: auto;
}

.rs-caption.rs-top-right {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
}

.rs-caption.rs-bottom-left {
    bottom: 0;
    left: 0;
}

.rs-caption.rs-bottom-right {
    right: 0;
    left: auto;
    border-bottom: none;
    border-right: none;
}

.rs-caption.rs-top {
    top: 0;
    bottom: auto;
    width: 100%!important;
}

.rs-caption.rs-bottom { width: 100%!important }

.rs-caption.rs-left {
    top: 0;
    height: 100%;
}

.rs-caption.rs-right {
    top: 0;
    left: auto;
    right: 0;
    height: 100%;
}

/* ===[ Grid ]=== */

.rs-grid {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: none;
}

.rs-gridlet {
    position: absolute;
    opacity: 1;
}