:root {
    --hands-holding-circle-color: #7B1FA2;
    --graduation-cap-color:#7B1FA2; 
    --heart-color: red;
    --apple-whole-color: #558B2F;
  }
  
  /*
   * Property styles in unhighlighted state.
   */
   div.icon { margin-top: 0; }
  .property {
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 14px;
    gap: 15px;
    height: 20px;
    justify-content: center;
    padding: 4px;
    position: relative;
    position: relative;
    transition: all 0.3s ease-out;
    width: 20px;
  }
  
  .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 .icon {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
  }
  
  .property .icon svg {
    height: 15px;
    width: auto;
  }
  
  .property .details {
    display: none;
    flex-direction: column;
    flex: 1;
  }
  
  .property .address {
    color: #9E9E9E;
    font-size: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
  }
  
  .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;
  }
  
  /*
   * Property styles in highlighted state.
   */
  .property.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;
  }
  
  .property.highlight::after {
    border-top: 9px solid #FFFFFF;
  }
  
  .property.highlight .details {
    display: flex;
  }
  
  .property.highlight .icon svg {
    width: 50px;
    height: 50px;
  }
  
  .property .bed {
    color: #FFA000;
  }
  
  .property .bath {
    color: #03A9F4;
  }
  
  .property .size {
    color: #388E3C;
  }
  
  
  
  /*
   * Medical icon colors.
   */
   .property.highlight:has(.fa-graduation-cap) .icon {
      color: var(--graduation-cap-color);
    }
    
    .property:not(.highlight):has(.fa-graduation-cap) {
      background-color: var(--graduation-cap-color);
    }
    
    .property:not(.highlight):has(.fa-graduation-cap)::after {
      border-top: 9px solid var(--graduation-cap-color);
    }
  
    .property.black:not(.highlight):has(.fa-graduation-cap)  {
      background-color: black;
    }
      .property.black:not(.highlight):has(.fa-graduation-cap)::after {
          border-top: 9px solid black;
      }
  /*
   * Building icon colors.
   */
  .property.highlight:has(.fa-apple) .icon {
    color: var(--apple-whole-color);
  }
  
  .property:not(.highlight):has(.fa-apple-whole) {
    background-color: var(--apple-whole-color);
  }
  
  .property:not(.highlight):has(.fa-apple-whole)::after {
    border-top: 9px solid var(--apple-whole-color);
  }
  .property.black:not(.highlight):has(.fa-apple-whole)  {
      background-color: black;
    }
      .property.black:not(.highlight):has(.fa-apple-whole)::after {
          border-top: 9px solid black;
      }
  /*
   * Heart (default) icon colors.
   */
  .property.highlight:has(.fa-heart) .icon {
    color: var(--heart-color);
  }
  
  .property:not(.highlight):has(.fa-heart) {
    background-color: var(--heart-color);
  }
  
  .property:not(.highlight):has(.fa-heart)::after {
    border-top: 9px solid var(--heart-color);
  }
  
  .property.black:not(.highlight):has(.fa-heart)  {
      background-color: black;
  }
  .property.black:not(.highlight):has(.fa-heart)::after {
      border-top: 9px solid black;
  }
  
  /*
   * Social service icon colors.
   */
  .property.highlight:has(.fa-hands-holding-circle) .icon {
    color: var(--hands-holding-circle-color);
  }
  
  .property:not(.highlight):has(.fa-hands-holding-circle) {
    background-color: var(--hands-holding-circle-color);
  }
  
  .property:not(.highlight):has(.fa-hands-holding-circle)::after {
    border-top: 9px solid var(--hands-holding-circle-color);
  }
  .property.black:not(.highlight):has(.fa-hands-holding-circle)  {
      background-color: black;
  }
  .property.black:not(.highlight):has(.fa-hands-holding-circle)::after {
      border-top: 9px solid black;
  }