﻿/* detail news */

.detail-news {
    background-color: #f3f3f3;
    padding-bottom: 25px;
}

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

.detail-news-title {
    margin: 0;
    font-size: 28px;
    color: #2c2c2c;
    font-family: 'Kanit-Medium';
    font-weight: 100;
}

.detail-news-bottom {
    padding-top: 35px;
}

    .detail-news-bottom .my-left {
        float: left;
        width: 62.7%;
        border-radius: 10px;
        padding: 10px;
        background: #ffffff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .detail-news-bottom .my-right {
        float: right;
        width: 400px;
        padding-left: 15px;
    }

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

.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: 16px;
    color: #000000;
    margin-bottom: 17px;
    line-height: 27px;
    font-family: 'Inter-Medium';
    font-weight: 500;
}

.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: 16px;
    margin-top: 0;
    color: #333;
    line-height: 25px;
    margin-bottom: 14px;
}

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

    .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;
        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: #505050;
        color: #fff;
    }

    .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;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: url(/Design/img/SongThanh/new/b1.png) no-repeat;
    background-size: 100% 100%;
}

.same-cate-title {
    margin: 0;
    font-size: 27px;
    color: var(--default-color-3);
    text-transform: capitalize;
    font-family: 'Kanit-Medium';
}

.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;
    border-radius: 6px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

    .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;
}

.same-cate ul.p-news-list__type2 {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
    row-gap: 0;
}

.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-radius: 10px;
    background-color: #fff;
}

    .my-side-news .side-news-item .title {
        margin: 0;
        font-family: 'Kanit-Medium';
        font-weight: 100;
        font-size: 17px;
        color: var(--default-color-3);
        padding-bottom: 12px;
        border-bottom: 1px solid #F2F2F2;
        text-transform: uppercase;
    }

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

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

.side-news-link {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px dashed #d5d5d5;
    transition: 0.8s cubic-bezier(.3,2.2,.3,1);
}

    .side-news-link:hover {
    }

        .side-news-link:hover span {
            transform: translateX(6px) translateY(3px);
            opacity: 1;
        }

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

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

    .side-news-link .index {
        background-color: #00acfa;
        height: fit-content;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        color: #fff;
        font-family: 'Kanit-Medium';
        font-size: 13px;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
        opacity: .8;
    }

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

    .side-news-link h3 {
        margin: 0;
        font-size: 16px;
        flex: 1;
        color: #2c2c2cbd;
        font-weight: 100;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-left: 11px;
        font-family: 'Kanit-Medium';
        line-height: 24px;
        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);
            }

.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);
    }

/*RS*/
@media(max-width:1023px) {
    .detail-news-bottom .my-right .list-tag {
        margin-top: 15px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .detail-news-title {
        font-size: 17px;
    }

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

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

    .detail-news-bottom {
        padding-top: 20px;
        display: block;
    }

    .same-cate ul.p-news-list__type2 {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
        margin-top: 20px;
    }

    .p-news-link__type2 .cate {
        display: none;
    }

    .p-news-link__type2 .title {
        font-size: 16px;
        -webkit-line-clamp: 2;
    }

    .p-news-link__type2 .descript {
        font-size: 14px;
    }

    .p-news-item__type2 {
        padding: 0 !important;
    }

    .p-news-img__type2 {
        height: 135px !important;
    }

    .same-cate-title {
        font-size: 22px;
    }
}

/*SanPham*/
.c-home-product {
    background: #E6E6E7;
    padding-top: 109px;
    padding-bottom: 94px;
    position: relative;
}

img.decor-pro-home-b {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.title-t-home-product h3 {
    margin: 0;
    color: #212F81;
    font-family: 'Kanit-Medium';
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 56px; /* 133.333% */
    text-transform: uppercase;
}

.title-tab-menu-home-product {
    display: flex;
    justify-content: space-between;
    margin-bottom: 39px;
}

li.item-menu-pro-home {
    list-style: none;
    margin-left: 9px;
}

ul.list-tab-home-product {
    display: flex;
    align-items: center;
}

li.item-menu-pro-home a {
    display: flex;
    height: 55px;
    padding: 12px 18px;
    justify-content: center;
    align-items: center;
    color: #5A5A5A;
    font-family: 'Kanit-Regular';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 100% */
    text-transform: capitalize;
    border-radius: 10px;
    border: 1px solid #628DFB;
    background: #FFF;
    transition: all .3s;
}

.top-home-product section {
    color: #526375;
    font-family: 'Inter-Regular';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 188%; /* 33.84px */
    text-transform: capitalize;
}

.c-home-product .grid.wide {
    padding: 0;
    position: relative;
    z-index: 1;
}

.title-t-home-product {
    position: relative;
}

    .title-t-home-product:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -16px;
        width: 274px;
        height: 5px;
        border-radius: 1px 0px 0px 1px;
        background: linear-gradient(90deg, #3DA608 2.35%, rgba(61, 166, 8, 0.00) 81.86%);
    }

li.item-menu-pro-home a:hover {
    background: #212F81;
    border: 1px solid #212F81;
    color: #fff;
}

.top-home-product {
    margin-bottom: 40px;
}

.item-c-home-product:hover .top-img-home-product img {
    transform: scale(1.1);
}

.item-c-home-product .top-img-home-product img {
    transition: transform 0.3s ease;
}

li.item-c-home-product {
    list-style: none;
    border-radius: 10px;
    transition: all .3s;
    position: relative;
}

ul.list-item-home-product {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 17px;
    row-gap: 23px;
}

.t-home-product h3 {
    margin: 0;
    color: #464646;
    font-family: 'Kanit-Medium';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.cate-title-home-product h6 {
    margin: 0;
    color: #212F81;
    text-align: center;
    font-family: 'Inter-Medium';
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 151.023%; /* 18.123px */
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    display: none;
}

.cate-title-home-product section {
    color: #464646;
    text-align: center;
    font-family: 'Inter-Regular';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 151.023%; /* 18.123px */
    text-transform: capitalize;
    margin-top: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

li.item-c-home-product:hover:before {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    opacity: 1;
}

.top-b-pro-home-item {
    border: 1px solid var(--default-color-1);
    border-bottom: unset;
    border-radius: 10px 10px 0 0;
}

li.item-c-home-product:hover .top-b-pro-home-item {
    border-color: var(--default-color-1);
}

.top-img-home-product img {
    width: 100%;
    height: 245px;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    background: #fff;
}

li.item-c-home-product:hover .cate-title-home-product {
    /* background: transparent; */
}

.top-img-home-product span {
    position: absolute;
    width: max-content;
    height: max-content;
    left: 0;
    top: 50px;
    bottom: 0;
    right: 0;
    margin: auto;
    padding: 7px 20px 13px 20px;
    color: #FFF;
    border-radius: 7px;
    border: 1px solid #3DA608;
    background: #3DA608;
    font-family: 'NEUEPLAKTEXT-REGULAR';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    opacity: 0;
    visibility: hidden;
    transition: all ease .4s;
}

li.item-c-home-product:hover .top-img-home-product span {
    opacity: 1;
    visibility: visible;
    top: 0;
    padding: 3px 12px 7px 12px;
    font-size: 12px;
    display: none;
}

.t-home-product {
    text-align: center;
    border-bottom: 1px dashed #AEAEAE;
    padding-bottom: 5px;
}

span.price-pro-home {
    display: block;
    text-align: center;
    color: #FFF;
    font-family: "NEUEPLAKTEXT-REGULAR";
    font-size: 15px;
    padding: 5px 0;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    border-radius: 0px 0px 10px 10px;
    background: var(--Linear, linear-gradient(195deg, #006A8D 18.62%, #003F52 88.39%));
}

li.item-menu-pro-home a h5 {
    margin: 0;
}

span.price-pro-home strong {
    color: #FFF;
    font-family: "NEUEPLAKTEXT-BOLD";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.cate-title-home-product {
    padding: 14px 20px 11px 20px;
    background: #fff;
    transition: 0.5s;
}

.top-img-home-product {
    overflow: hidden;
    padding: 5px 6px 0 7px;
    border-radius: 10px 10px 0px 0px;
    background: #fff;
    transition: 0.5s;
    position: relative;
}

li.item-c-home-product:before {
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 20%;
    top: 20%;
    content: "";
    background: linear-gradient(195deg, #93D802 42.78%, #3DA608 106.14%);
    z-index: 0;
    transition: 0.5s;
    opacity: 0;
    border-radius: 10px;
}

li.item-c-home-product a {
    position: relative;
    border-radius: 10px;
}

li.item-c-home-product:hover .cate-title-home-product * {
    color: var(--default-color-3);
}

li.item-c-home-product:hover .t-home-product {
    border-bottom: 1px dashed #fff;
}

li.item-c-home-product:hover span.price-pro-home {
    border-radius: 0px 0px 10px 10px;
    background: var(--default-color-3);
}

li.item-c-home-product:hover .top-img-home-product {
    /* background: transparent; */
}

/*RS*/
@media (max-width: 1150px) {
    .title-t-home-product h3 {
        font-size: 30px;
    }

    li.item-menu-pro-home a {
        height: 46px;
        padding: 10px 10px;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .c-home-product .grid.wide {
        padding: 0 10px;
    }

    .top-home-product section {
        font-size: 14px;
    }

    ul.list-item-home-product {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 17px;
        row-gap: 23px;
    }
}

/*San pham*/

.side-news-item-pro h3.title {
    margin: 0;
    font-family: 'Kanit-Medium';
    font-weight: 100;
    font-size: 17px;
    color: var(--default-color-3);
    padding-bottom: 12px;
    border-bottom: 1px solid #F2F2F2;
    text-transform: uppercase;
}

.side-new-detail > .side-news-item-pro:last-child {
    margin-bottom: unset;
    display: none;
}

.side-news-item-pro {
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

ul.list-item-home-product.list-pro-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
}

    ul.list-item-home-product.list-pro-bar .top-img-home-product img {
        height: 112px;
    }

    ul.list-item-home-product.list-pro-bar .t-home-product h3 {
        line-height: normal;
        font-size: 14px;
        -webkit-line-clamp: 1;
    }

    ul.list-item-home-product.list-pro-bar .cate-title-home-product {
        padding: 14px 12px 11px 12px;
    }

.side-news-item-pro .p-news-img__type2 {
    width: 145px;
    height: 145px;
}

.side-news-item-pro ul.p-news-list__type2.rs h3.title {
    font-size: 14px;
    overflow: hidden;
    line-height: normal;
    margin: 0;
    height: auto;
    padding: 0;
}

.side-news-item-pro .p-news-item__type2:hover h3.title {
    color: #3DA608;
}

.side-news-item-pro .p-news-link__type2 .descript {
    font-size: 14px;
    margin-top: 7px;
}

.side-news-item-pro .p-news-content__type2 {
    padding-right: 0;
}

.side-news-item-pro .p-news-date__type2 {
    font-size: 12px;
    margin-bottom: 4px;
}

.side-news-item-pro .p-news-item__type2 {
    padding: 8px 0;
}

@media (max-width: 1023px) {
    ul.list-item-home-product {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 17px;
        row-gap: 23px;
    }

    .side-news-item-pro ul.p-news-list__type2.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 17px;
        row-gap: 17px;
        margin-top: 15px;
    }

    .side-news-item-pro .p-news-item__type2 {
        padding: 0;
    }

    .side-news-item-pro .p-news-img__type2 {
        width: 100%;
    }

    .side-news-item-pro .p-news-content__type2 {
        padding-right: 5px;
        padding-left: 5px;
    }

    .title-tab-menu-home-product {
        display: block;
        margin-bottom: 15px;
    }

    .title-t-home-product h3 {
        font-size: 24px;
        line-height: normal;
    }

    ul.list-tab-home-product {
        display: inline-block;
    }

    li.item-menu-pro-home {
        display: inline-block;
        margin: 0;
        margin-bottom: 5px;
    }

    .l-pro-child-list {
        float: none;
        width: 100%;
    }

    .r-product-child-list {
        float: none;
        width: 100%;
    }

    .list-lr-product-child {
        display: flex;
        flex-flow: column-reverse;
    }

    .c-home-product {
        padding-top: 49px;
        padding-bottom: 49px;
    }

    .detail-pro {
        padding-top: 45px;
    }

    .title-t-home-product {
        margin-bottom: 40px;
    }

    .top-img-home-product img {
        height: 118px;
    }

    .same-cate {
        background-size: cover;
    }

    .t-home-product h3 {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .l-pro-child-list {
        margin-top: 15px;
    }

    table {
        font-size: 13px;
    }

    .cate-title-home-product {
        padding: 14px 6px 11px 6px;
    }

        .cate-title-home-product h6 {
            font-size: 11px;
        }

    img.decor-pro-home-b {
        height: auto;
    }
}
