﻿.home-project-container h6 {
    margin: 0;
    color: #00ACFA;
    text-align: center;
    font-family: 'AvertaStdCY-Extrabold';
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.decor-c-home-project {
    font-family: 'Montserrat-Regular';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
}

.liat-h-project.swiper.homeswiperSlidePro {
    overflow: hidden;
}

.price-table-send-price-service.phone-btn-send a:hover {
    background: #02a5e3;
}

.price-table-send-price-service a:hover {
    background: #273c76;
}

.home-project-container h3.p-title-cate {
    position: relative;
    color: #273c76;
    text-align: center;
    font-family: 'AvertaStdCY-Bold';
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 22px;
}

    .home-project-container h3.p-title-cate:before {
        content: "";
        position: absolute;
        background: #273c76;
        right: -97px;
        top: 42px;
        width: 96px;
        height: 1px;
    }

img.decorr-img-project-h {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.item-project-img-h {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.home-project-container > span {
    display: block;
    color: #4D4D4D;
    text-align: center;
    font-family: 'AvertaStdCY-Regular';
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    line-height: 138.688%; /* 27.738px */
    width: 1103px;
    margin: auto;
}

section.des-project-item-home {
    position: relative;
    margin-top: 7px;
    padding-top: 15px;
    font-size: 18px;
    font-family: 'AvertaStdCY-Regular';
    color: #262626;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

    section.des-project-item-home:before {
        content: "";
        position: absolute;
        background: #c2c2c2;
        right: 0;
        top: 0;
        width: 186px;
        height: 1.2px;
    }

.home-project {
    padding-top: 123px;
    position: relative;
    padding-bottom: 99px;
    background: #f4f4f4;
}

.r-list-project-hh .item-project-h {
    position: relative;
}

.r-list-project-hh {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
    row-gap: 25px;
}

    .r-list-project-hh .content-project-img-h {
        position: absolute;
        bottom: 0;
        left: 0;
        background: transparent;
        z-index: 1;
    }

        .r-list-project-hh .content-project-img-h .w-title-top-address-h.decor-title-pro-r h3 {
            color: #fff;
            font-size: 19px;
            font-family: 'AvertaStdCY-SemiBold';
            text-transform: uppercase;
        }

    .r-list-project-hh .item-project-img-h:before {
        content: "";
        position: absolute;
        background: linear-gradient(180deg, rgba(68, 68, 68, 0.03) 0%, rgb(10 45 114 / 90%) 100%);
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        pointer-events: unset;
        z-index: 1;
        border-radius: 8px;
    }

    .r-list-project-hh .item-project-h img {
        border-radius: 8px;
    }

a.home-project-item-r-item {
    border-radius: 8px;
}

    a.home-project-item-r-item .item-project-img-h {
        border-radius: 8px;
    }

.content-project-img-h h6 {
    font-size: 16px;
    font-family: 'Inter_24pt-SemiBold';
    color: #1C1D28;
    text-align: right;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 10px;
    margin-top: 0;
}

.r-list-project-hh .content-project-img-h h6 {
    color: #75d9ff;
}

.r-list-project-hh .content-project-img-h .p-btn-link {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin-top: 0;
    -webkit-transition: height .5s ease, opacity .5s ease, margin-top .5s ease;
    transition: height .5s ease, opacity .5s ease, margin-top .5s ease;
}

.r-list-project-hh .item-project-h:hover .p-btn-link {
    opacity: 1;
    visibility: visible;
    height: 42px;
    margin-top: 10px;
}

.w-title-top-address-h.decor-title-pro-r {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 20px;
}

    .w-title-top-address-h.decor-title-pro-r:after {
        content: "";
        position: absolute;
        width: 145px;
        height: 1.2px;
        background: #9ba3bb;
        bottom: 0;
        left: 0;
    }

.left-service-item-c {
    position: relative;
}

.home-project-container .left-service-item-c:before {
    content: "";
    position: absolute;
    background: url(/Design/img/SaoPhuongBac/service/4.png) no-repeat;
    background-size: cover;
    left: 22px;
    top: -37px;
    width: 386px;
    height: 66px;
}

.cate-project-home-r {
    display: flex;
    align-items: center;
}

    .cate-project-home-r .item-cate-pro-cc {
        margin-right: 24px;
    }

.home-project-list {
    margin-top: 20px;
    position: relative;
}

.same-pro-container .liat-h-project {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 25px;
    row-gap: 25px;
}

.item-project-img-h img {
    display: block;
    width: 100%;
    height: 600px;
    overflow: hidden;
    transition: all .3s;
}

.item-project-h:hover .item-project-img-h img {
    transform: scale(1.1);
}

.item-project-h-child:hover .item-project-img-h img {
    transform: scale(1.1);
}

.svg-d-project {
    display: inline-flex;
    align-items: center;
    width: 21px;
    justify-content: center;
    height: 21px;
    position: relative;
    top: 1px;
}

    .svg-d-project svg {
        width: 17px;
        height: auto;
    }

.infor-item-project-home span:nth-child(2) .svg-d-project svg {
    width: 13px;
}

.infor-item-project-home span:nth-child(3) .svg-d-project svg {
    width: 15px;
}

.infor-item-project-home span:nth-child(4) .svg-d-project svg {
    width: 21px;
}

.w-title-top-address-h h3 {
    margin: 0;
    color: #238E44;
    font-family: 'Oswald-Medium';
    font-size: 23px;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    overflow: hidden;
    text-transform: uppercase;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.content-project-img-h .p-btn-link {
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
    color: #fff;
    margin-top: 11px;
    text-align: right;
    float: right;
    position: relative;
    height: 48px;
}

.content-project-img-h:hover .p-btn-link {
    background: linear-gradient(115deg, #81BB3F 8.51%, #238E44 91.49%);
    border-color: #fff;
}

.content-project-img-h .p-btn-link span {
    color: #fff;
    font-size: 18px;
}

.content-project-img-h .p-btn-link .icon img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.item-project-h:hover .w-title-top-address-h h3 {
    color: #feab14;
}

.item-project-h-child:hover .w-title-top-address-h h3 {
    color: #feab14;
}

.item-project-img-h.img-item-l-project-hh:before, .item-project-img-h.img-item-l-project-hh:after {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    background: rgba(255, 255, 255, 0.15);
    transition: all .8s ease-in-out 0s;
    -webkit-transition: all .8s ease-in-out 0s;
    -ms-transition: all .8s ease-in-out 0s;
}

.item-project-h:hover .item-project-img-h.img-item-l-project-hh:before, .item-project-h:hover .item-project-img-h.img-item-l-project-hh:after {
    width: 100%;
    height: 100%;
}

.item-project-h-child:hover .item-project-img-h.img-item-l-project-hh:before, .item-project-h-child:hover .item-project-img-h.img-item-l-project-hh:after {
    width: 100%;
    height: 100%;
}

.item-project-h-child .item-project-img-h.img-item-l-project-hh:before {
    top: 0;
    left: 0;
    z-index: 1;
}

.item-project-h .item-project-img-h.img-item-l-project-hh:before {
    top: 0;
    left: 0;
    z-index: 1;
}

.item-project-h .item-project-img-h.img-item-l-project-hh:after {
    bottom: 0;
    right: 0;
    z-index: 2;
}

.item-project-h-child .item-project-img-h.img-item-l-project-hh:after {
    bottom: 0;
    right: 0;
    z-index: 2;
}

.add-item-home {
    display: flex;
}

    .add-item-home span {
        display: block;
        color: #4D4D4D;
        font-family: 'Montserrat-Medium';
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 18px */
        margin-left: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.address-project-item-h span svg {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.home-project-list .item-btn-service-cc {
    position: absolute;
    left: 20px;
    top: 35px;
}

.swiper-button-next.next-project {
    position: unset;
    color: #00acfa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #00acfa;
    width: 53px;
    height: 53px;
}

.swiper-button-prev.prev-project {
    position: unset;
    color: #00acfa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #00acfa;
    width: 53px;
    height: 53px;
}

.swiper-button-prev.prev-project {
    position: unset;
    right: 0;
    margin-right: 10px;
    pointer-events: all;
}

.swiper-button-prev.prev-project {
    left: 0;
}

.swiper-button-next.next-project::before {
    font-size: 26px;
}

.swiper-button-prev.prev-project:hover {
    background: #00acfa;
    color: #fff;
}

.swiper-button-next.next-project:hover {
    background: #00acfa;
    color: #fff;
}

.swiper-button-prev.prev-project::before {
    font-size: 26px;
    pointer-events: unset;
}

.liat-h-project.swiper.homeswiperSlideProjectt {
    overflow: hidden;
}

a.home-project-item {
    position: relative;
    display: block;
    overflow: hidden;
}

.content-project-img-h:before {
    -webkit-transform: skewX(-45deg);
    -ms-transform: skewX(-45deg);
    position: absolute;
    top: 0;
    right: -50%;
    bottom: 0;
    transform: skewX(-45deg);
    z-index: 0;
    background: hsla(0,0%,100%,.85);
    width: 168%;
    height: 100%;
    content: "";
}

.item-project-h {
    display: block;
    border-radius: 8px;
}

.content-project-img-h {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    padding: 26px 28px;
    height: 100%;
    border-radius: 0 8px 8px 0;
    text-align: right;
    z-index: 1;
    padding-top: 118px;
}

.infor-item-project-home {
    margin-top: 15px;
    margin-bottom: 12px;
}

    .infor-item-project-home span {
        position: relative;
        color: #3e3e3e;
        display: block;
        font-family: 'Inter_24pt-Medium';
        font-size: 20px;
        font-weight: 400;
        line-height: 138.688%;
        text-align: right;
    }

.w-title-top-address-h {
    text-align: right;
    position: relative;
}

.home-project .grid.wide {
    padding: 0 5px;
}

.b-address-price-h {
    display: flex;
    justify-content: space-between;
    padding: 15px 13px 7px 13px;
    border-top: 1px solid #DCDCDC;
    align-items: center;
}

.add-item-home {
    margin-top: 10px;
}

.price-project-item-h span {
    color: #053380;
    font-family: 'Montserrat-SemiBold';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
}

.address-project-item-h span {
    color: #4D4D4D;
    font-family: 'Montserrat-Medium';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

@media (min-width: 1390px) {
    .content-project-img-h {
        position: absolute;
        right: 0;
        top: 0;
        width: 50%;
        padding: 26px 28px;
        height: 100%;
        border-radius: 0 8px 8px 0;
        text-align: right;
        z-index: 1;
        padding-top: 118px;
        padding-right: 250px;
    }

    .home-project-list .item-btn-service-cc {
        position: absolute;
        left: 320px;
        top: 55px;
    }
}

@media (min-width: 1024px) and (max-width: 1220px) {
    .home-project-container h3.p-title-cate {
        font-size: 30px;
    }

    .home-project-container > span {
        padding: 0 40px;
        font-size: 16px;
        width: 100%;
    }

    .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 25px;
        row-gap: 25px;
    }
}

@media(max-width:1023px) {
    .home-project-container h3.p-title-cate {
        font-size: 28px;
        text-align: left;
    }

    .home-project.project-list-childd .home-project-container .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .home-project .home-project-container .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .content-project-img-h .p-btn-link {
        height: 42px;
    }

    .r-list-project-hh .content-project-img-h .p-btn-link {
        opacity: 1;
        visibility: visible;
        height: 35px;
    }

    .content-project-img-h .p-btn-link span {
        font-size: 13px;
    }

    .content-project-img-h .p-btn-link .icon {
        width: 17%;
    }

        .content-project-img-h .p-btn-link .icon img {
            width: 100%;
        }

    .cate-project-home-r .item-cate-pro-cc a {
        font-size: 13px;
        color: #7e7e7e;
        text-transform: uppercase;
        text-align: center;
        padding: 0 18px;
    }

    .price-table-send-price-service a span {
        font-size: 14px;
    }

    .icon-send-price-service {
        width: 35px;
        height: 35px;
    }

        .icon-send-price-service img {
            width: 52%;
        }

    .price-table-send-price-service a {
        width: auto;
        padding: 8px 12px;
        height: 40px;
    }

    .img-service-sendd-cc img {
        height: 200px;
    }

    .c-send-price-service section {
        font-size: 15px;
    }

    .c-send-price-service p {
        font-size: 14px;
        width: 223px;
        margin: auto;
    }

    .price-table-send-price-service {
    }

    .c-send-price-service {
        padding: 20px 10px;
    }

    .cate-project-home-r.aos-init.aos-animate .p-btn-link {
        display: none;
    }

        .cate-project-home-r.aos-init.aos-animate .p-btn-link span {
            font-size: 14px;
        }

        .cate-project-home-r.aos-init.aos-animate .p-btn-link .icon {
            display: none;
        }

    .cate-project-home-r .item-cate-pro-cc a:nth-child(1) {
        margin-right: auto;
        border: unset;
        position: relative;
        padding: 0 18px;
    }

    .cate-project-home-r .item-cate-pro-cc a:nth-child(2) {
        margin-right: auto;
        border: unset;
        position: relative;
        padding: 0 18px;
    }

    .home-project-container .item-cate-pro-cc a:nth-child(1):before {
        background: #30b5e8;
        top: 7px;
    }

    .cate-project-home-r .item-cate-pro-cc {
        margin-right: 5px;
    }

    .home-project-container .left-service-item-c:before {
        content: "";
        position: absolute;
        background: url(/Design/img/SaoPhuongBac/service/4.png) no-repeat;
        background-size: cover;
        left: 8px;
        top: -25px;
        width: 185px;
        height: 31px;
    }

    .home-content-lease-pro {
        padding-bottom: 45px;
    }

    .item-project-img-h img {
        height: auto;
    }

    .decor-c-home-project {
        font-size: 14px;
    }

    .home-project-list .item-btn-service-cc {
        width: 100%;
        top: auto;
        bottom: -53px;
        height: auto;
        margin: 0;
        justify-content: center;
        left: 0;
    }

    .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 25px;
        row-gap: 25px;
    }

    .home-project-container > span {
        padding: 0 40px;
        font-size: 16px;
        width: 100%;
    }
}

@media(max-width:739px) {
    .same-pro .content-project-img-h h6, .home-project-container .w-title-top-address-h h6 {
        font-size: 13px;
    }

    .home-project.project-list-childd .home-project-container .item-project-img-h img {
        height: 175px;
    }

    .same-pro section.des-project-item-home, .home-project-container section.des-project-item-home {
        font-size: 15px;
    }

        .home-project-container section.des-project-item-home:before {
            width: 57px;
        }

    .same-pro .content-project-img-h .p-btn-link, .home-project-container .content-project-img-h .p-btn-link {
        height: 32px;
        padding: 0 7px 0 14px;
    }

    .home-project-container h3.p-title-cate {
        font-size: 20px;
    }

    .home-project-container h6 {
        font-size: 18px;
    }

    .home-project-container > span {
        padding: 0 3px;
        font-size: 15px;
        width: 100%;
    }

    .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .r-list-project-hh {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 12px;
    }

    img.decorr-img-project-h {
        position: absolute;
        width: 100%;
        height: 424px;
    }

    .item-project-img-h img {
        height: 390px;
    }

    .w-title-top-address-h {
        padding: 0;
    }

    .infor-item-project-home span {
        font-size: 13px;
    }

    .infor-item-project-home {
        margin-bottom: 5px;
    }

    .w-title-top-address-h h3 {
        font-size: 18px;
    }

    .same-pro .w-title-top-address-h h3, .home-project-container .w-title-top-address-h h3 {
        font-size: 16px;
    }

    .swiper-button-prev.prev-project {
        width: 43px;
        height: 43px;
    }

    .swiper-button-next.next-project {
        width: 43px;
        height: 43px;
    }

    .swiper-button-prev.prev-project::before {
        font-size: 21px;
    }

    .swiper-button-next.next-project::before {
        font-size: 21px;
    }

    .content-project-img-h {
        padding: 10px;
        width: 89%;
        padding-top: 90px;
    }

        .content-project-img-h:before {
            -webkit-transform: skewX(-45deg);
            -ms-transform: skewX(-45deg);
            position: absolute;
            top: 0;
            right: -63%;
            bottom: 0;
            transform: skewX(-45deg);
            z-index: 0;
            background: hsla(0, 0%, 100%, .85);
            width: 184%;
            height: 100%;
            content: "";
        }

    .r-list-project-hh .content-project-img-h .w-title-top-address-h.decor-title-pro-r h3 {
        font-size: 14px;
        text-transform: capitalize;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .add-item-home {
        padding-bottom: 10px;
    }

    .b-address-price-h {
        padding: 10px 0;
        display: block;
    }

    .address-project-item-h span, .price-project-item-h span {
        font-size: 13px;
    }

        .address-project-item-h span svg {
            width: 10px;
            height: 13px;
        }

    .home-project {
        padding-bottom: 88px;
        padding-top: 40px;
    }
}