/* ========================================================== */
/*                          MAIN CSS                          */
/* ========================================================== */

body {
    font-family: 'Inter Tight', sans-serif;
}

body.main-form-submitting>* {
    opacity:0!important;
}
body.main-form-submitting #main-form-spinner {
    opacity:1!important;
    display:block!important;
}

/* Style the form */
.custom-step-form {
  margin: 100px auto 80px;
}

/* Hide all steps by default and controls for main form: */
.form-step-tab {
  display: none;
}
.form-step-tab.hero-form-step-tab.current-tab~#step-form-stages,
.form-step-tab.hero-form-step-tab.current-tab~#step-form-progress,
.form-step-tab.hero-form-step-tab.current-tab~#form-controls-buttons {
    display: none!important;
}

.form-step-tab .inputs-step-row {
    min-height: 20rem;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

/* Mark the active step: */
.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #04AA6D;
}

/* border color for buttons */
.input-opt.is-invalid ~ .btn-opt, 
.input-opt.is-invalid ~ p .btn-opt, 
.input-opt.is-invalid ~ div .btn-opt {
    border-color: var(--bs-danger,red)!important;
}

/* remoove markers from number */
input.form-control::-webkit-outer-spin-button,
input.form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input.form-control[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

/* number rounded */
.number-rounded {
    font-size: 0.875rem;
    margin: 0 0.5rem 0 0;
    font-weight: 500;
    line-height: 1.25rem;
    width: 1.25rem;
    border-radius: 0.625rem;
    text-align: center;
    flex-grow: 0;
    flex-shrink: 0;
}
#step-form-stages>div.active {
    background-color: #e0effe;
}
#step-form-stages>div>.number-rounded>span {
    display:none;
}
#step-form-stages>div>.number-rounded:before {
    content: "✓";
}
#step-form-stages>div.active>.number-rounded>span,
#step-form-stages>div.active~div>.number-rounded>span {
    display:inline;
}
#step-form-stages>div.active~div {
    opacity: 0.5;
}
#step-form-stages>div.active~div .number-rounded.bg-primary {
    background-color: gray!important;
}
#step-form-stages>div.active~div .text-primary {
    color: gray!important;
}
#step-form-stages>div.active>.number-rounded:before,
#step-form-stages>div.active~div>.number-rounded:before {
    content: "";
}

/* button checked */
button.btn-opt.checked:before {
    content: "✓ ";
}

/* button custom select */
.btn-custom-option .check-symbol:before {
    content: "⦾";
}
.btn-custom-option.active .check-symbol:before {
    content: "⦿";
    color: var(--bs-primary);
}
.border-coral {
    border-color: coral!important;
}
.btn-custom-option.active .amount, .btn-custom-option:hover .amount, .btn-custom-option:active .amount {
    color: var(--bs-primary);
}
.btn-custom-option.active, .btn-custom-option:hover, .btn-custom-option:active {
    border-color: var(--bs-primary)!important;
    background-color: rgba( var(--bs-primary-rgb), 0.15)!important;
}

/* first icon style */
@media (min-width: 576px) {
    .main-icon-block { min-height: 18rem; }
}
@media (max-width: 450px) {
    .hero-icon-header { font-size: 1.1rem; }
}

/* Question options show */
.quiz:not(.opt-1):not(.opt-2):not(.opt-3):not(.opt-4):not(.opt-5) { display:none; }
.quiz.opt-1 .quiz-image.opt-1 { display: inline-block!important; }
.quiz.opt-1 .opt-1 { display: block!important; }
.quiz.opt-2 .quiz-image.opt-2 { display: inline-block!important; }
.quiz.opt-2 .opt-2 { display: block!important; }
.quiz.opt-3 .quiz-image.opt-3 { display: inline-block!important; }
.quiz.opt-3 .opt-3 { display: block!important; }
.quiz.opt-4 .opt-4 { display: inline-block!important; }
.quiz.opt-4 .quiz-question.opt-4 { display: block!important; }
.quiz.opt-5 .opt-5 { display: inline-block!important; }
.quiz.opt-5 .quiz-question.opt-5 { display: block!important; }

.condition-losses.opt-1 { display: block!important; }