* body {
  line-height: 1.6;
}

html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
  font-family: Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

code {
  font-family: Consolas, Courier, monospace;
}

h1, h2, h3, h4 {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: normal;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

pre, code {
  color: #333;
  background: rgb(250, 250, 250);
}

hr {
  border-top: 1px solid #333;
  border-bottom: 0;
}



/*=========================================*/
/* code/error dumps                        */

pre > code {
  display: block;
  overflow-x: scroll;
  font-size: 80%;
}



/*=========================================*/
/* general layout                          */

.content {
  max-width: 60em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4em;
}

@media only screen and (min-width: 70em) {
  .content {
     margin-left: 3em;
     margin-right: auto;
  }
}

@media only screen and (max-width: 69.9em) {
  .content {
     margin-left: 0.4em;
     margin-right: 0.4em;
  }
}

.skip-link__wrapper {
  margin: 0;
}

.skip-link:link, .skip-link:visited {
  background-color: #666666;
  color: #fff;
}

.skip-link {
  display: block;
  padding: 2px 0 3px;
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal;
}

.center {
  text-align: center;
}

#menu a {
  border: none;
  white-space: normal;
  padding: 0.625em 1em;
}

#menu .pure-menu-heading {
  font-size: 125%;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-top: 0;
  padding: 0.5em 0.8em;
  text-transform: uppercase;
}

.smaller {
  font-size: 80%;
}

.fine-print {
  font-size: 80%;
  color: #ccc;
}



/*=========================================*/
/* forms                                   */

.invalid-feedback {
  display: block;
  width: 100%;
  font-size: 80%;
  color: #e3342f;
}

.is-invalid {
  border-color: #e3342f !important;
}

.pure-form input[type=color]:focus, .pure-form input[type=date]:focus, .pure-form input[type=datetime-local]:focus, .pure-form input[type=datetime]:focus, .pure-form input[type=email]:focus, .pure-form input[type=month]:focus, .pure-form input[type=number]:focus, .pure-form input[type=password]:focus, .pure-form input[type=search]:focus, .pure-form input[type=tel]:focus, .pure-form input[type=text]:focus, .pure-form input[type=time]:focus, .pure-form input[type=url]:focus, .pure-form input[type=week]:focus, .pure-form select:focus, .pure-form textarea:focus {
    border-color:#129fea
}




/*=========================================*/
/* pure customizations                     */

.pure-menu-link {
    display: inline-block;
}

.pure-menu-selected {
    font-weight: 500;
}



/*=========================================*/
/* listing details                         */

article.listing {
  margin: 0em auto;
}

article.listing-with-cover {
  max-width: 60em;
  margin-top: 2em;
}

article.listing-with-header {
  max-width: 60em;
}

article.listing header {
  margin: 0 0 1em 0;
}

article.listing .header-img, article.listing .cover-img {
  margin-bottom: 2em;
}

article.listing header h1, article.listing header h2 {
  text-align: left;
  line-height: 1;
  margin-top: 0;
}

.byline {
  font-size: 0.8em;
  font-weight: 300;
  color: #999;
  padding: 0;
}

.listing > header {
  margin-top: 0;
  padding-top: 0;
}

.quote-mark {
  font-size: 7rem;
  line-height: 1;
  text-align: right;
}

.pure-g {
  letter-spacing: normal;
}

.tally {
  text-align: right;
}


.links {
  text-align: center;
  font-size: 125%;
}

.also-of-interest {
  margin-top: 4em;
  border-top: 1px solid #ccc;
}



/*=========================================*/
/* top-nav                                */

#top-nav a:hover {
    color: black;
    text-decoration: none;
}

#top-nav .pure-menu-selected {
    background-color: #1b587F;
}

#top-nav .pure-menu {
    border-bottom: 1px solid #1b587F;
}

#top-nav .search::-webkit-input-placeholder {
    direction: rtl;
}

#top-nav .search:-moz-placeholder {
    direction: rtl;
}

#top-nav .search::-moz-placeholder {
    direction: rtl;
}

#top-nav .search:-ms-input-placeholder {
    direction: rtl;
}

#top-nav .search-box {
  float: right;
  margin-left: 1em;
  margin-top: 2px;
}

@media only screen and (max-width: 50em) {
  #top-nav {
    overflow-x: scroll;
  }
  #top-nav .search-box {
    display: inline-block;
    float: none;
  }
}






/*=========================================*/
/* tag-nav                                */

.tag-remove {
    margin-left: -2em;
}

.tag {
  display: inline-block;
  margin: 0 1em 1em 0;
  font-size: 80%;
}

a.tag {
  text-decoration: none;
}

a.tag:hover {
  text-decoration: underline;
}

.tag-results .tag {
  font-size: 125%;
}

.tag-result {
  margin-bottom: 4em;
}



/*=========================================*/
/* Rankings                                */

table.rankings {
    width: 100%;
}
.rankings p, .rankings h2 {
    margin: 0;
}
.rankings td {
    padding: 1.5rem 0.5rem;
    vertical-align: top;
}
.rankings .byline {
    color: #ccc;
}
.rankings .rank {
    color: #ccc;
    font-size: 150%;
}
.rankings .info {
    color: #999;
    text-align: right;
}
.rankings tr {
    border: 1px solid #cccc;
}
.rankings h1, .rankings h2, .rankings h3, .rankings h4 {
    margin: 0;
}
.rankings .tags {
    margin-top: 0.1em;
}

table.rankings, table.rankings tr, table.rankings td, table.rankings th {
  border-left: 0;
  border-right: 0;
}

.rankings thead th {
  vertical-align: top;
  color: #999;
}

.rankings thead th.descriptor {
  text-align: left;
}

.rankings thead th.boosters {
  text-align: center;
}

p.more {
  text-align: right;
  font-weight: bold;
  margin-right: 4em;
}



/*=========================================*/
/* Voting                                  */

.button-boost, .pure-button-primary {
  border-radius: 4px;
  min-width: 7em;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

table.boosts {
  width: 100%;
}

table.boosts, table.boosts tr, table.boosts td, table.boosts th {
  border-color: #efefef;
  border-left: 0;
  border-right: 0;
}




div.errors {
  padding: 1px 1em;
}