﻿/*home-news*/
.home-news {
}

    .home-news h2 {
        margin: 30px 0;
        font-size: 2rem;
        color: #58595b;
        text-align: center;
    }

    .home-news .news-item {
        float: left;
        margin-left: 1.5%;
        margin-bottom: 20px;
        width: 23.5%;
        overflow: hidden;
        position: relative;
    }

    .home-news .news-item-1 {
        margin-left: 0;
        margin-bottom: 0;
        width: 50%;
    }

    .home-news .news-item .img img {
        width: 100%;
    }

    .home-news .news-item .img {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    .home-news .news-item .name {
        position: absolute;
        background-color: #000;
        opacity: 0.4;
        bottom: 0;
        padding: 5px 10px;
        width: 100%;
        height: 56px;
        overflow: hidden;
    }

        .home-news .news-item .name a {
            color: #fff;
        }

/*home-news 2022*/
.home-news-head {
    display: block;
    color: #333;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 0;
    font-weight: bold;
}

    .home-news-head a {
        margin-left: 10px;
        padding-right: 10px;
        position: relative;
    }

        .home-news-head a::before {
            content: '';
            height: 6px;
            position: absolute;
            transform: rotate(45deg);
            top: 6px;
            right: 0;
            width: 6px;
            border-top: 1px solid #2f80ed;
            border-right: 1px solid #2f80ed;
        }

.home-news-head2 {
    margin-left: 20px;
}

.home-news2 {
    padding-left: 20px;
}

.home-news1 .news-item {
}

.home-news1 .news-item {
    float: left;
    margin-left: 1.2%;
    width: 33.8%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #ebebeb;
    padding: 10px 0;
    margin-bottom: 0;
    align-items: center;
    display: flex;
}

.home-news1 .news-item-1 {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0;
    width: 65%;
    border: none;
}

.home-news1 .news-item .img img {
    width: 120px;
    height: 70px;
    border-radius: 5px;
}

.home-news1 .news-item .img {
    float: left;
    background-size: cover;
    background-position: center;
}


.home-news1 .news-item-1 .img {
    width: 100%;
    height: 100%;
}

    .home-news1 .news-item-1 .img img {
        width: 100%;
        height: 100%;
    }


.home-news1 .news-item .name {
    float: left;
    padding-left: 10px;
    width: calc(100% - 120px);
}

    .home-news1 .news-item .name a {
        font-size: 14px;
        line-height: 19px;
        overflow: hidden;
        -webkit-line-clamp: 3;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        color: #333;
    }

.home-news1 .news-item:hover a {
    text-decoration: none;
    color: #e3007b;
}

.home-news1 .news-item-1 .name {
    padding-left: 0;
    width: 100%;
}

    .home-news1 .news-item-1 .name a {
        font-size: 20px;
        font-weight: bold;
        line-height: 24px;
        margin-top: 10px;
    }

.home-news1 .news-item-5 {
    border-bottom: none;
}
/*home-news2*/

.home-news2 .news-item {
}

.home-news2 .news-item {
    float: left;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #ebebeb;
    padding: 10px 0;
    margin-bottom: 0;
    align-items: center;
    display: flex;
}

.home-news2 .news-item-1 {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0;
}

.home-news2 .news-item-4, .home-news2 .news-item-5 {
    display: none;
}

.home-news2 .news-item .img img {
    width: 90px;
    height: 60px;
    border-radius: 5px;
}

.home-news2 .news-item .img {
    float: left;
    background-size: cover;
    background-position: center;
}


.home-news2 .news-item-1 .img {
    width: 100%;
    height: 100%;
}

    .home-news2 .news-item-1 .img img {
        width: 100%;
        height: 100%;
    }


.home-news2 .news-item .name {
    float: left;
    padding-left: 10px;
    width: calc(100% - 90px);
}

    .home-news2 .news-item .name a {
        font-size: 14px;
        line-height: 19px;
        overflow: hidden;
        -webkit-line-clamp: 3;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        color: #333;
    }

.home-news2 .news-item:hover a {
    text-decoration: none;
    color: #e3007b;
}

.home-news2 .news-item-1 .name {
    padding-left: 0;
    width: 100%;
}

    .home-news2 .news-item-1 .name a {
        font-weight: bold;
        line-height: 21px;
    }

.home-news2 .news-item-3 {
    border-bottom: none;
}


@media (max-width : 992px) {
    .newscate-image-item {
        width: 15.5% !important;
    }
}

/*768px*/
@media (max-width : 768px) {

    .newscate-image-item {
        width: 22.5% !important;
    }

    /*home-news 2022*/
    .home-news-head {
        font-size: 14px;
        margin: 0 6px 10px;
    }

    .home-news-head2 {
        margin-left: 6px;
    }

    .home-news1, .home-news2 {
        white-space: nowrap;
        overflow-y: auto;
        padding: 0;
        margin: 10px 6px;
    }

        .home-news1 .news-item, .home-news2 .news-item {
            float: none;
            display: inline-block;
            align-items: unset;
            width: 30%;
            height: 155px;
            margin-right: 8px;
            margin-left: 0;
            border-bottom: none;
        }

            .home-news1 .news-item .img, .home-news2 .news-item .img {
                float: unset;
                display: block;
                width: 100%;
                height: 70px;
            }

                .home-news1 .news-item .img img, .home-news2 .news-item .img img {
                    width: 100%;
                    height: 100%;
                }

            .home-news1 .news-item .name, .home-news2 .news-item .name {
                float: unset;
                width: 100%;
                height: 55px;
                padding: 0;
                margin-top: 8px;
            }

                .home-news1 .news-item .name a, .home-news2 .news-item .name a {
                    font-size: 14px;
                    line-height: 19px;
                    font-weight: normal;
                    margin: 0;
                    white-space: initial;
                }

        .home-news2 .news-item-4, .home-news2 .news-item-5 {
            display: inline-block;
        }

    .p-news .body-content {
        margin-top: 0;
    }

    .wrap-news-head {
        display: flex;
        flex-wrap: wrap;
    }

    .wrap-news-breadcrumb {
        order: 2;
        width: 98%;
        margin: 0 1%;
    }

    .wrap-news-nav {
        order: 1;
        width: 100%;
    }

    .nav-newscate {
        margin-left: -10px;
        margin-right: -10px;
        background-color: #f1f1f1;
        width: calc(100vw) !important;
        max-height: 40px;
    }

        .nav-newscate .nav-newscate-item a {
            padding: 7px 10px;
        }

            .nav-newscate .nav-newscate-item a.fa-home {
                margin-top: 7px;
            }

            .nav-newscate .nav-newscate-item a::after {
                top: 30%;
            }

            .nav-newscate .nav-newscate-item a span {
                font-weight: bold;
                padding: 0 8px;
                text-transform: capitalize;
            }

    .newscate-image-item {
        width: calc(100%/3 - 10px);
        margin: 5px;
    }

        .newscate-image-item img {
            width: 60px;
            height: 60px;
        }

    .wrap-news ul.newscate-image a .circle {
        width: 65px;
        height: 65px;
    }

        .wrap-news ul.newscate-image a .circle:before {
            top: 24px;
            left: 29px;
        }

        .wrap-news ul.newscate-image a .circle:after {
            bottom: 26px;
            left: 29px;
        }

    .newscate-child-grid .title {
        margin: 0 1%;
    }

    .news-thumbnail-grid {
        margin: 6px 4% 6px 4%;
    }

        .news-thumbnail-grid .thumbnail-grid {
            height: 105px;
            margin-bottom: 0;
        }

            .news-thumbnail-grid .thumbnail-grid img {
                height: 100%;
            }

        .news-thumbnail-grid .news-item-name {
        }

    .newscate-grid-1 .news-thumbnail-grid {
        margin: 10px 2% 6px 2%;
        width: 96%;
    }

        .newscate-grid-1 .news-thumbnail-grid .thumbnail-grid {
            height: 285px;
        }

        .newscate-grid-1 .news-thumbnail-grid .news-item-name {
            height: auto;
            max-height: 75px;
        }

    .news-thumbnail-grid .news-item-name {
        font-size: 14px;
        color: #000;
        line-height: 19px;
        font-weight: bold;
        padding: 10px;
        height: 70px;
        text-align: left;
        white-space: pre-wrap;
    }

    .news-thumbnail-grid .news-item-des {
        padding: 0 10px 0 10px;
        margin-bottom: 10px;
    }

        .news-thumbnail-grid .news-item-des * {
            font-size: 12px !important;
        }

    .news-category-detail {
        padding: 10px;
    }

    .p-ndetail .nav-newscate-child {
        width: 100%;
        padding: 10px;
    }

    .nav-newscate-child {
        margin-right: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

        .nav-newscate-child .title {
            font-size: 13px;
            border-bottom-width: 2px;
            margin-left: 1%;
            margin-right: 1%;
        }

        .nav-newscate-child .navbar-nav {
            display: block;
            flex-direction: unset !important;
        }

            .nav-newscate-child .navbar-nav .nav-item {
                float: left;
                margin-right: 1% !important;
                margin-left: 1% !important;
                width: 48%;
            }



        .nav-newscate-child .fLimitMenu_SeeMore a span, .nav-newscate-child .fLimitMenu_Collapse a span {
            font-weight: bold;
            float: left;
        }

        .nav-newscate-child a .circle, .nav-newscate-child a .circle {
            float: left;
            padding-left: 5px;
        }

            .nav-newscate-child a .circle:before {
                content: "";
                width: 5px;
                height: 5px;
                border-right: 2px solid #288ad6;
                border-bottom: 2px solid #288ad6;
                transform: rotate( 45deg);
                position: absolute;
                top: 14px;
            }

        .nav-newscate-child .fLimitMenu_Collapse a .circle:before {
            top: 16px;
            transform: rotate( -135deg);
        }

    .newscate-list li:nth-child(1) .news-thumbnail {
        padding: 10px 0;
    }

    .news-thumbnail {
        padding: 10px 0;
    }

        .news-thumbnail:hover {
            border-color: #e3007b;
        }

        .news-thumbnail .thumbnail img {
            max-height: 200px !important;
        }

        .news-thumbnail .news-item-name {
            margin-bottom: 0;
        }

        .news-thumbnail .news-item-des {
            margin-top: 10px;
            width: 100%;
            max-height: 60px;
        }

    .newscate-list li:nth-child(n+4) .news-thumbnail .news-item-des {
        display: none;
    }

    .news-option {
        margin-left: 0;
        padding: 0;
    }

        .news-option .item {
            float: left;
            width: 100% !important;
            border-bottom: 1px solid #e5e5e5;
        }

            .news-option .item .img {
                float: left;
                width: 30%;
                height: auto !important;
            }

                .news-option .item .img img {
                    max-height: 100px !important;
                }

            .news-option .item .name {
                float: right;
                width: 65%;
            }


    .news-detail .news-item-content-box {
        padding: 10px !important;
    }



    .news-detail-comments h3 {
        font-size: 1.4rem;
    }
}
