@import url(vendor/bootstrap/bootstrap.css);
@import url(vendor/bootstrap/bootstrap-responsive.css);
@import url(main.css);

body, html {
  overflow-x: hidden;
}

body {
  background-image: url(images/index-bg.jpg);
  background-position: center 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

h2 {
  margin: 0 0 10px 0;
}

.white {
  background: #fff;
  background: rgba(255,255,255,.9);
}

#header {
  overflow: hidden;
}

#main {
}

#title {
  padding: 30px 30px 50px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

#title * {
  color: #fff;
  text-shadow: 0 0 6px #000;
}

#title h1 {
  font-size: 72px;
  line-height: 72px;
}

#title h2 {
  font-size: 48px;
  line-height: 56px;
  width: 12em; /* "makes designing maps" */
}

#sign {
  text-align: center;
  padding-top: 80px;
  font-size: 18px;
  font-weight: bold;
}

  #sign > span {
    display: inline-block;
    white-space: pre;
    color: #000;
    background: #ff0;
    padding: 0px 6px;
    margin: 0 auto;
    line-height: 1.4em;
  }

  #sign span.big {
    font-size: 24px;
  }

  #sign span.tiny {
    font-size: 13px;
    position: relative;
    top: -2px;
  }

  #sign a.follow {
    display: inline-block;
    padding: 0 4px;
    padding-left: 26px;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    line-height: 22px !important;
    margin-top: 4px;

    background-image: url(images/twitter-bird.png);
    background-position: 5px 5px;
    background-repeat: no-repeat;

    border-radius: 3px;
  }

#intro {
  padding: 25px 30px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

#intro p {
  font-size: 18px;
  line-height: 28px;
}

#intro h3 {
  font-size: 24px;
  line-height: 24px;
  margin-top: 32px;
}

#try-container {
  position: relative;
}

#try {
  position: relative;
  text-align: center;
  height: 140px;
}

  #try > a {
    margin: 60px 0;
    font-size: 30px;
    line-height: 40px;
    font-weight: bold;
    white-space: pre;
    text-transform: uppercase;
    text-decoration: none;
    background: #0f0;
    color: #000;
    padding: 5px 20px;
  }

  #try > a.show-open {
    border: 8px solid;
    border-color: #9c9 #696 #696 #9c9;
  }

  #try > a.show-closed {
    color: #fff;
    background: #f00;

    -webkit-transform: rotate(8deg);
    -webkit-transform-origin: 50% 50%;
  }

  body.open #try > a.show-open,
  body.closed #try > a.show-closed {
    display: inline-block;
  }

#praise {
  padding-bottom: 40px;
}

#praise h5 {
  margin-bottom: 5px;
}

#praise a.logo {
  display: block;
  color: transparent;
  width: 220px;
  height: 70px;
  font-size: 1px;
  line-height: 0;
  background-image: url(images/praise-logos.png);
}

  #the-atlantic a.logo { background-position: 0 0; }
  #good a.logo { background-position: -240px 0; }
  #visually a.logo { background-position: -468px 0; }
  #flowing-data a.logo { background-position: -715px 0; }

#praise q {
  display: block;
  margin: 10px 5px 20px 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 25px;
  font-style: italic;
  color: #333;
}

.show-open,
.show-closed {
  display: none;
}

body.closed .show-closed,
body.open .show-open {
  display: block;
}

body.closed #open {
  display: none;
}

#gallery {
}

.style {
  position: relative;
  margin: 0 0 20px 0 !important;
}

.style .image {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 !important;
}

span.status {
  color: #f1a209;
}

#steps-container {
  margin-left: 0;
}

#steps,
#steps li {
  font-size: 18px;
  line-height: 35px;
  font-weight: bold;
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
}

#steps {
  margin: 50px 0;
}

#steps li {
  text-transform: uppercase;
  display: inline-block;
  margin: 0 10px;
}

#steps .icon {
  display: inline-block;
  background-image: url(images/sprite.png);
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
  margin-right: 10px;
  color: transparent;
  vertical-align: bottom;
}

  #steps i.add { background-position: -100px -100px; }

  #steps i.search { background-position: -200px -100px; }

  #steps i.adjust { background-position: -200px -300px; }

  #steps i.image {
    background-position: -200px 0;
    width: 120px !important;
  }

#steps .done {
  display: block;
  margin-top: 0;
  font-size: 24px;
  line-height: 100px;
}

  #steps .done .icon {
    vertical-align: middle;
    margin-right: 10px;
  }

  #steps .done b {
    font-size: 36px;
    position: relative;
    top: 8px;
  }

  #steps .boom {
    display: inline-block;
    position: relative;
    background-image: url(images/boom-arrow.png);
    width: 140px;
    height: 100px;
    text-align: left;
    vertical-align: middle;
  }

    #steps .boom span {
      position: absolute;
      top: 32px;
      left: 14px;
      line-height: 36px;
    }


#footer {
  color: #fff;
  background: #000;
  padding: 40px 0 60px;
  min-height: 180px;
}

#credits {
  text-align: center;
}

  #credits * {
    color: #fff;
  }

  #credits a {
    text-decoration: none;
  }

  #credits h4 {
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
  }

  #credits h3 {
    font-size: 72px;
    line-height: 95px;
    margin-bottom: 40px;
  }

  #credits h3 a {
    vertical-align: bottom;
  }

  #credits #by-stamen {
  }

  #credits a.logo {
    display: inline-block;
    color: transparent;
    background-image: url(images/thanks-logos.png);
    background-repeat: no-repeat;
    height: 95px;
    vertical-align: bottom;
    margin: 0 5px;
  }

  #credits a#osm {
    width: 160px;
    background-position: 0 0;
  }

  #credits a#mapbox {
    width: 110px;
    background-position: -200px 0;
  }

/* iPad and smaller */
@media (max-width: 1024px) {

  #title {
    padding-top: 20px;
  }

  #title h1 {
    font-size: 64px;
  }

  #title h2 {
    font-size: 24px;
    line-height: 32px;
  }

  #header h1.brand {
    visibility: hidden;
  }
  
  #intro {
    padding: 20px;
    padding-bottom: 40px;
  }

  #sign {
    padding-top: 30px;
  }

}

/* iPad (vertical) and smaller */
@media (max-width: 768px) {

  body {
    background-size: auto auto;
  }

  #title {
    padding-bottom: 0;
  }

  .style {
    width: 100%;
    max-width: 512px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #try > a {
    margin-top: 40px;
  }

  #praise {
    margin-left: 0 !important;
  }

}

/* iPhone and smaller */
@media (max-width: 480px) {

  #title {
    padding-left: 10px;
  }

  #steps li {
    display: block;
    text-align: left;
    margin: 0 0 10px 0;
    font-size: 15px;
  }

  #steps .done {
    text-align: center;
    line-height: 60px;
  }

  #steps .done .icon {
    margin: 0;
  }

  #steps .done b {
    display: block;
    top: 0px;
  }

}

/* iPad (vertical) and bigger */
@media (min-width: 768px) {

  #gallery .style {
    width: 20% !important;
    margin: 0 !important;
  }

  #try {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media (min-width: 1024px) {
}

/* Widescreen */
@media (min-width: 1200px) {

  #praise {
    background: #fff;
    padding-top: 30px;
  }

}
