.review-block {
    background: #fff;
    padding: 40px 20px 30px 20px;
    position: relative;
    height: 100%;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 20px;
}

.review-block:after {
    content: '';
    background-image: url('../images/Group-133.svg');
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
    right: 30px;
    top: 30px;
    position: absolute;
    background-size: 100%;
}
.gr-review-item {
    padding: 35px 15px 20px;
}
.gr-google-reviews{display: flex;}
.gr-google-reviews .slick-list{margin: 0 -16px;}
.gr-google-reviews .slick-track {
    display: flex !important;
}
.gr-google-reviews:not(.slick-initialized) {
    width: 100%;
    overflow: hidden;
    flex-wrap: wrap;
    max-height: 412px;
}
.gr-google-reviews:not(.slick-initialized) .gr-review-item {
    width: 25% !important;
}
.gr-google-reviews .slick-slide {
    height: inherit !important;
}
h2.gr-popup-title{padding-right: 0!important;}
body .review-block h3, body h2.gr-popup-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    color: #232f4d;
    padding-bottom: 0px;
    margin-bottom: 0;
    margin-top: 0px;
        font-family: 'Poppins';
        text-transform: capitalize;
}
body .review-block h3 {
    color: rgb(35, 47, 77) !important;
    font-size: 22px !important;
    font-weight: bold !important;
    font-family: Poppins;
    transition: 0.5s;
    margin-bottom: 0 !important;
    float: unset !important;
    text-align: center !important;
}
body h2.gr-popup-title {
    font-weight: 600 !important;
    font-size: 22px !important;
    margin: 0 !important;
}
p.gr-popup-body {
    margin-bottom: 0 !important;
}
p.gr-popup-body p:last-child {
    margin-bottom: 0 !important;
}
.review-block p.gr-review-text {
    font-size: 16px;
    line-height: 23px;
    color: #000;
    margin-bottom: 0;
    font-weight: 400;
    float: unset;
    text-align: center;
}

.gr-google-reviews .slick-arrow {
    top: 50%;
    left: auto;
    transform: translateY(calc(-50% + 40px));
    right: -120px;
    background: transparent;
    box-shadow: none;
    border: 1px solid #000000;
    border-radius: 50px;
    width: 48px;
    height: 48px;
    opacity: 1;
    position: absolute;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-google-reviews .slick-arrow:hover {
    opacity: .8;
}

.gr-google-reviews .slick-arrow svg {
    width: 20px;
    height: 27px;
}
/*button.slick-next {
    right: -25px;
}*/
.gr-google-reviews button.slick-prev {
    left: -120px;
}

.review-block .gr-review-rating {
    margin-bottom: 14px;
    font-size: 25px;
    line-height: 18px;
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    column-gap: 7px;
    width: 100%;
}

.star.filled {
    color: #FFC828;
        width: 19px;
    height: 20px;
}
.star.filled path{fill: #FFC828;}
.star.empty path{fill: #ccc;}
.star.empty {
    color: #ccc;
}

.review-block p.gr-review-time {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    font-family: 'Inter';
    margin-bottom: 15px;
    color: #000;
}

/* Popup */
div#gr-review-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.gr-popup-content {
    position: absolute;
    background: #fff;
    max-width: 870px;
    width: 90%;
    padding: 0;
    border-radius: 10px;
    z-index: 10000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 0;
    justify-content: center;
    height: auto;
    overflow: auto;
    display: block;
}
.gr-inner{
    height: auto;
    padding: 40px;
    max-height: 50vh;
    overflow: auto;
}
a.gr-read-more {
    display: block;
    width: fit-content;
    color: rgb(191, 1, 1);
    font-size: 16px !important;
    line-height: 26px !important;
    margin: 14px auto 15px auto;
    text-decoration: unset !important;
    padding: 0 !important;
    transition: all .3s;
}
a.gr-read-more:hover{color: #232f4d;}
.gr-inner::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.gr-inner::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.gr-inner::-webkit-scrollbar-thumb {
    background-color: #000000;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    transition: 0.5s;
}
span.close-popup:hover {
    color: #232f4d;
}
.gr-popup-body{margin-bottom: 0;}
.gr-popup-body p {
    margin-bottom: 0;
    margin-top: 8px;
    font-size: 16px;
    line-height: 30px;
    font-family: 'Poppins';
    font-weight: 400;
    color: #000;
}
img.review_img {
    display: flex !important;
    padding-bottom: 15px;
    margin: 0 auto;
    width: 48px;
    float: unset;
}
div#gr-review-popup img.review_img {
    margin: 0;
}
body.popup-open {
    overflow: hidden;
}
.review-block img.emoji, .gr-popup-content img.emoji{
    display: inline;
    border: none;
    box-shadow: none;
    height: 1em;
    width: 1em;
    margin: 0 0.07em;
    vertical-align: -0.1em;
    background: none;
    padding: 0;
}


@media screen and (max-width: 1440px) {
    .gr-google-reviews button.slick-next {
        right: 0;
    }

    .gr-google-reviews button.slick-prev.slick-arrow {
        right: 60px;
    }

    .gr-google-reviews .slick-arrow {
        height: 45px;
        width: 45px;
    }
}

@media screen and (max-width: 1199px) {
    body .review-block h3 {
        font-size: 22px;
        line-height: 28px;
        bottom: 29px;
    }
     body h2.gr-popup-title {
        font-size: 20px;
        line-height: 30px;
     }
a.gr-read-more{margin: 12px auto 21px auto;font-size: 18px;
    line-height: 28px;}
    .review-block p.gr-review-text, .gr-popup-body p {
        font-size: 16px;
        line-height: 28px;
    }
    .gr-google-reviews .slick-arrow {
        top: -60px;
    }
    .gr-google-reviews .slick-arrow {
        height: 40px;
        width: 40px;
    }
    .gr-google-reviews button.slick-prev.slick-arrow {
        right: 50px;
    }
    .gr-inner {
        padding: 40px 30px;
    }
    .review-block .gr-review-rating {
        margin-bottom: 14px;    
    }

img.review_img {
    padding-bottom: 10px;
    width: 100%;
    max-width: 42px;
}
.gr-review-item {
    padding: 0 12px;
}
.gr-google-reviews .slick-list{margin: 0 -12px;}
.review-block{padding: 30px 22px 51px;}
}

@media screen and (max-width:990px){
    .gr-google-reviews:not(.slick-initialized) {
    max-height: 340px;
}
.gr-google-reviews:not(.slick-initialized) .gr-review-item {
    width: 50% !important;
}
}
@media screen and (max-width: 961px) {
    .review-block{padding: 26px 22px 41px;}
    body .review-block h3{bottom: 19px;}
}
@media screen and (max-width: 923px) {
    .review-block{padding: 26px 22px 51px;}
    body .review-block h3{bottom: 30px;}
}
@media screen and (max-width: 767px) {
    .gr-google-reviews button.slick-prev.slick-arrow {
        right: 40px;
    }


    .review-block:after {
        height: 40px;
        width: 40px;
        right: 25px;
        top: 25px;
    }

        .gr-google-reviews .slick-arrow {
        height: 32px;
        width: 32px;
        top: -55px;
    }


    .review-block p.gr-review-time {
        margin-bottom: 12px;
    }

    .review-block .elementor-widget-rating {
        margin-bottom: 15px;
    }

    .gr-popup-content{
        max-width: 100%;
    }
    img.review_img {
        width: 40px;
    }
    .gr-google-reviews:not(.slick-initialized) {
    max-height: 320px;
}
.gr-google-reviews:not(.slick-initialized) .gr-review-item {
    width: 100% !important;
}

}

@media screen and (max-width: 680px) {
    .review-block{padding: 26px 30px 41px;}
    body .review-block h3{bottom: 20px;}
}
@media screen and (max-width: 479px) {
    .review-block:after {
        height: 32px;
        width: 32px;
    }
    .gr-inner{
        max-height: 60vh;
        height: auto;
    }
    .gr-inner{padding: 25px;}
    .gr-google-reviews .slick-arrow svg {
    width: 16px;
    height: 12px;
}
}
