* { margin: 0; padding: 0; }
body { font: 19px 'Merriweather'; letter-spacing: 0.01rem; font-weight: 300; line-height: 1.8; width: 100%; }
.clear { clear: both; }
section { margin: 0 auto; max-width: 1000px; padding-left: 20px; padding-right: 20px; }
section > header { text-align: center; margin-top: 50px; }
h1 { font-size: 35px; font-weight: 400; display: inline; }
h2 { margin-top: 40px; margin-bottom: 20px; font-size: 30px; }
h3 span { float: right; font: 22px 'Open Sans', serif; font-style: italic; font-size: 18px; color: #999; font-weight: normal; }
h3 { font-size: 20px;}
h3.margin-top { margin-top: 30px;}
p { margin: 0 0 25px 0; }
a { color: #000000; }
a:hover { text-decoration: none; }

time { color: #666; font-size: 12px; font-style: italic; }
header > time { display: block; }
.postPreview { margin: 50px 0; }
.postPreview h3 { line-height: 1; }
.postPreview img { max-width: 250px; float: right; margin-left: 20px;}
.postPreview::after {
    content: "";
    clear: both;
    display: table;
}
article { margin: 50px auto 0 auto; max-width: 800px; }
article img { display: block; max-width: 100%; height: auto; }
hr { display: block; width: 100px; margin: 61px auto 41px auto; border: 0; border-top: 1px solid #ccc;}
footer { margin: 50px auto 0 auto; max-width: 800px; font-size: 16px; text-align: right; }

footer input[type=email] {
    width: 200px;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #55595c;
    background-color: #fff;
    background-image: none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem; }
footer input[type=submit] {
    -webkit-appearance: none;
    background-color: #c0c0c0;
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .5rem .5rem;
    font-size: 1rem;
    border-radius: .25rem;
}
img {}
img.fill { width: 100%; }
img.left { float: left; max-width: 450px; margin-right: 20px; margin-left: -100px; }
img.right { float: right; max-width: 450px; margin-left: 20px; margin-right: -100px; }
img.center { margin-left: auto; margin-right: auto; display: block; }
img.logo { max-width: 150px; max-height: 150px; margin-right: 20px; margin-top: 20px; margin-bottom: 20px; float: left; }

blockquote {
  position: relative;
  font-size: 0.9em;
  padding-left: 1.75em;
}
blockquote:before {
  position: absolute;
  top: 0;
  left: 0;
  content: '\201C';
  color: #aaa;
  line-height: 40px;
  font-size: 40px;
  font-family: Times;
}

.photos { margin: 0 auto; padding: 0; overflow: hidden; }
.photos li { list-style: none; float: left; margin: 0.5%; padding: 1px; background: #eee; -moz-box-shadow: 0 0 4px #444; -webkit-box-shadow: 0 0 2px #000; width: 15%; height: 150px; }
.photos li div { background-size: cover; background-position: center; background-repeat: no-repeat; width: 100%; height: 100%; }
.photos li a { }
.photos li img { width: 100%; height: 100%;  object-fit: cover; /* Do not scale the image */ object-position: center; /* Center the image within the element */  }
.photos li a img { border: none; }

ul { margin: 0 0 16px 17px; }

.video-container {
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
}

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

.blog-navigation {
  font-size: 14px;
  display: block;
  width: auto;
  overflow: hidden;
  margin-top: 20px;
}

.blog-navigation a {
  display: block;
  width: 50%;
  float: left;
  margin: 1em 0;
}

.blog-navigation .next {
  text-align: right;
}

.pagination {
  height: 36px;
}

.pagination ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pagination li {
  display: inline;
}

.pagination li:first-child a {
  border-left-width: 1px;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}

.pagination li:last-child a {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.pagination a {
  float: left;
  padding: 0 14px;
  line-height: 34px;
  border: 1px solid #DDD;
  border-left-width: 0;
}

.pagination a:hover, .active a {
  background-color: whiteSmoke;
}

.disabled a, .disabled a:hover,
.active a, .active a:hover {
  color: #999;
  cursor: default;
}

.disabled a:hover {
  background-color: transparent;
}

@media (max-width: 1024px) {
    body { font-size: 16px; }
    footer { font-size: 14px; }
    h3 span { float: none; display: block; }
    h1 { font-size: 25px; }
    h2 { font-size: 25px; }
    h3 { font-size: 20px; }
    .photos li { width: 23%; }

    .postPreview > header a { font-size: 20px; }

    .postPreview img { display: none; }
}

@media (max-width: 700px) {
    img.left, img.right { float: none; width: 100%; max-width: none; margin: 0; }

    footer { text-align: center; }

    .blog-navigation { display: none; }

    footer input[type=email] { width: 100px; }
}

/* index page */
#about { position: relative; width: auto; padding-left: 20px; padding-right: 20px; margin: 20px auto 0 20px; }
#about p { color: #000; font-size: 18px; font-weight: 400; line-height: 1.3; margin-bottom: 16px; }
#about a { color: #000; }
#about h1 { color: #000; display: block; }

@media (max-width: 1024px) {
    #about { padding-left: 0; }
    #about p, #about a, #about h1 { font-weight: 300; }
    #about a { text-decoration: underline; }
    #about p, #about ul { font-size: 16px; }

    #monogram { position: relative; width: auto; padding: 20px; margin: 0; }
}
