#gallery { background: #000 }

.carousel { background: #ececec; }
/* Thumbnail Box */
.thumbnails { 
	list-style: none;
	width: 80%;
	margin: 1.5em auto 1em;
	clear: both;
	padding: 0;
}

#gallery-detail .thumbnails { 
	list-style: none;
	width: 93%;
	margin: 1em auto;
}

.thumbnails .span3 {
	width: 23.404255319148934% !important;
	display: block;
	display: inline-block;
	width: 100%;
	min-height: 30px;
	margin-left: 1%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.thumbnails>li {
	display: inline-block;
	margin-left: 20px;
}
.thumbnail {
	display: block;
	padding: 0.5em;
	text-align: left;
	font-weight: 300;
	line-height: normal;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}
.thumbnail span {
	padding: 0.5em;	
}
.thumbnail img {
	width: 100%;
	padding-bottom: 0.5em;
}
.thumbnail:hover {
	background: #334D85;	
}
.thumbnail:hover a {
	color: #fff;	
}
/* Carousel Control */
.control-box {
    text-align: right;
    width: 100%;
}
.carousel-control{
	font-family: Lato;
	background: #334D85;
	opacity: 0.9;
	border: 0px;
	border-radius: 0.5em;
	display: inline-block;
	font-size: 2.4em;
	font-weight: 300;
	line-height: 0em;
	padding: 0.4em 0.6em 0.5em 0.35em;
	position: absolute;
	top: 45%;
	height: 1em;
	width: 1em;
}
.carousel-control.left { margin-left: 5%;}
.carousel-control.right { margin-right: 5%;}
.carousel-control:hover {
	background: #BF3629;
}
.gallery-album {
	display: none;
}
.gallery-album .gallery-title {
	margin-bottom: 2em;
}

/* Mobile Only */
@media (max-width: 767px) {
    .page-header, .control-box {
    text-align: center;
    } 
}
@media (max-width: 479px) {
    .caption {
    word-break: break-all;
    }
}