/*
 * Body resets
 *
 * Update the foundational and global aspects of the page.
 */

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  color: #515151;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}

/* No `:visited` state is required by default (browsers will use `a`) */
a {
  color: #0a5e9b;
  text-decoration: none;
}
a strong {
  color: inherit;
}
/* `:focus` is linked to `:hover` for basic accessibility */
a:hover,
a:focus {
  text-decoration: underline;
}

/* Body text */
p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Lists */
ul, ol, dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

dt {
  font-weight: bold;
}
dd {
  margin-bottom: .5rem;
}

/* Misc */
hr {
  position: relative;
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #fff;
}

abbr {
  font-size: 85%;
  font-weight: bold;
  color: #555;
  text-transform: uppercase;
}
abbr[title] {
  cursor: help;
  border-bottom: 1px dotted #e5e5e5;
}

/* Tables */
table {
  margin-bottom: 1rem;
  width: 100%;
  border: 1px solid #2a2a2a;
  border-collapse: collapse;
  margin-left:  auto;
  margin-right: auto;
}
td,
th {
  padding: .25rem .5rem;
  border: 1px solid #2a2a2a;
}
tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
  background-color: #f5f5f5;
}

/* Code */
code,
pre {
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 14;
}
code {
  padding: .25em .5em;
  color: #010101;
  background-color: #f9f9f9;
  border-radius: 3px;
}
pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 1rem;
  line-height: 1.4;
  white-space: pre;
  background-color: #f9f9f9;
  overflow-x: auto;
}
pre code {
  padding: 0;
  /*color: inherit;*/
  background-color: transparent;
}

/*
 * Pagination
 *
 * Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
 * there are no more previous or next posts to show.
 */

.pagination {
  width: 100%;
  margin-top: 0px;
  display: inline-block;
}

/* Pagination items can be `span`s or `a`s */
.pagination-item {
  display: inline-block;
}

.pagination-item:last-child {
  display: inline-block;
  float: right;
}

/* Related posts */
.related {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid #eee;
}
.related-posts {
  padding-left: 0;
  list-style: none;
}
.related-posts h3 {
  margin-top: 0;
}
.related-posts li small {
  font-size: 75%;
  color: #999;
}
.related-posts li a:hover {
  color: #268bd2;
  text-decoration: none;
}
.related-posts li a:hover small {
  color: inherit;
}

/* Navigation
 */

.nav-container {
    width: 98%;
    max-width: 1024px;
    margin: 0;
    margin-top: 5px;
    margin-left:  auto;
    margin-right: auto;
    margin-bottom: -10px;
}

@media (min-width: 38em) {
    .nav-container {
      /*max-width: 96%;*/
      max-width: 1024px;
    }
}

.nav-container .nav {
    margin: 0;
    padding: 0;
}

.nav-container .nav a {
    display: inline-block;
    margin: 0;
    padding: 5px 8px 13px 8px;
    color: #e9e9e9;
}

.nav-container .nav a.active {
    color: rgba(48, 48, 48, 1);
    font-weight: bold;
    border: none;
    background-color: #f2f2f2;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/*
 * Container
 *
 * Center the page content.
 */

body {
  background-color: #2a2a2a;
}

.topbar {
    max-width: 1024px;
    width: 98%;
    margin: 0;
    margin-left:  auto;
    margin-right: auto;
}

.topbar .info {
    display: inline-block;
    float: right;
    font-size: 12px;
    color: #bababa;
}

.topbar .info a {
    color: #bababa;
}

@media (min-width: 38em) {
    .topbar .info {
        margin-top: auto;
        font-size: 18px;
        margin-top: 2.5vw; 
        margin-right: 60px;
    }
}

.topbar .name {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 0px;
    margin-left: 20px;
    color: #e9e9e9;
    font-weight: bold;
    font-family: 'Merriweather', serif;
    font-size: 24px;
}
@media (min-width: 38em) {
    .topbar .name {
        margin-left: 40px;
        margin-bottom: -12px;
        font-size: 60px; 
    }
}

.name a:hover,
.name a:focus {
  text-decoration: none;
}

.name a {
  color: inherit;
  text-decoration: none;
}

.topbar .banner-container {
    position: relative;
    z-index: -1;
}

.topbar .banner-container img {
    width: 100%;
}

.container {
    width: 98%;
    max-width: 1024px;
    min-height: 400px;
    padding: 20px 7px 0;
    margin: 0;
    margin-left:  auto;
    margin-right: auto;
    background-color: #f2f2f2;
    border-radius: 8px;
    color: rgba(48, 48, 48, 1);
}

@media (min-width: 38em) {
    .container {
      /*max-width: 96%;*/
      max-width: 1024px;
      padding: 20px 60px 0;
    }
}

.content {
    padding-bottom: 20px;
}

.content table {
    max-width: 100%;
    width: auto;
    margin-top: 20px;
    margin-bottom: 50px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.content .large-img {
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 50px;
}

.content .large-img img {
    width: 100%;
}

.content .med-img {
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 50px;
}

.content .small-img {
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 50px;
}

.content .med-img .caption {
    display: block;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.caption.center {
  display:table;
  margin:0 auto;
}

.content .med-img img {
    display: block;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.content .small-img img {
    display: block;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.content .side-by-side-img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 50px;
}

.content .side-by-side-img img {
    width: 48%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 50px;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.twitter-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.twitter-widget {
  width:100% !important;
 }

.twitter-container iframe,
.twitter-container object,
.twitter-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content .caption {
    color: #9a9a9a;
}

.content .large-img img {
    width: 100%;
}

.content .highlighter-rouge,
.content code {
    max-width: 95%;
}

/* Blog post or page title */
.page-title,
.post-title,
.post-title a {
  color: rgba(48, 48, 48, 1);
  font-size: 32px;
}
.page-title,
.archive-post-title,
.archive-post-title a {
  color: rgba(48, 48, 48, 1);
  font-size: 18px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.page-title,
.post-title {
  margin-top: 20px;
  margin-bottom: 7px;
}

.post {
    margin-bottom: 30px;
}

blockquote.twitter-tweet {
  display: inline-block;
  font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 16px;
  border-color: #eee #ddd #bbb;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  margin: 10px 5px;
  padding: 0 16px 16px 16px;
  max-width: 468px;
}

blockquote.twitter-tweet p {
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
}

blockquote.twitter-tweet a {
  color: inherit;
  font-weight: normal;
  text-decoration: none;
  outline: 0 none;
}

blockquote.twitter-tweet a:hover,
blockquote.twitter-tweet a:focus {
  text-decoration: underline;
}

.post hr {
    margin-top: 0px;
    border-color: #7a7a7a;
}

.post .post-nav {
    width: 100%;
    min-height: 20px;
}

.post .post-next {
    float: right;
    margin-left: 50px;
}

.container .face-container {
    display: inline-block;
    width: 30%;
}

.container .face-container img {
    width: 100%;
}

.container .about-top {
    display: inline-block;
}

.container .about-text {
    display: inline-block;
    float: right;
    width: 63%;
}

/* Meta data line below post title */
.post-details {
  display: inline-block;
  width: 100%;
  margin-top: -.5rem;
  margin-bottom: 7px;
}

.archive-post-details {
  display: inline-block;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 10px;
}

.post-date {
  display: inline-block;
  width: auto;
  color: #7a7a7a;
}

.comments-right {
  display: inline-block;
  float: right;
}

.archive-comments {
  margin-left: 30px;
  display: inline-block;
}

@media (min-width: 30em) {
  .comments-right {
    display: inline-block;
    float: right;
    margin-right: 20px;
  }
}

.copy {
  margin-left:  auto;
  margin-right: auto;
  text-align: center;
  color: #c9c9c9;
  margin-top:  20px;
  padding-bottom: 10px;
}

.vis-screen {
    visibility: visible;
    display: inherit;
}

.vis-print {
    visibility: hidden;
    display: none;
}

@media print {
    .topbar .name {
        color: #1e1e1e;
    }

    .topbar .banner-container {
        visibility: hidden;
        height: 0;
    }

    .nav-container {
        visibility: hidden;
        height: 0;
    }

    .vis-screen {
        visibility: hidden;
        display: none;
    }

    .vis-print {
        visibility: visible;
        display: inherit;
    }
}
