*{box-sizing: border-box;}

html, body, #mainBanner, main, footer{width: 100%;}

body{
    max-width: 1920px !important;
    height: auto;
    margin: auto;
    font-family: arial;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
}

/*Botón WhatsApp*/
#ws{
    width: 70px;
    height: 70px;
   /* background-color: blue;*/
    right: 10px;
    bottom: 15px;
    z-index: 100;
    position: fixed;
    cursor: pointer;
}

#ws img{
    width: 55px;
    height: auto;
}

/*Menú Bar*/
.navbar-brand{
    color: #fff !important;
    margin-left: 0;
    font-size: 1.5rem;   
}

.navbar{
    background-color: #B40431 !important;
    width: 100%;
    position: fixed;
    box-shadow: 0px 1px 7px #3a3a3a;
    z-index: 100;
}

.navbar img{display: none;}

.nav-link{
    width: 100%;
    color: #fff !important;
    font-weight: 500;
    margin-bottom:0.6rem;
    margin-top: 15px;
    text-align: left !important;
    letter-spacing: 0.02rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding-bottom: 1rem !important;
}

.nav-item{
    height: 60px;
    line-height: 25px;
}

/*Icono del Menú Hamburguesa*/
.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: #eee;
    border: 2px solid transparent !important;
    border-radius: 0.25rem;
}

.navbar-toggler:hover, .navbar-toggler:focus {
    text-decoration: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background-size: 100% 100%;
}

#relleno{
    width: 100%;
    height: 58px;
    background-color: transparent;
}

#mainBanner{
    height: 400px;
    background-color: #F6CED8;
    background: url(../image/frente.jpeg) no-repeat left 25% center;
    background-size: cover;
    margin-bottom: 15px;    
}

main{
    height: auto;
    padding: 15px;
}

main h1, main h3{
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    color: #b40431;
}

main h3{font-size: 1.8rem;}

main p{font-size: 1.1rem;}

#prop{
    width: 100%;
    height: auto;
    margin: auto;
}

#prop .foto{
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    box-shadow: 0 5px 6px rgba(0,0,0,0.3);
    border-radius: 8px;
}

#prop .foto img{
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/*BOTÓN BUSCAR PROPIEDADES*/
#buscar{
    width: 100%;
    height: auto;
    padding: 15px 15px 0 15px;
    background-color: #E6E6E6;
    border-radius: 6px;
}

#buscar h3{font-size: 1.6rem;}

#boton{
    width: 100%;
    height: 50px;
    background-color: #B40431;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none;
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-radius: 6px;
}

#boton:hover{
    background-color: #800524;
}

footer{
    height: 300px;
    padding-top: 15px;
    background-color: #B40431;
}

footer #logo2{
    width: 115px;
    height: auto;
    margin: auto;
    margin-bottom: 15px;
}

footer #logo2 img{
    width: 100%;
    height: auto;
}

#data{
    width: auto;
    height: auto;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#data address{
    text-align: center;
    color: white;
    font-size: 1.2rem;
}

#legal{
    width: auto;
    height: auto;
    margin-top: 20px;
}

#legal p{
    text-align: center;
    color: #fff;
    margin: 0;
}

#autor{
    width: auto;
    height: auto;
    margin-top: 20px;
}

#autor p{
    color: #fff;
    text-align: center;
    margin-top: 0;
    font-size: 0.9rem;
}

footer a{text-decoration: none; color: #fff;}
footer a:hover{color: #fff;}


/*/////////////////////////*/

@media screen and (min-width:768px){

    #mainBanner{height: 450px;}

    #prop{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    }

    #prop .foto{width: 47%;}

    /*BOTÓN BUSCAR PROPIEDADES*/
    #buscar{
    width: 50%;
    margin: 30px auto 30px auto;
    }
}

@media screen and (min-width:992px){ 
    #mainBanner{
    height: 450px;
    background-color: #F6CED8;
    background: url(../image/frente.jpeg) no-repeat top 28% center;
    background-size: cover;
    margin-bottom: 15px;
    }

    .navbar-nav {
    width: auto;
    height: 70px;
    border-bottom: none;
    position: absolute !important;
    right: 65px;
    top: 3px;    
    }

    .nav-item{
    width: auto;    
    margin-left:0;
    } 

    .nav-link{
    width: auto;
    height: 30px !important;
    border-bottom: none !important;    
    border-left: 1px solid rgba(255,255,255,0.35);
    font-size: 1rem !important;
    text-align: center !important;
    line-height: 32px;
    padding-top: 0;
    padding-left: 15px !important;
    padding-right: 15px !important;
    }

    .primero{border-left:none;}

    .nav-link:hover{color:#d8d8d8 !important; text-shadow: none;}
    .sombra{text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);} 
    .sombra:hover{text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);}

    main{
    width: 90%;
    margin: auto;
    }

    main #PlacaUno{
    width: 93%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    }
}

@media screen and (min-width:1200px){
    .navbar {    
    width: 100%;
    max-width: 1920px !important;
    height: 70px;
    z-index: 1000 !important;
    }

    #mainBanner{height: 500px;}

    main h1{margin-top: 15px;}

    .navbar #logo1{
    display: block;
    height: 50px;
    margin-left: 70px;
    }

    .navbar-brand{display: none;}

    #line1, #line2{width: 90%; margin: auto;}

    #prop{margin-bottom: 40px;}

    #prop .foto{width: 23%;}

    /*BOTÓN BUSCAR PROPIEDADES*/
    #containerBuscar{
    width: 97%;
    height: 130px;
    margin: 55px auto 55px auto;
    border-radius: 8px;    
    display: flex;
    justify-content: space-around;
    }

    #imagenBuscar{
    width:55%;
    height: 130px;
    background: url(../image/buscar.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 8px;
    }

    #buscar{
    width: 40%;
    height: 130px;
    margin: 0;
    }

    footer{padding: 50px 15px 0px 15px;}

    #data{
    width: 90%;
    height: auto;
    margin: auto;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    #legal{float: left; margin-left: 80px;}
    #autor{float:right; margin-right: 80px;}


}