/*
 * Always set the map height explicitly to define the size of the div element
 * that contains the map.
 */
@font-face {
  font-family: 'TheSans';
  src: url('/fonts/TheSansOffice5_.eot');
  src: local('☺'), url('/fonts/TheSansOffice5_.woff') format('woff'), url('/fonts/TheSansOffice5_.ttf') format('truetype'), url('/fonts/TheSansOffice5_.svg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TheSansLight';
  src: url('/fonts/thesans-b3-light.eot');
  src: local('☺'), url('/fonts/thesans-b3-light.woff') format('woff'), url('/fonts/thesans-b3-light.ttf') format('truetype'), url('/fonts/thesans-b3-light.svg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
#map {
  width: 80%;
  height: 650px;
  float: right;
}
#location_list_container {
  width: 20%;
  float: right;
  font: 1.2em/140% 'TheSansLight', Verdana, 'Geneva, sans-serif';
  font-weight: 200;
  overflow-y: scroll; /*muss fürs scrollen wieder auf scroll gesetzt werden!*/
  overflow-x: hidden;
  height: inherit;
  scrollbar-width: thin;
  scrollbar-color: #009a49 rgba(255, 255, 255, 0.0); /*weiss transparent damit scrollbalken unten nicht rausläuft ... Höhe wird woanders definiert*/
  text-align: center;
}
#location_list {
  font-size: 14px;
  -webkit-box-shadow: inset 55px 0px 30px 0px rgba(165, 255, 164, 0.3);
  box-shadow: inset 55px 0px 30px 0px rgba(165, 255, 164, 0.3);
  background-color: #e5f5ec;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.location_list_item {
  list-style: none;
  border-bottom: 1px solid #a3d0b3;
  padding: 5px 0px 1px 20px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font: 1.2em/140% 'TheSansLight', Verdana, 'Geneva, sans-serif';
  font-weight: 200;
  width: 100%;
}
.location_list_item:hover {
  /*-webkit-box-shadow: inset 0px 0px 15px 6px #009A49;*/
  /*box-shadow: inset 0px 0px 1px 1px #009A49;*/
}
.location_list_item a {
  text-decoration: none;
  position: relative;
  top: -7px;
  left: 5px;
}
.location_list_item:hover {
  cursor: pointer;
  background-color: #d2f8d6;
  color: #FF9800;
  /*  -webkit-box-shadow: inset 13px 0px 10px 0px rgba(165,255,164,0.5);
  box-shadow: inset 13px 0px 10px 0px rgba(165,255,164,0.5);*/
}
li.seperator {
  text-align: center;
  background: #009a49;
  color: white;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0;
  padding: 9px 0px 8px 0px;
  font: 1.2em/140% 'TheSansLight', Verdana, 'Geneva, sans-serif';
  font-weight: bold;
}
/*
 * Property styles in unhighlighted state.
 */
.property {
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 50%;
  color: #263238;
  display: flex;
  font-size: 14px;
  gap: 15px;
  height: 30px;
  justify-content: center;
  padding: 4px;
  position: relative;
  transition: all 0.3s ease-out;
  width: 30px;
}
.property::after {
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #FFFFFF;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  top: 95%;
  transform: translate(-50%, 0);
  transition: all 0.3s ease-out;
  width: 0;
  z-index: 1;
}
.property .gm-icon {
  align-items: center;
  display: flex;
  justify-content: center;
  color: #FFFFFF;
  transition: 0.5s;
}
.property .gm-icon svg {
  height: 20px;
  width: auto;
}
.property .details {
  display: none;
  flex-direction: column;
  flex: 1;
}
.property .info-close-button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
}
.property .address {
  margin-bottom: 8px;
  margin-top: 8px;
  color: #4d4d4d;
  font: 1.0em/140% 'TheSansLight', Verdana, 'Geneva, sans-serif';
  font-weight: normal;
}
.property .features {
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.property .features > div {
  align-items: center;
  background: #F5F5F5;
  border-radius: 5px;
  border: 1px solid #ccc;
  display: flex;
  font-size: 10px;
  gap: 5px;
  padding: 5px;
  font: 1.0em/140% 'TheSans', Verdana, 'Geneva, sans-serif';
}
/*
 * Property styles in highlighted state.
 */
.property.highlight {
  border-radius: 12px;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
  height: 100%;
  padding: 10px 20px 15px 20px;
  width: 100%;
  max-width: 400px;
  margin: 0px auto;
  text-align: left;
  background-color: #FFFFFF;
  border: 4px solid #009a49;
}
.property.highlight::after {
  border-top: 9px solid #FFFFFF;
}
.property.highlight .info-close-button {
  display: flex;
}
.property.highlight .details {
  display: flex;
}
.property.highlight .details .name {
  color: #009a49;
  font: 1.3em/140% 'TheSansLight', Verdana, 'Geneva, sans-serif';
  font-weight: bold;
}
.property.highlight .gm-icon svg {
  width: 50px;
  height: 50px;
}
.property.highlight .gm-icon {
  display: none;
}
.property .bed {
  color: #FFA000;
}
.property .bed {
  color: #FFA000;
}
.property .size {
  color: #000;
  font: 1.4em/140% 'TheSans', Verdana, 'Geneva, sans-serif';
  font-weight: bold;
}
.property .price {
  color: #000;
  font: 1.3em/140% 'TheSansLight', Verdana, 'Geneva, sans-serif';
  font-weight: bold;
}
/*
 * House icon colors.
 */
.property.highlight:has(.fa-house) .gm-icon {
  color: var(--house-color);
}
.property:not(.highlight):has(.fa-house) {
  background-color: var(--house-color);
}
.property:not(.highlight):has(.fa-house)::after {
  border-top: 9px solid var(--house-color);
}
/*
 * Building icon colors.
 */
.property.highlight:has(.fa-building) .gm-icon {
  color: var(--building-color);
}
.property:not(.highlight):has(.fa-building) {
  background-color: var(--building-color);
}
.property:not(.highlight):has(.fa-building)::after {
  border-top: 9px solid var(--building-color);
}
/*
 * Warehouse icon colors.
 */
.property.highlight:has(.fa-warehouse) .gm-icon {
  color: var(--warehouse-color);
}
.property:not(.highlight):has(.fa-warehouse) {
  background-color: var(--warehouse-color);
}
.property:not(.highlight):has(.fa-warehouse)::after {
  border-top: 9px solid var(--warehouse-color);
}
/*
 * Shop icon colors.
 */
.property.highlight:has(.fa-shop) .gm-icon {
  color: var(--shop-color);
}
.property:not(.highlight):has(.fa-shop) {
  background-color: var(--shop-color);
}
.property:not(.highlight):has(.fa-shop)::after {
  border-top: 9px solid var(--shop-color);
}

#map_back_btn, #map_back_btn_mobile {
  background-color: initial;
  background-image: linear-gradient(-180deg, #009A49, #00BD68);
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Inter, -apple-system, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  height: 44px;
  line-height: 44px;
  outline: 0;
  overflow: hidden;
  padding: 0 20px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: top;
  white-space: nowrap;
  width: 100%;
  z-index: 9;
  border: 0;
  font-size: 18px;
  margin-bottom: 8px;
}
#map_back_btn:hover {
  background: #004320; /*#00bd68;*/
}
* {
  box-sizing: border-box;
}
.mobile {display:none !important;}

select {
  /* Reset */
  appearance: none;
  border: 0;
  outline: 0;
  font: inherit;
  /* Personalize */
  width: 189px;
  float: left;
  padding: 5px 20px;
  background: #009a49;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 5px;
  font-size: 16px;
  background-image: url('../img/select-arrow.png');
  background-position:
    calc(100% - 10px) calc(1em - 5px), calc(100% - 5px) calc(1em + 2px), 100% 0;
  background-size:
    15px 15px, 5px 5px, 2.5em 2.5em;
  background-repeat: no-repeat;
}
select:focus {
  background-image: url('../img/select-arrow-rotated.png');
  background-position:
    calc(100% - 10px) 10px, calc(100% - 5px) 1em, 100% 0;
  background-size:
    15px 15px, 5px 5px, 2.5em 2.5em;
  background-repeat: no-repeat;
  border-color: grey;
  outline: 0;
}
/* <option> colors */
select option {
  color: #009a49;
  background-color: #fff;
}
/*!* ===== Scrollbar CSS ===== *!*/
/*!* Firefox *!*/
/** {*/
/*  scrollbar-width: auto;*/
/*  scrollbar-color: #008080 #ffffff;*/
/*}*/
/*!* Chrome, Edge, and Safari *!*/
/**::-webkit-scrollbar {*/
/*  width: 10px;*/
/*}*/
/**::-webkit-scrollbar-track {*/
/*  background: #ffffff;*/
/*}*/
/**::-webkit-scrollbar-thumb {*/
/*  background-color: #008080;*/
/*  border-radius: 10px;*/
/*  border: 2px none #ff0000;*/
/*}*/
/** XXS DEvices (Handy, 575 and below) **/

/** Desktops, 992px and up */
@media (min-width: 992px) {
  #location_list {}
}
@media (max-width:820px) {
  #location_list_container {
    display: none;
  }
  #map_back_btn_mobile {
    display: inline-block;
    width: 100%;
  }
  select {
    width: 100% !important;
  }
  #map {
    width: 100%;
    height: 500px;
    float: right;
  }
    .mobile {display: block !important}
}

@media (max-width:640px) {

  #map {
    width: 100%;
    height: 400px;
    float: right;
  }

}

/** Small devices (landscape phones, 576px and up) **/
@media (min-width: 576px) {
  #map_back_btn_mobile {
    display: none !important;
  }

}
/** Medium devices (tables, 768px and up) **/
@media (min-width: 768px) {
  #location_list {}
}
