/**
 * Gallery
 */
.box-gallery {
	background-size: cover;
}

/**
 * Photos
 */
.photos-header {
	display: inline-block;
	padding: 10px 10px 10px 30px;
	position: fixed;
	left: 0px;
	top: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	color: gray;
	z-index: 10;
}
.photos-list {
	display: flex;
	flex-direction: column;
	z-index: 5;
	position: absolute;
	overflow-x: hidden;
	overflow-y: scroll;
	height: 100vh;
	right: 0px;
}
.portrait .photos-list {
	flex-direction: row;
	position: absolute;
	bottom: 0px;
	overflow-x: scroll;
	overflow-y: hidden;
	width: 100vw;
	height: auto;
}
.photos-item {
	margin-bottom: 10px;
	border: 2px white solid;
}
.portrait .photos-item {
	margin-right: 10px;
}
.portrait .photos-item img {
	height: 100px;
}
.photos-item:hover,
.photos-item-selected {
	border: 2px #aaaaff solid;
}
.photos-display {
	position: fixed;
	left: 0px;
	top: 0px;
	width: calc(100vw - 350px);
	vertical-align: middle;
	text-align: center;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
.portrait .photos-display {
	width: 100vw;
}
#photo_display {
	max-width: 95%;
	margin: auto;
	display: block;
	max-height: 95%;
	box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
}
#photo_description {
	display: block;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	font-size: 20px;
	bottom: 10px;
	padding: 5px 10px;
	width: 95%;
}
.portrait #photo_description {
	bottom: 120px;
}
.photos-background {
	position: fixed;
	left: -50px;
	top: -50px;
	width: calc(100vw + 100px);
	height: calc(100vh + 100px);
	background-color: black;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: brightness(0.5) blur(16px);
	z-index: 0;
}

