﻿.home-rating {
    position: relative;
}

    .home-rating .grid.wide {
        z-index: 2;
        position: relative;
    }

.home-rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 55px;
    width: 100%;
    padding-bottom: 0;
}

.home-hotelpoli-title {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    color: var(--default-color-1);
    font-family: 'montSB';
    font-size: 24px;
}

.home-hotelpoli-top {
    margin-top: 33px;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 60px;
    row-gap: 20px;
    padding: 0 158px;
}

.home-rating-title {
    margin: 0;
    font-family: 'Montserrat-Bold';
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(270deg, #D28C2A 0%, #E3B051 43.36%, #5F3328 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hotelpoli-top .item.active::before {
    width: 100%;
}

.home-hotelpoli-top .item::before {
    content: '';
    position: absolute;
    height: 4px;
    bottom: 0;
    width: .0%;
    background-color: var(--default-color-2);
    transition: .5s cubic-bezier(.3,1,0.9,1);
}

.home-hotelpoli-top .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    user-select: none;
    cursor: pointer;
    position: relative;
    border: 1px solid #33333317;
    border-radius: 10px;
}

    .home-hotelpoli-top .item:hover .title {
        color: #333;
        opacity: 1;
    }

.home-hotelpoli-top .title {
    font-family: 'montSB';
    margin-top: 10px;
    color: #333;
    font-size: 17px;
    opacity: 0.8;
}

.home-hotelpoli-top .img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.home-hotelpoli-top .item:hover .img .img-1 {
    opacity: 0;
}

.home-hotelpoli-top .item:hover .img .img-2 {
    opacity: 1;
    /* filter: invert(86%) sepia(28%) saturate(5736%) hue-rotate(347deg) brightness(100%) contrast(103%); */
}

.home-hotelpoli-top .img img {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all .1s;
}

.home-hotelpoli-top .img .img-1 {
}

.home-hotelpoli-top .img .img-2 {
    opacity: 0;
    filter: invert(29%) sepia(31%) saturate(3669%) hue-rotate(195deg) brightness(94%) contrast(87%);
}

.home-cs {
    padding-bottom: 45px;
    background-color: #33333305;
}

.home-hotelpoli-container {
    padding-top: 38px;
}

.home-hotelpoli-bottom {
    padding: 0 158px;
    margin-top: 16px;
}

    .home-hotelpoli-bottom section {
        background-color: #33333314;
        height: fit-content;
        display: none;
    }

        .home-hotelpoli-bottom section.show {
            display: block;
        }

        .home-hotelpoli-bottom section .item {
            padding: 20px;
        }

            .home-hotelpoli-bottom section .item table {
                width: 100% !important;
                border: none;
                font-size: 16px;
                color: #333;
            }

                .home-hotelpoli-bottom section .item table tr,
                .home-hotelpoli-bottom section .item table td {
                    border: none;
                }

                    .home-hotelpoli-bottom section .item table td strong {
                        font-family: montSB;
                    }

                .home-hotelpoli-bottom section .item table td {
                    padding: 12px 16px;
                }

.home-rating-container .list {
    width: 100%;
    margin-top: 29px;
}

.home-rating-container .swiper {
    margin-top: 38px;
    position: relative;
}

.grid-rating {
    width: 1097px !important;
}

.home-rating-container .item {
    /* height: 306px; */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

    .home-rating-container .item .avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        overflow: hidden;
        display: none;
    }

        .home-rating-container .item .avatar img {
        }

    .home-rating-container .item .content {
    }

    .home-rating-container .item:hover .content {
    }

    .home-rating-container .item .decor-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .home-rating-container .item .star {
        margin-bottom: 0;
    }

    .home-rating-container .item:hover .star {
        /* filter: invert(100%) sepia(6%) saturate(4%) hue-rotate(142deg) brightness(206%) contrast(101%); */
    }

    .home-rating-container .item .content {
        height: 100%;
        z-index: 2;
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        transition: all linear .3s;
    }

    .home-rating-container .item .contents {
        width: 100%;
    }

    .home-rating-container .item .icon {
        width: 100%;
        margin-bottom: 17px;
        display: none;
    }

        .home-rating-container .item .icon img {
            width: 29px;
        }

    .home-rating-container .item .text {
        color: #4D4D4D;
        font-family: 'Montserrat-Regular';
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px; /* 136.364% */
        text-transform: capitalize;
        transition: all linear .3s;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-bottom: 25px;
        max-width: 834px;
        text-align: center;
    }

    .home-rating-container .item:hover .text {
        /* color: #fff; */
    }

    .home-rating-container .item .info {
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 4px;
    }

    .home-rating-container .item .name {
        margin: 0;
        position: relative;
        transition: all linear .3s;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 28px;
        width: 100%;
        color: #BE090E;
        text-align: center;
        font-family: 'Inter_24pt-Regular';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 22.5px */
        text-transform: uppercase;
    }

    .home-rating-container .item .star {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--default-color-2);
        font-size: 15px;
    }

    .home-rating-container .item .star {
        margin-top: 10px;
    }

        .home-rating-container .item .star i {
            margin: 0 2px;
        }

    .home-rating-container .item:hover .name {
        /* color: #fff; */
    }

    .home-rating-container .item .name::before {
        content: '';
        position: absolute;
        width: 61px;
        height: 1px;
        top: 0;
        background-color: #D28C2A;
    }

    .home-rating-container .item:hover .name::before {
    }

    .home-rating-container .item:hover .job {
        color: #fff;
    }

    .home-rating-container .item .job {
        text-transform: uppercase;
        font-size: 12px;
        color: #727272;
        line-height: 207%;
        margin-top: -6px;
        display: block;
        transition: all linear .3s;
        font-size: 18px;
        font-style: italic;
        display: none;
        text-transform: unset;
        margin-top: 4px;
    }

.home-rating-top {
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 55px; */
    flex-wrap: wrap;
    height: 55px;
}

    .home-rating-top .img:first-child {
    }

    .home-rating-top .img {
        width: 55px;
        border-radius: 50%;
        height: 55px;
        overflow: hidden;
        border: 3px solid #E9E6E1;
        background-color: #D9D9D9;
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

        .home-rating-top .img.active {
            width: 60px;
            height: 60px;
            z-index: 2;
            box-shadow: 0 0 17px 0 #3336;
            transform: scale(1.1);
        }

        .home-rating-top .img img {
        }

.swiperhomerating {
}

    .swiperhomerating .btn-list {
        display: flex;
        align-items: center;
        position: absolute;
        pointer-events: none;
        width: 100%;
        justify-content: space-between;
        transform: translateY(35px);
        z-index: 2;
    }

    .swiperhomerating .btn {
        cursor: pointer;
        pointer-events: all;
    }

    .swiperhomerating .btn-prev {
    }

    .swiperhomerating .btn-next {
    }

/*RS*/

@media(max-width:1023px) {
    .home-hotelpoli-top,
    .home-hotelpoli-bottom {
        padding: 0 20px;
    }

    .home-rating-container {
        padding: 40px 0;
    }

    .home-rating-top {
        height: auto;
    }

    .grid-rating {
        width: 100% !important;
    }

    .home-restaurant .decor {
        display: none;
    }

    .swiperhomerating .btn {
        display: none;
    }

    .home-rating-container .list {
        margin-top: 0;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width: 739px) {
    .home-rating-container .item .text {
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 150%;
    }

    .home-rating-container .swiper {
        margin-top: 20px;
    }

    .home-rating-container .item .name {
        padding-top: 20px;
        font-size: 14px;
    }

    .home-rating-container .item .star {
        margin-bottom: 5px;
    }

    .home-rating-container {
        padding: 20px 0;
    }

    .home-hotelpoli-top .item {
        padding: 12px 8px;
    }

    .home-hotelpoli-top .title {
        font-size: 11px;
    }

    .home-hotelpoli-bottom {
        padding: 0;
    }

    .home-hotelpoli-top .img {
        width: 34px;
        height: 34px;
    }

    .home-hotelpoli-top {
        margin-top: 20px;
        column-gap: 5px;
        padding: 0;
    }

    .home-hotelpoli-container {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .home-cs {
        padding-bottom: 25px;
    }

    .home-hotelpoli-title {
        font-size: 22px;
    }

    .home-hotelpoli-bottom section .item table td {
        padding: 3px 5px;
    }

    .home-hotelpoli-bottom section .item table {
        font-size: 14px;
        line-height: 156%;
    }

    .home-hotelpoli-bottom section .item {
        padding: 8px;
    }

    .home-rating-title {
        font-size: 17px;
        margin-bottom: 24px;
    }

    .home-rating-top .img.active {
        width: 45px;
        height: 45px;
    }

    .home-rating-top .img {
        width: 40px;
        height: 40px;
    }

    .home-rating-top {
        height: 45px;
    }
}