@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

.elementor-shortcode .properties-search-block {
  display: flex;
  gap: 35px;
  justify-content: center;
}

.location-select {
  display: none;
}

.properties-search.location input[type="submit"] {
  font-size: 0;
  background-image: url(../images/search.svg);
  background-position: center;
  background-repeat: no-repeat;
  padding: 13px 27.5px;
  background-color: #D8D8D8;
  border-radius: 0 5px 5px 0;
  border: none;
}

.properties-search.location input[type="submit"]:hover {
  background-image: url(../images/white-search.svg);
  background-color: #011F5B;
}

.properties-search input[type="search"] {
  border: 1px solid #0000001F;
  min-height: 50px;
  border-radius: 5px;
  font-family: "Lexend", sans-serif;
  font-size: 18px;
}

.properties-search input[type="search"]::placeholder {
  color: #515151;
  opacity: 100%;
}

.properties-search.location {
  display: flex;
  max-width: 520px;
  width: 100%;
}

.properties-search.location input[type="search"] {
  border-radius: 5px 0 0 5px;
  outline: none;
}


.properties-search.zipcode {
  max-width: 250px;
  width: 100%;
}

.view-by-text {
  display: flex;
  align-items: center;
  border: 1px solid #0000001F;
  border-radius: 5px;
  max-width: fit-content;
}

.view-by-text a {
  padding: 13px 22px;
  display: flex;
  gap: 15px;
  color: #000;
  font-family: "Lexend", sans-serif;
}

.view-by-text #map-icon {
  border-radius: 5px 0 0 5px;
}

.view-by-text #grid-icon {
  border-radius: 0 5px 5px 0;
  min-height: 40px;
}

.view-by-text a:hover {
  background-color: #011F5B;
  color: #fff;
  font-family: "Lexend", sans-serif;
}

.view-by-text .activemap,
.view-by-text .activegrid {
  background-color: #011F5B;
  color: #fff;
}

.view-by-text a:hover svg path {
  fill: #fff;
}

.view-by-text .activemap svg path,
.view-by-text .activegrid svg path {
  fill: #fff;
}



input#keywordSearch:focus,
select#location:focus {
  outline: none;
}

.properties-content ::placeholder {
  color: #515151 !important;
}

.properties-search input[type="submit"] {
  font-size: 0;
  border-radius: 0;
  background-position: center;
  background-repeat: no-repeat;
}

.properties-select-block {
  max-width: 340px;
  width: 100%;
}

.properties-cards-scroll {
  max-width: 470px;
  background-color: #F3F3F3;
  padding: 25px;
  height: 745px;
  overflow: auto;
  border-radius: 5px;
}

.properties-card-text h3,
.properties-card-text h3 a {
  color: #011F5B !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  margin: 0;
  text-transform: uppercase;
  font-family: "Lexend", sans-serif;
}

.properties-card-text p {
  margin: 0;
  color: #515151;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  font-family: "Lexend", sans-serif;
  display: flex;
}

.properties-cards.display-property:hover .properties-card-text p svg path {
  fill: #fff;
}

.properties-cards.display-property:hover .properties-card-text p {
  color: #fff;
}

.properties-card-text p svg {
  vertical-align: sub;
  margin-right: 10px;
  max-width: 14px;
  width: 100%;
  margin-top: 5px;
}

.properties-card-text p a {
  display: flex;
  color: #515151;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  font-family: "Lexend", sans-serif;
}

.properties-card-text p a:hover {
  font-weight: 400;
  font-family: "Lexend", sans-serif;
  line-height: 30px;
}

.properties-cards.display-property {
  margin-bottom: 14px;
  cursor: pointer;
  border: 1px solid #0000001F;
  border-radius: 5px;
  background: #fff;
  padding: 5px 20px 20px 20px;
}

.properties-cards.display-property:hover {
  background-color: #011F5B;
  transition: .3s;
}

.properties-cards.display-property:hover .properties-card-text h3 a {
  color: #fff !important;
  transition: .3s;
}

.properties-cards.display-property:hover .properties-card-text p a {
  color: #fff;
  transition: .3s;
}

.properties-card-text h3 a:hover {
  font-size: 18px !important;
  line-height: 25px;
  font-weight: 600;
  font-family: "Lexend", sans-serif;
}

.properties-cards.display-property .view-more-btn {
    font-family: "Lexend", sans-serif;
}

.properties-in-grid-wr {
  padding-top: 61px;
}

.no-post-found {
  padding: 30px;
  color: #000;
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.community_map #map {
  min-height: 745px;
  display: block;
  width: 100%;
  border-radius: 5px;
}

.properties-cards-block.clearfix {
  width: 40%;
  display: inline-block;
  vertical-align: middle;
}

.community_map {
  display: inline-block;
  width: 59.5%;
  vertical-align: middle;
  padding-left: 30px;
}

.mapimg img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  border-radius: 0;
  background: #0000;
}

::-webkit-scrollbar-thumb {
  background: #999999;
}

.community_map .gm-style-iw-d {
  overflow: unset !important;
  max-height: unset !important;
}

.community_map .gm-style-iw.gm-style-iw-c {
  padding: 0;
  border-radius: 5px;
}

.community_map .gm-style-iw-chr {
  display: none;
}

.view-more-btn {
  width: 100%;
  display: inline-block;
  padding: 11px 0;
  border: 1px solid #0000001F;
  text-align: center;
  position: relative;
  font-size: 18px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  color:#011F5B !important;
  border-radius: 5px;
  font-family: "Lexend", sans-serif;
  text-transform: capitalize;
}

.view-more-btn:hover,
.view-more-btn:hover span {
  color:#011F5B !important;
}

.properties-card-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.view-more-btn:before {
  content: "";
  background: #D8D8D8;
  width: 50px;
  position: absolute;
  right: 0;
  height: 46px;
  transition: width 0.4s ease, background-color 0.4s ease;
  top: 0;
  border-radius: 0 2px 2px 0;
}

.view-more-btn:hover:before {
  border-radius: 2px;
}

.view-more-btn:after {
  content: "";
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat;
  width: 21px;
  height: 12px;
  position: absolute;
  right: 15px;
  z-index: 99;
  left: unset;
  top: 50%;
  transform: translateY(-50%);
}

.view-more-btn span {
  position: relative;
  z-index: 1;
}

.view-more-btn:hover:before {
  width: 100%;
}

.properties-cards.display-property:hover .view-more-btn {
  border: 1px solid #fff;
  color: #fff !important;
}

.properties-cards.display-property:hover .view-more-btn:before {
  background: #fff;
}

.properties-in-list-wr {
  padding-top: 60px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  display: none;
}

.properties-in-list-wr .properties-cards.display-property {
  max-width: 380px;
  box-shadow: 0 4px 40px 0 #0000001F;
  border: none;
  border-radius: 10px;
  margin-bottom: 0;
  position: relative;
}


.properties-in-list-wr .properties-cards.display-property .card-footer {
    position: absolute;
    bottom: 20px;
    right: 0;
    left: 0;
    padding: 0 20px;
}

.properties-in-list-wr .properties-cards .directory-content {
    padding-bottom: 60px;
}

.properties-in-list-wr .properties-card-text h3,
.properties-in-list-wr .properties-card-text h3 a {
  font-weight: 700;
  line-height: 30px;
}

/*.properties-in-list-wr .properties-card-text h3 {
  padding-right: 90px;
}*/

.properties-in-list-wr .properties-card-text .content-field p {
  font-size: 16px;
}

.info-window-content {
  padding: 10px 15px;
  max-width: 265px;
  width: 100%;
  /*    border: 1px solid #515151;*/
  border-radius: 5px;
}

.community_map .info-map-innr-wr {
  padding: 0;
}

.community_map .info-map-innr-wr .title a,
.community_map .info-map-innr-wr .title a:hover {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-transform: uppercase;
  color: #011F5B;
  outline: none;
  font-family: "Lexend", sans-serif;
}


.community_map .info-map-innr-wr .building-type a,
.community_map .info-map-innr-wr .building-type a:hover,
.community_map .info-map-innr-wr .address a,
.community_map .info-map-innr-wr .address a:hover {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  font-family: "Lexend", sans-serif;
}

.community_map .info-map-innr-wr .address a, 
.community_map .info-map-innr-wr .address a:hover{
  display: flex;
}

.community_map .info-map-innr-wr .building-type a svg,
.community_map .info-map-innr-wr .address a svg {
  margin-right: 10px;
  vertical-align: middle;
  max-width: 15px;
  width: 100%;
}

.community_map .info-map-innr-wr hr {
  border-color: #0000001A;
  box-shadow: none;
  height: 1px;
  margin: 6px 0;
}

.community_map .info-map-innr-wr .title {
  margin-bottom: 8px;
}

.gmnoprint[role="menubar"] {
  gap: 10px !important;
}

.properties-search input[type="search"]::-webkit-search-cancel-button {
  appearance: none; /* Removes default styling */
  background-color: transparent; /* Optional: Makes background transparent */
  border: none;
  height: 16px;
  width: 16px;
  content: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" stroke="black" stroke-width="1"><path d="M18.36 5.64a1 1 0 010 1.41L13.41 12l4.95 4.95a1 1 0 01-1.41 1.41L12 13.41l-4.95 4.95a1 1 0 01-1.41-1.41L10.59 12 5.64 7.05a1 1 0 011.41-1.41L12 10.59l4.95-4.95a1 1 0 011.41 0z"/></svg>');
}


@media screen and (max-width: 1200px) {

  .properties-in-grid-wr,
  .properties-in-list-wr {
    padding-top: 40px;
  }

  .elementor-shortcode .properties-search-block {
    gap: 25px;
  }

  .properties-in-list-wr .properties-card-text h3 {
    padding-right: 0;
  }
}

@media screen and (max-width: 1024px) {
  .properties-in-list-wr {
    padding-top: 40px;
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
  }

  .properties-in-list-wr .properties-cards.display-property {
    max-width: 100%;
  }

  .properties-search input[type="search"],
  .properties-search.location input[type="submit"] {
    min-height: 40px;
    max-height: 40px;
    height: 100%;
    opacity: 100%;
  }

  .view-by-text a {
    padding: 8px 22px;
    align-items: center;
  }

  .properties-in-grid-wr,
  .properties-in-list-wr {
    padding-top: 30px;
  }
}


@media screen and (max-width: 881px) {
  .properties-cards-scroll {
    padding: 15px;
  }

  .view-more-btn {
    padding: 8px 0;
  }

  .view-more-btn:before {
    height: 40px;
  }

  .community_map {
    padding-left: 30px;
  }
}

@media screen and (max-width: 768px) {
   .properties-search input[type="search"]{
    font-size: 15px;
    padding: .5rem 0.5rem;
   }
}
@media screen and (max-width: 767px) {

  .properties-cards-block.clearfix,
  .community_map {
    width: 100%;
  }

  .properties-cards-scroll {
    max-width: 100%;
  }

  .community_map {
    padding-left: 0;
    padding-top: 30px;
  }

  .view-by-text a {
    padding: 8px 15px;
    gap: 10px;
  }

  .elementor-shortcode .properties-search-block {
    gap: 10px;
  }

  .properties-in-grid-wr,
  .properties-in-list-wr {
    padding-top: 20px;
  }

  .properties-cards-scroll {
    max-height: 745px;
    height: 100%;
}

.properties-cards.display-property:last-child{
  margin-bottom: 0;
}
}


@media screen and (max-width: 699px) {
  .properties-in-list-wr {
    padding-top: 30px;
    gap: 20px;
    grid-template-columns: repeat(1, 1fr);
  }

  .community_map #map {
    min-height: 550px;
  }

  .elementor-shortcode .properties-search-block {
    flex-direction: column;
  }

  .properties-search.zipcode,
  .properties-search.location {
    max-width: 100%;
  }
}

@media screen and (max-width: 375px) {
  .view-more-btn {
    text-align: start;
    padding: 8px 10px;
  }
}

/*Home page Filter End*/