body {
    color: #3c3c37;
}
.popup {
    order: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: fit-content;
    max-height: fit-content;
    padding: 30px 0 40px;
    margin: 0 auto;
}
/* ---------------------------- */
@media (max-width:60em){
    .popup {
        padding: 20px 20px 0;
    }
}
@media (max-width:45em){
    .popup {
        padding: 20px 0 0;
    }
}
/* ---------------------------- */

.popup__final-img {
    max-width: 220px;
    height: auto;
    margin-top: 20px;
    align-self: center;
    border-radius: 5px;
}

.popup__content {
    display: none;
    margin: 0 auto;
    flex-direction: column;
    transition: all 3s ease;
    transform: translateX(-15px);
    width: 100%;;
}
/* ---------------------------- */
@media (max-width:60em){
    .popup__content {padding-bottom:3.0rem}
}
/* ---------------------------- */

.question-visible {
    transition: all 3s ease;
    display: flex;
    transform: translateX(0);
}

.popup__progress-item img {
    width: 14px;
    height: 10px;
}

.popup_visible {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
    top: 50%;
}

.popup__title {
    text-align: center;
    color: #3c3c37;
    font-size: 2.5rem;
    font-size: clamp(2.5rem, 2vw, 4rem);
    margin-bottom:20px;
}
.popup__title strong {
    color:#a8c215;font-style:italic;
}
.popup__title2 {
    text-align: center;
    color: #3c3c37;
    font-size: 1.8rem;
    margin-bottom:20px;
    margin-top:40px;
}
@media (max-width:60em){
    .popup__title2{margin-top:0;margin-bottom:0}
}
.popup__title2:after {
    content:'';
    width:50px;
    height:2px;
    margin:0 auto;
    display: block;
    background: #a8c215;
    margin-top:10px;
}

.popup__subtitle {
    text-align: center;
    font-size: 2.0rem;
    line-height: 1.4;
    margin: 0.6rem 0 2.5rem;
}
/* ---------------------------- */
@media (max-width:60em){
    .popup__subtitle {
        font-size: 1.6rem;
    }
}
/* ---------------------------- */

.popup__button_row {
    margin:0 auto;
}

.popup__button {
    margin: 8px auto 0;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    outline-color: transparent;
    border: none;
    background-color: #a8c215;
    color: #fff;
    width: 176px;
    height: 40px;
    cursor: pointer;
}

.popup__button:disabled {
    margin: 8px auto 0;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    outline-color: transparent;
    border: none;
    background-color: #dfdfdf;
    color: #fff;
    width: 176px;
    height: 40px;
}
/* ---------------------------- */
@media (max-width:60em){
    .popup__button,
    .popup__button:disabled{width:120px;font-size:16px}
}
@media (max-width:45em){
    .popup__button,
    .popup__button:disabled{width:110px;font-size:14px}
}
@media (max-width:35em){
    .popup__button,
    .popup__button:disabled{width:90px;font-size:12px}
}
/* ---------------------------- */

.popup__progress {
    margin-top: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    align-self: center;
}

@media (max-width: 45em) {
    .popup__progress {
        display: none;
    }
}

.popup__progress-line {
    height: 2px;
    width: 48px;
    background-color: #a8c215;
}

.popup__progress-item {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    border: 2px solid #a8c215;
    color: #a8c215;
    font-size: 20px;
    font-weight: 600;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.popup__progress-item > p {
    position:absolute;
    top:43%;
}

.popup__progress-item_active {
    background-color: #a8c215;
    color: #fff;
    cursor: pointer;
}

.quiz {
    display: flex;
    flex-direction: column;
    width:100%;max-width:1800px;
    margin:auto;
}

.quiz_center {
    width: max-content;
    margin: 0 auto;
}

/* ---------------------------- */

@media (max-width:60em){
    .quiz_center {
        width: auto;
        margin: 0 auto;
    }
}

@media (min-width:60em){
    .quiz__answers{height:190px;display:flex;flex-direction:column;justify-content:center;}
}

@media (min-width:85em){
    .quiz__answers{height:320px;}
}

@media (min-width:125em){
    .quiz__answers{height:410px;}
}
/* ---------------------------- */

.quiz__question {
    font-weight: 600;
    margin: 0;
    padding: 16px 0 30px;
    color:#3c3c37;
}
.quiz__question:after {
    content:'';
    height:5px;
    width:50px;
    background:#a8c215;
    display: block;
    margin-top:5px;
}

/* ---------------------------- */
@media (max-width:60em){
    .quiz__question:after {
        margin-top:15px;
    }
}
/* ---------------------------- */

.quiz__answers_images {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
}

/* Customize the label (the container) */
.container_quiz {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* ---------------------------- */
@media (max-width:100em){
    .container_quiz { font-size: 20px; }
}
@media (max-width:85em){
    .container_quiz { margin-bottom: 20px; }
}
@media (max-width:60em){
    .container_quiz { font-size: 18px }
}
/* ---------------------------- */

.container_images {
    padding: 0;
    margin: 0 auto 15px;
    width: calc(50% - 15px);

}


@media (min-width: 60em) {
    .container_images {
        width: calc(25% - 25px);
    }
}

.container_images > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Hide the browser's default radio button */
.container_quiz input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 12px;
    width: 12px;
    background-color: #fff;
    border-radius: 50%;
    border: 2.5px solid #3c3c37;
}

span.checkmark--checkbox{top: calc(50% - 6px);}

.checkmark_images {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: transparent;
    border: 2.5px solid #3c3c37;
    transition: all .15s
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

.container input:checked ~ .checkmark {
    border: 2px solid #a8c215;
}

.container input:checked ~ .checkmark_images {
    border: 10px solid #a8c215;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8.5px;
    height: 8.5px;
    border-radius: 50%;
    background: #a8c215;
}

.container .checkmark_images:after {
    background: transparent;
}

.recherche-entreprise {
    width: 100%;
    margin-top: 25px;
}

.popup__content .collection {
    width: 250px;
    margin: 40px auto 20px auto;
    max-width: 100%;
}

.popup__content .tendance {
    width: 400px;
    margin: 10px auto 40px auto;
    max-width: 100%;
}

/* ---------------------------- */
@media (min-width:60em) and (max-width:120em){
    .popup__content .collection{margin: 10px auto 15px auto}
    .popup__content .tendance{margin:10px auto 10px auto}
}
/* ---------------------------- */

.popup__content-result {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.result_quiz {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-right: 40px;
}
.popup__content.popup__content6.question-visible {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.popup__content.popup__content6.question-visible >* {
    width: calc(50% - 2em);
}
@media (max-width:65em) {
    .popup__content-result {
        flex-direction: column;
    }
    .result_quiz {
        margin-right:0;
    }
    .popup__content.popup__content6.question-visible {
        flex-direction: column;
    }
    .popup__content.popup__content6.question-visible >* {
        width:100%;
    }
}

.detailDomaine__titre__mask__appear p {
    font-size: 18px;
    margin-top: 10px;
}

/* tooltip bulle */

/* tooltip bulle */
.popup__progress-item span.tooltiptext {
    opacity: 0;
}

.popup__progress-item.popup__progress-item_active .tooltiptext {
    visibility: hidden;
    width: 350px;
    background-color: #3c3c37;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 10px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -176px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    padding: 10px;
  }

  /* Tooltip arrow */
  .popup__progress-item.popup__progress-item_active .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #3c3c37 transparent transparent transparent;
  }

  /* Show the tooltip text when you mouse over the tooltip container */
  .popup__progress-item.popup__progress-item_active:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }


.quiz-msg{display:flex;align-items:center;color:#333;justify-content:center;}
.quiz-msg svg{width:20px;height:20px;}
.quiz-msg--success .st0{fill:#a8c215}
.quiz-msg--error .st0{fill:#cd2927}

.quiz-msg--error{padding:20px;border:1px #cd2927 dotted;color:#cd2927;font-size:2rem;text-align:center;}
.quiz-msg--error svg{margin-right:10px}
.quiz-msg__svg{width:70px;height:70px;border:1px #a8c215 dotted;border-radius:100vmax;margin-right:30px;display:flex;align-items:center;justify-content:center}
.quiz-msg--success span:last-child{flex:1;max-width:350px;line-height:1.6}
.quiz-msg__svg svg{width:50px;height:50px;}
