/******************/
/***** Common *****/
/******************/

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    background-color: #f2f2f2;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #333333;
    text-align: left;
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
}

h1, h1 a, h1 span,
h2, h2 a, h2 span,
h3, h3 a, h3 span,
h4, h4 a, h4 span,
h5, h5 a, h5 span,
h6, h6 a, h6 span {
    font-weight: 700;
    color: #3c3c3c;
    font-family: "Roboto Slab", sans-serif;
    text-decoration: none;
}

h1, h1 a { font-size: 36px; }
h2, h2 a { font-size: 24px; }
h3, h3 a { font-size: 18px; }
h4, h4 a { font-size: 16px; }
h5, h5 a { font-size: 16px; }
h6, h6 a { font-size: 16px; }

a {
    color: #f4793d;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

a:hover {
    color: #f4793d;
    text-decoration: underline;
}

blockquote, .blockquote {
    padding: 0 0 0 40px;
    border-left: 2px #f4793d solid;
    font-style: italic;
    color: #c1c0c0;
    margin: 0 0 20px;
}

.clearfix:after {
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.hidden {
    display: none;
}

.site {
    position: relative;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

/*
 * Default dimensions for wide screens
 * Constant width 960px, variable margins between unlimited - 40px
 */
.centerContainer {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.centerContainerHorizontalPadding {
    padding-left: 40px;
    padding-right: 40px;
}
.defaultPaddingTop {
    padding-top: 40px;
}
.defaultMarginBottom {
    margin-bottom: 40px;
}

/*
 * Screen width 1040px - 520px
 * Variable width 960px - 440px, constant margins 40px
 */
@media (max-width: 1040px) {
    .centerContainer {
        max-width: none;
        margin-left: 40px;
        margin-right: 40px;
    }
}

/*
 * Screen width 520px - 480px
 * Constant width 440px, variable margins between 40px - 20px
 */
@media (max-width: 520px) {
    .centerContainer {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .centerContainerHorizontalPadding {
        padding-left: 20px;
        padding-right: 20px;
    }
    .defaultPaddingTop {
        padding-top: 20px;
    }
    .defaultMarginBottom {
        margin-bottom: 20px;
    }
}

/*
 * Screen width 480px - 340px
 * Variable width 440px - 300px, constant margins 20px
 */
@media (max-width: 480px) {
    .centerContainer {
        max-width: none;
        margin-left: 20px;
        margin-right: 20px;
    }
}

/*
 * Screen width 340px - 320px
 * Constant width 300px, variable margins between 20px - 10px
 */
@media (max-width: 340px) {
    .centerContainer {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .centerContainerHorizontalPadding {
        padding-left: 10px;
        padding-right: 10px;
    }
    .defaultPaddingTop {
        padding-top: 10px;
    }
    .defaultMarginBottom {
        margin-bottom: 10px;
    }
}

/*
 * Screen width 320px - lower
 * Variable width 300px - lower, constant margins 10px
 */
@media (max-width: 320px) {
    .centerContainer {
        max-width: none;
        margin-left: 10px;
        margin-right: 10px;
    }
}

#contentContainer {
    padding-bottom: 146px;
}

.footer {
    position: absolute;
    width: 100%;
    height: 146px;
    bottom: 0;
    overflow: hidden;
}
.footer .footer_shadow {
    position: absolute;
    height: 10px;
    top: 0;
    left: -10px;
    right: -10px;
    -moz-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5);
}
.footer #footer_content {
    overflow: hidden;
    padding: 30px 0 15px;
    line-height: 1.5em;
    /*color: #525252;*/
    color: #cccccc;
    font-size: 14px;
    /*background-color: #303030;*/
    background-image: url('/images/header-bkgd.png');
}
.footer #footer_content #site_pagination {
    padding-bottom: 20px;
    margin-bottom: 30px;
    height: 40px;
    /*background-color: #363636;*/
}

.footer #footer_content .contact {
    padding-bottom: 20px;
}
.footer #footer_content .contact a {
    color: #ffffff;
}
.footer #footer_content .contact a#jekyllLink {
    float: right;
    background: url("http://jekyllrb.com/favicon.ico") no-repeat right top;
    background-size: 16px 16px;
    padding-right: 26px;
}
.footer #footer_content .contact a#linkedinLink {
    background: url("http://linkedin.com/favicon.ico") no-repeat;
    background-size: 16px 16px;
    padding-left: 26px;
}

.footer #footer_content .contact a#githubLink {
    background: url("http://github.com/favicon.ico") no-repeat;
    background-size: 16px 16px;
    padding-left: 26px;
}
.footer #footer_content .contact a#googlePlusLink {
    background: url("http://plus.google.com/favicon.ico") no-repeat;
    background-size: 16px 16px;
    padding-left: 26px;
}
.footer .copyright {
    clear: left;
    text-align: center;
    line-height: 18px;
    /*color: #525252;*/
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

/****************/
/***** Home *****/
/****************/

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

#home .pagination {
    overflow: hidden;
}

#home .pagination .pagination-button {
    width: 160px;
    padding: 10px 0;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #E9E9E9;
}

#home .pagination .pagination-button.next {
    float: right;
}

#home .pagination .pagination-button.previous {
    float: left;
}

/*****************/
/***** Posts *****/
/*****************/

.post {
    padding-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #E9E9E9;
}
.post_header {
    margin-bottom: 24px;
}
.post_header a {
    text-decoration: none;
}
.post_meta {
    font-family: 'Lato', sans-serif;
    margin-bottom: 24px;
    color: #999999;
    line-height: 30px;
    font-size: 14px;
}
.post_meta .post-meta-item {
    margin-right: 30px;
}
.post_meta .post-meta-item .fa {
    margin-right: 10px;
}
.post_meta .post-meta-item a {
    color: #999999;
}

.post_meta .post-meta-share-container {
    float: right;
}

.post_meta .post-meta-share-container .post-meta-share-button {
    float: left;
    margin-left: 5px;
    width: 30px;
    background-color: #f2f2f2;
    text-align: center;
    cursor: pointer;
    transition-property: color, background-color;
    transition-duration: 400ms;
    color: #999999;
}

.post_meta .post-meta-share-container .post-meta-share-button:hover {
    color: #ffffff;
}

.post_meta .post-meta-share-container .post-meta-share-button.post-meta-share-button-facebook:hover {
    background-color: #345fa2;
}

.post_meta .post-meta-share-container .post-meta-share-button.post-meta-share-button-twitter:hover {
    background-color: #25a7df;
}

.post_meta .post-meta-share-container .post-meta-share-button.post-meta-share-button-google-plus:hover {
    background-color: #de4d3b;
}

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

.post_content p img {
    max-width: 100%;
}
.post_content .light-text {
    color: #999999;
}
.post_content .text-align-center {
    text-align: center;
}
.post_content .margin-bottom-none {
    margin-bottom: 0;
}

.post_content .image-container {
    margin-left: auto;
    margin-right: auto;
}
.post_content .image-container p {
    font-style: italic;
    font-size: 14px;
}

.post_content .image-container img.shadow {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}
.weak-shadow {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/* terminal */
/*
.post_content pre.terminal {
    border: 1px solid #000;
    background-color: #333;
    color: #FFF;
}

.post_content pre.terminal code {
    background-color: #333333;
}
*/

.post_content h3,
.post_content h4,
.post_content h5 {
    margin-bottom: 10px;
}

.post_content ul,
.post_content p,
.post_content ol {
    margin-bottom: 20px;
    line-height: 26px;
    color: #666666;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.post_content hr {
    border: 0 solid #E9E9E9;
    border-top-width: 1px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.post_content #disqus_thread {
    margin-bottom: 20px;
}

/*****************/
/***** Pages *****/
/*****************/

.post_content.archive-content ul {
    margin-left: 0;
    list-style-type: none;
}

.post_content.archive-content ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
}

.post_content.archive-content ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post_content.archive-content ul li h5 {
    margin-bottom: 0;
}
