/***************
*
*  3. Thumbnails
*
****************/
.rsUni .rsThumbsVer {
	width:180px;
	height:660px;
	position:absolute;
	top:0;
	right:0;
	padding:40px 0;
}

.rsUni.rsWithThumbsVer .rsThumbsContainer {
	position:relative;
	width:100%;
}

.rsUni .rsThumb {
	float:left;
	overflow:hidden;
	width:180px;
	height:140px;
	border:1px solid #c3c3c3;
	padding:10px;
}

.rsUni .rsThumb img {
	width:100%;
	height:auto;
	display:block;
}

.rsUni .rsThumb.rsNavSelected {
	background:#fff;
	border:1px solid #015aa3;
}

.rsUni .rsThumb.rsNavSelected img {
	opacity:1;
}

/*
.rsUni .rsThumb.rsNavSelected .thumbIco {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 2px solid #FFF;
	border: 2px solid rgba(255,255,255,0.9);
	-webkit-backface-visibility: hidden;
}
*/
.rsUni .rsTmb {
	display:block;
}

/* Thumbnails arrow icons */
.rsUni .rsThumbsArrow {
	height:40px;
	width:180px;
	position:absolute;
	display:block;
	cursor:pointer;
	z-index:1;
	display:block!important;
}

.rsUni .rsThumbsArrow:hover {
}

.rsUni.rsWithThumbsVer .rsThumbsArrow {
	width:180px;
	height:40px;
}

.rsUni.rsWithThumbsVer .rsThumbsArrowLeft {
	height:40px;
	width:180px;
	top:0;
	left:0;
	background-color:#fff;
	background-image:url(slide-arrow.png);
	background-repeat:no-repeat;
	background-position:center top;
}

.rsUni.rsWithThumbsVer .rsThumbsArrowRight {
	bottom:0;
	left:0;
	background-color:#fff;
	background-image:url(slide-arrow.png);
	background-repeat:no-repeat;
	background-position:center top;
	transform:rotate(180deg);
}

.rsUni .rsThumbsArrowDisabled {
	opacity:1;
	cursor:default;
	background-image:url(slide-arrow-disabled.png)!important;
}

/***************
*
*  6. Play/close video button
*
****************/
.rsUni .rsPlayBtn {
	-webkit-tap-highlight-color:rgba(0,0,0,0.3);
	width:64px;
	height:64px;
	margin-left:-32px;
	margin-top:-32px;
	cursor:pointer;
}

.rsUni .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-universal.png) no-repeat 0 -32px;
	background-color:#383838;
	background-color:rgba(0,0,0,0.75);
	*background-color:#383838;
}

.rsUni .rsPlayBtn:hover .rsPlayBtnIcon {
	background-color:rgba(0,0,0,0.9);
}

.rsUni .rsBtnCenterer {
	position:absolute;
	left:50%;
	top:50%;
	width:20px;
	height:20px;
}

.rsUni .rsCloseVideoBtn {
	right:0;
	top:0;
	width:44px;
	height:44px;
	z-index:500;
	position:absolute;
	cursor:pointer;
	-webkit-backface-visibility:hidden;
	-webkit-transform:translateZ(0);
}

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

.rsUni .rsCloseVideoIcn {
	margin:6px;
	width:32px;
	height:32px;
	background:url(rs-universal.png) -64px 0;
	background-color:#383838;
	background-color:rgba(0,0,0,0.75);
	*background-color:#383838;
}

.rsUni .rsCloseVideoIcn:hover {
	background-color:rgba(0,0,0,0.9);
}

/***************
*
*  7. Preloader
*
****************/
.rsUni .rsPreloader {
	width:20px;
	height:20px;
	background-image:url(../preloaders/preloader-white.gif);
	left:50%;
	top:50%;
	margin-left:-10px;
	margin-top:-10px;
}

/***************
*
*  9. Suggested Overrides for left nav
*
****************/
.royalSlider .rsThumbsVer {
	right:auto;
	left:0;
}

.royalSlider .rsOverflow {
	margin-left:180px;
/* width of thumbnails container */
}

/***************
*
*  10. My Custom Overrides
*
****************/
.rsContainer {
	margin-left:40px;
	padding:10px;
}

.rsSlide {
	border:1px solid #c3c3c3;
	width:100%;
	height:100%;
	display:block;
}

.rsSlide img, .rsVideoContainer img {
	margin:0;
	padding:20px;
}

.rsVideoContainer {
	margin:0!important;
	padding:0!important;
	width:100%;
	height:auto;
	display:flex;
	justify-content:center;
	align-items:center;
	overflow: hidden;
}


.rsVideoContainer .player .video-wrapper {
	background-color:#fff!important;
}

.rsThumb {
	display:flex;
	justify-content:center;
	align-items:center;
	padding: 20px;
}

.rsThumb > img {}
.rsUni .rsThumb img {
	display:block;
	width: auto;
    height:auto;
	max-height:130px;
	max-width: 158px;
	margin:0;
}

@media (max-width: 768px) {
	.product-gallery {
		padding:0 15px;
	}
	
	#mobile-alert:before {
		content:'Please view on mobile device to see gallery';
		font-size:21px;
		padding-left:0;
	}
	
	#product-gallery {
		display:none;
	}
}

@media (min-width: 768px) {
	.royalSlider {
		width:768px;
		height:709px;
		padding-top:0;
	}
	
	.rsContainer {
		width:510px;
		height:709px;
	}
	
	.rsSlide {
		width:510px;
		height:660px;
		padding:0;
		overflow:hidden;
		display:flex;
		justify-content:center;
		align-items:center;
	}
	
	.rsSlide > img {
		display:flex;
		margin:0px 0 0 0;
		padding:0;
		width:auto;
		height:auto;
		max-width:480px;
		max-height:660px;
	}
	
	.rsVideoContainer {
		width:600px;
		height:338px;
		padding-top:90px;
		padding-bottom:56.25%;
	}
}

@media (min-width: 992px) {
	.royalSlider {
		width:992px;
		height:709px;
		padding-top:0;
	}
	
	.rsContainer {
		width:720px;
		height:709px;
	}
	
	.rsSlide {
		width:720px;
		height:662px;
		padding:0;
		padding-top: 10px;
		overflow:hidden;
		display:flex;
		justify-content:center;
		align-items:center;
	}
	
	.rsSlide > img {
		display:flex;
		margin:0;
		padding:0;
		width:auto;
		height:auto;
		max-width:700px;
		max-height:660px;
	}
	
	.rsVideoContainer {
		width:640px;
		height:360px;
		padding-top:90px;
		padding-bottom:56.25%;
	}
}

@media (min-width: 1200px) {
	.rsUni .rsThumbsVer {
		width:180px;
		height:660px;
		position:absolute;
		top:0;
		right:0;
		margin-top:20px;
		padding:40px 0;
	}
	
	.royalSlider {
		width:1200px;
		height:777px;
		padding-top:0;
	}
	
	.rsContainer {
		width:920px;
		height:709px;
	}
	
	.rsSlide {
		width:920px;
		height:700px;
		overflow:hidden;
		display:flex;
		justify-content:center;
		align-items:center;
	}
	
	.rsSlide > img {
		display:flex;
		margin:0;
		padding:0;
		width:auto;
		height:auto;
		max-width:920px;
		max-height:699px;
	}
	
	.rsVideoContainer {
		width:840px;
		height:473px;
		padding-top:90px;
		padding-bottom:56.25%;
	}
	
}

.rsVideoContainer img {width: 100%; height: auto !important; margin: 10px 0}

