.reviews { position: relative; }
.reviews.loading:before { content: ""; position: absolute; z-index: 10; top: 0; bottom: 0; left: 0; right: 0; background: #fff; opacity: 0.8; display: block; }

.reviews, .reviews .descr { font: 300 16px/27px "Open Sans" }
.descr strong { font-weight: 500; }
.reviews-txt p:last-child { margin-bottom: 0; }


.reviews-txt a { text-decoration: none }
.reviews-txt a:hover { text-decoration: underline; }

.reviews-rating-wrap { font: 600 40px/45px roboto; margin: 0 0 60px; text-align: center; }
.reviews-rating-clients { font: 300 18px/30px roboto; margin: 15px 0 25px 0 }
.reviews-rating { background: #ffeb3b; color: #000; padding: 0 8px; line-height: 42px; display: inline-block; }

.descr > .gallery { margin-bottom: 25px; }
.descr > .note > span { top: -1px }

.reviews-item { margin: 0 0 35px 0; position: relative; }
.reviews-item:before { content: ""; top: 40px; left: 156px; width: 25px; height: 25px; background: #fff; position: absolute; border-left: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }

.reviews-user { float: left; width: 165px; padding: 10px 10px 0 0; text-align: center; }

.reviews-review { overflow: hidden; margin: 0 25px 0 0; border: 4px solid #f1f1f1; border-radius: 4px; }
.reviews-review-wrap { border: 1px solid #e3e3e3; padding: 25px; }
.reviews-avatar { margin: 0 0 0 34px;  width: 80px; height: 80px; background: #eee url(/source/front/reviews/i/export/avatar.svg) no-repeat 50% 50%; border-radius: 50%; display: block; /*border: 2px solid #fff; box-shadow: 0px 0px 5px 0 rgba(0, 0, 0, 0.1)*/ }
.reviews-avatar.userpic { background-size: cover; }

.reviews-username { font: 600 16px/22px roboto; margin: 15px 0 5px 0;}
.reviews-reviews,
.reviews-authority { font-size: 14px; line-height: 22px; font-family: roboto; }
.reviews-novice { font-size: 14px; line-height: 18px; font-family: roboto; margin: 2px 0 0 0; color: #999; }

.reviews-meta { font-weight: 400; font-family: roboto; margin: 0 0 13px 0; position: relative; }
.reviews-meta-company { display: inline-block; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; margin: 0 15px 0 0; position: relative; top: -1px; }
.reviews-link { cursor: pointer; position: absolute; right: 0; top: 0; border: 1px solid; border-radius: 2px; font: 300 14px/20px roboto; padding: 0 8px; text-decoration: none; }
.reviews-link:hover { text-decoration: none; color: #499FFC }
.reviews-stars { display: inline-block; vertical-align: middle; margin: 0 13px 0 0;  height: 19px; width: 100px; position: relative; top: -3px }
.reviews-svg { width: 18px; height: 17px; color: #ddd; margin: 0 2px 0 0 }
.reviews-stars.stars5 .reviews-svg { color: #F4C92F }
.reviews-stars.stars4 .reviews-svg:nth-child(-n+4) { color: #F8B200 }
.reviews-stars.stars3 .reviews-svg:nth-child(-n+3) { color: #FF7C03 }
.reviews-stars.stars2 .reviews-svg:nth-child(-n+2) { color: #FF4F03 }
.reviews-stars.stars1 .reviews-svg:first-child { color: #FF2525 }

.reviews-uname { margin: 15px 0 0 0; }

.reviews-comments { margin: 0 0 60px 0 }
.reviews-comment { margin: 0 60px 40px 250px; }
.reviews-comment-user { margin: 0 15px 0 0 }
.reviews-comment.admin .reviews-comment-user { color: #ff6000 }
.reviews-comment-avatar { position: absolute; margin: 0 0 0 -70px;  width: 50px; height: 50px; background: #eee url(/source/front/reviews/i/export/avatar-small.svg) no-repeat 50% 50%; border-radius: 50%; display: block; }
.reviews-comment-avatar.userpic { background-size: cover; }
.reviews-comment.admin .reviews-comment-avatar { background-image: url(/source/front/reviews/i/export/admin.svg); }
.reviews-comment-meta { font-weight: 400; font-family: roboto; margin: 0 0 5px 0 }

.reviews-comment a { text-decoration: none; }
.reviews-comment a:hover { text-decoration: underline; }

.reviews-resource { font: 600 22px/24px roboto; color: #000; }

.reviews-resource + .reviews-meta { margin-top: 5px; }

.reviews-more-wrap { text-align: center; }

.reviews-add-review { background: #29bf45 }
.no-touch .reviews-add-review:hover { background: #2acc47; }



/*
.reviews-review { border: 0; }
.reviews-review-wrap { border: 0; padding: 18px 0 0 0; }
*/

.reviews-rating-header { display: none; }




/******/

.crumbs-wrap { border-bottom: 1px solid #ccc; height: 42px; }
.reviews { position: relative; }

.reviews-data { position: relative; margin: 0 0 60px 0 }
.reviews-left { margin: 0 270px 0 0; }
.reviews-right { height: 100%; position: absolute; right: 20px; top: 0; width: 240px; }

.reviews-add-points { background: #fff; text-shadow: none; border-radius: 30px; color: #000; display: inline-block; font: 300 11px/14px roboto; left: 4px; padding: 1px 5px; position: relative; top: -2px; }

.pager { margin: 0 0 0 195px }

.reviews-review { margin: 0 20px 0 0 }
.reviews-link { top: -31px; display: none; }
.reviews-username { padding: 0 15px; }

.reviews-text > p:last-child { position: relative; }

.reviews-comment-more { position: relative; top: -20px; }
/*
.reviews-comment-more:after { position: absolute; content: ""; background: url(/source/front/reviews/i/read-more.svg) no-repeat 100% 0; width: 5px; height: 7px; margin: 9px 0 0 5px }
*/
.adb.a240x400, .adb.a240x400_2, .adb.a240x400_3 { margin: 0 0 15px 0 }

/******/

.reviews-filters { background: #EDF4FF; padding: 25px 0 30px 30px; margin: 0 0 50px 0; position: relative; z-index: 1;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.reviews-filters-wrap { width: 1000px; margin: 0 auto; }

.reviews-filter-item { display: inline-block; vertical-align: top; margin: 0 15px 0 0; position: relative; }
.reviews-filter-title { font: 300 15px/15px roboto; margin: 0 0 8px 0 }



/* filter button */
.reviews-filter { cursor: pointer; color: #000; text-decoration: none; display: inline-block; font: 300 15px/33px roboto; border: 1px solid #ccc; background: #fff; padding: 0 11px;  }
.reviews-filter.active { border: 1px solid #ccb353; background: #ffeca6; position: relative; }
.reviews-filter:not(.active):not(.na):hover { background: #fcfcfc; border: 1px solid #aaa; position: relative; }
.reviews-filter.na { opacity: 0.35; cursor: default; }

/* filter checkbox */
.reviews-filter-checkbox { font: 300 15px/21px roboto; width: auto; margin: 0 0 19px 0; display: block; white-space: nowrap;}
.reviews-filter-checkbox.na { opacity: 0.35; cursor: default; }

/* group */
.reviews-filter-group { font: 0/0 a; }
.reviews-filter-group .reviews-filter { margin-right: 0; }
.reviews-filter-group .reviews-filter + .reviews-filter { margin-left: -1px; }
.reviews-filter-group .reviews-filter.active:first-child + .reviews-filter { border-left-color: #ccb353 }

/* input */
.reviews-filter-input { cursor: pointer; border: 1px solid #ccc; box-shadow: none; font: 300 15px/33px roboto; padding: 0 12px; width: 90px; height: 36px;  }
.reviews-filter-input.tick { background: #fff url(/source/front/reviews/i/tick.svg) no-repeat right 10px top 15px; }
.reviews-filter-input:not(.active):not(.na):hover { background-color: #fcfcfc; border: 1px solid #aaa; }
.reviews-filter-input.active { border: 1px solid #ccb353; background-color: #ffeca6; background-image: url(/source/front/reviews/i/tick-active.svg); }

.reviews-filter-item.fauthority .reviews-filter-input { background-position: 157px 15px; width: 175px; }
.reviews-filter-item.fcategory .reviews-filter-input { background-position: 186px 15px; width: 203px; padding-right: 22px; }
.reviews-filter-item.fmark .reviews-filter-input {background-position: 129px 15px; width: 147px; }

.reviews-filter-item.fauthority > .xsuggest { top: auto; left: 0; width: 173px; }
.reviews-filter-item.feducation > .xsuggest { top: auto; left: 0; width: 191px; }
.reviews-filter-item.fmark > .xsuggest { top: auto; left: 0; width: 144px; }
.reviews-filter-item.fcategory > .xsuggest { top: auto; left: 0; width: 202px; }
.reviews-filter-item.fauthority > .xsuggest .xsuggest-item,
.reviews-filter-item.fmark > .xsuggest .xsuggest-item,
.reviews-filter-item.fcategory > .xsuggest .xsuggest-item { font-size: 15px; font-family: roboto; padding: 6px 13px 6px; white-space: normal; }

.reviews-filter-item:hover .l2form-help { visibility: visible; }

/* search button */
.reviews-search { border: 0; font: 300 16px/35px "Open Sans"; background: #0099ff; color: #fff; height: 35px; cursor: pointer; width: 110px; }
.reviews-search:hover { background: #1fa4fd }
.reviews-filter-item.fsearch { padding-top: 23px; margin-right: 0; }

.reviews-notfound { margin: 50px 0 0 42px }
.reviews-notfound > p:first-child { font: 300 18px/24px roboto; margin: 0 0 15px 0 }
.reviews-notfound > p:last-child { font: 300 15px/24px roboto; }


/* bar */

.reviews-bar { font: 300 18px/24px roboto; margin: -25px 0 30px; position: relative; text-align: center;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.reviews-bar.empty { display: none; }

.reviews-bar-filters { display: inline-block; vertical-align: baseline; padding: 0 0 0 3px }
.reviews-bar-filter-dash { position: relative; top: 1px; }
.reviews-bar-filter { position: relative; cursor: pointer; border-radius: 3px; display: inline-block; background: #ffeca6; font: 300 15px/25px roboto; padding: 0 25px 0 10px; border: 1px solid #ccb353; margin: 0 0 4px 0 }
.reviews-bar-filter:after { content: ""; position: absolute; width: 9px; height: 9px; background: url(/source/front/reviews/i/cross.svg); right: 8px; top: 9px; }
.reviews-bar-filter:hover { color: #ff0000; }
.reviews-bar-filter:hover:after { background-image: url(/source/front/reviews/i/cross-hover.svg); }
.reviews-bar-filter:hover:before { content: ""; position: absolute; height: 1px; right: 23px; left: 9px; top: 13px; background: #ff0000; }

.reviews-bar-filter.reset { background: #fff; border-color: #ff0000; color: #ff0000; }
.reviews-bar-filter.reset:after { background-image: url(/source/front/reviews/i/cross-hover.svg); }
.reviews-bar-filter.reset:hover { border-color: #FF3737; color: #FF3737 }
