/*
 * This is copied from <http://maps.stamen.com/css/screen.css>
 */

a {
  cursor: pointer;
}

a:link, a:visited, a:active {
  color: inherit;
  text-decoration: underline;
}

.map {
}

.light {
  color: #888;
}

/* don't allow selections */
.map, .controls, #hero {
      user-select: none;
  -webkit-user-select: none;
     -moz-user-select: none;
    -ms-user-select: none;
     -o-user-select: none;
}

#header {
  z-index: 200;
  padding-top: 20px;
  background: black;
  margin-bottom: 0;
}

  #header h1 {
    font-family: inherit !important;
    font-weight: bold !important;
  }

  #header h1 a {
    text-decoration: none;
  }

  #header h1 span {
    color: yellow;
  }

  #header .navbar-inner {
    background: none;
    filter: none; /* for IE8 */
  }

  #header .container {
    position: relative;
  }

#stamen {
  position: absolute;
  right: -22px;
  bottom: -24px;
  font-size: 70px;
  line-height: 100%;
  font-weight: bold;
  letter-spacing: -2px;
  text-decoration: none;
}


#hero {
  background-color: #ccc;
  position: relative;
  height: 580px;
}

.controls {
  font-size: 24px;
  line-height: 100%;
}

#controls {
  position: absolute;
}

.controls a {
  cursor: pointer;
  font-weight: bold;
  color: black;
  background: yellow;
  text-decoration: none;
  padding: 3px 10px 6px 10px;
  display: block;
  float: left;
  margin-right: 8px;
}

#hero #map-main {
  position: absolute;
  width: 100%;
  height: 100%;
}

#map-main #bottom {
  position: absolute;
  bottom: 25px;
  width: 100%;
  z-index: 99;
}

#map-main h2 {
  line-height: 34px;
  display: inline-block;
  background: black;
  color: white;
  margin: 0;
  padding: 0 10px;
}

  #hero h2 a {
    font-size: inherit !important;
    line-height: inherit !important;
    text-decoration: none;
  }

  #hero h2 i {
    vertical-align: middle;
  }

#hero #maps-sub {
  position: relative;
  padding-top: 20px;
  height: 0;
}

#hero #maps-sub .map {
  position: relative;
  margin: 0 0 20px auto;
  width: 320px;
  height: 230px;
  background-color: #999;
  /* border: 1px dotted black; */
}

#hero #maps-sub h3 {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 10px;
  margin: 0;
  padding: 0;
  text-align: center;
  z-index: 100;
}

#hero #maps-sub h3 a {
  color: #000;
  background-color: #ff0;
  padding: 2px 7px 3px 7px;
  text-decoration: none;
}

#main-title {
  padding-right: 0 !important;
}

#main-title .provider-name {
  padding-right: 12px;
}

#main-title .icon {
  background: #ff0;
  color: #000;
  display: inline-block;
  font-weight: normal;
  width: 35px;
  text-align: center;
}

#content {
  margin-top: 2em;
}

#content p {
  font-size: 15px;
  line-height: 21px;
}

#content h2,
#content h3 {
  margin-bottom: .5em;
}

#content h4 {
}

#content h4.span2 {
  text-align: right;
}

#desc {
  margin: 0 0 20px 0;
}

#content div.tiles {
  margin-bottom: 18px;
}

#content .map {
  display: inline-block;
  height: 156px;
}

#attribution h4 {
  font-size: 15px;
  line-height: 21px;
  padding-top: 2px;
}

#attr {
  display: inline-block;
  background-color: #ffc;
  padding: 2px 8px 3px 8px;
}

#attr-html {
  display: none;
}

#attr-show-html {
  color: black !important;
  text-decoration: none;
}
#attr-show-html span {
  padding: 0 4px;
  text-decoration: underline;
}

div.usage {
  margin-top: 18px;
}

#usage-intro {
  margin-bottom: 18px;
}

.tiles .span3 ul {
  /* to line the lists up with the paragraphs */
  margin-top: 38px;
}

.com { color: #93a1a1; }
.lit { color: #195f91; }
.pun, .opn, .clo { color: #93a1a1; }
.fun { color: #dc322f; }
.str, .atv { color: #D14; }
.kwd, .linenums .tag { color: #1e347b; }
.typ, .atn, .dec, .var { color: teal; }
.pln { color: #48484c; }

pre.prettyprint {
  padding: 8px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  margin-bottom: 9px;
}
.prettyprint.linenums {
  -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
     -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
          box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
  margin: 0 0 0 33px; /* IE indents via margin-left */
} 
ol.linenums li {
  padding-left: 12px;
  color: #bebec5;
  line-height: 18px;
  text-shadow: 0 1px 0 #fff;
}

#hero {
  -webkit-transition-property: height;
  -webkit-transition-duration: .5s;
}

/* if you use Bootstrap, you need this for ModestMaps */
img.tile {
  max-width: auto !important;
}

.attribution {
  position: absolute;
  bottom: 0;
  right: 0;
  color: white;
  background: black;
  padding: 3px 5px 2px;
  margin: 0;
  z-index: 100;
}

textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
}

.tooltip {
  width: auto !important;
  white-space: pre;
  line-height: 20px !important;
  pointer-events: none;
}

  .tooltip .tooltip-inner {
    padding: 0 5px;
    border-radius: 0 !important;
  }

