/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  color: #4a4a4a;
  background-color: #f5fffa;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 400;
  font-size: 1em;
  overflow: hidden;
}

img {
  max-width: 400px;
}
a {
  color: rgb(146,66,59);
  text-decoration: none;
  border: none;
}

a img {
  outline: none;
}

a:hover {
  color: #D50102;
  border: none;
}

.separator {
  color: #555;
}

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
#logo {
  max-width: 175px;
}

.posts a {
  color: #444;
}

.posts a:hover {
  color: #777;
}

.posts h4 {
  line-height: 2.6em;
}

.posts-list {
  list-style-type: none;
}

.posts-list li {
  line-height: 2em;
  font-weight: 600;
}

.category-tag {
  border: 1px solid black;
  border-radius: 5px;
  display: inline-block;
  margin: 0 5px 10px 0;
  padding: 6px;
}

.category-tag:hover {
  background-color: rgb(221, 221, 221);
  border: 1px solid black;

}

.search-box {
  width: 90%;
  padding: 0.5em;
  font-size: 1em;
  border: 1px solid black;
}

.search-button {
  border: 1px solid black;
  background-color: transparent;
  display: inline-block;
  width: 50%;
  margin-top:0.25em;
  padding: 0.5em;
  font-size: 1em;
}

.search-button:hover {
  background-color: #D50102;
  color: white;
  cursor: pointer;
}

.search-results-header {
  line-height: 2em;
}

#search-results {
  padding-top: 2em;
}
/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
  height: 100%;
  width: 100%;
  line-height: 1.25em;
}

.title {
  display: inline-block;
  text-align: center;
  line-height: 25px;
}

.tagline {
  width: 100%;
  color: #787878;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5em;
  display: block;
}

.posts {
  border-top: 1px solid #e7e7e7;
  margin-top: 1em;
  padding-top: 1.5em;
  padding-bottom: 1.25em;
}

.footer {
  font-size: 0.95em;
  border-top: 1px solid #e7e7e7;
  padding-top: 1.25em;
  padding-bottom: 1.5em;
  overflow: hidden;
  float: center;
  text-align: center;
}

#footer-links p {
  padding-top: 0.75em;
  padding-bottom: 0.75em;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

#date {
  font-size: 16px;
  padding-top: 0.25em;
  margin-bottom: 2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #787878;
}

#cover-photo-container,
#info-container {
  display: block;
}

#info-container {
  margin-top: 3em;
}

#title {
  color: #4a4a4a;
  margin-bottom: 0.35em;
  font-size: 3em;
  line-height: 40px;
}

.post {
  line-height: 24px;
  max-width: 1000px;
  clear: both;
}

.post h1 {
  padding-bottom: 1em;
}

.post h2 {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

/* standard */
.post pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
}

.post p {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 17px;
  margin-bottom: 1.45em;
}

.post ul, .post ol {
  margin-left: 2.35em;
  margin-bottom: 1.25em;
}

.post code {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .2em;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}

/*****************************************************************************/
/*
/* Sidebar and Content
/*
/*****************************************************************************/

.sidebar,
.content {
  vertical-align: top;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar {
  float: left;
  width: 16vw;
  padding-left: 1em;
  padding-right: 1em;
  border-right: 1px solid #e7e7e7;
}

.content {
  padding-left: 2.125em;
}

.header {
  text-align: center;
  padding-top: 2.5em;
  font-size: 1.1em;
}

.post-link {
  margin-bottom: 0.75em;
}

.post-title {
  font-weight: 600;
  font-size: 1.25em;
  text-transform: uppercase;
}

.post-date {
  color: #8a8a8a;
  font-family: Monaco, "Courier New", monospace;
  font-weight: 600;
  font-size: 0.65em;
  display: block;
  text-transform: uppercase;
}

button {
  border: 1px solid #000000;
  background-color: #fff;
  font-size: 14px;
  padding: 8px 14px 8px 14px;
  text-decoration: none;
}

#sidebar-button {
  height: intrinsic;
  cursor: pointer;
  display: none;
  padding: 15px 5px 0px 0px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e7e7e7;
}

#sidebar-button:active,
#sidebar-button:hover {
  opacity: 0.7;
}

#neh-logo {
  max-width: 125px;
}


/*****************************************************************************/
/*
/* Colophon
/*
/*****************************************************************************/

.colophon {
  margin-top: 1.5em;
  margin-bottom: 1.45em;
  border-top: 1px dotted #e7e7e7;
}

.colophon p {
  margin-top: 1.25em;
  font-size: 0.95em;
  color: #777;
}


/*** Etc
***/

#also {
  padding: 18px 0 18px 0;
}

#also ul {
  list-style:none;
}

#also li {
  padding-left:33px;
}

.gallery {
  max-width: 200px;
  padding: 20px;
  float: left;
}
