﻿.blog-content, .blog-item {
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.1);
    border-radius: 10px
}

.blog-item {
    display: flex;
    flex-direction: column;
    color: #6b7074;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 0 3px rgba(0,0,0,.15);
    transition: all .3s ease
}

    .blog-item:hover {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px)
    }

        .blog-item:hover .overlay {
            opacity: .4
        }

        .blog-item:hover .blog-item__detail {
            opacity: 1
        }

.blog-item__image {
    height: 240px;
    overflow: hidden;
    position: relative
}

    .blog-item__image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        max-width: 100%
    }

        .blog-item__image img a {
            display: block
        }

    .blog-item__image .overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transition: all .5s ease;
        opacity: 0;
        background: #3c4858
    }

.blog-item__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px
}

.blog-item__title {
    position: relative;
    margin-bottom: 10px
}

    .blog-item__title a {
        padding-bottom: 15px;
        font-size: 17px;
        line-height: 30px;
        display: block;
        color: #1c1d3e
    }

    .blog-item__title:after, .blog-item__title:before {
        content: "";
        display: block;
        height: 3px;
        position: absolute;
        bottom: 0;
        background: #5447D4
    }

    .blog-item__title:before {
        width: 150px;
        right: 0
    }

    .blog-item__title:after {
        width: 30px;
        right: 160px
    }

.blog-item__desc {
    margin-top: 15px;
    font-size: 1.3rem;
    line-height: 25px;
    position: relative;
    flex: 1
}

.blog-item__detail {
    position: absolute;
    bottom: 5%;
    left: 5%;
    z-index: 1;
    transition: all .5s ease;
    opacity: 0
}

.blog-item__created-at {
    font-size: 1.2rem;
    color: #FFF;
    margin-right: auto
}

.blog-content {
    width: calc(100% - 305px);
    margin-left: 25px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden
}

    .blog-content .line {
        height: 1px;
        background-color: #e1e0e0
    }

.blog-content-title {
    color: #6b7074;
    padding-top: 40px;
    padding-bottom: 30px;
    display: flex;
    align-items: center
}

    .blog-content-title h1 {
        font-size: 20px;
        font-weight: 700;
        line-height: 2.2;
        max-width: 70%;
        margin: -10px 0 0 0;
        width: 100%;
        text-align: right
    }

.blog-content-created_at {
    font-size: 13px;
    margin-right: auto;
    color: #9ba4ab;
    max-height: 30px
}

.blog-content-img {
    position: relative
}

    .blog-content-img img {
        max-width: 100%;
        width: 100%;
        height: auto
    }

.blog-content-text {
    text-align: justify;
    color: #6b7074;
    padding: 0 85px
}

    .blog-content-text img {
        max-width: 100%;
        height: auto;
        display: block
    }

    .blog-content-text h2, .blog-content-text h3, .blog-content-text h4 {
        font-size: 19.2px;
        font-weight: 800;
        line-height: 1.5rem;
        padding: 15px 0;
        color: #000;
        margin-top: 20px
    }

    .blog-content-text p {
        line-height: 32px;
        margin: 32px 0
    }

    .blog-content-text h2 + p, .blog-content-text h3 + p, .blog-content-text h4 + p {
        margin-top: 5px
    }

    .blog-content-text a {
        color: #32b4fd
    }

.blog-content-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 32px 0
}

.blog-content-tags--title {
    color: #6b7074;
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px
}

.blog-content-tags ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap
}

    .blog-content-tags ul li {
        margin: 0 3px;
        background-color: #f1f1f1;
        display: inline-block;
        border-radius: 20px;
        padding: 5px 8px;
        color: #888;
        font-size: 12px
    }

.blog-content-wrapper {
    display: flex
}

.blog-sticky-sidebar {
    width: 305px;
    min-width: 305px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    display: block;
    padding-top: 25px
}

    .blog-sticky-sidebar .theiaStickySidebar {
        width: 100%
    }

.blog-sidebar {
    overflow: hidden;
    position: relative;
    min-height: 200px;
    background-color: #FFF;
    border-radius: 3px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: center
}

    .blog-sidebar:hover > .puzzle, .blog-sidebar:hover > .puzzle:after, .blog-sidebar:hover > .puzzle:before {
        transform: scale(1.1)
    }

.blog-sidebar-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 6px
}

    .blog-sidebar-content h5 {
        font-size: 18px;
        padding: 8px 0;
        line-height: 1.5
    }

    .blog-sidebar-content span {
        font-size: 13px;
        border-radius: 20px;
        padding: 8px;
        background-color: #7ac83f;
        display: inline-block;
        color: #FFF
    }

.blog-sidebar-full-link {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2
}
::-moz-selection {
    color: #fff;
    background: #481ea7
}

::selection {
    color: #fff;
    background: #481ea7
}
