.image-gallery-object {
	margin-bottom: 20px;
}

.image-gallery-object .gallery-row {
	list-style: none;
	margin-bottom: 5px;
	padding: 0px;
}
.image-gallery-object .gallery-row li {
	display: inline-block;
	float: none;
	height: 100%;
	vertical-align: middle;
}
.image-gallery-object .gallery-row img {
	cursor: pointer;
}
.image-gallery-object .gallery-row img {
	cursor: pointer;
}
.image-gallery-display .modal-body img {
	margin: 0 auto;
}
.controls-container {
	font-size: 11px;
	font-weight: bold;
}
.controls-container .previous {
	cursor: pointer;
	position: absolute;
	left: 15px;
	top: 0px;
	display: table-cell;
	width: 50%;
	height: 100%;
}
.controls-container .next {
	cursor: pointer;
	position: absolute;
	right: 15px;
	top: 0px;
	display: table-cell;
	width: 50%;
	height: 100%;
}
.gallery-index {
	position: absolute;
	top: 33px;
	right: -17px;
}
.gallery-index .label {
	font-size: 1.3em;
	font-weight: 800;
}
.gallery-instructions {
	padding: 0 15px;
	font-size: small;
	text-align: center;
	font-style: italic;
}
.gallery-instructions p {
	padding: 0 15px;
}
.image-gallery-display .modal-body .img-responsive {
    max-height: calc(100vh - 120px);
}
.image-gallery-display .modal {
    text-align:center;
}
.image-gallery-display .modal-dialog {
    display: inline-block;
    width: auto;
}
.image-gallery-display .controls.previous:hover::before {
	color: #FFF;
	content: "\e079";
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-size: 3.0em;
	left: 40px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: absolute;
	text-shadow: 0 1px 2px rgba(0,0,0,.6);
	top: 50%;
}
.image-gallery-display .controls.next:hover::after {
	color: #FFF;
	content: "\e080";
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-size: 3.0em;
	right: 40px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: absolute;
	text-shadow: 0 1px 2px rgba(0,0,0,.6);
	top: 50%;
}
