body {
	background-image: url('../images/layout/background.jpg');
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-attachment: fixed;
}

div.banner, div.panorama {
	position: relative;
	margin-bottom: 0.25em;
}

div.banner>img, div.panorama>img {
	width: 100%;
	border-radius: 3px;
	display: block;
}

div.panorama>img {
	filter: grayscale(100%);
}

.http-status {
	font-size: 1.5em;
	padding: 0 10px;
	vertical-align: middle;
	text-align: center;
	color: #ddd;
}

.footer {
	overflow: hidden;
}

.footer>div.left {
	float: left;
}

.footer a {
	text-decoration: none;
	display: inline-block;
}

.footer a>img {
	width: 1.2em;
	display: block;
}

.footer>div.right {
	float: right;
	text-align: right;
}

a.menu {
	white-space: nowrap;
	padding: .4em .3em;
	text-decoration: none;
	line-height: 16px;
	border-radius: 3px;
	display: inline-block;
}

a.menu:hover {
	background: #eee;
}

a.menu>span {
	line-height: 16px;
	display: inline-block;
	vertical-align: middle;
}

a.menu>span>img {
	display: block;
}

div.confirmation {
	width: 30rem;
	max-width: 90vw;
}

/* gallery.xhtml & videos.xhtml */
.gallery .link, .videos .link {
	text-decoration: none;
}

.gallery img.preview, .videos img.preview {
	height: 10rem;
	border-radius: 3px;
	float: left;
	margin-right: 0.2rem;
}

.gallery span.date, .videos span.date {
	font-style: italic;
}

.gallery .ui-panel-content, .videos .ui-panel-content {
	overflow: hidden;
}

/* album.xhtml */
img.som-picture {
	height: 2em;
}

.album {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.album:after {
	content: "";
	flex: auto;
}

.album div.photo {
	margin: 3px;
	border: 2px solid #ccc;
	position: relative;
	cursor: pointer;
}

.album div.photo:hover {
	border: 2px solid #f00;
}

.album div.photo>img {
	display: block;
	max-height: 13rem;
	max-width: 100%;
}

.album div.photo>img.map {
	position: absolute;
	top: 0;
	right: 0;
}

.album div.photo>span.header {
	position: absolute;
	top: 0;
	width: 100%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	line-height: 1rem;
	font-size: 0.8rem;
	text-align: center;
	background-color: silver;
	background-color: hsla(0, 0%, 100%, 0.5);
}

.album div.photo>span.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	line-height: 1rem;
	font-size: 0.8rem;
	text-align: center;
	background-color: silver;
	background-color: hsla(0, 0%, 100%, 0.5);
}

.album .overlay {
	width: 100%;
	height: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.9);
	overflow-x: hidden;
	transition: 0.5s;
}

.album .overlay>div.fullscreen {
	margin: 0 auto;
	display: table;
	height: 100vh;
}

.album .overlay>div.fullscreen>div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.album .overlay>div.fullscreen>div>img {
	display: block;
	width: auto;
	height: 100vh;
}

@media only screen and (orientation:portrait) {
	.album .overlay>div.fullscreen>div>img {
		width: 100vw;
		height: auto;
	}
}

.album .overlay a {
	text-decoration: none;
	text-shadow: 0 0 5px #a00;
	font-size: 10vmin;
	color: #fff;
}

.album .overlay>a {
	position: absolute;
	display: block;
}

.album .overlay>a.prev {
	left: 1vmin;
	top: 50vh;
}

.album .overlay>a.next {
	right: 1vmin;
	top: 50vh;
}

.album .overlay>a.download {
	left: 1vmin;
	top: 1vmin;
}

.album .overlay>a.close {
	right: 1vmin;
	top: 1vmin;
}

.album .overlay>div.slideshow {
	left: 50vw;
	bottom: 1vmin;
	position: absolute;
}

.album .overlay>div.slideshow>a {
	position: relative;
	left: -50%;
}

div.route {
	height: 75vh;
}

.album div.map {
	max-width: 90vw;
	max-height: 90vh;
}

.album div.map iframe {
	border: 0;
	width: 40rem;
	height: 30rem !important;
	max-width: 100%;
	max-height: 60vh;
	/* Somehow this works with 60vh ... */
}