html, body {
  width: 100%;
  height: 100%;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
  font: 16px/1.35 schoolbook, Georgia, Times, Times New Roman, serif;
  -webkit-font-smoothing: antialiased;
  color: #30c;
  padding: 0;
  margin: 0;
}

#mapFilter {
  display:none !important;
}

#wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

/* @group Basic Functions */

.open {
  top: 0 !important;
  z-index: 60;
}

.openList {
  top:  0 !important;
}

.audioPlayerOn {
  padding-top: 150px !important;
}

.closePane.audioPlayerOn {
  padding: 0!important;
  top: 180px;
}

a.closePane {
  font-size: 0;
  position: absolute;
  top: 100px;
  right: 40px;
  text-decoration: none;
  z-index: 65;
}

a#closeWelcome {
  text-decoration: none;
  font-size: 0;
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
}

#welcome {
  padding: 80px;
  font-size: 16px;
}

#welcome h1 {
  font-size: 1.6em;
  line-height: 1.2em;
  padding: 0;
}

#welcome p {
  font-size: 1.6em;
  line-height: 1.4em;
  padding: 0;
}

a.closePane:before, a#closeWelcome:before {
  font-family: icon!important;
  font-weight: normal !important;
  font-size: 36px;
  line-height: 1em;
  content: '\58';
  display: block;
  width: 36px;
  height: 36px;
  margin: 0;
  text-decoration: none !important;
}

a.button {
  text-align: center;
  padding: .25em .5em;
  font-family: spirit-web, sans-serif;
}

p.button {
  text-align: center;
  margin: 1em 0;
}

#storytellers p.button {
  padding-bottom: 3em;
}

/* @end */

/* @group Articles */

/* @group Welcome Screen */

#welcome {
  background-color: rgba(0,0,0,.7);
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  z-index: 9999;
  position: absolute;
  top: 0;
  left: 0;
}

/* @end */

/* @group About */

article div > section:last-child {
  padding-bottom: 4em;
}

article, div#storyListing {
  transition: all .5s;
  background-color: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 63px;
  box-sizing: border-box;
}

div#storyListing {
  transition: none !important;
  top: -100%;
  z-index: 46;
}

article > div, div#storyListing > div {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

#welcome > div {
  background-color: #fff;
  box-sizing: border-box;
/*  height: 100%;*/
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 1100px;
  min-width: 800px;
  max-height: 90%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 40px;
}

/*#welcome .sans {
  padding-bottom: 1.3em;
}*/


article > div > div, #storyListing > div > div {
  position: relative;
  padding-bottom: 4em;
}

#credits dt {
  margin: 1.5em 0 0 0;
}

#credits dt:first-child {
  margin-top: 0;
}

#credits dd {
  margin: 0;
}

#credits section > div {
  overflow: auto;
  font-size: .8em;
  line-height: 1.2em;
}

#credits .col {
  width: 33.33%;
  float: left;
  padding-right: 3em;
  box-sizing: border-box;
}

#credits .col:last-child {
  padding-right: 0;
}

.col img {
  width: 50% !important;
  height: auto;
  margin: .5em 0;
}

/* @end */

/* @end */

/* @group Global */

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.2em;
}

h3 {
  font-size: 1em ;
  line-height: 1.2em;
}

h4 {
  font-size: .7em ;
}

h5 {
  font-size: .5em ;
}

a:link, a:active, a:visited {
  color: #30c;
}

a:hover {
  text-decoration: none;
}

.contentWidth {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 .5em;
}

a.button {
  padding: .25em .5em;
  border: 2px solid #30c;
  text-decoration: none;
}

/* @end */

#storyListing-0 h1:before {
  display: none;
}

/* @group Header */

#headContainer {
  background-color: #30c;
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #fff;
}

#mainHeader {
  cursor: pointer;
}

#audioplayer {
  width: 100%;
  display: none;
}

#headContainer header {
  padding-top: 1em;
  padding-bottom: 1em;
  overflow: auto;
}

#headContainer h1 {
  font: 1.8em spirit-web, sans-serif;
  font-weight: normal;
  margin: 0;
  display: block;
  float: left;
}

#logo, #menu > ul:first-child {
  width: 50%;
}

.audioplayer .controls {
  width: 280px;
  text-align: center;
  margin-top: 6px;
}

#nowPlaying {
  width: 50%;
  float: right;
  white-space: nowrap;
  overflow: hidden;
}

/* @group Main Nav */

#menuButton {
  text-align: right;
  position: absolute;
  top: 14px;
  right: 40px;
}

#menuButton span {
  font-size: 0;
  color: #fff;
  text-decoration: none;
  text-align: right;
}

#menuButton span:before {
  font-family: icon!important;
  font-weight: normal !important;
  font-size: 36px;
  line-height: 1em;
  content: '\2b';
  display: block;
  width: 36px;
  height: 36px;
  margin: 0;
}

#menuButton span.closeMenu:before {
  content: '\2d';
}

nav#menu {
  transition: height .5s;
  font: 1.6em spirit-web, sans-serif;
  overflow: hidden;
  height: 5em;
/*  padding-bottom: 1em;*/
  display: block;
  position: relative;
  z-index: 9999;
  background-color: #30c;
}

nav#menu {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

nav#menu ul {
  display: block;
  float: right;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

nav#menu ul:last-child {
  float: left;
}

nav#menu a {
  text-decoration: none;
  color: #fff;
}

.hidden {
  padding-bottom: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* @end */

/* @end */

/* @group Story */

#story img, #storytellers img, p.caption, p.imgcredit {
  margin: 0 auto !important;
  width: 100%;
  display: block;
}

.story p.imgcredit, .story img {
  max-width: 720px;
}

#story h1, #story h2, #story h3 {
  text-align: center;
}

p.caption, p.imgcredit {
  font-size: .7em;
  line-height: 1.1em;
  padding: .5em 0 1em;
}

.refLink {
  margin-left: 1em;
}

/* @end */

/* @end */

/* @group Sections */

section {
  font-size: 24px;
  line-height: 1.35em;
}

section > div {
  padding-bottom: 1em;
}

#storyList h1:before {
  content: "";
  border-top: 2px dashed #fff;
  width: 100%;
  position: absolute;
  left: 0;
  margin-top: -2em;
  clear: both;
}

h1.sectionTitle {
  font-size: 2.4em;
  font-weight: normal;
  font-family: spirit-web, sans-serif !important;
}

h1.sectionTitle:before {
  border: none !important;
}

section h2, section h3, section h4, section h5 {
  text-align: center;
}

section h1 {
  text-align: center;
  margin-bottom: 1.25em !important;
  line-height: 1.1em;
  padding-top: 1.5em !important;
}

#storyListing-0 h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

section:not(:first-child) h1:before {
  content: "";
  border-top: 2px dashed #30c;
  width: 100%;
  position: absolute;
  left: 0;
  margin-top: -2em;
  clear: both;
}

/* @end */

/* @group Story Lists */

#storyList {
  overflow: auto;
  padding: 0;
}

#storyList > div > h2 {
  clear: both;
  display: block;
  padding-top: 2em;
}

.authorBlock {
  overflow: auto;
}

.storyItem img {
  width: 100%;
}

.storyItem a {
  font-family: spirit-web, sans-serif;
  text-decoration: none;
}

#people {
  overflow: auto;
  padding-bottom: 2em;
}

#people a {
  text-decoration: none;
}

#people h3 {
  white-space: nowrap;
  margin: .7em auto .2em auto;
  line-height: 1.1em;
}

#people h4 {
  font-weight: normal;
  line-height: 1.2em;
  margin: 0;
  height: 3em;
}

#people, #people .storyItem a {
  font-family: schoolbook, Georgia, Times, Times New Roman, serif !important;
}

.storyItem, a.aboutAuthorItem {
  text-align: center;
  width: 25%;
  float: left;
  box-sizing: border-box;
  padding: .5em;
}

a.aboutAuthorItem {
  margin-top: 1.34em;
}

a.aboutAuthorItem h3 {
  font-family: spirit-web, sans-serif;
  font-weight: normal !important;
}

 a.aboutAuthorItem:hover > span{
  display: block;
  border-color: #fff;
  background-color: #30c !important;
  color: #fff !important;
  text-align: center;
  vertical-align: middle;
  padding: .5em;
}


.storyItem > div, a.aboutAuthorItem > span {
  border: 2px solid #30c;
  padding: .5em;
  height: 11em;
  position: relative;
  display: block;
}

.storyItem h4.button a {
  display: inline-block;
  margin: 0 5px;
}

#storyList a.aboutAuthorItem > span{
  display: block;
  border-color: #fff;
  background-color: #fff;
  color: #30c;
  text-align: center;
  vertical-align: middle;
  padding: .5em;
}

.authorBlock {
  padding-bottom: 3em !important;
}

#storyList .currentLoaded {
  background-color: #30c;
  color: #fff;
}

#storyList .aboutAuthorItem > div a, #storyList .currentLoaded a {
  color: #30c !important;
}

#storyList h3, #storyList h4 {
  margin: 0;
}

#storyList .storyItem > div h4 {
  width: 100%;
  float: left;
  line-height: 1.35em;
}

#storyList .storyItem > div h4.button {
  position: absolute;
  width: 100%;
  bottom: 1.5em;
  left: 0;
}

#storyList h3 {
  position: absolute;
  width: 90%;
  padding: 0 5%;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* @end */

/* @group Authors */

.qStories {
  overflow: auto;
}

.qStories a {
  color: #fff;
}

.qStories .storyItem > div {
  border-color: #fff;
}

/* @end */

/* @group Themes */

.blue {
  background-color: #30c !important;
  color: #fff;
}

.blue a {
  color: #fff !important;
}

.blue section:not(:first-child) h1 {
  padding: .5em 0 !important;
}

.blue section:not(:first-child) h1:before {
  content: "";
  border-top: 2px dashed #fff;
  width: 100%;
  position: absolute;
  left: 0;
  margin-top: -2em;
}

.blue a.button, .blue .storyItem > div {
  border-color: #fff !important;
}

.blue a.button:hover {
  color: #30c !important;
  background-color: #fff;
}

.serif {
  font-family: schoolbook, Georgia, Times, Times New Roman, serif !important;
}

h4, h5, h6 {
  font-weight: normal !important;
}

.sans {
  font-family: spirit-web, sans-serif;
}

.sans h1, .sans h2, .sans h3, .sans h4, .sans h5, .sans h6 {
  font-weight: normal !important;
}

/* @end */


/* @group Map */

/* @group Map Filter Panel */

#mapFilter {
  display: none;
  transition: all .5s;
  background-color: #fff;
  position: absolute;
  margin-top: -200px;
  width: 200px;
  height: 400px;
  display: block;
  right: -200px;
  padding-left: 30px;
  top: 50%;
}

#mapFilter h4 a {
  text-decoration: none;
}

.openMapFilter {
  right: 0 !important;
}

#mapFilter h4 {
  background-color: #30c;
  color: #fff;
  text-align: center;
  display: block;
  position: absolute;
  left: 30px;
  top: 370px;
  width: 390px;
  height: 20px;
  padding: 5px;
  margin: 0;
  font-size: 1.1em;
  -webkit-transform-origin: 0 100%;
  -moz-transform-origin:    0 100%;
  -ms-transform-origin:     0 100%;
  -o-transform-origin:      0 100%;
	-webkit-transform:rotate(-90deg);
	-moz-transform:rotate(-90deg);
	-o-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

#mapFilter h4 a {
  color: #fff;
}

#mapFilter label {
  font-weight: bold;
  font-size: 1.1em;
  color: #ccc;
  cursor: pointer;
  padding: .5em 0;
  display: block;
}

#mapFilter input[type=checkbox] {
/*  display: none;*/
}

#mapFilter input[type=checkbox]:checked ~ label {
   color: #30c;
}

#mapFilter ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
  position: absolute;
  top: 50%;
  width: 200px;
  left: 30px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

#mapFilter a {
  text-decoration: none;
  color: #ccc;
}

#mapFilter a.selected {
  color: #30c;
}

/* @end */

/* @group Zoom Control */

#zoomControl {
  border: 2px solid #fff;
  background-color: #30c;
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 47;
  font-family: spirit-web, sans-serif;
  padding: 0!important;
  z-index: 10;
}

#zoomControl a {
  text-decoration: none;
  color: #fff;
  font-size: 30px;
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
}

#zoomControl div:first-child a {
  border-bottom: 2px solid #fff;
}

#zoomControl a:hover {
  background-color: #fff;
  color: #30c;
}

/* @end */

/* @group Toggle*/

#toggleList {
  border: 2px solid #fff;
  background-color: #30c;
  position: absolute;
  top: 100px;
  right: 40px;
  z-index: 47;
  font-family: spirit-web, sans-serif;
}

#toggleList a {
  color: #fff;
  display: inline-block;
  font-size: 1.25em;
  padding: .3em .6em;
  text-decoration: none;
}

#toggleList.audioPlayerOn {
  padding: 0!important;
  top: 180px;
}

a.toggleActive, #toggleList a:hover {
  color: #30c !important;
  background-color: #fff;
}

/* @end */

#map_canvas, #mapWrapper {
  width: 100%;
  height: 100%;
  transition: all .5s;
  position: relative;
}

#mapWrapper {
  padding-top: 63px;
  box-sizing: border-box;
  overflow: hidden;
}

.mapShowHide {
  height: 0 !important;
}

.mapmarker {
  font-family: schoolbook, Georgia, Times, Times New Roman, serif;
  background-color: #30c;
  font-size: 18px;
  text-align: center;
  padding: 4px;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  display: block;
  color: #fff;
  top: -16px;
  left: -16px;
  position: absolute;
}

.playing {
  font-family: schoolbook, Georgia, Times, Times New Roman, serif;
  background-color: #fff;
  font-size: 18px;
  text-align: center;
  padding: 4px;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  display: block;
  color: #30c;
  font-weight: bold;
  border: 2px solid #30c;
  top: -16px;
  left: -16px;
  position: absolute;
  z-index: 9998;
}

.infobox {
  width: 290px;
  margin-bottom: 18px;
  font-family: schoolbook, Georgia, Times, Times New Roman, serif;
  text-align: left;
}

.infobox a {
  font-size: 1.8em;
  color: #30c;
}

.infobox a.button {
  font-family: spirit-web, sans-serif;
  padding: .25em .5em;
  margin-left:10px;
  margin-bottom:10px;
  border: 2px solid #30c;
  text-decoration: none;
  display: inline-block;
}

.infobox h1 {
  font-size: 2.1em;
  line-height: 1.1em;
  margin: 10px 40px 10px 10px;
}

.infobox span {
  font-weight: normal !important;
  font-size: .7em !important;
}

.infobox .closebox {
  /*display: none;*/
}

.infobox:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 16px solid #fff;
  position: absolute;
  left: 50%;
  margin-left: -16px;
  bottom: 0px;
}

.infobox > div {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fff;
  color: #30c;
}

.infobox > .closeBox {
  margin: 0;
  position: absolute;
  top: 18px;
  right: 18px;
  text-decoration: none;
  font-size: 0;
}

.infobox .closeBox:before {
  font-family: icon!important;
  font-weight: normal !important;
  font-size: 24px;
  line-height: 1em;
  content: '\58';
  display: block;
  width: 24px;
  height: 24px;
  margin: 0;
}

.audioOn {
  border-bottom: none !important;
}

/* @end */

@media only screen and (max-width : 900px) {

.contentWidth {
  width: 85%;
  box-sizing: border-box;
}

#menuButton {
  right: 30px;
}

a.closePane {
  right: 30px;
}

.storyItem, a.aboutAuthorItem {
  text-align: center;
  width: 33.333%;
  float: left;
  box-sizing: border-box;
  padding: .5em;
}

.storyItem > div {
  border: 2px solid #30c;
  padding: .5em;
  height: 11em;
  position: relative;
}


h1.sectionTitle {
  margin: 1em auto .8em auto !important;
}

#welcome {
  padding: 60px;
  font-size: 14px;
}

#welcome > div {
  max-width: 100%;
  min-width: 0 !important;
  max-height: 90%;
  padding: 30px;
}

}


/* Audio Player moves */ @media only screen and (max-width : 760px) {

.contentWidth {
  width: 100%;
  box-sizing: border-box;
  padding: 0 30px;
}

.audioOn {
  border-bottom: 2px solid #fff;
}

#zoomControl.audioPlayerOn {
  bottom: 135px;
}

#logo {
  width: auto !important;
}

#siteTitle {
  display: none !important;
}

section.authorBlock {
  font-size: 24px;
}

section.authorBlock h1 {
  font-size: 1.5em;
}

#menuButton:before, .closePane:before {
  font-size: 28px;
  width: 28px;
  height: 28px;
}

a#closeWelcome {
  top: 15px;
  right: 15px;
}

a#closeWelcome:before {
  font-size: 25px;
}

#welcome {
  font-size: 8px !important;
}

#welcome > div {
  font-size: 8px !important;
  width: 90%;
}

#welcome h1 {
  padding-top: 0 !important;
}

section {
  font-size: 18px;
}

article, div#storyListing, #mapWrapper {
  padding-top: 48px;
}

nav#menu {
  transition: none !important;
  height: 100%;
}

nav#menu a {
  padding: 1em 0;
  border-top: 2px dashed #fff;
  display: block;
}

nav#menu ul:first-child > li:first-child a {
  border: none !important;
}

#headContainer.menuOpened {
  width: 100%;
  height: 100%;
}

#menu > ul {
  margin-left: 0px !important;
  float: none !important;
  width: 100% !important;
}

#menu > ul li {
  white-space: nowrap;
}

#toggleList.audioPlayerOn {
  top: 100px;
}

#credits .col {
  width: 50%;
  float: left;
  padding-right: 1em;
  box-sizing: border-box;
}

#credits .col:last-child {
  float: none;
  clear: both;
  width: 100%;
}

.storyItem, a.aboutAuthorItem {
  text-align: center;
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding: .5em;
}

.storyItem > div {
  border: 2px solid #30c;
  padding: .5em;
  height: 11em;
  position: relative;
}

/* @group Audio Player */

#audioplayer {
  position: fixed;
  bottom: 0;
  left: 0;
}

#audioplayer .audioplayer {
  padding: 10px 0 10px 0;
}

.audioPlayerOn {
  padding-top: 48px !important;
  padding-bottom: 99px !important;
}

.audioplayer .controls {
  width: 100%;
  text-align: center;
  float: none !important;
  margin-top: 0px;
}

#nowPlaying {
  width: 100%;
  float: none;
  text-align: center;
}

#audioplayer .timeStatus {
  position: absolute;
  top: 30px;
  width: 100%;
  left: 0;
  z-index: -1;
}

#audioplayer .audioplayer-bar {
  top: 0;
  height: .5em;
}

section h1 {
  text-align: center;
  width: 80%;
  padding-top: .8em !important;
  margin: 0 auto .25em auto !important;
}

section:not(:first-child) h1:before {
  margin-top: -1.7em;
}

.audioPlayerOn {
  padding-top: 49px !important;
  padding-bottom: 88px !important;
}

#toggleList.audioPlayerOn {
  top: 85px;
}

#toggleList {
  top: 85px;
  right: 15px;
}

#zoomControl {
  left: 15px;
}

#welcome > div > div {
  position: static;
  top: 0;
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
}

/* @end */
}

@media only screen and (max-width : 480px) {

a#closeWelcome {
  top: 10px;
  right: 10px;
}

#welcome {
  padding: 20px;
}

#welcome > div {
  padding: 40px 20px 20px 20px;
}

body {
  font-size: 12px;
}


#toggleList.audioPlayerOn {
  top: 70px;
}

#toggleList {
  top: 70px;
  right: 15px;
}


.storyItem, a.aboutAuthorItem {
  text-align: center;
  width: 100%;
  float: none;
  box-sizing: border-box;
  padding: .5em;
}

a.aboutAuthorItem {
  display: block;
  margin: 0 .5em 0 0;
}

.closePane.audioPlayerOn {
  top: 65px;
}

a.closePane {
  top: 65px;
  right: 15px;
}

#menuButton {
  top: 6px;
  right: 15px;
}

#welcome h1 {
  font-size: 1.5em;
}


}



}
