﻿header {
    position: relative;
}

.detail-news {
    position: relative;
    padding-top: 55px;
}

.detail-news-wrap .descript {
    color: #5F5F5F;
    font-family: 'Inter-Medium';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    margin-bottom: 38px;
}

.detail-news-wrap {
    margin-bottom: 0;
}

/*Swiper*/
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
}

.list-slide-top-service {
    padding: 0 80px;
    position: relative;
}

.detail-news-wrap section.p-details {
    margin-top: -110px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    transition: all linear .3s;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
    /* position: relative; */
}

.mySwiperTopS {
    height: 20%;
    box-sizing: border-box;
}

    .mySwiperTopS .swiper-slide {
        height: 100%;
        border-radius: 50%;
    }

    .mySwiperTopS .swiper-slide-thumb-active {
        opacity: 1;
    }

.w-cotent-slide-b {
    transform: translateY(-134px);
    position: relative;
    z-index: 2;
    padding: 0 150px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-slide-top-service .mySwiperTopS .swiper-slide img {
    border-radius: 12px;
    padding: 8px;
    background: #fff;
    height: 235px;
    position: relative;
    bottom: -63px;
    transition: all linear .3s;
}

.list-slide-top-service .swiper.mySwiper2 .swiper-slide a {
    display: block;
}

.list-slide-top-service .swiper.mySwiper2 .swiper-slide:before {
    content: "";
    position: absolute;
    background: #fff;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 393px;
    z-index: -1;
}

.list-slide-top-service .swiper.mySwiper2 .swiper-slide img {
    height: 519px;
    border-radius: 12px;
    transition: all linear .3s;
    border: 10px solid #fff;
}

.list-slide-top-service .mySwiperTopS .swiper-slide {
    transition: all linear .3s;
}

.list-slide-top-service .mySwiperTopS .swiper-slide {
}

    .list-slide-top-service .mySwiperTopS .swiper-slide.swiper-slide-next {
        transform: scale(1.3);
        position: relative;
        z-index: 1;
    }

.list-slide-top-service .swiper.mySwiper2 {
    overflow: hidden;
}

.list-slide-top-service .mySwiperTopS {
    overflow: hidden;
    height: 360px !important;
}

.decor-l-service {
    position: absolute;
    left: 47px;
    top: -99px;
}

    .decor-l-service img {
    }

.decor-r-service {
    position: absolute;
    right: -14px;
    bottom: 277px;
    width: 20%;
}

    .decor-r-service img {
        width: 100%;
        height: 100%;
    }

h1.detail-news-title {
    position: relative;
    width: 800px;
    z-index: 2;
    color: #fff;
    font-family: 'BeVietnamPro-Medium';
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: linear-gradient(180deg, #18f576 0%, #089745 100%);
    padding: 10px 55px;
    border-radius: 70px 0;
    margin: auto;
    text-align: center;
}

    h1.detail-news-title::before {
        content: '';
        position: absolute;
        background-image: url(https://noam.com.vn/Design/img/decor-shadow_03.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        height: 27px;
        width: 97%;
        top: 100%;
        left: 0;
        background-position: center center;
    }

.title-decor-service-child {
    position: relative;
    margin: auto;
    margin-bottom: 15px;
}

.decor-service-img-content section.p-details h3 {
    margin: 0;
    font-family: 'VNM-Sans-Std';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: var(--Linear, linear-gradient(180deg, #18BFF0 0%, #1F7EEA 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.decor-service-img-content {
    position: relative;
    margin-top: -124px;
    padding-bottom: 60px;
    padding-top: 60px;
}

.decor-banner-servicee {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    background: url(https://noam.com.vn/Design/img/bg-about_02-min.png);
    background-size: cover;
    height: 100%;
}

.list-img-slide-service {
    margin-top: 81px;
    overflow: hidden;
    height: auto;
}

.item-img-slide-service img {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    overflow: hidden;
    transition: all .3s;
}

.decor-banner-servicee img {
    display: none;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.decor-service-img-content .grid.wide {
    position: relative;
}

.detail-news:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 979px;
    z-index: -2;
    top: 0;
    left: 0;
    background: url(/Design/img/TheThaoBien/About/back.png) no-repeat;
    background-size: cover;
}

.book-service-child a {
    max-width: max-content;
    position: relative;
    z-index: 2;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px 16px 5px 4px;
    transition: all .3s;
    color: #FFF;
    font-family: 'VNM-Sans-Std';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 20px;
    background: #FDBC00;
}

    .book-service-child a:hover {
        color: #fff;
        background: #1d92ec;
    }

.book-service-child {
    margin: auto;
    width: max-content;
    margin-top: 55px;
    display: none;
}

.item-img-slide-service {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

    .item-img-slide-service:hover img {
        transform: scale(1.2);
    }

    .item-img-slide-service a {
        position: relative;
        overflow: hidden;
        display: block;
        background: #fff;
    }

.item-img-slide-service {
}

    .item-img-slide-service a:before {
        content: "";
        position: absolute;
        width: 95%;
        height: 95%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 1px solid #fff;
        border-radius: 12px;
    }

/*End*/
@media(max-width:1023px) {
    .list-slide-top-service {
        padding: 0 5px;
    }

        .list-slide-top-service .swiper.mySwiper2 .swiper-slide img {
            height: 305px;
        }

    h1.detail-news-title {
        font-size: 16px;
        width: auto;
        padding: 10px 40px;
    }

        h1.detail-news-title::before {
            width: 90%;
        }

    .decor-banner-servicee {
        top: -260px;
    }

    .book-service-child a:before {
        width: 244px;
        height: 58px;
        left: -77px;
        top: -17px;
    }

    .book-service-child a {
        font-size: 22px;
    }

    .list-img-slide-service {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 27px;
        row-gap: 15px;
        margin-top: 81px;
    }

    .book-service-child {
        margin-top: 55px;
    }

    .decor-service-img-content {
        padding-bottom: 60px;
        padding-top: 10px;
    }

    .title-decor-service-child:before {
        width: 100%;
        height: 77px;
        top: -25px;
    }

    .list-slide-top-service .swiper.mySwiper2 {
        margin-top: 45px;
    }

    .decor-l-service img {
        width: 100%;
        height: auto;
    }

    .decor-l-service {
        width: 39%;
        left: 0;
        top: 346px;
        height: 26%;
    }

    .w-cotent-slide-b {
        transform: unset;
        padding: 0;
    }

    .list-slide-top-service .mySwiperTopS .swiper-slide img {
        height: 125px;
        padding: 5px;
    }

    .item-img-slide-service img {
        width: 100%;
        height: 175px;
    }

    .decor-r-service {
        width: 45%;
    }
}

/*dich vu lien quan*/
.top-home-service h5 {
    margin: 0;
    text-align: center;
    /* 41.8px */
    text-transform: capitalize;
    margin-bottom: 12px;
    margin-top: 0;
    font-family: 'VNM-SANS-STD';
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    line-height: 50.5px; /* 120.238% */
    background: var(--Linear, linear-gradient(180deg, #18BFF0 0%, #1F7EEA 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-home-service {
    text-align: center;
    margin-bottom: 40px;
}

    .top-home-service section {
        padding: 0 78px;
        margin: auto;
        color: #6C6C6C;
        text-align: center;
        font-family: 'Inter-Medium';
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 23px; /* 143.75% */
    }

.title-home-service img {
    margin: auto;
}

.link-service-hh a:hover {
    background: #fdbc00;
}

.link-service-hh a {
    display: inline-flex;
    padding: 13px 32px;
    border-radius: 37px;
    background: #008AEB;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-family: 'VNM-SANS-STD';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: all .3s;
}

.link-service-hh {
    text-align: center;
    margin-top: 44px;
}

.w-home-service {
    position: relative;
}

.tree-service-home {
    position: absolute;
    z-index: 1;
    top: -167px;
}

img.imgdecorback {
    position: absolute;
    top: -63px;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 1764px;
}

.w-home-service .grid.wide {
    position: relative;
    max-width: 1260px;
}

.w-home-service {
    padding-top: 83px;
    padding-bottom: 76px;
    background: url(/Design/img/TheThaoBien/service/b1.png) no-repeat;
    background-size: cover;
}

li.item-home-service {
    list-style: none;
    margin-left: 7px;
    margin-right: 7px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 5px;
}

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

.content-item-home-service h3 {
    position: relative;
    margin: 0;
    text-align: center;
    /* 19.8px */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    color: #FFF;
    font-family: 'VNM-SANS-STD';
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 50.5px; /* 157.813% */
    text-transform: capitalize;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    top: 100px;
    opacity: 0;
    visibility: hidden;
}

.content-item-home-service section {
    position: relative;
    margin-top: 10px;
    margin-bottom: 26px;
    /* 18.72px */
    color: #FFF;
    text-align: center;
    font-family: 'Inter-Medium';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px; /* 143.75% */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    top: 100px;
    opacity: 0;
    visibility: hidden;
}

.content-item-home-service span {
    width: max-content;
    margin: auto;
    display: inline-block;
    /* 19.32px */
    transition: all .3s;
    color: #6C6C6C;
    text-align: center;
    font-family: 'Inter-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    border-radius: 36px;
    background: #FFF;
    padding: 10px 28.219px 11px 29px;
    position: relative;
    -webkit-transition: all .7s ease;
    transition: all .7s ease;
    top: 100px;
    opacity: 0;
    visibility: hidden;
}

li.item-home-service:hover .content-item-home-service span {
    opacity: 1;
    visibility: visible;
    top: 0;
}

li.item-home-service:hover .content-item-home-service h3 {
    top: 0;
    opacity: 1;
    visibility: visible;
}

.img-item-home-service {
    position: relative;
    width: 100%;
    height: 470px;
    border-radius: 5px;
}

img.img-avatar-1.fill {
}

li.item-home-service:hover img.img-avatar-1.fill {
}

.img-item-home-service > img {
    transition: all .5s;
    border-radius: 5px;
}

.top-home-service h6 {
    margin: 0;
    color: #6C6C6C;
    font-family: 'Inter-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px; /* 225% */
    text-transform: uppercase;
}

li.item-home-service:hover {
    -webkit-box-flex: 3;
    -ms-flex: 3;
    flex: 3;
}

img.img-avatar-2.fill {
    position: absolute;
    visibility: hidden;
    width: 94%;
    height: 94%;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    transition: all .5s;
}

li.item-home-service:hover img.img-avatar-2.fill {
    visibility: visible;
    opacity: 1;
    top: 0;
}

li.item-home-service:hover .img-item-home-service:before {
}

.content-item-home-service {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

ul.list-home-service.list-service-two {
    margin-top: 14px;
}

.decor-service-bunkhoang {
    position: absolute;
    top: -21px;
    left: 0px;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

li.item-home-service:hover .decor-service-bunkhoang {
    visibility: visible;
    opacity: 1;
}

li.item-home-service:hover .content-item-home-service section {
    top: 0;
    opacity: 1;
    visibility: visible;
}

li.item-home-service:before {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    height: 100%;
    width: 100%;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(68, 68, 68, 0.03) 0%, #0A2D72 100%);
    z-index: 1;
}

.content-item-home-service span:hover {
    background: #1d92ec;
    color: #fff;
}

li.item-home-service:hover:before {
    top: 0;
    visibility: visible;
    opacity: 1;
}

li.item-home-service a {
}

.same-cate-title {
    margin: 0;
    font-family: 'VNM-SANS-STD';
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(180deg, #22A0DB 0%, #51C8FD 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.my-news {
    padding: 55px 0;
    background: url(/Design/img/TheThaoBien/new/1.png) no-repeat;
    position: relative;
    background-size: cover;
    display: none;
}

.my-news-bottom {
    margin-top: 30px;
}

@media(min-width:1400px) {
    img.imgdecorback {
        top: -90px;
        background-size: 100% 100%;
    }
}

@media(max-width:1023px) {
    .tree-service-home img {
        width: 100%;
    }

    .content-item-home-service h3 {
        font-size: 16px;
        line-height: normal;
        opacity: 1;
        visibility: visible;
        position: unset;
        background: linear-gradient(180deg, #22A0DB 0%, #51C8FD 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .content-item-home-service section {
        font-size: 12px;
        margin-bottom: 7px;
        margin-top: 5px;
        position: unset;
        opacity: 1;
        visibility: visible;
        color: #6C6C6C;
    }

    .content-item-home-service span {
        position: unset;
        font-size: 11px;
        padding: 4px 13px 5px 14px;
        opacity: 1;
        visibility: visible;
    }

    li.item-home-service:hover .img-item-home-service:before {
        opacity: 1;
        visibility: visible;
    }

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

    .decor-service-img-content section.p-details h3 {
        font-size: 16px;
    }

    li.item-home-service:hover .decor-service-bunkhoang {
        display: none;
    }

    ul.list-home-service {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 14px;
    }

    .img-item-home-service {
        height: 190px;
    }

    .content-item-home-service h3 {
        font-size: 14px;
        line-height: normal;
    }

    .content-item-home-service {
        position: unset;
        margin-top: 10px;
        height: auto;
    }

    li.item-home-service:hover:before {
        display: none;
    }

    .content-item-home-service section {
        font-size: 13px;
        margin-bottom: 7px;
        margin-top: 5px;
    }

    .content-item-home-service span {
        position: unset;
        font-size: 11px;
        padding: 4px 13px 5px 14px;
    }

    .w-home-service {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    li.item-home-service:hover .content-item-home-service span {
    }

    .top-home-service h5 {
        font-size: 18px;
    }

    img.imgdecorback {
        top: -22px;
        height: auto;
    }

    .top-home-service section {
        width: 100%;
        font-size: 13px;
        padding: 0;
    }

    .top-home-service {
        margin-bottom: 25px;
    }

    .my-news {
        padding-top: 15px;
    }

    .tree-service-home {
        width: 17%;
        top: -50px;
    }
}