body {
font-family: Georgia, serif;
font-size: large;
text-align: center;
margin: 0;
color: #444;
}

header ul li, h1, h2, h3, h3, h4, h5, h6, p.author {
  font-family: Helvetica, Calibri, sans-serif;
}

a {
  text-decoration: none;
  color: #D02839;
}

a:hover {
  text-decoration: underline;
}

#container {
  margin: auto;
  max-width: 760px;
  text-align: left;
  padding-left: 8pt;
  padding-right: 8pt;
  padding-top: 2.5em;
  margin-top: 50pt;
}

header a {
	color: white;
}

header a:hover {
	text-decoration: none;
}

header ul {
  list-style-type: none;
  list-style-position: outside;
  padding: 4pt;
  padding-left: 8pt;
  padding-right: 8pt;
  margin: auto;
  margin-bottom: 0.2em;
  margin-top: 0;
  max-width: 760px;
}

header ul li {
  display: inline;
  margin-right: 8pt;
  
}

header ul li a {
  display: inline-block;
  padding: 0.2em;
  font-variant: small-caps;

  border-bottom-width: 2pt;
  border-bottom-style: solid;
  border-bottom-color: transparent;
}

header ul li a:hover {
  border-bottom-color: #F87D89;
}

hr {
  height: 1pt;
  border: 0;
  color: #aaa;
  background-color: #aaa;
}

div.divider {
font-size: small;
width: 100%;
text-align: center;
color: #ccc;
margin-top: 1.5em;
margin-bottom: 1.5em;
}

div.divider a {
  color: #ccc;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #666;
  color: white;
  margin-bottom: 2em;
  text-align: left;
}

@supports (-webkit-backdrop-filter: none) {
  header {
    background-color: rgba(102, 102, 102, 0.90);
    -webkit-backdrop-filter: blur(15px);
  }
}

footer div.divider {
  margin-top: 0;
  margin-bottom: 1em;
}

footer div.divider, footer div.divider a {
  color: #aaa;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 8pt;
  margin-top: 8pt;
}

h1 {
  font-weight: normal;
  font-size: 26pt;
  color: white;
  padding: .2em;
  padding-left: 8pt;
  padding-right: 8pt;
  text-align: left;
  margin: auto;
  max-width: 760px;
}

h2 {
	font-weight: normal;
	color: #555;
}

article > p {
  line-height: 1.4;

  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  text-align: justify;
}

code, pre, var, samp {
  font-size: 12pt;
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
}

p.author {
color: #aaa;
font-size: small;
margin-top: .1em;
margin-bottom: .1em;
}

article.snippet {
	margin-top: 2em;
  margin-bottom: 2em;
  max-width: 600px;
	padding: 1em;
  box-shadow: 0 0 3px 0 rgba(0,0,0,0.20);
}

article.snippet h2 {
  font-size: 14pt;
}

article.snippet p {
	margin: 0; padding: 0;
  text-align: left;
}

article.snippet h2 a {
  color: #777;
}

article img {
  max-width: 100%;
  height: auto;
}

p.author a {
  color: #777;
}

blockquote {
        margin: 0;
        padding: 0;
        padding-left: .5em;
        border-left: .2em solid lightgray;

        font-style: italic; }

/* Tag styling */

span.tag a {
  background: #ccc;
  border-style: solid;
  border-width: 0;
  margin: 0 0 10px 18px;
  padding: 2px 10px 1px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  font-style: normal;
  position: relative;
  line-height: 21px;
}

span.tag a:before {
  content: "";
  top: 0;
  left: -11px;
  position: absolute;
  border-style: solid;
  border-width: 9px 11px 9px 0;
  border-color: transparent #ccc transparent transparent;
}

span.tag a:hover {
  background: #999;
  border-color: #999;
  color: white;
  text-decoration: none;
}

span.tag a:hover:before {
  border-color: transparent #999 transparent transparent;
}

span.tag a:after {
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 50% 50% 50% 50%;
    box-shadow: 0 1px 1px #444 inset;
    content: "";
    height: 6px;
    left: -3px;
    position: absolute;
    top: 6px;
    width: 6px;
}

div.footnotes {
  font-size: smaller;
}

div.footnotes hr {
  height: 1px;
  background-color: #ccc;
}

@media (max-width: 450px) {

  body {
    font-size: 12pt;
  }

  h1 {
    font-size: 18pt;
  }

  h2 {
    font-size: 16pt;
  }

  div.divider {
    margin-top: 1em;
    margin-bottom: 1em;
  }

  article > p {
  	line-height: 1.3;
  }

  article.snippet {
  	font-size: 13pt;
  }

  #container {
    margin-top: 32pt;
  }
}
