/* By default <hx> and <p> elements
 * have 0 padding and
 * non zero top and bottom margins */

/* Arial is the narrowest font
 * so it doesn't take up much space
 * when it has a large size
 * so I use it for headings */

/* Post title =============================================================== */
div.wide_column > h2 {
    margin: 0px;
    font-size: 1.2em;
    font-family: Arial, Sans-Serif;
}

div.wide_column > h2 > a {
    color: black;
    text-decoration: none;
}

/* Headings contain permalinks
 * but underlined headings look like shit
 * so let's just change their color on hover */

div.wide_column > h2 > a:hover {
    color: #225772;
}

div.wide_column > small {
    display: block;
    margin: 0 0 1em 0;
    font-size: .8em;
    font-weight: bold;
    color: gray;
}


/* Post content ============================================================= */
/* WP encloses every post paragraph in a <p> tag: <p>text</p>
 * So a <div> tag is required to hold all the paragarphs together
 * WP encloses inserted images in <p> tags: <p><img /></p>
 * WP doesn't enclose lists in <p> tags */

div.post_content {
    margin: 0 0 3em 0;
    padding: 0;
}

/* Define space between paragraphs */
div.post_content > p,
div.post_content > address,
div.post_content > pre {
    margin: 0 0 1em 0;
    padding: 0;
}

div.post_content > p {
    text-align: justify;
}

/* Indent the first line
 * in the first paragraph */
/*
div.post_content > p:first-child {
    text-indent: 1em;
}
*/

/* Blue underlined links in text are a web standart
 * let's just not make them pure blue */
div.post_content a {
    color: #225772;
}

/* Headings ================================================================= */
div.post_content > h1,
div.post_content > h2,
div.post_content > h3,
div.post_content > h4,
div.post_content > h5,
div.post_content > h6 {
    font-family: Arial, Sans-Serif;
    margin: 0 0 1em 0;
}

div.post_content > h1 {
    font-size: 1.3em;
}

div.post_content > h2 {
    font-size: 1.2em;
}

div.post_content > h3 {
    font-size: 1.1em;
}

div.post_content > h4 {
    font-size: 1em;
}

div.post_content > h5 {
    font-size: 0.9em;
}

div.post_content > h6 {
    font-size: 0.8em;
}

/* Lists ==================================================================== */
div.post_content > ul,
div.post_content > ol {
    margin: 0 0 1em 0;
}

div.post_content > ul {
    list-style-image: url('img/bullet.png');
}

div.post_content > ul {
    padding-left: 1.5em;
}

div.post_content > ol {
    padding-left: 2em;
}

/* Images =================================================================== */
div.post_content img {
    border: none; /* in case the image is a link */
    padding: 0;
}

/* Looks best when white space is consistent:
 * image margin == wide column padding */
/* .alignleft, .aligncenter, .alignright
 * WP engine adds them to images */
img.alignleft {
    margin: 20px 20px 20px 0;
    float: left;
}

img.alignright {
    margin: 20px 0 20px 20px;
    float: right;
}

img.aligncenter {
	display: block;
    margin: 20px auto 20px auto;
}

/* Pagination ================================================================*/

div.pagination {
    margin: 0;
    padding: 0.5em 0 0 0;
    border-top: 1px #af6137 solid;
}

div.pagination a {
    color: #225772;
}

div.older, div.newer {
    margin: 0;
    padding: 0;
}

div.older {
  float: left;
}

div.newer {
    float: right;
}
