
/* cards */
#list_elements {
  padding: 0px 20px;
  display: flex;
  flex-flow: row wrap;
}

#list_elements .card-wrapper {
  padding: 0px 10px 20px;
  width: 25%;
  /* min-width: 300px; */
}

  #list_elements .card-wrapper .list-card {
    padding: 15px;
    border-radius: 5px;
    transition: all ease .3s;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.15);
  }

  #list_elements .card-wrapper:hover .list-card {
    box-shadow: 0px 0px 30px rgba(0,0,0,0.15);
  }

.list-card .header {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 150px;
  background-color: #f2f2f2;
  transition: all ease .3s;
}

.card-wrapper:hover .list-card .header {
  transform: scale(1.05);
}

.card-wrapper:hover .list-card .header .link {
  display: block;
  height: 100%;
}

.list-card .content-card .link {
  display: block;
}

.list-card .content-card .title {
  font-size: 16px;
  font-weight: 400;
  margin: 20px 0px 0px;
  line-height: 1;
  height: 32px;
  overflow: hidden; 
  /*text-overflow: ellipsis;
  white-space: nowrap;
  */
}

.list-card .content-card .link small.localidad {
  line-height: 1.2;
  display: block;
  margin-top: 5px;
  height: 45px;
}

.list-card .description {
  display: none;
}

.list-card .footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: column;
}

  .list-card .footer-card > div {
    width: 100%;
  }

  .list-card .footer-card small {
    font-size: 75%;
    white-space: nowrap;
  }

  .list-card .footer-card .price {
    font-weight: bold;
    color: var(--e-global-color-primary);
    font-size: 20px;
    width: 100%;
  }

.list-card .content-card .attr-estate {
  background-color: #f2f2f2;
  display: flex;
  flex-flow: row wrap;
  margin: 5px 0px;
  padding: 10px;
  justify-content: space-between;
}

  .list-card .content-card .attr-estate .attr {
    width: 60%;
    font-size: 14px;
  }

    .list-card .content-card .attr-estate .attr:nth-child(2),
    .list-card .content-card .attr-estate .attr:nth-child(3) {
      width: 20%;
    }

    .list-card .content-card .attr-estate .attr i {
      color: var(--e-global-color-primary);
      width: 16px;
    }

.list-card .content-card .extras {
  height: 22px;
  line-height: 1;
  margin-top: 10px;
}

  .list-card .content-card .extras .extra {
    margin: 0px 5px;
    font-size: 16px;
    color: var( --e-global-color-primary );
    /* border: 1px solid var( --e-global-color-primary );
    padding: 2px 5px; */
    text-transform: uppercase;
    line-height: 1;
  }

  .list-card .content-card .extras .extra:first-child {
    margin-left: 0;
  }

.load-more-wrap {
  padding: 0px 20px;
  margin: 10px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.load-more-wrap .load-more-btn {
  background-color: var(--e-global-color-primary);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  display: none;
}


@media (min-width: 1281px) and (max-width: 1440px) {
  
  .list-card .content-card .attr-estate .attr {
    width: 20%;
  }

  .list-card .content-card .attr-estate .attr:nth-child(1) {
    width: 60%;
  }

}

@media (max-width: 1280px) {
  #list_elements .card-wrapper {
    width: 33.33%;
  }
}
@media (max-width: 768px) {
  #list_elements .card-wrapper {
    width: 50%;
  }
  #list_elements {
    padding: 0px 10px;
  }
}

@media (max-width: 620px) {
  #list_elements .card-wrapper {
    width: 50%;
  }
}

@media (max-width: 480px) {
  #list_elements .card-wrapper {
    width: 100%;
  }
}



/* Popup */
div#popups {
  height: 0;
  width: 0;
  overflow: hidden;
}

.my-div-icon {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 12px;
  font-weight: 600;
  opacity: 0.9;
  border: 1px solid var(--e-global-color-accent);
  position: relative;
}

.my-div-icon:after {
  content: '';
  display: block;
  width: 0px;
  height: 0px;
  border-top: 10px solid var(--e-global-color-accent);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  position: absolute;
  bottom: -10px;
}

.leaflet-popup.hover-ele,
.leaflet-popup:hover {
  z-index: 999 !important;
  opacity: 1 !important;
}

.my-div-icon.hover-ele,
.my-div-icon:hover {
  background-color: var(--e-global-color-primary);
  color: white;
  z-index: 999 !important;
  opacity: 1 !important;
}

.leaflet-popup:not(.hover-ele) .leaflet-popup-content-wrapper {
  transition: all ease .3s;
  border: 1px solid transparent;
}

.leaflet-popup.hover-ele .leaflet-popup-content-wrapper,
.leaflet-popup:hover .leaflet-popup-content-wrapper {
  border: 1px solid var(--e-global-color-primary);
}

.content-popup .photo {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100px;
  background-color: #f2f2f2;
}

.content-popup .title {
  margin: 10px 0px;
  font-size: 18px;
}

.content-popup .price {
  font-size: 16px;
  font-weight: 600;
  color: var(--e-global-color-primary);
}

.content-popup .link {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: var(--e-global-color-primary);
  text-align: right;
}

