body.page-quiz {
  overflow-x: hidden;
  background-color: rgba(237, 237, 237, 1);
}

body.page-quiz .elementor-location-footer {
  display: none;
}

.quiz {
  font: 16px "Roboto";
  background: rgb(11, 11, 11);
  background: linear-gradient(180deg, rgba(11, 11, 11, 1) 0%, rgba(11, 11, 11, 1) 50%, rgba(237, 237, 237, 1) 50%, rgba(237, 237, 237, 1) 100%);
  color: #ffffff;
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
}

.quiz_transition {
  position: absolute;
  height: 0;
  background-color: #85c2e6;
  width: 100%;
  z-index: 11;
  top: 0;
  transition: height 1s, top 0.5s;
  display: none;
}

#quiz_form {
  position: relative;
}

.quiz .quiz_section {
  -webkit-box-shadow: 0 0 43px 0 rgb(0 0 0 / 16%);
  background-color: #fff;
  border-color: #707070;
  border-radius: 42px;
  border-width: 1px;
  box-shadow: 0 0 43px 0 rgb(0 0 0 / 16%);
  color: #000;
  height: auto;
  margin: auto;
  margin-top: 150px;
  width: calc(100% - 200px);
  max-width: 1600px;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(60%, auto) minmax(40%, auto);
  grid-template-areas:
    "spacer1 image"
    "question image"
    "line image"
    "choices image"
    "spacer2 image";
  grid-template-rows: auto max-content auto max-content auto;
  justify-content: start;
  align-items: start;
  justify-items: center;
  align-content: center;
}

.quiz .quiz_section .gribouille {
  position: absolute;
  right: -280px;
  top: 40%;
  width: 600px;
  transform: rotate(130deg);
}

.quiz_result-section1 {
  display: flex;
  flex-direction: column;
  color: #0b0b0b;
  flex-basis: 1rem;
  background-color: lightgreen;
  padding: 2.5rem 0;
  padding-top: 8rem;
}

.quiz_result-section1 .quiz_result-title {
  width: 100%;
  text-align: center;
  font: bold 35px "Roboto";
}

.quiz_result-section1 .quiz_result-description {
  width: 60%;
  margin: 1rem auto;
  text-align: center;
  font: 20px/30px "Roboto";
}

.quiz_result-section1 .result {
  font: 12px "Roboto";
  width: 100%;
  text-align: center;
}

.quiz_result-section1 img {
  width: 60%;
  margin: 0 auto;
}

@media only screen and (max-width: 1168px) {
  .quiz_result-section1 img {
    width: auto;
  }
}

.quiz_result-section2 {
  position: relative;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  color: #222222;
  overflow: hidden;
}

.quiz_result-section2 h2,
.quiz_result-section2 h3 {
  margin: 0;
}

.quiz_result-section2 .gribouille-left {
  position: absolute;
  left: -100px;
  width: 600px;
  transform: rotate(70deg);
}

.quiz_result-section2 .gribouille-right {
  position: absolute;
  right: -175px;
  bottom: -100px;
  width: 600px;
}

.quiz_result-section2 .quiz_result-title,
.quiz_result-section2 .quiz_result-title h3 {
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 40px;
  font-weight: 700;
}

.quiz_result-section2 .quiz_result-title strong,
.quiz_result-section2 .quiz_result-title h3 strong {
  text-transform: uppercase;
  display: block;
  font-weight: 700;
}

.quiz_result .quiz_result-section2 .quiz_result-stats {
  display: flex;
  width: 60%;
  margin: auto;
}

#pie-chart {
  position: relative;
  padding: 2rem;
}

#pie-stats .pie-data-section {
  height: max-content;
  flex: 1;
}

#pie-stats {
  flex: 50%;
  display: flex;
  align-items: center;
  padding-left: 3rem;
}

#pie-stats .pie-stat {
  display: flex;
  margin-bottom: 1.5rem;
}

#pie-stats .pie-stat .title {
  font: 500 20px "Roboto";
  min-width: max-content;
  margin-right: 1rem;
}

#pie-stats .pie-stat .title .tooltip-icon {
  height: 16px;
  width: 16px;
  cursor: pointer;
}

.pie-stat .type1 {
  color: #e8b244;
}

.pie-stat .type2 {
  color: #1d9f4c;
}

.pie-stat .type3 {
  color: #fc6147;
}

.pie-stat .type4 {
  color: #2489f1;
}

.pie-stat .type5 {
  color: #f61d30;
}

#pie-stats .pie-stat .filler {
  flex: 1 1 100%;
  margin-right: 1rem;
}

#pie-stats .pie-stat .percentage {
  flex: 1 1 5%;
  font-weight: bold;
  min-width: 40px;
}

#pie-chart {
  flex: 50%;
}

.quiz_result-footer {
  display: flex;
  width: 80%;
  margin: auto;
  margin-top: 2rem;
}

.quiz_result-footer .suggestion-panel {
  flex: 50%;
  margin: 3rem 0 6rem;
  position: relative;
}

.quiz_result-footer .suggestion-panel::before {
  content: url("data:image/svg+xml,%3Csvg id='Icone-Fleche-Bas' xmlns='http://www.w3.org/2000/svg' width='15.4' height='10.1' viewBox='0 0 15.4 10.1'%3E%3Cpath id='Tracé_36' data-name='Tracé 36' d='M9.7,12.1,2,4.318,4.294,2,9.7,7.464,15.106,2,17.4,4.318Z' transform='translate(-2 -2)' fill='%23222'/%3E%3C/svg%3E%0A");
  position: absolute;
  bottom: -20px;
  right: calc(50% - 6px);
}

.quiz_result-footer .suggestion-panel div {
  background-color: white;
  position: relative;
  width: max-content;
  margin: auto;
  border: 2px solid #0b0b0b;
  border-radius: 1rem;
  padding: 2rem;
  font: 20px/25px "Roboto";
  max-width: 325px;
}

.quiz_result-footer .suggestion-panel .contour {
  position: absolute;
  top: 42px;
  width: 150px;
  left: 25px;
}

.quiz_result-footer .subscribe-email {
  flex: 50%;
}

.quiz_result-footer .subscribe-email div {
  display: flex;
  flex-direction: column;
}

.quiz_result-footer .subscribe-email .newsletter {
  flex-direction: row;
  align-content: center;
  gap: 10px;
  padding: 10px 0;
}

.quiz_result-footer .subscribe-email .form-loader {
  display: none;
}

.quiz_result-footer .subscribe-email .subscribe-message {
  color: #136df4;
  font-size: 30px;
  line-height: 40px;
  font-family: "Roboto";
  margin-bottom: 0.5rem;
  position: relative;
}

.quiz_result-footer .subscribe-email .subscribe-message span.surround {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.quiz_result-footer .subscribe-email .subscribe-message span.surround:before {
  width: auto;
  height: auto;
  display: block;
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  top: -8px;
  overflow: visible;
  z-index: 9998;
  margin: 0;
  transform: scale(1.1);
  left: -14px;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='134.139' height='52.167' viewBox='0 0 134.139 52.167'%3E%3Cpath id='Tracé_595' data-name='Tracé 595' d='M46.821,38.656q-8.287,0-16.539-.543c-7.4-.488-16.056-1.356-24.133-4.1a19.158,19.158,0,0,1-3.8-1.69,6.762,6.762,0,0,1-2.833-2.98,4.993,4.993,0,0,1,.215-4.268,11.828,11.828,0,0,1,2.5-3.281,41.109,41.109,0,0,1,10.831-7.3A86.988,86.988,0,0,1,25.987,9.6a193.729,193.729,0,0,1,33.258-6.62c-4.883-.207-9.751-.37-14.587-.533l.084-2.5c9.8.329,20.705.7,31.446,1.487C84.118.9,91.925.6,99.386.354l.081,2.5q-3.308.107-6.648.232A198.42,198.42,0,0,1,118.191,7.9a28.781,28.781,0,0,1,7.779,3.168,10.282,10.282,0,0,1,2.875,2.594,5.464,5.464,0,0,1,1.086,3.6c-.118,1.788-1.192,3.538-3.282,5.349-5.3,4.587-12.894,6.946-20.312,8.811a240.6,240.6,0,0,1-37.466,6.271C61.564,38.334,54.19,38.656,46.821,38.656ZM76.162,3.936C59.419,5.066,42.562,7.215,26.708,12,16.039,15.214,8.814,18.9,3.971,23.589,2,25.5,1.272,27.1,1.811,28.353c.524,1.216,2.206,2.293,5.143,3.292,7.8,2.652,16.253,3.5,23.492,3.974,5.387.355,10.808.531,16.227.531A244.035,244.035,0,0,0,105.727,29c7.119-1.79,14.382-4.031,19.285-8.276,1.56-1.351,2.353-2.536,2.424-3.623.09-1.353-.857-2.673-2.813-3.922a26.319,26.319,0,0,0-7.071-2.858C104.105,6.772,90.163,4.976,76.162,3.936Z' transform='matrix(0.995, 0.105, -0.105, 0.995, 4.903, 0.14)' fill='%23fc6147'/%3E%3C/svg%3E%0A");
}

.quiz_result-footer .subscribe-email .subscribe-message .contour {
  position: absolute;
  left: 85px;
  top: -5px;
  width: 90px;
}

.quiz_result-footer .subscribe-email .input-group {
  position: relative;
}

.quiz_result-footer .subscribe-email .subscribe-input {
  border: 1px solid #136df4;
  width: 100%;
  border-radius: 2rem;
  padding: 0.8rem 1.5rem;
}

.quiz_result-footer .arrow-icon {
  position: absolute;
  right: 1.5rem;
  height: 26px;
  top: calc(50% - 13px);
  cursor: pointer;
}

.quiz_result .quiz_result-suggestions {
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  padding: 5rem 0;
}

.quiz_result .quiz_result-suggestion {
  display: flex;
  width: 60%;
  margin: auto;
  margin-bottom: 0.5rem;
}

.quiz_result .quiz_result-suggestion .book {
  display: flex;
  flex-direction: column;
  flex: 33%;
  align-items: center;
}

.quiz_result .quiz_result-suggestion .book .title {
  font: 14px/18px "Roboto";
  padding: 0.5rem;
}

.quiz_result .quiz_result-suggestion .book .author {
  font: bold 14px/18px "Roboto";
}

.quiz_result .quiz_result-suggestion .arrow {
  width: 45px;
}

.quiz_result .quiz_result-suggestion .book .book-image {
  max-height: 180px;
  max-width: 126px;
}

.quiz_result .quiz_result-suggestions .see-suggestions {
  background-color: transparent;
  border: none;
  color: #222222;
  font: bold 20px "Roboto";
  margin-bottom: 6rem;
}

.quiz .quiz_image {
  display: flex;
  align-items: center;
  order: 1;
  width: 100%;
  grid-area: image;
  height: 100%;
  margin: auto;
}

.quiz .quiz_image img#quiz_image {
  border-style: none;
  height: 100%;
  width: 100%;
}

.quiz .quiz_spacer_1 {
  display: flex;
  align-items: center;
  order: 2;
  width: 100%;
  grid-area: spacer1;
}

.quiz .quiz_spacer_2 {
  display: flex;
  align-items: center;
  order: 5;
  width: 100%;
  grid-area: spacer2;
}


.quiz .quiz_image span {
  width: 100%;
}

.quiz .quiz_question {
  display: block;
  font-family: 'Roboto';
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  grid-area: question;
  line-height: 1.2em;
  order: 2;
  padding: 40px 10% 32px 10%;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

.quiz .quiz_answers {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.quiz .quiz_answers .quiz_answer {
  align-items: center;
  border-radius: 35px;
  border: 1px solid #000;
  display: flex;
  min-height: 80px;
  margin: 0;
  transition: all 0.6s;
  width: auto;
  padding: 8px 30px;
  min-width: 200px;
  text-align: center;
  max-width: calc((100% / 2) - 15px);
  height: auto;
}

.quiz .quiz_answers .quiz_answer:hover {
  color: #fff;
}
.quiz .quiz_answers .quiz_answer.q-0:hover {
  background-color: hsla(288, 68%, 56%, 1);
  border-color: hsla(288, 68%, 56%, 1);
}
.quiz .quiz_answers .quiz_answer.q-1:hover {
  background-color: hsla(198, 78%, 54%, 1);
  border-color: hsla(198, 78%, 54%, 1);
}
.quiz .quiz_answers .quiz_answer.q-2:hover {
  background-color: hsla(40, 78%, 59%, 1);
  border-color: hsla(40, 78%, 59%, 1);
}
.quiz .quiz_answers .quiz_answer.q-3:hover {
  background-color: hsla(142, 69%, 37%, 1);
  border-color: hsla(142, 69%, 37%, 1);
}
.quiz .quiz_answers .quiz_answer.q-4:hover {
  background-color: hsla(9, 97%, 63%, 1);
  border-color: hsla(9, 97%, 63%, 1);
}

.quiz .quiz_answers .middle {
  pointer-events: none;
  position: absolute;
  width: 50%;
  height: 2rem;
  top: 41%;
  border-right: 1px solid white;
}

.quiz .quiz_answers .quiz_answer:hover {
  cursor: pointer;
}

.quiz .quiz_answers .quiz_answer .quiz_answer_title,
.quiz .quiz_answers .quiz_answer img {
  position: relative !important;
  display: inline-block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 23px);
  font-family: "Roboto";
  text-transform: uppercase;
}

.quiz .quiz_line {
  width: 100%;
  text-align: center;
  display: block;
  position: relative;
  padding-left: 10%;
  padding-right: 10%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  order: 3;
  width: 100%;
  grid-area: line;
  display: flex;
  align-items: center;
  justify-content: center;
}


.quiz .quiz_line hr {
  display: block;
  width: 100%;
}

.quiz .quiz_choices {
  order: 4;
  width: 100%;
  text-align: center;
  display: block;
  position: relative;
  padding: 40px 10%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
  grid-area: choices;
}

.quiz_number {
  display: none;
}

/* Small/Medium devices (mobile/tablets, 1168px and below) */
@media only screen and (max-width: 1168px) {
  #pie-chart {
    width: 100%;
  }

  .quiz_result-section1 .quiz_result-description {
    width: 90% !important;
  }

  .quiz_choices::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
  }

  .quiz_answers .quiz_answer {
    position: relative !important;
    display: inline-flex !important;
    left: initial !important;
    right: initial !important;
    top: initial !important;
    margin: 0 1rem;
  }

  .quiz .quiz_number {
    padding: 0;
    padding-top: 7rem;
  }

  .quiz_result-footer {
    flex-direction: column-reverse;
  }

  .quiz_answers .emoji {
    display: inline;
    /*  top: 2rem !important; */
  }

  .quiz_answers .emoji img.emoji {
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
  }

  .pie-data-section .chart-readertype-text {
    text-align: center;
  }

  .quiz .quiz_answers .left-emoji {
    left: 1rem !important;
  }

  .quiz_result-section2 .gribouille-left {
    display: none;
  }
}

@media only screen and (max-width: 980px) {
  .quiz {
    padding: 0;
    padding-bottom: 100px;
  }

  .quiz .quiz_section {
    width: calc(100% - 40px);
    grid-template-columns: 100%;
    grid-template-areas:
      "spacer1"
      "question"
      "line"
      "choices"
      "spacer2";
    grid-template-rows: auto max-content auto max-content auto;
    justify-content: start;
    align-items: start;
    justify-items: center;
    align-content: center;
  }

  .quiz .quiz_image {
    display: none;
  }

  .quiz .quiz_answers {
    flex-direction: column;
  }

  .quiz .quiz_answers .quiz_answer {
    max-width: 290px;
    width: 100%;
    height: 56px;
    min-height: auto;
  }
}

/**
 *
 */
.animated-progress {
  width: 70%;
  height: 1px;
  border-radius: 0;
  margin: 50px auto 20px;
  border: 1px solid hsla(0, 0%, 47%, 1);
  position: relative;
  max-width: 1024px;
}

.animated-progress span {
  color: hsla(0, 0%, 4%, 1);
  display: block;
  height: 4px;
  left: -1px;
  line-height: 30px;
  margin: auto;
  padding-right: 0;
  position: absolute;
  top: -2px;
  text-align: right;
}

.progress-bar span {
  background-color: hsla(0, 0%, 4%, 1);
}

/* Spinner */

#loading-bar-spinner.spinner {
  -webkit-animation: loading-bar-spinner 400ms linear infinite;
  animation: loading-bar-spinner 400ms linear infinite;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;
  position: absolute;
  top: 400px;
  z-index: 19 !important;
}

#loading-bar-spinner.spinner .spinner-icon {
  border-left-color: #fff !important;
  border-radius: 50%;
  border-top-color: #fff !important;
  border: solid 4px transparent;
  height: 40px;
  width: 40px;
}

@-webkit-keyframes loading-bar-spinner {
  0% {
    transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loading-bar-spinner {
  0% {
    transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
