@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('/resources/fonts/LatoLatin-Light.woff2') format('woff2'),
         url('/resources/fonts/LatoLatin-Light.woff') format('woff'),
         url('/resources/fonts/LatoLatin-Light.ttf') format('truetype'),
         url('/resources/fonts/LatoLatin-Light.eot') format('embedded-opentype');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('/resources/fonts/LatoLatin-Regular.woff2') format('woff2'),
         url('/resources/fonts/LatoLatin-Regular.woff') format('woff'),
         url('/resources/fonts/LatoLatin-Regular.ttf') format('truetype'),
         url('/resources/fonts/LatoLatin-Regular.eot') format('embedded-opentype');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('/resources/fonts/LatoLatin-Bold.woff2') format('woff2'),
         url('/resources/fonts/LatoLatin-Bold.woff') format('woff'),
         url('/resources/fonts/LatoLatin-Bold.ttf') format('truetype'),
         url('/resources/fonts/LatoLatin-Bold.eot') format('embedded-opentype');
}

/* general */
:root {
  /* Icon Colors */
  --bgDark: #C0E5E6;
  --lines: #126679;
  --bg: #EEF8F8;
  --contrast: #C43635;
  --artsCenter: #05185F;
  /* sizes */
  --headSize: 3.5rem;
  --footSize: 3rem;
  --vContentSize: calc(100vh - 6.5rem);
  /*--imageSize: calc(var(--vContentSize) * .68);
  --imageSpace: calc(var(--vContentSize) * .16);*/
  --imageSize: calc(calc(calc(100vh / 2) - var(--headSize)) - 2rem);
}

body {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: Lato, sans-serif;
  color: var(--lines);
  font-weight: 400;
  background-color: var(--bg);
}

::-webkit-scrollbar {
  display: none;
  width: 0px;  /* remove scrollbar space */
  background: transparent;  /* optional: just make scrollbar invisible */
}

p {
  padding: 0em 0.5em 0em 0.5em;
}

ul {
  margin-top: 0;
  list-style: none;
  padding-left: 0;
  cursor: pointer;
  cursor: hand;
}

li {
  /*list-style-type: none;*/
  padding: 0.9rem 0.5rem 0.9rem 0.9rem;
  background-color: var(--bg);
  border-bottom-style: solid;
  border-width: thin;
  border-color: var(--lines);
}

a:link {
  color: var(--contrast);
}
a:visited {
  color: var(--contrast);
}
a:hover {
  color: var(--contrast);
}
a:active {
  color: var(--contrast);
}

strong {
  font-weight: 700;
}

.button {
  background-color: var(--bg);
  padding: 0.9rem 0.8rem 0.9rem 0.8rem;
  margin: 0.2rem 0.2rem 0.2rem 0.2rem;
  border-style: solid;
  border-radius: 0.5rem;
  border-color: var(--lines);
  border-width: thin;
  float: right;
  cursor: pointer;
  cursor: hand;
}

/* outside container */
.container {
  width: 100%;
  height: 100%;
  /*display: flex;*/
  /*flex-direction: column;
  flex-wrap: nowrap;*/
  overflow: hidden;
  min-height: 100%;
}



/* header */
header {
  /*flex: 0 0 var(--headSize);/* flex: flex-grow, flex-shrink, flex-basis*/
  position: fixed;
  top: 0;
  height: var(--headSize);
  left: 0;
  right: 0;
  background-color: var(--bgDark);
  color: var(--lines);
  height: var(--headSize);
  width: 100%;
  text-align: center;
  overflow: hidden;
  position: fixed;
  border-bottom-style: solid;
  border-width: thin;
  border-bottom-color: var(--lines);
  z-index: 2;
}

header h1 {
  font-size: 150%;
  font-style: normal;
  font-weight: 400;
}

header img {
  height: 2.1rem;
  margin: -0.25rem;
}
/* middle container; these nested containers have something to do with
making the middle scroll without a scrollbar in firefox */
.scroller {
  /*flex: 2 0 auto;/* flex: flex-grow, flex-shrink, flex-basis*/
  overflow: hidden;
  /*padding: var(--headSize) 0 var(--footSize) 0;*/
  position: fixed;
  top: var(--headSize);
  bottom: var(--footSize);
  left: 0;
  right: 0;
}
.content{
  position: fixed;
  top: var(--headSize);
  bottom: var(--footSize);
  left: 0;
  right: 0;
  /*flex: 2 1 auto;/* flex: flex-grow, flex-shrink, flex-basis*/
  background-color: var(--bg);
  /*padding: 0.5rem 0.5rem 0.5rem 0.5rem;*/
  overflow: auto;
  box-sizing: content-box;
  /*padding: var(--headSize) 0 var(--footSize) 0;*/
  overflow-x: hidden;
}

.contentHolder {
  position: fixed;
  top: var(--headSize);
  bottom: var(--footSize);
  left: 0;
  right: 0;
  overflow-x: hidden;
}

/* footer */
footer {
  /*flex: 0 0 var(--footSize);/* flex: flex-grow, flex-shrink, flex-basis*/
  position: fixed;
  bottom: 0;
  height: var(--footSize);
  left: 0;
  right: 0;
  background-color: var(--bgDark);
  color: var(--lines);
  overflow: hidden;
  text-align: center;
  bottom: 0;
  border-top-style: solid;
  border-width: thin;
  border-top-color: var(--lines);
  width: 100%;
  z-index: 2;
  font-weight: 300;
}

.nav {
  width: 100%;
  height: 2em;
  display: flex;
  justify-content: space-around;
  cursor: pointer;
  cursor: hand;
}

.navItem {
  padding: 1em 0em 1em 0em;
  text-align: center;
  color: var(--lines);
  text-transform: uppercase;
  text-decoration: none;
}

/*#showMapButton{
  visibility: hidden;
}
#showListenButton{
  visibility: hidden;
}
#showInfoButton{
  visibility: hidden;
}*/

/* specific pages */

#mapHolder {
  display: block;
  position: absolute;
  /*top: var(--headSize);*/
  top: 0;
  right: 0;
  /*bottom: var(--footSize);*/
  bottom: 0;
  left: 0;
  /*width: 100%;
  height: 100%;*/
  overflow: visible;
}

#centerButton {
  /* exactly copies styling from google demos to match google buttons (hence px) */
  background-color: #fff;
  border-style: solid;
  border-width: 2px;
  border-color: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  cursor: pointer;
  fill: var(--lines);
  stroke: var(--lines);
  stroke-width: 5px;
  margin: 0.5rem;
  padding: 0.25rem 0.25rem 0.05rem 0.25rem;
}

/* for both portrait and landscape */
#listenPage {
  display: none;

}
#listenHolder {
  position: absolute;
  top: var(--headSize);
  bottom: var(--footSize);
  left: 0;
  right: 0;
  /*display: flex;*/
  /*justify-content: space-around;*/
  justify-content: center;
  align-items: center;
}
#listenImage{
  /*flex: 1 0 50%;/* flex: flex-grow, flex-shrink, flex-basis*/
}
#listenImage img{
  height: 50%;
  width: 50%;
}
#listenText {
  /*flex: 1 0 50%; /* flex: flex-grow, flex-shrink, flex-basis*/
}
#instructions{
  font-size: 140%;
  text-align: center;
  display: none;
  width: 100%;
}
#listenNOf{
  position: fixed;
  right: 0;
  bottom: var(--footSize);
  padding: 1em;
  font-weight: 300;
}
#listenAlert{
  font-size: 100%;
  display: block;
}
#listenAlertButton {
  position: fixed;
  bottom: calc(var(--footSize) + 1ex);
  right: 0.25rem;
  width: 4ex;
  padding: 0.9rem 0.55rem 0.9rem 0.55rem;
  background-color: var(--bg);
  display: none;
}

#tutorialPage{
  display: none;
  font-size: 125%;
  font-weight:400;
  justify-content: space-around;
  align-content: center;
  align-items: center;
  z-index: 1;
}
#tutorialPage strong{
  color: var(--contrast);
}
#tutorialContinue{
  text-align: center;
  font-size: 75%;
  display: none;
}


/*portrait*/
@media screen and (orientation:portrait) {
  #listenImage {
    position: absolute;
    top:  0;
    bottom: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translate(25%, 25%);
  }
  #listenText {
    position: absolute;
    top: 50%;
    bottom: 50%;
    left: 0;
    right: 0;
    padding: 1rem;
  }
  #tutorialImage{
    position: absolute;
    top: 0;
    bottom: 50%;
    left: 0;
    right: 0;
    margin: 1rem;
  }
  #tutorialImage img{
    --tutorialImageHeight: calc(calc(var(--vContentSize) / 2) - 2rem);
    --tutorialImageSpace: calc(calc(calc(100vw - var(--tutorialImageHeight)) / 2) - 1rem);
    height: var(--tutorialImageHeight);
    padding: 0 var(--tutorialImageSpace) 0 var(--tutorialImageSpace);
  }
  #tutorialContent{
    position: fixed;
    bottom: var(--footSize);
    /*top: 50%;*/
    left: 0;
    right: 0;
  }
  .tutorialImage{
    top: 50%;
  }
  .tutorialNoImage{
    top: var(--headSize);
  }
}
/* end portrait */

/*landscape*/
@media screen and (orientation:landscape) {
  #listenImage{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 50%;
    transform: translate(25%, 25%);
  }
  #listenText{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #tutorialPage {
    flex-direction: row;
  }
  #tutorialImage{
      position: fixed;
      top: var(--headSize);
      bottom: var(--footSize);
      left: 0;
      right: 50%;
      margin: 1rem;
  }
  #tutorialImage img{
    width: calc(100% - 2rem);
  }
  #tutorialContent{
    position: fixed;
    bottom: var(--footSize);
    top: var(--headSize);
    /*left: 50%;*/
    right: 0;
  }
  .tutorialImage{
    left: 50%;
  }
  .tutorialNoImage{
    left: 0;
  }
}
/* end landscape */

#infoPage {
  display: none;
}

#aboutPage{
  display: none;
}
/*#showPrintButton{
  display: none;
}*/
#printLocationPage{
  display: none;
}
#printPage {
  display: none;
}
#printPage .button {
  float: none;
  text-align: center;
}
#printButtons {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#printLocHeading {
  font-size: 125%;
  text-align: center;
  padding: 0.5rem;
  margin: 0.5rem;
  border-bottom-style: double;
  border-top-style: double;
  border-width: medium;
  border-color: var(--lines);
}
#printLocationList {
  display: none;
}
#printLocation{
  display: none;
}
#printableInstructions li {
  display: flex;
  align-items: center;
}
#printableInstructions img {
  width: 2rem;
  height: 2rem;
  padding: 0 1rem 0 0.5rem;
}



#showSaveButton{
  display: none;
}
#savePage {
  display: none;
}

#showGeoServicesButton{
  display: none;
}
#showContactButton{
  display: none;
}
#geoServicesPage {
  display: none;
}

#creditsPage {
  display: none;
}

#creditsPage h1{
  font-style: normal;
  font-weight: 400;
  font-size: 150%;
}

#creditsPage p {
  font-style: normal;
  font-weight: 400;
  font-size: 75%;
}
.acg img{
  height: 7rem;
  float: left;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}
.artsCenterLogo img {
  float: left;
  /*width: 4.5rem;*/
  height: 4.5rem;
  padding: 1.5rem 0.5rem 1.5rem 0.5rem;
}

/*.artsCenterText {
  padding: 1rem 0rem 0rem 0;
  color: var(--artsCenter);
  font-size: 75%;
}*/

.artsCenterLogo a {
  color: var(--artsCenter);
  text-decoration: none;
}

.afterLogo {
  clear: left;
  font-size: 50%;
  font-weight: 300;
  color: var(--lines);
}

#printTitle {
  display: block;
}
#printTitle {
  display: none;
}

@media print {
  @page{
    /*size: auto;*/   /* mozilla drops this but it might be used by other browsers? */

    /* this affects the margin in the printer settings */
    margin: 0in 1in 0in 1in;
  }

  /*header{
    border-width: 0;
    height: 0;
  }*/

  #printTitle {
    display: block;
    color: var(--lines);
  }
  #printTitle img {
    height: 2em;
    padding: 0 0.25in 0 0.25in;
  }
  #printTitleText{
    margin-left: 0.01in;
  }
  #printExplain {
    display: none;
  }
  #printButtons {
    display: none;
  }
  /*footer {
    display: none;
    border-width: 0;
    height: 0;
  }*/
  #printableInstructions li {
    padding: 0;
    border-width: 0;
  }
  #printableInstructions img {
    width: 0.5in;
    height: 0.5in;
    padding: 0in 0.25in 0in 0.25in;
  }
}
