@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

#prefon-quiz p, #prefon-quiz a {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #2D2E83;
  font-size: 16px;
}

#prefon-quiz p.prefon-quiz-level-selection-h1 {
  font-size: 30px;
  font-weight: 700;
}

#prefon-quiz p.prefon-quiz-level-selection-h2 {
  font-size: 17px;
}

#prefon-quiz p.prefon-quiz-level-selection-h3 {
  text-align: right;
  margin-right: 65px;
  margin-bottom: 20px;
}

#prefon-quiz p.prefon-quiz-level-selection-theme-title {
  font-size: 24px;
}

#prefon-quiz div.prefon-quiz-level-selection-theme {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

#prefon-quiz .prefon-quiz-level-selection-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

#prefon-quiz #prefon-quiz-container button {
  background-color: #E30613;
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  padding: 10px 26px;
  border-radius: 12px;
}

#prefon-quiz #prefon-quiz-container button:disabled,
#prefon-quiz #prefon-quiz-container button[disabled] {
  opacity: 0.2;
}

#prefon-quiz .play-again-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

#prefon-quiz button#play-again {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 400;
  color: #E30613;
  padding: 18px 52px;
  background-color: transparent;
  border: 1px solid #E30613;
  border-radius: 12px;
}

#prefon-quiz button#play-again svg {
  margin-left: 14px;
}

#prefon-quiz #prefon-quiz-container button#validate-question {
  font-size: 20px;
  font-weight: 400;
  color: #E30613;
  padding: 18px 52px;
  background-color: transparent;
  border: 1px solid #E30613;
}

#prefon-quiz #prefon-quiz-container button#validate-question.active {
  color: #FFFFFF;
  background-color: #E30613;
}

#prefon-quiz #prefon-quiz-level-selection, #prefon-quiz-questions {
  position: relative;
  z-index: 9;
  width: 100%;
  height: auto;
}

#prefon-quiz .prefon-quiz-theme-imgs img {
    max-height: 140px;
}

#prefon-quiz #prefon-quiz-result {
  width: 100%;
  position: relative;
}

#prefon-quiz #prefon-quiz-result-canvas {
  width: 100%;
  height: 100%;
}

#prefon-quiz #prefon-quiz-result-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding-bottom: 55px;
}

#prefon-quiz #prefon-quiz-result-logo {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

#prefon-quiz #prefon-quiz-result-logo img {
  max-width: 200px;
}

#prefon-quiz #prefon-quiz-result-level {
  font-weight: bold;
  font-size: 30px;
  text-transform: uppercase;
}

#prefon-quiz #prefon-quiz-result-level-def {
  font-size: 30px;
  text-transform: uppercase;
}

#prefon-quiz #prefon-quiz-result-description {
  font-size: 18px;
}

#prefon-quiz .prefon-quiz-result-title {
  display: inline-block;
  border-bottom: 7px solid #E30613;
}

#prefon-quiz .prefon-quiz-questions-container-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

#prefon-quiz #prefon-quiz-questions-container-info {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#prefon-quiz #prefon-quiz-question-multiple {
  margin-left: 30px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(45,46,131,0.6);
}

#prefon-quiz .prefon-quiz-theme-levels {
    display: flex;
}

#prefon-quiz .prefon-quiz-theme-level-number {
  background: transparent;
  border-radius: 25px;
  border: 1px solid #2D2E83;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin-right: 16px;
}

#prefon-quiz .prefon-quiz-theme-level-number span {
  display: none;
  padding-right: 10px
}

#prefon-quiz .prefon-quiz-theme-level-number.active {
  background: #E30613;
  border: 1px solid #E30613;
  color: #FFFFFF;
  font-weight: 700;
  width: 125px;
}

#prefon-quiz .prefon-quiz-theme-level-number.active span {
  display: inline-block;
}

#prefon-quiz #prefon-quiz-question-number {
  font-size: 15px;
  color: rgba(45,46,131,0.6);
}

#prefon-quiz #prefon-quiz-question-title {
  font-size: 26px;
  font-weight: 700;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] {
	position: absolute;
  opacity: 0;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] + .prefon-quiz-level-selection-theme-choices-label {
  position: relative;
  width: 50px;
  margin-right: 14px;
  text-align: center;
}
#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:checked + .prefon-quiz-level-selection-theme-choices-label {
  width: 125px;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] + .prefon-quiz-level-selection-theme-choices-label::before {
	  content: "";
    background: transparent;
    border-radius: 25px;
    border: 1px solid #2D2E83;
    display: inline-block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
    z-index: -1;
}

#prefon-quiz #prefon-quiz-question-choices {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  flex-direction: row;
  margin-top: 40px;
  margin-bottom: 40px;
}

#prefon-quiz .prefon-quiz-question-choice-container {
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 22px;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] + .prefon-quiz-level-selection-theme-choices-label span {
  display: none;
}
#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] + .prefon-quiz-level-selection-theme-choices-label {
  color: #2D2E83;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:checked + .prefon-quiz-level-selection-theme-choices-label::before {
	background-color: #E30613;
  border: 1px solid #E30613;
	color: #FFFFFF;
  width: 125px;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:checked + .prefon-quiz-level-selection-theme-choices-label span {
  display: inline-block;
  padding-right: 10px;
}
#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:checked + .prefon-quiz-level-selection-theme-choices-label {
  color: #FFFFFF;
  font-weight: 700;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:focus + .prefon-quiz-level-selection-theme-choices-label::before {
	outline: none;
	border-color: #2D2E83;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:checked:focus + .prefon-quiz-level-selection-theme-choices-label::before {
	outline: none;
	border-color: #E30613;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]+ .prefon-quiz-level-selection-theme-choices-label:empty::before {
	margin-right: 0;
}

#prefon-quiz .prefon-quiz-level-selection-theme-choices-label {
	font-size: 16px;
	line-height: 50px;
	cursor: pointer;
}

#prefon-quiz .prefon-quiz-question-choice-label {
  font-size: 20px;
}

#prefon-quiz .prefon-quiz-question-choice-container input[type="checkbox"],
#prefon-quiz .prefon-quiz-question-choice-container input[type="radio"] {
	position: absolute;
  opacity: 0;
}

#prefon-quiz .prefon-quiz-question-choice-container input[type="checkbox"] + .prefon-quiz-question-choice-label::before,
#prefon-quiz .prefon-quiz-question-choice-container input[type="radio"] + .prefon-quiz-question-choice-label::before  {
    content: attr(data-letter);
    background-image: url('data:image/svg+xml;utf8,<svg width="70" height="75" viewBox="0 0 79 85" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M78.1691 69.1379C78.3465 74.1122 74.6543 78.3801 69.7062 78.9203L19.2454 84.4295C14.0702 84.9945 9.40424 81.2891 8.78237 76.1204L0.999461 11.4328C0.269244 5.3636 5.37805 0.194432 11.4554 0.853333L67.8067 6.96289C72.5005 7.47179 76.1084 11.3506 76.2766 16.069L78.1691 69.1379Z" stroke="%232D2E83"/></svg>');
    background-repeat: no-repeat;
    display: inline-block;
    width: 75px;
    height: 75px;
    position: relative;
    top: 0px;
    margin-right: 0.7em;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
    font-size: 28px;
    font-weight: 100;
}

#prefon-quiz .prefon-quiz-question-choice-container input[type="checkbox"]:checked + .prefon-quiz-question-choice-label::before,
#prefon-quiz .prefon-quiz-question-choice-container input[type="radio"]:checked + .prefon-quiz-question-choice-label::before  {
  background-image: url('data:image/svg+xml;utf8,<svg width="70" height="75" viewBox="0 0 79 85" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M78.1691 69.1379C78.3465 74.1122 74.6543 78.3801 69.7062 78.9203L19.2454 84.4295C14.0702 84.9945 9.40424 81.2891 8.78237 76.1204L0.999461 11.4328C0.269244 5.3636 5.37805 0.194432 11.4554 0.853333L67.8067 6.96289C72.5005 7.47179 76.1084 11.3506 76.2766 16.069L78.1691 69.1379Z" stroke="%232D2E83" fill="%232D2E83"/></svg>');
  transform: scale(1.2);
	color: #FFFFFF;
}

#prefon-quiz .prefon-quiz-question-choice-container input[type="checkbox"]:focus + .prefon-quiz-question-choice-label::before,
#prefon-quiz .prefon-quiz-question-choice-container input[type="radio"]:focus + .prefon-quiz-question-choice-label::before {
	outline: none;
	border-color: #2D2E83;
}

#prefon-quiz .prefon-quiz-question-choice-container input[type="checkbox"]+ .prefon-quiz-question-choice-label:empty::before
#prefon-quiz .prefon-quiz-question-choice-container input[type="radio"]+ .prefon-quiz-question-choice-label:empty::before  {
	margin-right: 0;
}

#prefon-quiz .prefon-quiz-question-choice-label {
	line-height: 70px;
	color: #2D2E83;
	cursor: pointer;
}

#prefon-quiz #prefon-quiz-modal-container, #prefon-quiz-consignes-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
}

#prefon-quiz #prefon-quiz-modal-box, #prefon-quiz-consignes-modal-box {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#prefon-quiz #prefon-quiz-modal {
  width: 50%;
  background-color: #2D2E83;
  padding: 90px 110px;
  border-radius: 12px;
}

#prefon-quiz #prefon-quiz-modal-overlay, #prefon-quiz-consignes-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45,46,131,0.85);
  z-index: -1;
}

#prefon-quiz #prefon-quiz-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 45px;
}

#prefon-quiz #prefon-quiz-modal-explanations {
  font-size: 22px;
  color: #FFFFFF;
  margin-bottom: 75px;
}

#prefon-quiz #prefon-quiz-modal-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#prefon-quiz #prefon-quiz-consignes-modal {
  width: 50%;
  max-width: 784px;
  background-color: transparent;
  background-image: linear-gradient(176deg, #F1F1F1 0%, #E1E2F5 100%);
  box-shadow: 2px 8px 23px 3px rgba(0,0,0,0.2);
  border-radius: 15px;
}

#prefon-quiz #prefon-quiz-consignes-modal-content {
  width: 100%;
  height: 100%;
  padding: 90px 110px;
  background-image: url("https://olxnqoz.cluster100.hosting.ovh.net/wp-content/uploads/2024/11/coin-bas-gauche.png");
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 70% auto;
}

#prefon-quiz #prefon-quiz-consignes-modal-overlay {
  background-color: rgba(0,0,0,.8);
}

#prefon-quiz #prefon-quiz-consignes-modal-title {
  font-size: 30px;
  font-weight: 700;
  color: #2D2E83;
  margin-bottom: 50px;
}

#prefon-quiz #prefon-quiz-consignes-modal-explanations {
  font-size: 18px;
  color: #2D2E83;
  margin-bottom: 60px;
}

#prefon-quiz #prefon-quiz-consignes-modal-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: end;
  align-items: center;
}

#prefon-quiz #prefon-quiz-consignes-modal-bottom button {
  background-color: #E30613;
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  padding: 12px 32px;
  border-radius: 12px;
}

#prefon-quiz #prefon-quiz-question-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#prefon-quiz {
    height: 100vh;
    background: linear-gradient(-13deg, #E1E2F5, 40%, #FFFFFF);
}

#prefon-quiz #prefon-quiz-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: start;
  height: 100%;
}

#prefon-quiz #prefon-quiz-content-box {
  background-image: url("/wp-content/plugins/prefon-quiz/public/img/bg-box.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

#prefon-quiz #prefon-quiz-content-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  width: 100%;
}

#prefon-quiz #prefon-quiz-content-header a, #prefon-quiz-content-header button, #prefon-quiz-content-header button:hover {
  background-color: transparent !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  color: #2D2E83 !important;
  border: none !important;
}

#prefon-quiz #prefon-quiz-content-footer a, #prefon-quiz-content-footer button, #prefon-quiz-content-footer button:hover {
  background-color: transparent !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  color: #2D2E83 !important;
  border: none !important;
}

#prefon-quiz #prefon-quiz-container {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  height: 100%;
}

#prefon-quiz #prefon-quiz-content-footer {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

@media (min-width: 576px) {
  #prefon-quiz #prefon-quiz-level-selection, #prefon-quiz-questions {
    width: 100%;
  }
  #prefon-quiz #prefon-quiz-modal, #prefon-quiz-consignes-modal {
    width: 100%;
  }
    #prefon-quiz #prefon-quiz-container {
        max-width: 500px;
    }
}

@media (min-width: 768px) {
  #prefon-quiz #prefon-quiz-level-selection, #prefon-quiz-questions {
    width: 95%;
  }
    #prefon-quiz #prefon-quiz-container {
        max-width: 600px;
    }
}

@media (min-width: 992px) {
  #prefon-quiz #prefon-quiz-level-selection, #prefon-quiz-questions {
    width: 85%;
  }
  #prefon-quiz #prefon-quiz-modal, #prefon-quiz-consignes-modal {
    width: 75%;
  }
    #prefon-quiz #prefon-quiz-container {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
  #prefon-quiz #prefon-quiz-level-selection, #prefon-quiz-questions {
    width: 75%;
  }
  #prefon-quiz #prefon-quiz-modal, #prefon-quiz-consignes-modal {
    width: 50%;
  }
    #prefon-quiz #prefon-quiz-container {
        max-width: 1140px;
    }
}

@media (min-width: 1800px) {
  #prefon-quiz #prefon-quiz-level-selection, #prefon-quiz-questions {
    width: 65%;
  }
    #prefon-quiz #prefon-quiz-container {
        max-width: 1720px;
    }
}

@media (max-width: 576px) {
  #prefon-quiz #prefon-quiz-consignes-modal {
    width: 100% !important;
  }
  .prefon-quiz-level-selection-h1 {
    font-size: 22px !important;
  }
  .prefon-quiz-level-selection-h2 {
    font-size: 14px !important;
  }
  #prefon-quiz p.prefon-quiz-level-selection-theme-title {
    font-size: 18px !important;
  }
  #prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] + .prefon-quiz-level-selection-theme-choices-label::before {
    border-radius: 20px !important;
    width: 40px !important;
    height: 40px !important;
  }
  #prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] + .prefon-quiz-level-selection-theme-choices-label {
    width: 40px !important;
    margin-right: 10px !important;
    margin-bottom: 10px;
  }
  #prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"] + .prefon-quiz-level-selection-theme-choices-label:last-child {
    margin-right: 0px !important;
  }
  #prefon-quiz .prefon-quiz-level-selection-theme-choices-label {
    font-size: 13px !important;
    line-height: 40px !important;
  }
  #prefon-quiz div.prefon-quiz-level-selection-theme {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: start;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 30px;
  }
  #prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:checked + .prefon-quiz-level-selection-theme-choices-label {
    width: 110px !important;
  }
  #prefon-quiz .prefon-quiz-level-selection-theme-choices input[type="radio"]:checked + .prefon-quiz-level-selection-theme-choices-label::before {
    width: 110px !important;
  }
  #prefon-quiz-level-selection {
    padding-top: 15px;
  }
  .prefon-quiz-theme-level-container p {
    text-align: center;
  }
  #prefon-quiz .prefon-quiz-theme-level-number {
    border-radius: 20px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    font-size: 13px;
  }
  #prefon-quiz .prefon-quiz-questions-container-top {
    flex-direction: column;
    margin-bottom: 30px;
  }
  #prefon-quiz #prefon-quiz-question-title {
    font-size: 18px;
  }
  #prefon-quiz .prefon-quiz-question-choice-container input[type="checkbox"] + .prefon-quiz-question-choice-label::before,
  #prefon-quiz .prefon-quiz-question-choice-container input[type="radio"] + .prefon-quiz-question-choice-label::before  {
      background-image: url('data:image/svg+xml;utf8,<svg width="55" height="59" viewBox="0 0 79 85" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M78.1691 69.1379C78.3465 74.1122 74.6543 78.3801 69.7062 78.9203L19.2454 84.4295C14.0702 84.9945 9.40424 81.2891 8.78237 76.1204L0.999461 11.4328C0.269244 5.3636 5.37805 0.194432 11.4554 0.853333L67.8067 6.96289C72.5005 7.47179 76.1084 11.3506 76.2766 16.069L78.1691 69.1379Z" stroke="%232D2E83"/></svg>');
      width: 59px;
      height: 59px;
      font-size: 20px;
  }
  #prefon-quiz .prefon-quiz-question-choice-container input[type="checkbox"]:checked + .prefon-quiz-question-choice-label::before,
  #prefon-quiz .prefon-quiz-question-choice-container input[type="radio"]:checked + .prefon-quiz-question-choice-label::before  {
    background-image: url('data:image/svg+xml;utf8,<svg width="55" height="59" viewBox="0 0 79 85" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M78.1691 69.1379C78.3465 74.1122 74.6543 78.3801 69.7062 78.9203L19.2454 84.4295C14.0702 84.9945 9.40424 81.2891 8.78237 76.1204L0.999461 11.4328C0.269244 5.3636 5.37805 0.194432 11.4554 0.853333L67.8067 6.96289C72.5005 7.47179 76.1084 11.3506 76.2766 16.069L78.1691 69.1379Z" stroke="%232D2E83" fill="%232D2E83"/></svg>');
  }
  #prefon-quiz .prefon-quiz-question-choice-label {
    line-height: 60px;
    font-size: 16px;
  }
  #prefon-quiz .prefon-quiz-question-choice-container {
    margin-left: 22px;
    margin-right: 22px;
  }
  #prefon-quiz #prefon-quiz-container button#validate-question {
    font-size: 16px;
    padding: 16px 44px;
  }
  #prefon-quiz #prefon-quiz-modal {
    width: 100%;
    padding: 40px 40px;
  }
  #prefon-quiz #prefon-quiz-modal-title {
    font-size: 18px;
    margin-bottom: 35px;
  }
  #prefon-quiz #prefon-quiz-modal-explanations {
    font-size: 18px;
    margin-bottom: 60px;
  }
  #prefon-quiz #prefon-quiz-result-logo img {
    max-width: 120px;
  }
  #prefon-quiz #prefon-quiz-result-text {
    top: 0;
    bottom: auto;
    padding-bottom: 0px;
    padding: 20px;
  }
  #prefon-quiz #prefon-quiz-result-level {
    font-size: 22px;
  }
  #prefon-quiz #prefon-quiz-result-level-def {
    font-size: 22px;
  }
  #prefon-quiz .prefon-quiz-result-title {
    border-bottom: 4px solid #E30613;
  }
  #prefon-quiz #prefon-quiz-result-description {
    font-size: 15px;
  }
  #prefon-quiz button#play-again {
    font-size: 16px;
    padding: 16px 36px;
  }
  #prefon-quiz button#play-again svg {
    width: 20px;
    height: 20px;
  }
  #prefon-quiz #prefon-quiz-result-canvas {
    height: 50%;
    position: absolute;
    bottom: 0;
  }
}
