.gallery-slider .rsOverflow,
.gallery-slider .rsSlide,
.gallery-slider .rsVideoFrameHolder,
.gallery-slider .rsThumbs {
    background: black;
}
.gallery-slider .rsGCaption {
    overflow: hidden;
    position: absolute;
    width: 100%;
    max-height: 50%;
    bottom: 4px;
}
.gallery-slider.rsWithThumbs .rsGCaption {
    bottom: 44px;
}
.rsWithBullets .rsGCaption {
    bottom: 18px;
}
.gallery-slider .rsGCaption .rsCaption {
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 7px 11px;
    text-align: left;
    overflow: auto;
}
.gallery-slider .rsGCaption .rsCaption .rsDescription,
.gallery-slider .rsGCaption .rsCaption .rsByline {
    display: block;
    width: 48%;
}
.gallery-slider .rsGCaption .rsCaption .rsDescription {
    float: left;
    margin: 0 1% 0 0;
}
.gallery-slider .rsGCaption .rsCaption .rsByline {
    float: right;
    margin: 0 0 0 1%;
    text-align: right;
}
.gallery-slider .rsGCaption .rsCaption:empty {
    display: none;
}
div.gallery-slider img {
    max-width: 100% !important;
    height: auto !important;
}
.gallery-slider .rsArrow {
    height: 100%;
    width: 44px;
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 21;
}
.gallery-slider.rsVer .rsArrow {
    width: 100%;
    height: 44px;
}
.gallery-slider.rsVer .rsArrowLeft {
    top: 0;
    left: 0;
}
.gallery-slider.rsVer .rsArrowRight {
    bottom: 0;
    left: 0;
}
.gallery-slider.rsHor .rsArrowLeft {
    left: 0;
    top: 0;
}
.gallery-slider.rsHor .rsArrowRight {
    right: 0;
    top: 0;
}
.gallery-slider .rsArrowIcn {
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    position: absolute;
    cursor: pointer;
    background: url('../img/gallery.png');
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 2px;
}
.gallery-slider .rsArrowIcn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}
.gallery-slider.rsHor .rsArrowLeft .rsArrowIcn {
    background-position: -64px -32px;
}
.gallery-slider.rsHor .rsArrowRight .rsArrowIcn {
    background-position: -64px -64px;
}
.gallery-slider.rsVer .rsArrowLeft .rsArrowIcn {
    background-position: -96px -32px;
}
.gallery-slider.rsVer .rsArrowRight .rsArrowIcn {
    background-position: -96px -64px;
}
.gallery-slider .rsArrowDisabled .rsArrowIcn {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: .4;
}
.gallery-slider .rsBullets {
    position: absolute;
    z-index: 35;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    line-height: 18px;
    overflow: hidden;
}
.gallery-slider .rsBullets .rsBullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin: 0 5px 1px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}
.gallery-slider .rsBullets .rsBullet.rsNavSelected {
    background-color: #FFF;
}
.gallery-slider .rsThumbsHor {
    padding-bottom: 4px;
    width: 100%;
    height: 44px;
}
.gallery-slider .rsThumbsVer {
    padding-right: 4px;
    width: 44px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
.gallery-slider.rsWithThumbsHor .rsThumbsContainer {
    position: relative;
    height: 100%;
}
.gallery-slider.rsWithThumbsVer .rsThumbsContainer {
    position: relative;
    width: 100%;
}
.gallery-slider .rsThumb {
    float: left;
    overflow: hidden;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid transparent;
}
.gallery-slider .rsThumb img {
    width: 100%;
    height: 100%;
}
.gallery-slider .rsThumb.rsNavSelected {
    border: 1px solid white;
    background: white;
}
.gallery-slider .rsTmb {
    display: block;
}
.gallery-slider .rsThumbsArrow {
    height: 100%;
    width: 20px;
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 21;
    background: #000;
    background: rgba(0, 0, 0, 0.75);
}
.gallery-slider .rsThumbsArrow:hover {
    background: rgba(0, 0, 0, 0.9);
}
.gallery-slider.rsWithThumbsVer .rsThumbsArrow {
    width: 100%;
    height: 20px;
}
.gallery-slider.rsWithThumbsVer .rsThumbsArrowLeft {
    top: 0;
    left: 0;
}
.gallery-slider.rsWithThumbsVer .rsThumbsArrowRight {
    bottom: 0;
    left: 0;
}
.gallery-slider.rsWithThumbsHor .rsThumbsArrowLeft {
    left: 0;
    top: 0;
}
.gallery-slider.rsWithThumbsHor .rsThumbsArrowRight {
    right: 0;
    top: 0;
}
.gallery-slider .rsThumbsArrowIcn {
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    position: absolute;
    cursor: pointer;
    background: url('../img/gallery.png');
}
.gallery-slider.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn {
    background-position: -128px -32px;
}
.gallery-slider.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn {
    background-position: -128px -48px;
}
.gallery-slider.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn {
    background-position: -144px -32px;
}
.gallery-slider.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn {
    background-position: -144px -48px;
}
.gallery-slider .rsThumbsArrowDisabled {
    display: none !important;
}
.gallery-slider .rsTabs {
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    padding-top: 12px;
    position: relative;
}
.gallery-slider .rsTab {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    height: auto;
    width: auto;
    color: #333;
    padding: 5px 13px 6px;
    min-width: 72px;
    border: 1px solid #D9D9DD;
    border-right: 1px solid #f5f5f5;
    text-decoration: none;
    background-color: #FFF;
    background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
    background-image: -moz-linear-gradient(top, #fefefe, #f4f4f4);
    background-image: linear-gradient(to bottom, #fefefe, #f4f4f4);
    -webkit-box-shadow: inset 1px 0 0 #fff;
    box-shadow: inset 1px 0 0 #fff;
}
.gallery-slider .rsTab:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.gallery-slider .rsTab:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-right: 1px solid #cfcfcf;
}
.gallery-slider .rsTab:active {
    border: 1px solid #D9D9DD;
    background-color: #f4f4f4;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
.gallery-slider .rsTab.rsNavSelected {
    color: white;
    border: 1px solid #999;
    text-shadow: 1px 1px #838383;
    -webkit-box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
    box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
    background: #ACACAC;
    background-image: -webkit-linear-gradient(top, #acacac, #bbbbbb);
    background-image: -moz-llinear-gradient(top, #acacac, #bbbbbb);
    background-image: linear-gradient(to bottom, #acacac, #bbbbbb);
}
.gallery-slider .rsFullscreenBtn {
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    z-index: 22;
    display: block;
    position: absolute;
    cursor: pointer;
}
.gallery-slider .rsFullscreenIcn {
    display: block;
    margin: 6px;
    width: 32px;
    height: 32px;
    background: url('../img/gallery.png') 0 0;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 2px;
}
.gallery-slider .rsFullscreenIcn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}
.gallery-slider.rsFullscreen .rsFullscreenIcn {
    background-position: -32px 0;
}
.gallery-slider .rsPlayBtn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
    width: 64px;
    height: 64px;
    margin-left: -32px;
    margin-top: -32px;
    cursor: pointer;
}
.gallery-slider .rsPlayBtnIcon {
    width: 64px;
    display: block;
    height: 64px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: url('../img/gallery.png') no-repeat 0 -32px;
    background-color: rgba(0, 0, 0, 0.75);
    -webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}
.gallery-slider .rsPlayBtn:hover .rsPlayBtnIcon {
    background-color: rgba(0, 0, 0, 0.9);
}
.gallery-slider .rsBtnCenterer {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
}
.gallery-slider .rsCloseVideoBtn {
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    z-index: 500;
    position: absolute;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translatez(0);
}
.gallery-slider .rsCloseVideoBtn.rsiOSBtn {
    top: -38px;
    right: -6px;
}
.gallery-slider .rsCloseVideoIcn {
    margin: 6px;
    width: 32px;
    height: 32px;
    background: url('../img/gallery.png') -64px 0;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.75);
}
.gallery-slider .rsCloseVideoIcn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}
.gallery-slider .rsPreloader {
    width: 20px;
    height: 20px;
    background-image: url('../img/preloader-white.gif');
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}
.gallery-slider {
    position: relative;
    direction: ltr;
}
.rsWebkit3d .rsSlide,
.rsWebkit3d .rsContainer,
.rsWebkit3d .rsThumbs,
.rsWebkit3d .rsPreloader,
.rsWebkit3d img,
.rsWebkit3d .rsOverflow,
.rsWebkit3d .rsBtnCenterer,
.rsWebkit3d .rsAbsoluteEl {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translatez(0);
}
.rsFade.rsWebkit3d .rsSlide,
.rsFade.rsWebkit3d img,
.rsFade.rsWebkit3d .rsContainer {
    -webkit-transform: none;
}
.rsOverflow {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    float: left;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rsContainer {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rsArrow,
.rsThumbsArrow {
    cursor: pointer;
}
.rsThumb {
    float: left;
    position: relative;
}
.rsArrow,
.rsNav,
.rsThumbsArrow {
    opacity: 1;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}
.rsHidden {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: visibility 0s linear 0.3s,opacity 0.3s linear;
    -moz-transition: visibility 0s linear 0.3s,opacity 0.3s linear;
    -o-transition: visibility 0s linear 0.3s,opacity 0.3s linear;
    transition: visibility 0s linear 0.3s,opacity 0.3s linear;
}
.rsGCaption {
    width: 100%;
    float: left;
    text-align: center;
}
.gallery-slider.rsFullscreen {
    position: fixed !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2147483647 !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
}
.gallery-slider .rsSlide.rsFakePreloader {
    opacity: 1 !important;
    -webkit-transition: 0s;
    -moz-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
    display: none;
}
.rsSlide {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    overflow: hidden;
    height: 100%;
    width: 100%;
}
.gallery-slider.rsAutoHeight,
.rsAutoHeight .rsSlide {
    height: auto;
}
.rsContent {
    width: 100%;
    height: 100%;
    position: relative;
}
.rsPreloader {
    position: absolute;
    z-index: 0;
}
.rsNav {
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    user-select: none;
}
.rsNavItem {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
}
.rsThumbs {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    float: left;
    z-index: 22;
}
.rsTabs {
    float: left;
}
.rsTabs,
.rsThumbs {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rsVideoContainer {
    width: auto;
    height: auto;
    line-height: 0;
    position: relative;
}
.rsVideoFrameHolder {
    position: absolute;
    left: 0;
    top: 0;
    background: #141414;
    opacity: 0;
    -webkit-transition: .3s;
}
.rsVideoFrameHolder.rsVideoActive {
    opacity: 1;
}
.rsVideoContainer iframe,
.rsVideoContainer video,
.rsVideoContainer embed,
.rsVideoContainer .rsVideoObj {
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.rsVideoContainer.rsIOSVideo iframe,
.rsVideoContainer.rsIOSVideo video,
.rsVideoContainer.rsIOSVideo embed {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 44px;
}
.rsABlock {
    left: 0;
    top: 0;
    position: absolute;
    z-index: 15;
    -webkit-backface-visibility: hidden;
}
.grab-cursor {
    cursor: url(grab.png) 8 8, move;
}
.grabbing-cursor {
    cursor: url(grabbing.png) 8 8, move;
}
.rsNoDrag {
    cursor: auto;
}
.rsLink {
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 20;
    background: url(blank.gif);
    -webkit-backface-visibility: hidden;
}
@media (-webkit-min-device-pixel-ratio: 2) {
    .gallery-slider .rsArrowIcn {
        background: url('../img/gallery@2x.png');
        background-size: 425px;
    }
    .gallery-slider .rsPlayBtnIcon {
        background: url('../img/gallery@2x.png') no-repeat 0 -64px;
        background-size: 425px;
    }
    .gallery-slider .rsCloseVideoIcn {
        background: url('../img/gallery@2x.png') -128px 0;
        background-size: 425px;
    }
    .gallery-slider .rsFullscreenIcn {
        background: url('../img/gallery@2x.png') 0 0;
        background-size: 425px;
    }
}