@CHARSET "ISO-8859-1";

/*
Css styles for the gallery pages
*/
html {
	box-sizing: border-box;
	-ms-text-size-adjust: 100%;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	margin: 0;
	font-size: 1em;
	line-height: 1;
	color: #897a61;
	background-color: #fffcde /*#646155*/;
	font-family: 'Annie Use Your Telescope', cursive;
}

a {
	text-decoration: none;
}

.disabled {
    opacity: 0.3;
}

/* --------------------------------------------------- octicon icons */
@font-face {
	font-family: "Octicons";
	/* Version 4.3.0 */
	src: url('../font/octicons.woff') format('woff'),
		url('../font/octicons.woff2') format("woff2"),
		url('../font/octicons.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

.octicon {
	font: normal normal normal 16px/1 Octicons;
	display: inline-block;
	text-decoration: none;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.octicon-chevron-down:before {
	content: '\f0a3'
}

.octicon-chevron-left:before {
	content: '\f0a4'
}

.octicon-chevron-right:before {
	content: '\f078'
}

.octicon-chevron-up:before {
	content: '\f0a2'
}


/* --------------------------------------------- layout */
section {
	display: block;
	position: relative;
	padding: 3px;
}

#container {
	position: relative;
}

#menubar a {
	color: inherit;
}

#menubar a:hover {
	color: #b5553d;
	font-weight: bold;
	letter-spacing: -0.30px;
}

#menubar a.current {
    color: #b5553d;
    font-weight: bold;
    letter-spacing: -0.30px;
}

#caption {
	height: 2em;
	background-color: #fffcde;
	color: #b5553d;
	font-weight: bold;
}

#caption div {
	position: absolute;
	bottom: 0.2em;
}

#galleryThemes {
	line-height: 1.5;
	white-space: nowrap;
}

#galleryThemesNaviItems li {
	cursor: pointer;
	letter-spacing: 0.8px;
}

#galleryThemesNaviItems li:hover, #galleryThemesNaviItems li.current {
	color: #b5553d;
	font-weight: bold;
	letter-spacing: 0.50px;
}

#thumbsbar {
	overflow: hidden;
}

#thumbsband {
	position: absolute;
}

#thumbsband img {
	position: relative;
	max-height: 100%;
	cursor: pointer;
}

#thumbsband img.current {
	border-color: #b5553d;
}

#thumbsband div {
	background: #f3eac9;
	height: 100%;
	width: auto;
	display: inline-block;
	vertical-align: top;
	position: relative;
	padding: 0.2em;
}

#imageCanvas {
	background-color: #fffcde;
}

#imagePanel {
	/*background-color: #f3eac9; */
	background-color: #fffcde;
	height: 320px;
	width: 100%;
	text-align: center;
}

#imagePanelWrapper div:first-child {
	z-index: 1;
}

#imagePanelWrapper div:last-child {
    z-index: 2;
}

.image-box {
	height: inherit;
	width: inherit;
	position: absolute;
}

.image-box img {
	position: relative;
	max-height: 100%;
	max-width: 100%;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

#imageLeftNav, #imageRightNav {
	display: none;
	cursor: pointer;
}

#imageLabel {
	display: block;
	width: 100%;
	text-align: center;
	/* font-size: 90%; */
	color: #b5553d;
    position: absolute;
    bottom: -1.2em;
    right: 0;
    z-index: 3;
}

#imageBottomNav {
	padding: 0.25em 0;
	text-align: center;
	margin: 1em auto 0;
}

#imageBottomNav span:first-child {
	margin-right: 2em;
}

#imageBottomNav span {
	font-size: 150%;
	opacity: 0.75;
	display: inline-block;
	cursor: pointer;
}

#imageBottomNav span.disabled {
	opacity: 0.25;
	}

/* ----------------------------------------------- Hamburger menu */
.hamburger-menu {
	margin-top: 0.13em;
	margin-left: 0.6em;
	cursor: pointer;
	transition: 0.5s
}

.hamburger-menu span {
	width: 100%;
	background-color: #897a61;
	height: 0.15em;
	display: block;
	margin-bottom: 0.15em;
}

.hamburger-menu span:last-child {
	margin-bottom: 0px;
}

#header {
	height: 60px;
}

#header img {
	width: auto;
	height: 100%;
}

/* ---------------------- Scrollbar */
.sb-wrapper {
	position: relative;
}

.sb {
	display: block;
	position: absolute;
	cursor: default;
}

.sb-container {
	bottom: 0;
	height: auto;
	left: 5px;
	position: absolute;
	right: 0;
	top: 0;
}

.sb-slider {
	position: absolute;
	display: block;
	cursor: pointer;
}

.disabled .sb-slider {
	cursor: default;
}

.sb-slider-bar {
	position: absolute;
	background-color: rgba(155, 136, 106, 0.75);
	border-radius: 16px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

.sb-slider-rail {
	position: absolute;
	background-color: rgba(155, 136, 106, 0.2);
	border-radius: 16px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

.sb-button-left, .sb-button-right {
	overflow: hidden;
	position: absolute;
	color: rgba(155, 136, 106, 0.75);
	width: 16px;
	text-align: center;
}

.sb-button-right {
	right: 0;
}

/* ---------------------------------------------------------  portrait */
@media screen and (orientation: portrait) , ( max-width : 599px) {
	#menubar {
		background-color: #f3eac9;
	}
	.hamburger-menu {
		display: inline-block;
	}
	#colLeft {
		display: block;
		position: fixed;
		width: 0;
		height: auto;
		overflow-x: hidden;
		z-index: 3;
		transition: 0.3s;
		-webkit-transition: 0.3s;
	}
	.sidenav {
		background-color: #fff6d4;
		position: relative;
		padding: 2em 0 1em 1em;
	}
	#menubar nav:first-child {
		float: right;
	}
	#thumbsbar {
		background-color: #fffcde;
		height: 110px;
		white-space: nowrap;
	}
	#thumbsband {
		height: 100%;
		top: 0 !important;
	}
	#thumbsband div {
		text-align: center;
		margin-right: 5px;
	}
	#thumbsband img {
		width: auto;
		border: 2px #f3eac9 solid;
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
	}
	#thumbsScrollbar {
		height: 30px;
		background-color: #fffcde;
	}
	.sb {
		width: 100%;
		height: 16px;
	}
	.sb-container {
		margin: 0 20px;
	}
	.sb-slider {
		height: 100%;
		width: 30px;
		left: 0px;
		z-index: 1;
	}
	.sb-slider-bar {
		height: 6px;
		width: 100%;
	}
	.sb-slider-rail {
		width: 100%;
		height: 6px;
	}
	.sb-button-left, .sb-button-right {
		height: 100%;
	}
	.sb-button-right {
		padding-left: 8px;
	}
	#galleryThemes {
		border-right: 1px solid #f3eac9;
		border-bottom: 1px solid #f3eac9;
	}
	.image-box {
		background-color: #fffcde;
	}
}

/*  ---------------------------------------------------- landscape */
@media screen and (orientation: landscape) and (min-width: 600px) {
	#container {
		max-width: 900px;
	}
	.hamburger-menu {
		display: none;
	}
	#colLeft {
		display: block;
		position: relative;
		float: left;
		width: 25% !important;
		overflow: hidden;
	}
	#galleryThemes {
		padding-left: 1em;
		padding-top: 3em;
	}
	#colRight {
		position: relative;
		float: right;
		background-color: #f3eac9;
		height: 75vh;
		width: 75%;
	}
	#menubar {
		background-color: #fffcde;
	}
	#menubar nav {
		float: none;
		padding-left: 25%;
	}
	#caption {
		display: none;
	}
	#thumbsbarWrapper {
		float: left;
		height: 100%;
		padding: 2px 0 2px 2px;
	}
	#thumbsbar {
		float: left;
		width: 12vw;
		max-width: 100px;
		height: 100%;
		padding: 0;
		background-color: transparent;
	}
	#thumbsband {
		white-space: normal;
		height: auto;
		left: 0 !important;
	}
	#thumbsband div {
		text-align: inherit;
	}
	#thumbsband img {
		width: 100%;
		height: auto;
		border: 2px #fffcde solid;
	}
	#thumbsScrollbar {
		float: left;
		width: 30px;
		height: 100%;
		padding: 0 3px 0 3px;
	}
	#thumbsScrollbar div.sb-wrapper {
		height: 100%;
		width: auto;
	}
	#imageCanvas, #thumbsScrollbar {
		background-color: #f3eac9;
	}
	#imageWrapper {
		width: 55vw;
		max-width: 500px;
		height: 100%;
		position: relative;
		float: left;
	}
	#imageCanvas {
		position: relative;
		width: 100%;
		height: 100%;
		max-height: 416px;
		max-width: 500px;
		text-align: center;
	}
	#imageLeftNav, #imageRightNav, #imageBottomNav {
		position: absolute;
		z-index: 1;
	}
	#imageLeftNav span, #imageRightNav span, #imageBottomNav span {
		font-size: 150%;
		opacity: 0.75;
	}
	#imageLeftNav, #imageRightNav {
		display: inherit;
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
	}
	#imageLeftNav {
		left: -5px;
	}
	#imageRightNav {
		right: -16px;
	}
	#imageBottomNav {
		display: none;
	}
	#imagePanel {
		position: relative;
		height: 100%;
		width: 100%;
		padding: 16px;
		background-color: #f3eac9;
	}
	
	.image-box {
		background-color: #f3eac9;
	}
	.image-box img {
		position: relative;
		max-height: 100%;
		max-width: 100%;
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
	}
	.sb {
		width: 16px;
		height: 100%;
	}
	.sb-container {
		width: auto;
		margin: 20px 0;
	}
	.sb-slider {
		height: 30px;
		width: 100%;
		top: 0px;
		left: auto;
		z-index: 1;
	}
	.sb-slider-bar {
		width: 6px;
		height: 100%;
		margin: 0 auto;
	}
	.sb-slider-rail {
		width: 6px;
		height: 100%;
		margin: 0 auto;
	}
	.sb-button-left, .sb-button-right {
		height: 16px;
		padding-left: 3px;
	}
	.sb-button-right {
		bottom: 0;
	}
	.sb-button-left.octicon-chevron-left:before {
		content: "\f0a2";
	}
	.sb-button-right.octicon-chevron-right:before {
		content: "\f0a3";
	}
}