/* Redefinición de colores bootstrap */
:root {
    --root-primary-color: #003C69;
    --bs-primary-rgb: #003C69;
    --bs-btn-background: #003C69;
    --bs-btn-hover-bg: #003C69;
    --bs-border-color: #a7a9a9;
    --bs-nav-link-color: #6D6F70;
    --bs-nav-link-font-size: 17px;
    --bs-body-font-family: "Montserrat", sans-serif;
    --bs-body-font-weight: 400;
    --bs-body-color: #6D6F70;
    --bs-body-font-size: 16px;
    --bs-btn-active-bg: #003C69;
    --bs-btn-active-border-color: #003C69;
}

.btn-outline-primary {
    --bs-btn-color: var(--root-primary-color) !important;
    --bs-btn-border-color: var(--root-primary-color) !important;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: var(--root-primary-color) !important;
    --bs-btn-focus-shadow-rgb: 255,193,7;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffffff;
    --bs-btn-active-border-color: #ffffff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ffffff;
    --bs-gradient: none;
}

.site-width {
    max-width: 1120px !important;
}

.bg-primary {
    background-color: var(--root-primary-color) !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #003C69;
    --bs-btn-border-color: #003C69;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00579d;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #003C69;
    --bs-btn-disabled-border-color: #003C69;
}

.btn-white {
    --bs-btn-color: #003C69;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: slategray; /* Color del borde en estado normal */
    --bs-btn-hover-color: #ffffff; /* Color de las letras al hacer hover */
    --bs-btn-hover-bg: slategray; /* Color del fondo interno al hacer hover */
    --bs-btn-hover-border-color: slategray; /* Puedes ajustar el color del borde al pasar el ratón */
    --bs-btn-focus-shadow-rgb: 255, 223, 186;
    --bs-btn-active-color: #003C69;
    --bs-btn-active-bg: #e0e0e0;
    --bs-btn-active-border-color: #cccccc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #003C69;
    --bs-btn-disabled-bg: #ffffff;
    --bs-btn-disabled-border-color: #ffffff;
}

/* body image fixed */
/*.container {*/
/*    background-image: url("https://simulador.terranza.com/images/bcksimulador.jpg");*/
/*    background-repeat: no-repeat;*/
/*    background-attachment: fixed;*/
/*    background-size: cover;*/
/*}*/

.text-primary {
    color: var(--bs-primary-rgb) !important;
}

.orientacion-watch {
    width: 13px;
    bottom: 2px;
    position: relative;
}

/* Clase de margen */
.m5 {
    margin-left: 5px !important;
}

/* Clases SVG */
.svg-size-16 {
    width: 16px;
    height: 16px;
}

.color-slategray-svg {
    color: slategray;
    width: 16px;
    height: 16px;
}

.color-slategray-svg-white {
    color: white !important;
    width: 16px;
    height: 16px;
}

/* Clases de tipografía */
.unna-regular {
    font-family: "Unna", serif;
    font-weight: 400;
    font-style: normal;
}

.unna-regular-italic {
    font-family: "Unna", serif;
    font-weight: 400;
    font-style: italic;
}

.unna-bold {
    font-family: "Unna", serif;
    font-weight: 700;
    font-style: normal;
}

.unna-bold-italic {
    font-family: "Unna", serif;
    font-weight: 700;
    font-style: italic;
}

.montserrat-semibold-600 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.montserrat-bold-700 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.montserrat-bold-800 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.montserrat-bold-700 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/* Clases de enlaces en menu */
.main-link-active {
    font-weight: bold;
    font-size: 17px;
    padding: 3px;
    color: var(--bs-primary-rgb);
    box-shadow: 0 3px var(--bs-primary-rgb);
    transition: background 0.1s, box-shadow 0.3s, color 0.1s;
}

.main-link-active:hover {
    box-shadow: 0 4px var(--bs-primary-rgb);
}

.main-link {
    font-weight: normal;
    /*font-size: 17px;*/
    margin: 4px 8px 2px 22px;
}

.main-link-svg {
    font-weight: normal;
    font-size: 17px;
    margin: 4px 8px 2px 18px;
}

/* Clases de texto */

hr.lightgray {
    border-top: 1px solid #003C69CC;
}

.max1000 {
    max-width: 1000px;
}

.smallcaps {
    font-weight: 400;
    font-size:12px;
    line-height: 15px;
    text-align: center;
    color: #0000004C;
}

.text-link {
    color: var(--bs-primary-rgb);
    text-decoration: none;
}

h1.horizontal-line {
    text-align: center;
    border-bottom: 2px solid var(--bs-primary-rgb);
    border-top: 2px solid var(--bs-primary-rgb);
    line-height: 0;
    padding: 0;
    font-size: 32px;
    color: var(--bs-primary-rgb);
}

h1.horizontal-line span {
    background: #fff;
    padding: 0 15px;
}

/* Clases de flexbox */

.dropdown-container {
    text-align: center;
    margin: 60px 0px;
}

.slider-container {
    text-align: center;
    margin: 10px 0px;
    padding: 0px 10px;
}

.slider-input {
    width: 120px;
    margin: 0 5px;
}
/*
.dropdown-btn {
    margin-right: 7px;
}
 */

.flex-container .dropdown-btn, .flex-container button {
    /* margin-right: 7px; */
    width: 100%;
}

/* Estilo personalizado para los dropdowns */
.dropdown-toggle {
    background-color: transparent; /* Fondo transparente */
    color: slategray; /* Texto color slategray */
    border: 1px solid slategray; /* Borde de 1px slategray */
}

.dropdown-menu {
    background-color: white; /* Fondo blanco */
    border: 1px solid slategray; /* Borde de 1px slategray */
}

.dropdown-item {
    color: slategray; /* Texto color slategray */
}

.dropdown-item:target,
.dropdown-item:active {
    color: var(--bs-primary-rgb);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa; /* Fondo gris claro al pasar el mouse o enfocar */
}

/* Estilo para colocar los inputs en la misma línea */
.slider-input-container {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

/* Estilo para separar los labels de los inputs */
.slider-input label {
    margin-right: 5px;
}

.slider-input-container label {
    font-weight: bold;
}

/* Estilo personalizado para el color interno del slider */
.noUi-connect {
    background: var(--bs-primary-rgb) !important; /* Cambia tu-color-aqui al color deseado */
}

.form-amenidades {
    width: 470px;
}

.flex-container {
    display: flex;
    justify-content: center;
}

.flex-item {
    width: 16%; /* Ajusta según tus necesidades */
    text-align: center;
    margin: 5px;
}

.offcanvas-animate {
    transition: transform 0.3s ease;
}

@media (max-width: 600px) {
    .flex-container {
        flex-direction: column;
    }

    .flex-item {
        width: 100%;
    }

    h1.horizontal-line {
        font-size: 24px;
    }
}

/* Clases de indicador de disponibilidad de lotes */

.led-box {
    height: 20px;
    width: 10%;
    margin: 0;
    float: left;
}

.led-box p {
    font-size: 12px;
    text-align: center;
    margin: 1em;
}

.led-green {
    margin: 0 auto;
    width: 14px;
    height: 14px;
    background-color: #4ADB18;
    border-radius: 50%;
}

#filtro_superficie, #filtro_precio {
    height: 10px;
}

#filtro_superficie .noUi-handle, #filtro_precio .noUi-handle {
    height: 18px;
    width: 18px;
    top: -5px;
    right: -9px; /* half the width */
    border-radius: 9px;
}

.cards-grid-item:hover {
    color: rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important;
    background-color: white !important;
}

/*.cards-grid-item a:hover {*/
/*    color: white !important;*/
/*}*/

/*.btn-explore-filter {*/
/*    font-size: 16px;*/
/*}*/

/* Carousel */
button.carousel-control-prev .scontrol,
button.carousel-control-next .scontrol {
    background-color: rgba(19, 19, 19, 0.78);
    padding: 10px 10px 2px 10px;
    border-radius: 6px;
}

div.dropdown-menu .form-desarrollos {
    width: 246px;
}

/* Estilos para el modal del buscador */
.info-popup-dev-title {
    font-size: 3.5rem;
}
.info-popup-dev-amenities-list p {
    line-height: 0.5;
}
.info-popup-dev-estado-obra-title {
    font-weight: bold;
    font-size: 10px;
}
.info-popup-dev-estado-obra-fecha {
    font-weight: normal;
    font-size: 9px;
}

/* Boton blanco redondo */
.btn-outline-swhiteg {
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #444;
    --bs-btn-hover-bg: #f8f8f8;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-focus-shadow-rgb: 255,193,7;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffffff;
    --bs-btn-active-border-color: #ffffff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ffffff;
    --bs-gradient: none;
}

.text-bold {
    font-weight: bold;
}

/* lote-card styles */
.lote-card {
    border-color: #eee;
    border-width: medium;
    border-style: solid;
    border-radius: 8px;
}

.lote-card:hover {
    border-color: #e2e2e2;
}

/* ROW con alineación vertical hacia abajo */
.d-flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

/* styles for lote card item */
.lote-card .numvivienda {
    font-size: 22px;
    color: var(--bs-primary-rgb);
    font-weight: bold;
}

.lote-card .numviviendamini {
    font-size: 14px;
    color: var(--bs-primary-rgb);
    font-weight: bold;
}

div.tab-item-search .nav-tabs .nav-link {
    color: #6D6F70;
}

div.tab-item-search .nav-tabs .nav-link.active {
    border-color: transparent;
    border-bottom: 4px solid var(--bs-primary-rgb);
    color: var(--bs-primary-rgb);
    font-weight: bold;
}

div.tab-item-search .nav-tabs .nav-link:hover {
     border-color: transparent;
}

div.tab-item-search .nav-tabs .nav-link:focus {
    border-bottom: 4px solid var(--bs-primary-rgb);
}

/* onload loader */
#loadingoverlay{
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height:100%;
    /*display: none;*/
    background: rgba(0, 0, 0, 0.07);
}
.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}
.spinner-text {
    margin-top: 10px;
    color: #fdfeff;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #333;
}
@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}
/* onload loader end */

.text-size-10 { font-size: 10px !important; }
.text-size-11 { font-size: 11px !important; }
.text-size-12 { font-size: 12px !important; }
.text-size-13 { font-size: 13px !important; }
.text-size-14 { font-size: 14px !important; }
.text-size-15 { font-size: 15px !important; }
.text-size-16 { font-size: 16px; }
.text-size-18 { font-size: 18px !important; }
.text-size-20 { font-size: 20px !important; }
.text-size-24 { font-size: 24px !important; }
.text-size-36 { font-size: 36px !important; }
.text-justify { text-align: justify; }
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}

.background-crop {
    width: auto;
    height: 120px;
    background-size: cover;
    background-position: 50% 80%;
    background-repeat: no-repeat;
}

.render-section-conocer-mas {
    height: 360px;
}
.render-section-conocer-mas-quad {
    height: 180px;
    background-color: #e4e6e6;
    color: white;
    flex: 0 0 auto; width: 47% !important;
}
.render-section-conocer-mas-quad-left-edge {
    margin-left: 13px !important;
}
.render-section-conocer-mas-quad-bottom-edge {
    margin-bottom: 13px !important;
}
.render-section-info {
    position: relative;
    bottom: 50px;
    background-color: white;
    border: 1px solid #c7c7c7;
}
.expand-100 {
    width: 100%;
    height: 100%;
    display: block;
}

/* Glare effect for images */

.image-wrapper {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 1.6;
}

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

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    content: "";
    display: block;
    height: 100%;
    left: -75%;
    position: absolute;
    top: 0;
    transform: skewX(-25deg);
    width: 50%;
    z-index: 2;
}

.shine:hover::before, .shine:focus::before {
    animation: shine 0.85s;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/* End Glare effect for images */
/* Estilos personalizados para el timeline horizontal */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    /*margin-top: 2rem;*/
    padding: 0;
    list-style: none;
}

/* Línea gris de fondo */
.timeline::before {
    content: '';
    position: absolute;
    top: 50%; /* Alineación de la barra de fondo */
    left: 0;
    right: 0;
    height: 8px;
    background: #e9ecef;
    z-index: 1;
}

/* Puntos de conexión */
.timeline-item {
    position: relative;
    text-align: center;
    font-size: 10px;
}

.timeline-item:first-child {
    text-align: start;
}

.timeline-item:last-child {
    text-align: end;
}

.timeline-item:first-child::before {
    left: 0; /* El primer punto estará alineado al principio */
}

.timeline-item:last-child::before {
    left: 100%; /* El último punto estará alineado al final */
    transform: translate(-100%, -50%); /* Alinea el último punto correctamente */
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%; /* Alineado con la barra */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #003C69;
    z-index: 2; /* Puntos por debajo de la barra */
}

/* Contenido de los eventos */
.timeline-item .timeline-content {
    position: relative;
    z-index: 3;
    padding-top: 8rem; /* Más espacio vertical */
    max-width: 80px;
    h6{
        font-size: 11px;
        font-weight: bolder;
    }
    span{
        text-transform: capitalize;
    }
}

/* Barra de progreso */
.progress-bar-wrapper-timeline {
    position: absolute;
    top: 50.5%; /* Alineada con los puntos */
    left: 0;
    right: 0;
    z-index: 3; /* Barra al frente de los puntos */
}

.progress-bar-timeline {
    height: 8px;
    background-color: #003C69;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3; /* Barra visible encima de los puntos */
}
