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

.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);
  background-color: #FEFBF2;
}

.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: #000;
  font-family: 'Pedigree-Unleashed';
}

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

.nice-select .current {
  display: inline-block;
  width: 100%;
  overflow: hidden;
}
.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: #f0ac03 !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;
  font-family: 'Pedigree-Unleashed';
}

.zipcode.form-text {
  color: #000;
  width: 100%;
  display: inline-block;
  line-height: 5rem;
  text-align: center;
  font-family: 'Pedigree-Unleashed';
  border: 0;
  border-right: 1px solid #ced4da;
  background-color: #FEFBF2 !important;
}

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

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

.submit {
  background-color: rgb(228 15 36) !important;
  background-image: url(../images/search-icon-w.png);
  background-repeat: no-repeat;
  background-position: 5px center;
  background-origin: content-box;
  background-size: 13%;
}

.uselocation {
  display: none;
  color: #000 !important;
  background-color: #f0ac03 !important;
  text-align: center;
  font-family: 'Pedigree-Unleashed';
  line-height: 2rem;
  position: absolute;
  font-size: 16px;
  padding: 0 24px;
  text-decoration: none;
}

.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;
}

#search-form .search-box .form-item-search-type .form-control {
  padding: 0.375rem 2rem 0.375rem 0.75rem !important ;
}
.filter-message strong {
  color: rgb(228 15 36);
}
.filter-message {
  margin-bottom: 45px !important;
}
.path-find-pet .filter-message {
  margin-bottom: 20px !important;
}
.filter-message {
  color: #000;
  margin-bottom: 30px;
  padding-left: 0 !important;
  font-family: 'Pedigree-Unleashed' !important;
}
.form-item-search-shelter .nice-select .list {
  background-color: #FEFBF2 !important;
  width: 450px;
}
@media only screen and (max-width: 767px) {
  .form-item-search-shelter .nice-select .list {
    width: 100%;
  }
  .path-find-pet .search-position {
    margin-bottom: 0 !important;
  }
  .filter-message {
    margin-left: 32px;
    margin-top: 20px;
    padding-left: 4px !important;
    margin-bottom: 14px !important;
    text-align: center;
    width: 90% !important;
  }
  .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 {
    left: 86.5%;
    top: 26.5%;
  }

  .uselocation {
    top: 18%;
    width: 100%;
  }

  .submit {
    background-position: 20% center;
    background-size: 10%;
  }
  .form-item-search-shelter {
    width: 100% !important;
  }
  .path-frontpage .filter-message {
    margin-bottom: -20px !important;
    margin: 0 auto;
}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .form-item-search-shelter .nice-select .list {
    width: 100%;
  }
  .location-icon {
    left: 94%;
    top: 26%;
  }
  .path-find-pet .zipcode.form-text, .path-find-pet .form-type-select .nice-select {
    border-right: 1px solid #ced4da;
  }
  .form-item-search-shelter {
    width : 100% !important;
  }
  .filter-message { 
    margin-left: 19px !important;
    margin-bottom: 17px !important;
    margin-top: 27px;
  }
  .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: 65px;
    width: 100%;
  }
}


