/* v1.0.5 */
/* Core RS CSS file. 95% of time you shouldn't change anything here. */
.royalSlider {
	/*width: 600px;*/
	/*height: 400px;*/
	position: relative;
	direction: ltr;
}
.royalSlider > * {
	float: left;
}

.rsWebkit3d .rsSlide {
	-webkit-transform: translateZ(0);
}


.rsWebkit3d .rsSlide,
.rsWebkit3d .rsContainer,
.rsWebkit3d .rsThumbs,
.rsWebkit3d .rsPreloader,
.rsWebkit3d img,
.rsWebkit3d .rsOverflow,
.rsWebkit3d .rsBtnCenterer,
.rsWebkit3d .rsAbsoluteEl,
.rsWebkit3d .rsABlock,
.rsWebkit3d .rsLink {
	-webkit-backface-visibility: hidden;
}
.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);
}
.rsVisibleNearbyWrap {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	left: 0;
	top: 0;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
.rsVisibleNearbyWrap .rsOverflow {
	position: absolute;
	left: 0;
	top: 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;
}

/* Fullscreen options, very important ^^ */
.royalSlider.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;
}

.royalSlider .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%;
}

.royalSlider.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;
	background: none !important;
}
.rsTabs,
.rsThumbs {
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}


.rsVideoContainer {
	/*left: 0;
	top: 0;
	position: absolute;*/
	/*width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	float: left;*/
	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: 50;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
/* ios controls over video bug, shifting video */
.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;
	
}

img.rsImg {
	max-width: none;
    padding: 0!important;
}

.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);
}

/* TNS theme styles */
/******************************
*
*  RoyalSlider Default Skin
*
*    1. Arrows
*    2. Bullets
*    3. Thumbnails
*    4. Tabs
*    5. Fullscreen button
*    6. Play/close video button
*    7. Preloader
*    8. Caption
*
*  Sprite: '/framework/imgs/rs-tns.png'
*  Feel free to edit anything
*  If you don't some part - just delete it
*
******************************/


/* Background */
.rsTns,
.rsTns .rsOverflow,
.rsTns .rsSlide,
.rsTns .rsVideoFrameHolder,
.rsTns .rsThumbs {
    /*background: #151515;*/
    color: #FFF;
}


/***************
*
*  1. Arrows
*
****************/

.rsTns .rsArrow {
    height: 100%;
    width: 44px;
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 21;
}
.rsTns.rsVer .rsArrow {
    width: 100%;
    height: 44px;

}
.rsTns.rsVer .rsArrowLeft { top: 0; left: 0; }
.rsTns.rsVer .rsArrowRight { bottom: 0;  left: 0; }

.rsTns.rsHor .rsArrowLeft { left: 0; top: 0; }
.rsTns.rsHor .rsArrowRight { right: 0; top:0; }

.rsTns .rsArrowIcn {
    width: 32px;
    height: 48px;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -16px;

    position: absolute;
    cursor: pointer;
    background: url('/framework/imgs/rs-tns.png');

}
.rsTns .rsArrowIcn:hover {

}

.rsTns.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; }
.rsTns.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -80px; }

.rsTns.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; }
.rsTns.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; }

.rsTns .rsArrowDisabled .rsArrowIcn { opacity: .2; filter: alpha(opacity=20);  *display: none; }

@media screen and (max-width: 768px) {
    .responsiveSlideshow .rsArrow.rsHidden {
        opacity: 1;
        visibility: visible;
    }
}

/***************
*
*  2. Bullets
*
****************/

.rsTns.rsWithBullets {
    margin-bottom: 30px;
}

.rsTns .rsBullets {
    width: 100%;
    height: auto;
    margin: 15px 0 10px;
    line-height: 8px;
    overflow: hidden;
}
.rsTns .rsBullet {
    padding: 0px 0px 7px 1px;
    display: inline-block;

}
.rsTns .rsBullet span {
    text-align: center;
    width: 7px;
    height: 7px;
    display: block;
    background: transparent;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    box-sizing: content-box;
    margin-right: 5px;
    border: 2px solid;
    color: #e82e21 !important;
}
.rsTns .rsBullet.rsNavSelected span, .rsTns .rsBullet:hover span {
    background-color: #e82e21;
}
@media screen and (max-width: 768px) {
    .responsiveSlideshow .rsBullets {
        display: none;
    }
    .responsiveSlideshow.rsWithBullets {
        margin-bottom: 10px;
        height: inherit;
    }
}


/***************
*
*  3. Thumbnails
*
****************/

.rsTns .rsThumbsHor {
    width: 100%;
    height: 72px;
}
.rsTns .rsThumbsVer {
    width: 96px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
.rsTns.rsWithThumbsHor .rsThumbsContainer {
    position: relative;
    height: 100%;
}
.rsTns.rsWithThumbsVer .rsThumbsContainer {
    position: relative;
    width: 100%;
}
.rsTns .rsThumb {
    float: left;
    overflow: hidden;
    width: 96px;
    height: 72px;
}
.rsTns .rsThumb img {
    width: 100%;
    height: 100%;
}
.rsTns .rsThumb.rsNavSelected {
    /*background: #02874a;*/
}
.rsTns .rsThumb.rsNavSelected img {
    /*opacity: 0.3;*/
    /*filter: alpha(opacity=30);*/
}
.rsTns .rsTmb {
    display: block;
}

/* Thumbnails with text */
.rsTns .rsTmb h5 {
    font-size: 16px;
    margin: 0;
    padding: 0;
    line-height: 20px;
    color: #FFF;
}
.rsTns .rsTmb span {
    color: #DDD;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 18px;
}



/* Thumbnails arrow icons */
.rsTns .rsThumbsArrow {
    height: 100%;
    width: 42px;
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 21;
    background: #000;
    /*background: rgba(0,0,0,0.75);*/
}
.rsTns .rsThumbsArrow:hover {
    /*background: rgba(0,0,0,0.9);*/
}
.rsTns.rsWithThumbsVer .rsThumbsArrow {
    width: 100%;
    height: 20px;
}
.rsTns.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
.rsTns.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0;  left: 0; }

.rsTns.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; }
.rsTns.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; }

.rsTns .rsThumbsArrowIcn {
    width: 24px;
    height: 48px;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -12px;
    position: absolute;
    cursor: pointer;
    background: url('/framework/imgs/rs-tns.png');
}

.rsTns.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: 0 0; }
.rsTns.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -72px 0px; }

.rsTns.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; }
.rsTns.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; }

.rsTns .rsThumbsArrowDisabled { display: none !important; }

/* Thumbnails resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 800px) {
    .responsiveSlideshow .rsThumb {
        width: 59px;
        height: 44px;
    }
    .responsiveSlideshow .rsThumbsHor {
        height: 44px;
    }
    .responsiveSlideshow .rsThumbsVer {
        width: 59px;
    }
}




/***************
*
*  4. Tabs
*
****************/

.rsTns .rsTabs {
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align:center;
    overflow: hidden; padding-top: 12px; position: relative;
}
.rsTns .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;

    *display:inline;
    *zoom:1;
}
.rsTns .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;
}
.rsTns .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;
}
.rsTns .rsTab:active {
    border: 1px solid #D9D9DD;
    background-color: #f4f4f4;
    box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
.rsTns .rsTab.rsNavSelected {
    color: #FFF;
    border: 1px solid #999;
    text-shadow: 1px 1px #838383;
    box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
    background: #ACACAC;
    background-image: -webkit-linear-gradient(top, #ACACAC, #BBB);
    background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
    background-image: linear-gradient(to bottom, #ACACAC, #BBB);
}





/***************
*
*  5. Fullscreen button
*
****************/

.rsTns .rsFullscreenBtn {
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    z-index: 22;
    display: block;
    position: absolute;
    cursor: pointer;

}
.rsTns .rsFullscreenIcn {
    display: block;
    margin: 6px;
    width: 32px;
    height: 32px;

    background: url('/framework/imgs/rs-tns.png') 0 0;
    /*background-color: #000;*/
    /*background-color: rgba(0,0,0,0.5);*/
    /**background-color: #000;*/
    background-color: transparent;
    border: 1px solid;
}
.rsTns .rsFullscreenIcn:hover {
    background-color: rgba(0,0,0,0.9);
}
.rsTns.rsFullscreen .rsFullscreenIcn {
    background-position: -32px 0;
}
@media screen and (max-width: 768px) {
    .responsiveSlideshow .rsFullscreenBtn {
        display: none;
    }
}



/***************
*
*  6. Play/close video button
*
****************/

.rsTns .rsPlayBtn {
    -webkit-tap-highlight-color:rgba(0,0,0,0.3);
    width:64px;
    height:64px;
    margin-left:-32px;
    margin-top:-32px;
    cursor: pointer;
}
.rsTns .rsPlayBtnIcon {
    width:64px;
    display:block;
    height:64px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    -webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;

    background:url(/framework/imgs/rs-tns.png) no-repeat 0 -32px;
    background-color: #e82e21;
    /*background-color: rgba(0,0,0,0.75);*/
    *background-color: #e82e21;
}
.rsTns .rsPlayBtn:hover .rsPlayBtnIcon {
    background-color: rgba(0,0,0,0.9);
}
.rsTns .rsBtnCenterer {
    position:absolute;
    left:50%;
    top:50%;
}
.rsTns .rsCloseVideoBtn {
    /*display: none;*/

    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    z-index: 500;
    position: absolute;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);

}
.rsTns .rsCloseVideoBtn.rsiOSBtn {
    top: -38px;
    right: -6px;
}

.rsTns .rsCloseVideoIcn {
    margin: 6px;
    width: 32px;
    height: 32px;
    background: url('/framework/imgs/rs-tns.png') -64px 0;
    background-color: #000;
    background-color: rgba(0,0,0,0.75);
    *background-color: #000;
}
.rsTns .rsCloseVideoIcn:hover {
    background-color: rgba(0,0,0,0.9);
}

.rsVideoPlaying .rsArrow {
    display: none!important;
}



/***************
*
*  7. Preloader
*
****************/

.rsTns .rsPreloader {
    width:20px;
    height:20px;
    background-image:url(/framework/imgs/preloader-white.gif);

    left:50%;
    top:50%;
    margin-left:-10px;
    margin-top:-10px;
}




/***************
*
*  8. Global caption
*
****************/
.rsTns .rsGCaption {
    opacity: 0;
    position: absolute;
    z-index: 25;
    float: none;
    bottom: 0px;
    left: 0px;

    color: #FFF;
    width: 100%;
    -moz-transition: opacity 0.25s linear;
    -webkit-transition: opacity 0.25s linear;
    -o-transition: opacity 0.25s linear;
    transition: opacity 0.25s linear;
}
.rsTns .rsGCaption .rsCaption {
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    padding: 11px 13px 11px 13px;
    text-align: left;
}
.rsGCaption h3, .rsGCaption p {
    color: #fff;
}
.rsGCaption h3.caption-title {
    margin: 0 0 5px;
    color: #e82e21 !important;
    /*font-size: 1em;*/
}
.rsGCaption .caption-description {
    line-height: 1em!important;
    margin: 3px 0px!important;
    font-weight: normal;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .responsiveSlideshow .rsGCaption {
        position: relative;
        opacity: 1;
        clear: both;
        margin-bottom: 10px;
    }
    .responsiveSlideshow .rsGCaption .rsCaption {
        padding: 5px 0 0 0;
        background-color: transparent;
    }
    .responsiveSlideshow .rsGCaption p.caption-description {
        color: #333;
        font-size: 11px!important;
        line-height: 13px!important;
    }
    .responsiveSlideshow .rsGCaption h3.caption-title {
        font-size: 13px;
        line-height: 1em;
    }
}

/***************
*
*  8. Whole slide hyperlink
*  http://help.dimsemenov.com/kb/royalslider-jquery-plugin-faq/how-to-create-whole-slide-with-hyperlink
*
****************/
.rsLink {
    left:0;
    top:0;
    position:absolute;
    width:100%;
    height:100%;
    display:block;
    z-index: 20;
    background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
    -webkit-backface-visibility: hidden;
}

/***************
*
*  9. Fullscreen
*
****************/
.rsTns.rsFullscreen, .rsTns.rsFullscreen .rsContainer {
    background-color: #fff;
}
.rsTns.rsFullscreen .rsSlide {
    /*margin: 5%;*/
    /*width: 90%;*/
    /*height: 90%;*/
}
.rsTns .rsThumbs {
    display: none;
    height: 0;
}
.rsTns.rsFullscreen .rsThumbs {
    display: block;
    position: absolute;
    bottom: 0px;
    height: 90px;
    padding-top: 8px;
}
.rsTns.rsFullscreen .rsThumb {
    opacity: .6;
}
.rsTns.rsFullscreen .rsThumbs .rsNavSelected {
    opacity: 1;
    border: 5px solid #e82e21;
}
.rsTns.rsFullscreen .rsThumbsArrow {
    background-color: #fff;
}
.rsTns.rsFullscreen .rsThumbsArrowIcn {
    background: url('/framework/imgs/direction_nav_sm.png');
}
.rsTns.rsFullscreen .rsGCaption {
    top: 10px;
    left: 10px;
    width: 300px;
    bottom: auto;
}
.rsTns.rsFullscreen .rsCaption {
    background: rgba(255, 255, 255, 0.5);
}
.rsTns.rsFullscreen .rsCaption p {
    color: #333300;
}
.rsTns.rsFullscreen .rsContent {
    text-align: center;
}

/***************
*
*  10. General
*
****************/
.rsTns {
    margin-bottom: 10px;
}
