@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap");

/* ---- QUIZ NO RESULTS PAGE ---- */
.quiz-no-results .quiz-home-content h2 {
  font-size: 2.5em;
  font-family: 'Roboto Condensed',sans-serif;
  font-weight: 700;
}

.quiz-no-results .quiz-home-content h1 {
  font-size: 1.75em;
  margin-bottom: 12px;
  text-transform: none;
  font-family: 'Roboto', sans-serif;
}

.quiz-results-layout h2.jump-content-h2 {
  font-size: 28px !important;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.quiz-results-banner .in-page-jumbotron  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    background-size: cover;
    background-color: transparent;
    min-height: 350px;
  }

.modal {
  z-index: 2000;
}

.quiz-results-banner .hero-bg {
  background-image: url('/sites/default/files/2023-01/quiz-pattern.png');
}

.in-page-jumbotron .intra-jumbo-text .gold-title-text {
  display: inline-block;
}

.in-page-jumbotron .intra-jumbo-text div>p {
    max-width: 475px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5rem;
    font-size: 1.25rem;
    font-family: 'Roboto', sans-serif;
}

.quiz-results-block .t-text-container {
  justify-content: end;
}

/*  --- NEW CARDS STYLING --- */
.quiz-cards-container .card {
  padding: 48px 24px 24px;
  height: auto;
}

.quiz-card .card-body {
  padding: 0rem 1rem 3rem;
}

.quiz-card h3 {
  font-size: 28px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .quiz-results-wrapper .album .contianer {
    padding-left: 0px;
    padding-right: 0px;
  }

  .quiz-card {
    padding-left: 0px;
    padding-right: 0px;
  }

  .quiz-cards-container .card {
    padding: 48px 8px 24px;
  }
}
/*  --- END NEW CARDS STYLING --- */

.block-content--type-content-cards h3 {
  /* padding-top: 96px; */
  padding-bottom: 48px;
}

.content-card-section {
  justify-content: center;
  width: 100%;
}

.field--name-field-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.cards-group {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(3, 33%);
    /* grid-template-columns: repeat(3, 400px); */
    grid-column-gap: 24px;
}

.sm-gray-callout-block .content-card {
  display: flex;
  background-color: var(--primary-gray);
  padding: 48px 24px;
  /* width: 400px; */
  height: 450px;
  flex-direction: column;
}

.sm-gray-callout-block .content-card p {
    width: 335px;
    padding-right: 24px;
}

.content-card h2.jump-content-h2 {
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

.sm-gray-callout-block .content-card p:first-of-type {
  height: 265px;
}

.sm-gray-callout-block .content-card p:last-of-type {
  position: relative;
  bottom: -1rem;
  margin-bottom: 0px;
}

/* .content-card .box-arrow-button {
  position: absolute;
  bottom: 2.15rem;
} */

.content-section.layout.layout--onecol.content-card-section .layout__region {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.block.block-layout-builder.block-inline-blockcontent-card {
  width: 350px;
  height: 450px;
  margin-right: 24px;
  padding: 48px 24px 24px;
  background-color: var(--primary-gray);
}

.block-content--type-content-card {
  height: 100%;
}

.card-container {
  height: 100%;
}

.card-content-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.card-content.container .jump-content-h2 {
  font-family: 'Roboto Condensed', sans-serif;
}

.card-content-container a.box-arrow-button {
  width: 300px;
  max-width: 300px;
}

.quiz-bread-crumb .breadcrumb-sh {
  margin-bottom: 16px;
  font-weight: 700;
}

.quiz-bread-crumb ul {
  border-left: 2px solid var(--primary-gold);
  padding-left: 48px;
  margin-bottom: 24px;
}

@media (max-width: 450px) {
  .quiz-results-layout .content-section .container-xxl {
    padding-left: 0px !important;
    padding-right: 0px;
  }
}

@media (max-width: 1024px) {
  .quiz-results-block.quiz-first-result {
    flex-direction: column;
  }
  .quiz-results-layout .t-img-img-block {
    margin-bottom: 24px;
  }

  section.quiz-results-banner {
    padding-left: 0;
    padding-right: 0;
  }

  .content-card-section {
    flex-direction: column;
    align-items: center;
  }

  .content-card-container {
    margin-bottom: 24px;
    margin-right: 0px;
  }
  .block.block-layout-builder.block-inline-blockcontent-card {
    margin-right: 0px;
    height: 415px;
  }

  /* .quiz-results-layout .content-section .container-xxl {
    padding-left: 0px !important;
    padding-right: 0px;
} */
  .text-image-pair-flipped .block-content--type-text-w-image-pair {
    flex-direction: column-reverse;
  }

  .quiz-results-layout h2.jump-content-h2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

  .cards-group {
    grid-auto-flow: row;
    grid-template-rows: repeat(3, 450px);
    grid-row-gap: 24px;
    grid-template-columns: none;
    place-content: center;
  }

  .sm-gray-callout-block .content-card {
    width: auto;
    height: auto;
    flex-direction: column;
    max-width: 450px;
    padding: 24px;
  }

  .sm-gray-callout-block .content-card p {
    max-width: 335px;
    width: auto;
    /* padding-right: 24px; */
  }

  .content-card p:first-of-type {
    /* outline: 0.05em solid red; */
    height: 330px;
    margin-bottom: 24px;
}

.content-card p:last-of-type {
  position: absolute;
  bottom: 1rem;
  margin-bottom: 0px;
}

  .content-card .box-arrow-button {
    position: relative;
    bottom: 0;
  }
}

@media ((min-width: 1025px) and (max-width: 1399px)) {

  .content-card .box-arrow-button {
    width: 380px;
}

  .sm-gray-callout-block .content-card p {
    width: auto;
  }

  .sm-gray-callout-block .content-card p:first-of-type {
    height: 250px;
}

  .content-card .box-arrow-button {
    min-width: 250px;
    max-width: 265px;
    width: auto;
  }

  .sm-gray-callout-block .content-card p:last-of-type {
    margin-bottom: 0px;
    position: relative;
    bottom: -1rem;
  }
}

/* -------------- END BANNER --------------------------------------- */

/* -------------- QUIZ LANDING PAGE --------------------------------------- */

.contextual-region.row.block-content.block-content--type-quiz-landing-page-block.block-content--view-mode-full.ds-1col.clearfix {
  --bs-gutter-x: 0;
}

.quiz-home-left img {
  width: 100%;
  /* max-height: 750px; */
}

.quiz-home-left.col-lg-7 {
  padding-left: 0;
  padding-right: 0;
}

.quiz-home-right {
  background-image: url(/sites/default/files/2023-01/quiz_pattern_white.png);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-home-right .quiz-home-content {
  font-weight: 700;
  width: 395px;
}

.quiz-home-content h1 {
  font-size: 4em;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: 'roboto condensed', sans-serif;
}

.quiz-home-content .field--type-text-with-summary p {
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: 700;
  width: 330px;
}

.quiz-home-right-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3rem 0rem;
  align-items: center;
}

.quiz-home-right-content h1, .quiz-home-right-content p {
  width: auto;
  max-width: 350px;
}

.quiz-home-right-content p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 48px;
}

.quiz-home-btn.btn-yellow {
  min-width: 270px;
  max-width: 350px;
  width: 100%;
  height: 65px;
  background: var(--primary-gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 50px;
  color: var(--primary-navy);
  text-transform: uppercase;
  border: none;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 1.25px;
  align-items: normal;
  margin: 0;
}

.quiz-home-btn.btn-yellow p {
  font-weight: 700;
  margin: 0;
}

/* -------------- LANDING PAGE MEDIA QUERIES ---------------------- */

@media ((min-width: 1025px) and (max-width: 1178px)) {
  .quiz-home-left div, .quiz-home-left article, .quiz-home-left img {
    height: 100%;
  }
}

@media (max-width: 1024px) {
  .quiz-home-right {
    padding: 48px 1rem;
  }

  .quiz-home-right .quiz-home-content {
    font-weight: 700;
    width: 90%;
  }

  .quiz-home-content .field--type-text-with-summary p {
    margin-bottom: 48px;
    max-width: 415px;
    width: auto;
  }
}

@media ((min-width: 992px) and (max-width: 1024px)) {
  .quiz-home-left.col-lg-7 {
    width: 100%;
  }
  .quiz-home-right {
    width: 100%;
  }

  .contextual-region.row.block-content.block-content--type-quiz-landing-page-block.block-content--view-mode-full.ds-1col.clearfix {
    flex-direction: column;
  }

  .quiz-home-left.col-lg-7 {
    width: 100%;
  }
}

@media ((min-width: 390px) and (max-width: 690px)) {
  .quiz-home-right-content {
    padding: 48px 1rem 0;
  }
}

@media (max-width: 389px) {
  .quiz-home-right-content {
    padding: 48px 0rem 0;
  }
}

/* -------------- QUIZ MODAL --------------------------------------- */



#quizModal .quiz-header-container {
  display: flex;
  background-color: var(--primary-navy);
  border-bottom: 3px solid var(--sec-darkgray);
}

#quizModal .quiz-branding img {
  height: 40px;
}

#quizModal .modal-fullscreen .modal-content {
  padding: 0;
}

#quizModal .modal-header .btn-close {
  color: #FFFFFF !important;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
  opacity: 100;
  cursor: pointer;
}

#quizModal .modal-body {
  padding: 0;
  margin-top: 48px;
}

.quiz-container.container {
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  justify-items: center;
  justify-self: center;
  place-content: center; */
  place-items: center;
}

.quiz-progress-tracking {
  max-width: 948px;
  min-width: 250px;
  width: 100%;
}

p.question-counter {
  text-transform: uppercase;
  font-size: 18px;
  color: var(--sec-space-gray);
  font-weight: 500;
  /* margin-bottom: 24px; */
}

.quiz-step-counter {
  display: flex;
  justify-content: space-between;
  column-gap: 24px;
}

span.quiz-progress-bar {
  background-color: var(--sec-gray);
  height: 3px;
  width: 25%;
  border-radius: 20px;
}

span.quiz-progress-bar[data-question="answered"] {
  background-color: var(--primary-navy);
}

span.quiz-progress-bar[data-question="current"] {
  background-color: var(--primary-gold);
}

.quiz-answers-grid {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(2, 450px);
  row-gap: 16px;
  column-gap: 48px;
  grid-auto-rows: 85px;
}

h2.question-subtitle {
  margin-top: 48px;
  margin-bottom: 48px;
  color: var(--primary-navy);
  font-size: 2em;
  justify-items: left;
  width: 948px;
}

.quiz-answer {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  padding: 16px;
  margin: 0;
  background-color: var(--sec-paleblue);
  color: var(--primary-navy);
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
}

.quiz-answer.selected::before {
  display: block;
  content: '\e86c';
  font-family: 'Material Icons', sans-serif;
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 48;
  font-size: 2.5em;
  margin-right: 16px;
}

.quiz-answer.selected {
  background-color: #94B1C5;
}

.directional-buttons {
  width: 100%;
  max-width: 948px;
  display: flex;
  margin-top: 48px;
  margin-bottom: 48px;
  justify-content: space-between;
}

.quiz-ctrl-btn {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--sec-blue);
}

.quiz-ctrl-action {
  margin: 0;
}

.ctrl-icon-container {
  vertical-align: bottom;
  background-color: var(--sec-paleblue);
  border-radius: 15px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz-ctrl-btn span {
  display: flex;
  font-size: 16px;
  align-items: center;
  font-weight: 700;
}

.quiz-ctrl-btn span[data-quizAction="back"] {
  position: relative;
  left: 3px;
}
.quiz-ctrl-btn span[data-quizAction="forward"] {
  position: relative;
  left: 2px;
}

button.quiz-ctrl-btn[disabled] {
  color: #706E6D;
}

button.quiz-ctrl-btn[disabled] .ctrl-icon-container {
  background-color: #706E6D;
  color: white;
}

.quiz-view-results {
  background-color: var(--primary-gold);
}

@media (max-width: 1024px ) {

  h2.question-subtitle {
    width: auto;
  }

  .quiz-home-btn.btn-yellow {
    min-width: 325px;
    max-width: 350px;
    width: 100%;
  }

  .quiz-answers-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(1, 450px);
    row-gap: 16px;
    grid-auto-rows: 90px;
  }
}

@media (max-width: 475px) {
  .quiz-answers-grid {
    grid-template-columns: repeat(1, auto);
    width: 95%;
  }
}

.box-arrow-button-quiz {
  border: 2px solid var(--primary-blue);
  display: inline-flex;
  padding: 10px 50px 10px 10px;
  max-width: 500px;
  width: 100%;
  text-transform: uppercase;
  font-size: 1rem;
  position: relative;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
}

.box-arrow-button-quiz::after {
  font-family: 'Material Icons', sans-serif;
  content: '\e5e1';
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  right: 10px;
  align-self: center;
}

.box-arrow-button-quiz:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* primary nav menu link handler */
.quiz-link {
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.quiz-link:hover {
  color: var(--primary-gold)!important;
}

.quiz-link::after {
  font-family: 'Material Icons', sans-serif;
  content: '\e5e1';
  display: inline-block;
  vertical-align: middle;
  position: relative;
  left: 20px;
}

.card-footer {
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
  border-top: 0px;
}

.quiz-results-wrapper {
  overflow-x: hidden;
}
