body {
  font-family: "museo-sans-rounded", Arial, "Liberation Sans", FreeSans, sans-serif;
  background: #e2e4e3;
}

a {
  color: #00adef;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: #393536;
}

h4 {
  margin-bottom: 5px;
}

h1 {
  font-size: 2.4em;
  margin: 30px 0 15px;
  padding: 0;
}

label, h2 {
  color: #4f4c4c;
  font-size: 1.2em;
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

/* .generic-input { */
input, textarea {
  background-color: #e9e9e9;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 10px;
}

h2 {
  margin-top: 20px;
}

.home {
  text-align: left;
  display: flex;
}

hr {
  margin-top: 5px;
  margin-bottom: 5px;
}

.home a {
  color: #867ec4;
  text-decoration: none;
}

.home h1 {
  display: inline-block;
  margin: 0 0 0 0.5em;
}

.home p {
  margin: 0;
  display: inline-block;
  padding-top: 10px;
}

.heavy {
  font-weight: 700;
}

.hint {
  color: #717171;
}

.hint, .hint-link {
  margin-bottom: 10px;
  display: block;
}

.page-nav {
  clear: left;
  font-size: 1.2em;
  /* FIXME: this should be margin instead */
  padding-top: 30px;
  word-spacing: 5px;
  text-align: center;
}

.page-nav > span, .page-nav > em {
  margin: 5px;
}

.page-nav > a {
  padding: 5px;
}

/* FIXME: add active/hover states? */
input[type=submit] {
  font-size: 1.2em;
  letter-spacing: 1px;
  font-weight: 300;
  margin-top: 10px;
  border-radius: 4px;
  background: #4098cf;
  color: white;
}

/* override bootstrap's default overflow */
pre {
  overflow: visible;
}

footer {
  background: #e2e4e3;
  text-align: center;
  font-weight: 400;
  font-size: 1.1em;
  padding: 40px 20px 50px;
  clear: both;
}

footer a {
  display: inline-block;
  color: #393536;
  margin: 0 5px;
}

.main-navigation {
  text-align: right;
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 40px;
  vertical-align: middle;
}

.main-navigation a {
  color: #ffb33b;
  padding: 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease-in-out;
}

.main-navigation a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.main-navigation li {
  display: inline;
  margin-left: 15px;
}

.hero header .home h1 {
  padding-top: 20px;
}

.hero header .main-navigation {
  padding-top: 22px;
}

/* FIXME: bump the font down by half on mobile
 * (see the media query at the bottom)
 */
.hero, .small-header {
  padding: 15px 25px 50px;
  background-color: #380036;
  text-align: center;
}

.hero h2 {
  color: white;
}

.small-header {
  padding: 20px 25px 60px;
}

.small-header input {
  border-radius: 3px;
  padding: 5px 10px;
  margin-top: 5px;
}

.hero-text {
  clear: both;
  font-size: 2.4em;
  line-height: 1.5em;
  font-weight: 300;
  padding-top: 30px;
}

/* FIXME: add active/hover states? */
.hero input {
  border-radius: 10px 0 0 10px;
  padding: 15px 30px;
  font-size: 1.4em;
  letter-spacing: 1px;
  font-weight: 300;
}

.hero input[type=search] {
  width: 60%;
}

.hero input[type=submit] {
  width: 150px;
  border-radius: 0 10px 10px 0;
}

.getting-started {
  clear: both;
  font-size: 1.2em;
  line-height: 1.6em;
  height: 4em;
}

.search-form-container {
  white-space: nowrap;
  margin: 50px 0;
}

#content-wrapper {
  background: white;
  margin: 0 -15px;
  padding: 0 15px;
}

.push-information {
  padding: 40px 30px 0;
}

.push-header {
  font-weight: 400;
  margin-left: 15px;
}

.light-article {
  margin-bottom: 80px;
  padding: 0 35px;
}

/* thanks: http://css-tricks.com/snippets/css/clear-fix/ */
.light-article:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}

.small-section {
  max-width: 550px;
  margin: 0 auto 80px;
}

.push-example {
  padding: 25px;
  background: white;
  border-radius: 10px;
  margin-top: 15px;
  height: 130px;
  overflow-x: auto;
}

.string, .tag {
  color: #f2511b;
}

/* bump the leiningen push example text down a little so it's closer to
 * vertically centered
 */
.push-example-leiningen {
  margin-top: 20px;
}

#jar-info-bar {
  display: inline-block;
  width: 100%;
  border: solid #d3d3d3;
  border-width: 1px 0;
  padding: 10px 0;
  text-align: center;
}

#jar-info-bar img {
  margin-right: 10px;
}

#jar-info-bar li {
  padding: 5px 15px;
  display: inline-block;
  border-left: 1px solid #d3d3d3;
}

#jar-info-bar li:first-child {
  border: 0;
  padding-left: 0;
}

.recent-jars-header {
  color: #4f4c4c;
  text-transform: uppercase;
  border: solid #f4f4f4;
  border-width: 1px 0;
  text-align: center;
  padding: 10px 0 ;
  margin: 40px 0;
  font-size: 1.1em;
  letter-spacing: 2px;
  font-weight: 600;
}

.recent-jars-header-container {
  margin: 0 30px;
}

.recent-jars-list {
  margin: 0 15px;
  display: inline;
}

.recent-jar {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  cursor: pointer;
  background: white;
  border-top: 8px solid #87cf29;
  padding: 10px 20px;
  height: 175px;
  margin-bottom: 30px;
  transition: border-color 0.2s ease-in-out;
}

.total-downloads {
  bottom: 0;
  position: absolute;
}

.recent-jar:hover {
  border-top-color: #f16621;
}

.recent-jar:hover a {
  text-decoration: underline;
}

.recent-jar-description {
  font-size: 1.1em;
  margin-top: 35px;
}

.recent-jar-title {
  margin-bottom: 10px;
  font-size: 1.4em;
}

.recent-jar-title a {
  color: #4098cf;

  /* FIXME: this doesn't work well on long names and mobile */
  white-space: nowrap;

  /* make the entire box clickable
   *
   * this is the only link in this box
   */
  width: 100%;
  display: block;
  padding: 20px 20px 110px;
  margin: -20px 0 0 -20px;
  position: absolute;
}

/* FIXME: should this be a class? */
#jar-sidebar {
  margin-top: 30px;
  font-size: 1.1em;
}

/* FIXME: add classes? (dependency-item or something?) */
#jar-sidebar > li {
  min-height: 125px;
  padding: 10px 4px;
  border-top: 3px solid #4f4c4c;
}

#jar-sidebar textarea {
  font-family: monospace;
  padding: 4px 5px;
  color: #999;
  background-color: white;
  border: solid slategrey 1px;
  resize: none;
  margin-top: 0.5em;
/*  white-space: nowrap;*/
}

/* FIXME: clean up these class names so they can be reused */
.result {
  position: relative;
  height: 150px;
  margin: 15px 0;
  background-color: #f4f4f4;
  border-radius: 10px;
  padding: 10px 15px;
  overflow: auto;
}

.package-config-example {
  background-color: #f4f4f4;
  border-radius: 10px;
  padding: 15px 10px;
  overflow-x: auto;
}

.package-config-example:last-of-type {
  margin-bottom: 20px;
}

#flash {
  font-weight: bold;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
}

#flash.info {
      background-color: #ffb33b;
}

#flash.error {
    background-color: #ff2929;
}

/* FIXME: prefer a bulleted style for error lists? */
/* .error ul { */
/*   list-style-type: disc; */
/*   list-style-position: inside; */
/* } */

#jar-title h1 a {
  color: #393536;
}

#jar-title .description {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* See http://getbootstrap.com/css/#grid-media-queries for more information
 * about bootstrap's breakpoints
 */
@media (max-width: 768px) {
  /* Hide the search button on small screens */
  .hero input[type=submit] {
    display: none;
  }

  .hero input[type=search] {
    border-radius: 10px;
    width: 75%;
  }

  .hero, .small-header {
    padding: 15px 15px 50px;
  }

  .push-information {
    padding: 40px 15px 0;
  }

  .light-article {
    padding: 0 15px;
  }

  .recent-jars-list {
    padding: 0;
  }

  .recent-jar {
    height: 200px;
  }

  .main-navigation {
    text-align: center;
  }

  #jar-info-bar {
    margin-left: 0;
    padding: 0;
  }

  #jar-info-bar li {
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #d3d3d3;
    border-left: 0;
  }

  /* reflow the 'hero' and 'getting started' text on small screens  */
  .getting-started > .col-md-12, .hero-text > .col-md-12 {
    display: inline;
    padding: 0
  }

  .small-header {
    padding-bottom: 90px;
  }

  .small-header .home h1 {
    font-size: 1.3em;
    padding-top: 10px;
  }

  .small-header .home h1 a {
    padding-left: 5px;
  }

  .small-header .main-navigation {
    font-size: 0.7em;
  }
}

.sponsors {
  padding-top: 10px;
  color: #999;
}

.result a.fork {
  font-style: italic;
}

ul#blockers li {
  list-style-type: disc;
  list-style-position: inside;
}

.dash-palette {
  background: #f4f4f4;
  border-radius: 10px;
  padding: 0 10px 10px;
  min-height: 100px;
}

.dash-palette h2 {
  padding-top: 10px;
}

.dash-palette ul {
  color: #393536;
  list-style-type: disc;
  list-style-position: inside;
}

#ssh-key {
    display: none;
}

pre.error-id {
    background: #e2e4e3;
    text-align: center;
    margin-top: 10px;
}
