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


/* Background */
.rsDefault .rsOverflow,
.rsDefault .rsSlide,
.rsDefault .rsVideoFrameHolder,
.rsDefault .rsThumbs {
	//background: #000;
}

@font-face {
                font-family: 'komika';
                src: url('fonts/KomikaTitle-webfont.eot') format('eot'), url('fonts/KomikaTitle-webfont.woff') format('woff'), url('fonts/KomikaTitle-webfont.ttf') format('truetype'),url('fonts/KomikaTitle-webfont.svg') format('svg');
        }


.galleryWrapper { /* This is not part of RoyalSlider; it's just a class we've added. */
	//border: 8px solid #999;
	//background: #000;
	overflow: hidden;
	color: #999;
	margin-bottom: 1em;
}

/* We need to swap the position of the caption with the position of the thumbs. */

.rsGCaption {
	height: 18px;
	margin-top: -70px
}

.rsThumbs {
	margin-top: 25px;
	margin-bottom: 8px;
}

.rsDefault {
	padding: 12px;
}

.rsGCaption {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 2px solid #000000;
    color: #000000;
    font-family: komika;
    height: auto;
    left: 100px;
    margin-top: 0;
    padding: 5px;
    position: absolute;
    text-align: center;
    top: 50px;
    width: 140px;
}

.rsFullscreen .rsGCaption {
    display: none;
}

.rsGCaption .custom-rsCounter {
	float: right;
}

.custom-rsCounter {
	display:none;
}

#news_body .rsDefault img,
.promo .rsDefault img,
ul#news-masonry li .rsDefault img {
	border: none; /* Override DJZ borders on article images */
}

.rsImg {
	display: block;
	/*padding: 0 36px;*/  /*Leave space for 32px of arrows and 4px of space */
	max-height: 100%;
	width: auto;
	margin: 0 auto;
	max-width: none;
	position: relative;
}

.rsContainer {
	
}
.rsSlide {

}

.rsImg {
	vertical-align: middle;
}

.royalSlider.rsFullscreen {
	//border: 12px solid #000;
}

.rsFullscreen .rsThumbs {
	position: relative;
	top: -80px;
}

.rsFullscreen .rsGCaption {
	position: relative;
	top: -80px;
}

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

.rsDefault .rsArrow {
	height: 100%;
	width: 90px;
	position: absolute;
	display: block;
	cursor: pointer;
	z-index: 21;
}
.rsDefault.rsVer .rsArrow {
	width: 100%;
	height: 48px;
	
}
.rsDefault.rsVer .rsArrowLeft { top: 0; left: 0; }
.rsDefault.rsVer .rsArrowRight { bottom: 0;  left: 0; }

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

.rsDefault .rsArrowIcn {		
	width: 90px;
	height: 76px;
	top: 50%;
	left: 50%;
	//margin-top:-24px;	
	margin-left: -66px;

	position: absolute;	
	cursor: pointer;	
	background: url('sliderarrows.png');
	/*background-color: rgba(0,0,0,0.75);
	*background-color: #111;*/
	
	//border-radius: 2px;
}
/*.rsDefault .rsArrowIcn:hover {
	background-color: rgba(0,0,0,0.9);
}
*/
.rsDefault.rsHor .rsArrowLeft .rsArrowIcn { background-position: 0px -0px; }
.rsDefault.rsHor .rsArrowRight .rsArrowIcn { background-position: -104px 0px; }

.rsDefault.rsHor .rsArrowLeft .rsArrowIcn:hover{ background-position: 0px -80px; }
.rsDefault.rsHor .rsArrowRight .rsArrowIcn:hover { background-position: -104px -80px; }


.rsDefault .rsArrowDisabled .rsArrowIcn { /*background-color: rgba(0,0,0,0.4);*/ opacity: .4; *display: none; }

#home_gallery.royalslider {
	height: 200px !important;
}
/***************
*
*  2. Bullets
*
****************/

.rsDefault .rsBullets {
	position: absolute;
	z-index: 35;
	left: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	margin: 0 auto; 
	//background: #000;
	//background: rgba(0,0,0,0.75);
	text-align: center;
	line-height: 18px;
	overflow: hidden;
}
.rsDefault .rsBullet {
	width: 8px;
	height: 8px;
	display: inline-block;
	*display:inline; 
	*zoom:1;
	margin: 0 5px 1px;
	border-radius: 50%;
	background: #777;
	background: rgba(255,255,255,0.5);
}
.rsDefault .rsBullet.rsNavSelected  {
	background-color: #FFF;
}


.rsArrowLeft{
	margin-left:20px;
}

.rsArrowRight{
	//margin-right:20px;
}



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

.rsDefault .rsThumbsHor {
	width: 60%;
	margin-left:20%;
	
	height: 40px;
	text-align: center;
}
.rsDefault .rsThumbsVer {
	padding-right: 4px;
	width: 96px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}
.rsDefault.rsWithThumbsHor .rsThumbsContainer {
	//position: relative;
	height: 100%;
}
.rsDefault.rsWithThumbsVer .rsThumbsContainer {
	//position: relative;
	width: 100%;
}
.rsDefault .rsThumb {

	display:inline-block;
	float:none;
	overflow: hidden;
	width: 40px;
	height: 40px;
}
.rsDefault .rsThumb img {
	width: 100%;
	height: 100%;
}
.rsDefault .rsThumb.rsNavSelected {
	background: #999;
}
.rsDefault .rsThumb.rsNavSelected img {
	opacity: 0.3;
	filter: alpha(opacity=30);
}
.rsDefault .rsTmb {
	display: block;
}

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

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

.rsDefault .rsThumbsArrowIcn {		
	width: 12px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-top:-8px;	
	margin-left: -6px;
	position: absolute;	
	cursor: pointer;	
	background: url('rs-djz.png');
}

.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: 0 -67px; }
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -87px -40px; }

.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: 0 -67px; }
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -87px -40px; }

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

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




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

.rsDefault .rsTabs {
	width: 100%;
	height: auto;
	margin: 0 auto;
	text-align:center;
	overflow: hidden; padding-top: 12px; position: relative;
}
.rsDefault .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;
}
.rsDefault .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;
}
.rsDefault .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;
}
.rsDefault .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;
}
.rsDefault .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, #BBB);
	background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
	background-image: linear-gradient(to bottom, #ACACAC, #BBB);
}





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

.rsDefault .rsFullscreenBtn {
    cursor: pointer;
    display: block;
    height: 32px;
    position: absolute;
    right: 50px;
    top: 40px;
    width: 32px;
    z-index: 22;
}
.rsDefault .rsFullscreenIcn {
	display: block;
	margin: 6px;
	width: 28px;
	height: 28px;
	background: url('rs-djz.png') -87px 0;
	/*background-color: rgba(0,0,0,0.75);
	*background-color: #000;
	border-radius: 2px;*/
	margin: -1px 0 0 5px;
}
.rsDefault .rsFullscreenIcn:hover {
	/*background-color: rgba(0,0,0,0.9);*/
}
.rsDefault.rsFullscreen .rsFullscreenIcn {
	background-position: -87px 0;
}


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

.rsDefault .rsPlayBtn {
	-webkit-tap-highlight-color:rgba(0,0,0,0.3);
	width:64px;
	height:64px;
	margin-left:-32px;
	margin-top:-32px;
	cursor: pointer;
}
.rsDefault .rsPlayBtnIcon {
	width:64px;
	display:block;
	height:64px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background:url(rs-default.png) no-repeat 0 -32px;
	
	background-color: rgba(0,0,0,0.75);
	-webkit-transition: .3s;
	-moz-transition: .3s;
	transition: .3s;
	//background-color: #000;
}
.rsDefault .rsPlayBtn:hover .rsPlayBtnIcon {
	background-color: rgba(0,0,0,0.9);
}
.rsDefault .rsBtnCenterer {
	position:absolute;
	left:50%;
	top:50%;
	width: 20px;
	height: 20px;
}
.rsDefault .rsCloseVideoBtn {
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	z-index: 500;
	position: absolute;
	cursor: pointer;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	
}
.rsDefault .rsCloseVideoBtn.rsiOSBtn {
	top: -38px;
	right: -6px;
	/*top: -6px;
	right: -38px;*/
}

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



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

.rsDefault .rsPreloader {
	width:20px;
	height:20px;
	background-image:url(../preloaders/preloader-white.gif);

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