﻿.blog-video-wrapper {
    outline: none;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
    text-align: center;
    margin: 50px;
}

.blog-video {
    height: 600px;
    -ms-background-size: contain;
    background-size: contain;
}

.inner {
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
}

/* Blog posts*/

.post-feed {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.post-card {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 20px 40px;
    min-height: 300px;
    background: #fff center center;
    background-size: cover;
    border-radius: 5px;
    box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
    transition: all 0.5s ease;
}

    .post-card:hover {
        box-shadow: rgba(39,44,49,0.07) 8px 28px 50px, rgba(39, 44, 49, 0.04) 1px 6px 12px;
        transition: all 0.4s ease;
        transform: translate3D(0, -1px, 0) scale(1.02);
    }

.post-card-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.post-card-image {
    width: auto;
    height: 200px;
    background: var(--lightgrey) no-repeat center center;
    background-size: cover;
}

.post-card-content-link {
    position: relative;
    flex-grow: 1;
    display: block;
    padding: 25px 25px 0;
    color: var(--darkgrey);
}

    .post-card-content-link:hover {
        text-decoration: none;
    }

.post-card-tags {
    display: block;
    margin-bottom: 4px;
    color: var(--midgrey);
    font-size: 1.2rem;
    line-height: 1.15em;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-card-title {
    margin-top: 0;
}

.post-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-card-excerpt {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 25px 25px;
}

.blogs {
    background: #cbeafb;
}
.blogs-header-wrapper, .blogs-detail-wrapper {
    -ms-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 0;
    background-color: #cbeafb;
}

.blogs-detail-wrapper{
    background-color: #fff;

}

    .blogs-header-wrapper .content {
        padding-bottom: 0;
    }

    .blogs-header-wrapper h2 {
        margin: 0;
        border-bottom: 2px solid #636e76;
        font-weight: normal;
    }

.blogs h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Copse', serif;
    margin-top: 15px;
}

/* 7. Single Post
/* ---------------------------------------------------------- */

.post-template .site-main,
.page-template .site-main {
    padding-bottom: 4vw;
    background: #fff;
}

.post-full {
    position: relative;
    z-index: 50;
}
/* ^ Required to make .post-full-content:before/after z-index stacking work */

.post-full-header {
    margin: 0 auto;
    padding: 40px;
    max-width: 1040px;
    text-align: center;
}

@media (max-width: 500px) {
    .post-full-header {
        padding: 14vw 3vw 10vw;
    }
}

.post-full-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--midgrey);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-full-meta-filed {
    margin: 10px 0;
    font-size: 20px;
    line-height: 25px;
}

.post-full-meta-date {
    color: var(--blue);
}

.post-full-title {
    margin: 0;
    color: color(var(--darkgrey) l(-5%));
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Copse', serif;
}

.date-divider {
    display: inline-block;
    margin: 0 6px 1px;
}

.post-full-image {
    position: relative;
    width: 100%;
    padding-bottom: 55%;
    margin: 0;
    background: #c5d2d9 50%;
    background-size: cover;
    border-radius: 3px;
}

.post-full-content {
    position: relative;
    margin: 0 auto;
    padding: 50px;
    min-height: 230px;
    //font-family: athelas, Georgia, serif;
    //font-size: 2.2rem;
    //line-height: 1.6em;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    background: #fff;
}

@media (max-width: 1170px) {
    .post-full-content {
        padding: 5vw 7vw 0;
    }
}

@media (max-width: 800px) {
    .post-full-content {
        font-size: 1.9rem;
    }
}

.post-full-content:before {
    content: "";
    position: absolute;
    top: 15px;
    left: -5px;
    z-index: -1;
    display: block;
    width: 20px;
    height: 200px;
    background: rgba(39,44,49,0.15);
    filter: blur(5px);
    transform: rotate(-5deg);
}

.post-full-content:after {
    content: "";
    position: absolute;
    top: 15px;
    right: -5px;
    z-index: -1;
    display: block;
    width: 20px;
    height: 200px;
    background: rgba(39,44,49,0.15);
    filter: blur(5px);
    transform: rotate(5deg);
}

.no-image .post-full-content {
    padding-top: 0;
}

    .no-image .post-full-content:before,
    .no-image .post-full-content:after {
        display: none;
    }

.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
.post-full-content h4,
.post-full-content h5,
.post-full-content h6,
.post-full-content p,
.post-full-content ul,
.post-full-content ol,
.post-full-content dl,
.post-full-content pre,
.post-full-content blockquote,
.post-full-comments,
.footnotes {
    min-width: 100%;
}

.post-full-content li {
    word-break: break-word;
}

    .post-full-content li p {
        margin: 0;
    }

.post-full-content a {
    color: #000;
    box-shadow: var(--blue) 0 -1px 0 inset;
}

    .post-full-content a:hover {
        color: var(--blue);
        text-decoration: none;
    }

.post-full-content strong,
.post-full-content em {
    color: currentColor;
}

.post-full-content small {
    display: inline-block;
    line-height: 1.6em;
}

.post-full-content li:first-child {
    margin-top: 0;
}

.post-full-content img,
.post-full-content video {
    display: block;
    margin: 1.5em auto;
    max-width: 1040px;
}

@media (max-width: 1040px) {
    .post-full-content img,
    .post-full-content video {
        width: 100%;
    }
}

/* Image captions

Usage (In Ghost editor):

![img](/some/image.jpg)
<small>Your image caption</small>

*/
.post-full-content img + br + small {
    display: block;
    margin-top: -3em;
    margin-bottom: 1.5em;
}


.post-full-content iframe {
    margin: 0 auto;
}

.post-full-content blockquote {
    border-left: #3eb0ef 3px solid;
}

    .post-full-content blockquote p {
        margin: 0 0 1em 0;
        color: inherit;
        font-size: inherit;
        line-height: inherit;
        font-style: italic;
    }

        .post-full-content blockquote p:last-child {
            margin-bottom: 0;
        }

.post-full-content code {
    padding: 0 5px 2px;
    font-size: 0.8em;
    line-height: 1em;
    font-weight: 400 !important;
    background: var(--whitegrey);
    border-radius: 3px;
}

.post-full-content pre {
    overflow-x: auto;
    margin: 1.5em 0 3em;
    padding: 20px;
    max-width: 100%;
    border: color(var(--darkgrey) l(-10%)) 1px solid;
    color: var(--whitegrey);
    font-size: 1.4rem;
    line-height: 1.5em;
    background: color(var(--darkgrey) l(-3%));
    border-radius: 5px;
}

    .post-full-content pre code {
        padding: 0;
        font-size: inherit;
        line-height: inherit;
        background: transparent;
    }

        .post-full-content pre code * {
            color: inherit;
        }

.post-full-content .fluid-width-video-wrapper {
    margin: 1.5em 0 1.5em;
}

.post-full-content hr {
    margin: 4vw 0;
}

    .post-full-content hr:after {
        content: "";
        position: absolute;
        top: -15px;
        left: 50%;
        display: block;
        margin-left: -10px;
        width: 1px;
        height: 30px;
        background: color(var(--lightgrey) l(+10%));
        box-shadow: #fff 0 0 0 5px;
        transform: rotate(45deg);
    }

.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
.post-full-content h4,
.post-full-content h5,
.post-full-content h6 {
    color: color(var(--darkgrey) l(-5%));
    font-family: "DDG_ProximaNova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.post-full-content h1 {
    margin: 0.5em 0 0.2em 0;
    font-size: 4.6rem;
    font-weight: 700;
}

@media (max-width: 500px) {
    .post-full-content h1 {
        font-size: 2.8rem;
    }
}

.post-full-content h2 {
    margin: 0.5em 0 0.5em 0;
    font-size: 3rem;
    font-weight: 700;
}

@media (max-width: 500px) {
    .post-full-content h2 {
        font-size: 2.6rem;
    }
}

.post-full-content h3 {
    margin: 0.5em 0 0.2em 0;
    font-size: 2.8rem;
    font-weight: 700;
}

@media (max-width: 500px) {
    .post-full-content h3 {
        font-size: 2.2rem;
    }
}

.post-full-content h4 {
    margin: 0.5em 0 0.2em 0;
    font-size: 2.8rem;
    font-weight: 700;
}

@media (max-width: 500px) {
    .post-full-content h4 {
        font-size: 2.2rem;
    }
}

.post-full-content h5 {
    display: block;
    margin: 0.5em 0;
    padding: 1em 0 1.5em;
    border: 0;
    color: var(--blue);
    font-family: Georgia,serif;
    font-size: 3.2rem;
    line-height: 1.35em;
    text-align: center;
}

@media (min-width: 1180px) {
    .post-full-content h5 {
        max-width: 1060px;
        width: 100vw;
    }
}

@media (max-width: 500px) {
    .post-full-content h5 {
        padding: 0 0 0.5em;
        font-size: 2.2rem;
    }
}

.post-full-content h6 {
    margin: 0.5em 0 0.2em 0;
    font-size: 2.3rem;
    font-weight: 700;
}

@media (max-width: 500px) {
    .post-full-content h6 {
        font-size: 2rem;
    }
}

.footnotes-sep {
    margin-bottom: 30px;
}

.footnotes {
    font-size: 1.5rem;
}

    .footnotes p {
        margin: 0;
    }

.footnote-backref {
    color: var(--blue) !important;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Some grouped styles for smaller viewports */
@media (max-width: 500px) {
    .post-full-meta {
        font-size: 1.2rem;
        line-height: 1.3em;
    }

    .post-full-title {
        font-size: 2.9rem;
    }

    .post-full-content:before,
    .post-full-content:after {
        display: none;
    }
}

/* Tables */
.post-full-content table {
    display: inline-block;
    overflow-x: auto;
    margin: 0.5em 0 2.5em;
    max-width: 100%;
    width: auto;
    border-spacing: 0;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 1.6rem;
    white-space: nowrap;
    vertical-align: top;
}

.post-full-content table {
    -webkit-overflow-scrolling: touch;
    background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
    background-attachment: scroll, scroll;
    background-size: 10px 100%, 10px 100%;
    background-repeat: no-repeat;
}

    .post-full-content table td:first-child {
        background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
        background-size: 20px 100%;
        background-repeat: no-repeat;
    }

    .post-full-content table td:last-child {
        background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
        background-position: 100% 0;
        background-size: 20px 100%;
        background-repeat: no-repeat;
    }

    .post-full-content table th {
        color: var(--darkgrey);
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 0.2px;
        text-align: left;
        text-transform: uppercase;
        background-color: color(var(--whitegrey) l(+4%));
    }

    .post-full-content table th,
    .post-full-content table td {
        padding: 6px 12px;
        border: color(var(--whitegrey) l(-1%) s(-5%)) 1px solid;
    }


/*
.blogs, .blogs-detail {
    background: #fff;
}

    .blogs .blogs-items {
        overflow: hidden;
    }

.blogs-item {
    width: 26%;
    float: left;
    position: relative;
    margin: 1.5%;
    min-height: 1px;
    background-color: white;
    padding: 20px;
}

    .blogs-item:hover {
        box-shadow: 8px 28px 50px rgba(39,44,49,.07), 1px 6px 12px rgba(39,44,49,.04);
        transition: all .4s ease;
        transform: translate3D(0,-1px,0) scale(1.02);
    }


    .blogs-item .title {
        height: 107px;
        overflow: hidden;
    }

    .blogs-item .image {
        height: 250px;
        width: 250px;
        line-height: 250px;
        text-align:center;
    }

        .blogs-item .image img {
            max-height: 250px;
            max-width: 250px;
            vertical-align: middle;
        }

.blogs-detail .blogs-item-detail {
    padding: 0;
    color: #36454f;
    position: relative;
    text-align: center;
}
    .blogs-detail .info{
        text-align:left;
        text-transform:uppercase;
    }
    .blogs-detail .preview {
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 18px;
    }

    .blogs-item-detail .image {
        height: 500px;
        line-height: 500px;
    }

    .blogs-item-detail .image img {
        max-height: 500px;
        max-width: 500px;
        vertical-align: middle;
    }

.blogs-item-detail .title h4 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Copse', serif;
}


.blogs .paging {
    clear: both;
    margin-top: 20px;
}

.blogs h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Copse', serif;
    margin-top: 15px;
}

.blogs-detail .detail-info .preview {
    margin: 10px 0;
    text-align: left;
    font-size: 16px;
    line-height: 25px;
}


.blogs .preview {
    margin-bottom: 20px;
    text-align: left;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 25px;
    text-overflow: ellipsis;
    height: 125px;
    overflow: hidden;
}

.blogs .info, .blogs-detail .info {
    color: #878f95;
}

.blogs-header-wrapper {
    background-image: url('../img/news-clouds.png');
    -ms-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 0;
    background-color: #ebeced;
}

    .blogs-header-wrapper .content {
        padding-bottom: 0;
    }

    .blogs-header-wrapper h2 {
        margin: 80px 0 0 0;
        border-bottom: 2px solid #636e76;
        font-weight: normal;
    }

.blogs {
    background-color: #ebeced;
}

    */