:root {
  --house-color: #f36354;
  --bicycle-color: #2f5b3b;
  --tree-color: #2f5b3b;
  --monument-color: #f9b87c;
  --road-color: #f36354;
  --building-columns-color: #f36354;
  --masks-theater-color: #286b76;
  --landmark-dome-color: #f36354;
  --shop-color: #d9606f;
  --book-color: #286b76;
  --brush-color: #286b76;

}
.icon-map
{
  width: 2.3rem;
}
/*
 * Optional: Makes the sample page fill the window.
 */
/*html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
*/
/*
 * Always set the map height explicitly to define the size of the div element
 * that contains the map.
 */
/*
 * place styles in unhighlighted state.
 */
.place {
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 60%;
  color: #263238;
  display: flex;
  font-size: 1.2rem;
  gap: 15px;
  height: 40px;
  justify-content: center;
  padding: 4px;
  position: relative;
  position: relative;
  transition: all 0.3s ease-out;
  width: 40px;
}

.place::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;
}

.place .icon {
  align-items: center;
  display: flex;
  justify-content: center;
  color: #FFFFFF;
}

.place .icon svg {
  height: 20px;
  width: auto;
}

.place .details {
  display: none;
  flex-direction: column;
  flex: 1;
}

.place .address {
  color: #9E9E9E;
  font-size: 10px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.place .features {
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.place .features > div {
  align-items: center;
  background: #F5F5F5;
  border-radius: 5px;
  border: 1px solid #ccc;
  display: flex;
  font-size: 10px;
  gap: 5px;
  padding: 5px;
}

/*
 * place styles in highlighted state.
 */
.place.highlight {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
  height: 80px;
  padding: 8px 15px;
  width: auto;
}

.place.highlight::after {
  border-top: 9px solid #FFFFFF;
}

.place.highlight .details {
  display: flex;
}

.place.highlight .icon svg {
  width: 50px;
  height: 50px;
}

.place .bed {
  color: #FFA000;
}

.place .bath {
  color: #03A9F4;
}

.place .size {
  color: #388E3C;
}

/*
 * House icon colors.
 */
.place.highlight:has(.fa-house) .icon {
  color: var(--house-color);
}

.place:not(.highlight):has(.fa-house) {
  background-color: var(--house-color);
}

.place:not(.highlight):has(.fa-house)::after {
  border-top: 9px solid var(--house-color);
}

/*
 * building-columns icon colors.
 */
.place.highlight:has(.fa-building-columns) .icon {
  color: var(--building-columns-color);
}

.place:not(.highlight):has(.fa-building-columns) {
  background-color: var(--building-columns-color);
}

.place:not(.highlight):has(.fa-building-columns)::after {
  border-top: 9px solid var(--building-columns-color);
}

/*
 * road icon colors.
 */
.place.highlight:has(.fa-road) .icon {
  color: var(--road-color);
}

.place:not(.highlight):has(.fa-road) {
  background-color: var(--road-color);
}

.place:not(.highlight):has(.fa-road)::after {
  border-top: 9px solid var(--road-color);
}

/*
 * monument icon colors.
 */
.place.highlight:has(.fa-monument) .icon {
  color: var(--monument-color);
}

.place:not(.highlight):has(.fa-monument) {
  background-color: var(--monument-color);
}

.place:not(.highlight):has(.fa-monument)::after {
  border-top: 9px solid var(--monument-color);
}


/*
 * bicycle icon colors.
 */
.place.highlight:has(.fa-bicycle) .icon {
  color: var(--bicycle-color);
}

.place:not(.highlight):has(.fa-bicycle) {
  background-color: var(--bicycle-color);
}

.place:not(.highlight):has(.fa-bicycle)::after {
  border-top: 9px solid var(--bicycle-color);
}

/*
 * masks-theater icon colors.
 */
.place.highlight:has(.fa-masks-theater) .icon {
  color: var(--masks-theater-color);
}

.place:not(.highlight):has(.fa-masks-theater) {
  background-color: var(--masks-theater-color);
}

.place:not(.highlight):has(.fa-masks-theater)::after {
  border-top: 9px solid var(--masks-theater-color);
}

/*
 * landmark-dome icon colors.
 */
.place.highlight:has(.fa-landmark-dome) .icon {
  color: var(--landmark-dome-color);
}

.place:not(.highlight):has(.fa-landmark-dome) {
  background-color: var(--landmark-dome-color);
}

.place:not(.highlight):has(.fa-landmark-dome)::after {
  border-top: 9px solid var(--landmark-dome-color);
}

/*
 * shop icon colors.
 */
.place.highlight:has(.fa-shop) .icon {
  color: var(--shop-color);
}

.place:not(.highlight):has(.fa-shop) {
  background-color: var(--shop-color);
}

.place:not(.highlight):has(.fa-shop)::after {
  border-top: 9px solid var(--shop-color);
}

/*
 * tree icon colors.
 */
.place.highlight:has(.fa-tree) .icon {
  color: var(--tree-color);
}

.place:not(.highlight):has(.fa-tree) {
  background-color: var(--tree-color);
}

.place:not(.highlight):has(.fa-tree)::after {
  border-top: 9px solid var(--tree-color);
}

/*
 * book icon colors.
 */
.place.highlight:has(.fa-book) .icon {
  color: var(--book-color);
}

.place:not(.highlight):has(.fa-book) {
  background-color: var(--book-color);
}

.place:not(.highlight):has(.fa-book)::after {
  border-top: 9px solid var(--book-color);
}
/*
 * brush can icon colors.
 */
.place.highlight:has(.fa-brush) .icon {
  color: var(--brush-color);
}

.place:not(.highlight):has(.fa-brush) {
  background-color: var(--brush-color);
}

.place:not(.highlight):has(.fa-brush)::after {
  border-top: 9px solid var(--brush-color);
}
@media (min-width: 768px) 
{
  .map
      {
        width: 100%;
        height: 35rem;
        padding: 3rem 0 ;
      }
  #map 
  {
    height: 30rem;
  }
}
@media (max-width: 768px) 
{
  .map
      {
        width: 100%;
        height: 17rem;
        padding: 1rem 0 ;
      }
  #map 
  {
    height: 17rem;
  }
}
@media (max-width: 600px) 
{
  .map
      {
        width: 100%;
        height: 17rem;
        padding: 1rem 0 ;
      }
  #map 
  {
    height: 17rem;
  }
}

