/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#autocomplete_form input,
#autocomplete_form select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 1rem;
  margin-bottom: 0.5em;
  border-width: 1px;
  border-style: solid;
  border-color: lightgray;
  border-radius: 5px 0 0 5px;
  border-right: none;
  color: #292927;
}

#autocomplete_form input:focus,
#autocomplete_form select:focus {
  outline: none !important;
  box-shadow: none !important;
}

.search_wrap {
  overflow: hidden;
}

.search_wrap div {
  font-size: 0.75em;
}

button {
  padding: 8px;
  margin-left: 0.5em;
  float: right;
  font-family: sans-serif;
}

label {
  display: block;
  margin-top: 1.25em;
  margin-bottom: 0.25em;
}

select {
  position: relative;
  z-index: 1;
  padding-right: 40px;
}

.isvalid:after {
  content: '\2713';
  color: green;
}

.notvalid:after {
  content: '\2717';
  color: red;
}

#successindicator {
  float: right;
  margin-left: 0.5em;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  height: 40px;
}

#json_result_container {
  margin: 5em 0 0;
  background-color: #eee;
  color: #333;
  /* border: solid lightgrey 1px; */
  padding: 1em;
  overflow: auto;
}

.autocomplete_wrap {
  position: relative;
  z-index: 99;
}

#suggestion_list_wrapper {
  max-height: 300px;
  z-index: 10;
  background-color: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  overflow: hidden;
  border-radius: 10px;
}

#suggestion_list_wrapper a {
  display: block;
  text-align: center;
  color: #000;
  font-family: AvenirRegular;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px; /* 146.667% */
  letter-spacing: -0.5px;  
  text-decoration: underline;
  background-color: #F6F6F6;
  padding: 0.5rem 0px;
}

#suggestion_list {
  list-style-type: none;
  overflow-y: auto;
  max-height: 202px;
  margin: 0;
  padding: 14px 0px;
  background-color: #F6F6F6;
  border: 0;
  width: 100%;
  outline: 0;
  -webkit-appearance: menulist-textfield;
}

#suggestion_list li {
  cursor: pointer;
  padding: 6px 20px;
  text-align: left;
  color: #292927;
  font-family: AvenirDemi;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
  letter-spacing: -0.5px;  
  white-space: nowrap;
}

#suggestion_list li.header {
  border-bottom: 2px solid #ddd;
}

#suggestion_list li.active {
  background-color: #4CAF50;
  color: white;
}

#suggestion_list li:hover,
#suggestion_list li.selected {
  background-color: #ddd;
}

#suggestion_list li span.location {
  font-size: 0.75em;
  color: #666;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.left {
  margin-left: 3px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.address {
  height: 140px;
  margin: 8px;
}

.map {
  height: 300px;
  width: 100%;
}

body {
  font-family: sans-serif;
  padding: 0;
  margin: 0;
}

#autocomplete_form {
  position: relative;
}

#autocomplete_form .input-height {
  height: 4.75rem;
}


#autocomplete_form input {
  padding: 1rem 0.5rem 1rem 2rem;
  font-size: 1.25rem;
  color: #292927;
}

#autocomplete_form input:disabled {
  background: #fff;
}

#autocomplete_form input::placeholder {
  opacity: 0.7;
}

#autocomplete_form .input-arrow {
  border: 1px solid lightgray;
  border-left: none;
  width: 76px;
  background: white;
  border-radius: 0 5px 5px 0;
  padding: 0.5rem;
  width: 4.75rem;
}

#autocomplete_form .input-arrow .input-arrow-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #E0004D;
  border: 1px solid #E0004D;
  border-radius: 5px;
}

#autocomplete_form .input-arrow .input-spinner-wrapper {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: #E0004D;
  border: 1px solid #E0004D;
  border-radius: 5px;
  display: none;
}

#autocomplete_form .input-arrow.loading .input-arrow-wrapper {
  display: none;
}

#autocomplete_form .input-arrow.loading .input-spinner-wrapper {
  display: flex;
}

#autocomplete_form .input-group {
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  #autocomplete_form .input-height {
    height: 3.8rem;
  }

  #autocomplete_form input {
    font-size: 1rem;
    padding: 1rem 0.5rem 1rem 1rem;
  }

  #autocomplete_form .input-arrow {
    width: 3.8rem;
  }
}

.modal-content {
  border-radius: 10px !important;
  background: #fff;
  box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.10);
}

.modal-body {
  padding: 80px 100px !important;
  display: flex;
  flex-direction: column;
}

.modal-body .btn-close {
  position: absolute;
  top: 22px;
  right: 22px;
  opacity: 1 !important;
}

.modal-title {
  color: #FE5000;
  text-align: center;
  font-family: AvenirRegular;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px !important;
  /* 100% */
  letter-spacing: -1px;
  margin-bottom: 30px !important;
}

.modal-divider {
  height: 1px;
  width: 100%;
  background-color: #EBEBEB;
  margin: 40px 0px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group-text {
  color: #FFF !important;
  font-family: AvenirRegular;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 22px !important; /* 137.5% */
  letter-spacing: -0.5px;  
  padding: 19px !important;
  background-color: #292927 !important;
  border-radius: 10px 0px 0px 10px !important;
  border: 0 !important;
}

#phone_input {
  background-color: #F6F6F6 !important;
  border-radius: 0px 10px 10px 0px !important;
  border: 0 !important;
  padding: 19px 15px !important;
  font-family: AvenirRegular;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 22px !important; /* 137.5% */
  letter-spacing: -0.5px;
  color: #292927 !important;
}

#phone_input::placeholder {
  color: #292927 !important;
  opacity: 0.4 !important;
}

.modal-terms {
  color: #292927;
  text-align: center;
  font-family: AvenirRegular;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 146.667% */
  letter-spacing: -0.2px;
  margin-bottom: 40px;
}

#modal_check_availability {
  max-width: 100%;
  width: 350px;
  margin: 0 auto;
  align-self: center;
}

@media (max-width: 768px) {
  .modal-body {
    padding: 60px 24px !important;
  }  
  .modal-title {
    font-size: 20px;
    line-height: 20px;
  }
  #suggestion_list li {
    font-size: 12px;
    line-height: 22px;
  }
  .modal-terms {
    font-size: 12px;
    line-height: 18px;
  }
  .input-group-text {
    padding: 14px !important;
  }
  #phone_input {
    padding: 14px 15px !important;
  }
  #suggestion_list_wrapper a {
    font-size: 12px;
    line-height: 18px;
}