/* --- General --- */

body {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 18px;
  color: #404040;
  position: relative;
  background: #FFF;
}
p {
  line-height: 1.5;
  margin: 30px 0;
}
p a {
  color: #008AFF;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
}
a {
  color: #008AFF;
}
a:hover,
a:focus {
  color: #0085a1;
}
blockquote {
  color: #808080;
  font-style: italic;
}
blockquote p:first-child {
  margin-top: 0;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: inherit;
  border-radius: 3px;
}

img {
  max-width: 100%;
}

.disqus-comments {
  margin-top: 30px;
}

@media only screen and (min-width: 768px) {
  .disqus-comments {
    margin-top: 40px;
  }
}

::-moz-selection {
  color: white;
  text-shadow: none;
  background: #3B86C6;
}
::selection {
  color: white;
  text-shadow: none;
  background: #3B86C6;
}

/* --- Navbar --- */

.navbar-custom {
  background: #FFF;
  border-bottom: 1px solid #EAEAEA;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  min-height: 40px;
  padding: 0;
}

.navbar-custom .navbar-brand {
  font-weight: 800;
  font-size: 13px;
  color: #404040;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 15px;
  height: auto;
  line-height: 20px;
}

.navbar-custom .nav li a {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 800;
  color: #404040;
  padding: 10px 15px;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
  color: #3B86C6;
}

/* --- Hero --- */

.hero-unit {
  background-image: url(/bigimgs/tracks.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.5);
  padding: 80px 24px 114px;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 60px;
}

.hero-title {
  font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: rgba(0, 0, 0, 0.82);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.hero-subtitle {
  font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: rgba(0, 0, 0, 0.55);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 32px;
  line-height: 1.5;
}

.hero-btn {
  display: inline-block;
  font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 0 28px;
  height: 44px;
  line-height: 44px;
  text-decoration: none;
}

.hero-btn-arrow {
  margin-left: 8px;
}

.hero-btn:hover,
.hero-btn:focus {
  color: #3B86C6;
  border-color: #3B86C6;
  text-decoration: none;
}

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

/* Compact logo header for non-landing pages */
.page-logo {
  padding: 20px 0;
}

.page-logo .avatar-img {
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.hero-unit + .container {
  margin-top: 40px;
}

@media (max-width: 600px) {
  .hero-overlay {
    padding: 56px 16px 48px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

}

/* --- Footer --- */

footer {
  padding: 30px 0;
  margin-top: 50px;
  font-size: 14px;
}

footer a {
  color: #404040;
}

footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-family: Open Sans;
  text-align: center;
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  footer {
    padding: 50px 0;
  }
  footer .footer-links {
    font-size: 18px;
  }
  footer .copyright {
    font-size: 16px;
  }
}

/* --- Post preview --- */

.post-preview {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

@media only screen and (min-width: 768px) {
  .post-preview {
    padding: 35px 0;
  }
}

.post-preview:last-child {
  border-bottom: 0;
}

.post-preview a {
  text-decoration: none;
  color: #404040;
}

.post-preview a:focus,
.post-preview a:hover {
  text-decoration: none;
  color: #0085a1;
}

.post-preview .post-title {
  font-size: 30px;
  margin-top: 0;
}
.post-preview .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview .post-meta,
.post-heading .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
}
.post-preview .post-entry {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.post-preview .post-read-more {
  font-weight: 800;
}

@media only screen and (min-width: 768px) {
  .post-preview .post-title {
    font-size: 36px;
  }
}

/* --- Post and page headers --- */

.post-heading {
  padding: 20px 0;
}

.post-heading h1 {
  margin-top: 0;
  font-size: 35px;
}

.post-heading .post-subheading {
  font-size: 27px;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 20px;
}

@media only screen and (min-width: 768px) {
  .post-heading h1 {
    font-size: 50px;
  }
}

.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* --- Pager --- */

.pager li a {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 5px;
  background: #FFF;
  border-radius: 0;
  color: #404040;
}
@media only screen and (min-width: 768px) {
  .pager li a {
    padding: 15px 25px;
  }
}
.pager li a:hover,
.pager li a:focus {
  color: #FFF;
  background: #3B86C6;
  border: 1px solid #3B86C6;
}

.pager {
  margin: 10px 0 0;
}

.pager.blog-pager {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  .pager.blog-pager  {
    margin-top: 10px;
  }
}

/* --- Tables --- */

table {
  padding: 0;
}
table tr {
  border-top: 1px solid #cccccc;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}
table tr:nth-child(2n) {
  background-color: #f8f8f8;
}
table tr th {
  font-weight: bold;
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}
table tr td {
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}
table tr th :first-child,
table tr td :first-child {
  margin-top: 0;
}
table tr th :last-child,
table tr td :last-child {
  margin-bottom: 0;
}

.archive-list {
  margin-top: 30px;
}

.archive-group {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0 16px;
  margin-bottom: 8px;
}

.archive-year {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #404040;
  padding-top: 2px;
}

.archive-posts {
  display: flex;
  flex-direction: column;
}

.archive-post {
  padding: 2px 0;
}

.archive-posts .post-title {
  padding: 2px 0;
  color: #008AFF;
  text-decoration: none;
}

.archive-posts .post-title:hover {
  color: #0085a1;
}

.archive-tag {
  font-size: 0.8em;
  color: #868e96;
}

.tag:focus, .tag:hover {
  text-decoration: none;
  color: #0085a1
}

figure.highlight>table,
figure.highlight>table .code {
    width: 100%;
    border: none;
    padding: 0;
}

figure.highlight>table tr {
    border-top: none;
}

figure.highlight>table .gutter {
    display:none;
}
