/******************************
*
*  RoyalSlider Default Inverted Skin 
*
*    1. Arrows 
*    2. Bullets
*    3. Thumbnails
*    4. Tabs
*    5. Fullscreen button
*    6. Play/close video button
*    7. Preloader
*    8. Caption
*    
* 
*  Feel free to edit anything
*  If you don't some part - just delete it
* 
******************************/
@media screen and (max-width: 380px) {
  .myCustomSkin .rsGCaption {
    display: none;
  }
}

@media screen and (max-width: 720px) {
  .thumbTitle{
    display: none !important;
    }
  
  .galleryTextThumbs .rsThumbs.rsThumbsVer {
    width: 16.3%;
  }
  
  
  .galleryTextThumbs .rsOverflow, .royalSlider.galleryTextThumbs {
    width: 83.7%
  }
  .myCustomSkin .rsThumb img {
    float: left;
  	width: 70px !important;
  	height: 70px !important;
  	margin-right: 8px !important;
  }
}

@media screen and (min-width: 721px)  {
  .new-royalslider-1 .rsThumbsVer {
    width: 49.4%;
  }
}

.galleryTextThumbs .rsTmb {
  padding: 12px !important;
}

.new-royalslider-1 .rsThumbsVer {
  z-index: 0;
}

.home-page .myCustomSkin.royalSlider {
	margin-bottom: 30px;
}

/* Background */
.myCustomSkin,
.myCustomSkin .rsOverflow,
.myCustomSkin .rsSlide,
.myCustomSkin .rsVideoFrameHolder,
.myCustomSkin .rsThumbs {
	background: rgba(0,0,0,0.6);
	color: #222;
}

.galleryTextThumbs .rsThumbs .rsThumb {
  border-bottom: 1px solid #383838 !important;
}

.right {
  float: right;
}

.thumbTitle {
  display: block;
  overflow: hidden;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  width: 100%;
}

.new-royalslider-1 .rsThumb {
  height: auto !important;
}

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

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

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

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

	position: absolute;	
	cursor: pointer;	
	background: url('/rs-default-inverted.png');

	background-color: #FFF;
	background-color: rgba(255,255,255, .75);
	*background-color: #FFF;
	
	border-radius: 2px;
}
.myCustomSkin .rsArrowIcn:hover {
	background-color: rgba(255,255,255,0.9);
}

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

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

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


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

.myCustomSkin .rsBullets {
	position: relative;
	z-index: 35;
	padding-top: 4px;
	width: 100%;
	height: auto;
	margin: 0 auto; 

	text-align: center;
	line-height: 5px;
	overflow: hidden;
}
.myCustomSkin .rsBullets * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
.myCustomSkin .rsBullet {
	width: 5px;
	height: 5px;
	display: inline-block;
	*display:inline; 
	*zoom:1;
	padding: 6px;
}
.myCustomSkin .rsBullet span {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #BBB;
}
.myCustomSkin .rsBullet.rsNavSelected span {
	background-color: #000;
}





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

.myCustomSkin .rsThumbsHor {
	width: 100%;
	height: 72px;
}
.myCustomSkin .rsThumbsVer {
	width: 96px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}
.myCustomSkin.rsWithThumbsHor .rsThumbsContainer {
	position: relative;
	height: 100%;
}
.myCustomSkin.rsWithThumbsVer .rsThumbsContainer {
	position: relative;
	width: 100%;
}
.myCustomSkin .rsThumb {
	float: left;
	overflow: hidden;
	width: 96px;
	height: 72px;
}
.myCustomSkin .rsThumb img {
  float: left;
	width: 50px;
	height: 50px;
	margin-right: 10px;
}
.myCustomSkin .rsThumb.rsNavSelected {
}
.myCustomSkin .rsThumb.rsNavSelected img {
	opacity: 1;
}
.myCustomSkin .rsTmb {
  margin: 0;
  padding: 10px 0 11px 10px;
  float: left;
  border-bottom: 1px solid #ccc;
  border-color: rgba(128,128,128,0.4);
  position: relative;
  width: 100%;
}

/* Thumbnails with text */
.myCustomSkin .rsTmb h5 {
	font-size: 16px;
	margin: 0;
	padding: 0;
	line-height: 30px !important;
	color: #ffffff !important;
}
.myCustomSkin .rsTmb span {
	color: #DDD;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 18px;
}

.myCustomSkin .rsTmb a {
	color: #DDD;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 18px;
}



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

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

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

.myCustomSkin.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; }
.myCustomSkin.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; }

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

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

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




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

.myCustomSkin .rsTabs {
	width: 100%;
	height: auto;
	margin: 0 auto;
	text-align:center;
	overflow: hidden; padding-top: 12px; position: relative;
}
.myCustomSkin .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;
}
.myCustomSkin .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;
}
.myCustomSkin .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;
}
.myCustomSkin .rsTab:active { 
	border: 1px solid #D9D9DD;   
	background-color: #f4f4f4;
	box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
.myCustomSkin .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
*
****************/

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

	/*background: url('rs-default-inverted.png') 0 0;*/
	background-color: #FFF;
	background-color: rgba(255,255,255,0.75);
	*background-color: #FFF;
	border-radius: 2px;

}
.myCustomSkin .rsFullscreenIcn:hover {
	background-color: rgba(255,255,255,0.9);
}
.myCustomSkin.rsFullscreen .rsFullscreenIcn {
	background-position: -32px 0;
}





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

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

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

.myCustomSkin .rsCloseVideoIcn {
	margin: 6px;
	width: 32px;
	height: 32px;
	background: url('rs-default-inverted.png') -64px 0;
	background-color: #FFF;
	background-color: rgba(255,255,255,0.75);
	*background-color: #FFF;
}
.myCustomSkin .rsCloseVideoIcn:hover {
	background-color: rgba(255,255,255,0.9);
}



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

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

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




/***************
*
*  8. Global caption
*
****************/
.myCustomSkin .rsGCaption {
	position: absolute;
	float: none;
	bottom: 0px;
	left: 0px;
	text-align: left;
	font-family: 'Open Sans';

	background: #FFF;
    background: rgba(0,0,0, 0.75);
  line-height: 1.3em;
	color: #FFFFFF;
	padding: 12px 8px;
	width: 100%;
	font-size: 2em;
	border-radius: 2px;
	height: 15%;
	min-height: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  width: 100%;
}
