/* Modal window */

aside.modal-slide.quiz-drawer._inner-scroll._show {
    max-width: 100rem;
    left: auto;
  }
  
/* Modal header */
  
.quiz-drawer header.modal-header {
    background: var(--color-branding-primary);
    color: #ffffff;
    padding: 0 2.6rem;
    margin-bottom: 2rem;
  }
  
.quiz-drawer h1 {
    font-weight: 400;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
  
.quiz-drawer.modal-slide button.action-close {
  padding: .5rem 2rem;
}

.quiz-drawer.modal-slide .action-close:before {
  color: #fff;
}

/* Questions and answers */

.question-info {
  padding: 1.5rem 0;
  margin-bottom: 1rem;
  background: var(--color-light-gray);
}

.question-info [data-role="content"] {
    display: flex;
      margin: 1rem 0 2rem;
    flex-direction: column;
    padding: 0 2rem;
    gap: 2rem;
    align-items: stretch;
    margin-top: 1rem;
}
  
.completed.question-info {
  padding: .75rem 0;
  background: var(--color-pa-answer-checked-bg);
  color: #fff;
}

.completed .question-text::before {
    content: '';
    display: inline-block;
    transform: rotate(45deg);
    height: 1rem;
    width: .5rem;
    border-bottom: .4rem solid var(--color-pa-checked);
    border-right: .4rem solid var(--color-pa-checked);
    margin-right: 1rem;
    margin-left: .5rem;
}
  
.question-text {
  font-size: var(--text-h3-size);
  font-weight: bold;
  line-height: 1.2;
  padding: 1rem 2rem;
}

.answer-text p.caption {
    text-align: center;
    color: var(--color-text);
    margin-top: 2rem;
}

.answer-detail {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.question-info [data-role="collapsible"] {
    position: relative;
    z-index: 1;
}

span.ui-icon-circle-plus:after,
span.ui-icon-circle-minus:after {
  position: absolute;
  right: 1rem;
  font-size: var(--text-h2-size);
  z-index: -1;
}

span.ui-icon-circle-minus:after {
  content: "-";
}

span.ui-icon-circle-plus:after {
  content: "+";

}

.completed span.ui-icon-circle-plus:after,
.completed span.ui-icon-circle-minus:after {
  color: #fff;
}
  
.answer-info label {
  cursor: pointer;
  display: inline-block;
  height: 100%;
}

div.answer-info {
  width: 100%;
  max-width: 20rem;
}
  
.answer-detail input[type="radio"],
.answer-detail input[type="checkbox"] {
  position: absolute;
  transition: 0.2s all linear;
}

.answer-detail input[type="radio"] {
  top: .4rem;
  left: .6rem;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--color-branding-primary);
}

.answer-detail input[type="checkbox"] {
  top: 1rem;
  left: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--color-dark-gray);
  background: #e8e7f0;
}

.answer-detail input:checked {
  background: #00b0db;
}

.answer-content-wrapper {
  display: flex;
  position: relative;
  border: 2px solid var(--color-dark-gray);
  border-radius: 0.5rem;
  padding: 3rem;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  transition: 0.2s all linear;
}

.answer-content-wrapper:hover,
.highlight .answer-content-wrapper {
  background: #c5ebff;
}

.answer-content-wrapper:hover,
.highlight .answer-content-wrapper {
  background: var(--color-question-highlight);
}

@media only screen and (min-width: 768px) {
  
  .answer-detail {
    flex-direction: row;
  }
  
}

/* Buttons */

.buttons-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 4rem;
}
  
/* Success pages */

.cart-message ul {
  padding: 0 1.25em;
}

.cart-message h2, .cart-message h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 400;
}

.cart-message p {
  margin-bottom: 1rem;
}

.cart-message svg {
  height: 4rem;
}

.cart-message.green-message svg {
  fill: var(--color-pa-icon-green);
}

.cart-message.yellow-message svg {
  fill: var(--color-pa-icon-yellow);
}

.cart-message.red-message svg {
  fill: var(--color-pa-icon-red);
}

  