/*  lifepix.css  */
body {
	background-color: #eee;
	font: 10pt 'Open Sans', sans-serif;
	margin: 0;
	height: 100vh;
}

h1 { font-size: 14pt; }
h2 { font-size: 13pt; }
h3 { font-size: 12pt; }
h4 { font-size: 11pt; }
ul { padding-left: 3em; }

div.error-status { color: #700; }

div#gmaps { position: fixed; top: 0; right: 0; background-color: rgba(0,0,0,0.5); }
div#gmaps img { border: none; padding-top: 8px; padding-bottom: 4px; padding-left: 8px; padding-right: 8px; }

div#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70vh;
/*	background: #447 url(images/lifepix-slovenia.jpg) no-repeat fixed center; */
	background: #447 url(loading-64.svg) no-repeat fixed center;
	margin: 0;
	padding: 0;
	z-index: -1;
}
#header > #title {
	position: absolute;
	left: 0;
	bottom: 0;
	color: white;
	padding: 0.25em;
	margin-left: 5em;
	margin-bottom: 1em;
	background-color: rgba(0,0,0, 0.5);
	font: 24pt 'Indie Flower', sans-serif;
	text-align: center;
}
#header > #title > a { text-decoration: none; color: white; border-bottom: 1px dotted transparent; }
#header > #title > a:hover {  border-bottom: 1px dotted white; }

#copyright {
	width: 100%;
	font-size: 8pt;
	background-color: #009;
	color: #eee;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	text-align: center;
	padding: 0.35em 0;
}

#content {
	background: #eee;
	width: 100%;
	margin-top: 70vh;
}

#content div.banner {
	position: sticky;
	top: 0;
	background: #00c;
	color: white;
	padding: 0.5em;
	text-align: center;
	font-size: 16pt;
}

#album-toc-grid {
	padding: 1em;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: flex-start;
}
#album-toc-grid .cell {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: flex-start;;
	align-content: center;

	background: #ddf;
	font-size: 10pt;
	margin-right: 1em;
	margin-bottom: 1em;
	padding: 1em;
	border: 1px solid #555;
	border-radius: 10px;
}
#album-toc-grid .cell:hover { background: #acf; cursor: pointer; }
#album-toc-grid .cell .pic-holder {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
#album-toc-grid .cell .pic-holder > img { border: 1px solid #777; }
#album-toc-grid .cell .meta-holder {
	max-width: 256px;
	padding-left: 0.8em;
}
#album-toc-grid .cell .meta-holder .album-name { font-weight: 700; }
#album-toc-grid .cell .meta-holder .description {
	font: 10pt 'Barlow Condensed', sans-serif;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
#album-toc-grid .cell .meta-holder .metadata { font: 9pt 'Acme', sans-serif; }

#album-info {
	float: right;
	padding: 1em;
	background: white;
	max-width: 25%;
	font: 11pt 'Acme', sans-serif;
	border-left: 1px solid #777;
	border-bottom: 1px solid #777;
}
#album-info span.location { color: #55c; font-weight: bold; }
#album-info span.date { color: #55c; font-weight: bold; }

#album-photo-grid {
	padding: 1em;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: flex-start;
}
#album-photo-grid .cell {
	padding: 2em;
	border: 1px solid #555;
	border-radius: 25px;
	background: #ddf;
	text-align: center;
	font-size: 10pt;
	margin-right: 1em;
	margin-bottom: 1em;
}
#album-photo-grid .cell:hover { background: #acf; cursor: pointer; }
#album-photo-grid .cell img { border: 1px solid #777; }
#album-photo-grid .cell .name { font-weight: 700; }
#album-photo-grid .cell .date { font-size: 9pt; }
#album-photo-grid .cell .location { font-size: 9pt; max-width: 192px; }
#album-photo-grid .cell .caption {
	max-width: 192px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font: 10pt 'Barlow Condensed', sans-serif;
}

#lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0, 0.7);
	color: white;
}
#lightbox #close-box {
	position: fixed;
	top: 16px;
	right: 16px;
	width: 48px;
	height: 48px;
}
#lightbox .close-box-background       { fill: rgba(  0,  0,  0, 0.5); }
#lightbox .close-box-background:hover { fill: rgba(  0,  0,255, 0.9); }

#lightbox #lightbox-pic-content {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: flex-start;
	margin: 80px;
	border: 3px solid black;
}
#lightbox-pic-content #lightbox-pic-holder {
	background: #336;
	width: 776px;
	height: 776px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
#lightbox-pic-holder: img { border: 1px solid #777; padding: 4px; }

#left-arrow-gutter { position: fixed; top: 80px; left: 80px; width: 128px; height: 768px; opacity: 0.0; }
#left-arrow-gutter:hover {  opacity: 1.0; }
#left-arrow-gutter #left-arrow { position: absolute; top: 50%; left: 8px; width: 48px; height: 48px; margin-top: -24px; }
#left-arrow-gutter .left-arrow-background       { fill: rgba(  0,  0,  0, 0.5); }
#left-arrow-gutter .left-arrow-background:hover { fill: rgba(  0,  0,255, 0.9); }

#right-arrow-gutter { position: fixed; top: 80px; left: 734px; width: 128px; height: 768px; opacity: 0.0; }
#right-arrow-gutter:hover {  opacity: 1.0; }
#lightbox-pic-content #right-arrow { position: absolute; top: 50%; right: 8px; width: 48px; height: 48px; margin-top: -24px; }
#lightbox-pic-content .right-arrow-background       { fill: rgba(  0,  0,  0, 0.5); }
#lightbox-pic-content .right-arrow-background:hover { fill: rgba(  0,  0,255, 0.9); }

#lightbox-pic-content #lightbox-meta-holder {
	background: #eee;
	color: black;
 	width: calc(100% - 776px);
	height: 776px;
}
#lightbox-meta {
	padding: 1em;
	overflow-y: auto;
	font: 12pt 'Acme', sans-serif;
}
#lightbox-meta span.note { color: #999; }
#lightbox-meta span.location { color: #55c; }
#lightbox-meta span.date { color: #55c; }

/*  Debug Section  */
div#debug {
	position: fixed;
	width: 100%;
	max-height: 8em;
	overflow: auto;
	left: 0;
	bottom: 0;
	background-color: #b00;
	color: white;
	font-size: 10pt;
	padding: 0.5em;
	border: 1px solid black;
}
