:root {
    --rw_star-color: #F6CA4C;
    --rw_star-o-color: #737373;
}


.d-block {
    display: block;
}

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

._af-ques-form,
._af-review-form {
    padding: 1rem;
    margin-bottom: clamp(2rem, 1.2vw, 2rem);
    background: #fff;
    border-radius: 4px;
}


._af-review-form .upload-file-btn {
    top: calc(50% - 12px);
}

._af-review-form .upload-file-wrapper::before {
    top: calc(50% - .4375rem);
}

._af-review-form .form-group {
    margin-bottom: 10px;
}

._af-ques-form label,
._af-review-form label {
    margin-bottom: 5px;
    font-size: 16px;
    display: inline-block;
    text-transform: capitalize;
}

.nx-cursor-pointer {
    cursor: pointer;
}

._af-review-form .form-group.review-desc {
    margin-bottom: 2rem;
}

._af-section-reviews .upload-file-btn {
    text-align: center;
    border-radius: var(--siteBorderRadius, 4px);
    padding: 5px 10px !important;
    font-size: .75rem !important;
}

._af-section-reviews {
    background: #FAF3E3 !important;
}

.vc_section .d-none {
    display: none;
}

.vc_section .text-center {
    text-align: center;
}

.vc_section .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}


._af-section-reviews .form-control {
    width: 100%;
}

._af-section-reviews input[type='text'],
._af-section-reviews input[type='email'],
._af-section-reviews input[type='file'],
._af-section-reviews textarea {

}

.review_loading_wrapper img {
    height: 50px;
    width: 50px;
}

._af-section-reviews .stars-wrapper {
    overflow: hidden;
    display: flex;
    gap: 3px;
}

._af-section-reviews .stars-wrapper svg {
    display: inline-block;
    height: 20px;
    width: 20px;
}


/* Modal Background */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1050;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    transition: opacity 0.3s ease;
    /* Transition for fade effect */
    opacity: 0;
    /* Start as invisible */
    overflow-x: hidden;
}

/* Modal Fade In */
.modal.show {
    display: block;
    opacity: 1;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
}

.modal-dialog {
    padding: 1rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    position:relative;
    display: flex;
    align-items: center;
    min-height: calc(100% - 1.75rem * 2);
    flex-wrap: wrap;
    .modal-content {
        margin-left: auto;
        margin-right: auto;
        flex: 0 0 100%;
        border-radius: 4px;
    }
}

/* Modal Fade In Content */
.modal.show .modal-content {
    opacity: 1;
}

/* Header */
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.modal-header .close {
    color: #000;
    font-size: 30px;
    font-weight: bold;
    transition: color 0.3s ease;
    /* Smooth color transition */
}

.modal-header .close:hover,
.modal-header .close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Body */
.modal-body {
    position: relative;
}

/* Footer */
.modal-footer {
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: right;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    .modal-header .close {
        font-size: 24px;
    }
}

/*  FAZ design */


.nx-reviews-entry-heading {
    margin-bottom: 0;
    text-align: center;
}

.nx-reviews-entry-row {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}

.nx-reviews-entry-row > div {
    width: max-content;
}

.nx-reviews-entry-row > div:first-child {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.nx-reviews-entry-row > div:first-child > p {
    margin-bottom: 0 !important;
}

.nx-reviews-entry-row > div:first-child > p:first-child {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.6932433247566223px;
    align-items: center;
    background: #0ab285;
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
}

.nx-reviews-entry-row > div:first-child .star-rating {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    font-size: 24px;
}

.nx-reviews-entry-row .based-on {
    color: #737373;
    font-size: 24px;
}

/* .fa-star-o::before {
    content: "\2606";
}

 .fa-star::before {
    content: "\2605";
} */

.nx-custom-icon-star {
    line-height: 0;
    overflow: hidden;
}

.nx-custom-icon-star .fa svg {
    height: 25.75px;
    width: 27px;
}

.nx-custom-icon-star .fa-star svg {
    fill: var(--rw_star-color, #FFDC64);
}

.nx-reviews-cards-wrap {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 40px;
    overflow: hidden;
}

.nx-custom-icon-star .fa-star-o svg,
.nx-custom-icon-star .fa-star-half-o svg {
    fill: var(--rw_star-o-color, #737373);
}

.nx-reviews-cards-wrap .review-row {
    margin: 0;
    border: 1px solid var(--w-primary-color);
    background: white;
    padding: 1rem;
    border-radius: 4px;
}

.nx-reviews-cards-wrap__showing-results-line {
    grid-column: span 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #737373;
    display: block;
}


._af-section-reviews .row:not(:last-child)::after,
._af-section-reviews .head-row::after {
    display: none;
}

.nx-reviews-cards-wrap .img-container img {
    width: 100%;
    max-width: 80px;
}

.nx-reviews-cards-wrap .review-details-wrapper {

}

.nx-reviews-cards-wrap .img-container {

}


.nx-reviews-cards-wrap__starts-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-details-wrapper .date {
    font-size: 14px;
    font-weight: 400;
    color: #737373;
    margin-bottom: 0;
}

._af-section-reviews .review-body {
    word-break: break-all;
    font-size: clamp(14px, 1vw, 18px);
}

@media screen and (min-width: 576px) {
    .nx-reviews-cards-wrap {

    }
}

@media screen and (min-width: 768px) {
    .nx-reviews-entry-row {
        justify-content: space-between;
    }

    .nx-reviews-entry-row > div:first-child {
        margin-bottom: 0;
    }

}

@media screen and (min-width: 992px) {

}

@media screen and (min-width: 993px) {

}

@media screen and (min-width: 1024px) {

}

@media screen and (min-width: 1200px) {
}

@media screen and (max-width: 1199px) {
    .vc_section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/*  FAZ design end */