#guess_book {
    float: left;
    border: 1px solid #aaa;
    border-radius: 5px;
    margin: 0 10% 24px;
    overflow: hidden;
    width: 80%;
}

#guess_book fieldset {
    background: none;
    border: none;
}

#guessbook h1 { text-align: center; }

h2, .guess_book_table_h2 {
    font-size: 16px;
    margin-top: 20px;
    text-transform: uppercase;
	text-align: center;
}

#guess_book .logged { display: none; }

#guess_book .logged-title input { width: 502px; }

#guess_book h3, .guess_book_table_h3 {
    border-bottom: 1px solid #aaa;
    color: #000;
    font-size: 16px;
    line-height: 22px;
    margin: 0 0 25px;
    padding: 8px;
	text-align: center;
}

.guess_book_table_h3 {
	width: 80%;
	margin: 0 10%;
	padding: 8px 0;
	float: left;
	background: #e1e1e1;
	border-bottom-color: #e1e1e1;
}

h3.precomment {
	margin: 24px 10% 36px;
    color: #000;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}

#guess_book p {
	float: left;
	margin: 0 1em;
}

#reviews-container {
    text-align: left;
    border-bottom-width: 0;
    margin: 20px 0;
    width: 100%;
    font-size: 13px;
    float: left
}

#reviews-container > .review {
    float: left;
    width: 45%;
    margin: 1%;
    padding: 15px 1%;
    border: 1px solid #adadaf;
    border-radius: 10px;
}

.aggregateRating {
	border: 1px solid #adadaf;
	border-radius: 10px;
	margin-top: 18px;
}
.aggregateRating #guess_book_table {
	width:50%;
	display:inline-block;
	vertical-align: middle;
}

.aggregateRating #reviews_average {
	text-align: center;
    font-size: 16px;
    line-height: 36px;
    width: 96%;
}

.guess_book_header{
	float:left;
	color:#56555b;
}

.guess_book_header_mail {
	color:#d3581a;
	font-weight: bold;
}

.guess_book_rate{
	float:right;
	color: #ffde00;
	font-size: 18px;
}

.guess_book_title{
	float:left;
	font-weight: bold;
	font-size: 1.2em;
	line-height: 1.3em;
	color:#d3581a;
	width: 100%;
	margin: 10px 0;
}

.guess_book_message{
	float:left;
	color : #000;
	font-size: 1.1em;
	line-height: 1.3em;
	width: 100%;
}

.guess_book_censored{
	color: #888888;	
	font-style : italic;
	float:left;
}

#guess_book p.text label, #guess_book p.select label, #guess_book p.select span, #guess_book p.textarea label {
    display: inline-block;
    font-size: 13px;
    padding: 6px 12px 6px 0;
    text-align: right;
    width: 110px;
	vertical-align: top;
}


#guess_book #center_column p {
	margin: 0;
	padding: 0 0 10px;
}
#guess_book p.submit input {
	margin-left: 295px;
	width: 148px;
}

.std p.text label {
    display: inline-block;
    padding-right: 10px;
    font-weight: bold;
    text-align: right;
}

.std p.text input {
    padding: 2px 5px;
    height: 20px;
    width: 170px;
    border: 1px solid #ccc;
    font-size: 13px;
}

.std p.radio label {
	font-weight: bold;
    text-align: right;
}

.std p.textarea label {
	margin-right: 3px;
	font-weight: bold;
    text-align: right;
}
p.reponse-avis {
    margin-top: 15px;
    padding-top: 15px;
    color: #56555b;
    font-size: 14px;
    line-height: 1.3em;
    border-top: 1px solid #adadaf;
}
#guess_book p.text { padding-bottom: 10px; }
#guess_book p.textarea {
    padding-top: 14px;
    padding-bottom: 18px;
}
#guess_book p textarea {
    width: 498px;
    max-width: 498px;
    padding: 5px;
    border: 1px solid #ccc;
    font-size: 13px;
    height: 140px;
}

form .stars {
  background: url("../img/stars.png") repeat-x 0 0;
  width: 150px !important;
  margin-left: 135px !important;
  padding-bottom: 0;
}

form .stars input[type="radio"] {
  position: absolute;
  opacity: 0;
  filter: alpha(opacity=0);
}
form .stars input[type="radio"].star-5:checked ~ span {
  width: 100%;
}
form .stars input[type="radio"].star-4:checked ~ span {
  width: 80%;
}
form .stars input[type="radio"].star-3:checked ~ span {
  width: 60%;
}
form .stars input[type="radio"].star-2:checked ~ span {
  width: 40%;
}
form .stars input[type="radio"].star-1:checked ~ span {
  width: 20%;
}
form .stars label {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0!important;
  padding: 0!important;
  color: #fff;
  float: left;
  position: relative;
  z-index: 10;
  font-size: 0;
  background: transparent!important;
  cursor: pointer;
}
form .stars label.label-note {
  margin-left: -45px !important;
  color: #000;
  line-height: 30px;
  font-size: 13px;
}
form .stars label:hover ~ span {
  background-position: 0 -30px;
}
form .stars label.star-5:hover ~ span {
  width: 100% !important;
}
form .stars label.star-4:hover ~ span {
  width: 80% !important;
}
form .stars label.star-3:hover ~ span {
  width: 60% !important;
}
form .stars label.star-2:hover ~ span {
  width: 40% !important;
}
form .stars label.star-1:hover ~ span {
  width: 20% !important;
}
form .stars span {
  display: block;
  width: 0;
  position: relative;
  top: 0;
  left: 0;
  height: 30px;
  background: url("../img/stars.png") repeat-x 0 -60px;
  -webkit-transition: -webkit-width 0.5s;
  -moz-transition: -moz-width 0.5s;
  -ms-transition: -ms-width 0.5s;
  -o-transition: -o-width 0.5s;
  transition: width 0.5s;
}

/* *************************  CSS pour aggregate rating  ***************************** */

.ratings-summary {
	text-align: center;
	margin: 12px 0;
	width: 49%;
	display: inline-block;
	vertical-align: middle;
}

.ratings-summary .distribution {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ratings-summary .distribution li {
  display: flex;
  align-items: center;
  margin: 5px 0;
  font-size: 14px;
}

.ratings-summary .distribution .stars-label {
  width: 30px;
  text-align: right;
  margin-right: 10px;
}

.ratings-summary .bar {
  flex: 1;
  height: 14px;
  background: #e0e0e0;
  border-radius: 7px;
  overflow: hidden;
  margin: 0 10px;
}

.ratings-summary .bar .fill {
  height: 100%;
  background: #d3581a;
  border-radius: 7px;
}

.ratings-summary .count {
  width: 40px;
  text-align: right;
  margin-right: 6px;
}

/* ************************************************************************************************
		CSS responsive pour version mobile
************************************************************************************************ */


@media only screen and (max-width: 767px) {

#guess_book {
	width: 100%;
	margin: 0 0 24px;
}

#guess_book.notlogged.open {
	height: 510px;
}

#guess_book fieldset {
	width: 96%;
	margin-left: 2%;
}

h3.precomment {
	margin: 24px 5% 36px;
}

#guess_book p {
	margin: 0;
	width: 100%;
}

#guess_book p.text label, #guess_book p.select label, #guess_book p.select span, #guess_book p.textarea label {
    width: 30%;
}

.std p.text input, #guess_book .logged-title input {
    width: 60%;
}

p.reponse-avis {
	width: 85%;
	margin-top: 5%;
}

#guess_book p textarea {
    width: 96%;
    max-width: 96%;
}

#guess_book p.submit input {
	margin-left: 0;
	width: 148px;
	margin-right: 0;
}

#guess_book p.submit {
	float: right;
	text-align: center;
}

.guess_book_table_h3 {
	width: 100%;
	margin: 0;
}

#reviews-container > .review {
	margin: 6px 0;
	width:98%;
}

.guess_book_rate{
	margin: 7px;
	position: absolute;
	right: 4px;
}

.guess_book_header{
	margin-right: 160px;
	margin-bottom: 6px;
}

#reviews_average {
    width: 100% !important;
}

.aggregateRating #guess_book_table {
	width:100%;
}

.ratings-summary {
	width: 100%;
}


}