@charset "utf-8";

/* CSS for the loading div */
.sp-loading { font-size: 12px; font-size: 1.2rem; text-align: center; padding: 20px; border: 5px solid #E2E0DE; }


/* Element wrapper */
.sp-wrap { position: relative; display: none; font-size: 0; line-height: 0; margin: 0; }


/* Thumbnails */
.sp-thumbs { text-align: center; letter-spacing: -0.4em; margin: 0 15px; }
.sp-thumbs a {
	display: inline-block; letter-spacing: normal; width: -webkit-calc( 10% - 10px ); width: calc( 10% - 10px ); height: 44px; margin: 10px 5px 0; overflow: hidden;
	background-position: 50% 50%; background-size: cover; opacity: 0.4; filter: alpha(opacity=40);
	-webkit-transition: all .4s ease-out; -moz-transition: all .4s ease-out; -ms-transition: all .4s ease-out; transition: all .4s ease-out;
}
.sp-thumbs a:hover { opacity: 1; filter: alpha(opacity=100); }


/* Styles for the currently selected thumbnail */
.sp-thumbs a:active,
.sp-current { position: relative; opacity: 1!important; filter: alpha(opacity=100) !important; }


/* Image currently being viewed */
.sp-large { position: relative; top: 0; left: 0; overflow: hidden; margin: 0 20px; }
.sp-large a img { width: 100%; max-width: 100%; height: auto; }
.sp-large a { display: block; }


/* Panning Zoomed Image */
.sp-zoom { position: absolute; top: -50%; left: -50%; display: none; cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; }
.sp-zoom img { max-width: 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;
}

/* 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;
	}
}
