/*
*Estilos para la página principal
*/

/*
* Cuadro principal de búsqueda
*/
.busqueda {
    text-align: center;
    width: 100%;
    background-size: 100%;
    /*background-image: linear-gradient(to bottom, white 15%, transparent 80%), url('../img/portada.png');*/
    /*background-image: linear-gradient(to top, var(--gris-claro), transparent 80%);
    background-repeat: no-repeat;
    /*background-position: 0 -40px;*/
    min-height: 600px;
    padding-top: 100px;
}

.busqueda img {
    width: 400px;
    height: auto;
    margin-top: 10px;
}

#logo-nav {
    display: none;
}

.busqueda h1 {
    color: var(--azul-ppal);
    font-size: 2em;
    font-weight: 100;
    font-family: Helvetica, Arial, sans-serif;
    text-shadow: var(--blanco) 2px 2px 2px;
    letter-spacing: 3px;
}

.form-busqueda {
    width: 70%;
    height: 140px;
    background-color: rgba(0,0,0, 0.6);
    padding: 20px 0px;
    border-radius: 10px;
    color: var(--blanco);
    max-width: 848px;
}

.form-busqueda form {
    width: 90%;
}

.form-busqueda .custom-select, .custom-input-text {
    margin-top: 5px;
} 

.campo {
    display: inline-block;
    text-align: left;
    margin-left: 10px;
    float: left;
}

.zona {
    width: 44%;
}

.zona select {
    width: 100%;
}

.tipo-apartamento {
    width: 220px;
}

.tipo-apartamento select {
    width: 100%;
}

.codigo {
    width: 120px;
}

.campo span {
    padding-top: 30px;
    height: 50px;
    display: inline-block
}

.opcion-disponible {
    margin-top: 18px;
}

.form-busqueda .btn-rojo {
    margin-top: 10px;
    margin-right: 5px;
    float: right;
    width: 120px;
}

/*Sección de media queries y responsive cuadro principal de búsqueda*/
@media screen and (max-width: 1920px){
    .busqueda {
        /*background-image: linear-gradient(to bottom, white 40%, transparent 80%), url('../img/portada.png');*/
        /*background-position: 0 -180px;*/
    }

    .form-busqueda .btn-rojo {
        margin-right: 38px;
    }
}

@media screen and (max-width: 1582px){
    .busqueda {
        /*background-image: linear-gradient(to bottom, white 15%, transparent 80%), url('../img/portada.png');
        background-position: 0 -10px;*/
    }

    .form-busqueda .btn-rojo {
        margin-right: 5px;
    }
}

@media screen and (max-width: 1024px){

    .busqueda img {
        width: 220px;
        height: auto;
        margin-top: 10px;
    }

    .busqueda {
        /*background-image: linear-gradient(to bottom, white 10%, transparent 20%), url('../img/portada.png');
        background-position: 0 100px;*/
    }

    .form-busqueda {
        width: 90%;
        height: 300px;
        padding: 10px 0 0 0;
    }

    .campo{
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }

    .campo span {
        display: none;
    }

    .form-busqueda .btn-rojo {
        margin-right: 0;
    }

    /*.destacado {
        margin-top: -60px;
    }*/
}

@media (max-width: 768px){
    .busqueda {
        /*background-image: linear-gradient(to bottom, white 5%, transparent 20%), url('../img/portada.png');
        background-position: 0 180px;*/
    }
}

@media (max-width: 667px){

    .busqueda img {
        margin-top: -30px;
    }

    .busqueda {
        /*background-image: linear-gradient(to bottom, white 5%, transparent 20%), url('../img/portada.png');
        background-position: 0 220px;*/
    }

    .busqueda h1 {
        font-size: 1.5em;
    }
}

@media (max-width: 431px){
    .busqueda {
        /*background-image: linear-gradient(to bottom, white 5%, transparent 20%), url('../img/portada.png');
        background-position: 0 360px;*/
    }

    .busqueda h1 {
        font-size: 1.5em;
    }
}

/*
* Destacados
*/
.destacado {
    background-color: var(--gris-claro);
    padding-top: 60px;
    padding-bottom: 60px;
}

.destacado h1{
    font-family: Helvetica, Arial, sans-serif;
    font-size: 2em;
    text-align: center;
    color: var(--azul-ppal);
    font-weight: 200;
    text-transform: uppercase;
    margin-top: 0;
}

.destacado div div {
    text-align: center;
}

.destacado div div div{
    display: inline-block;
    width: 260px;
    height: 410px;
    background-color: var(--azul-ppal);
    color: var(--blanco);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

.destacado p {
    text-align: left;
    margin-left: 10px;
}

.destacado img {
    margin-top: 10px;
    width: 240px;
    height: 240px;
}