* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
html {
  height: 100%;
}
html,
body {
  padding: 0;
  margin: 0;
}
body {
  background: #fff;
  color: #444;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: lighter;
  margin-bottom: 1em;
}
a {
  color: #444;
  text-decoration: none;
}
.clearfix:after {
  content: " ";
  display: block;
  clear: both;
}
.noselect {
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#container {
  padding: 2em;
}
header {
  font-size: 1.8em;
  margin-bottom: 1.1em;
}
h1 {
  display: inline-block;
  font-weight: bold;
}
h1 a {
  color: #444;
}
footer {
  color: #666;
  font-size: 0.9em;
  font-style: italic;
  margin-top: 3em;
}
footer a {
  color: #17baef;
}
nav.breadcrumbs {
  border-bottom: 1px solid #ddd;
  font-size: 1.2em;
  margin-bottom: 2em;
  padding: 0em 0em 0.8em 0.1em;
}
#albums,
#media {
  margin: 0em;
}
#albums a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  margin-right: 2em;
  margin-bottom: 3em;
  position: relative;
  overflow: hidden;
  width: 300px;
  height: 220px;
  background-size: cover;
  border-radius: 8px;
}
#albums .info {
  position: absolute;
  padding: 1em;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 0.9em;
  line-height: 1.2em;
  margin: 0;
  width: 100%;
  font-weight: bold;
  bottom: 0;
}
#albums h3 {
  font-size: 1.3em;
  margin-bottom: 0.2em;
}
#media li {
  float: left;
  margin-right: 0.4em;
  margin-bottom: 0.2em;
  position: relative;
  cursor: zoom-in;
}
#media a {
  display: inline-block;
}
#media img {
  border-radius: 8px;
  display: block;
}
#media li .video-overlay {
  left: 50%;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  position: absolute;
  top: 50%;
  width: 48px;
}
@media only screen and (max-width: 360px) {
  #albums a {
    width: 100%;
    height: 190px;
  }
}
nav.pagination {
  color: #666;
  display: inline-block;
  font-size: 1em;
  margin-top: 2em;
  padding: 0em 0em 0.5em 0em;
}
nav.pagination .page {
  margin-right: 0.2em;
}
nav.pagination .page.current {
  font-weight: bold;
}
nav.pagination a {
  color: #666;
}
#zip {
  color: #666;
  margin-bottom: 2em;
}
#zip a {
  color: #3399ff;
}
/* Fonts
==================== */

@font-face {
    font-family: 'ClearSans';
    src: url('../fonts/ClearSans-Regular.eot');
    src: url('../fonts/ClearSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ClearSans-Regular.woff') format('woff'),
         url('../fonts/ClearSans-Regular.ttf') format('truetype'),
         url('../fonts/ClearSans-Regular.svg#open_sans') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'ClearSans';
    src: url('../fonts/ClearSans-Bold.eot');
    src: url('../fonts/ClearSans-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ClearSans-Bold.woff') format('woff'),
         url('../fonts/ClearSans-Bold.ttf') format('truetype'),
         url('../fonts/ClearSans-Bold.svg#open_sansbold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'ClearSans';
    src: url('../fonts/ClearSans-BoldItalic.eot');
    src: url('../fonts/ClearSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ClearSans-BoldItalic.woff') format('woff'),
         url('../fonts/ClearSans-BoldItalic.ttf') format('truetype'),
         url('../fonts/ClearSans-BoldItalic.svg#open_sansbold_italic') format('svg');
    font-weight: bold;
    font-style: italic;

}

@font-face {
    font-family: 'ClearSans';
    src: url('../fonts/ClearSans-Italic.eot');
    src: url('../fonts/ClearSans-Italic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ClearSans-Italic.woff') format('woff'),
         url('../fonts/ClearSans-Italic.ttf') format('truetype'),
         url('../fonts/ClearSans-Italic.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: italic;

}


/* Basic
==================== */

:root {
  --primary-color: #f06;
  --fg-color: black;
  --bg-color: #eee;
  --header-color: aliceblue;
}

html,
body {
  height: 100%;
}

body {
  font-size: 18px;
  line-height: 1.4;
  font-family:'ClearSans';
  background-color: var(--bg-color);
}

.container {
  max-width: 800px;
}

a {
  color: var(--primary-color);
}

a:hover,
a:active,
a:visited {
  color: var(--primary-color);
  text-decoration: underline;
}

a.text-muted {
  color: #555;
}

h1, h2, h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

blockquote {
  border-left: 5px solid lightgray;
  font-style: italic;
  padding: 10px 20px;
  margin: 0;
}

blockquote p {
  margin-bottom: 0;
}

li {
  margin-top: 10px;
}

table tr:first-child td {
  border: none;
}

.content {
  margin-top: 20px;
}

.twitter-tweet-rendered {
  margin: auto;
}

img.txt {
  float: left;
  padding: 10px 10px 10px 0px;
  display: block;
}

pre,
code {
  background-color: #f6f8fa;
  line-height: 1.45;
  font-size: 0.9rem;
  padding: 5px;
  color: #e83e8c;
}

pre > code {
  padding: 0;
}

.embed-responsive {
  margin-bottom: 1rem;
}

/* Header
==================== */

h1.title {
  font-size: 2rem;
  text-align: center;
}

.home h1.title {
  display: none;
}

.avatar {
  display: none;
}

.home .avatar {
  display: block;
  padding: 20px 0;
  text-align: center;
}

.avatar img {
  max-width: 120px;
}

.nav-links {
  background-color: var(--header-color);
  border-top: 1px dashed var(--primary-color);
  border-bottom: 1px dashed var(--primary-color);
  padding: 5px 0px;
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: center;
  list-style-type: none;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  margin: 0 10px;
}

.home .nav-links {
  padding: 0;
  background-color: transparent;
  border: none;
}

.home .nav-links a {
  color: var(--bg-color);
}

.blog a.blog,
.projects a.projects,
.music a.music,
.places a.places,
.readings a.readings,
.contact a.contact,
.photos a.photos {
  color: black;
}

/* Footer
==================== */

footer {
  font-size: 0.8em;
  background-color: var(--header-color);
  border-top: 1px dashed var(--primary-color);
  height: 60px;
  text-align: center;
  padding: 20px 0px;
}

.home footer {
  display: none;
}

/* Home
==================== */

.home-bg {
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: -9999;
  position: fixed;
  top: 0px;
  left: 0px;
  margin: 0px;
  padding: 0px;
}

.home-box {
  color: #FFF;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  margin: auto;
  text-align: center;
}

.home .top-links > a {
  color: #ccc;
}

/* Posts
==================== */

.post img {
  display: block;
  margin: auto;
  max-width: 100%;
}

.post h4 {
  margin-top: 40px;
}

.post p {
  margin-top: 20px;
}

.post p:first-child {
  margin-top: 0;
}

#wrapper {
  height: auto;
  min-height: 100%;
  margin-bottom: -60px;
  padding-bottom: 80px;
}

.post-title {
  margin-top: -10px;
  margin-bottom: 20px;
}

.post-share {
  border-top: 1px solid lightgray;
  padding-top: 10px;
  font-style: italic;
}

.post-share > a {
  padding: 3px 4px 2px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  font-size: 0.9em;
  color: #222;
  text-decoration: none;
  font-style: normal;
}

.post-share > a > img {
  border: 0px solid;
  display: inline-block;
  vertical-align: text-top;
}

.contact-section {
  padding: 0 10px 15px 10px;
}

/* Social
==================== */

.contact-data {
  display: none;
}

.contact-info:hover .contact-data {
  display: block;
}

.social {
  margin-bottom: 0;
}

.social a {
  text-shadow: 1px 1px 1px black;
  margin-right: 10px;
}

.social a:hover {
  color: var(--bg-color);
}

.social-last::after {
  content: "|";
  display: inline-block;
  padding-left: 10px;
}

.social a.social-last:hover::after {
  color: var(--primary-color);
}

/* Sections
==================== */

.section {
  padding-left: 10px;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

section h3,
.photos .album-title h3 {
  margin-bottom: 10px;
  margin-top: 30px;
  border-bottom: 1px solid lightgray;
  font-size: 1.5rem;
}

.details {
  font-size: .9em;
}

img.cover {
  display: block;
  max-width: 100%;
}

/* Readings
==================== */

.books .tags {
  margin: 20px 0;
}

.book div {
  font-size: 0.9rem;
}

.book .title {
  font-weight: bold;
}

.book img.cover {
  height: 240px;
  object-fit: cover;
}

.book {
  margin-bottom: 10px;
}

li.article {
  list-style-type: none;
  font-size: 0.9rem;
  margin-left: -40px;
}

li.article::before {
  content: "\f1ea";
  font-family: ForkAwesome;
  font-size: 0.8rem;
}

/* Music
==================== */

.album {
  margin-bottom: 40px;
}

.album p.title {
  font-weight: bold;
}

.album p.desc {
  font-size: 0.9em;
}

.album p.links {
  font-size: .8em;
  padding-top: 10px;
}

/* Photos
==================== */
body.photos {
  margin-bottom: 0;
  color: var(--fg-color);
}

.photos #container {
  padding: 0 2em;
}

.photos header {
  margin-bottom: 0;
}

.photos header h1 {
  display: block;
  font-size: 2rem;
  font-weight: normal;
  margin: 10px 0;
}

.photos .lead {
  max-width: 800px;
  margin: 2em auto;
}

.photos .album-title h3 {
  margin-right: 35px;
}

.photos #albums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.photos ul#media {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
}

.photos #media li {
  margin: 0 0.2em 0.2em 0.2em;
}

.photos #albums a {
  margin: 0 1em 2em 1em;
}

.photos footer,
.photos .nav-links {
  margin-left: calc(-50vw - -50%);
  width: 100vw;
}

.photos .nav-links {
  margin-bottom: 50px;
}

.photos footer p {
  color: #212529;
  font-style: normal;
}

.photos footer a {
  color: var(--primary-color);
}

