.header {
  width: 100%;
  min-height: 430px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  background: #8ca16a;
}

.header-page-wrapper {
  max-width: 1080px;
  display: block;
  margin: 0 auto !important;
  position: relative;
  bottom: -16em;
}

.header-text {
  color: white;
  margin-bottom: 2em;
  text-shadow: 0px 1px 7px #000000;
}

.down-text [type=checkbox] {
  left: 15px;
  top: -4px;
  z-index: 0;
  -webkit-appearance: none;
}

.down-text [type=checkbox] + label::before {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  border: 2px solid #8ca16a;
  background-color: #fff;
  display: block;
  content: "";
  float: left;
  z-index: 5;
}

.down-text [type=checkbox]:checked + label::before {
  box-shadow: inset 0px 0px 0px 3px #fff;
  background-color: #8ca16a;
}

.input-wrapper a {
  color: #000;
}

.input-wrapper {
  width: max-content;
  display: flex;
}

.input-wrapper button {
  background-color: white;
  color: #626262;
  font-weight: 300;
  border-radius: 2em;
  padding: 0.5 1em;
}

.top-text {
  font-size: 21px;
  margin-bottom: 0.2em;
}

.down-text {
  margin-top: 1em;
  margin-left: 1em;
  margin-right: 1em;
  color: white;
  display: flex;
  justify-content: flex-start;
}
.down-text div {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
}
.down-text div label {
  margin-left: 0.5em;
}

.down-text a {
  margin-left: 1em;
  color: white;
  text-decoration: underline;
  cursor: pointer;
}

.bottom-text {
  font-size: 21px;
}

.num {
  background-color: white;
  border-radius: 6em;
  padding: 5px 10px;
  margin-right: 6px;
  color: #8ca16a;
}

.select-text {
  margin-left: 10px;
  border-left: 1px solid white;
  padding-left: 10px;
  display: flex;
  margin-right: 15px;
}

.select-text-center {
  margin-top: auto;
  margin-bottom: auto;
}

@media only screen and (max-width: 800px) {
  .header-page-wrapper {
    position: unset;
    bottom: unset;
  }
  .input-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }
  .checkbox-dropdown {
    margin: 0.25em !important;
    width: 48%;
  }
  .select-text {
    margin-top: 20px;
    border-left: 0px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
  }
  .header {
    padding-top: 5em;
    padding-bottom: 3em;
  }
}
@media only screen and (max-width: 930px) {
  .test {
    flex-direction: column;
  }
  .header-page-wrapper {
    bottom: -12em;
  }
  .select-text {
    margin-left: unset;
    border-left: unset;
    padding-left: unset;
    display: flex;
    margin-right: unset;
    justify-content: center;
    padding: 2em 0 1em 0;
  }
}
.test {
  display: inline-flex;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 7px;
  border-radius: 2em;
  justify-content: space-between;
}

@media only screen and (max-width: 600px) {
  .input-wrapper {
    display: block;
  }
  .checkbox-dropdown {
    width: 90%;
    margin: 1em auto !important;
    display: block;
  }
  .no-margin {
    margin-right: 0;
  }
  .select-text {
    padding: unset;
  }
  .test {
    width: 100%;
  }
  .down-text {
    flex-direction: column;
  }
}
.checkbox-dropdown {
  border: 0px solid #aaa;
  border-radius: 2em;
  background-color: white;
  padding: 10px 50px 10px 10px;
  position: relative;
  margin: 0 auto;
  z-index: 0;
  user-select: none;
  margin-right: 10px;
  cursor: pointer;
}

.no-margin {
  margin-right: 0px;
}

/* Display CSS arrow to the right of the dropdown text */
.checkbox-dropdown:after {
  content: "";
  height: 0;
  position: absolute;
  width: 0;
  border: 6px solid transparent;
  border-top-color: #000;
  top: 50%;
  right: 10px;
  margin-top: -3px;
}

/* Reverse the CSS arrow when the dropdown is active */
.checkbox-dropdown.is-active:after {
  border-bottom-color: #000;
  border-top-color: #fff;
  margin-top: -9px;
}

.checkbox-dropdown-list {
  z-index: -1;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  /* align the dropdown right below the dropdown text */
  border: inherit;
  border-top: none;
  left: -1px;
  /* align the dropdown to the left */
  right: -1px;
  /* align the dropdown to the right */
  opacity: 0;
  /* hide the dropdown */
  border-radius: 0em 0em 1em 1em;
  transition: opacity 0.4s ease-in-out;
  overflow-x: hidden;
  pointer-events: none;
  background: #fff;
  margin-top: -2.36em;
  overflow: hidden;
  border-radius: 1em;
  padding: 2.5em 1em 1em 1em;
}

.is-active .checkbox-dropdown-list {
  opacity: 1;
  pointer-events: none;
}

.checkbox-dropdown-list li {
  pointer-events: all;
}

.checkbox-dropdown-list li label {
  display: block;
  border-bottom: 0px solid silver;
  padding: 4px 12px 4px 12px;
  background-color: white;
  transition: all 0.2s ease-out;
  font-size: 15px;
}

ul.checkbox-dropdown-list {
  border-radius: 1.275em !important;
  padding: 2em 0px 10px 0em;
  list-style-type: unset;
}

ul.checkbox-dropdown-list li label input[type=checkbox] {
  margin: 0 0.3em 0 0;
}