@import url(noto.css);
@import url(source-code-pro.css);

body {
  font-size: 16px;
  font-family: "Noto Serif","Georgia", serif;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
  text-align: justify;
  hyphenate-limit-chars: auto 3;
  /*background-color: #fff2de;
  background-color: #fffbf5;*/
}

img {
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
   
  font-family: "Noto Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  /*font-family: "DejaVu Serif","Noto Serif","Georgia", serif;*/
  text-align: left;
}

.image-left {
    float: left;
    margin: 5px 20px 20px 0;
    padding: 0;
}


.figure {
    width:  540px; 
    max-width: 100%;
    padding: 5px; 
    margin: 0 auto;
    text-align: center;
    background-color: #f4f4f4;
    /* background-color: #e6d1b0; */
    border: solid 1px #ccc;
}

.figure img {
    max-width: 100%;
}

p.figcaption {

    text-align: left;
    font-size: 80%;
    margin: 0;
}

.name-and-slogan {
  
  color: #fff;
  /*background: none repeat scroll 0 0 #822445;*/
  background: none repeat scroll 0 0 #355374;
  font-family: "Noto Serif","Georgia", serif;
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar-inverse {
  background-color: #14304F;
  border-color: #14304F;
}

h1.site-name {
  font-family: "Noto Sans",Arial,Helvetica,sans-serif;
  /*font-family: "Noto Serif","Georgia", serif;*/
  font-weight: bold;
  margin: 0px;
}

.site-slogan {
  font-size: 16px;
  font-family: "Noto Serif","Georgia", serif;
}

.site-header {
  font-size: 16px;
  font-family: "Noto Serif","Georgia", serif;
}


.site-header .navbar
{
  border-radius: 0px;
}

dl.abstract {
  padding-left: 3em;
  padding-right: 3em;
  font-size: 80%;
}

.abstract dl {
  padding-left: 3em;
  padding-right: 3em;
  font-size: 80%;
}


.post-teaser {
  font-size: 80%
}

.post-teaser h2 {
  font-size: 150%
}

.post-teaser img {
  width: 300px;
  max-width: 100%;
}

.previous-post {
  text-align: right;
}

.next-post {
  text-align: left;
}

.post-meta {
  text-align: left;
}


pre, code {
    color: #880000;
    background-color: inherit;
}
pre, code, kbd, tt, samp, var {
    font-size: 100%;
}
textarea, pre, code, kbd, samp, var, tt {
    font-family: "Source Code Pro" , monospace;
    white-space: pre;
    word-break: normal;
    word-wrap: none;
}

pre code {
  white-space: pre;
  word-break: normal;
  word-wrap: none;
}


code.sourceCode {
    white-space: pre;
    word-break: normal;
    word-wrap: none;
}

.post-teaser code {
  word-break: break-all;
  word-wrap: break-word;
}

pre {
  overflow-x: auto;
}

p.featured-img {
  text-align: center;
  padding: 0;
}

img.featured {
  max-width: 360px;
  width: 100%
}

figure {
/*   position: relative; */
  margin: 0 auto;
  margin-top: 1ex;
  margin-bottom: 1ex;
  padding: 5px;
  width:  540px; 
  max-width: 100%;
  border: 1px solid gainsboro;
  background-color: #f4f4f4;
  /*background-color: #e6d1b0;*/
}

figcaption {
  padding: 5px;
  text-align: left;
  font-size: 80%;
}

img {
  max-width: 100%;
}

figure p {
  margin: 0;
}

.figcontainer > figure {
  width: 100%;
}

.main h1 {
  font-size: 170%;
}

.main h2 {
  font-size: 150%;
}

.main h3 {
  font-size: 125%;
}

.main h4 {
  font-size: 110%;
}

.main h5 {
  font-size: 100%;
  font-weight: bold;
}

th, td {
  padding-left: 1ex;
  padding-right: 1ex;
}


.booktable table {
  margin: 1em auto;
}

.booktable thead {
  border-top: 2px solid;
  border-bottom: 1px solid;
}

.booktable tbody {
  border-bottom: 2px solid;
}

.full-width img {
  width: 100%;
}

.original-width img {
  width: normal;
}


.affix {
  top: 0;
}

.litlist > p{
  padding-left: 2ex;
  text-indent: -2ex;
}


.compact td {
  padding: 0;
  border: 0 none;
}

.contact {
  white-space: nowrap;
}

.codebook code {
  color: #000;
}

#share {
  text-align: center;
}

/*article.post-content {
  column-width: 20em;
  -moz-column-width: 20em;
  -webkit-column-width: 20em;
}

figure {
  column-span: all;
  -moz-column-span: all;
  -webkit-column-span: all;
}*/
