main {
  width: 100%;
}

h1 {
  text-align: center;
  font-size: 1.5rem;
}

.Search-Form .Fields {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.Search-Form input[type=text],
.Search-Form input[type=search],
.Search-Form button {
  margin: 0;
  height: 2rem;
}

.Search-Form input[type=text],
.Search-Form input[type=search] {
  -webkit-appearance: none; /*textfield*/
  -webkit-box-sizing: content-box;
  padding: 0 1rem;
  max-width: calc(100% - 3rem);
  font-size: 1rem;
  line-height: 2rem;
  border-radius: 0;
  border-radius: .5rem 0 0 .5rem;
  background-color: #EEE;
  border: none;
}
.Search-Form input::-webkit-search-decoration,
.Search-Form input::-webkit-search-cancel-button {
  display: none;
}

.Search-Form button {
  padding: 0;
  width: 3rem;
  text-align: center;
  background: #E9A941;
  border-radius: 0 .5rem .5rem 0;
}

.Search-Form button i {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  color: #333;
}

.Search-Form input[type=checkbox] {
  display: none;
}

.Search-Form input[type=checkbox]:checked ~ label {
  background: #E9A941;
  border-radius: .25rem;
}

.Models {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 1.5rem auto;
  width: 100%;
}

.Models li {
  cursor: pointer;
  margin: 0 .25rem;
  text-align: center;
}

.Search-Form ul li:before {
  content: none;
}

.Models label {
  cursor: pointer;
  display: block;
  white-space: nowrap;
  margin: 0 .25rem .25rem 0;
  line-height: 1.5rem;
  background: #EEE;
  border-radius: .25rem;
  transition: all .25s ease-in-out;
}

.Models label:hover,
.Models label:focus {
  background-color: #E9A941;
}

.Results h2 {
  margin: 1.5rem 0;
  text-align: center;
  color: #AAA;
}

.Results .Order {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto 1rem;
  text-align: center;
}

.Results .Order ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 0 0 1rem;
}

.Results .Order ul li {
  padding: 0 1rem;
  min-width: 6rem;
  text-align: center;
  font-size: .9rem;
  line-height: 1.5rem;
  background-color: #EEE;
  transition: all .25s ease-in-out;
}

.Results .Order ul li:first-child {
  border-radius: 1rem 0 0 1rem;
}

.Results .Order ul li:last-child {
  border-radius: 0 1rem 1rem 0;
}

.Results .Order li.Active {
  background-color: #E9A941;
}

.Results .Order ul li a {
  display: block;
}

.Result {
  margin: 0 0 2rem;
  padding: 1rem;
  background-color: #F3F3F3;
  border-radius: .25rem;
}

.Result:last-child { border: none; }

.Result a {
  color: #333;
  text-decoration: none;
}

.Result header {
  color: #999;
  font-size: .7rem;
  font-weight: bold;
  text-transform: uppercase;
}

.Result figure {
  margin-right: 1.5rem;
}

.Result figure img {
  border-radius: .5rem;
}

.Result h3 {
  font-size: 1.5rem;
}

.Result .Info small {
  font-style: italic;
  color: #AAA;
}

.Results .Preview-Next {
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.Results footer {
  margin: 3rem auto;
  padding: 1rem;
  text-align: center;
}



@media (max-width: 991px) {

  .Search-Form input[type=text],
  .Search-Form input[type=search] {
    width: calc(100% - 3rem);
  }

  .Models label {
    padding: .25rem 1rem;
    font-size: .9rem;
  }

  .Result figure {
    width: 100%;
  }

  .Result .Info {
    width: 100%;
  }
  
  .Result h3 {
    font-size: 1.5rem;
  }

}



@media (min-width: 991px) {

  .Search-Form input[type=text],
  .Search-Form input[type=search] {
    width: 30rem;
  }

  .Models li {
    width: calc(100% / 7 - .25rem);
  }

  .Result {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .Result figure {
    width: 10rem;
  }

  .Result .Info {
    width: calc(100% - 10rem - 2rem);
  }

}
