/* Quiz styles */

:root {
  --quiz-font: 'Inter', sans-serif;
  --quiz-font-heading: 'filson-soft', sans-serif;
  --btn-transition: 0.3s ease-in;

  --color-blue: #0a7995;
  --color-dark-blue: #004959;
  --color-teal: #00a99d;
  --color-pink: #ea8474;
  --color-yellow: #fcb238;
  --color-black-font: #333333;
  --color-white: #ffffff;
  --color-grey-light: #ebebeb;
  --color-grey: #6d6e71;
  --color-grey-2: #b2b2b2;
  --color-grey-3: #cccccc;
  --color-grey-border: #a7bdbc;
  --color-red: #de0000;

  --color-opa-grey: rgba(204, 204, 204, 0.8);
  --color-grad-clear: rgba(255, 255, 255, 0);
  --color-grad-white: rgba(255, 255, 255, 1);
}

.page-template-template-readiness-calculator .elementor-location-footer {
  display: none;
}

.syc-form-foundation {
  width: 100vw;
  background-color: var(--color-white);
  overflow: hidden;
}

.syc-form-container {
  position: relative;
  padding-bottom: 90px;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.syc-form-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blue);
}

.syc-form-title {
  height: 160px;
}

.syc-form-title.syc-offer {
  height: 100%;
  padding: 35px;
  flex-direction: column;
}

.syc-form-title .question {
  font-size: 18px;
  font-weight: 500;
  font-family: var(--quiz-font-heading);
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (max-width: 769px) {
  .syc-form-title .question {
    margin-bottom: 0px;
  }
}

.syc-form-title .form-title {
  font-size: 50px;
  font-weight: 900;
  font-family: var(--quiz-font-heading);
  color: var(--color-white) !important;
  text-transform: none !important;
  padding: 0 !important;
  cursor: default;
  text-align: center;
}

@media (max-width: 769px) {
  .syc-form-title .form-title {
    font-size: 40px;
    line-height: 44px;
  }
}

@media (min-width: 1300px) {
  .syc-form-title {
    height: 180px;
  }

  .syc-form-title div {
    font-size: 32px;
  }
}

.syc-inner-wrapper,
.syc-btn-wrapper {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

/* Button Container */

.syc-form-btn-container {
  position: fixed;
  background-color: var(--color-white);
  bottom: 0;
  height: 90px;
  width: 100%;
  max-width: 970px;
  display: flex;
  flex-direction: row;
  border-top: 1px solid var(--color-grey-light);
  z-index: 5;
  padding: 0 20px;
}

.syc-form-btn-prev-col,
.syc-form-btn-next-col {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
}
.syc-form-btn-prev-col {
  justify-content: flex-start;
}
.syc-form-btn-next-col {
  justify-content: flex-end;
}

.syc-form-btn-prev,
.syc-form-btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 50px;
  border-radius: 15px;
  color: var(--color-white);
  text-transform: capitalize;
  font-family: var(--quiz-font-heading);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.syc-form-btn-prev {
  background-color: var(--color-grey);
}

.syc-form-btn-next {
  background-color: var(--color-opa-grey);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.syc-form-btn-next::before {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--color-teal);
  transition: var(--btn-transition);
  width: 135px;
  height: 50px;
  transform: translateX(-105%);
  z-index: -1;
}

.transition.syc-form-btn-next:hover::before,
.syc-form-btn-prev:hover {
  background-color: var(--color-dark-blue) !important;
}

.transition.syc-form-btn-next::before {
  transform: translateX(0);
}

.syc-form-btn-prev::before,
.syc-form-btn-next::after {
  content: '';
  display: block;
  width: 10px;
  height: 19px;
  background-repeat: no-repeat;
  background-size: contain;
}

.syc-form-btn-prev::before {
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-chevron-left.svg');
  transform: translate(-8px, 1px);
}

.syc-form-btn-next::after {
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-chevron-right.svg');
  transform: translate(8px, 1px);
}

/* Component: Input Field */

input::placeholder {
  font-size: 18px;
  color: var(--color-grey);
  font-family: var(--quiz-font);
}

input:focus {
  outline-color: var(--color-blue);
}

.syc-form-input-container {
  position: relative;
  max-width: 970px;
  margin: 0 auto;
}

.syc-search-input,
.syc-input {
  width: calc(100% - 40px);
  margin: 20px;
  padding: 20px;
  border: 1px solid var(--color-grey-2);
  border-radius: 2px;
}

.syc-search-input {
  padding-left: 53px;
}

.syc-search-icon::before {
  content: '';
  position: absolute;
  display: block;
  left: 40px;
  top: 40px;
  height: 20px;
  width: 20px;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-search.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

/* Component: Selection Item */
.syc-form-selection-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 250px - 90px);
  max-height: 305px;
  overflow: scroll;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  max-width: 970px;
  margin: 0 auto;
}

.syc-two-choice.syc-form-selection-container {
  max-height: 150px;
  overflow: visible;
}

.syc-form-selection-container::after {
  content: '';
  display: block;
  position: sticky;
  bottom: 0;
  width: 100%;
  height: 75px;
  background-image: linear-gradient(
    var(--color-grad-clear),
    var(--color-grad-white)
  );
}

.syc-two-choice.syc-form-selection-container::after {
  background-image: none;
}

.syc-form-selection-container::-webkit-scrollbar {
  width: 0 !important;
}

.syc-form-item {
  position: relative;
  padding: 20px;
  font-family: var(--quiz-font);
  font-size: 18px;
  line-height: 20px;
  border-bottom: 1px solid var(--color-grey-light);
  cursor: pointer;
}

.selected.syc-form-item::after {
  content: '';
  position: absolute;
  display: block;
  right: 20px;
  top: 19px;
  height: 24px;
  width: 24px;
  border: none;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-checkmark.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.syc-radio.selected.syc-form-item::after {
  display: none;
}

/* Component: Radio Item */

.syc-radio {
  position: relative;
  padding-left: 64px;
}

.syc-radio::before {
  content: '';
  position: absolute;
  display: block;
  left: 21px;
  top: 20px;
  height: 23px;
  width: 23px;
  border-radius: 24px;
  border: 2px solid var(--color-grey);
}

.selected.syc-radio::before {
  content: '';
  position: absolute;
  display: block;
  left: 20px;
  top: 19px;
  height: 24px;
  width: 24px;
  border: none;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-checkmark.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

/* Question */

.syc-question {
  color: var(--color-black-font);
  font-family: var(--quiz-font-heading);
  font-weight: 700;
  font-size: 28px;
  padding: 20px;
  line-height: 54px;
}

@media (max-width: 769px) {
  .syc-question {
    line-height: 40px;
    font-size: 26px;
  }
}

.syc-description {
  font-family: var(--quiz-font);
  font-size: 18px;
  line-height: 32px;
  font-weight: 400;
  padding: 0 20px 20px 20px;
}

@media (max-width: 769px) {
  .syc-description {
    font-size: 16px;
    line-height: 28px;
  }
}

.annual-value {
  background-color: var(--color-pink);
  color: var(--color-white);
  padding: 10px;
  margin-top: 20px;
  line-height: 2.5em;
}

/* Warning */

.syc-form-warning {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--color-red);
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
}

.syc-warning-symbol {
  display: block;
  width: 40px;
  height: 38px;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-warning.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.syc-form-warning p {
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  font-weight: 600;
}

/* Offer */
.syc-offer .syc-offer-heading {
  text-transform: uppercase !important;
}

.syc-offer .syc-offer-amount {
  font-size: 60px;
  letter-spacing: 3px;
  line-height: 98px;
}

.syc-offer-output-wrapper {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.syc-offer .syc-offer-output-label,
.syc-offer .syc-offer-output {
  font-family: var(--quiz-font);
  font-size: 18px;
  letter-spacing: 0.45px;
  line-height: 28px;
}

.syc-offer .syc-offer-output-label {
  font-weight: 600;
}

.syc-offer .syc-offer-output {
  font-weight: 500;
}

#syc-offer-cta {
  font-family: var(--quiz-font);
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 20px;
  background-color: var(--color-teal);
  text-transform: uppercase !important;
  width: 210px;
  margin-top: 30px;
  margin-bottom: 15px;
  cursor: pointer;
}

.syc-spacer {
  padding: 20px;
}

.syc-hidden {
  visibility: hidden;
  display: none;
}

.syc-form-btn-next.warning {
  background-color: var(--color-grey-3);
  cursor: default;
}

#form-title.syc-confirmation {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
}

#form-title.syc-confirmation .syc-results-container::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0px;
  width: 213px;
  height: 244px;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/left-decor.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#form-title.syc-confirmation .syc-results-container::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 0px;
  width: 213px;
  height: 244px;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/right-decor.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#form-title .syc-confirmation-sub-heading {
  text-transform: uppercase;
  color: var(--color-teal);
  font-family: var(--quiz-font-heading);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 5%;
}

#form-title .syc-confirmation-heading {
  text-align: center;
  font-family: var(--quiz-font-heading);
  color: var(--color-dark-blue);
  font-weight: 800;
  line-height: 50px;
  font-size: 50px;
  padding: 20px;
}

#form-title .syc-confirmation-message {
  max-width: 660px;
  font-family: var(--quiz-font);
  color: var(--color-dark-blue);
  font-weight: 500;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
  margin: 10px 0 30px 0;
}

#form-title .syc-confirmation-copy {
  max-width: 750px;
}

#form-title .syc-confirmation-copy a,
#form-title .syc-confirmation-copy {
  font-family: var(--quiz-font);
  font-weight: 400 !important;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
  text-align: center;
}

#form-title .syc-confirmation-copy a {
  font-weight: 600 !important;
  text-decoration: underline;
}

#syc-restart-form {
  position: relative;
  margin-top: 15px;
  margin-bottom: 65px;
  font-size: 22px;
  font-family: var(--quiz-font-heading);
  font-weight: 800;
  line-height: 32px;
  border-radius: 25px;
  color: var(--color-white);
  text-decoration: none !important;
  background-color: var(--color-dark-blue);
  text-transform: none;
  width: fit-content;
  height: fit-content;
  text-align: center;
  padding: 16px 80px 16px 30px;
  transition: 0.2s ease-out;
  cursor: pointer !important;
}

.syc-btn-right-arrow::after {
  content: '';
  display: block !important;
  position: absolute;
  right: 18px;
  bottom: 50%;
  transform: translateY(50%);
  height: 45px !important;
  width: 45px !important;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-btn-right-arrow.svg') !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#syc-restart-form:hover,
#syc-restart-form:active,
#syc-restart-form:focus {
  background-color: var(--color-teal);
  color: var(--color-dark-blue);
}

#syc-restart-form::before,
#syc-restart-form::after {
  display: none;
}

.syc-results-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  width: 100%;
  max-width: 970px;
  padding: 100px 50px;
  border: 1px solid var(--color-grey-border);
  border-radius: 35px;
}

.syc-results-container.contact-us-result {
  background-color: var(--color-grey-light);
}

.syc-check-mark {
  height: 40px;
  width: 40px;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-checkmark.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.start-over {
  width: fit-content;
  padding: 16px 60px 16px 16px;
  background-color: var(--color-yellow);
  color: var(--color-dark-blue);
}

.start-over::after {
  content: '';
  display: block !important;
  position: absolute;
  right: 18px;
  bottom: 50%;
  transform: translateY(50%);
  height: 35px;
  width: 35px;
  background-image: url('/wp-content/themes/wingard-child-theme-master/quiz/img/icon-btn-right-arrow.svg') !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

@media (max-width: 700px) {
  .syc-results-container {
    padding: 40px 15px 220px 15px;
  }

  #form-title .syc-confirmation-heading {
    font-size: 42px;
    line-height: normal;
    padding: 5px;
  }

  #form-title .syc-confirmation-message {
    font-size: 18px;
    line-height: 24px;
  }

  #form-title.syc-confirmation .syc-results-container::before,
  #form-title.syc-confirmation .syc-results-container::after {
    width: 198px;
    height: 255px;
  }

  #form-title.syc-confirmation .syc-results-container::before {
    left: 45%;
  }

  #form-title.syc-confirmation .syc-results-container::after {
    right: 45%;
    bottom: 20px;
  }
}
