.modal:has(.quiz) .modal-header {
  display: none;
}
.modal:has(.quiz) .quiz .btn-close {
  display: block !important;
  position: absolute;
  right: .25rem;
  top: .25rem;
}

.quiz {
  position: relative;
}
.quiz__header {
  display: block;
  margin: 0 0 1.5rem;
  padding-right: 2rem;
  font-size: 1.125rem;
  line-height: 120%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: bolder;
}
.quiz__subheader {
  display: block;
  margin: -1.5rem 0 1.5rem;
  padding-right: 2rem;
  font-family: var(--font-montserrat);
  font-size: .75rem;
  line-height: 120%;
}
.quiz__steps {}
.quiz__step {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}
.quiz__step.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.quiz__step .quiz__step__body {
  overflow: hidden;
}
.quiz__step .quiz__step__body * {
  transform: translate(0, 1rem);
  transition: .3s easy-in-out;
  opacity: 0;
}
.quiz__step.active .quiz__step__body * {
  opacity: 1;
  transform: translate(0, 0);
  transition: .2s linear transform;
}
.quiz__step__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}
.quiz__step__header > strong {
  font-size: 1.2rem;
  line-height: 120%;
  letter-spacing: -0.02em;
}
.quiz__step__counter {
	margin-right: 1rem;
	white-space: nowrap;
}
.quiz__step__counter span {
  display: inline-block;
  font-size: .875rem;
  line-height: 120%;
}
.quiz__step__body {}
.quiz__step .btn {
  text-transform: initial;
  font-size: .875rem;
}
.quiz__step [data-quiz-prev] {
  margin-right: 1rem;
  text-decoration: none;
  color: #666;
  font-size: .875rem;
  padding: 0;
}
.quiz__step input[name="awform[agreement][]"] + label {
  font-size: .75rem;
  line-height: 120%;
  color: #888;
}
.quiz__step input[name="awform[agreement][]"] + label a {
  color: inherit;
  text-decoration: underline;
}

.quiz-items {}
.quiz-items .row {
  align-items: stretch;
}
.quiz-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: .75rem 1.25rem;
  border: 2px solid #e6e6e6;
  border-radius: .25rem;
  cursor: pointer;
  text-align: center;
}
.quiz-item.active {
  border-color: var(--color-green);
}
.quiz-item span {
  font-size: 1rem;
  line-height: 120%;
  letter-spacing: -0.02em;
  transition: .2s linear;
}
.quiz-item:hover span {
  color: #666;
  text-align: center;
}
.quiz-item.active span {
  color: var(--color-green);
}
.quiz-item.quiz-item-image {
  padding: 0;
  width: auto;
  height: 160px;
  position: relative;
}
.quiz-item.quiz-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: .25rem;
}
.quiz-item.quiz-item-image span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .5rem .25rem;
  text-align: center;
  font-size: .875rem;
  line-height: 120%;
  background: rgba(230,230,230,.85);
}
.quiz-item.quiz-item-image.active span {
  color: #333;
  background: rgba(255,255,255,1);
}
@media screen and (max-width: 767px) {
	.quiz__step .form-control {
	  margin-bottom: .5rem;
	}
}