﻿/* detail news */

.detail-news {
    background-image: url(../../../Design/img/home-about-img.png);
    background-size: cover;
}

    .detail-news .container {
        padding: 45px 0;
    }

.detail-news-title {
    margin: 0;
    font-size: 30px;
    color: var(--default-color-1);
    font-family: 'baiSB';
    font-weight: 100;
    margin-bottom: 16px;
    line-height: 155%;
    text-transform: uppercase;
}
.home-pic-list {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
    margin-top: 19px;
}

.home-pic-container .p-cate {
    text-align: left;
    color: #000;
    font-family: 'baiSB';
}

.home-pic {
    padding-top: 15px;
    border-top: 1px solid #bcbcbc;
}

.detail-news-bottom {
    overflow: hidden;
}

    .detail-news-bottom .my-left {
        width: 63.7%;
        float: left;
    }

    .detail-news-bottom .my-right {
        width: 435px;
        float: right;
        padding: 0 24px;
    }

.detail-news-wrap {
}

.detail-news-author {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

    .detail-news-author .author-img {
    }

        .detail-news-author .author-img img {
        }

    .detail-news-author .author-content {
        padding-left: 12px;
    }

        .detail-news-author .author-content h3 {
            margin: 0;
            color: #212529;
            font-weight: 100;
            font-size: 17px;
            margin-bottom: 5px;
        }

        .detail-news-author .author-content span {
            color: #2c2c2c;
            font-size: 14px;
        }

.detail-news-wrap .descript {
    font-size: 18px;
    color: #2c2c2c;
    margin-bottom: 30px;
    margin-top: 0;
    line-height: 155%;
    font-family: baiM;
    margin-bottom: 30px;
}

.detail-news-wrap .img {
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

    .detail-news-wrap .img img {
        height: auto !important;
        width: 100% !important;
    }

.detail-news-wrap .p-details {
    font-size: 17px;
    margin-top: 0;
    color: #333;
    line-height: 170%;
    margin-bottom: 14px;
}

    .detail-news-wrap .p-details *:first-child {
        margin-top: 0;
    }

    .detail-news-wrap .p-details h1,
    .detail-news-wrap .p-details h2,
    .detail-news-wrap .p-details h3,
    .detail-news-wrap .p-details h4,
    .detail-news-wrap .p-details h5,
    .detail-news-wrap .p-details h6 {
        color: var(--default-color-1);
        line-height: 150%;
        font-family: baiSB;
    }

    .detail-news-wrap .p-details *:last-child {
        margin-bottom: 0;
    }

.detail-news-wrap .social {
    display: flex;
    flex-direction: column;
	margin-top: 15px;
}

    .detail-news-wrap .social .item {
        position: relative;
        border: 1px solid #505050;
        width: 30px;
        height: 30px;
        margin-right: 10px;
        border-radius: 10px;
        color: #505050;
        transition: all ease .2s;
        cursor: pointer;
        background-color: #fff;
        font-size: 13px;
    }

        .detail-news-wrap .social .item .fb-share-button span {
            width: 100% !important;
            height: 100% !important;
        }

        .detail-news-wrap .social .item .fb-share-button iframe {
            width: 100% !important;
            height: 100% !important;
        }

        .detail-news-wrap .social .item .fb-share-button {
            position: absolute;
            top: 0;
            left: 0;
            width: 100% !important;
            height: 100% !important;
            opacity: 0;
        }

        .detail-news-wrap .social .item a {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
        }

    .detail-news-wrap .social .popup.show {
        opacity: 1;
        transform: translateY(0);
    }

    .detail-news-wrap .social .popup {
        position: absolute;
        top: 117%;
        pointer-events: none;
        white-space: nowrap;
        background-color: #2c2c2c17;
        color: #333c;
        font-size: 14px;
        border-radius: 5px;
        overflow: hidden;
        opacity: 0;
        padding: 4px 10px;
        transition: 0.6s cubic-bezier(.3,2.2,.3,1);
        transform: translateY(15px);
    }

    .detail-news-wrap .social .item:hover {
        background-color: var(--default-color-1);
        color: #fff;
        border-color: var(--default-color-1);
    }

    .detail-news-wrap .social h3 {
        margin: 0;
        font-size: 13px;
        color: #505050;
        font-weight: 100;
        margin-bottom: 9px;
        margin-top: 4px;
    }

.detail-news-wrap .social-list {
    display: flex;
}




.same-cate {
    background-color: #fafafa;
}


.same-cate-title {
    margin: 0;
    font-size: 27px;
    color: var(--default-color-1);
    /* padding-bottom: 20px; */
    font-family: 'barSB';
    text-transform: uppercase;
    margin-bottom: 25px;
}



.detail-news-bottom .my-right .list a:hover {
    background-color: transparent;
    color: var(--default-color-1);
    box-shadow: 0 0 10px 0 #00acfa2e;
}


.detail-news-bottom .my-right .list-tag {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: unset;
}

    .detail-news-bottom .my-right .list-tag h3 {
        margin: 0;
        font-size: 14px;
        color: #505050;
        font-weight: normal;
    }

.detail-news-bottom .my-right .list {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
}

    .detail-news-bottom .my-right .list a {
        font-size: 14px;
        color: #fff;
        background-color: var(--default-color-1);
        padding: 6px 16px;
        border-radius: 55px;
        border: 1px solid var(--default-color-1);
        display: block;
        margin: 5px 0;
        transition: all ease .3s;
    }

.my-side-news .side-news-item:last-child {
    margin-bottom: 0;
}

.my-side-news .side-news-item {
    padding: 15px;
    margin-bottom: 30px;
    border: 1px solid #F2F2F2;
    border-radius: 10px;
    background-color: #fff;
}

    .my-side-news .side-news-item .title::after {
        content: '';
        position: absolute;
        border-left: 2px solid var(--default-color-1);
        height: 19px;
        width: 2px;
        opacity: .5;
        left: 0;
    }

    .my-side-news .side-news-item .title {
        margin: 0;
        font-family: baiB;
        font-weight: 100;
        font-size: 16px;
        color: var(--default-color-2);
        padding-bottom: 6px;
        display: flex;
        position: relative;
        align-items: center;
        padding-left: 10px;
        line-height: 100%;
    }



.side-news-link:first-child {
}

.side-news-link:hover h3 {
    color: var(--default-color-2);
}

.side-news-link {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #F2F2F2;
    transition: 0.8s cubic-bezier(.3,2.2,.3,1);
    align-items: center;
}

    .side-news-link:hover {
    }

        .side-news-link:hover span {
            transform: translateX(6px) translateY(3px) scale(1.2);
            opacity: 1;
            color: var(--default-color-2);
        }

        .side-news-link:hover h3 {
            transform: translateX(6px);
        }


    .side-news-link img {
        width: 20px;
    }

    .side-news-link .index {
        height: fit-content;
        width: 24px;
        border-radius: 50%;
        color: var(--default-color-1);
        font-family: 'barSB';
        font-size: 13px;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
        opacity: .7;
    }

    .side-news-link:last-child {
        border: none;
        padding-bottom: 0;
    }

    .side-news-link h3 {
        margin: 0;
        font-size: 14px;
        flex: 1;
        color: #555;
        font-weight: 100;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-left: 4px;
        font-family: 'baiM';
        line-height: 152%;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
    }


.side-news-item.download {
}

    .side-news-item.download img {
        width: 22px;
    }

    .side-news-item.download a {
        align-items: center;
        padding: 18px 0 !important;
    }

        .side-news-item.download a:hover h3 {
            text-decoration: underline;
        }

        .side-news-item.download a h3 {
            color: var(--default-color-4);
            margin-left: 5px;
            padding: 0;
            transform: translateX(0) !important;
        }

.side-news-link.down {
    flex-direction: column;
    user-select: none;
    padding: 12px 0;
}

    .side-news-link.down h3 {
        padding: 0;
        color: #2c2c2c !important;
    }

    .side-news-link.down a {
    }

    .side-news-link.down .bot-options {
        display: flex;
        align-items: center;
        margin-top: 6px;
    }

    .side-news-link.down .options-item:first-child {
        margin-left: 0;
    }

    .side-news-link.down .options-item:hover {
        text-decoration: underline;
    }

    .side-news-link.down .options-item {
        cursor: pointer;
        font-size: 14px;
        color: var(--default-color-4);
        margin: 0 5px;
    }



.vanban-filter {
    margin-bottom: 43px;
}

.vanban-filter-item {
    display: flex;
    align-items: center;
}

    .vanban-filter-item h3 {
        margin: 0;
        font-family: 'SFM';
        color: var(--default-color-4);
        font-size: 18px;
        margin-right: 30px;
    }

    .vanban-filter-item .input {
        flex: 1;
        border: 1px solid #33333329;
        border-radius: 5px;
        position: relative;
        display: flex;
        align-items: center;
        padding: 10px 20px;
        user-select: none;
        cursor: pointer;
    }

        .vanban-filter-item .input.show::before {
            transform: rotate(180deg);
        }

        .vanban-filter-item .input::before {
            right: 15px;
            content: "\f078";
            position: absolute;
            font-family: FontAwesome;
            color: var(--default-color-1);
            font-size: 14px;
            transition: 0.8s cubic-bezier(.3,1.8,.3,1);
        }

        .vanban-filter-item .input span {
            font-family: 'SFM';
            color: var(--default-color-4);
            font-size: 15px;
        }

        .vanban-filter-item .input.show .drop {
            opacity: 1;
            pointer-events: all;
            transform: translateY(0);
        }

        .vanban-filter-item .input .drop {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: #fff;
            z-index: 2;
            border-radius: 5px;
            border: 1px solid #33333329;
            pointer-events: none;
            opacity: 0;
            transform: translateY(10px);
            transition: 0.6s cubic-bezier(.3,2.2,.3,1);
            box-shadow: 0 0 10px 0 #3333332e;
        }

        .vanban-filter-item .input .drop-item {
            color: #333;
            font-size: 15px;
            padding: 6px 12px;
            transition: all linear .2s;
            cursor: pointer;
        }

            .vanban-filter-item .input .drop-item:hover {
                background-color: #f2f2f2;
                color: var(--default-color-1);
            }

.side-product-img {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
}

    .side-product-img img {
    }

.side-product-link {
    display: flex;
    margin-top: 10px;
}

.side-product-content {
    flex: 1;
    padding-left: 10px;
}

.side-product-link:hover .side-product-content h3 {
    color: var(--default-color-1);
}

.side-product-content h3 {
    margin: 0;
    font-family: 'baiSB';
    font-weight: 100;
    color: #333;
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: all .3s;
}

.side-product-content span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 3px;
    line-height: 152%;
    font-size: 15px;
    color: #555;
}

.vanban-filter-btn {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.vanban-filter-count {
    color: #333;
    font-size: 15px;
    font-family: sfm;
    margin-bottom: 8px;
    display: block;
}

.vanban-filter-btn a {
    margin: 10px 5px;
    font-size: 16px;
    font-family: 'SFM';
    border-radius: 5px;
    padding: 8px 18px;
    transition: all linear .2s;
}

    .vanban-filter-btn a:first-child:hover {
        background-color: transparent;
        color: var(--default-color-4);
    }

    .vanban-filter-btn a:last-child:hover {
        background-color: transparent;
        color: var(--default-color-2);
    }

    .vanban-filter-btn a:hover {
    }

    .vanban-filter-btn a:first-child {
        color: #fff;
        background-color: var(--default-color-4);
        border: 1px solid var(--default-color-4);
    }

    .vanban-filter-btn a:last-child {
        color: #fff;
        background-color: var(--default-color-2);
        border: 1px solid var(--default-color-2);
    }


.detail-dv-album {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
}

    .detail-dv-album .item {
        width: 100%;
        height: 100%;
    }

        .detail-dv-album .item a {
            width: 100%;
            height: 100%;
        }

            .detail-dv-album .item a img {
                width: 100%;
                height: 100%;
            }

    .detail-dv-album .item {
    }


/*RS*/
@media(max-width:1023px) {
		.home-pic-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(min-content, max-content);
		column-gap: 12px;
		row-gap: 12px;
		margin-top: 19px;
	}
	.home-pic-container .p-cate {
		text-align: left;
		color: #000;
		font-family: 'baiSB';
		font-size: 18px;
	}
}

@media(min-width:740px) and (max-width:1023px) {
    .my-side-news .side-news-item {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .detail-news .container {
        padding: 35px 0;
    }
}

@media(max-width:739px) {

    .detail-news-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .detail-news-wrap {
        padding-bottom: 30px;
    }

    .detail-news .container {
        padding: 30px 0;
    }

    .detail-news-bottom {
    }

    .detail-dv-album {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .my-side-news .side-news-item {
        margin-bottom: 20px;
    }

    .detail-news .container {
        padding: 15px 0;
    }

    .detail-news-wrap .p-details {
        font-size: 16px;
    }
}
