﻿/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

.card-item .card-title{
    min-height: 55px;
}

.new-topic-header img{
    margin-right: 15px;
}

.post-header{
    margin-bottom: 15px;
    position: relative;
}

.head-thumbnail {
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.head-thumbnail:before {
    position: absolute;
    left: 0;
    top: 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(90deg, #717171 0, #171821bd 100%));
    background: -o-linear-gradient(90deg, #717171 0, #171821bd 100%);
    background: linear-gradient(90deg, #717171 0, #171821bd 100%);
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0.83;
}

.head-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.head-desc {
    position: absolute;
    bottom: 0;
    padding: 40px;
    width: 100%;
}

.head-desc .post-title {
    font-size: 25px;
    margin: 15px 0;
    color: #fff;
}

.head-desc .entry-meta span{
    color: #fff;
    margin-right: 10px;
}

.head-desc .entry-meta a{
    color: #fff;
}

.bodytext h2{
    font-size: 24px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.bodytext h3{
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.post-author img {
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background: #dde8f0;
    vertical-align: middle;
    margin-right: 5px;
}

.socialbutton{
    display:flex;
    align-items:flex-start;
    justify-content: right;
}

.RelatedPosts .heading{
    margin: 30px 0 20px;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    background-color: #2869970d;
    border-left: 3px solid #3875e6;
    padding-left: 15px;
}

.RelatedPosts ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.RelatedPosts ul li {
    position: relative;
    list-style: none;
}

.RelatedPosts .lk_image {
    width: 110px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    float: left;
    margin-right: 15px;
}

.RelatedPosts .lk_image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.RelatedPosts .lk_description h3{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.RelatedPosts .lk_meta span {
    display: inline-block;
    font-size: 13px;
    margin-right: 5px;
    color: #999;
}

.tophits .post{
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
}

.tophits .post:last-child{
    margin: 0;
}

.tophits .post-image{
    width: 90px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    float: left;
    margin-right: 10px;
}

.tophits .post-image img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tophits .post-title{
    font-weight: 400;
    font-size: 15px;
}

@media (max-width: 767.98px) {
    .post-footer{
        margin-bottom: 30px;
    }

    .RelatedPosts ul{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 499px) {
    .head-desc{
        padding: 40px 15px;
    }

    .head-desc .entry-meta span{
        font-size: 14px;
    }
}
