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


/* Background */
.potdSkin,
.potdSkin .rsOverflow,
.potdSkin .rsSlide,
.potdSkin .rsVideoFrameHolder,
.potdSkin .rsThumbs {
	background: #000;
	color: #FFF;
	z-index: 0; /* Added 5-17-16 */
}

.royalSlider {
	/*margin-bottom:79px;	*/
	margin-bottom: 140px;
}

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

.potdSkin .rsArrow {
	height: 100%;
	width: 60px;
	position: absolute;
	display: block;
	cursor: pointer;
	/*z-index: 21;*/
	z-index: 1000; /* Changed 5-17-16 */
}
.potdSkin.rsVer .rsArrow {
	width: 100%;
	height: 60px;
	
}
.potdSkin.rsVer .rsArrowLeft { top: 0; left: 0; }
.potdSkin.rsVer .rsArrowRight { bottom: 0;  left: 0; }

.potdSkin.rsHor .rsArrowLeft { left: -10px; top: 0; }
.potdSkin.rsHor .rsArrowRight { right: -10px; top:0; }

.potdSkin .rsArrowIcn {		
	width: 32px;
	height: 55px;
	top: 50%;
	left: 50%;
	margin-top:-16px;	
	margin-left: -16px;

	position: absolute;	
	cursor: pointer;	
	background-image: url('../png/potd-custom2.png');
	opacity: 1;
	border-radius: 2px;
}
.potdSkin .rsArrow:hover .rsArrowIcn {
	opacity: 1;
}

.potdSkin.rsHor .rsArrowLeft .rsArrowIcn { background-position: -67px -32px; }
.potdSkin.rsHor .rsArrowRight .rsArrowIcn { background-position: 110px 70px; }

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

.potdSkin .rsArrowDisabled .rsArrowIcn { opacity: .5 !important; filter: alpha(opacity=50);  *display: none; }

.rsHidden {
    opacity: .5!important;
    transition: visibility 0s linear 0.3s, opacity 0.3s linear 0s;
    visibility: visible!important;
}

/*@media only screen and (min-width: 768px) and (max-width: 959px) {
	.potdSkin .rsArrow { 
		width:auto;
		height:auto;
		top:auto;
		z-index:40;
	}
	
	.potdSkin .rsArrowIcn {
		background-image: url('potd-custom-mobile.png');
		width:15px;
		height:30px;	
		z-index:40;
		top:auto;
		left:auto;
		margin-left:0px;
		margin-top:0px;
		bottom:-15px;
	}
	
	.potdSkin.rsHor .rsArrowLeft .rsArrowIcn { background-position: -71px -32px; }
	.potdSkin.rsHor .rsArrowRight .rsArrowIcn { background-position: -74px -64px; right:0px; }
	
	.potdSkin.rsHor .rsArrowLeft { left: 0px; bottom:-75px; }
	.potdSkin.rsHor .rsArrowRight { right: 0px; bottom:-75px; }
}


@media only screen and (max-width: 767px) {
	.potdSkin .rsArrow { 
		width:auto;
		height:auto;
		top:auto;
		z-index:40;
	}
	
	.potdSkin .rsArrowIcn {
		background-image: url('potd-custom-mobile.png');
		width:15px;
		height:30px;	
		z-index:40;
		top:auto;
		left:auto;
		margin-left:0px;
		margin-top:0px;
		bottom:-15px;
	}
	
	.potdSkin.rsHor .rsArrowLeft .rsArrowIcn { background-position: -71px -32px; }
	.potdSkin.rsHor .rsArrowRight .rsArrowIcn { background-position: -74px -64px; right:0px; }
	
	.potdSkin.rsHor .rsArrowLeft { left: 0px; bottom:-165px; }
	.potdSkin.rsHor .rsArrowRight { right: 0px; bottom:-165px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.potdSkin.rsHor .rsArrowLeft { left: 0px; bottom:-130px; }
	.potdSkin.rsHor .rsArrowRight { right: 0px; bottom:-130px; }
}*/

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

.potdSkin .rsBullets {
	position: relative;
	z-index: 35;
	padding-top: 1px;
	width: 20%;
	height: auto;
	margin: -4px 0px 0px 0px; 
	/*padding:11px 0px 33px;*/
	padding:11px 0px 10px;
	float:right;
	text-align: right;
	line-height: 5px;
	overflow: hidden;
	background:#fff;
	background:transparent;
}

/*@media only screen and (min-width: 768px) and (max-width: 959px) {
	.potdSkin .rsBullets {
		width:100%;
		margin:55px 0px 0px;
		text-align:center;
		padding:11px 0px 20px;		
	}
}

@media only screen and (max-width: 767px) {
	.potdSkin .rsBullets { margin:145px 0px 0px; width:100%; text-align:center; padding:11px 0px 20px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.potdSkin .rsBullets { margin:105px 0px 0px; width:100%; text-align:center; padding:11px 0px 20px;  }	
}*/


.potdSkin .rsBullet {
	width: 8px;
	height: 8px;
	display: inline-block;
	*display:inline; 
	*zoom:1;
	padding: 5px;
}
.potdSkin .rsBullet span {
	display: block;
	width: 12px;
	height: 12px;
	border-radius:20px;
	background: #7f7f7f;
}

.lt-ie9 .potdSkin .rsBullet span {
	background:url(../slider-nav.html) no-repeat;	
}

.potdSkin .rsBullet span:hover {
	cursor:pointer;
	background:#000;
}

.lt-ie9 .potdSkin .rsBullet span:hover {
	background:url(../slider-nav-active.html) no-repeat;	
}


.potdSkin .rsBullet.rsNavSelected span {
	background-color: #000;
}


.lt-ie9 .potdSkin .rsBullet.rsNavSelected span {
	background:url(../slider-nav-active.html) no-repeat;	
}




/***************
*
*  3. Thumbnails
*
****************/
.single .rsContent{
	display: flex;
  justify-content: center;
  align-items: center;
}
.single .rsContent img{
	margin: 0 auto;
}
.potdSkin .rsThumbsHor {
	width: 100%;
	height: 72px;
	border-top:2px solid #666;
}
.potdSkin .rsThumbsVer {
	width: 96px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}
.potdSkin.rsWithThumbsHor .rsThumbsContainer {
	position: relative;
	height: 100%;
}
.potdSkin.rsWithThumbsVer .rsThumbsContainer {
	position: relative;
	width: 100%;
}
.potdSkin .rsThumb {
	float: left;
	overflow: hidden;
	width: 96px;
	height: 72px;
}
.potdSkin .rsThumb img {
	width: 100%;
	height: 100%;
	margin:0px!important;
}
.potdSkin .rsThumb.rsNavSelected {
	background: #333;
}
.potdSkin .rsThumb.rsNavSelected img {
	opacity: 0.7;
	filter: alpha(opacity=30);
	margin:0px!important;
}
.potdSkin .rsThumb.rsNavSelected .thumbIco {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 2px solid #666;
	border: 2px solid rgba(255,255,255,0.9);
	-webkit-backface-visibility: hidden;
} 

.potdSkin .rsTmb {
	display: none;
}

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



/* Thumbnails arrow icons */
.potdSkin .rsThumbsArrow {
	height: 100%;
	width: 20px;
	position: absolute;
	display: block;
	cursor: pointer;	
	z-index: 21;	
}
.potdSkin .rsThumbsArrow:hover {

}
.potdSkin.rsWithThumbsVer .rsThumbsArrow {
	width: 100%;
	height: 20px;
}
.potdSkin.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
.potdSkin.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0;  left: 0; }

.potdSkin.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; background:#000; width:30px; }
.potdSkin.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; background:#000; width:30px; }

.potdSkin .rsThumbsArrowIcn {		
	width: 16px;
	height: 19px;
	top: 50%;
	left: 50%;
	margin-top:-8px;	
	margin-left: -8px;
	position: absolute;	
	cursor: pointer;	
	background: url('../png/potd-custom2.png') transparent;
}

.potdSkin.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -27px; }
.potdSkin.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -50px; }

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

/*.potdSkin .rsThumbsArrowDisabled { display: none !important; }*/

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




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

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

	background: #FFF;
	border-right: none;
	*display:inline; 
	*zoom:1;
	*border-right: 1px solid #d9d9d9;
	
}
.potdSkin .rsTab:first-child {
	border-top-left-radius: 16px;
	border-bottom-left-radius: 16px;
}
.potdSkin .rsTab:last-child { 
	border-top-right-radius: 16px;
	border-bottom-right-radius: 16px;
	border-right: 1px solid #D9D9DD;
}
.potdSkin .rsTab:active { 
	background-color: #f4f4f4;
}
.potdSkin .rsTab.rsNavSelected { 
	color: #FFF;
	background: #383838;
	border-color: #383838;
}





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

.potdSkin .rsFullscreenBtn {
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	z-index: 22;
	display: block;
	position: absolute;
	cursor: pointer;
	
}
.potdSkin .rsFullscreenIcn {
	display: block;
	margin: 6px;
	width: 32px;
	height: 32px;

	background: url('../png/potd-custom2.png') 0 0 transparent;
	opacity: 0.7;
	border-radius: 2px;

}
.potdSkin .rsFullscreenBtn:hover .rsFullscreenIcn {
	opacity: 1;
}
.potdSkin.rsFullscreen .rsFullscreenIcn {
	background-position: -32px 0;
}





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

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

	background:url(../png/potd-custom2.png) no-repeat 0 -32px;
	background-color: #383838;
	background-color: rgba(0,0,0,0.75);
	*background-color: #383838;
}
.potdSkin .rsPlayBtn:hover .rsPlayBtnIcon {
	background-color: rgba(0,0,0,0.9);
}
.potdSkin .rsBtnCenterer {
	position:absolute;
	left:50%;
	top:50%;
	width: 20px;
	height: 20px;
}
.potdSkin .rsCloseVideoBtn {
	right: 0;
	top: 0;
	width: 44px;
	height: 44px;
	z-index: 500;
	position: absolute;
	cursor: pointer;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	
}
.potdSkin .rsCloseVideoBtn.rsiOSBtn {
	top: -38px;
	right: -6px;
}

.potdSkin .rsCloseVideoIcn {
	margin: 6px;
	width: 32px;
	height: 32px;
	background: url('../png/potd-custom2.png') -64px 0;
	background-color: #383838;
	background-color: rgba(0,0,0,0.75);
	*background-color: #383838;
}
.potdSkin .rsCloseVideoIcn:hover {
	background-color: rgba(0,0,0,0.9);
}



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

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

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




/***************
*
*  8. Global caption
*
****************/
.potdSkin .rsGCaption {
	position: absolute;
	float: none;
	/*bottom: -79px;*/
	bottom: -123px;
	left: 0px;
	text-align: left;
	background: transparent;
	color: #000;
	padding: 10px 2px;
	width: 80%;
	font-size: 108%;
	z-index:34;
	/*height:57px;*/
	height: 127px;
	/*height: auto;*/
	font-family: 'PT Serif Caption';
	font-size: 18px;
}


@media only screen and (max-width: 1299px) {
	.potdSkin .rsGCaption {
		height:157px;
		bottom:-153px;
	}

	.royalSlider {
		margin-bottom:170px;
	}
}

@media only screen and (max-width: 1141px) {
	.potdSkin .rsGCaption {
		height:177px;
		bottom:-173px;
	}

	.royalSlider {
		margin-bottom:190px;
	}	
}

@media only screen and (max-width: 1007px) {
	.potdSkin .rsGCaption {
		height:197px;
		bottom:-193px;
	}

	.royalSlider {
		margin-bottom:210px;
	}	
}

@media only screen and (max-width: 959px) {
	.potdSkin .rsGCaption {
		bottom:-42px;
		width:100%;
		height:42px;	
	}
	.potdSkin .rsBullets{
		width: 40%;
		background: transparent;
	}

	.royalSlider {
		margin-bottom: 190px;
	}
}

@media only screen and (max-width: 875px) {
	.potdSkin .rsGCaption {
		bottom:-52px;
		width:100%;
		height:52px;	
	}

	.royalSlider {
		margin-bottom: 220px;
	}
}

@media only screen and (max-width: 801px) {
	.potdSkin .rsGCaption {
		bottom:-62px;
		height:62px;	
	}

	.royalSlider {
		margin-bottom: 240px;
	}
}

@media only screen and (max-width: 767px) {
	.potdSkin .rsGCaption {
		bottom:-62px;
		height:62px;	
	}

	.royalSlider {
		margin-bottom: 170px;
	}
}

@media only screen and (max-width: 667px) {
	.potdSkin .rsGCaption {
		bottom:-72px;
		height:72px;	
	}

	.royalSlider {
		margin-bottom: 190px;
	}
}

@media only screen and (max-width: 558px) {
	.potdSkin .rsGCaption {
		font-size:1em;
		bottom:-72px;
		height:72px;	
	}

	.royalSlider {
		margin-bottom: 180px;
	}
}

@media only screen and (max-width: 499px) {
	.potdSkin .rsGCaption {
		bottom:-82px;
		height:82px;	
	}

	.royalSlider {
		margin-bottom: 200px;
	}
}

@media only screen and (max-width: 438px) {
	.potdSkin .rsGCaption {
		bottom:-92px;
		height:92px;	
	}

	.royalSlider {
		margin-bottom: 220px;
	}
}

@media only screen and (max-width: 389px) {
	.potdSkin .rsGCaption {
		bottom:-120px;
		height:102px;	
	}

	.royalSlider {
		margin-bottom: 240px;
	}
}

@media only screen and (max-width: 341px) {
	.potdSkin .rsGCaption {
		bottom:-122px;
		height:122px;	
	}

	.royalSlider {
		margin-bottom: 260px;
	}
}