/*jQuery BxSlider Lightbox
 * an extension for BxSlider
 * version 14.0
 */

/*RESET (just in case it wasn't done elsewhere)*/
.bxslb ul, .bxslb li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	list-style: none;
}

/*base styles for bxslb (shared)*/
.bxslb .bx-slider .bx-slide {
	cursor: pointer;
}

.bxslb .lightbox {
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 10000;
}

.bxslb .lightbox .bx-wrapper {
	margin-bottom: 0;
}

.bxslb .lightbox > .overlay {
	background-color: rgba(0, 0, 0, 0.9);
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 10000;
}

.bxslb .lightbox > .inner {
	position: relative;
	z-index: 10001;
}

.bxslb .hidden, .bxslb .hidden .bx-wrapper {
	/* the extra "bx-wrapper" declaration prevents an issue where the lightbox doesn't fully close until a slide is finished animating*/
	visibility: hidden;
	overflow: hidden;
	height: 0;
}

.bxslb .lightbox > .inner {
	/*this should match the lightbox slide width and the max-width media query */
	width: 680px;
	margin-left: -340px;
	left: 50%;
	top: 0;
	padding: 10px 10px 35px 10px;
	background: #000;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
}

.bxslb .lightbox:before {
	/*vertical centering trick*/
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.bxslb .lightbox .closebtn {
	height: 25px;
	width: 25px;
	position: absolute;
	right: 10px;
	bottom: 5px;
	background: url(-/media/shared/bxslider/images/bx_close_alt.png);
	background-repeat: no-repeat;
	cursor: pointer;
}

.bxslb .lightbox .counter {
	position: absolute;
	height: 25px;
	bottom: 0;
	left: 10px;
	color: #fff;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}

.bxslb .lightbox .bx-wrapper .bx-viewport {
	border: none;
	background: #000;
	box-shadow: none;
	left: 0;
}

@media screen and (max-width: 700px) {
	/*700 is based on the lightbox width + padding */
	.bxslb > .lightbox > .inner {
		left: 0;
		margin-left: 0;
		width: 100%;
		top: 0;
		margin-top: 0;
		display: inline-block;
		vertical-align: middle;
		padding: 0;
		background: none;
	}

	.bxslb > .lightbox > .overlay {
		background-color: #000;
	}

	.bxslb > .lightbox > .inner > .counter {
		bottom: -30px;
	}

	.bxslb > .lightbox > .inner > .closebtn {
		right: 5px;
		bottom: -30px;
	}
}

/*make the lightbox huge, but only if the screen is also huge*/
@media screen and (min-width: 1000px) and (min-height: 800px) {
	.bxslb .lightbox > .inner {
		width: 960px;
		margin-left: -480px;
	}
}

