@media (min-width: 768px) {
	#gallery.row,
	#gallery-nav .gallery-nav-inner {
	    width: 750px;
	    max-width: none;
	}
	#content div.masthead {
	    /*height: 300px;*/
	}
}

@media (min-width: 992px) {
	#gallery.row,
	#gallery-nav .gallery-nav-inner {
	    width: 970px;
	    max-width: none;
	}
}

@media (min-width: 1400px){
	#gallery.row,
	#gallery-nav .gallery-nav-inner {
	    width: 1370px;
	    max-width: none;
	}
}

@media screen and (max-width: 768px) and (min-width: 481px) {
	#gallery.row .columns:nth-of-type(2) {
		padding-top: 0;
	}
}

.sourcesanpro {
	font-family: 'Source Sans Pro', sans-serif;
	text-transform: uppercase;
	color: #6486c5;
	font-size: 1.5625rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.2rem;
    margin-bottom: 1.875rem;
	margin-top:2rem;
}

.clear {
	clear: both;
}

#gallery #load-more {
	text-align: center;
}

#gallery #load-more span {
	text-transform: capitalize;
    font-size: 19px;
    background: #604F3E;
    padding: 10px 15px;
    display: inline-block;
    clear: both;
    color: white;
    cursor: pointer;
}

#back-to-gallery {
	float: right;
}

#gallery-title {
	float: left;
}

#breadcrumbs-nav {
	float: left;
}

#content div.masthead {
    width: 100%;
    position: relative;
    text-align: center;
    margin-bottom: 35px;
    padding-left: 10px;
    padding-right: 10px;
}

#gallery-nav {
	width: 100%;
	text-align: center;
	margin-bottom: 30px;
}

#gallery-nav .gallery-nav-inner {
	margin: 0 auto;
}

#gallery-nav ul {
	margin-left: 0;
}

#gallery-nav ul li {
	display: inline-block;
	list-style: none;
	border-left: 1px solid #008CBA;
    padding: 0 10px;
}

#gallery-nav ul li a:hover {
	text-decoration: underline;
}

#gallery-nav ul li.current a {
	text-decoration: underline;
}

#gallery-nav ul li:first-child {
	border: none;
	padding-left: 0;
}

#gallery-nav ul li a {
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
}

#gallery.row .columns+.columns:last-child {
	float: left;
}

#gallery.row .columns {
	margin-bottom: 30px;
	text-align: center;
}

#gallery.row .columns img.wp-post-image {
	margin-bottom: 15px;
	box-shadow: 0px 1px 2px #ccc;
}

#gallery.row .columns a {
	display: block;
	text-decoration: none;
    font-size: 19px;
    text-align: center;
    text-transform: uppercase;
    max-width: 400px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-weight: normal;
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
    display: block;
    max-width: 100%;
    height: auto;
    line-height: 1;
}

.single-gallery #breadcrumbs-nav ul {
	margin-left: 0;
}

.single-gallery #breadcrumbs-nav ul li {
	display: inline-block;
}

.single-gallery #breadcrumbs-nav a,
.single-gallery #back-to-gallery a  {
	font-weight: normal;
	text-transform: uppercase;
}

#single-gallery {
	clear: both;
}

#single-gallery a {
	text-decoration: none;
}

#single-gallery .media-carousel .carousel-control {
	width: 5%;
}

#single-gallery .media-carousel {
	margin-bottom: 36px;
}

#single-gallery .media-carousel .item {
	height: 500px;
	max-width: 100%;
}

#single-gallery .media-carousel.media-embed .item {
/*	height: inherit;
	max-height: 500px;*/
	height: 500px;
}

#single-gallery .media-carousel .item img {
    position: absolute;
    left: 0;
    top: 50%;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.carousel-control.left,
.carousel-control.right {
	background: none;
}

#single-gallery .album-carousel {
	padding: 0 41px;
}

#single-gallery .album-carousel .item {
	min-height: 78px;
	width: 100%;
}

#single-gallery .carousel img {
	width: 100%;
	height: auto;
	cursor: pointer;
}

#single-gallery .carousel-control {
	opacity: 1;
}

#single-gallery  .album-carousel .carousel-control {
	opacity: 1;
	top: -17px;
}

#single-gallery .album-carousel .left.carousel-control,
#single-gallery .album-carousel .right.carousel-control {
	width: auto;
}

#single-gallery .album-carousel .left.carousel-control {
	padding-left: 0.9375rem;
}

#single-gallery .album-carousel .right.carousel-control {
	padding-right: 0.9375rem;
}

#single-gallery .album-carousel .left.carousel-control span {
	background: #604F3E;
}

#single-gallery .album-carousel .right.carousel-control span {
	background: #604F3E;	
}

#single-gallery .glyphicon-chevron-left:before {
	content: "<";position: relative;
    top: -3px;
    left: -1px;
}

#single-gallery .glyphicon-chevron-right:before {
	content: ">";	
	position: relative;
    top: -3px;
    right: -1px;
}

#single-gallery .carousel-control .glyphicon-chevron-left, 
#single-gallery .carousel-control .glyphicon-chevron-right, 
#single-gallery .carousel-control .icon-next, 
#single-gallery .carousel-control .icon-prev {
	width: 40px;
	height: 40px;
}

#single-gallery .large-2 {
	width: 16.6%;
	max-height: 78px;
	overflow: hidden;
}

#single-gallery .columns {
	padding: 0 0.5%;
}

#single-gallery .columns+.columns:last-child {
	float: left;
}

#single-gallery .small-screen {
	display: none;
}
#single-gallery .large-screen {
	display: block;
}

@media screen and (max-width: 1399px) {
	#single-gallery .small-screen {
		display: block;
	}
	#single-gallery .large-screen {
		display: none;
	}
	#single-gallery .media-carousel {
		margin-bottom: 2%;
	}
}

@media screen and (max-width: 990px) {
	#single-gallery .media-carousel {
		margin-bottom: 0;
	}
	#single-gallery .media-carousel.media-embed {
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 767px) {
	.album-carousel {
		display: none;
	}
}

@media (max-width: 640px){
	#gallery.row .columns a {
		max-width: none;
	}
}