/**
 * Posts Locator search form stylesheet "gray"
 * Have to !important a LOT thanks to the WP theme used
 */
:root {
  --gmw-color-accent: #ef5a20;
  --gmw-form-color-accent: var(--gmw-color-accent);
  --gmw-link-color: #4f82c1;
  --gmw-link-hover-color: #4f82c1;
}

.gmw-form-wrapper.gmw-template-ASMP-FAA .faph-form {
  --gmw-elements-gap: 1rem;
  --gmw-form-elements-gap: var(--gmw-elements-gap);
}
.faph-form .gmw-flexed-wrapper {
  gap: var(--gmw-form-elements-gap);
}

.gmw-template-ASMP {
  padding-bottom: 2em;
}

.faph-form__heading {
  font-weight: normal;
  margin: 0 0 1em;
  display: none;
}
.faph-form label {
  line-height: 2.5;
  font-size: 0.85em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #555;
}
.faph-form label span {
  color: #a5afaf !important;
  font-weight: 200;
}
.faph-form label span.fa {
  font-size: 1.25em;
  font-weight: normal;
  margin-right: 0.25em;
  width: auto;
}
.faph-form .gmw-submit,
.faph-form input[type=text],
.faph-form select {
  box-shadow: none;
  padding: 0 1em;
  line-height: 3;
}
.faph-form input[type=text],
.faph-form select {
  border: 1px solid #ccc;
  border-radius: 0;
  width: 100%;
}
.faph-form input[type=text] {
  height: 3.125em;
}
.faph-form select {
  height: 3em;
  height: calc(3em + 2px);
}
.faph-form .gmw-submit {
  background: #4e84c4;
  border-radius: 0.25em !important;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.07em;
  margin: 1em 0 0 !important;
  padding: 0 2em !important;
  text-transform: uppercase;
  width: auto;
}
.faph-form .gmw-submit:hover, .faph-form .gmw-submit:active {
  background: #f05a22 !important;
}
.faph-form input::-moz-placeholder, .faph-form textarea::-moz-placeholder {
  color: #a5afaf;
  font-style: italic;
}
.faph-form input::placeholder,
.faph-form textarea::placeholder {
  color: #a5afaf;
  font-style: italic;
}
.faph-form__specialties, .faph-form__name {
  margin: 0 0 var(--gmw-form-elements-gap);
}
.faph-form__sort, .faph-form__view {
  display: none;
}

/*
 * Select2 fixes (theme uses !important like a punk)
 */
body .gmw-template-ASMP .select2-container .select2-selection--single .select2-selection__rendered {
  padding-block: 0;
}
body .gmw-template-ASMP .select2-container .select2-selection {
  min-height: 3.125em;
}

.faph-form__location-location {
  flex-basis: calc(70% - var(--gmw-form-elements-gap));
}
.faph-form__location-radius {
  flex-basis: calc(30% - var(--gmw-form-elements-gap));
}

.gmw-template-ASMP.gmw-form-wrapper .gmw-locator-btn-within-wrapper {
  cursor: pointer;
  padding: 5px 5px;
  position: absolute;
  right: 5px;
  height: 25px;
  width: 25px;
  top: 6px;
  background: none;
  border: 0px;
}
.gmw-template-ASMP .gmw-locator-btn-within-wrapper:hover {
  background: none;
  border: 0px;
}
.gmw-template-ASMP div.gmw-address-field-wrapper i.gmw-locator-button {
  font-size: 24px;
  height: 50%;
}