#mcr_rating {
  -webkit-box-sizing: border-box !important;
          box-sizing: border-box !important;
  text-align: center;
  margin: 1rem 0;
}

#mcr_rating * {
  -webkit-box-sizing: border-box !important;
          box-sizing: border-box !important;
}

#mcr_rating a {
  cursor: pointer;
}

#mcr_rating .star-input {
  display: block;
  white-space: nowrap;
  line-height: 40px;
}

#mcr_rating .star-input .input {
  display: inline-block;
  vertical-align: top;
  background: url("mcr_rating.png") no-repeat;
  display: inline-block;
  width: 200px;
  background-size: 200px;
  height: 38px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

#mcr_rating .star-input .input > label:hover,
#mcr_rating .star-input .input > input:focus + label,
#mcr_rating .star-input .input > input:checked + label {
  display: inline-block;
  vertical-align: top;
  background: url("mcr_rating.png") no-repeat;
}

#mcr_rating .star-input .input > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#mcr_rating .star-input .input > label {
  width: 20px;
  height: 0;
  padding: 38px 0 0 0;
  overflow: hidden;
  float: left;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}

#mcr_rating .star-input .input > label:hover,
#mcr_rating .star-input .input > input:focus + label,
#mcr_rating .star-input .input > input:checked + label {
  background-size: 200px;
  background-position: 0 bottom;
}

#mcr_rating .star-input .input > label:hover ~ label {
  background-image: none;
}

#mcr_rating .star-input .input > label[for="p1"] {
  width: 20px;
  z-index: 10;
}

#mcr_rating .star-input .input > label[for="p2"] {
  width: 40px;
  z-index: 9;
}

#mcr_rating .star-input .input > label[for="p3"] {
  width: 60px;
  z-index: 8;
}

#mcr_rating .star-input .input > label[for="p4"] {
  width: 80px;
  z-index: 7;
}

#mcr_rating .star-input .input > label[for="p5"] {
  width: 100px;
  z-index: 6;
}

#mcr_rating .star-input .input > label[for="p6"] {
  width: 120px;
  z-index: 5;
}

#mcr_rating .star-input .input > label[for="p7"] {
  width: 140px;
  z-index: 4;
}

#mcr_rating .star-input .input > label[for="p8"] {
  width: 160px;
  z-index: 3;
}

#mcr_rating .star-input .input > label[for="p9"] {
  width: 180px;
  z-index: 2;
}

#mcr_rating .star-input .input > label[for="p10"] {
  width: 200px;
  z-index: 1;
}

#mcr_rating .star-input .input-result {
  display: none;
  line-height: inherit;
  position: absolute;
  padding-left: 1rem;
}

#mcr_rating_stat .stat-wrapper {
  max-width: 480px;
  margin-right: auto;
  margin-left: auto;
  border-radius: 3px;
  border: 1px solid #e8e8e8;
  padding: 1rem;
  background-color: #fcfcfc;
}

#mcr_rating_stat .stat-wrapper .stat-total {
  float: left;
  width: 150px;
}

#mcr_rating_stat .stat-wrapper .stat-total .stat-average-point {
  font-size: 48px;
  line-height: 48px;
}

#mcr_rating_stat .stat-wrapper .stat-total .stat-count {
  margin-top: 0.5rem;
  font-size: 80%;
}

#mcr_rating_stat .stat-wrapper .stat-info {
  float: left;
  width: calc(100% - 150px);
  text-align: left;
}

#mcr_rating_stat .stat-wrapper .stat-info > div:after {
  content: '';
  display: block;
  clear: both;
}

#mcr_rating_stat .stat-wrapper .stat-info > div > span {
  display: inline-block;
  text-align: center;
  float: left;
  line-height: 25px;
  height: 25px;
}

#mcr_rating_stat .stat-wrapper .stat-info > div > span:first-child {
  position: relative;
  padding-left: 20px;
  width: 30px;
  margin-right: 5px;
  font-size: 90%;
}

#mcr_rating_stat .stat-wrapper .stat-info > div > span:first-child > img {
  position: absolute;
  left: 0;
}

#mcr_rating_stat .stat-wrapper .stat-info > div > span:last-child {
  width: calc(100% - 35px);
  padding: 5px 0;
}

#mcr_rating_stat .stat-wrapper .stat-info > div > span:last-child > span {
  display: block;
  height: 100%;
}

#mcr_rating_stat .stat-wrapper .stat-info > div > * {
  vertical-align: text-bottom;
}

#mcr_rating_stat .stat-wrapper .stat-info > div:first-child .stat-info-bar {
  background: #57bb8a;
}

#mcr_rating_stat .stat-wrapper .stat-info > div:nth-child(2) .stat-info-bar {
  background: #9ace6a;
}

#mcr_rating_stat .stat-wrapper .stat-info > div:nth-child(3) .stat-info-bar {
  background: #ffcf02;
}

#mcr_rating_stat .stat-wrapper .stat-info > div:nth-child(4) .stat-info-bar {
  background: #ff9f02;
}

#mcr_rating_stat .stat-wrapper .stat-info > div:nth-child(5) .stat-info-bar {
  background: #ff6f31;
}

#mcr_rating_stat .stat-wrapper:after {
  content: '';
  display: block;
  clear: both;
}

@media (max-width: 575px) {
  #mcr_rating_stat .stat-wrapper {
    width: 100%;
    padding: 0.5rem;
  }
  #mcr_rating_stat .stat-wrapper .stat-total {
    float: initial;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  #mcr_rating_stat .stat-wrapper .stat-info {
    float: initial;
    width: 100%;
    padding: 0 0.5rem;
  }
}

#mcr_rating_mine {
  margin-top: 1rem;
  padding: 1rem;
}

#mcr_rating_mine > h2 {
  margin-bottom: 1rem;
}

#mcr_rating_mine .star-input, #mcr_rating_mine .stat-average-star-bg.mine {
  margin-bottom: 1rem;
}

.mcr-document-rating-btn {
  display: inline-block;
  line-height: 28px;
  border-radius: 0.25rem;
  background-color: #57bb8a;
  color: #fff !important;
  padding: 0 0.5rem;
}

.mcr-document-rating-btn.cancel {
  background-color: #ff6f31 !important;
}

.stat-average-star-bg {
  position: relative;
  background: url("mcr_rating.png") no-repeat;
  width: 111px;
  height: 21px;
  background-size: 111px;
  margin-right: auto;
  margin-left: auto;
}

.stat-average-star-bg .stat-average-star {
  background: url("mcr_rating.png") no-repeat;
  width: 111px;
  height: 21px;
  background-size: 111px;
  background-position-y: -21px;
  margin-right: auto;
  margin-left: auto;
  position: absolute;
}

.stat-average-star-bg.mine {
  width: 200px;
  height: 38px;
  background-size: 200px;
}

.stat-average-star-bg.mine .stat-average-star {
  width: 200px;
  height: 38px;
  background-size: 200px;
  background-position-y: -38px;
}

.stat-average-star-bg.cmtlist, .stat-average-star-bg.list {
  display: inline-block;
  width: 92.5px;
  height: 17.5px;
  background-size: 92.5px;
}

.stat-average-star-bg.cmtlist .stat-average-star, .stat-average-star-bg.list .stat-average-star {
  width: 92.5px;
  height: 17.5px;
  background-size: 92.5px;
  background-position-y: -17.5px;
}

.stat-average-star-bg.list {
  margin: 0.25rem 0 0;
}
/*# sourceMappingURL=mcr_rating.css.map */