/**
* #.# Section Review
*
* This section includes css for front-end review content.
*/

:root {
    --bgr-border-color: #ddd;
    --bgr-border-light: #eee;
    --bgr-text-dark: #000;
    --bgr-text-light: #fff;
    --bgr-text-muted: #888;
    --bgr-bg-white: #fff;
    --bgr-bg-light: #f5f5f5;
    --bgr-modal-overlay: rgba(0, 0, 0, 0.4);
    --bgr-focus-color: #3b82f6;
    --bgr-primary-color: #0073aa;
}

/* Dark theme support - Theme Variables with Fallbacks */
html.dark-mode,
body.dark-scheme {
	--bgr-text-muted: var(--reign-site-alternate-text-color, var(--color-meta, #888888));
	--bgr-border-color: var(--reign-site-border-color, var(--global-border-color, #ddd));
	--bgr-bg-light: var(--reign-site-secondary-bg-color, var(--global-body-lightcolor, #3d3d3d));
	--bgr-bg-white: var(--reign-site-sections-bg-color, var(--color-theme-white-box, #1a1a1a));
}

#group-reviews-list,
.group-add-form textarea,
.group-add-form input,
.group-add-form button {
    width: 100%;
}

.group-add-form p {
    text-align: center;
}

.bgr-add-review {
    margin-right: 5px;
}

.bgr-group-review-no-popup-add-block {
    display: block;
}

#request-review-list input[type="submit"] {
    display: none !important;
}


/****************** MODAL CSS ***********************/


/* The Modal (background) */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--bgr-modal-overlay, rgba(0, 0, 0, 0.4));
    z-index: 9999;
}


/* Modal Content */

.modal-content {
    position: relative;
    background-color: var(--bgr-bg-white, #fefefe);
    margin: auto;
    padding: 0;
    border: 1px solid var(--bgr-text-muted, #888);
    width: 26%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-name: animatetop;
    animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
}

@media (max-width: 1024px) {
    #bgr-add-review-modal .modal-content {
        min-width: 300px;
    }
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}


/* The Close Button */

.close {
    color: var(--bgr-text-light, white);
    float: left;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    left: 10px;
}

.close:hover,
.close:focus {
    color: var(--bgr-text-dark, #000);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 19px 24px 6px 0;
    background-color: var(--bgr-text-muted, #c5c5c5);
    color: var(--bgr-text-light, white);
    position: relative;
}

.modal-body {
    padding: 2px 16px;
}

.bgr-group-review-add-block {
    overflow: hidden;
}

.widget-area .widget.buddypress div.item-options#bp-group-rating-list-options a,
.youzify-sidebar .buddypress div.item-options#bp-group-rating-list-options a {
    margin: 0;
}

.bp-nouveau .widget-area .widget.buddypress #bp-group-rating div.item,
.youzify-sidebar .buddypress #bp-group-rating div.item {
    padding: 0;
}

ul.bupr-group-main li.bupr-group .bupr-img-widget {
    float: right;
}

.widget ul#bp-group-rating .item-avatar,
ul.bupr-group-main li.bupr-group img.avatar,
.youzify-sidebar ul#bp-group-rating .item-avatar,
.youzify-sidebar ul.bupr-group-main li.bupr-group img.avatar {
    width: 50px;
    height: 50px;
    float: right;
}

.widget ul#bp-group-rating .item,
.youzify-sidebar ul#bp-group-rating .item {
    margin-right: 70px;
}

.widget.widget_bp_group_review_tab .bupr-img-widget+.bupr-content-widget,
.youzify-sidebar .widget_bp_group_review_tab .bupr-img-widget+.bupr-content-widget {
    margin-right: 70px;
}

.widget_bp_group_review_tab ul.bupr-group-main li.bupr-group,
.widget ul#bp-group-rating li,
.youzify-sidebar .widget_bp_group_review_tab ul.bupr-group-main li.bupr-group,
.youzify-sidebar ul#bp-group-rating li {
    height: auto;
    width: 100%;
    position: relative;
    display: block;
    margin: 0;
    padding: 0.5em 0;
}

.widget_bp_group_review_tab ul.bupr-member-main li:first-child,
.widget ul#bp-member-rating li:first-child,
.youzify-sidebar .widget_bp_group_review_tab ul.bupr-member-main li:first-child,
.youzify-sidebar ul#bp-member-rating li:first-child {
    padding-top: 0;
}

ul.bupr-group-main {
    margin: 0;
    list-style: none;
    padding: 0px;
}

ul.bupr-group-main li.bupr-group .bupr-meta {
    display: block;
    font-size: 90%;
    line-height: normal;
    margin-top: 5px;
}

.group-add-form,
.bgr-group-reviews-block {
    background: var(--bgr-bg-white, #fff);
    margin-top: 15px;
    padding: 15px;
}

.group-add-form p {
    text-align: right;
    margin: 10px 0;
}

.bgr-group-review-no-popup-add-block .review_desc {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.bgr-group-review-no-popup-add-block .review_desc:focus {
    border-color: var(--bgr-focus-color, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
    outline: none;
}

.review-ratings {
    margin-top: 10px;
}

.multi-review {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    width: 100%;
    padding: 0;
    background-color: transparent !important;
}

.multi-review>div {
    padding: 0;
}

.bgr-group-review-no-popup-add-block .bgr-submit-review {
    width: 100%;
    margin: 0;
    max-width: 160px;
    height: auto !important;
}

.bp-nouveau .bgr-row {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bgr-bg-white, #fff);
    border-radius: 8px !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bgr-border-light, #eee);
}

.group-request-list [class*=bgr-col-] {
    padding: 0;
}

.group-request-list .bgr-col-3.bgr-generic-button {
    display: flex;
    justify-content: flex-end;
    flex-flow: wrap;
    gap: 10px;
}

.group-request-list .review-description {
    margin: 10px 0;
}

.bgr-group-profiles {
    width: 60px;
    float: right;
}

.bgr-group-profiles img.avatar {
    max-width: 42px;
    max-height: 42px;
    height: auto;
    width: 100%;
}

.bgr-group-content {
    margin-right: 60px;
}

.remove-review.generic-button {
    margin-right: 60px;
    margin-top: 5px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.bgr-multi-review {
    margin: 15px;
}

.wb-reign-theme .bgr-multi-review {
    margin: 15px 0;
}

@media screen and (max-width: 767px) {
    .multi-review {
        flex-flow: row wrap;
    }

    .group-request-list .bgr-col-3.bgr-generic-button {
        justify-content: flex-start;
    }

    .group-request-list .bgr-col-2.bgr-post-author {
        margin-bottom: 15px;
    }
}

/* Single Groups Youzify*/
body[class*="youzify"] #youzify-group-body .bgr-group-reviews-block {
    margin-top: 0;
    margin-bottom: 20px;
}

body[class*="youzify"] .bgr-group-review-no-popup-add-block button.btn.bgr-submit-review {
    color: #fff;
}

body[class*="youzify"] .bgr-group-review-no-popup-add-block textarea.review_desc {
    margin-top: 10px;
}

body[class*="youzify"] #youzify-group-body .group-reviews {
    margin: 0;
}

body[class*="youzify"] #youzify-group-body #request-review-list .item-list.group-request-list {
    margin: 20px 0;
    padding-bottom: 10px;
}

body[class*="youzify"] #youzify-group-body #request-review-list .item-list.group-request-list:last-child {
    border: none;
    padding-bottom: 0;
}

body[class*="youzify"] #youzify-group-body .group-request-list .item-title {
    margin-bottom: 10px;
    display: block;
    font-weight: bold;
}

body[class*="youzify"] #youzify-group-header .rating-text {
    margin-top: 10px;
    color: #fff;
}

body[class*="youzify"] button.btn.btn-default.bgr-submit-review,
body[class*="youzify"] .bgr-col-2.bgr-generic-button .bgr-col-12.generic-button a,
body[class*="youzify"] .generic-button a.button {
    min-width: 100%;
    line-height: 15px;
    padding: 8px;
    text-align: center;
    display: inline-block;
    height: initial;
    letter-spacing: initial;
    font-size: var(--yzfy-primary-font-size);
    background-color: var(--yzfy-scheme-color) !important;
    color: var(--yzfy-scheme-text-color) !important;
    border-radius: 100px;
    cursor: pointer;
}

body[class*="youzify"] .group-request-list .avatar,
body[class*="youzify"] .bgr-group-profiles img.avatar {
    border-radius: 100px;
}

body[class*="youzify"] button.btn.btn-default.bgr-submit-review,
body[class*="youzify"] .generic-button a.button {
    padding: 12px 20px;
    min-width: auto;
    border: none;
}

body[class*="youzify"] .multi-review .bgr-col-4 {
    margin-top: 5px;
}

body[class*="youzify"] .youzify-main-column .item-list-tabs #add-review-groups-li a#add-review {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.youzify .review-description {
    line-height: 1.5;
}

.youzify-group-navmenu a#reviews:before,
.youzify-group-navmenu a#add-review:before,
.youzify div.item-list-tabs li a#managereview:before,
.youzify div.item-list-tabs li a#manage-review:before,
.youzify div.item-list-tabs li a.manage-review:before {
    content: '\f005';
}

.youzify div.item-list-tabs li a#managereview:before,
.youzify div.item-list-tabs li a#manage-review:before,
.youzify div.item-list-tabs li a.manage-review:before {
    width: 32px;
    height: 32px;
    font-size: var(--yzfy-big-font-size);
    line-height: 32px;
    text-align: center;
}

.youzify-tabs-list-gradient a#managereview:before,
.youzify-tabs-list-gradient a#manage-review:before,
.youzify-tabs-list-gradient div.item-list-tabs li a.manage-review:before {
    background: #FF9529;
    background: url(../images/dotted-bg.png), -webkit-gradient(linear, left top, right top, from(#FFDF00), to(#FF9529));
    background: url(../images/dotted-bg.png), linear-gradient(to right, #FFDF00, #FF9529);
    background: url(../images/dotted-bg.png), -webkit-linear-gradient(left, #FFDF00, #FF9529);
}

/* Widgets with Youzify */
.youzify-sidebar ul.bupr-group-main,
.youzify-sidebar #bp-group-rating {
    padding: 25px 40px;
}

.youzify-sidebar .bupr-content-widget,
.youzify-sidebar #bp-group-rating {
    line-height: 1.5;
}

/* Reviews Sorting Dropdown */
.bgr-reviews-sorting {
    margin-bottom: 15px;
    text-align: left;
}

.bgr-reviews-sorting label {
    margin-left: 8px;
    font-weight: 500;
}

.bgr-reviews-sorting select {
    padding: 6px 12px;
    border: 1px solid var(--bgr-border-color, #ddd);
    border-radius: 4px;
    background-color: var(--bgr-bg-white, #fff);
    cursor: pointer;
    min-width: 150px;
}

.bgr-reviews-sorting select:hover,
.bgr-reviews-sorting select:focus {
    border-color: #999;
    outline: none;
}

/* Review Pagination */
.review-pagination {
    margin-top: 20px;
    text-align: center;
}

.review-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    text-decoration: none;
    border: 1px solid var(--bgr-border-color, #ddd);
    border-radius: 4px;
    background-color: var(--bgr-bg-white, #fff);
}

.review-pagination .page-numbers.current {
    background-color: var(--bgr-primary-color, #0073aa);
    color: var(--bgr-text-light, #fff);
    border-color: var(--bgr-primary-color, #0073aa);
}

.review-pagination .page-numbers:hover:not(.current) {
    background-color: var(--bgr-bg-light, #f5f5f5);
}
/*# sourceMappingURL=bgr-reviews.rtl.css.map */