#diagnostic {
  background-image: url(img/soin-naturel-fleur.svg);
  background-size: auto;
  background-position: bottom left;
  background-repeat: no-repeat;
  min-height: 70vh;
}

@media(max-width:992px){
  #diagnostic {
    background:none;
  }
}

#state {
  font-size: 1.3em;
  font-weight: 500;
}

.reponses-visuels {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reponses-visuels:after{
  content:"";
  position:absolute;
  top: 50%;
  right: -80px;
  background:url("img/coeur-creme-CG-accueil.png") center no-repeat;
  width:200px;
  height:200px;
}

.reponses-visuels img{
  max-height:545px;
}

/* .reponses-visuels > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
} */

.bouton-diagnostic{
  position:relative;
}

.bouton-diagnostic > button {
  border: none;
  background: none;
}

.bouton-diagnostic button:not(:disabled) svg path,
.bouton-diagnostic button:not(:disabled) svg line {
  stroke: #2f3954;
  fill: #2f3954;
}

.hide-img {
  display: none;
}

.reponses span {
  height: auto;
  display: inline-block;
  line-height: 45px;
  position: relative;
  padding: 0.8em 0;
}

.ac-custom {
  padding: 0 3em;
  max-width: 900px;
  margin: 0 auto;
}

.ac-custom h2 {
  font-size: 3em;
  font-weight: 300;
  padding: 0 0 0.5em;
  margin: 0 0 30px;
}

.ac-custom ul,
.ac-custom ol {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.ac-custom li {
  margin: 0 auto;
  padding: 2em 0;
  position: relative;
}

.ac-custom label {
  display: inline-block;
  position: relative;
  font-size: 1.2em;
  padding: 0 0 0 60px;
  vertical-align: top;
  color: rgb(47 57 84);
  cursor: pointer;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  line-height: 30px;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"],
.ac-custom label::before {
  width: 35px;
  height: 35px;
  top: 50%;
  left: 0;
  margin-top: -15px;
  position: absolute;
  cursor: pointer;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"] {
  opacity: 0;
  -webkit-appearance: none;
  display: inline-block;
  vertical-align: middle;
  z-index: 100;
}

.ac-custom label::before {
  content: "";
  border: 2px solid #2f3954;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  opacity: 0.8;
}

.ac-radio label::before {
  /*border-radius: 50%;*/
}

.ac-custom input[type="checkbox"]:checked + label,
.ac-custom input[type="radio"]:checked + label {
  color: #2f3954;
  font-weight: 600;
}

.ac-custom input[type="checkbox"]:checked + label::before,
.ac-custom input[type="radio"]:checked + label::before {
  opacity: 1;
}

/* General SVG and path styles */

.ac-custom svg {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 50%;
  margin-top: -16px;
  left: 5px;
  pointer-events: none;
}

.ac-custom svg path {
  stroke: #003e6b;
  stroke-width: 13px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Specific input, SVG and path styles */

/* Circle */
.ac-circle input[type="checkbox"],
.ac-circle input[type="radio"],
.ac-circle label::before {
  width: 30px;
  height: 30px;
  margin-top: -15px;
  left: 10px;
  position: absolute;
}

.ac-circle label::before {
  background-color: #2f3954;
  border: none;
}

.ac-circle svg {
  width: 70px;
  height: 70px;
  margin-top: -35px;
  left: -10px;
}

.ac-circle svg path {
  stroke-width: 5px;
}

/* Box Fill */
.ac-boxfill svg path {
  stroke-width: 8px;
}

/* Swirl */
.ac-swirl svg path {
  stroke-width: 8px;
}

/* List */
.ac-list ol {
  list-style: decimal;
  list-style-position: inside;
}

.ac-list ol li {
  font-size: 2em;
  padding: 1em 1em 0 2em;
  text-indent: -40px;
}

.ac-list ol li label {
  font-size: 1em;
  text-indent: 0;
  padding-left: 30px;
}

.ac-list label::before {
  display: none;
}

.ac-list svg {
  width: 100%;
  height: 80px;
  left: 0;
  top: 1.2em;
  margin-top: 0px;
}

.ac-list svg path {
  stroke-width: 4px;
}

/* Media Queries */
@media screen and (max-width: 50em) {
  section {
    font-size: 80%;
  }
}

#results h2.titre {
  position: relative;
  max-width: 80%;
  margin: auto;
}

#results h2.titre::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  background-image: url(img/pattern-border-horizontal.svg);
  background-repeat: repeat-x;
  width: 100%;
  height: 12px;
  transform: translate(-50%, -50%);
  z-index: -1;
}

#results h2.titre span {
  background-color: #ffffff;
  display: inline-block;
}

#results .item-pdt {
  position: relative;
  height: 100% !important;
  padding-bottom: 80px;
}

#results .add-to-cart-container {
  position: absolute;
  width: 100%;
  bottom: 0px;
  box-sizing: border-box;
}

span.badge-when {
  position: absolute;
  z-index:10;
  left: 10px;
  top: 10px;
  width: 73px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: auto;
}

#results .item-pdt > a > span {
  position: relative;
}

#results header .sous-titre {
  position: relative;
  max-width: 60%;
  margin: 3em auto 0 !important;
}

#results header .sous-titre::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 85px;
  background-image: url(img/coeur-creme-CG-accueil.png);
  background-repeat: no-repeat;
  background-size: 145%;
  background-position: center;
  right: -20%;
  top: -50px;
}

@media(max-width:991px){
  #results header .sous-titre::before{
    right:-35%;
  }
}

@media(max-width:575px){
  #results header .sous-titre::before{
    right:-55%;
  }
}

@media(max-width:480px){
  #results header .sous-titre::before{
    background-size: 100%;
  }
}