/* Base */
/* ----------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  font-family: "Liberation Serif", "Times New Roman", serif;
  font-size: 12pt;
  line-height: 1.5;
  background-color: white;
}

h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; }

h1, h1 a, h1 a:visited,
h2, h2 a, h2 a:visited,
h3, h3 a, h3 a:visited,
h4, h4 a, h4 a:visited,
h5, h5 a, h5 a:visited,
h6, h6 a, h6 a:visited {
  line-height: 1;
  font-weight: bold;
  margin: 15px 0 10px;
  color: #789;
  font-family: "Open Sans", "Arial", sans-serif;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 20px;
}

a         { color: #789; text-decoration: none; }
a:hover   { color: #000; text-decoration: underline; }
a:visited { color: #789; }

p {
    padding: .5em 0;
    text-align: justify;
}

p.quote {
    margin-right:40pt;
    margin-left:40pt;
}

p.quote .source {
    text-align: right;
    font-style: oblique;
}

ul {
    margin-left: 25px
}

dt {
    font-weight: bold
}
dd {
    margin-left: 2em
}
/* Utility */

.wrap:before,
.wrap:after { content:""; display:table; }
.wrap:after { clear: both; }
.wrap {
  max-width: 1170px;
  padding: 0 30px;
  margin: 0 auto;
  zoom: 1;
}


.bibtex-trigger .bibtex-code { display: none; }
.bibtex-trigger:hover .bibtex-code { display: block; }


/* Layout Styles */
/* ----------------------------------------------------------*/

/* Site header */

.site-title,
.site-title:hover,
.site-title:visited {
  display: block;
  line-height: 1em;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 30px;
}

.site-title h1, .site-title h1 a, .site-title h1 a:visited {
    margin: .2em 0;
}

.site-title .logo {
    width: 80%
}

.site-nav {
  line-height: 2em;
  padding: 10px;
  text-align: center;
  margin: 20px 40px;
}

.site-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.site-nav li a {
    padding: 5px 16px;
    display: block;
    text-decoration: none;
      color: #727272;
}

.site-nav li a:hover {
    background-color: #727272;
    color: white;
}

.site-nav .menu-icon { display: none; }

/* Columns */


.column { float: left; margin-bottom: 15px; }

/* TODO recalculate fallback to match wrap width (1170px)*/
.col-1 {
  width: 270px; /*fallback*/
  width: -webkit-calc(35% - 10px);
  width: -moz-calc(35% - 10px);
  width: -o-calc(35% - 10px);
  width: calc(35% - 10px);
  margin-right: 10px
}
.col-2 {
  width: 520px; /*fallback*/
  width: -webkit-calc(65%);
  width: -moz-calc(65%);
  width: -o-calc(65%);
  width: calc(65%);
}

/* Page Content styles */
/* ----------------------------------------------------------*/

.page-content {
  padding: 30px 0;
  background-color: #fff;
}


/* Home styles */
/* ----------------------------------------------------------*/

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

.posts li { margin-bottom: 30px; }

.posts .post-link {
  font-size: 24px;
  letter-spacing: -1px;
  line-height: 1;
}

.posts .post-date {
  display: block;
  font-size: 15px;
  color: #818181;
}


/* Post styles */
/* ----------------------------------------------------------*/

.post-header { margin: 10px 0 30px; }

.post-header .meta {
  font-size: 15px;
  color: #818181;
  margin-top: 5px;
}

.post-content { margin: 0 0 30px; }

.post-content > * { margin: 20px 0; }

.post-content blockquote {
  border-left: 4px solid #e8e8e8;
  padding-left: 20px;
  font-size: 18px;
  opacity: .6;
  letter-spacing: -1px;
  font-style: italic;
  margin: 30px 0;
}

.post-content ul,
.post-content ol { padding-left: 20px; }

.post ul,
.post ol { margin-left: 1.35em; }


/* Tables */
th, td {
    padding: .2em .4em;
}

tr:nth-child(odd) {
    background-color: #f2f2f2
}

/* media queries */
/* ----------------------------------------------------------*/

@media screen and (max-width: 1100px) {

    .site-nav {
      padding: 10px 5px;
      margin: 20px 5px;
    }

    .site-nav li a {
        padding: 8px 0px;
    }
}

@media screen and (max-width: 750px) {

    .column.col-1 {
      width: auto;
      float: none;
      clear: both;
      margin-right: 0;
    }

    .column.col-2 {
      width: auto;
      float: none;
      clear: both;
      margin-right: 0;
    }
}

@media screen and (max-width: 600px) {

  .wrap { padding: 0 12px; }

  .site-nav {
    z-index: 10;
    line-height: 56px;
    padding: 10px 5px;
    margin: 0px 5px;
  }

  .site-nav .menu-icon {
    display: block;
    font-size: 24px;
    color: #505050;
    text-align: center;
    line-height: 36px;
  }

  .site-nav .menu-icon svg { width: 18px; height: 16px; }

  .site-nav .trigger {
    clear: both;
    margin-bottom: 5px;
    display: none;
  }

  .site-nav:hover .trigger { display: block; }

  .site-nav .page-link {
    display: block;
    line-height: 1.25;
    padding: 5px 10px;
    margin: 0;
  }

  .post-content blockquote { padding-left: 10px; }
  .post-content ul,
  .post-content ol { padding-left: 10px; }


  p.quote {
    margin-right:15pt;
    margin-left:15pt;
  }

}
