/* ========================================================================
    titre : ESPACE PERSO - Evaluation de la formation
    date  : 19/10/2016
    desc. : Formulaire d'évaluation des formations
======================================================================== */
/*
    Created on : 23 janv. 2015, 15:37:41
    Author     : aurelie.goudeau
*/
/* TRAITEMENTS PX/REM : 16px = 1em */
/*BACKGROUND-IMAGE*/
/* TRANSITIONS */
/* COULEURS */
/* FONTS */
.evaluationFormation {
  font-size: 14px;
  font-size: 0.875rem;
  /* --- Lignes de formulaire --- */
  /* --- Bloc de question --- */
}
.evaluationFormation input[type="text"],
.evaluationFormation textarea {
  background: #e9e9e9;
}
.evaluationFormation header {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 4px solid #000;
}
.evaluationFormation h2 {
  font-size: 16px;
  font-size: 1rem;
  font-family: "caecilia";
  margin-bottom: 10px;
}
.evaluationFormation .ligne input[type="checkbox"],
.evaluationFormation .ligne input[type="radio"] {
  display: none;
  box-sizing: border-box;
  padding: 0;
}
.evaluationFormation .ligne label {
  margin-right: 10px;
  padding-left: 20px;
  margin-bottom: 5px;
  display: inline-block;
}
.evaluationFormation .ligne input[type="checkbox"] + label,
.evaluationFormation .ligne input[type="radio"] + label {
  display: inline-block;
  line-height: 26px;
  height: 26px;
  vertical-align: middle;
  cursor: pointer;
}
.evaluationFormation .ligne input[type="checkbox"] + label {
  background: url("../../images/facetteInactive.gif") no-repeat left 6px;
}
.evaluationFormation .ligne input[type="checkbox"] + label:hover,
.evaluationFormation .ligne input[type="checkbox"]:checked + label {
  background: url("../../images/facetteActive.gif") no-repeat left 6px;
  color: #006978;
}
.evaluationFormation .ligne input[type="radio"] + label {
  background: url("../../images/btn_radio.png") no-repeat left 5px;
}
.evaluationFormation .ligne input[type="radio"] + label:hover,
.evaluationFormation .ligne input[type="radio"]:checked + label {
  background: url("../../images/btn_radio_checked.png") no-repeat left 5px;
  color: #006978;
}
.evaluationFormation .question {
  border-top: 1px solid #e9e9e9;
  padding: 25px 0;
}
.evaluationFormation .question:first-child {
  border-top: 0;
}
.evaluationFormation input[type="hidden"] + .question {
  border-top: 0;
}
.evaluationFormation .ligne input:checked label + div {
  opacity: 0.5;
}
.evaluationFormation input[type="text"],
.evaluationFormation textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 10px;
}
.evaluationFormation div.button span {
  background-image: none;
}
/* --- Bloc caché qui s'affiche si l'input est coché --- */
.precisez {
  clear: both;
  margin: 0 0 10px 25px;
  padding: 2px 2px 6px 17px;
  border-left: 3px #b2d2d6 solid;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
}
.precisez input[type="text"],
.precisez textarea {
  margin-top: 10px;
}
/* --- Sysytème d'étoiles --- */
.line-rating {
  padding: 10px 12px 8px;
}
.line-rating h3 {
  display: inline-block;
  margin-bottom: 0;
  line-height: 20px;
  font-size: 14px;
  font-size: 0.875rem;
}
.question-group {
  padding: 10px 0;
}
.question-group .line-rating:nth-child(even) {
  background: #f4f4f4;
}
.question-group .line-rating:hover {
  background: #e5f1f1;
}
.col-stars {
  position: relative;
  float: right;
  width: 73px;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  white-space: nowrap;
}
.star-rating {
  background: url("../../images/formation-evaluation/star.png") 0 0 repeat-x;
  width: 100%;
  height: 100%;
  font-size: 0;
  white-space: nowrap;
  display: inline-block;
}
.star-rating label {
  background: url("../../images/formation-evaluation/star.png") 0 -42px repeat-x;
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 18px;
  opacity: 0;
  left: 0;
  top: 0;
  text-indent: -999999em;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
.star-rating input {
  -moz-appearance: none;
  -webkit-appearance: none;
  opacity: 0;
  display: inline-block;
  width: 18px;
  height: 20px;
  margin: 0;
  padding: 0;
  z-index: 2;
  position: relative;
}
.star-rating input:hover {
  cursor: pointer;
}
.star-rating input:hover + label {
  opacity: 0.45;
}
.star-rating input:checked + label {
  opacity: 1;
}
.star-rating label ~ label {
  width: 36px;
}
.star-rating label ~ label ~ label {
  width: 54px;
}
.star-rating label ~ label ~ label ~ label {
  width: 74px;
}
