/**
* Template Name: HouseSuite
* Template URL: https://juanbeloso.com
* Updated: Mar 17 2024 with Tailwins CSS
* Author: Juan Beloso
* License: https://juanbeloso.com
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Poppins", sans-serif;
  color: #555555;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
}

.submenu {
            display: none;
        }

.menu-item:hover .submenu {
	display: block;
}

.card-box {
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  max-height: 250px;
  

}

.card-box .img-a {
  transition: 0.8s all ease-in-out;
}


.card-box:hover .card-overlay-a-content {
    bottom: 60px;
  }
  
  .card-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.card-shadow {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  max-height: 250px;
}

.card-shadow:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 27%, rgba(0, 0, 0, 0.65) 90%);
}
  
.card-overlay-a-content {
  transition: all 0.5s ease-in;
  position: absolute;
  width: 100%;
  bottom: 0px;
  z-index: 2;
}

.card-header {
  padding: 0 1rem;
}

.card-header .card-title {
  color: #ffffff;
  margin-bottom: 0;
  padding-bottom: 0.7rem;
}
.card-body {
  z-index: 2;
  transition: all 0.5s ease-in;
  padding: 0rem 1rem 1rem 1rem;
}

.card-footer {
  width: 100%;
  position: absolute;
  z-index: 2;
  background-color: #2eca6a;
  color: #fff;
}

.card-info {
  list-style: none;
  margin-bottom: 0;
  padding: 0.5rem 0;
}

.card-info .card-info-title {
  font-size: 1rem;
  color: #313131;
}

/* Single property */
.title-single-box {
  border-left: 3px solid #2eca6a;
}
.title-single-box h3 {margin-left: 10px; }

#property-single-carousel {
  max-height: 500px;  
}

#property-single-carousel .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px !important; 
}

@media (max-width: 768px) {
	#property-single-carousel .swiper-slide {
	  height: 250px !important; 
	}
}

#property-single-carousel .swiper-slide img {
  max-height: 100%;
  width: 100% !important;
  object-fit: cover;
  margin: auto;
}

.swiper-pagination {
  bottom: 50px;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 18px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 0;
  opacity: 1;
  transition: 0.3s;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #2eca6a;
  width: 36px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  color: #2eca6a;
}

/* Back to top */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #22C55E;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Prelaoder */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #2eca6a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Iconos */
.icono-cama {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/cama.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-superficie {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/metro.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-bano {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/banera.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-plano {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/plano-de-la-casa.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-ecologico {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/hogar-ecologico.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-dormitorio {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/dormitorio.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-aseo {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/cuarto-de-bano.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-tipo {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/casa-moderna.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-operacion {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/casa-nueva.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-garaje {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/garaje-de-la-casa.png');
	background-size: contain;
	background-repeat: no-repeat;
}
.icono-planta {
	width: 32px;
	height: 32px;
	background-image: url('/storage/icons/botones-de-ascensor.png');
	background-size: contain;
	background-repeat: no-repeat;
}


.img-cover {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Hace que la imagen cubra todo el div */
}
.center-img-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.center-img {
	max-width: 100%;
	height: auto;
}

/* Google Maps */
.map-container {
	height: 400px; /* Ajusta el tamaño según tus necesidades */
	width: 100%;
}
.map-container iframe {
	top: 0;
	left: 0;
	width: 100%; /* Ajusta el ancho del iframe */
	height: 400px; /* Ajusta la altura del iframe */
	border: none; /* Elimina el borde del iframe si lo deseas */
}