* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  line-height: 1.333;
  height: 100%;
  overflow: hidden;
}

h2 {
  font-family: lato, Helvetica, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 7px;
}

#app-title {
  color: #fff;
  display: inline-block;
  margin-top: 5px;
  margin-left: 12px;
  position: absolute;
  top: 0;
}

#ractiveContainer {
  height: 100%;
  /*overflow-x: auto;*/
}

.leaflet-container {
  font-family: lato, Helvetica, sans-serif;
}
.leaflet-popup-content-wrapper {
  background: #000;
  font-family: lato, Helvetica, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  color: white;
  /*     opacity: 0.8;*/
  /*line-height:24px;*/
}
.leaflet-popup-close-button {
  background-image: url(images/icons-ffffff@2x.png);
}
.leaflet-popup-content-wrapper a {
  font-weight: bold;
  text-decoration: underline;
}
.leaflet-popup-tip {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #fff;
  display: none;
}
#hed {
  position: absolute;
  top: 15px;
  left: 10px;
  /*padding: 26px 20% 0 10px;*/
  background-color: #000;
}

#mapMasterContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  /*margin-left: 500px;*/
  top: 0px;

}

#mapcontainer {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 100;
  top: 0;
  right: 0;
}

#minimap {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 150px;
  margin: 10px;
  z-index: 999;
}
#logo {
  background-color: #000;
  position: relative;
  top: 0;
  width: 500px;
  z-index: 500;
}
#logo img {
  /*margin-left: -2.5em;*/
  margin-top: 5px;
  max-width: 145px;
}
#logo i {
  margin-right: .5em;
}
.map {
  width: 100%;
  height: 100%;
}
.label {
  position: absolute;
  bottom: 20;
  width: 300px;
}
.label span {
  font-weight: bolder;
  font-size: 20px;
  color: black;
  background-color: white;
  opacity: .7;
  padding: 5px;
}
#reveal-footer {
  width: 100%;
  background-color: #000;
  position: absolute;
  bottom: 0;
  z-index: 201;
}
#reveal-footer img {
  max-height: 30px;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-top: 5px;
}
#linkback {
  color: white;
  text-decoration: none;
  text-align: right;
  position: absolute;
  top: 10px;
  right: 20px;
}
.toggle {
  width: 50px;
  height: 50px;
  position: absolute;
  right: 0;
  font-family: lato, Helvetica, sans-serif;
  font-size: .63636rem;
  font-weight: 700;
  padding: 14px .36364rem .54545rem .36364rem;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 4px;
  white-space: nowrap;
  margin: 10px;
  z-index: 204;
}
.tl {
  height: 4px;
  width: 90%;
  margin-left: 5%;
  margin-bottom: 4px;
  background-color: #fff;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
}
.toggle.clicked {
  color: #f38c21;
  border-color: #f38c21;
}
.tl.clicked {
  background-color: #f38c21;
}
.menu {
  visibility: collapse;
}
#reveal-footer img {
  max-width: 200px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-top: 10px;
  border: none;
}
@media screen and (max-width: 620px) {
  .leaflet-container .leaflet-control-attribution.leaflet-compact-attribution {
    display: none;
  }
  .label {
    bottom: 6px;
  }
  .label span {
    font-size: 14px;
  }
  #winter-label {
    left: 4px;
  }
  #spring-label {
    right: 4px;
  }
  #hed {
    font-size: 16px;
  }
  #mapcontainer {
    bottom: 40px;
    height: auto;
  }
}

/*Added for smoke-and-fire*/


share-button {
  position: absolute;
  top: 10px;
  right: 50px;
  z-index: 600;
  height: 30px;
  background-color: black;
  border: 1px solid #fff;
  opacity: 0.8;
}

@media screen and not (max-width: 780px) {
  share-button:hover {
    border: 1px solid #f38c21;
    background-color: black;
  }
}

/*sharing icon*/
share-button::before {
  top: 3px;
  left: 0.5em;
  /*overwrite base url*/
  background: url(images/share.svg) no-repeat;
  /*determines size*/
  padding: 0.2em;
}

@media screen and not (max-width: 780px) {
  share-button:hover:before {
    /*change to orange svg on hover*/
    background: url(images/share-orange.svg) no-repeat;
  }
}

.toggleNav {
  width: 34px;
  height: 20px;
  overflow: hidden;
  border: 1px solid #fff;
  float: right;
  padding: 7px 4px 0 3px;
  margin: 0 4px;
  height: 30px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  transition: opacity 250ms ease-out;
  opacity: .8;
}
.togLine {
  height: 2px;
  width: 90%;
  margin-left: 7%;
  margin-bottom: 4px;
  background-color: #fff;
}
@media screen and not (max-width: 780px) {
  .toggleNav:hover {
    border-color: #f38c21;
    cursor: pointer;
    opacity: 1;
  }

  .toggleNav:hover .togLine {
    background-color: #f38c21;
  }
}

.toggleNav.on {
  border-color: #f38c21;
  opacity: 1;
}
.toggleNav.on .togLine {
  background-color: #f38c21;
}

.button, .play {
  width: 100%;
  display: inline-block;
  cursor: pointer;
  line-height: 40px;
  text-align: center;
  transition: background-color 250ms ease-out;
}
.play .icon {
  display: inline-block;
  z-index: 99;
  margin: 9px 0;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 24px solid #fff;
  margin-left: 0;
  right: 0;
}
.play .icon:hover {
  opacity: 1;
  cursor: pointer;
}
.play.active .icon {
  width: 22px;
  height: 22px;
  margin-top: 11px;
  border: none;
  background-color: #fff;
}
#play.active {
  color: #f38c21;
}
.play-margin.active {
  border-color: #f38c21;
}
.play-margin {
  margin: 14px;
  border-radius: 4px;
  border: 1px solid #fff;
  width: 90%;
  display: inline-block;
  cursor: pointer;
  line-height: 40px;
  text-align: center;
}
.play-margin:hover {
  border-color: #f38c21;
}
.sr {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#next {
  background-color: green;
}
#prev {
  background-color: red;
}
#play {
  color: #fff;
}
#play:hover {
  color: #f38c21;
}
#breadcrumbContainer {
  max-width: 300px;
  z-index: 2000;
  position: absolute;
  top: 0;
  left: 500px;
  display: block;
  color: white;
}
.breadcrumb {
  width: 100%;
  min-width: 230px;
  float: left;
  font-size: 18px;
  line-height: 50px;
}
.breadcrumb.active {}
.fireName {
  width: 100%;
  background-color: #000;
  min-height: 50px;
  text-align: left;
  padding: 0 14px;
  text-transform: uppercase;
  font-weight: bold;
}
.submenu {
  width: 100%;
  min-width: 230px;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, .7);
  color: white;
  font-size: 16px;
  position: relative;
  z-index: 2000;
  display: inline-block;
}


#text {
  height: 100%;
}
#content {
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 100%;
  z-index: 200;
}
#content.expanded #subhed {
  margin-top: 48px;
}
#content.expanded .arrowHit {
  top: 48px;
}
#content.expanded .section.on {
  margin-bottom: 0;
}
#narrative {
  position: absolute;
  width: 100%;
  bottom: 0;
  top: 50px;
  overflow-y: auto;
  border-right: 1px solid #ccc;
  color: #444;
  line-height: 1.75;
  font-size: 1.2em;
  background-color: white;
  padding-top: 100px;
}
#narrative h4 {
  margin-top: 0;
}
#narrative section {
  margin-bottom: 1em;
}
#time-scrubber {
  display: block;
  opacity: 0.8;
  font-size: 16px;
  position: absolute;
  bottom: 15%;
  width: 200px;
  left: 500px;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: black;
  height: 43px;
  color: white;
  border-radius: 4px;
  text-align: center;
  line-height: 43px;
  z-index: 1000;
}
.switch {
  width: 100%;
  cursor: pointer;
  padding: 7px 14px;
  float: left;
}
.switch:first-of-type {
  padding-top: 7px;
}
.switch:last-of-type {
  padding-bottom: 7px;
}

.switch:hover {
  background-color: #000;
  background-color: rgba(0, 0, 0, .5);
}
.checkbox {
  width: 30px;
  height: 30px;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, .7);
  float: left;
  border-radius: 4px;
}
.checkbox.active.perimeter {
  background-color: #FF7800;
}
.checkbox.active.damaged {
  background-color: blue;
}
.checkbox.active.populated {
  background-color: white;
}
.checkbox.active.points {
  background-color: red;
}
.checkbox-label {
  line-height: 30px;
  float: left;
}
.leaflet-container {
  background-color: rgba(255, 0, 0, 0.0);
}
.checkbox-label {
  padding: 5px 5px 5px 8px;
  color: #fff;
  color: rgba(255, 255, 255, .7);
}
.active .checkbox {
  border: 1px solid #f38c21;
  background-image: url(images/checkmark.svg);
  background-repeat: no-repeat;
  background-position: 5;
}
.active .checkbox-label {
  color: #fff;
  color: rgba(255, 255, 255, 1);
}
.intro {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 1;
  background-color: rgba(255, 255, 255, 1);
  z-index: 3000;
}
.intro-wrapper {
  position: relative;
  max-height: 100%;
  overflow: auto;
  text-align: center;
  line-height: 1.75;
  font-size: 1.5em;
  padding: 4em 10em 4em 10em;
}
.intro button {
  margin-top: 2em;
  width: 50%;
  padding: 1em;
  font-size: 1.2em;
  background-color: rgba(0, 0, 0, 1);
  color: white;
  opacity: 1;
}
.hideMe {
  opacity: 0.2;
}
section {
  padding: 0 2em;
  /*background-color: rgb(222,222,222);
  opacity: 0.8;*/
}
.section.on {
  /*padding-top: 20px;*/
}
.toolbar {
  color: white;
  position: absolute;
  right: 5px;
  top: 10px;
}
i.nav {
  color: darkgray;
  position: absolute;
  padding: 5px;
  padding-top: 15px;
}
div.arrowHit {
  position: absolute;
  z-index: 99;
  top: 0;
  bottom: 0;
  height: 50px;
  width: 50px;
}
div.arrowHit.next {
  right: 0;
}
div.arrowHit.back {
  left: 0;
}
div.arrowHit.next.center {
  left: 100px;
}
span.arrow {
  position: absolute;
  top: 10px;
  display: inline-block;
  z-index: 99;
  margin: 0 1em;
  opacity: .8;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}
span.arrow:hover {
  opacity: 1;
  cursor: pointer;
}
span.next {
  border-left: 16px solid #000;
  margin-left: 0;
  right: 0;
}
span.back {
  border-right: 16px solid #000;
}
.subDiv {
  padding: 15px 40px;
}
.image-label {
  text-align: left;
  color: #f38c21;
  min-height: 60px;
  max-height: 120px;
  z-index: 100;
  width: 100%;
  padding: 20px;
  background-color: black;
  font-family: Lato, sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  overflow: hidden;
  opacity: 0.7;
  /*white-space: nowrap;*/
  text-overflow: ellipsis;
}

/*only shows on mobile*/

#subhed {
  padding-top: 48px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding-top: 0;
}
#subhed h3 {
  font-size: 1em;
  color: #666;
  margin: 0;
}
.subheaderContainer {
  position: absolute;
  top: 50px;
  background-color: #f8f8f8;
  border-bottom: 1px solid gray;
  opacity: 0.85;
  height: 90px;
  width: 100%;
  z-index: 1000;
}
.subheader.on {
  position: fixed;
  padding-left: 0;
  top: 60px;
  color: black;
  z-index: 1001;
  font-size: 28px;
  -webkit-transition: all 0.5s;
  transition: font-size 0.2s, color 1s;
}

.subheader.off {
  visibility: hidden;
  -webkit-transition: all 0.5s;
  transition: all 1s;
}

.filler{
  display: none;
  height: 35px;
  display: block;
}

.stickyHolder {
  position: relative;
}

.subheader {
  color: gray;
  position: absolute;
  top:0px;
  -webkit-transition: background-color 2s, -webkit-transform 2s, font-size 0.5s;
  transition: background-color 2s, transform 2s, font-size 0.1s;
}
.credits {
  position: absolute;
  left: 0;
  padding: 2em 2em;
  font-size: 0.8em;
  background-color: #222;
  color: #fff;
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  font-style: italic;
  width: 100%;
}

h1 {
  font-family: lato, Helvetica, sans-serif;
}
@media screen and (max-width: 780px) {

  #time-scrubber{
    left: 0;
  }
  #logo {
    width: 100%;
  }

  #mapMasterContainer {
    width: 100%;
    /* minus 40% to make room for narrative */
    height: 60%;
    /* make room for header*/
    top: 48px;
  }
  #minimap {
    bottom: 10px;
    max-width: 75px;
  }
  #content {
    width: 100%;
    height: 40%;
    left: 0;
    bottom: 0;
    top: inherit;
  }
  .submenu {
    display: flex;
    justify-content: space-around;
    background-color: black;
  }
  .switch, .play-margin {
    width: 100%;
    min-width: 15%;
    max-width: 45%;
    margin: 5px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 4px;
    padding: 0 7px;
  }
  .switch:first-of-type, .switch:last-of-type {
    padding: 0 7px;
  }
  .checkbox {
    display: none;
  }
  .checkbox-label {
    width: 100%;
    padding: 10px 2%;
    opacity: .8;
    text-align: center;
    line-height: 20px;
  }
  .active .checkbox-label {
    opacity: 1;
  }
  .switch.active {
    border: 1px solid #f38c21;
    background-color: #000;
  }
  #narrative {
    font-size: 90%;
    top: 52px;
    height: 100%;
    padding-top: 0em;
    padding-bottom: 7em;
    overflow: auto;
  }
  .expanded #narrative {
    position: static;
  }

  .snippet {
    height: 100%;
  }

  .subDiv, .image-label {
    width: 100%;
    text-align: center;
  }
  .image-label {
    text-align: center;
    opacity: 0.9;
    position: relative;
    font-size: 1em;
  }
  #content.narrFull {
    position: absolute;
    top: 48px;
  }
  .narrFull>#narrative {
    height: 100vh;
    background-color: rgba(255, 255, 255, 1);
    overflow-y: scroll;
  }
  #breadcrumbContainer {
    width: auto;
  }
  .submenu {
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    padding: 14px;
  }
  .play-margin {
    margin: 5px;
    min-width: 15%;
    max-width: 46%;
  }
  .play-margin.active {
    background-color: #000;
  }
  .intro-wrapper {
    padding: 2em;
    font-size: 12px;
  }
  .credits {
    position: inherit;
    height: 350px;
    width: 100%;
  }
}
a {
  color: #f38c21;
  text-decoration: none;
}
.thumbnailTitle {
  font-weight: bold;
}

.upArrow {
  margin: 0 auto;
  position: relative;
  top: -15px;
  margin-bottom: -15px;
  opacity: 0.4;
}

@media screen and (max-width: 480px) {
  .submenu {
    flex-wrap: wrap;
  }
  .play-margin, .switch {
    min-width: 100%;
    max-width: 100%;
  }
  h2 {
    margin-top: 10px;
    font-size: 1em;
  }
  #logo img {
    max-width: 80px;
    margin-top: 15px;
  }
}
