/* Preview */
.gallery-preview {
	cursor: pointer;
	position: relative;
}
.gallery-preview .open-toggle {
	position: absolute;
	top: 0;
	left: 0;
	background-color: white;	
	width: 37px;	
	font-size: 0;
}
.gallery-preview .counter {
	position: absolute;
	top: 0;
	left: 38px;
	height: 37px;
	line-height: 37px;
	text-align: center;
	width: 37px;
	color: #222222;
	background-color: white;
}
.gallery-preview:hover .icon {
	fill: #D7392D;
}

/* Overlay */
.gallery-overlay {
	display: none;
	position: absolute;
	z-index: 210;
	width: 100%;
	background-image: url(../images/loading.gif);
	background-position: center center;
	background-repeat: no-repeat;
}
.gallery-stage {
	position: absolute;
	top: 75px;
	left: 125px;
	right: 125px;
	bottom: 100px;
	z-index: 210;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}
.gallery-caption {
	color: white;
	position: absolute;
	bottom: 10px;
	text-align: center;
	left: 0;
	right: 0;
	height: 50px;
}
.gallery-playlist {
	display: none;
}

/* Controls */
.gallery-overlay .browse {
	position: absolute;	
	cursor: pointer;
	z-index: 220;
}
.gallery-overlay polygon,
.gallery-overlay path {
	fill: white;
}
.gallery-overlay .close {
	top: 50px;
	right: 50px;
}
.gallery-overlay .prev {
	top: 50%;
	margin-top: -20px;
	left: 50px;	
}
.gallery-overlay .next {
	top: 50%;
	margin-top: -20px;
	right: 50px;
}
.gallery-open #overlay {
	background-color: rgba(0, 0, 0, 0.95);
	z-index: 200;
}
.browse:hover polygon,
.browse:hover rect,
.browse:hover path {
	fill: #D7392D;
}
.gallery-overlay .browse.disabled {
	display: none;
}