﻿/* Needed for the lightbox */


/* CSS for the loading div */

.sp-loading {
	text-align: center;
	width: 50%;
	border-radius: 3px;
	font-size: 12px;
	color: #888;
	float:left;
}
.sp-loading img{width:100%;height:auto;}
.sp-loading span{line-height:80px;}
/* Element wrapper */


.sp-wrap {
	display: none;
	line-height: 0;
	font-size: 0;
	background: #eee;
	position: relative;
	margin: 20px 0 0 0 ;
	float: left;
	/**************
	  Set max-width to your thumbnail width
	***************/
	
	width:50%;
}
.sp-wrap img{width:100%;}
.pro_img ul{ display:block;width:47%;margin-left: 3%;float:left;margin-top: 20px;}

/* Thumbnails */

.sp-thumbs {
	width:100%;
	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: 23%;
	margin:5px 1%;
	height: 70px;
	overflow: hidden;
	opacity: 0.8;
	display: inline-block;
	background-size: cover;
	background-position: center;
	-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;
}
.sp-thumbs a:hover {
	opacity: 1;
}

/* Styles for the currently selected thumbnail */

.sp-thumbs a:active, .sp-current {
	opacity: 1!important;
	position: relative;
}

/* Image currently being viewed */

.sp-large {
	position: relative;
	overflow: hidden;
	top: 0;
	left: 0;
}
.sp-large a img {
	width:100%;
	max-width: 100%;
	height: auto;
}
.sp-large a {
	display: block;
}

/* Panning Zoomed Image */

.sp-zoom {
	position: absolute;
	left: -50%;
	top: -50%;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
	display: none;
}
/* 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%;
	border: 2px solid #fff;
}
#sp-prev, #sp-next {
	position: absolute;
	top: 50%;
	margin-top: -25px;
	z-index: 501;
	color: #fff;
	padding: 14px;
	text-decoration: none;
	background: #000;
	border-radius: 25px;
	border: 2px solid #fff;
	width: 50px;
	height: 50px;
	box-sizing: border-box;
	transition: .2s;
}
#sp-prev {
	left: 10px;
}
#sp-prev:before {
	content: '';
	border: 7px solid transparent;
	border-right: 15px solid #fff;
	position: absolute;
	top: 16px;
	left: 7px;
}
#sp-next {
	right: 10px;
}
#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 {
	background: #444;
}
.pro_img ul li{line-height:40px;margin-left:20px;float:left;}
.pro_img ul li.pname{width:100%; text-align:center; font-size:24px; font-weight:500; line-height:60px; border-bottom:#CCC 1px dashed;}
.pro_img ul li.buying{ line-height:60px; background:#ff7300; text-align:center; margin:20px;-webkit-transition:all 0.5s linear;-moz-transition:all 0.5s linear;-ms-transition:all 0.5s linear;-o-transition:all 0.5s linear;transition:all 0.5s linear; }
.pro_img ul li.buying:hover{background:red;}
.pro_img ul li.buying .cart {background: url(../Images/cart.png) no-repeat;width:40px;height:40px; display:inline-block; vertical-align: middle;margin-right:20px;}
.pro_img ul li.buying a{ font-size:24px;color:#fff; display:block;width:100%;}
.pro_img ul li.proserver { text-align:center; }
.pro_img ul li.proserver a{ font-size:14px; color:#0994ee;}
.pro_img ul li.proserver a:hover{color:#ff7300;}
/* Tweak styles for small viewports */
@media screen and (max-width: 768px) {

	.sp-wrap,.sp-loading {
		margin: 0 0 15px 0;
		width:98%;
		max-width:98%;
		float: none;
	}
	.pro_img ul{ display:block;width:98%;float: none;}

	#sp-prev, #sp-next {
		top: auto;
		margin-top: 0;
		bottom: 50px;
	}
}
