.Rattingscontainer {
  width: 100%;
  max-width:400px;
  margin: 0 auto;

  background-color: #EFEFEF;

}

.Rattingsinner {
	text-align:left;
  padding: 1em;
  background-color: white;
  overflow: hidden;
  position: relative;
  -webkit-border-radius: 4px; 
  -moz-border-radius: 4px; 
  border-radius: 4px; 
}

.rating {
  float: left;
  width: 35%;
  margin-right: 5%;
  text-align: center;
}

.rating-num {
  color: #333333;
  font-size: 72px;
  font-weight: 100;
  line-height: 1em; 
}

.rating-stars {
  font-size: 20px;
  color: #A3C2DF;
  margin-bottom: .5em;
}
.rating-stars .active {
  color: #A3C2DF;
}

.rating-users {
  font-size: 14px;
}

.histo {
  float: left;
  width: 60%;
  font-size: 13px;
}

.histo-star {
  float: left;
  padding: 3px;

}

.histo-rate {
  width: 100%;
  display: block;
  clear: both;
}

.bar-block {
  margin-left: 5px;
  color: black;
  display: block;
  float: left;
  width: 80%;
  position: relative;
}

.bar {
  padding: 4px;
  display: block;
}

#bar-5 {
  width: 0;
  background-color: #9FC05A;
}

#bar-4 {
  width: 0;
  background-color: #ADD633;
}

#bar-3 {
  width: 0;
  background-color: #FFD834;
}

#bar-2 {
  width: 0;
  background-color: #FFB234;
}

#bar-1 {
  width: 0;
  background-color: #FF8B5A;
}


div.stars{
  position:absolute;
  display: inline-block;
}

input.star{
  display: none;
}

label.star {
  float: right;
  padding: 5px;
  font-size: 25px;
  color: #A3C2DF;
  transition: all .2s;
}
input.star:checked ~ label.star:before {
  content:'\f005';
  color: #A3C2DF;
  transition: all .25s;
}


input.star-5:checked ~ label.star:before {
  color:#FE7;
  text-shadow: 0 0 20px #952;
}

input.star-1:checked ~ label.star:before {
  color: #A3C2DF;
}

label.star:hover{
  transform: rotate(-15deg) scale(1.3);
}

label.star:before{
  content:'\f006';
  font-family: FontAwesome;
}
  
