#header {
  position: absolute;
  top: 18px;
  display: block;
  border: unset;
  margin: unset;
  box-shadow: unset;
  width: unset;
  height: unset;
  background-color: unset;
}

#footer {
  all: unset;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.hero-image {
  background-image: url(../images/searchwizard.jpg);
  height: 100vh;
  max-width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.content {
  grid-template-columns: 0 1fr 0;
}

.main-content {
  min-height: 100vh;
  position: relative;
}

form[name="survey"] {
  height: 800px;
  height: 100%;
}

form[name="survey"] .question {
  display: none;
  margin: auto;
  margin-top: 6rem;
}

form[name="survey"] .question.active {
  display: block;
}

.question > h1 {
  height: 85px;
  font-size: clamp(2rem, 1.46rem + 1.8vw, 3rem);
  color: white;
  margin-bottom: 1.75rem;
  text-shadow: 2px 2px rgba(0,0,0,0.3);
  text-align: center;
  line-height: clamp(2rem, 1.46rem + 1.8vw, 3rem);
}

.question > div {
  display: flex;
  flex-direction: column;
}

.question > .question-options > div {
  display: flex;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.3);
  width: 170px;
  height: 85px;
  border-radius: 8px;
  text-align: center;
  transition: border .15s ease-in,box-shadow .15s ease-in;
  margin: 0.5rem auto;
  background-color: #eef7ff;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.5);
}

.question.budget > .question-options > div {
  all: unset;
  width: 100%;
  margin: auto;
}

.question > .question-options > div:hover {
  border: 1px solid var(--cpd-color);
  background-color: #b9daff;
}

.question.budget > .question-options > div:hover {
  border: none;
  background-color: initial;
}

.question > .question-options > div.selected {
  color: white;
  border: 1px solid var(--cpd-color);
  background-color: #6c98e1;
  box-shadow: inset 0 1px 2px 0 rgba(0,0,0,.5);
}

.question > .question-options > div > p {
  margin: auto;
  font-size: 1.125rem;
  font-weight: 500;
}

.question > .question-options > div > input {
  display: none;
}

.question > div.all-makes {
  display: none;
  background-color: white;
  overflow: hidden;
  margin-bottom: 100px;
  border: 1px solid rgba(0,0,0,.3);
  padding: 30px;
}

.question.makes > .question-options.hide {
  display: none;
}

.question > div.all-makes.active {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.question > div.all-makes > div {
  display: flex;
  position: relative;
  padding: 4px 0;
  border-bottom: 1px solid lightgray;
  margin-right: 35px;
  cursor: pointer;
}

.question > div.all-makes > div:hover {
  background-color: #b9daff;
}

.question > div.all-makes > div.active {
  color: white;
  background-color: #6c98e1;
  box-shadow: inset 0 1px 2px 0 rgba(0,0,0,.5);
}



.question > div.all-makes > div:nth-last-child(-n+11){
  margin-right: 0;
}

.all-makes > .make.block-char-end {
  margin-bottom: 20px;
}

.make > span {
  width: 115px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 5px;
}

.all-makes > span.char {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.make > img {
  height: 30px;
}

.all-makes > span.char + span.char {
  margin-top: 15px;
}


.survey-content {
  display: flex;
}

.survey-nav {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-color: #eef7ff;
  box-shadow: 0 1px 3px 0 rgba(0,0,0);
}

.survey-nav > .cancel {
  display: none;
  flex-direction: column;
  height: 50px;
  margin-top: auto;
  margin-bottom: auto;
  width: 45px;
  margin-left: 25px;
}

.survey-nav > .cancel > a {
  font-size: 0.875rem;
  margin: auto;
  color: var(--schrift);
  text-align:center;
}

.survey-nav .btn {
  border-radius: 8px;
  display: flex;
  height: 50px;
  margin-top: auto;
  margin-bottom: auto;
  width: 20%;
  transition: all 0.5s ease-in-out;
}

.survey-nav .btn.hide {
  opacity: 0;
  cursor: default;
}

.survey-nav .btn > p {
  margin: auto;
  font-size: 1.125rem;
  font-weight: 500;
}

.back.btn {
  margin-left: 0.6rem;
  margin-right: auto;
}

.forward.btn {
  margin-right: 0.6rem;
}

.question.budget > .question-options {
  all: unset;
  height: 200px;
  display: flex;
  border-radius: 4px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.5);
  background-color: white;
  padding: 20px 30px 35px 30px;
}

.question.budget .slider-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.question.budget .slider-value {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

.question.budget .slider-marker {
  border-left: 2px solid #d5d5d5;
  height: 15px;
  border-right: 2px solid #d5d5d5;
}

.question.budget .slider-text {
  display: flex;
}

.slider-range.budget > span.ui-slider-handle.ui-corner-all.ui-state-default {
  border: 5px solid #6c98e1;
  background-color: white;
  width: 30px;
  height: 30px;
  top: -18px;
  margin-left: -18px;
}

.slider-range.budget > span.ui-slider-handle.ui-corner-all.ui-state-default:first-of-type {
  display: none;
}

.question.budget .slider-text > p {
  font-size: 0.875rem;
}

.question.budget .slider-text > p:first-child {
  margin-right: auto;
}

@media screen and (min-width: 30.0625em) {
  form[name="survey"] .question {
    width: 87%;
    margin-top: 12.5rem;
  }

  .question > div {
    margin-top: 12.5rem;
    flex-direction: row;
  }

  .question > h1 {
    height: 100%;
  }

  .question > .question-options > div {
    width: 210px;
    height: 105px;
    margin: 0;
    margin-right: 5%;
  }

  .question > .question-options > div:first-child {
    margin-left: auto;
  }
  
  .question > .question-options > div:last-child {
    margin-right: auto;
  }

  .question.budget > .question-options {
    margin-bottom: 20px;
    margin-top: 200px;
    width: 600px;
    margin-left: 300px;
  }
  
  .question.budget .slider-value {
    margin-bottom: 3.125rem;
  }
  
  .question.budget .slider-range.budget {
    width: 500px;
    margin-left: 50px;
  }
  
  .question.budget .slider-marker {
    width: 495px;
    border-left: 2px solid #d5d5d5;
    height: 15px;
    margin-left: 50px;
    border-right: 2px solid #d5d5d5;
  }

  .question.make.select-make {
    margin-top: 50px;
  }

  .question > div.all-makes {
    margin-top: 50px;
    height: 621px;
  }

  .survey-nav > .cancel {
    display: flex;
  }

  .survey-nav .btn {
    width: 10%;
  }

  .back.btn {
    margin-left: 15.625rem;
  }
  
  .forward.btn {
    margin-right: 20rem;
  }
}