﻿.banner-product {
    height: 500px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .banner-product::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: black;
        opacity: .5;
    }

    .banner-product img {
        width: 100%;
        height: 100%;
    }

.slider-detail-pro {
    position: relative;
    margin-bottom: 60px;
    margin-top: -75px;
}

.btn-prev.btn-item.flex-center {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    pointer-events: all;
    border: 1px solid #fff;
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
    box-shadow: 0px 4px 4px 0px rgba(7, 37, 130, 0.38);
}

.btn-next.btn-item.flex-center {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 50px 0 0 50px;
    pointer-events: all;
    border: 1px solid #fff;
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
    box-shadow: 0px 4px 4px 0px rgba(7, 37, 130, 0.38);
}

.slider-detail-pro .btn .btn-prev.btn-item.flex-center img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    width: 16px;
    height: auto;
}

.slider-detail-pro .btn .btn-next.btn-item.flex-center img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    width: 16px;
    height: auto;
}

.slider-detail-pro .btn .btn-prev.btn-item.flex-center:hover img {
    filter: brightness(0);
    -webkit-filter: brightness(0);
}

.slider-detail-pro .btn .btn-prev.btn-item.flex-center:hover {
    background: #fff;
}

.slider-detail-pro .btn .btn-next.btn-item.flex-center:hover img {
    filter: brightness(0);
    -webkit-filter: brightness(0);
}

.slider-detail-pro .btn .btn-next.btn-item.flex-center:hover {
    background: #fff;
}

.detail-pro {
    position: relative;
}

    .detail-pro:before {
        content: "";
        position: absolute;
        background: url(/Design/img/MoiTruongViet/b2.png) no-repeat;
        width: 100%;
        height: 90%;
        left: 0;
        top: 0;
        background-size: cover;
    }

    .detail-pro .same-pro-slider .pro.content-item {
        margin-bottom: 0;
    }

.description-topUp {
    color: #000;
    font-size: 16px;
    margin-top: 10px;
    font-weight: normal;
    font-family: 'Inter_24pt-Medium';
    line-height: 150%;
}

.detail-pro .grid.wide.f {
    padding: 0;
    max-width: 1030px;
    -webkit-transform: translateY(-155px);
    -ms-transform: translateY(-155px);
    transform: translateY(-155px);
    background-color: #fff;
    border-radius: 5px;
    background-image: url(../../Design/img/bg-product_02.png);
    background-repeat: no-repeat;
}

.detail-pro .container {
    padding: 35px;
    -webkit-box-shadow: 0 0 15px 1px #00000066;
    box-shadow: 0 0 5px 1px #00000066;
    border-radius: 5px;
}

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

.detail-pro .description-top {
    color: black;
    font-size: 16px;
    opacity: .8;
    margin-top: 0;
    font-weight: 100;
}

.detail-pro .infor {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 35px 0;
}

.detail-pro .table {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
    width: fit-content;
    border: 1px solid #d5d5d5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 5px;
}

    .detail-pro .table .item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 15px 20px;
        /* border-right: 1px solid #d5d5d5; */
        -webkit-transition: all linear .2s;
        -o-transition: all linear .2s;
        transition: all linear .2s;
    }

        .detail-pro .table .item:hover {
            background-color: var(--default-color-2);
            cursor: default;
        }

        .detail-pro .table .item.n {
            border-bottom: 1px solid #d5d5d5;
            border-right: 1px solid #d5d5d5;
        }

        .detail-pro .table .item:hover .text {
            color: #fff !important;
        }

        .detail-pro .table .item .text.head {
            position: relative;
            color: var(--blue-default);
            font-family: 'Inter_24pt-SemiBold';
            font-size: 19px;
            color: var(--default-color-2);
            margin-top: 0;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

        .detail-pro .table .item:hover .text.head {
            opacity: 1;
        }

        .detail-pro .table .item .text.head::before {
            content: '';
            position: absolute;
            top: calc(100% + 3px);
            width: 17px;
            height: 2px;
            border-radius: 2px;
            background-color: var(--blue-default);
            -webkit-transition: all ease .2s;
            -o-transition: all ease .2s;
            transition: all ease .2s;
        }

        .detail-pro .table .item:hover .text.head::before {
            width: 30px;
            background-color: #fff;
        }

.detail-pro .item .text {
    font-size: 16px;
    margin-top: 12px;
    font-family: 'Inter_24pt-Regular';
    -webkit-transition: all linear .3s;
    -o-transition: all linear .3s;
    transition: all linear .3s;
    text-align: center;
}

.detail-pro .options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 10px;
    padding-top: 10px;
    border-top: 1px solid #d5d5d5;
}

.detail-pro .op-left {
    opacity: .7;
    font-size: 14px;
}

.detail-pro section {
    text-align: justify;
    margin-top: 20px;
    line-height: 150%;
}

    .detail-pro section img {
        margin: 0 auto;
        max-width: 100%;
    }

.slider-detail-pro .btn {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.slider-detail-pro .swiper {
}

.slider-detail-pro a {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

    .slider-detail-pro a img {
        transition: all linear .3s;
        border-radius: 8px;
        height: 436px;
    }

    .slider-detail-pro a:before {
        content: '';
        background: rgba(var(--villoz-white-rgb, 255, 255, 255), 0.3);
        bottom: 50%;
        content: "";
        left: 0;
        position: absolute;
        right: 0;
        top: 50%;
        opacity: 1;
        z-index: 3;
        pointer-events: none;
        transition: all 600ms linear;
    }

    .slider-detail-pro a:hover:before {
        top: 0;
        bottom: 0;
        opacity: 0;
        transition: all 600ms linear;
    }

    .slider-detail-pro a:hover img {
        transform: scale(1.05);
    }

.detail-pro .table .item.n1 {
    border-bottom: 1px solid #d5d5d5;
}

.detail-pro .table .item.n2 {
    border-right: 1px solid #d5d5d5;
}

.same-pro-container h3.up-case {
    text-align: center;
    font-family: 'OSWALD-MEDIUM';
    font-size: 33px;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(90deg, #009247 0%, #57BA76 50%, #009247 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-project-img-h {
    position: unset;
    text-align: left;
    width: 100%;
    border-radius: 0;
    padding: 20px 10px;
}

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

.content-project-img-h:before {
    display: none;
}

.w-title-top-address-h {
    text-align: left;
}

.content-project-img-h h6 {
    text-align: left;
}

.infor-item-project-home span {
    text-align: left;
    font-size: 16px;
    border-top: 1px solid #d5d5d5;
    padding: 8px 0;
}

.w-title-top-address-h h3 {
    font-size: 20px;
    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 {
    float: left;
}

a.home-project-item {
    -webkit-transition: all .2s ease-in-out;
    -o-transition: .2s ease-in-out all;
    transition: all .2s ease-in-out;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}

.item-project-img-h.img-item-l-project-hh {
    z-index: 0;
}

.content-project-img-h:before {
    display: none;
}

.same-pro {
    padding-top: 15px;
    width: 100%;
    position: relative;
    padding-bottom: 65px;
    background: #f4f4f4;
}

.footer {
    background: #f4f4f4;
}

.same-pro .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: 12px;
    row-gap: 12px;
}

.same-pro .title {
    position: relative;
    margin-top: 0;
    text-transform: uppercase;
    font-family: 'OsB';
    color: var(--default-color-2);
    font-size: 24px;
    margin-bottom: 45px;
}

    .same-pro .title::before {
        content: '';
        position: absolute;
        width: 45px;
        height: 1px;
        bottom: -4px;
        background-color: var(--default-color-2);
    }

@media(min-width:1390px) {
    .slider-detail-pro a img {
        height: 500px;
    }
}

@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important
    }

    .slider-detail-pro a img {
        height: 200px;
    }

    .detail-pro .container {
        padding: 10px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important
    }

    .same-pro {
        -webkit-transform: translateY(-82px);
        -ms-transform: translateY(-82px);
        transform: translateY(-82px);
    }
}

@media(max-width: 739px) {
    .no-display-mobile {
        display: none !important
    }

    .detail-pro .grid.wide.f {
        overflow: unset;
        transform: unset;
        max-width: 95%;
        background-color: transparent;
    }

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

    .detail-pro .title-top {
        font-size: 18px;
    }

    .description-topUp {
        font-size: 15px;
        text-align: justify;
    }

    .detail-pro .description-top {
        font-size: 15px;
    }

    .detail-pro .table {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 0;
    }

    .detail-pro .infor {
        margin: 30px 0;
    }

    .slider-detail-pro {
        margin-top: -62px;
        margin-bottom: 40px;
    }

    .same-pro {
        padding: 12px;
        padding-top: 35px;
    }

        .same-pro .grid.wide {
            padding: 0;
        }

    .same-pro-container .item-project-img-h img {
        height: 200px;
    }

    .same-pro-container h3.up-case {
        font-size: 22px;
        margin-top: 0;
    }

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

    a.home-project-item {
        padding: 10px;
    }

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

    .detail-pro .table .item .text.head {
        font-size: 16px;
    }

    .detail-pro .table .item {
        border-right: none;
        border-bottom: 1px solid #d5d5d5;
        width: 100%;
    }

        .detail-pro .table .item.n1 {
            border-top: 1px solid #d5d5d5;
        }

        .detail-pro .table .item.n2 {
            border-right: none;
            border-bottom: 1px solid #d5d5d5;
        }

        .detail-pro .table .item.n3 {
            border-bottom: none;
        }

        .detail-pro .table .item:nth-child(4) {
            border-bottom: none;
        }

        .detail-pro .table .item.n {
            border-bottom: none;
            border-right: 0;
            border: none;
        }

    .detail-pro .container {
        transform: translateY(-80px);
        background-color: #fff;
        padding: 20px;
    }
}