﻿.home-ct.homee-qt {
    background: url(/Design/img/DienQuocHung/qt.png) no-repeat;
    background-size: cover;
    padding-top: 170px;
    margin-top: -232px;
    padding-bottom: 41px;
}

    .home-ct.homee-qt h2.p-title-cate {
        font-family: 'BaiJamjuree-Regular';
        font-size: 32px;
    }

    .home-ct.homee-qt .p-descript {
        font-size: 19px;
    }

.qt-home-bottom h4 {
    margin: 0;
    color: #FFF;
    font-family: 'BaiJamjuree-Bold';
    font-size: 32px;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    text-transform: capitalize;
}

.c-item-bottom h3 {
    margin: 0;
    color: #FFF;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.list-homee-qt-bottom.bottom-list-qt {
    margin-top: 56px;
}

    .list-homee-qt-bottom.bottom-list-qt .item-qt-bottome:nth-child(2) .c-item-bottom span {
        width: 163px;
    }

    .list-homee-qt-bottom.bottom-list-qt .item-qt-bottome:nth-child(4) .c-item-bottom span {
        width: 265px;
    }

.c-item-bottom span {
    display: block;
    color: #FFF;
    text-align: center;
    font-family: 'Inter_24pt-Regular';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    text-transform: capitalize;
    width: 271px;
    margin: auto;
}

.c-item-bottom {
    text-align: center;
    margin-top: 38px;
}

.list-homee-qt-bottom {
    position: relative;
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 13px;
    row-gap: 13px;
    margin-left: -22px;
}

.item-img-qt {
    position: relative;
    text-align: center;
    height: 98px;
    margin: auto;
}

    .item-img-qt img {
        margin: auto;
        position: relative;
    }

.item-qt-bottome:hover .item-img-qt:before {
    background: #f7981d;
}

.item-qt-bottome:hover .item-img-qt img {
    filter: invert(6%) sepia(100%) saturate(0%) hue-rotate(231deg) brightness(158%) contrast(107%);
}

.list-homee-qt-bottom:before {
    content: "";
    position: absolute;
    background: #fff;
    width: 82%;
    height: 3px;
    top: 49px;
    margin: auto;
    left: 0;
    right: 0;
}

.item-qt-bottome {
    position: relative;
}

.qt-home-bottom {
    margin-bottom: 55px;
}

.item-img-qt:before {
    content: "";
    position: absolute;
    width: 147.783px;
    height: 147.783px;
    border-radius: 147.783px;
    background: #FFF;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    pointer-events: none;
    z-index: 0;
    transition: all linear .3s;
}

.item-qt-bottome:nth-child(1) .c-item-bottom span {
    width: 233px;
}

.item-qt-bottome:nth-child(3) .c-item-bottom span {
    width: 233px;
}

.item-qt-bottome:nth-child(4) .c-item-bottom span {
    width: 185px;
}

a.decor-phone-qt {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    width: 412px;
    height: 40px;
    background: #F7981D;
    border-radius: 5px;
    margin: auto;
    margin-top: 36px;
    transition: all linear .3s;
}

    a.decor-phone-qt:hover {
        background: #fff;
        color: #f7981d;
    }

        a.decor-phone-qt:hover svg path {
            fill: #f7981d;
        }

    a.decor-phone-qt svg {
        margin-left: 12px;
    }

@media(max-width:1023px) {
    .home-ct.homee-qt {
        margin-top: 0;
        padding-top: 25px;
    }

        .home-ct.homee-qt h2.p-title-cate {
            font-size: 18px;
        }

        .home-ct.homee-qt .l-new-homee .p-title {
            font-size: 18px;
        }

        .home-ct.homee-qt .p-descript {
            font-size: 15px;
        }

    .qt-home-bottom h4 {
        font-size: 20px;
    }

    .list-homee-qt-bottom {
        position: relative;
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 27px;
        row-gap: 20px;
        margin-left: 0px;
    }

    .item-qt-bottome {
        z-index: 1;
    }

    .item-img-qt:before {
        width: 62.783px;
        height: 62.783px;
        border-radius: 147.783px;
    }

    .item-img-qt img {
        width: 30px;
    }

    .item-img-qt {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 55px;
    }

    .c-item-bottom {
        margin-top: 17px;
    }

        .c-item-bottom h3 {
            font-size: 16px;
            margin-bottom: 8px;
        }

    .item-qt-bottome:nth-child(1) .c-item-bottom span {
        width: auto;
    }

    .c-item-bottom span {
        width: auto;
        font-size: 13px;
    }

    .list-homee-qt-bottom .item-qt-bottome:nth-child(2) .c-item-bottom span {
        width: auto;
        position: relative;
        left: auto;
    }

    .list-homee-qt-bottom.bottom-list-qt .item-qt-bottome:nth-child(2) .c-item-bottom span {
        width: 119px;
        left: auto;
    }

    .item-qt-bottome:nth-child(3) .c-item-bottom span {
        width: auto;
    }

    .list-homee-qt-bottom.bottom-list-qt .item-qt-bottome:nth-child(4) .c-item-bottom span {
        width: auto;
    }

    .item-qt-bottome:nth-child(4) .c-item-bottom span {
        width: auto;
    }

    .list-homee-qt-bottom.bottom-list-qt .item-qt-bottome:nth-child(2) .c-item-bottom span {
    }

    .list-homee-qt-bottom.bottom-list-qt {
        margin-top: 27px;
    }

        .list-homee-qt-bottom.bottom-list-qt:after {
            bottom: 128px;
        }

    .list-homee-qt-bottom:before {
        top: 28px;
        width: 56%;
    }

    .list-homee-qt-bottom:after {
        content: "";
        position: absolute;
        background: #fff;
        width: 65%;
        height: 3px;
        bottom: 108px;
        margin: auto;
        left: 0;
        right: 0;
        z-index: 0;
    }

    .list-homee-qt-bottom.bottom-list-qt .item-qt-bottome:nth-child(1) .item-img-qt img {
        width: 22px;
    }

    a.decor-phone-qt {
        width: 85%;
        font-size: 14px;
    }

        a.decor-phone-qt svg {
            width: 22px;
            height: auto;
        }
}