/* Hello
-------------------------------------------------- */
/* --- Fix scrolling issues --- */

/* Let main content flow normally */
#content {
  position: relative;   /* was absolute */
  width: 70%;
  margin: 0 auto;
  padding: 94px 0 0 23px;
  right: 0;
  top: auto;
}

/* Let the text push the page downward */
#content.simple .text {
  position: relative;   /* was absolute */
  padding-top: 88px;
  left: auto;
}

/* Keep thumbnails scrollable but not fixed to the screen */
ul.thumbs {
  position: relative;   /* was fixed */
  overflow-y: auto;
  max-height: 80vh;     /* allows scrolling inside thumbs if too tall */
  margin-top: 20px;
  left: auto;
  top: auto;
}

/* Free up any fixed containers that trap the viewport */
.fixed-content-container {
  position: relative;   /* was fixed */
  width: 550px;
  margin: 2em auto;
  padding: 23px;
}
body {
	font-family: 'Bau', sans-serif;
	font-size: 13px;
	color: #000FC9;
	line-height: 1.5;
	text-align: left;
	font-weight: normal;
    font-style: normal;
	letter-spacing: .1px;
}

body a {
	color: #000FC9;
	text-decoration: underline;
}

body a:hover {
	color: #000FC9;
	background-color: #FF0000;
}

::-moz-selection {
    background: #FF0000;
}

::selection {
    background: #FF0000;
}

/* Header
-------------------------------------------------- */

#header {
	display: block;
	width: 345px;
	position: fixed;
	top: 0;
	left: 0;
	padding: 23px;
	z-index:999;
}

#header img.logo {
	max-width: 345px;
}

#header img:hover {
	background-color: #FF0000;
}

#header a:hover {
	background-color: transparent;
}

/* Navigation
-------------------------------------------------- */

#menu {
	position: fixed;
	top: 108px;
	left: 23px;
	width: 105px;
	z-index: 1;
}

#menu ul.menu a {
	padding: 3px 4px 2px;
	text-decoration: none;
}

#menu ul.menu a:nth-child(even){
	float: right;
}

#menu ul.menu .year a {
	padding: 1px 5px 0 5px;
	margin-left: 5px;
	background: transparent;
}

#menu ul.menu a:hover,
#menu ul.menu a.active {
	background: #FF0000;
}

#menu ul.menu a:focus {
	background-color: transparent;
}

ul.menu {
	list-style-type: none;
	width: 105px;
	padding: 0 0 0 0;
	margin-top: 0;
	z-index: 1;
}

ul.menu li {
	font-family: 'AT Sackers Mel', Helvetica, sans-serif;
	font-size: 13.5px;
	border-top: 1px solid #000FC9;
	border-bottom: 1px solid #000FC9;
	width: 102px;
	margin-top: -1px;
}

ul.menu li:not(.year) {
	padding-top: 1px;
	top: 20px;
	position: relative;
}

ul.menu li:not(.year):nth-child(odd) {
	text-align: right;
}

#menu ul.menu a {
	padding: 1px;
}

ul.menu li.year {
	border: none;
	margin-top: -14px;
}

ul.menu li.year a {
	display: inline-block;
	font-family: 'Birch Std', Helvetica, sans-serif;
	font-size: 22px;
	text-decoration: none; 
	margin-bottom: 8px;
	height: 29px;
	background: transparent;
}

ul.menu li.year:nth-child(2) {
	text-align: left;
}

ul.menu li.year:nth-child(3),
ul.menu li.year:nth-child(5),
ul.menu li.year:nth-child(7),
ul.menu li.year:nth-child(9),
ul.menu li.year:nth-child(11) {
	text-align: center;
}

ul.menu li.year:nth-child(4),
ul.menu li.year:nth-child(8),
ul.menu li.year:nth-child(12) {
	text-align: right;
}

.thumbs a {
		display: block;
		font-family: 'Bau', sans-serif;
		font-size: 13px;
		font-style: normal;
		font-weight: normal;
		text-decoration: none;
		line-height: 1.5;
		letter-spacing: 0;
}

/* Zigbox
-------------------------------------------------- */

#zigbox {
	width: 105px;
	height: 268px;
	position: fixed;
	margin: -4px 0 0 1px;
	z-index: -1;
}

#zigbox img {
	width: 105px;
	height: 268px;
}

#zigbox img:hover {
	background: transparent;
}

/* Thumbnails
-------------------------------------------------- */

ul.thumbs {
	width: 175px;
	overflow: scroll;
	clear: both;
	margin: 0;
	padding: 0 0 0 0;
	height: auto;
	position: fixed;
    left: 150px;
    top: 94px;
    z-index: 9;
}

ul.thumbs li {
	display: inline-block;
	padding: 0;
	margin: 0 10px 0 0;
	list-style: none;
	background: #FF0000;
	z-index: 99;
}

ul.thumbs li.selected a.thumb {
	background: #FF0000;
}

ul.thumbs img {
	border: none;
	display: block;
}

#thumbs {
		 position: fixed;
		 border: none;
		 padding: 0px;
		 margin: 0 0 0 0;
		 overflow: scroll;
	 }
	
	 a.thumb {
	 	 display: block;
		 height: 33px;
		 border: none;
		 padding: 0px;
		 z-index: 9;
	 }

	 a.thumb:hover {
		 outline: none;
		 opacity: 0;
}
	 
	 a.thumb img {
		 height: 33px;
		 padding: 0px;
	 }
	 
	 ul.thumbs li {
		 margin: 0 5px 5px 0;
	 }

ul.thumbs a p {
	margin: 0;
}

ul.thumbs.text {
	height: 80%;
	overflow: scroll;
}

ul.thumbs.text a {
	padding: 0 2px 0 2px;
	font-size: 13px;
	text-decoration: none;
}

ul.thumbs.text li {
	background: transparent;
	padding-bottom: 5px;
}

ul.thumbs.text li a.active {
	background: #FF0000;
}



/* Text Styles
-------------------------------------------------- */
@font-face {
  font-family: 'Birch Std';
  font-style: normal;
  font-weight: normal;
  src: url(../fonts/birchstd.woff) format('woff'),
  	   url(../fonts/birchstd.ttf) format('truetype');
}

@font-face {
  font-family: 'AT Sackers Mel';
  font-style: normal;
  font-weight: normal;
  text-transform: uppercase;
  src: url(../fonts/atsackersmel.woff) format('woff'),
  	   url(../fonts/atsackersmel.ttf) format('truetype');
}

@font-face {
  font-family: 'Bau';
  font-style: normal;
  font-weight: normal;
  src: url(../fonts/bauregular.woff) format('woff'),
  	   url(../fonts/bauregular.ttf) format('truetype');
}

@font-face {
  font-family: 'Bau';
  font-style: italic;
  font-weight: normal;
  src: url(../fonts/bauregular-italic.woff) format('woff'),
  	   url(../fonts/bauregular-italic.ttf) format('truetype');
}

@font-face {
  font-family: 'Bau';
  font-style: normal;
  font-weight: bold;
  src: url(../fonts/baumedium.woff) format('woff');
}

@font-face {
  font-family: 'Bau';
  font-style: italic;
  font-weight: bold;
  src: url(../fonts/baumedium-italic.woff) format('woff');
}

h1 {
	color: #000FC9;
	font-family: 'Bau', sans-serif;
	font-size: 13px;
	line-height: 1.3;
}

h1 a {
	text-decoration: underline;
}

h2 {
	color: #000FC9;
	font-family: 'AT Sackers Mel', sans-serif;
	text-transform: uppercase;
	font-size: 18px;
}

h2 a {
	text-decoration: underline;
}

p {
}

a:link,
a:visited { 
	color: #000FC9;
	text-decoration: underline;
}

a:focus {
	background: transparent;
}

a:hover { 
	color: #000FC9;
	background-color: #FF0000;
}
 
a:active { 
	background-color: transparent!important;
 }

.aboutlink {
	text-decoration: underline;
}

 .extra-text {
 	font-family: 'Bau', sans-serif;
	font-size: 13px;
    line-height: 1.5;
    letter-spacing: .1;
}

.back {
	position: fixed;
	top: 95px;
	left: 24px;
	font-family: 'AT Sackers Mel', sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	text-decoration: none!important;
	line-height: 1;
	padding: 10px 10px 6px 10px;
	border: 1px solid #000FC9;
}

.back a {
	text-decoration: none!important;
}

/* Content
-------------------------------------------------- */
#content {
  position: relative;
  width: 70%;
  margin: 0 auto;
  padding: 94px 0 0 23px;
}

#content.simple .text {
  position: relative;
  padding-top: 88px;
}

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
}

figure {
	margin: 0;
	margin-bottom: 1em;
}

figcaption {
	margin-top: -0.5em;
	margin-bottom: 2em;
}

figcaption p {
	margin-top: 0;
}

.clearer {
	clear: both;
}

#content {
	width: 70%;
	position: relative;
    top: 0;
    right: 0;
    margin: 0 auto;
    padding: 94px 0 0 23px;
}

#content.simple .text {
	max-width: 600px;
	line-height: 1.6;
	font-size: 13px;
	left: -50px;
	padding-top: 88px;
	position: relative;
}

div.text {
	top: 0;
}

a.active img {
	opacity: 0;
}

.content-images {
	float: left;
	max-width: 550px;
	margin: 0 auto;
	z-index: 2;
}

.content-metadata {
	min-width: 175px;
	max-width: 250px;
}

.content-metadata a {
	text-decoration: underline;
}

.content-metadata h1 {
	text-transform: none;
	font-weight: normal;
	margin-top: 0;

}

.content-images-placeholder {
}

.fixed-content-container {
	width: 550px;
	position: fixed;
	top: 0;
    bottom: 0;
    margin-left: 550px;
	padding: 23px;
	padding-top: 73px;
	z-index: 1;
}

.video {
	width: 100%;
	max-width: 550px;
	font-size: 13px;
	z-index: 999;
}

/* --- FINAL SCROLL FIXES --- */

/* Main content should flow */
#content {
  position: relative !important;
  top: auto !important;
  right: auto !important;
}

/* Text inside content should flow */
#content.simple .text {
  position: relative !important;
  left: auto !important;
}

/* Thumbnails should not trap viewport */
ul.thumbs,
#thumbs {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Fixed content container should scroll with page */
.fixed-content-container {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  margin-left: auto !important;
}
#menu {
  position: relative; /* instead of fixed */
  top: auto;
  left: auto;
}
/* --- Force sidebar menu to scroll --- */
#menu {
  position: fixed !important;
  top: 108px !important;
  left: 23px !important;
  width: 120px !important;

  /* force it to be the height of the viewport */
  height: calc(100vh - 120px) !important;

  /* make the inside scrollable */
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}

#menu ul {
  margin: 0;
  padding: 0;
}
