/* Needed for the lightbox */

html, body {
	height: auto;
	width: 100%;
}

/* CSS for the loading div */

.sp-loading {
	text-align: center;
	max-width: 310px;
	padding: 15px;
}

/* Element wrapper */

.sp-wrap {
	display: none;
	line-height: 0;
	font-size: 0;
	border-radius: 3px;
	position: relative;
	margin: 0;
	float: left;
	text-align: left;
	/**************
	  Set max-width to your thumbnail width
	***************/

	width: 300px;
}

/* Thumbnails */

.sp-thumbs {
	text-align: left;
	display: inline-block;
}
.sp-thumbs img {
	min-height: 50px;
	min-width: 50px;
	max-width: 50px;
}
.sp-thumbs a:link, .sp-thumbs a:visited {
	width: 50px;
	height: 50px;
	overflow: hidden;
	opacity: .3;
	display: inline-block;
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-transition: all .2s ease-out;
	-moz-transition: all .2s ease-out;
	-ms-transition: all .2s ease-out;
	-o-transition: all .2s ease-out;
	transition: all .2s ease-out;
	border:1px solid #000;
	margin-right: 15px;
	margin-bottom: 15px;
}
.sp-thumbs a:hover {
	opacity: 1;
}

/* Styles for the currently selected thumbnail */

.sp-thumbs a:active, .sp-current {
	opacity: 1!important;
	position: relative;
	border:1px solid #eb3e9d!important;
}

/* Image currently being viewed */

.sp-large {
	position: relative;
	overflow: hidden;
	top: 0;
	left: 0;
	/* padding: 20px; */
	border:.5px solid #959595;
	text-align: center;
	margin-bottom: 30px;
	height: 300px!important;
	width: 300px!important;
}
.sp-large a img {
	max-width: 100%;
	height: auto;
}
.sp-large a {
	display: block;
	padding: 15px;
}

/* Panning Zoomed Image */

.sp-zoom {
	/* position: absolute;
	left: -50%;
	top: -50%;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in; */
	display: none!important;
}
/* Lightbox */

.sp-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, .9);
	z-index: 500;
	display: none;
	cursor: pointer;
}
.sp-lightbox img {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 90%;
	max-height: 90%;
	transform: scale(1.5)
}
.sp-lightbox:after{
	position: absolute;
	content: "";
	right: 20%;
	top: 10%;
	width: 40px;
	height: 40px;
	z-index: 3;
	/* background: url(../../SiteCollectionImages/Tauron24/imgs/single-products/sh531-close.png);) no-repeat rgba(0,0,0,0.55); */
}
/* .sp-lightbox:hover:after{background-position: bottom;} */
#sp-prev, #sp-next,#sp-close {
	position: absolute;
	top: 50%;
	z-index: 501;
	width: 32px;
  height: 67px;
	box-sizing: border-box;
}
#sp-prev {left: 20%;background-image: url(../../SiteCollectionImages/Tauron24/imgs/single-products/gallery-arrow-left.png);background-repeat: no-repeat;}
/* #sp-prev:before {
	content: '';
	border: 7px solid transparent;
	border-right: 15px solid #fff;
	position: absolute;
	top: 16px;
	left: 7px;
} */
#sp-next {
	right: 20%;
	background-image: url(../../SiteCollectionImages/Tauron24/imgs/single-products/gallery-arrow.png);background-repeat: no-repeat;)
}
#sp-close{right: 20%; top: 10%; width: 40px; height: 40px; background: url(../../SiteCollectionImages/Tauron24/imgs/single-products/sh531-close.png)no-repeat rgba(0,0,0,0.55);}


/* #sp-next:before {
	content: '';
	border: 7px solid transparent;
	border-left: 15px solid white;
	position: absolute;
	top: 16px;
	left: 18px;
} */
#sp-prev:hover, #sp-next:hover,#sp-close:hover {
	background-position: bottom;
}





/* Tweak styles for small viewports */

@media screen and (max-width: 400px) {
	.sp-wrap {
		margin: 0 0 15px 0;
	}
	#sp-prev, #sp-next {
		top: auto;
		margin-top: 0;
		bottom: 25px;
	}
}
@media all and (max-width:880px){
	.sp-lightbox img{transform: scale(1);}
	#sp-prev, #sp-next{top: 47%;}
}
@media all and (max-width:700px){
	#sp-next,#sp-close{right: 5%}
	#sp-prev{left: 5%;}
}
@media all and (max-width:440px){
	#sp-prev, #sp-next{top: 75%;}
}
