body {
    font-family: "Roboto", sans-serif;
}

.save_btns {
    float: left;
    border-radius: 5px;
    margin-top: 15px;
    display: none;
    width: 70px;
}

.close_btns {
    float: left;
    border-radius: 5px;
    margin-top: 15px;
    display: none;
    width: 70px;
    margin-left: 10px;
}

.image_review {
    width: 100%;
    height: 470px;
}

.text_description_review {
    margin-left: 10px;
    margin-top: 10px;
    overflow-y: auto;
    height: 200px;
}

.flag_title_review {
    float: right;
    height: 50px;
    position: relative;
    bottom: 13px;
    /* left: 20px; */
}

.titel_detail_review {
    font-weight: 700;
    font-size: 17px;
}

.icon2_review {
    margin-top: 20px;
    border-left: 1px solid #2296d2;
    padding: 10px 0px 10px 0px;
}

.reply_review2 {
    margin-left: 20px;
    margin-top: 20px;
    overflow-y: auto;
    height: 200px;
}

.rows {
    display: flex;
}

.loader {
    visibility: hidden;
    width: 25px;
    padding-top: 20px;
    display: block;
    margin: auto;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination>li {
    display: inline;
}

.pagination>li>a,
.pagination>li>span {
    display: inline-block;
    padding: 8px 16px;
    margin-left: -1px;
    line-height: 1.42857143;
    /*    color: #ffffff;*/
    text-decoration: none;
    /*    background-color: #126fb7;*/
    border: 1px solid #ddd;
    font-size: 12px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    z-index: 2;
    color: #418bc5;
    background-color: #e1e3e5;
    border-color: #ddd;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #2296d2;
}

.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.testimonial {
    width: var(--main-width);

    margin: 0 auto;

    .head-title {
        text-align: center;

        padding: 3rem 0;

        margin-top: 1rem;

        background-color: var(--main-color);

        h3 {
            font-size: 30px;

            color: var(--white);
        }
    }

    .descrition {
        margin-top: 1rem;

        border: 2px solid var(--main-color);

        padding: 1rem;

        h3 {
            text-align: center;

            font-size: 25px;

            text-decoration: underline;
        }

        p {
            font-size: 16px;

            color: var(--text-color);
        }

        .buttom-head {
            margin-top: 2rem;

            text-align: center;

            h4 {
                font-size: 18px;

                font-weight: 500;
            }
        }
    }

    .testimonial-body {
        margin-top: 2rem;

        .title {
            font-size: 24px;

            margin-bottom: 2rem;
        }

        .sub-title {
            font-size: 16px;

            font-weight: 500;
        }

        .grid-wrap {
            display: grid;

            grid-template-columns: repeat(6, 1fr);

            gap: 0.5rem;

            .grid-item {
                cursor: pointer;

                border: 1px solid #c4c4c4;

                .car-img {
                    position: relative;
                    height: 200px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background-color: #ddd;

                    img {
                        width: 100%;

                        object-fit: fill;

                        max-height: 200px;
                    }
                }

                /* &:hover{

                    opacity: 0.8;

                } */

                &:hover .hover-info {
                    display: block;

                    transition: 1s ease-in-out;
                }

                .hover-info {
                    position: absolute;

                    top: 35%;

                    left: 50%;

                    transform: translate(-50%, 0);

                    display: none;

                    transition: 1s ease-in-out;

                    text-align: center;

                    .star {
                        display: flex;

                        justify-content: center;

                        img {
                            padding: 1px;

                            width: 25px;
                        }
                    }

                    .btn-primary {
                        width: 100%;

                        margin-top: 1rem;

                        border-radius: 5px;

                        padding: 5px;

                        font-size: 14px;
                    }
                }
            }
        }

        .btn-load-more {
            width: 10%;

            background-color: var(--main-color);

            margin-top: 1rem;

            border-radius: 5px;

            padding: 10px;

            font-size: 14px;

            color: var(--white);
        }

        .customer-list {
            .main-list {
                display: flex;

                border-bottom: 2px solid var(--border-gird);

                padding: 1.5rem 0;

                .div-image {
                    width: 25%;
                    display: flex;
                    justify-content: center;
                    background-color: #efefef;
                    align-items: center;

                    img {
                        width: 100%;

                        min-height: 250px;

                        max-height: 250px;

                        object-fit: contain;
                    }
                }

                .body-info {
                    width: 75%;

                    padding-left: 2rem;

                    position: relative;

                    .first-info {
                        display: flex;

                        justify-content: space-between;

                        align-items: start;

                        h4 {
                            font-size: 20px;

                            font-weight: 600;
                        }

                        .desr {
                            font-size: 16px;

                            font-weight: 400;

                            span {
                                color: red;
                            }
                        }

                        .flag {
                            img {
                                width: 70px;

                                height: auto;

                                /*                                border: 1px solid var(--border-gird);*/
                            }
                        }
                    }

                    .second-info {
                        display: flex;

                        align-items: center;

                        .descrition-info {
                            font-size: 16px;

                            font-weight: 400px;

                            color: var(--text-color);

                            padding-left: 0.5rem;
                        }

                        img {
                            min-width: 30px;
                        }
                    }

                    .third-info {
                        /*                        position: absolute;*/

                        margin-top: 35px;

                        bottom: 0;

                        border-left: 1px solid var(--main-color);

                        display: flex;

                        align-items: center;

                        .descrition-info {
                            font-size: 16px;

                            font-weight: 400px;

                            color: var(--text-color);

                            padding-left: 0.5rem;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1380px) {
    .testimonial {
        width: auto;

        padding: 0 1rem;
    }
}

@media (max-width: 1280px) {
    .testimonial {
        .head-title {
            padding: 2rem 0;

            h3 {
                font-size: 25px;
            }
        }

        .descrition {
            h3 {
                font-size: 22px;
            }
        }

        .testimonial-body {
            & .grid-wrap {
                & .grid-item {
                    & .hover-info {
                        .btn-primary {
                            width: 80%;

                            font-size: 13px;

                            margin-top: 0.5rem;
                        }
                    }
                }
            }
        }

        & .testimonial-body {
            .btn-load-more {
                padding: 8px;

                font-size: 13px;
            }

            & .customer-list {
                & .main-list {
                    & .div-image {
                        img {
                            min-height: 200px;
                        }
                    }
                }

                & .main-list {
                    & .body-info {
                        & .first-info {
                            & .flag {
                                img {
                                    width: 50px;
                                }
                            }
                        }

                        & .second-info {
                            img {
                                width: 100%;
                            }
                        }

                        & .third-info {
                            img {
                                /*                                width: 70%;*/
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1180px) {
    .testimonial {
        & .testimonial-body {
            .grid-wrap {
                display: grid;
                grid-template-columns: repeat(5, 1fr);
                gap: 0.5rem;

                & .grid-item {
                    & .car-img {
                        height: 180px;

                        img {
                            max-height: 180px;
                        }
                    }
                }
            }

            .btn-load-more {
                width: 20%;
                font-size: 12px;
            }
        }
    }
}

@media (max-width: 980px) {

    .testimonial {
        & .head-title {
            h3 {
                font-size: 20px;
            }
        }

        & .descrition {
            h3 {
                font-size: 18px;
            }

            p {
                font-size: 14px;
            }

            & .buttom-head {
                h4 {
                    font-size: 16px;
                    font-weight: 500;
                }
            }
        }

        & .testimonial-body {
            .title {
                font-size: 20px;
                margin-bottom: 1rem;
            }

            .sub-title {
                margin-bottom: .5rem !important;
            }

            .grid-wrap {
                grid-template-columns: repeat(5, 1fr);
            }

            & .grid-wrap {
                & .grid-item {
                    & .car-img {
                        height: 150px;

                        img {
                            max-height: 150px;
                        }
                    }
                }
            }

            & .customer-list {
                & .main-list {
                    padding: 1rem 0;

                    & .div-image {
                        img {
                            min-height: 150px;
                        }
                    }

                    & .body-info {
                        & .first-info {
                            h4 {
                                font-size: 16px;
                            }

                            .desr {
                                font-size: 14px;
                                margin-bottom: 0.5rem;

                                p {
                                    margin-bottom: 0.5rem;
                                }
                            }
                        }

                        & .second-info {
                            .descrition-info {
                                font-size: 15px;

                                p {
                                    margin-bottom: .2rem;
                                }
                            }

                            img {
                                height: 40px !important;
                            }
                        }

                        & .third-info {
                            margin-top: 10px;

                            img {
                                height: 40px !important;
                            }
                        }
                    }
                }
            }
        }
    }

    .thum_img_testimonial1 {
       min-height: 200 !important;
       height: 400px !important;
       object-fit: contain;
        max-height: 400 !important;
    }

    .title_date_review {
        font-size: 15px;
    }


    .text_description_review{
        font-size: 15px;
    }

    .thum_img_testimonial{
        width: 40px;
        height: 40px !important;
    }
    
}

@media (max-width: 780px) {
    .testimonial {
        & .head-title {
            h3 {
                font-size: 16px;
            }
        }

        & .descrition {
            h3 {
                font-size: 15px;
            }

            p {
                font-size: 13px;
            }

            & .buttom-head {
                h4 {
                    font-size: 15px;
                }
            }
        }

        & .testimonial-body {
            .title {
                margin-top: 0 !important;
            }

            .grid-wrap {
                grid-template-columns: repeat(4, 1fr);
            }

            & .grid-wrap {
                & .grid-item {
                    & .car-img {
                        height: 150px;

                        img {
                            max-height: 150px;
                        }
                    }
                }
            }

            .btn-load-more {
                font-size: 12px;
            }

            & .customer-list {
                & .main-list {
                    padding: .8rem 0;

                    & .div-image {
                        img {
                            min-height: 150px;
                        }
                    }

                    & .body-info {
                        padding-left: .5rem;

                        & .first-info {
                            h4 {
                                font-size: 16px;
                            }

                            .desr {
                                font-size: 12px;
                                margin-bottom: 0.2rem;

                                p {
                                    margin-bottom: 0.2rem;
                                }
                            }

                            .star {
                                img {
                                    width: 15px !important;
                                }
                            }

                            & .flag {
                                img {
                                    width: 40px;
                                }
                            }
                        }

                        & .second-info {
                            .descrition-info {
                                font-size: 13px;

                                p {
                                    margin-bottom: .2rem;
                                }
                            }

                            img {
                                height: 30px !important;
                            }
                        }

                        & .third-info {
                            margin-top: 10px;

                            img {
                                height: 30px !important;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 600px) {
    .testimonial {
        & .head-title {
            h3 {
                font-size: 18px;
            }
        }

        & .descrition {
            h3 {
                font-size: 14px;
            }

            p {
                font-size: 12px;
            }

            & .buttom-head {
                h4 {
                    font-size: 14px;
                }
            }
        }

        & .testimonial-body {
            .title {
                font-size: 18px;
                margin-bottom: 0.5rem;
            }

            & .grid-wrap {
                grid-template-columns: repeat(3, 1fr);

                & .grid-item {
                    & .car-img {
                        height: 120px;

                        img {
                            max-height: 120px;
                        }
                    }
                }
            }

            .btn-load-more {
                width: 30%;
                font-size: 11px;
            }

            & .customer-list {
                & .main-list {
                    padding: .5rem 0;

                    & .div-image {
                        img {
                            min-height: 150px;
                            max-height: 180px;
                        }
                    }

                    & .body-info {
                        padding-left: .5rem;

                        & .first-info {
                            h4 {
                                font-size: 14px;
                                margin-bottom: .2rem
                            }

                            .desr {
                                font-size: 11px;
                                margin-bottom: 0.2rem;

                                p {
                                    margin-bottom: 0.2rem;
                                }
                            }

                            .star {
                                img {
                                    width: 12px !important;
                                }
                            }

                            & .flag {
                                img {
                                    width: 30px;
                                }
                            }
                        }

                        & .second-info {
                            margin-top: .2rem !important;

                            .descrition-info {
                                font-size: 12px;

                                p {
                                    margin-bottom: .1rem;
                                }
                            }

                            img {
                                height: 25px !important;
                                min-width: 25px;
                            }
                        }

                        & .third-info {
                            margin-top: 10px;

                            img {
                                height: 25px !important;
                            }
                        }
                    }
                }
            }
        }
    }

    .thum_img_testimonial1 {
       height: 250px !important;
        max-height: 400 !important;
    }

    .title_date_review {
        font-size: 12px;
    }


    .text_description_review{
        font-size: 12px;
    }

    .thum_img_testimonial{
        width: 30px;
        height: 35px !important;
    }
    .col_detail_review,.col_image_review{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .text_description_review {
    height: auto !important;
}
}