.map-footer, .non-map {
  font-family: Arial, sans-serif !important;
}

a {
  text-decoration: none;
}

#map {
  height: 450px;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

#map .popup {
  font-family: Arial, sans-serif !important;
  font-size: 12px;
}

#map .popup .title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
}

#map .popup a.address {
  color: #005695;
  display: block;
  margin-bottom: 4px;
}

#map .popup a.address:hover {
  color: #002a49;
}

#map .popup a.external-url-link {
  color: #419639;
  font-weight: 600;
}

#map .popup a.external-url-link:hover {
  color: #295f24;
}

table#list_view {
  width: auto !important;
  border-collapse: separate !important;
  border-spacing: 0px !important;
}

table#list_view th {
  padding: 10px 8px;
  color: white !important;
  background-color: #419639 !important;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  font-family: Arial, sans-serif !important;
  text-align: left;
}

table#list_view th.link {
  display: none;
}

table#list_view tr {
  cursor: pointer;
}

table#list_view td {
  padding: 8px;
}

table#list_view tbody tr:nth-child(odd) {
  background-color: #EDEDED !important;
}

table#list_view tbody tr:nth-child(odd) td.list-view-marker {
  background: none !important;
  border-bottom: none !important;
}

table#list_view tbody tr:nth-child(odd):hover {
  background-color: rgba(65,150,57,0.15) !important;
}

table#list_view tbody tr:nth-child(even) {
  background-color: #FAFAFA !important;
}

table#list_view tbody tr:nth-child(even) td.list-view-marker {
  background: none !important;
  border-bottom: none !important;
}

table#list_view tbody tr:nth-child(even):hover {
  background-color: rgba(65,150,57,0.15) !important;
}

table#list_view tbody > tr.active > td, table#list_view tbody > tr > td.active {
  background-color: transparent !important;
}

table#list_view tbody > tr:first-of-type td {
  background: transparent !important;
  border: none !important;
}

table#list_view td.name a, table#list_view td.address a {
  font-weight: 600;
  color: #005695;
  font-size: 13px;
display: inline-block;
}

table#list_view td.address a {
  font-weight: 400;
}

table#list_view td.link {
  display: none;
}

#marker-count-display {
  margin-top: 5px;
  text-align: center;
  font-weight: 400;
  font-size: 12px;
}

.marker {
  position: relative;
  width: 29px;
  height: 43px;
  background-image: var(--wpr-bg-ec10c259-3638-4245-8659-4127c1d2c8ff);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.interactive-map {
  display: flex;
  width: calc(100% - 24px);
  flex-direction: column;
  max-width: 1440px;
  margin: 0 auto;
}

.interactive-map .preloaded-active-marker-icon {
  display: none;
}

.interactive-map .non-map {
  display: flex;
  flex-direction: row;
  padding-top: 20px;
align-items: flex-start;
}

.interactive-map .non-map #list_view {
  flex: 1;
}

.map-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

#share-results {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 16px;
  color: white;
  background: #005695;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  line-height: 1.1 !important;
}

#share-results .icon {
  margin-right: 6px;
  font-size: 15px;
  color: #fff;
}

#share-results:hover {
  background: #003962;
}

table#list_view tbody tr {
  display: none;
}

table#list_view tbody tr.active {
  display: table-row;
}

table#list_view tbody tr.list-view-marker td.image > a {
  display: block;
  background-position: center;
  background-size: cover;
  width: 100px;
  height: 75px;
}

.marker-popup {
  background: red;
  color: white;
}

.marker .popup {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: -135px;
  z-index: 999;
  width: 300px;
  background: white;
  border-radius: 3px;
  padding: 12px 16px 12px 12px;
  box-shadow: 0 0 6px -2px #333333;
}

.marker .popup:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 140px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

.marker.show-popup .popup {
  display: block;
  font-family: Arial, sans-serif !important;
}

.marker .popup > .content {
  display: flex;
  position: relative;
}

.marker .popup > .content > .close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 10px;
  height: 10px;
}

.marker .popup > .content > .close:before {
  content: 'X';
  color: #333333;
}

.marker .popup > .content > .left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker .popup > .content > .left img {
  max-width: 100px;
  margin-right: 10px;
}

.marker .popup > .content > .right {
  color: #333333;
}

.marker .popup > .content > .right .title {
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #73B18A;
}

.marker .popup > .content .tagline {
  font-size: 14px;
  line-height: 16px;
  font-style: italic;
  margin-bottom: 5px;
  color: #333333;
}

.marker .popup > .content .tagline p {
  margin: 0;
}

.marker .popup > .content .features {
  margin-top: 10px;
}

.marker .popup hr {
  margin: 10px 0;
}

.marker .popup > .content > .right .main {
  margin-bottom: 5px;
}

.marker .popup > .content > .right .address {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  color: #009EB3;
  transition: 300ms all linear;
}

.marker .popup > .content > .right .address:hover {
  color: #006e7d;
}

.marker .popup > .content > .right .external-url-link {
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #009EB3;
  transition: 300ms all linear;
}

.marker .popup > .content > .right .external-url-link:hover {
  color: #006e7d;
}

.ol-overlay-container.bring-to-front {
  z-index: 10;
}

.interactive-map > .filters {
  overflow: hidden;
}

.interactive-map > .filters .drawer.open {
  max-height: initial;
}

.interactive-map > .filters ::-webkit-input-placeholder,
.interactive-map > .filters ::-webkit-input-placeholder,
.interactive-map > .filters ::-moz-placeholder,
.interactive-map > .filters :-ms-input-placeholder,
.interactive-map > .filters :-moz-placeholder {
  /* Firefox 18- */
  font-style: italic;
  color: rgba(51, 51, 51, 0.4);
}

.interactive-map > .filters ::placeholder,
.interactive-map > .filters ::-webkit-input-placeholder,
.interactive-map > .filters ::-moz-placeholder,
.interactive-map > .filters :-ms-input-placeholder,
.interactive-map > .filters :-moz-placeholder {
  /* Firefox 18- */
  font-style: italic;
  color: rgba(51, 51, 51, 0.4);
}

#text_search {
  display: block;
  line-height: 1.42857143;
  background-color: #fff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px !important;
  /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);*/
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  padding: 6px 12px;
  width: calc(100% - 24px);
  font-family: Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 400 !important;
  color: #333333;
  font-style: normal;
  margin-bottom: 8px;
}

#text_search::-webkit-input-placeholder, #text_search::-webkit-input-placeholder, #text_search::-moz-placeholder, #text_search:-ms-input-placeholder, #text_search:-moz-placeholder {
  /* Firefox 18- */
  font-style: italic;
  color: rgba(51, 51, 51, 0.4);
}

#text_search::placeholder, #text_search::-webkit-input-placeholder, #text_search::-moz-placeholder, #text_search:-ms-input-placeholder, #text_search:-moz-placeholder {
  /* Firefox 18- */
  font-style: italic;
  color: rgba(51, 51, 51, 0.4);
}

.interactive-map > .filters #text_search ~ .message {
  display: none;
  margin-top: -10px;
  font-size: 10px;
  color: red;
}

.interactive-map > .filters #text_search.show-message ~ .message {
  display: block;
}

.section-heading {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 4px;
  padding: 7px 12px;
  font-family: Arial, sans-serif !important;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 2px;
  color: #005695;
  text-transform: uppercase;
}

.section-heading:before, .section-heading:after {
  content: "";
  height: 1px;
  border-top: 1px solid rgba(0, 86, 149, 0.44);
}

.section-heading:before {
  width: 8px;
  margin-right: 8px;
}

.section-heading:after {
  flex: 1;
  margin-left: 8px;
}

.section-heading.first {
  margin-top: 0px !important;
}

#tag_form {
  width: 100%;
}

#tag_form label {
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif !important;
  font-size: 13px;
  font-style: normal;
  color: #333333;
  margin-bottom: 8px;
}

#tag_form label .text {
  display: inline-block;
  margin-left: 10px;
  font-family: Arial, sans-serif !important;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  color: #333333;
}

#tag_form label input[type='checkbox']:checked ~ .text {
  font-weight: 700;
  color: #333333;
}

#tag_form label input[type='checkbox'] {
  display: none;
}

#tag_form label input[type='checkbox'] ~ .checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  min-width: 15px;
  height: 15px;
  min-height: 15px;
  margin: 0;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 10px;
  font-style: normal;
  color: #005695;
  background: #fff none;
}

#tag_form label input[type='checkbox'] ~ .checkbox:after {
  content: '';
  margin-top: -2px;
}

#tag_form label input[type='checkbox'] ~ .checkbox:focus, #tag_form label input[type='checkbox'] ~ .checkbox:active {
  border: 1px solid #005695;
}

#tag_form label input[type='checkbox']:checked ~ .checkbox {
  border: 1px solid #005695;
}

#tag_form label input[type='checkbox']:checked ~ .checkbox:after {
  content: 'x';
  font-size: 16px;
  font-weight: 400;
}

.interactive-map #reset_button_container {
  display: flex;
  justify-content: center;
}

.interactive-map #reset_button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 7px 20px;
  background: #419639;
  font-family: Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 50px;
  color: white;
  transition: 300ms all linear;
}

.interactive-map #reset_button:hover {
  background: #295f24;
}

.interactive-map #reset_button .icon {
  height: 20px;
  margin-right: 8px;
  color: white;
}

#toggle_search_filters_button {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  background: rgba(65, 150, 57, 0.5);
  color: white;
  text-decoration: none;
  transition: 300ms all linear;
}

#toggle_search_filters_button:hover {
  opacity: 0.85;
}

#tag_form .checkbox-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

#tag_form .checkbox-group > label {
  flex-basis: 32%;
}

@media (max-width: 1200px) {
  .interactive-map {
    margin: 0 20px;
  }
}

@media (min-width: 800px) {
  .non-map > .filters {
    width: 800px;
    margin-right: 20px;
  }
  #toggle_search_filters_button {
    display: none;
  }
}

@media (max-width: 800px) {
  .interactive-map > .results {
    margin-top: 20px;
  }
  .interactive-map > .non-map {
    flex-direction: column;
  }
  .non-map > .filters .drawer {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  .non-map > .filters .drawer:not(.open) {
    max-height: 0;
  }
  #toggle_search_filters_button {
    display: block;
  }
  .interactive-map-content {
    margin: 0 20px;
  }
  .interactive-map {
    flex-direction: column;
  }
  .non-map > .filters #text_search {
    width: 90%;
  }
  .non-map > .filters .checkbox-group {
    width: 90%;
    margin: 0 auto;
  }
  #list_view th.image, #list_view td.image {
    display: none;
  }
}

@media (max-width: 400px) {
  .map-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #marker-count-display {
    margin-bottom: 5px;
  }
}
