.rebox {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 100%;
	background: #000;
	/* background: url(data:image/png;
	base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4T2NkYGDYDMRkA8ZRAxhGw4BhNAyA+WAYpAMAIFgLQfO9BoEAAAAASUVORK5CYII=);background: rgba(0,0,0,.7);
	cursor: pointer;
	-webkit-filter: none!important */
}

.rebox * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box
}

.rebox-contents {
	position: absolute;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	text-align: center
}

.rebox-contents .rebox-content {
	max-width: 100%;
	max-height: 100%;
	 /* border: 5px solid #fff; 
	
	box-shadow: 0 0 5px #eee  */
}

.rebox-loading {
	position: absolute;
	top: 48%;
	left: 50%;
	margin: -16px 0 0 -16px;
	width: 31px;
	height: 31px
}

.rebox-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1000;
	display: none;
	width: 100%;
	background: #000;
	background: rgba(0,0,0,.7);
	text-align: center
}

.rebox-caption p {
	display: inline-block;
	margin: 0 auto;
	padding: 10px;
	max-width: 70%;
	color: #fff;
	font-size: 12px;
	line-height: 18px
}

.rebox-button {
	position: absolute;
	z-index: 9999;
	/* height: 40px; */
	min-width: 40px;
	/* -webkit-border-radius: 32px;
	-moz-border-radius: 32px;
	border-radius: 32px;
	background: #000; */
	color: #fff;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	/* font-size: 24px;
	line-height: 40px; */
	/* opacity: .4; */
	/* -webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	-ms-border-radius: 32px;
	-ms-transition: all .3s */
}

.rebox-button:focus,.rebox-button:hover {
	/* opacity: 1;
	-webkit-transform: scale(1.4);
	-moz-transform: scale(1.4);
	transform: scale(1.4);
	-ms-transform: scale(1.4) */
}

.rebox-close {
	top: 10px;
	right: 10px
}

.rebox-next {
	top: 48%;
	right: 10px
}

.rebox-prev {
	top: 48%;
	left: 10px
}

.rebox-loading {
	top: 48%;
	left: 50%;
	-webkit-animation-name: spin;
	-webkit-animation-duration: 2s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: spin;
	-moz-animation-duration: 2s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;
	-ms-animation-name: spin;
	-ms-animation-duration: 2s;
	-ms-animation-iteration-count: infinite;
	-ms-animation-timing-function: linear;
	animation-name: spin;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: linear
}

@-ms-keyframes spin {
	from {
		-ms-transform: rotate(0)
	}

	to {
		-ms-transform: rotate(360deg)
	}
}

@-moz-keyframes spin {
	from {
		-moz-transform: rotate(0)
	}

	to {
		-moz-transform: rotate(360deg)
	}
}

@-webkit-keyframes spin {
	from {
		-webkit-transform: rotate(0)
	}

	to {
		-webkit-transform: rotate(360deg)
	}
}

@keyframes spin {
	from {
		transform: rotate(0)
	}

	to {
		transform: rotate(360deg)
	}
}
