body{margin:0px;
  padding:0px;
  font-family: 'Freight Pro', serif;
  line-height: 1.2em;
}

#story-map {
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
}

#cw {
  width: 380px;
  /*min-height: 450px;*/
  background: #fff;
  position: absolute;
  left: 50px;
  top: 14vh;
  height: 70vh;
  outline: 3px solid rgba(0,0,0,0.2);
   -moz-user-select     : none;
  -khtml-user-select   : none;
  -webkit-user-select  : none;
  -o-user-select       : none;
  user-select          : none;
}

.cw-btn {
  position: absolute;
  display: inline-block;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,1);
  border: 2px solid rgba(0,0,0,0.2);
}

.cw-btn:hover {
  background-color: rgba(200,200,200,.9);
  cursor: pointer;
}

.cw-btn-prev {
  top: 170px;
  right: 80px;
  background: url("../images/btn-prev.svg") no-repeat center #fff;
  background-size: 38%;

}

.cw-btn-next {
  top: 170px;
  right: 20px;
  background: url("../images/btn-next.svg") no-repeat center #fff;
  background-size: 38%;
}


#cw-content {
}

.cw-image {
  position: relative;
}

.cw-image img {
  width: 100%;
  height: 190px;
}

.cw-image-attribution {
  color: #aaa;
  font-size: 10px;
  padding: 3px 0;
  letter-spacing: 0.12em;
  font-family: "Platform Web", sans-serif;
  line-height: 1em;
}

.cw-image-attribution a {
  color: #aaa;
}

.cw-text-content {
  padding: 15px;
  /*height: 230px;*/
  overflow-y: scroll;
  height: calc(70vh - 230px);
}

.cw-supertitle, .cw-attribute-label {
  font-size: 14px;
  line-height: 1em;
  letter-spacing: 0.12em;
  font-family: "Platform Web", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.cw-title, .cw-attribute-title {
  font-size: 28px;
  line-height: 1em;
  letter-spacing: 0.03em;
  font-family: "Platform Web";
  font-weight: bold;
}

.cw-subtitle {
  margin-top: 7px;
  font-size: 17px;
  font-style: italic;
  font-weight: normal;
}

.cw-body {
  margin-top: 20px;
  line-height: 1.3em;
  font-size: 17px;
}

.cw-attributes {
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid #aaa;
  /*border-bottom: 1px solid #aaa;*/

  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;

  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.cw-attribute:first-child {
  padding-right: 10px;
}

.cw-attribute-label {
  color: #ccc;
  font-size: 12px;
}

.cw-attribute-title {
  font-size: 20px;
}

@media (max-width: 620px) {
  #story-map {
    width: 100%;
    height: 250px;
    position:absolute;
    top: 0;
    left: 0;
  }

  #cw {
    width: 100%;
    /*min-height: 60vh;*/
    height: auto;
    outline: none;
    background: #fff;
    position: absolute;
    left: 0;
    top: 250px;
    outline: 3px solid rgba(0,0,0,0.2);
  }

  #cw-content-container {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-flow: wrap row;
    flex-flow: wrap row;
  }

  .cw-text-content {
    order: 1;
    height: auto;
    overflow: visible;
  }
  .cw-image {
    order: 2;
  }

  .cw-image img {
    height: auto;
  }

  .cw-btn {
    top: -20px;
  }

  .cw-btn-prev {
    left: initial;
    right: 75px;
  }

  .cw-btn-next {
    right: 15px;
  }
}


@font-face {
font-family: "Platform Web";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-RegularItalic-Web.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-RegularItalic-Web.eot?#iefix") format("embedded-opentype"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-RegularItalic-Web.woff2") format("woff2"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-RegularItalic-Web.woff") format("woff");
font-weight: 400;
font-style: italic;
font-stretch: normal;
}

@font-face {
font-family: "Platform Web";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Regular-Web.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Regular-Web.eot?#iefix") format("embedded-opentype"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Regular-Web.woff2") format("woff2"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Regular-Web.woff") format("woff");
font-weight: 400;
font-style: normal;
font-stretch: normal;
}

@font-face {
font-family: "Platform Web";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Medium-Web.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Medium-Web.eot?#iefix") format("embedded-opentype"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Medium-Web.woff2") format("woff2"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-Medium-Web.woff") format("woff");
font-weight: 600;
font-style: normal;
font-stretch: normal;
}

@font-face {
font-family: "Platform Web";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-MediumItalic-Web.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-MediumItalic-Web.eot?#iefix") format("embedded-opentype"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-MediumItalic-Web.woff2") format("woff2"),
url("//s3.amazonaws.com/atlasobscura-fonts/2/Platform-MediumItalic-Web.woff") format("woff");
font-weight: 600;
font-style: italic;
font-stretch: normal;
}

@font-face {
font-family: "Freight Pro";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBookWeb.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBookWeb.woff") format("woff");
font-weight: 500;
font-style: normal;
}

@font-face {
font-family: "Freight Pro";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBookItWeb.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBookItWeb.woff") format("woff");
font-weight: 500;
font-style: italic;
}

@font-face {
font-family: "Freight Pro";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBoldWeb.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBoldWeb.woff") format("woff");
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: "Freight Pro";
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBoldItWeb.eot");
src: url("//s3.amazonaws.com/atlasobscura-fonts/2/FreigTexProBoldItWeb.woff") format("woff");
font-weight: 700;
font-style: italic;
}
