﻿
/* Blog specific CSS */

#navigation-trail {
    background-color: #004878;
    color: #fff;
    padding-bottom: 12px;
    padding-top: 12px;
    width: 100%;
}

.trail-inner {
    margin: 0 auto;
    max-width: 1260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 85%;
}

.post-header {
    padding: 0 40px;
}

.post-content {
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0 40px;
}

.column-left {
    width: 67%;
    margin: 20px 0;
}

.column-right {
    width: 25%;
    margin: 44px 0;
    padding-top:0 px;
}

    .column-right .post-title, .column-right h3 {
        color: #505050;
        font-size: 1.125em;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

.post-author, .post-date {
    font-size: 0.875em;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*** Post Body ***/

.blog-post-body {
    font-size: 1em;
    line-height: 1.8;
    color: #505050;
}

    .blog-post-body p {
        line-height: 1.75;
        margin-bottom: 1.75em;
    }

    .blog-post-body h2 {
        font-size: 1.5em;
        font-weight: 600;
        line-height: initial;
        margin: 36px 0 24px;
    }

    .blog-post-body h3 {
        line-height: 1.5;
        color: #505050;
        font-weight: 500;
    }

    .blog-post-body a {
        font-weight: 600;
    }

    .blog-post-body .post-image {
        margin: 20px 0;
    }

    .blog-post-body img {
        width: 100%;
    }

    .blog-post-body figure {
        margin-bottom: 2em;
    }

    .blog-post-body figcaption {
        font-size: 0.875em;
        line-height: 1.5;
    }

    .blog-post-body ul {
        margin: 24px 0;
    }

        .blog-post-body ul li {
            margin: 12px 0;
        }

    .blog-post-body ol {
        list-style: none;
        counter-reset: list-counter;
        margin-top: 16px;
        margin-bottom: 16px;
    }

        .blog-post-body ol li {
            counter-increment: list-counter;
            margin-bottom: 1rem;
        }

            .blog-post-body ol li::before {
                content: counter(list-counter) ". ";
                font-size: 1.125em;
                font-weight: 500;
            }

    .blog-post-body td {
        padding: 6px 16px;
    }

blockquote {
    display: block;
    font-size: 1.125em;
    font-weight: 500;
    font-style: italic;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 40px;
    margin-right: 40px;
}

.video-container {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    z-index: 100;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.myScroll {
    overflow: initial;
}

/* Bottom */

.post-bottom {
    color: #777777;
}

.post-author-row.flex-container {
    justify-content: flex-start;
    align-items: center;
    margin: 2em 0;
}

.post-bottom h4, .post-bottom .post-author-title {
    font-weight: normal;
    font-size: 0.875em;
}

.post-bottom .post-author {
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.6;
    text-transform: none;
}

.post-bottom .post-author-title {
    text-transform: none;
}

.post-bottom .post-author-image {
    width: 60px;
    margin-right: 8px;
}

    .post-bottom .post-author-image img {
        width: 100%;
    }

.post-bottom .post-share-buttons, .post-tags {
    font-size: 0.875em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1em;
}

.social-container img {
    width: 30px;
}


/*** Right column ***/

.column-right h2 {
    color: #505050;
    font-size: 1.125em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0px;
    margin-bottom: 16px;
    line-height: 16px;
}

.posts-preview .post-image {
    margin: 12px 0;
}

.posts-preview h3{
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 16px;
}

.posts-preview h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.posts-preview .post-author, .posts-preview .post-date, .posts-preview .post-tags, .posts-preview .post-category {
    font-size: 0.875em;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.posts-preview .post-image {
    margin: 24px 0
}   

    .posts-preview .post-image img {
        width: 100%;
    }

.posts-preview .post-author {
    margin-top: 24px;
}

.posts-preview .post-tags {
    margin-bottom: 24px;
}

.post-container {
    padding: 0px !important;
    width: 100%
}


/***Experimental**/
.post-date img {
    display: inline;
}

.post-header h1 {
    color: #004878;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.125rem;
}

.post-title a {
    color: #004878;
    text-decoration: none;
    transition: all 0.4s;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.posts-preview h3 {
    font-weight: 600;
    margin-bottom: 16px;
}



/*** Responsive ***/

@media (max-width: 980px) {
    .post-header, .post-content {
        width: 100%;
        padding: 0;
    }

    .column-left {
        margin-right: 0;
        width: 100%;
    }

    .column-right {
        width: 100%;
    }

    pre {
        white-space: pre-wrap;
    }

    .posts-preview {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    .post-container {
        width: 48%;
    }
}

@media (max-width: 767px) {
    .post-container {
        width: 100%;
    }
}