/*
 * Gallery Styles
 * drew@funkhuas.us
 */

	.gallery {
		position: relative;
	}
	.gallery-image {
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
		position: absolute;
		width: 100%;
	}
	.gallery-image img {
		display: none;
	}

	/* Blog Post Gallery - Preview Mode */
	.single-gallery {
		margin: 2em 0;
		cursor: pointer;
	}
	.gallery-meta {
		position: absolute;
		font-size: 22px;
		z-index: 10;
		text-align: right;
		z-index: 150;		
		font-family: "BemboStd", "Palatino Linotype", "Book Antiqua", Palatino, serif;	 	 	
		top: 20px;
		right: 20px;
		color: #F4F5F0;
	}
	
	/* Overlay Gallery */
	.fullscreen-gallery {
		background-color: #f4f5f0;
		color: #49565c;
		position: relative;
		height: 100vh;
		width: 100%;
		overflow: hidden;
	}
	.fullscreen-gallery .meta {
		position: absolute;
		top: 25px;
		left: 30px;
		text-align: left;
		margin: 0;
	}	
	.fullscreen-gallery .meta .title {
		color: inherit;		
		font-size: 14px;		
		font-family: "P22JohnstonUnderground", Helvetica, Arial, sans-serif;
		line-height: 1.4;
	}	
	.fullscreen-gallery .meta .title span {
		display: inline-block;
		margin-bottom: 0;
	}		
	.fullscreen-gallery .meta .title .line-1,	
	.fullscreen-gallery .meta .title .line-2 {
		text-transform: uppercase;
		font-size: 14px;		
		color: inherit;		
	}	
	.fullscreen-gallery .meta .title .line-3,	
	.fullscreen-gallery .meta .title .line-4 {
	    font-family: "BemboStd", "Palatino Linotype", "Book Antiqua", Palatino, serif;		
		color: inherit;	    
	}	
	.gallery-stage {
		height: calc(100vh - 85px - 85px);
		width: calc(100% - 85px - 85px);
		overflow: hidden;
		padding: 85px;
	}
	.gallery-stage .slide {
		float: left;
		height: calc(100vh - 85px - 85px);
		width: calc(100vw - 85px - 85px);
		background-size: contain;
		background-position: center center;
		background-repeat: no-repeat;
 		margin: 85px;
		background-color: transparent;
		position: relative;
	}
	.gallery-stage .slide img {
		display: none;
	}
	.gallery-stage .text-slide .wrap {
		display: table-cell;
		vertical-align: middle;
		width: calc(100vw - 300px);
		height: calc(100vh - 85px - 85px);
		padding: 0 150px;
	}
	.gallery-stage .text-slide .entry {
		width: 520px;
		max-width: 520px;
		padding: 0;
		margin: 0 auto;
	}
	.gallery-caption {
	    left: 0;
	    margin-top: 35px;
	    position: absolute;
	    right: 0;
	    text-align: center;
	    top: 100%;
	}
	.is-mobile .gallery-caption {
		display: none;
	}
	.fullscreen-gallery .close {
		position: absolute;
		top: 10px;
		left: 50%;
		padding: 20px;
		margin-left: -33px;
		cursor: pointer;
		line-height: 0;
		z-index: 10;
	}
	.is-mobile .fullscreen-gallery .close {
		top: 0;
	}
	.fullscreen-gallery .browse {
		position: absolute;
		top: 50%;
		padding: 20px;
		line-height: 0;		
		margin-top: -35px;
		left: 16px;
		cursor: pointer;
		z-index: 110;
	}
	.fullscreen-gallery .next {
		right: 16px;
		left: auto;
	}
	.fullscreen-gallery	.color-control {
		position: absolute;
		bottom: 30px;
		right: 30px;
	}
	.fullscreen-gallery .browse.disabled {
		display: none;
	}
	.fullscreen-gallery .close:hover polygon,
	.fullscreen-gallery .browse:hover polygon {
		fill: #EB4E46;
	}
	.fullscreen-gallery.overlay {
		position: fixed;
		z-index: 500;
		top: 0;
		left: 0;
		display: none;
	}
	.fullscreen-gallery .post-edit-link {
		position: absolute;
		bottom: 20px;
		left: 20px;
	}	
	/* Color Options */
	.fullscreen-gallery	.color-control div {
		width: 10px;
		height: 10px;
		border-radius: 100%;
		display: inline-block;
		margin: 0 4px;
		cursor: pointer;
		border-width: 2px;
		border-style: solid;
		border-color: transparent;
	}
	.color-control div.active {
		border-color: #cccccc;
	}
	.color-control .white-scheme {
		background-color: #f4f5f0;
	}
	.color-control .grey-scheme {
		background-color: #999999;
	}
	.color-control .black-scheme {
		background-color: #222222;
	}
	body.gallery-open.grey-scheme,
	.grey-scheme .fullscreen-gallery {
		background-color: #999999;
		color: #cccccc;
	}
	body.black-scheme,
	.black-scheme .fullscreen-gallery {
		background-color: #222222;		
		color: #f4f5f0;	
	}

	
	 	
/*
 	body.gallery-open {
	 	overflow: hidden;
 	}
 	#gallery-overlay {
	 	position: fixed;
	 	top: 0;
	 	height: 100vh;
	 	width: 100vw;
	 	background-color: white;
	 	z-index: 500;
	 	display: none;
 	}
 	#fullscreen-gallery {
	 	position: fixed;
	 	top: 0;
	 	height: 100vh;
	 	width: 100%;
	 	z-index: 510;	
	 	display: none;	
	 	margin: 0;
 	}
 	#fullscreen-gallery .logo {
		left: 50%;
		margin: 22px 0 0 -75px;
		position: absolute;
 	} 	
 	#fullscreen-gallery .logo path {
	 	fill: #222222;
 	} 		 	
 	#fullscreen-gallery .gallery-stage {
	 	height: 500px;
	 	height: calc(100vh - 100px - 50px);
	 	margin: 100px 100px 0 100px;
 	} 
 	#fullscreen-gallery .gallery-item {
	 	width: 100%;
	 	height: 100%;
 	}
 	#fullscreen-gallery .gallery-image {
	 	background-position: center center;
	 	background-size: contain;
	 	background-repeat: no-repeat;
	 	position: static;
	 	width: 100%;
	 	height: 100%;	 		 	
	 	height: calc(100% - 30px);
 	}
 	#fullscreen-gallery .gallery-caption {
	 	height: 30px;
	 	line-height: 30px;
	 	text-align: center;
 	}
 	#fullscreen-gallery .close {
	 	padding: 20px;
	 	position: absolute;
	 	top: 20px;
	 	height: 20px;
	 	width: 20px;
	 	right: 20px;
	 	margin: auto;
	 	cursor: pointer;
 	}
 	#fullscreen-gallery .close polygon {
	 	fill: #222222;
 	} 	
 	#fullscreen-gallery .browse {
	 	position: absolute;
	 	top: 50%;
	 	z-index: 110;
	 	margin-top: -28px;
	 	cursor: pointer;
	 	padding: 20px;
 	} 	
 	#fullscreen-gallery .prev {
	 	left: 30px;
 	}
 	#fullscreen-gallery .next {
	 	right: 30px;
 	} 	
 	#fullscreen-gallery .browse.disabled {
	 	display: none;
 	}
*/