﻿.blog-page-title {
    padding: 25px;
    background: #5FB86F;
    display: none;
}

    .blog-page-title .title {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .blog-page-title .title h1 {
            font-weight: 500;
            font-size: 30px;
            text-transform: uppercase;
            color: #fff;
            margin: 0px;
        }

    .blog-page-title .rss {
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .blog-page-title a .socicon-rss:before {
        font-size: 20px;
        color: #fff;
    }

    .blog-page-title a:hover .socicon-rss:before {
        color: rgba(255, 255, 255, 0.6) !important;
    }

.blog-menu {
    padding: 5px;
    background: #80D68F;
}

.blog-category-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap;
    line-height: 1;
}


    .blog-category-menu ul li a {
        display: inline-block;
        font-weight: 500;
        font-size: 16px;
        color: #fff;
        text-transform: uppercase;
        padding: 5px 20px 3px;
        margin: 0px 3px;
        transition: all 0.3s ease;
    }

        .blog-category-menu ul li:hover a,
        .blog-category-menu ul li a.active {
            background: #007855;
            border-radius: 100px;
            transition: all 0.3s ease;
        }

.select-blog-category-menu {
    display: none;
}

.select2-container {
    width: 100% !important;
    z-index: 10000;
}

.blog-category-page .page-body {
    margin: 30px auto;
}

.blog-search {
    margin-bottom: 30px;
    text-align: center;
}

    .blog-search .search-container {
        display: block;
        position: relative;
        width: min(90%, 400px);
        margin: auto;
    }

        .blog-search .search-container input {
            width: 100%;
            background: #FFFFFF;
            border: 1px solid #A6ADB8;
            box-shadow: 2px 3px 3px rgba(119, 118, 121, 0.1);
            border-radius: 500px;
            font-family: 'Lato';
            font-weight: 400;
            font-size: 14px;
            color: #797482;
            padding: 10px 35px 10px 15px;
        }

        .blog-search .search-container button {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: #fff;
            border-radius: 100px;
            border: none;
            font-weight: 400;
            font-size: 13px;
            line-height: 13px;
            padding: 9px 15px;
            color: #fff;
            text-transform: uppercase;
            cursor: pointer;
        }

            .blog-search .search-container button:hover::before {
                color: #5FB86F;
            }

            .blog-search .search-container button::before {
                content: "\e036";
                font-family: 'feather';
                font-size: 20px;
                color: #A6ADB8;
            }

.blog-posts .blog-post-block {
    margin-bottom: 15px;
    padding-right: 7.5px;
    padding-left: 7.5px;
}

.blog-posts .post {
    background: #FFFFFF;
    border: 1px solid #E7E7F1;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    height: 100%;
}

.blog-post-content {
    padding: 15px;
    border-bottom: 1px solid #E7E7F1;
}


    .blog-post-content .post-head a {
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        color: #273B4A;
        height: 40px;
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        transition: color .3s;
    }

    .blog-post-content .post-head {
        margin-bottom: 10px;
    }

    .blog-post-content .post-body {
        font-family: 'Lato';
        font-weight: 400;
        font-size: 13px;
        line-height: 20px;
        color: #333;
        height: 80px;
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .blog-post-content .more-info a {
        font-weight: 500;
        font-size: 13px;
        line-height: 20px;
        color: #797482;
        text-decoration: underline;
        margin-top: 25px;
        display: block;
        transition: color .3s;
    }

.blog-footer {
    padding: 15px;
}

    .blog-footer .read-comments,
    .blog-footer .post-date {
        font-family: 'lato';
        color: #7D828B;
        font-weight: 400;
        font-size: 12px;
        line-height: 22px;
        transition: color .3s;
    }

        .blog-post-content .more-info a:hover,
        .blog-post-content .post-head a:hover,
        .blog-footer .read-comments:hover {
            color: #5FB86F;
            transition: color .3s;
        }

.least-count-warning {
    position: absolute;
    top: calc(100% + 5px);
    left: 15px;
    margin: 0;
}

.no-blog-found {
    text-align: center;
    font-size: 18px;
}

@media (max-width: 567px) {
    .blog-category-menu {
        display: none;
    }

    .select-blog-category-menu {
        display: block;
    }

    .blog-menu {
        background: #fff;
        box-shadow: 0 3px 10px 0 rgba(47, 56, 68, 0.22);
    }
}

.icon-time::before {
    content: "\e90e";
    font-family: ncco-icon;
    color: #7D828B;
    font-size: 13px;
    padding-right: 5px;
}

.icon-comment::before {
    content: "\e901";
    font-family: ncco-icon;
    color: #7D828B;
    font-size: 13px;
    padding-right: 5px;
}

.share-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.share-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 700px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

    .close-btn:hover,
    .close-btn:focus {
        color: black;
    }

.share-modal.show {
    display: block;
}
