  #autoComplete_wrapper {
  position: relative;
  display: inline-block;
}

#autoComplete {
  position: relative;
  padding: 0 2rem 0 3.5rem;
  height: 3rem;
  width: 6rem;
  font-size: 1.3rem;
  outline: none;
  border: 2px solid rgb(128, 0, 0);
  caret-color: #FFF;
  color: rgba(255, 255, 255, 0);
  /* background-color: #800000; */
  background-image: url(/assets/images/bricks/magred.svg);
  background-repeat: no-repeat;
  background-size: 2rem;
  background-origin: border-box;
  background-position: center;
  transition: all 0.4s ease;
  -webkit-transition: all -webkit-transform 0.4s ease;
  text-overflow: ellipsis;
}

#autoComplete::placeholder {
  color: rgba(128, 0, 0, 0);
  transition: all 0.3s ease;
}

#autoComplete:hover::placeholder {
  color: rgba(128, 0, 0, 0.3);
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

#autoComplete:focus::placeholder {
  padding: 0.1rem 0.6rem;
  color: rgba(128, 0, 0, 0.3);
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

#autoComplete::selection {
  color: #FFFFFF;
  background-color: rgba(128, 0, 0, 1);
}

#autoComplete:hover::selection {
  color: #800000;
  background-color: rgba(255, 255, 255, 1);
}

#autoComplete:hover {
  padding: 0 2rem 0 3.5rem;
  color: rgba(255, 255, 255, 1);
  caret-color: #fff;
  background-color: #800000;
  height: 3rem;
  width: 21rem;
  background-image: url(/assets/images/bricks/magwhite.svg);
  background-position: left 1.05rem top 50%;
  transition: all 0.3s ease;
  -webkit-transition: all -webkit-transform 0.3s ease;
}

#autoComplete:focus {
  padding: 0 2rem 0 3.5rem;
  color: rgba(128, 0, 0, 1);
  caret-color: #000;
  height: 3rem;
  width: 21rem;
  border: 0.05rem solid rgb(128, 0, 0);
  background-position: left 1.05rem top 50%;
  box-shadow: rgba(128, 0, 0, 0.1) 0px 0px 20px 5px;
}

#autoComplete:focus:hover {
  color: rgba(255, 255, 255, 1);
  caret-color: #fff;
}

#autoComplete_list {
  position: fixed;
  z-index: 1000;
  padding: 0;
  left: 0;
  right: 0;
  top:50%;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  transition: all 0.1s ease-in-out;
  -webkit-transition: all -webkit-transform 0.1s ease;
}


.autoComplete_result {
  margin: 0.15rem auto;
  padding: 0.6rem;
  max-width: 380px;
  border: 0.05rem solid #e3e3e3;
  list-style: none;
  text-align: left;
  font-size: 1.5rem;
  color: rgb(128, 0, 0);
  transition: all 0.1s ease-in-out;
  background-color: #fff;
}

.autoComplete_result::selection {
  color: rgba(#ffffff, 0);
  background-color: rgba(#ffffff, 0);
}

.autoComplete_result:last-child {
 
}

.autoComplete_result:hover {
  cursor: pointer;
  background-color: rgba(128, 0, 0);
  color: #FFFFFF;
  border-left: 2px solid rgba(128, 0, 0, 1);
  border-right: 2px solid rgba(128, 0, 0, 1);
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.autoComplete_result:focus {
  outline: none;
  background-color: rgba(128, 0, 0);
  border-left: 2px solid rgba(128, 0, 0, 1);
  border-right: 2px solid rgba(128, 0, 0, 1);
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.autoComplete_highlighted {
  color: #F08080	;
  font-weight: bold;
}

.autoComplete_highlighted::selection {
  
}

.autoComplete_selected {
  cursor: pointer;
  background-color: rgba(255, 248, 248, 0.9);
  border-left: 2px solid rgba(128, 0, 0, 1);
  border-right: 2px solid rgba(128, 0, 0, 1);
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

@media only screen and (max-width: 500px) {
    #autoCompleteDiv {
        position:relative;
        margin-bottom:7px;
    }
  #autoComplete {
   
  }
  #autoComplete_list {
    position: absolute;
    width: 80%;
    bottom: 20px;
    top: unset;
  }
  #autoComplete:focus {
    border:1px solid rgb(128,0,0);
    background-size: 1.6rem;
    background-position: left 1.1rem top 0.75rem;
  }
  .modal__container {
      position:relative;
      max-width:unset !important;
      max-height:unset !important;
      width:90%;
      height:auto;
  }
  .modal__close {
    top: 5px;
    right: 40px;
    position: absolute;
    z-index:100;
  }
  .brickpic {
      width:100%;
      margin:0;
  }

}


