#image-gallery {
	position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;
	
	background-color: rgba(255, 255 , 255, 0.9);
	background-color: #bfcbde;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	z-index: 1000;
}
#image-gallery-title {
	position: absolute; top: 0; left: 0;
	max-width: 400px;
	padding: 20px 60px 20px 20px;
	
	color: #FFF;
	
	background-color: #5D7391;
	
	z-index: 2;
}
.image-gallery-control {
	font-size: 2.5em;
	color: rgba(0, 0, 0, 0.3);
	text-align: left;
	
	-webkit-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	
	cursor: pointer;
	
	z-index: 1;
}
.image-gallery-control:hover {
	color: #5e79a2;
}

.previous-image {
	position: absolute; top: 0; left: 0; right: 50%; bottom: 0;
}
.previous-image .control {
	position: absolute; top: 50%; left: 0;
	height: 40px; width: 40px;
	padding: 20px;
	margin-top: -40px;
	
	line-height: 40px;
	text-align: center;
}
.next-image {
	position: absolute; top: 0; left: 50%; right: 0; bottom: 0;
	
	text-align: right;
}
.next-image .control {
	position: absolute;	top: 50%; right: 0;
	height: 40px; width: 40px;
	padding: 20px;
	margin-top: -40px;
	
	line-height: 40px;
	text-align: center;
}

.close-gallery {
	position: absolute; top: 0; right: 0;
	padding: 20px;
	width: 20px; height: 20px;
	
	font-size: 2em;
	text-align: center;
	line-height: 1em;
	
	z-index: 3;
}
.image-gallery-paging {
	position: absolute; bottom: 0px; left: 0; right: 0;
	
	text-align: center;

	z-index: 3;
}
.image-gallery-paging-item {
	display: inline-block;
	width: 50px; height: 50px;
	margin: 5px;
	
	/* background-color: #FFF; */
	background-position: center center;
	background-size: cover;
	
	border: solid 1px #5e7597;

/*
	-webkit-border-radius: 100%;
	border-radius: 100%;
*/


	
	-webkit-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	
	cursor: pointer;
	
	opacity: 1;
}
.image-gallery-paging-item:hover {
	opacity: 1;
}
.image-gallery-paging-item.active {
	-webkit-box-shadow: 0 0 0 2px #e7ebf6;
	box-shadow: 0 0 0 2px #e7ebf6;
	
	opacity: 1;
}


.auction-gallery.inline {
	background-color: #bfcbde;
}
.auction-gallery.inline .img {
	display: inline-block;
	float: none;
	height: 60px;
	width: auto;
	padding: 1px;
	
	box-sizing: border-box;
	
	cursor: pointer;
}
.auction-gallery.inline .img:first-child {
	padding-left: 0;
}
.auction-gallery.inline .img:last-child {
	padding-right: 0;
}
.auction-gallery.inline .img:nth-child(4n+1) {
	clear: none;
}
.inline-gallery-main-image {
	width: 100%;
	height: 0;
	padding-bottom: 66.7%;
	
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}
.inline-gallery-main-image:after {
	clear: both;
}
.inline-gallery-previews {
	position: relative;
	height: 60px;
	padding: 1px 0 1px 0;
	margin: 0 2px;
	
	white-space: nowrap;
	
	overflow-x: auto;
	overflow-y: hidden;
	
	background-color: #
}
.inline-gallery-previews-list {
	position: absolute;
	width: 100%;
}