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}

#legend {
  background: #fff;
  border: 1px solid #ccc;
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: "Platform Web";
}

.map-selector {
  margin-bottom: 10px;
  font-size: 12px;
  padding: 10px 15px;
  border-bottom: 1px solid #ccc;
}

.map-selector-label {
  display: inline-block;
  margin-right: 5px;
}

.map-selection {
  display: inline-block;
  text-decoration: none;
  background: #fff;
  color: #d36a55;
  text-transform: uppercase;
  margin-right: 5px;
  padding: 4px 8px;
  border: 1px solid #d36a55;
}

.map-selection.map-selection-active {
  background: #d36a55;
  color: #fff;
}

.map-selection:last-child {
  margin-right: none;
}

.legend-content {
  display: none;
  padding: 0 15px 10px;
}

.legend-content-title {
  padding: 0;
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 300;
}

.legend-title {
  font-size: 19px;
  font-weight: bold;
  margin: 0 0 .75em 0;
  padding: 0 15px;
}

.legend-color {
  display: inline-block;
  width: .8em;
  height: .8em;
  background: blue;
  margin-right: 1em;
  vertical-align: baseline;
  border: 1px solid transparent;
}

.legend-content ul {
  list-style-type: none;
  /*padding: 0 15px 10px;*/
  padding: 0;
  margin: 0;
}

.legend-content li {
  padding: 5px 0 5px 10px;
}

.filterable:hover {
  text-decoration: underline;
  cursor: pointer;
}

.filterable:hover span {
  text-decoration: none;
}

.legend-content li.filterable-active {
  background: #efefef;
  outline: 1px dotted #ccc;
}

.legend-spectrum {
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
}

.spectrum-low {
  position: absolute;
  top: 5px;
  left: 10px;
  color: #fff;
}

.spectrum-high {
  position: absolute;
  top: 5px;
  right: 10px;
  text-align: right
}

.spectrum-low, .spectrum-high {
  -webkit-user-select: none;
  -moz-user-select: none; 
  -ms-user-select: none;    
  user-select: none;       
}

.spectrum-key {
  width: 100%;
  height: 34px;
  cursor: col-resize;
}

.spectrum-key-overlay {
  position: absolute;
  background: rgba(230,230,230,0.9);
  width: 5%;
  height: 44px;
  top: -5px;
  border-right: 2px dotted #333;
  z-index: 600;
}
.spectrum-key-overlay:after {
  content: "↔";
  position: absolute;
  right: -0.5em;
  top: -22px;
  color: black;
  font-size: 24px;
  font-weight: 300;
}

.spectrum-key-distance {
  background: -moz-linear-gradient(0deg, #036adb 0%, #d84875 100%); /* ff3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #036adb), color-stop(100%, #d84875)); /* safari4+,chrome */
  background: -webkit-linear-gradient(0deg, #036adb 0%, #d84875 100%); /* safari5.1+,chrome10+ */
  background: -o-linear-gradient(0deg, #036adb 0%, #d84875 100%); /* opera 11.10+ */
  background: -ms-linear-gradient(0deg, #036adb 0%, #d84875 100%); /* ie10+ */
  background: linear-gradient(90deg, #036adb 0%, #d84875 100%); /* w3c */
}

.spectrum-key-duration {
  background: -moz-linear-gradient(0deg, #50416D 0%, #D36A55 100%); /* ff3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00527d), color-stop(100%, #86e2ca)); /* safari4+,chrome */
  background: -webkit-linear-gradient(0deg, #50416D 0%, #D36A55 100%); /* safari5.1+,chrome10+ */
  background: -o-linear-gradient(0deg, #50416D 0%, #D36A55 100%); /* opera 11.10+ */
  background: -ms-linear-gradient(0deg, #50416D 0%, #D36A55 100%); /* ie10+ */
  background: linear-gradient(90deg, #50416D 0%, #D36A55 100%); /* w3c */
}



.reason-feel span.legend-color {
  background: #8f2581;
}

.reason-school span.legend-color {
  background: #8ed486;
}

.reason-work span.legend-color {
  background: #009bbf;
}

.reason-family span.legend-color {
  background: #bd804a;
}

.reason-show-all span.legend-color {
  background: #fff;
  border: 1px solid #333;
}


.status-yes span.legend-color {
  background: #8ED486;
}

.status-no span.legend-color {
  background: #D36A55;
}

.status-show-all span.legend-color {
  background: #fff;
  border: 1px solid #333;
}

.spectrum-label {
  position: absolute;
  right: -1em;
  background: #fff;
  padding: 1px;
  background: rgba(255,255,255,.9);
  top: 35%;
  text-transform: lowercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none; 
    user-select: none;   
}

@media (max-width: 620px) {
  #legend {
    right: 0;
    bottom: 14px;
    border-top: none;
  }
  .legend-title {
    font-size: 14px;
    margin: 0 0 .5em 0;
    padding: 0 8px;
  }
  .legend-content {
    padding: 0 8px 5px;
  }

  .legend-content-title {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .map-selector-label {
    display: none
  }
  .map-selector {
    padding: 0;
    border-bottom: 1px solid #d36a55;
  }
  .map-selection {
    border-bottom: 0;
  }
  .legend-content li {
    padding: 5px 0 5px 5px;
    font-size: 13px;
    display: inline-block;
    width: 40%;
  }
  .legend-color {
    margin-right: 5px;
  }
  .legend-spectrum {
    margin-top: 14px;
  }
}
