.em-current-search {
    display: none;
}

.em-search-cancel,
.em-search-text {
    display: none;
}

#custom-search-input {
  width: 700px;
  padding: 15px 0;
  border-radius: 3px 3px 3px 0;
}

#custom-search-input input {
  position: absolute;
  width: 327px;
  height: 44px;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #fff;
  text-align: left;
}

#custom-search-input b {
  line-height: 1.28571em;
  font-size: 14px;
  color: #333;
  text-align: center;
  display: inline-block;
}

#custom-search-input .glyphicon-search {
  font-size: 23px;
}

#custom-search-input .btn {
  padding: 5px 20px 5px 10px;
  border-radius: 0 0.25rem 0.25rem 0;
  z-index: 2;
  height: 44px;
}

#custom-search-input .form-control {
  padding: 0;
  width: 100%;
}

#custom-search-input .dropdown-menu.show {
  width: 327px;
}

.btn-find,
.btn-near {
  background-color: #fff;
}

#custom-search-input .btn:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

#custom-search-input .col-md-12 {
  padding: 0px;
}

#custom-search-input .dropdown-menu {
  padding: 0px;
  border-radius: 0px;
}

#custom-search-input .fa {
  font-size: 21px;
}

#custom-search-input b {
  -webkit-transform: translateX(-4px);
  -ms-transform: translateX(-4px);
  transform: translateX(-4px);
}

#custom-search-input .dropdown-item:hover {
  background-color: #0073bb;
}

/*#custom-search-input .btn-padding {
  padding-right: 4px;
}*/

#custom-search-input a {
  color: #959595;
}

#custom-search-input a:hover {
  color: #ffffff;
}

#custom-search-input .custom-icon {
  padding-right: 15px;
  font-size: 15px !important;
}

#custom-search-input .dropdown-menu.show {
  -webkit-transform: translate3d(-1px, 33.4px, 0px) !important;
  transform: translate3d(-1px, 33.4px, 0px) !important;
}

#custom-search-input .dropdown-item {
  padding: 0.5rem 1.3rem;
}

#custom-search-input .drop-near {
    /*display: none !important;*/
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
}

::before,
::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.form-control::-webkit-input-placeholder {
  color: #999;
  opacity: 1;
  font-size: 14px;
  font-weight: normal;
}

.form-control:-ms-input-placeholder {
  color: #999;
  opacity: 1;
  font-size: 14px;
  font-weight: normal;
}

.form-control::-ms-input-placeholder {
  color: #999;
  opacity: 1;
  font-size: 14px;
  font-weight: normal;
}

.form-control::placeholder {
  color: #999;
  opacity: 1;
  font-size: 14px;
  font-weight: normal;
}

div.custom-border::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 20px;
  width: 50%;
  border-left: 1px solid lightgray;
}

.custom-width-span {
  width: 8%;
  text-align: center;
}

.custom-width-input {
  width: 275px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /*background-color: #fff;*/
  margin-bottom: 0;
}

.custom-width-btn {
  width: 50px;
}

.fa-search {
  -webkit-transform: translateX(6px) translateY(1.2px);
  -ms-transform: translateX(6px) translateY(1.2px);
  transform: translateX(6px) translateY(1.2px);
}

.near-group {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  vertical-align: middle;
}

.find-ad {
  padding-left: 6px;
}

#custom-search-input .em-form-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#custom-search-input .dropdown-item {
  display: block;
}

#custom-search-input input::-webkit-input-placeholder {
  font-size: 12px !important;
}

#custom-search-input .near-group {
  display: -webkit-inline-box;
}

#custom-search-input .form-control {
  font-size: 1.1rem;
}

#custom-search-input .dropdown-menu {
  margin: 0;
  width: 327px;
  -webkit-transform: translateY(-2px) translateX(-1px);
  -ms-transform: translateY(-2px) translateX(-1px);
  transform: translateY(-2px) translateX(-1px);
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: none;
  outline-offset: 0px;
}

#custom-search-input .dropdown-item:hover {
  text-decoration: none;
}

.em-form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pac-container {
  min-width: 325px;
/*  margin-top: -2px;
  margin-left: -50px;*/
}

@media only screen and (min-width: 1200px) {
  .pull-lg-right {
    float: right;
  }
}

@media only screen and (max-width: 767px) {
  .em-form-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #simpleform {
    width: 100%;
  }
  #custom-search-input {
    width: 100%;
  }
  #custom-search-input .em-form-wrapper {
    /*display: none;*/
  }
  .em-form-group {
    background-color: transparent;
    margin-bottom: 20px;
  }
  #custom-search-input .custom-width-input {
    width: 100%;
  }
  #custom-search-input .near-group:before {
    border: none;
  }
  #custom-search-input input,
  #custom-search-input .custom-width-btn button {
    /*background-color: transparent;*/
  }
  #custom-search-input input {
    width: 100%;
  }
  .em-current-search {
    position: relative;
    display: block;
    padding: 15px 15px 15px 50px;
    margin: 0;
    background-color: #fff;
    line-height: 1;
  }
  .em-current-search-near {
    color: #999;
    font-weight: 400;
  }
  .em-icon-search {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
  }

    @media only screen and (max-width: 767px) {
        .em-icon-search {
            padding: 0px;
        }
    }

  #custom-search-input.form-focus .em-form-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #custom-search-input.form-focus .em-current-search {
    display: none;
  }
    .em-form-group-btn {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin-top: 10px;
        background-color: transparent;
    }

        .em-form-group-btn .em-search-icon {
            display: none;
        }

    .em-search-cancel,
    .em-search-text {
        display: block;
    }

    .em-search-cancel {
        color: #fff !important;
        font-size: 16px !important;
        text-decoration: none !important;
    }

    .em-search-text {
        font-size: 16px;
        font-weight: 700;
    }

    #custom-search-input .em-form-group-btn .input-group-btn {
        width: auto;
    }

    #custom-search-input .em-form-group-btn .btn {
/*        padding: 0;
        height: auto;
        border: none;*/
    }
  .pac-container {
    min-width: 320px;
  }
}
