html, body {
  width: 100%;
  color: #000;
  min-width: 320px;
  background-color: #fff;
  font-family: sans-serif;
}

body {
  background-color: #f2f2f2;
  color: rgba(0, 0, 0, .64);
  font-family: 'DINNextRdforYelloW04', Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

html, body, header, main, footer, section, div {
  margin: 0;
  padding: 0;
}

main.page {
  display: none;
}

main#thankyou img.icon,
main#exclusion img.icon {
  width: 140px;
  height: 140px;
}

.link, .link:hover, .link:visited, .link:active {
  color: #ff5500;
}

.link--back, .link--back:hover, .link--back:visited, .link--back:active, .link--back:focus {
  font-variant: none;
  text-transform: lowercase;
  box-shadow: none;
  font-weight: normal;
  padding-left: 0;
}

.input-select__input:required,
.input-select__input:invalid,
.input-text__input:invalid,
.input-text__input:required {
  box-shadow: none;
  appearance: none;
}

.submit, .submit:focus, .submit:hover, .submit:visited, .submit:active {
  color: #fff;
  background-color: #ff5500;
  box-shadow: none;
}

.question > p,
.question > h2 {
  text-align: center;
}

main#exclusion div.likeslide,
main#thankyou div.likeslide,
main#questions .carousel-item > div {
  display: flex;
  flex-direction: column;
  height: 520px;
}

main#exclusion .row-spacer,
main#thankyou .row-spacer,
main#questions .carousel-item > div .row-spacer {
  flex-grow: 1;
}

.progress {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 5px 0 5px 0;
}

.progress > .item {
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, .64);
  border-radius: 50%;
  line-height: 32px;
  text-align: center;
  margin: 0 5px 0 5px;
}

.progress > .item.active {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23fff'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.8 31.4c-1.3-.1-2.4-.7-3.2-1.7L.8 19.5c-1.3-1.7-1.1-4.2.5-5.7 1.9-1.6 4.7-1.3 6.1.7l4.3 5.4c.2.3.6.3.7 0L24.6 2.2c1.4-1.8 4-2.2 5.8-.8 1.8 1.4 2.2 4 .8 5.8l-16 22.6c-.8 1.1-2.1 1.7-3.4 1.6'/%3E%3C/svg%3E");
  background-position: 60%;
  background-size: 50%;
  background-repeat: no-repeat;
  background-color: #090;
  border-color: #090;
}

label.input-text__label {
  margin-bottom: 0;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.buttons > label {
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  width: 210px;
  height: 180px;
  margin: 15px;
  padding: 10px;
  /* box-sizing: border-box; */
  box-sizing: content-box;
  background-color: #fff;
  border-radius: 15px;
  -webkit-box-shadow: 5px 5px 5px 0px rgba(149,149,149,1);
  -moz-box-shadow: 5px 5px 5px 0px rgba(149,149,149,1);
  box-shadow: 5px 5px 5px 0px rgba(149,149,149,1);
}

.buttons > label:hover {
  background-color: #f8f8f8;
}

.buttons > label.active {
  background-color: #f8f8f8;
  padding: 5px;
}

.buttons > label > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.buttons > label > div > p {
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  /* white-space: nowrap; */
  text-align: center;
}

.buttons > label > div > p.icon img {
  width: 100px;
  height: 100px;
}

.buttons p.text,
.buttons p.icon {
  margin: 0;
}

/* Yello - XL Screen -  320px -  543px */
/* Yello - SM Screen -  544px -  767px */
/* Yello - MD Screen -  768px -  991px */
/* Yello - LG Screen -  992px - 1199px */
/* Yello - XL Screen - 1200px - 1599px */

button[type=submit] > span {
  display: none;
}

button[type=submit] > span.active {
  display: inline;
}

div.maps div.info {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
}

div.maps div.info > div.mobile p,
div.maps div.info > div.desktop p {
  margin: 0;
}

div.maps div.info > div.mobile p.headline,
div.maps div.info > div.desktop p.headline {
  font-weight: bold;
}

div.maps div.info > div.mobile {
  display: flex;
  flex-direction: row;
  background-color: #fff999;
}

div.maps div.info > div.desktop {
  width: 200px;
  margin: 0 auto;
  background-color: #fff999;
  box-shadow: 2px 2px 4px 4px rgba(0,0,0,.64);
}

div.maps div.info > div.arrow-down {
  background-color: transparent;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #f00;
  border-top: 20px solid #fff999;
  position: relative;
  z-index: 2000;
  top: -1px;
}

div.maps div.info.active {
  animation-duration: 4s;
  animation-name: pulse;
  opacity: 1;
}

@keyframes pulse {
  0% { opacity: 0; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

div.maps div.info > div.mobile > div:first-child {
  flex-grow: 1;
  flex-shrink: 0;
}

div.maps div.info > div.mobile > div:last-child {
  flex-grow: 0;
  flex-shrink: 0;
  cursor: pointer;
}

div.maps div.info > div.desktop > div:first-child {
  cursor: pointer;
}

div.maps div.info > div.desktop > div:first-child > p {
  font-size: 60%;
}

div#maps,
iframe#iframebox {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

div.maps {
  position: relative;
  overflow: hidden;
}

.pac-item { display: none; }
.pac-item:nth-child(-n+3) { display: block; }

.fa-rot {
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

.spacing.top {
  width: 100%;
  height: 46px;
  background-color: #605f55;
}

@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); }}

@media only screen and (max-width: 543px) {
  body > main { width: 300px; }
  .buttons { flex-direction: column; }
  .buttons > label { width: 90%; max-width: 350px; height: 80px; }
  .buttons > label > div { flex-direction: row; }
  /* .buttons > label > div > p { width: 50%; } */
  .buttons > label > div > p { width: 120px; }
  main#questions .carousel-item > div { height: auto; min-height: 600px; }
  main#questions .carousel-item > div .row-spacer { flex-grow: 0; }
  main#exclusion div.likeslide, main#thankyou div.likeslide { height: auto; min-height: 500px; }
  .spacing.top { height: 0px; }
  .d-none { display: none; }

  div.maps div.info { top: 0px; }
}

@media only screen and (min-width: 544px) and (max-width: 767px) {
  body > main { width: 504px;  }
  .buttons { flex-direction: column; }
  .buttons > label { width: 90%; max-width: 450px; height: 80px; }
  .buttons > label > div { flex-direction: row; }
  /* .buttons > label > div > p { width: 50%; } */
  .buttons > label > div > p { width: 120px; }
  main#questions .carousel-item > div { height: auto; min-height: 600px; }
  main#questions .carousel-item > div .row-spacer { flex-grow: 0; }
  main#exclusion div.likeslide, main#thankyou div.likeslide { height: auto; min-height: 500px; }
  .spacing.top { height: 0px; }
  .d-none { display: none; }
  .d-sm-none { display: none; }

  div.maps div.info { top: 0px; }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  body > main { width: 720px; }
  .buttons { flex-direction: column; }
  .buttons > label { width: 90%; max-width: 550px; height: 80px; }
  .buttons > label > div { flex-direction: row; }
  /* .buttons > label > div > p { width: 50%; } */
  .buttons > label > div > p { width: 120px; }
  main#questions .carousel-item > div { height: auto; min-height: 600px; }
  main#questions .carousel-item > div .row-spacer { flex-grow: 0; }
  main#exclusion div.likeslide, main#thankyou div.likeslide { height: auto; min-height: 500px; }
  .spacing.top { height: 40px; }
  .d-none { display: none; }
  .d-sm-none { display: none; }
  .d-md-block { display: block; }
  .d-md-none { display: none; }

  div.maps div.info { top: 40px; }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  body > main {
    width: 928px;
  }

  main#exclusion div.likeslide,
  main#thankyou div.likeslide,
  main#questions .carousel-item > div {
    height: auto;
    min-height: 500px;
  }

  .spacing.top { height: 40px; }
  .d-none { display: none; }
  .d-sm-none { display: none; }
  .d-md-block { display: block; }
  .d-md-none { display: none; }
  .d-lg-block { display: block; }
  .d-lg-none { display: none; }

  div.maps div.info > div.mobile { display: none; }
  div.maps div.info {
    top: calc(50% - 120px);
    transform: translateY(-50%);
  }
}

@media only screen and (min-width: 1200px) {
  body > main {
    width: 1120px;
  }

  .spacing.top { height: 46px; }
  .d-none { display: none; }
  .d-sm-none { display: none; }
  .d-md-block { display: block; }
  .d-md-none { display: none; }
  .d-lg-block { display: block; }
  .d-lg-none { display: none; }
  .d-xl-none { display: none; }

  div.maps div.info > div.mobile { display: none; }
  div.maps div.info {
    top: calc(50% - 120px);
    transform: translateY(-50%);
  }
}

#disclaimer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin: 10px;
}

#disclaimer > p {
  font-family: sans-serif;
  margin: 0;
  font-size: 16px;
  color: rgba(0, 0, 0, .64);
}

#disclaimer > p:not(:first-child):before {
  content: '|';
  margin-left: 5px;
  margin-right: 5px;
}

#disclaimer > p a,
#disclaimer > p a:focus,
#disclaimer > p a:active,
#disclaimer > p a:visited,
#disclaimer > p a:hover {
  color: rgba(0, 0, 0, .64);
  text-decoration: underline;
}
