/*
Inicio de Estilos de AP Inmobiliaria
*/

#navbar, #navigation {
    background: var(--main-bg-color);
}

#navbar li a {
    color: var(--main-bg-color-text);
}


.button-icon i.fa, #navbar li .btn{
    border-radius:50%;
    background:#fff;
    color: var(--second-bg-color-text);
}
/* 
ESTILOS FRASES
*/

.primary-sentence{
    color: var(--main-bg-color);
    margin-bottom: 60px;
    font-size:36px;
    text-shadow:  
        2px 2px 5px rgba(0,0,0,0.25),
        -2px 2px 5px rgba(0,0,0,0.25),
        2px -2px 5px rgba(0,0,0,0.25),
        -2px -2px 5px rgba(0,0,0,0.25),
        0px 0px 2px rgba(0,0,0,0.7);  
}
.secondary-sentence {
    color: var(--main-bg-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.15);
      text-shadow:  
        2px 2px 5px rgba(0,0,0,0.25),
        -2px 2px 5px rgba(0,0,0,0.25),
        2px -2px 5px rgba(0,0,0,0.25),
        -2px -2px 5px rgba(0,0,0,0.25),
        0px 0px 2px rgba(0,0,0,0.7);  
}

/* #navbar ul li a {
    background-color: var(--second-bg-color);
} */

.button-normal {
    background: var(--main-bg-color);
    color: var(--main-bg-color-text);
    width: 100%;
}

.banner {
    background: var(--second-bg-color);
    text-align: center;
    font-size: 20px;
    padding: 20px;
    cursor: pointer;
    line-height: 2em;
    color: black;
}

.navbar-brand {
    margin-top: 0px;
    padding-top: 22px;
}

.navbar-brand img {
    max-width: 300px;
}

.destacados {
    background: #f0f0f0;
    color: black;
}

footer {
    background: #6c6e70;
    color: white;
    padding-top: 70px;
    padding-bottom: 70px;
}

footer h3 {
   color: white;
}

.transaction-type-rent {
    background: var(--main-bg-color);
    color: var(--main-bg-color-text);
}

.transaction-type-sale {
    background: var(--second-bg-color);
}

.featured-offer-text, .featured-offer-text h4 {
    background: var(--main-bg-color);
    color: var(--main-bg-color-text);
}

.servicios-text{
    background: #6c6e70;
    color: var(--main-bg-color-text);
    padding: 20px 30px 16px 30px;
    line-height: 1.70em;
}

.featured-offer-params {
    background: white;
    color: black;
    width: 100%;
    padding: 0px 0px 20px 16px;
}

.servicios-name{
   padding-bottom: 15px;
   color: white;
}

.inmueblesDestacados {
    height: 390px;
    margin-bottom: 50px;
}
.servicios {
    height: 290px;
    margin-bottom: 50px;
}

.blogsRecientes {
    height: 390px;
    margin-bottom: 50px;
}
.featured-offer-front {
    width: 95%;
}

.navbar-nav > li > a:hover {
    background: var(--main-bg-color);
    color: var(--main-bg-color-text);
}

.navbar-nav > li > .active {
    background: var(--second-bg-color);
    color: var(--second-bg-color-text);
}

html.no-pointerevents.no-touchevents.feature:hover.feature-text {
    background: var(--main-bg-color);
}

.feature-text:hover {
    background: var(--main-bg-color);
}

.feature-text:hover > h3 {
    color: var(--main-bg-color-text);
}

.feature-text:hover > p > a {
   color: var(--main-bg-color-text);
}

.dropdown-link {
  color: var(--main-bg-color-text);
}
.dropdown-link {
  color: var(--main-bg-color-text);
}
.dropdown-link:hover {
  color: var(--main-bg-color-text);
}


.feature-text:hover > div {
    background: var(--main-bg-color);
}

.feature-icon {
    color: var(--main-bg-color-text);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.15);   
}

.feature-icon:hover,
.feature-icon:focus,
.feature-icon:active, 
.feature-icon::before   
{
    color: var(--main-bg-color) ;
    background: var(--main-bg-color-text);
    border: 1px solid var(--main-bg-color-text);
    outline: none;
}

.feature-icon i{
    color:#6c6e70 ;  
     
}
.title-separator {
    background: var(--main-bg-color);
}
.navbar-toggle{
    background: #898989;
    color: var(--main-bg-color-text);
}

html.no-pointerevents.no-touchevents .feature:hover > .feature-icon {
    color:var(--second-bg-color-text);
}
@media (min-width: 770px){
    .blog-image{
        width: 350px;
        height: 260px !important;
    }
}
.grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    padding: 20px; 
}
.column {
    text-align: center; 
}
.column img {
    width: 100%; /* Asegura que las imágenes ocupen todo el ancho de la columna */
    height: auto; /* Mantiene la proporción de las imágenes */
    object-fit: cover; /* Ajusta las imágenes para que se vean bien */
}

#wrapper {
    overflow-x: hidden;
}

.swiper-container {
    height: 40vw !important;
    cursor: -webkit-grab;
}

#slide1-quitarestosiesnecesario {
    background: var(--second-bg-color);;
    height: 550px !important;
    cursor: default;
    text-align: center;
}

#slide1-quitarestosiesnecesario img {
    height: 550px;
    width: 100%;
    vertical-align: middle;
}

.tab-pane select {
    opacity: 1;
    margin-top: 30px;
    color: #5d5d5d;
    border-radius: 0;
    height: 50px;
    font-weight: 700;
    border: 1px solid #ebebeb;
}

.tab-pane .button-primary {
    margin-top: 30px;
    height: 50px;
}

.tab-pane .input {
    opacity: 1;
    margin-top: 30px;
    color: #5d5d5d;
    border-radius: 0;
    height: 50px;
    font-weight: 700;
    border: 1px solid #ebebeb;
}

.filtro select {
    opacity: 1;
    color: #5d5d5d;
    border-radius: 0;
    height: 50px;
    font-weight: 700;
    margin-top: 20px;
    border: 1px solid #ebebeb;
}

.filtro .input {
    opacity: 1;
    color: #5d5d5d;
    border-radius: 0;
    height: 50px;
    margin-top: 20px;
    font-weight: 700;
    border: 1px solid #ebebeb;
}

.featured-offer-photo img {
    width: 100% !important;
    height: 250px;
    object-fit: cover;
}

.title-page{
    padding-bottom: 0px;
}

.title-page img {
    object-fit: cover !important;
    width: 100%;
    height: 250px;
   
  }

.blog-background {
    background-size: cover !important;
    background-position: bottom;
    background-attachment: fixed;
}

.title-page h1 {  

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--main-bg-color-text);
}

.blog-background h1 {
    padding-top: 100px;
    text-align: center;
    color: var(--main-bg-color-text);
}

.activeMenu {
    background: var(--main-bg-color);
    color: var(--main-bg-color-text);
    text-decoration: none;
}

.estate-type, .sidebar-featured-estate {
    background: #6c6e70;
}

.item-cover {
    background: black;
    margin-top: 52px;
}

#cover-photos {
    text-align: center;
}

.image-slider {
    height: 500px;
    width: auto;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 4px solid var(--main-bg-color);
}

.small-cont {
    min-height: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.subpagina{
    padding-top: 0px;
}

.subpagina .container h1{
    padding-top: 80px;
}
.subpagina p {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.subpagina ul, .subpagina ol {
    font-size: 15px;
}

.subpagina h4 {
    margin-top: 20px;
}

.subpagina a {
    color: black;
    font-size: 15px;
}

#salto-linea {
    display: none;
}

@media (max-width: 769px) {   
    .navbar-brand img {
        margin-top: -15px;
        max-width: 100%;
        height: 50px;
    }

    .button-normal {
        background: var(--main-bg-color);
        color: var(--main-bg-color-text);
        width: 90%;
    }

    #slide1 img {
        width: auto;
    }

    .image-slider {
        height: auto;
        width: 100%;
    }

    .item-cover {
        margin-top: -48px;
    }

    .none{
        display: none;
    }

    /* #ciudadfiltro {
        display: none;
    } */

    #salto-linea {
        display: block;
        margin-bottom: 12px;
    }

    .inmueblesDestacados {
        margin-bottom: 0px;
    }
    .title-page{
        padding-top: 0px;
        padding-bottom: 0px;
    }    
}
@media (min-width: 769px) { 
    .title-page {
        padding-top: 100px; 
    }
    .title-page h1 {
        top:70%;
    }
}

@media (max-width: 1230px) {
    .adv-search-section .adv-search-cont {
        position: absolute;
    }

    .tab-content {
        background: rgba(255, 255, 255, 0.0);
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .tab-pane .button-primary {
        margin-top: 0%;
        height: 50px;
    }
}


.feature a {
    color: #5d5d5d;
}

.tab-content-custom {
    box-shadow: none !important;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #000;
    background-color: var(--main-bg-color);
}

.modal-header h4 {
    margin-bottom: 0px;
}

#mapa {
    height:400px;
    text-align:center;
    margin-bottom: 50px;
}

.list-offer-params, .details-parameters-price {
    background: #6c6e70;
    color:#fff;
}

#button-consigne {
    border: 1px grey solid;
    padding: 15px;
    font-size: 17px;
    color: var(--main-bg-color-text);
    margin-left: 10px;
    background: grey;
}

.form-submit-cont {
    border-width: 0 0px 0px 0px;
}

.destacadosmapa {
    background-image: linear-gradient(
        to bottom,
        rgba(255,255,255, 0.5),
        rgba(255,255,255, 0.5)
        ),url("/assets/img/mapa.jpg");
    padding-top: 100px;
    padding-bottom: 100px;
}

.btn-warning {
    border: none;
    border-radius: 30px;
    padding: 20px;
    background: var(--main-bg-color);
    color: black;
}

.btn{
    border: none;
    border-radius: 30px;
    padding: 40px;
    background: white;
    color: var(--main-bg-color);
}

.btn:hover{
    border: none;
    border-radius: 30px;
    padding: 40px;
    color: var(--main-bg-color-text);
}

.btn-warning:hover {
    background: var(--second-bg-color);
}

button {
    border: none !important;
}

form h4 {
    text-transform: none;
}

.margin-right-mobile {
    padding-left: 0px !important;
}

.list-rooms, .list-baths {
    width: 25% !important;
}

.list-area {
    width: 25%;
    font-weight: 500;
    font-size: 12px;
}

.list-offer-params .blog-link{
    font-weight: 500;
    color: var(--main-bg-color-text);
}

.detail-card-icons{
    width: 17px;
    height: 17px;
}

.list-blog-link{
    font-weight: 500;
}

.rounded-circle {
    border-radius: 50% !important;
}

footer a {
    color: white !important;
}

.barra {
    background: #6c6e70;
    font-size: 12px;
    color: white;
    padding-right: 20px;
    text-align: right;
}

.barra a {
    color: white;
    text-decoration: none;
}

.button-primary:hover {
    color: white;
}
.blanco{
    text-transform: lowercase;
    color: white;
}

/* Botones de whatsapp para pc y móvil */
a.back-to-top-pc {
    width: 70px;
    height: 70px;
    line-height: 70px;
    bottom: 10%;
    text-indent: 9px;
    position: fixed;
    z-index: 999;
    font-size: 40px;
    left: 20px;
    color: white;
    background: #27AE61 no-repeat center 43%;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 100px;
    display: none;
}

a.back-to-top-mobile {
    width: 70px;
    height: 70px;
    line-height: 70px;
    bottom: 10%;
    text-indent: 9px;
    position: fixed;
    z-index: 999;
    font-size: 40px;
    left: 20px;
    color: white;
    background: #27AE61 no-repeat center 43%;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 100px;
}

@media(min-width: 769px) {
    a.back-to-top-mobile {
        display: none;
    }
    a.back-to-top-pc {
        display: block;
    }
}

@media(max-width: 769px) {
    a.back-to-top-mobile {
        display: block;
    }
    a.back-to-top-pc {
        display: none;
    }
    .destacados{       
       padding-right: 15px;
    }
    .servicios .featured-offer-photo {
        margin-top: 20px; /* Adds space below the image */
    }

    .servicios .servicios-text {
        margin-bottom: 20px; /* Adds space above the paragraph */
    }
    
}