::selection {
  background-color: var(--primary-color-transparent);
  color: var(--secondary-color-color-transparent);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

/* Font Size */
.h1,
h1 {
  margin-bottom: 1.5rem;
  font-weight: 200;
  line-height: 1.2;
}

.h2,
.h3,
.h4,
.h5,
.h6,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5rem;
  font-weight: 200;
  line-height: 1.2;
}

.fs-8 {
  font-size: 8px;
}

.fs-10 {
  font-size: 10px;
}

.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.fs-16 {
  font-size: 16px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

.fs-30 {
  font-size: 30px;
}

.fs-36 {
  font-size: 36px;
}

.fs-38 {
  font-size: 38px;
}

.font-weight-semibold {
  font-weight: 600 !important;
}

/* Colores */
.color-primary {
  color: var(--primary-color) !important;
}
.color-secondary {
  color: var(--secondary-color) !important;
}
.color-white {
  color: #fff !important;
}
.color-dark {
  color: #000 !important;
}
.bg-light {
  background-color: #f9f9f9 !important;
}
.bg-gray {
  background-color: #eee !important;
}
.bg-none {
  background-color: rgba(0, 0, 0, 0) !important;
}

/* Margin & Padding*/
.m-0 {
  margin: 0;
  padding: 0;
}

.mt-50 {
  margin-top: 50px;
}

.pt-100 {
  padding-top: 100px !important;
}

.pb-100 {
  padding-bottom: 100px !important;
}

.py-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.py-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.py-30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.p-15per {
  padding: 15%;
}

.p-30per {
  padding: 0 30% 0 20%;
}

.p-5per {
  padding: 5%;
}

.pt-banner-100 {
  padding-top: 100px;
}

.py-404 {
  padding-top: 12%;
  padding-bottom: 12%;
}

.pb-12per {
  padding-bottom: 12%;
}

.p-sides-none {
  padding-left: 0;
  padding-right: 0;
}
.text-content {
  margin-top: 0;
  margin-bottom: 2rem;
  line-height: 25px !important;
}

/* Header */
.header {
  background-color: var(--secondary-color);
  color: #fff;
  height: 39px;
  padding-top: 10px;
  font-size: 12px;
}

.header a {
  color: #ffffff;
  text-decoration: none;
}

/* Menu */
.navbar {
  min-height: 80px;
  font-weight: 600;
  color: #5e5e5e;
}

.navbar .nav-item {
  margin-right: 20px;
}

.navbar-nav .active > .nav-link {
  color: var(--secondary-color) !important;
}

.nav-link {
  color: var(--secondary-color);
}

.nav-link.active {
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
}

ul.nav li.active.nav-item {
  background-color: var(--secondary-color);
  color: #fff !important;
  border-radius: 50%;
}

ul.nav li.active.nav-item a.nav-link {
  color: #fff;
}

/* Botones */
.btn {
  border-radius: 26px;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  font-weight: normal;
  padding-left: 23px;
  padding-right: 23px;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}
.btn-primary-transparent {
  border-color: var(--primary-color);
  color: #fff;
  font-weight: bold;
}
.btn-primary-transparent:hover {
  background-color: var(--primary-color-transparent);
  border-color: var(--primary-color);
  color: #fff;
}
.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
  font-weight: bold;
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.btn-secondary-transparent {
  border-color: var(--secondary-color);
  color: #fff;
  font-weight: bold;
}
.btn-secondary-transparent:hover {
  background-color: var(--secondary-color-transparent);
  border-color: var(--secondary-color);
  color: #fff;
}
.btn-gray {
  color: #000;
  background-color: #c4c5c5;
  border-color: #c4c5c5;
}
.btn-gray:hover {
  color: #000;
  background-color: #e7e9e9;
  border-color: #c4c5c5;
}
.btn-outline-primary {
  font-weight: bold;
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}
.btn-outline-primary:hover {
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  color: #ffffff;
}
.btn-outline-primary:focus {
  outline: none !important;
  box-shadow: none !important;
  color: #fff;
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}
.show > .btn-outline-primary.dropdown-toggle {
  color: #ffffff;
  background-color: #a3a3a3;
  border-color: #a3a3a3;
}
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.178);
  border-color: #a3a3a3;
}

/* Inputs */
.form-control {
  border-radius: 1rem;
  background-color: #ebebeb;
  border-color: #ebebeb;
  color: var(--secondary-color);
  padding-left: 20px;
}

.custom-select {
  border-radius: 1rem;
  border-color: #ebebeb;
  color: var(--secondary-color);
  padding-left: 20px;
  background: #ebebeb url("../../assets/user/triangle-filled-svgrepo-com.svg") right 0.75rem center/8px 10px no-repeat;
}

.custom-select-filtros {
  font-weight: 600 !important;
  font-size: 14px;
}

.custom-select-filtros:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.178);
  border-color: #a3a3a3;
}

.input-group-lg > .form-control {
  height: 48px !important;
  font-size: 16px;
}

input:focus,
select:focus,
select,
input.form-control:focus {
  outline: none !important;
  outline-width: 0 !important;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

/* Input Range */
input[type="range"] {
  height: 37px;
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px var(--primary-color);
  background: var(--secondary-color);
  border-radius: 4px;
  border: 0px solid var(--primary-color);
}

input[type="range"]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px var(--primary-color);
  border: 1px solid var(--primary-color);
  height: 30px;
  width: 10px;
  border-radius: 5px;
  background: var(--primary-color);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -10.5px;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: var(--secondary-color);
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px var(--primary-color);
  background: var(--secondary-color);
  border-radius: 4px;
  border: 0px solid var(--primary-color);
}

input[type="range"]::-moz-range-thumb {
  box-shadow: 0px 0px 0px var(--primary-color);
  border: 1px solid var(--primary-color);
  height: 30px;
  width: 10px;
  border-radius: 5px;
  background: var(--primary-color);
  cursor: pointer;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: var(--secondary-color);
  border: 0px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 0px 0px 0px var(--primary-color);
}

input[type="range"]::-ms-fill-upper {
  background: var(--secondary-color);
  border: 0px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 0px 0px 0px var(--primary-color);
}

input[type="range"]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px var(--primary-color);
  border: 1px solid var(--primary-color);
  height: 30px;
  width: 10px;
  border-radius: 5px;
  background: var(--primary-color);
  cursor: pointer;
}

input[type="range"]:focus::-ms-fill-lower {
  background: var(--secondary-color);
}

input[type="range"]:focus::-ms-fill-upper {
  background: var(--secondary-color);
}
.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  outline: none;
  opacity: 0.8;
  -webkit-transition: 0.15s ease-in-out;
  transition: opacity 0.15s ease-in-out;
}
.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  color: var(--primary-color);
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}
.custom-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}

/* Footer */
#footer {
  background-color: var(--secondary-color) !important;
  padding-bottom: 1px;
  padding-top: 40px;
}

.title-footer {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding-left: 60px;
}

.listado-footer {
  padding-left: 60px;
}

.listado-footer li {
  list-style-type: none;
  color: #fff;
  font-size: 12px;
}

.listado-footer li a {
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.separador {
  position: absolute;
  left: 15px;
  top: 10px;
}

.franja-inferior-footer {
  background: var(--primary-color);
  padding-top: 0px;
  padding-bottom: 7px;
}
.disclaimer {
  font-size: 12px;
  color: var(--secondary-color);
  padding-top: 10px;
  font-weight: bold;
}

/* Banner Secciones  */
.section-banner {
  position: relative;
  min-height: 30vh !important;
  color: #fff;
  overflow: hidden;
}
.background-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.background-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Banner Small */
.background-banner-small {
  background-color: var(--secondary-color);
}
.background-banner-small a {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

/* Banner Principal */
.main-banner {
  position: relative;
  min-height: 40vh !important;
  overflow: hidden;
}
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.background-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.filters-main {
  background-color: #fff;
  border-radius: 34px;
}
.default-link {
  text-decoration: underline;
}
.default-link-clean a:hover {
  text-decoration: none;
}

/* Bienes */
a .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}
.link-card:hover {
  text-decoration: none !important;
  cursor: pointer;
}
.card {
  border: none;
  transition: 0.5s;
}
.card-body {
  background-color: #fff;
  padding: 1rem;
  min-height: 196px;
}
.card-footer {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 4px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 0px 0px 10px 10px !important;
  cursor: pointer;
}
.card-footer-proyecto {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 4px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 0px 0px 10px 10px !important;
  cursor: pointer;
}
.card-img-top {
  border-radius: 10px 10px 0px 0px;
  height: 190px;
  object-fit: cover;
  object-position: center;
}
.label {
  position: absolute;
  right: 0;
  top: 20px;
  font-size: 12px;
  color: #ffffff;
  font-weight: bold;
}
.labelUnidad {
  background-color: var(--primary-color);
  padding: 8px;
  border-radius: 6px 0px 0px 6px;
  z-index: 1;
}
.label.labelUnidad:nth-child(3) {
  margin-top: 40px;
}
.labelProyecto {
  background-color: var(--secondary-color);
  padding: 8px;
  border-radius: 6px 0px 0px 6px;
  z-index: 1;
}
.label.labelProyecto:nth-child(3) {
  margin-top: 40px;
}
.comuna {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 14px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
.nombreProyecto {
  color: #3a3a3a;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 1px;
  line-height: 22px;
}
.valorRenta {
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 0px;
}
.valorDesde {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 5px;
  line-height: 22px;
}
.descripcionProyecto {
  min-height: 32px;
  line-height: 1rem;
  font-size: 12px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-primary {
  background-color: var(--primary-color);
}
.badge-secondary {
  background-color: var(--secondary-color);
}
.img-contacto {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-bottom: 8px;
  object-fit: cover;
}
.media-body {
  -ms-flex: 1;
  flex: 1;
  overflow: hidden;
}
.media-body a {
  text-decoration: none;
}
.img-unidades-proyectos {
  object-fit: cover;
  object-position: center;
}
a .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}
a .card-body {
  color: #212529;
  cursor: pointer;
  text-decoration: none !important;
}
a .card-body:hover {
  text-decoration: none !important;
  cursor: pointer;
  color: #212529;
}
.list-group-item {
  border: none;
}
/* Paginador */
ul.paginator li a {
  cursor: pointer;
}

ul.paginator li.active a:hover {
  cursor: default;
  color: #ffffff !important;
}

ul.paginator li a:hover {
  cursor: pointer;
  color: var(--primary-color) !important;
}

/* Acordion Bien  */
.btn-header-link {
  border-radius: 30px;
}
.collapse .card-body {
  background-color: #fff;
  min-height: 100px;
}
#faq .card {
  margin-bottom: 20px;
  border: 0;
}
#faq .card .card-header {
  border: 0;
  padding: 5px 0px;
  background-color: #fff;
}
#faq .card .card-header .btn-header-link {
  color: var(--secondary-color);
  font-weight: bold;
  display: block;
  text-align: left;
  background: #f6f6f6;
  color: #222;
  border: 1px solid #c3c3c3;
}
#faq .card .card-header .btn-header-link:after {
  content: "-";
  font-weight: 900;
  float: right;
}
#faq .card .card-header .btn-header-link.collapsed {
  background: #f6f6f6;
  color: var(--secondary-color);
}
#faq .card .card-header .btn-header-link.collapsed:after {
  content: "+";
}
#faq .card .collapsing {
  background: #ffe472 !important;
  line-height: 30px;
}
#faq .card .collapse {
  border: 0;
}
#faq .card .collapse.show {
  background: #ffe472 !important;
  line-height: 30px;
  color: #222;
}

/* SWIPER */
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#carouselBien {
  overflow: hidden;
}
#carouselBien .swiper-slide img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}
#carouselProyectosDestacados {
  width: 100%;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 767.98px) {
  .main-banner {
    padding-top: 50px !important;
  }
  .filters-main {
    background-color: #fff;
    border-radius: 34px;
    margin-top: 40px;
  }
  .card {
    margin-bottom: 40px;
  }
  #carouselBien .swiper-slide img {
    height: 300px;
  }
  .pt-banner-100 {
    padding-top: 20px !important;
  }
}
@media screen and (max-width: 1366px) and (orientation: landscape) {
  #main-banner {
    position: relative;
    max-height: 56vh !important;
    min-height: 52vh !important;
    overflow: hidden;
  }
  .jumbotron {
    padding: 1rem 2rem;
  }
}

/* PROSPECION */
.nav-pills .nav-link {
  color: #fff;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 25px;
  width: 90%;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 25px;
  font-weight: bolder;
}

.stepProspeccion {
  margin: 40px 0;
  padding: 30px 30px 10px;
  background-color: #fff;
  border-radius: 25px;
  margin-top: -160px; /* Ajusta este valor según lo necesites */
  position: relative; /* Opcional, para poder usar z-index si se requiere */
  z-index: 10; /* Asegura que se muestre encima del header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stepProspeccionLogin {
  margin: 40px 15% 100px;
  padding: 30px 30px 10px;
  background-color: #fff;
  border-radius: 25px;
  margin-top: -160px; /* Ajusta este valor según lo necesites */
  position: relative; /* Opcional, para poder usar z-index si se requiere */
  z-index: 10; /* Asegura que se muestre encima del header */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.box-cotizaciones {
  padding: 8px;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.title-box-prospeccion {
  font-size: 20px;
  font-weight: bolder;
  font-family: "Montserrat", sans-serif;
  color: #000;
  padding: 12px 0;
  margin-bottom: 20px;
}

.box-tipologia {
  border-radius: 25px;
  border: rgba(0, 0, 0, 0.2) 1px solid;
}

.img-tipologia {
  width: 100% !important;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  height: auto;
  border-radius: 25px;
}

.img-tipologia-small {
  width: 100% !important;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  height: auto;
  border-radius: 25px;
}

.img-tipologia-square {
  width: 92px;
  height: 92px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

@media (max-width: 767.98px) and (orientation: portrait) {
  .img-tipologia-square {
    width: 100% !important;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    height: auto;
    border-radius: 15px;
  }
}

.scrollable-table {
  max-height: calc(75vh - 160px);
  overflow-y: auto;
}

.thumb-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.thumb-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit; 
  pointer-events: none;
  color: #fff;
}
