﻿.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: 0;
    margin-top: -40px;
    background: #FFFBE8;
    padding: 15px;
}

.btn-prev.btn-item.flex-center {
    padding: 10px 20px;
    background: #711A28;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    pointer-events: all;
    border: 1px solid #fff;
    background: #711A28;
    box-shadow: 0px 4px 4px 0px rgba(7, 37, 130, 0.38);
}

.btn-next.btn-item.flex-center {
    padding: 10px 20px;
    background: #711A28;
    cursor: pointer;
    border-radius: 50px 0 0 50px;
    pointer-events: all;
    border: 1px solid #fff;
    background: #711A28;
    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 {
    background: url(/Design/img/LoiKimNgan/bg.png);
    background-size: auto;
    background-repeat: repeat;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: -48px;
}

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

.description-topUp {
    color: black;
    font-size: 16px;
    margin-top: 10px;
    font-weight: 100;
}

.detail-pro .grid.wide.f {
    padding: 0;
    max-width: 1030px;
    -webkit-transform: translateY(-61px);
    -ms-transform: translateY(-61px);
    transform: translateY(-61px);
    background-color: transparent;
    border-radius: 5px;
    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;
    background: #fff;
    padding-top: 89px;
}

.detail-pro h1.title-top {
    display: none;
}

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

.detail-pro h4.title-top {
    margin-bottom: 45px;
    text-align: center;
    padding: 0 175px;
    margin-top: 22px;
    line-height: 150%;
    font-family: 'K2D-MEDIUM';
}

.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 section table p {
    margin: 0;
}

.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-1);
        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 section h2 {
    margin: 6px 0;
    color: #051550;
    font-family: 'K2D-MEDIUM';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

.detail-pro .table .item .text.head {
    position: relative;
    color: var(--blue-default);
    font-family: 'K2D-MEDIUM';
    font-size: 19px;
    color: var(--default-color-1);
    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-Medium';
    -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;
}

    .detail-pro section table {
        width: 100% !important;
        height: 100% !important;
        border-collapse: collapse;
        margin: 0;
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
        border-radius: 0;
        overflow: hidden;
        font-family: Arial, Helvetica, sans-serif;
    }

        .detail-pro section table td {
            padding: 14px 18px;
            border: 1px solid #e0e0e0;
            font-size: 15px;
            line-height: 1.5;
            vertical-align: middle;
        }

        .detail-pro section table tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        .detail-pro section table tr:hover {
            background-color: #f1f5f9;
            transition: background-color 0.2s ease;
        }

        .detail-pro section table td:first-child {
            background-color: #f0f4f8;
            font-weight: 600;
            color: #035b8f;
            width: 45%;
            white-space: normal;
            font-family: 'Inter_24pt-Regular';
        }

        .detail-pro section table td:last-child {
            color: #1f2937;
            font-weight: 500;
        }

        .detail-pro section table strong {
            color: #1e40af;
            font-family: 'Inter_24pt-SemiBold';
        }

    .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: 113%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

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

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

li.p-project-item {
}

.same-pro-container h3.up-case {
    color: #711A28;
    font-family: 'K2D-BOLD';
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.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;
    font-size: 14px;
}

.infor-item-project-home span {
    text-align: left;
    font-size: 15px;
    padding: 3px 0;
}

.w-title-top-address-h h3 {
    font-size: 16px;
    overflow: hidden;
    text-transform: uppercase;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -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: url(/Design/img/DongXuyen/nl.png) no-repeat;
    background-size: cover;
}

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

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

    .detail-pro h4.title-top {
        text-align: center;
        padding: 30px 375px;
        line-height: 150%;
        position: absolute;
        left: 0;
        top: -78px;
        right: 0;
        margin: auto;
        background: #fff;
        display: block;
    }
}

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

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

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

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

    .detail-pro {
        /* padding-top: 126px; */
    }

        .detail-pro .title-top {
            font-size: 18px;
            padding: 0 !important;
        }

        .detail-pro h4.title-top {
            display: block;
            font-size: 16px !important;
            position: absolute;
            left: 0;
            top: -31px;
            right: 0;
            background: #fff;
            padding: 19px 30px !important;
            width: 93%;
            margin: auto;
        }

    .description-topUp {
        font-size: 16px;
        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: 0;
        margin-bottom: 90px;
        padding-top: 54px;
    }

        .slider-detail-pro .btn {
            height: 82%;
            top: auto;
            bottom: 0;
        }

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

    li.p-project-item {
    }

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

    .slider-detail-pro .swiper {
        margin-top: 10px;
    }

    .same-pro .p-project-img {
        height: 195px;
    }

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

    .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 section h2 {
        font-size: 18px;
    }

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