body {
  font-size: 16px; 
  font-family: 'Crimson Text', serif;
  padding-top: 4em;
  padding-bottom: 4em;
  color: #123;
}

/**/
/*Containers*/
/**/

#sidebar-fix-container {
  width: 20%;
  padding-bottom: 2em;
}

@media (max-width: 990px) {
    #sidebar-fix-container {
        width: 100%;
    }
    #sidebar-fix-container.affix {
        position: static;
    }
}

#twitter-follow-button {
  background-color: #55acee;
  color: white;
  border: none;   
  max-width: 180px;
}

#read-more-button {
  background-color: #55acee;
  color: white;
  border: none;   
  max-width: 250px;
  padding-left: 20px;
  padding-right: 20px;
}

#paginator-button {
  width: 200px;
  padding-left: 20px;
  padding-right: 20px;
}

.post-content {
  padding-top: 2em;
  padding-bottom: 2em;
}

#related-posts > a:nth-of-type(n+3), #related-posts > h3:nth-of-type(n+1) {
  display: none;
}

img {
  max-width: 100%;
}

/**/
/*Basic Typography*/
/**/

h1 {
  font-size: 1.6em;
  margin-bottom: 0.2em;
}

h1, h1 a {
    line-height: 1.4em;
}

h1 a, h1 a:hover, #related-posts p, #related-posts h3 {
  color: #123;
  text-decoration: none;
}

a, a:hover {
  color: #0072c6;
  text-decoration: none;
}

p, a {
  font-size: 0.95em;
  line-height: 1.7em;
  margin-bottom: 1em;
}

li {
  font-size: 1em;
  line-height: 1.7em;  
}

ul {
  margin-bottom: 2em;  
}

/**/
/*Sidebar elements*/
/**/

#brand h1 {
  text-align: left;
}

#brand img {
  width: 4em;
}

#sidebar p, ul, li, a {
  font-size: 1em;
}

#sidebar ul, #sidebar li {
  list-style-position: inside;
  list-style-type: none;
  padding-left: 0px;
}

/**/
/*Article elements*/
/**/

p.post-time, p.post-tags {
  font-size: 0.8em;
  margin-bottom: 0.1em;
}

.post-tags .glyphicon {
  font-size: 0.8em;
  padding-left: 0.1em;
}

.post-tags a {
}

/**/
/*Figures and captions*/
/**/

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

.img_caption {
  float: left;
  width: 360px;
  padding-right: 40px;
  padding-bottom: 20px;
}

.img_caption img {
  padding-bottom: 10px;
}

.img_caption p {
  font-size: 18px;
  line-height: 22px;
  text-align: justify;
}

.posts {
  padding-top: 5%;
}

.posts li {  
  line-height: 90%;
  list-style: none;
}

.posts li p {
  margin-bottom: 25px;
}

.posts span {
  float: right;
  text-transform: uppercase;
  font-size: 0.70em;
  color: #777777;
}

.post {
  margin: 0px;
  padding-bottom: 20px;
  background: #fff;
  max-width: 700px;
  font-size: 20px;
  line-height: 32px;
}

.post h2 {
  font-size: 25px;
  line-height: 30px;
  margin-top: 50px;
  margin-bottom: 25px;
}

.post h3 {
  font-size: 22px;
  line-height: 28px;
  margin-top: 12px;
  margin-bottom: 25px;
}

.post .content {
  text-align: left;
  margin-top: 2em;
}

.post .content li {
  line-height: 150%;
  list-style: square;
}

.post .content ol {
  margin-bottom: 25px;
}

.post-header {
  padding: 40px 40px 20px 40px;
  text-align: center;
}

.post-header a {
    color: headings-color;
    font-size: 1em;
    color: #444;
}

.post-header a:hover {
  text-decoration: none;
  border:none;
}

.post-after
{
  padding-bottom: 20px;
}

.post-after p {
  display: inline;
}

.post-after ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.post-after ul li {
  float: left;
  margin-right: 20px;
}

.post-after ul li a {
  display: block;
}

.tags {
  display: inline;
}

.tags a {
  display: inline-block;
}

.tags a:hover {
  text-decoration: none;
}

blockquote {
  padding: 0px 0px 0px 20px;
  margin: 0px 0px 20px 0px;
  border-left: 5px solid #0072c6;
}

blockquote p
{
    font-size: 20px;
    line-height: 32px;
}

.tag-list {
  max-width: 700px;
  margin: auto;
}

.tag-list h1 {
  max-width: 300px;
  margin: auto;
  padding-bottom: 2em;
}

.one-post {
  padding-bottom: 30px;
}

#pagination {
  margin-top: 1.5em;
  padding-bottom: 60px;
  text-align: center;
}

#pagination a, #pagination p
 {
  display: block;
}

pre code {
  display: block;
  font-size: 14px;
}

.code {
  /*font-family: 'Liberation Mono', Monaco, Consolas;*/
  display: block;
}

code, pre {
    /*font-family: 'Liberation Mono', Monaco, Consolas;*/
    font-size: 14px;
}

#disqus_thread
{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

table.deck td {
  vertical-align: top;
  font-size: 0.9em;
  padding-top: 50px;
  line-height: 1.3em;
  position: relative;
}
table.deck td:nth-child(2) {
  padding-left: 20px;
}
table.deck td img {
  border: 1px solid #ccc;
}
table.deck td:nth-child(1):after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50px;
    right: 0;
    background: url(/js/zoom/icon.png);
    background-size: cover;
}
