@import url(http://fonts.googleapis.com/css?family=Montserrat:300italic,600italic,300,600);
@import "pygments.css";

@font-face {
	font-family: "BebasNeue";
	src: url("BebasNeue-Regular.woff2") format("woff2");
	font-weight: light;
}

/*--------------------------------
  Typography
--------------------------------*/

body              { font: 200 16px/1.5em 'Montserrat', sans-serif; color: #222; }
a                 { text-decoration: none; color: inherit; font-weight: bold; border-bottom: 1px solid #ddd; }
a:hover           { border-bottom: 1px solid #222; }
em                { font-style: italic; }
strong            { font-weight: 600; }
h1, h2, h3,
h4, h5, h6        { font-family: 'Montserrat', sans-serif; font-weight: 900; color: #222; margin: 1em 0;}
p.topic-title, h1 { font-family: 'BebasNeue', sans-serif; font-weight: 500; font-size: 2em; line-height: 1.33em;}
h2                { font-size: 1.55em; line-height: 1.25em; }
h3                { font-size: 1.15em; }
h4                { font-size: 1em; }
h5                { font-size: 0.78em; }
h6                { font-size: 0.67em; }
h4, h5, h6        { text-transform: uppercase; letter-spacing: 0.15em; }
p, ul, pre, table { margin: 0; margin-bottom: 1em; }
/* code, pre         { font-size: 0.9em; color: #222;} */
blockquote        { border-left: 2px solid #222; color: #222; padding-left: 2em; margin: 0; }
hr                { border: 0; height: 2px; display: block; margin: 4em auto; background: #222; }
table             { width: 100%; }
th, td            { padding: 1em; text-align: center;}
td                { font-size: 0.88em; }
th {
  border-bottom: 1px solid #222;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7em;
  text-align: center;
  color: #222;
}
dt{ font-weight:bold;}

::selection {
  background: #ffb7b7; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #ffb7b7; /* Gecko Browsers */
}
/*--------------------------------
  Layout
--------------------------------*/

body {
  background: #666;
  margin: 0;
  text-align: justify;
}

#wrapper {
  max-width: 650px;
  margin: 50px auto;
  padding: 60px 9%;
  margin-top: 50px;
  background: #fff
}

.paginator{
    text-align:center;
}

header, section, footer, a {
  transition: 0.2s;
}

header {
  clear: both;
  padding-bottom: 3em;
  padding-top: 1px;
  /* border-bottom: 3px solid #222; */
}

header a {
  border-bottom: 0px;
}

header a:hover {
  border-bottom: 0px;
}

.byline{
    float: left;
}
.byline li{
    display: inline-block;
}
.byline ul{
  list-style-type: none;
  padding-left:0;
}
.byline li:after { content: "|"; padding: 0.2em; }
.byline li:last-child:after { content: ""; }

.byline a {
  color: #888;
  text-align: center;
  font-size: medium;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
}

.neighbors{
    margin: 0.2em;
    margin-top: 2em;
    font-size:medium;
    font-family: 'Montserrat', sans-serif;
}
.neighbors i{
    margin-left:0.2em;
    margin-right: 0.2em;
}
.neighbors a{
    border-bottom:0;
}

.downloads {
  float: right;
  font-size: 1.5em;
}

.downloads a {
  margin: 0 1em;
  color: #888;
  text-align: center;
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
a:hover{
    color:#2196F3;
}

.downloads a:last-child {
  margin-right: 0;
}

header hgroup {
  clear: both;
  border-top: 4px solid #222;
  margin-top: 3em;
}

.article-list{
    border-bottom:0;
    padding-bottom:0.5em;
}

header h1 {
  margin: 0;
  margin-top: 1px;
  padding-top: 1.5em;
  font-family: 'Bebas Neue';
  line-height: 1.33em;
  font-weight: 300;
  font-size: 5em;
  border-top: 1px solid #222;
}

.tagline {
  margin:0;
  margin-top: 1.25em;
  font-family: 'Playfair Display', "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif;
  line-height:1.5em;
  color: #fff;
  background-color: #2196F3;
  padding: 0.2em;
}

section {
  padding-top: 5em;
  padding-bottom: 4em;
  border-bottom: 4px solid #222;
  margin-top: 1px;
}

.article{
    padding-top: 2em;
    padding-bottom: 0em;
    border-bottom: 0;
}
.article-share-tags{
    padding-top: 4em;
    border-bottom: 4px solid #222;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: small;
}
.end-article-tags{
    float: right;
}
.article-share a{
    border-bottom:0;
}
.entry-title{

    margin: 0px;
}
.entry-content{
    padding-left:0.5em;
    padding-right:0.5em;
}
address{
    font-style: normal;
}

.post-info abbr, address, .article-footer abbr, address{
    color: #fff;
    background-color: #2196F3;
    padding: 0.2em;
}

.post-info a, .article-footer a{
    border-bottom:0;
}
.post-info a:hover, .article-footer a:hover{
    color: #fff;
    border-bottom: 1px solid #fff;

}

.post-info{
    font-size:small;
}
#post-list{
    list-style-type:none;
    padding: 10px;
}
#post-list li{
    border-bottom: 2px solid #222;
    margin-bottom: 3em;
    padding-bottom: 1em;
}
section h1:first-child {
  margin-top: 0;
}

figure{
    margin:0.4em;
}
figure img{
    width:100%;
}
/*figcaption{
    text-align:center;
}*/

footer {
  margin-top: 5px;
  overflow: hidden;
  text-align: left;
  font-size: medium;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
footer address{
    display: inline;
}

div#content > h1:first-child { display: none; }

.right-footer{
    float: right;
    display: inline;
}

.src{
    background-color: #263238;
    color: #ffffff;
    padding-left: 5px;
    overflow: scroll;
}
.slicknav_menu {
    display:none;
}

@media print {
  body { font-size: 12px; }
  header { border: 0;padding: 0; margin: 0; text-align: center; }
  .downloads, .byline, footer { display: none; }
  header hgroup { border: 0; padding: 0; margin: 0; }
  header h1 { margin: 0; padding: 0; font-size: 3em; border: 0; }
  header h2 { border: 0; margin: 0; }
  .downloads, footer { display: none; }
  section { border: 0; }
}

@media screen and (max-width: 650px) {
  body { font-size: 16px; background: #fff; }
  #wrapper { margin: 15px; padding: 0; padding-top:40px; }
  .downloads, .byline {text-align:center; float:none;}
  .downloads a:first-child {margin-left: 0; }
  header hgroup { border: 0; margin: 0; text-align:center; }
  header h1 { font-size: 3em; border: 0; padding: 0; padding-top: 0.5em; }
  .tagline { border: 0; margin-top: 0.5em; }
  header div { border: 0; }
  footer p { width: 100%; float: none; }
  footer p:last-child { text-align: left; }
  .article-footer {text-align: center;}
  /* #menu is the original menu */
  #menu {
      display:none;
  }
  .slicknav_menu {
      display:block;
  }
}

div.contents {
  padding: 1em;
  border: 1px solid #ddd;
}

div.figure.align-center img { display: block; margin-left: auto; margin-right: auto; }
p.caption { font-weight: bold; text-align: full; }

.align-center {
  display: block;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* For code highlighting */
td.code {
  text-align: left;
}

/* Don't center citation text */
table.citation tbody tr td { text-align: left; }
table.citation tbody tr :first-child { width: 12ex; }
