.form-item-search-radius,
.form-item-search-type,
.form-item-search-shelter {
  margin: 0 !important;
}

.form-item-search-radius .nice-select,
.form-item-search-type .nice-select,.form-item-search-shelter .nice-select {
  width: 100%;
  height: 90px;
  line-height: 5rem;
  text-align: center !important;
  background-color: #fff;
  border: 0;
  border-right: 1px solid #ced4da;
  margin: 0;
  border-radius: 0px;
  font-family: 'mars_centrabold';
}

.form-type-select .nice-select:active,
.form-type-select .nice-select.open,
.form-type-select .nice-select:focus {
  box-shadow: unset;
  border-right: 1px solid #ced4da;
}

.form-type-select .nice-select:after {
  background-image: url("../images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right;
  background-origin: content-box;
  background-size: 25px;
  border: 0;
  top: 0;
  margin-top: 0;
  width: 25px;
  height: 100%;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
}

.form-type-select .nice-select.open:after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.nice-select .current,
.form-type-select .nice-select .option {
  color: #0000a0;
}

.form-type-select .nice-select .list {
  width: 100%;
  border-radius: 0;
  max-height: 200px;
  overflow-y: scroll;
}

.form-type-select.form-item-search-shelter .nice-select .list {
  width: auto;
}

.js-form-item-search-country {
  display: none;
}

.form-type-select .nice-select .option:hover,
.form-type-select .nice-select .option.focus,
.form-type-select .nice-select .option.selected.focus {
  background-color: #ff9d89 !important;
}

.path-find-pet .search-position {
  margin-top: 0;
  margin-bottom: 50px;
}

.path-find-pet .zipcode.form-text,
.path-find-pet .form-type-select .nice-select {
  border: 1px solid #ced4da;
  border-right: 0;
}

.search-position {
  position: relative;
  margin-top: -9%;
  width: 100%;
  bottom: 0;
}

.search-box {
  max-width: 960px !important;
  margin: 0 auto;
}

.search-box input {
  height: 90px;
  border-radius: 0px;
}

.zipcode.form-text {
  color: #0000a0;
  width: 100%;
  display: inline-block;
  line-height: 5rem;
  text-align: center;
  font-family: 'mars_centrabold';
  border: 0;
  border-right: 1px solid #ced4da;
}

.zipcode.form-text::placeholder {
  color: #0000a0;
}

.location-icon {
  background: url(../images/location.png) no-repeat;
  background-position: center;
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 1;
  right: 15%;
  top: 30%;
  background-size: contain;
}

.submit {
  background-color: #ff9d89 !important;
  color: #0000a0 !important;
  background-image: url(../images/search-icon.png);
  background-repeat: no-repeat;
  background-position: 5px center;
  background-origin: content-box;
  background-size: 13%;
}

.uselocation {
  display: none;
  color: #0000a0 !important;
  background-color: #ff9d89;
  text-align: center;
  font-family: 'mars_centrabold';
  line-height: 2rem;
  width: 100%;
  position: absolute;
}

.overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255,255,255,0.8) url(../images/preloader.gif) center no-repeat;
}

/*body {
  text-align: center;
}*/

body.loading {
  overflow: hidden;
}

body.loading .overlay {
  display: block;
}

@media only screen and (max-width: 767px) {
  .search-position {
    margin-top: 10%;
  }

  .search-box {
    position: relative;
    transform: none;
    left: 0;
    right: 0;
    margin-bottom: 30px;
    max-width: 320px !important;
    z-index: 1;
  }

  .path-find-pet .zipcode.form-text,
  .path-find-pet .form-type-select .nice-select,
  .zipcode.form-text,
  .form-type-select .nice-select {
    border: 1px solid #ced4da;
    border-bottom: 0;
  }

  .location-icon {
    right: 5%;
  }

  .uselocation {
    top: -30px;
  }

  .submit {
    background-position: 20% center;
    background-size: 10%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .search-position {
    margin-top: 0px;
    max-width: 90%;
    margin: 20px auto;
  }

  .search-box {
    max-width: 800px !important;
  }

  .submit {
    background-position: 35% center;
    background-size: 5%;
  }

  .zipcode.form-text,
  .form-type-select .nice-select {
    border: 1px solid #ced4da;
  }

  .path-find-pet .js-form-item-search-type .nice-select {
    border-right: 1px solid #ced4da;
  }

  .uselocation {
    top: -30px;
  }
}
