
@font-face {
    font-family: 'BebasNeue';
    src: url('../fonts/BebasNeue.eot') format('embedded-opentype'), 
    url('../fonts/BebasNeue.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-regular.eot') format('embedded-opentype'), 
    url('../fonts/lato-regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}   

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-light.eot') format('embedded-opentype'), 
    url('../fonts/lato-light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
} 

body{
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
}

.bar{
    align-items: center;
    justify-content: space-evenly;
}

.bar p, .bar ul{
    margin-bottom: 0;
}
a.navbar-brand{
    padding: 0;
}

.navbar-brand img{
    height: 1.5rem;
    opacity: 0.82;
    vertical-align: unset;
}

p{
    font-weight: 400;
}
/* .direccion p{
    font-weight: 500;
} */
.nav-menu .nav-link {
    color: rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.nav-menu .nav-link:focus, .nav-menu .nav-link:hover {
    color: rgba(0, 0, 0, 0.85);
}

.contact-buttons{
    list-style-type: none;
    padding-inline-start: 0;
    margin-bottom: 2rem;
}

.contact-buttons .nav-link{
    color: rgba(255, 255, 255, 0.95);
    padding-left: 0;
    font-size: 1.5rem;
}

.contact-buttons .nav-item{
    margin: 0 0 1rem;
}

.contact-buttons .wsp-icon, .contact-buttons .call-icon{
    margin-right: 0.5rem;
}
section {
    padding: 2rem;
}

.bg-blue{
    background-color: #031f6e;
}

.navbar-toggler-icon{
    color: rgba(255,255,255,.99);
}

.nav-menu{
    display: flex;
    list-style-type: none;
}
.nav-item{
    /* margin-left: 2rem;
    margin-right: 2rem; */
}




#novedades{
    background-color: #e6e6e6;
}

#novedades a{
    display: inline-block;
    position: relative;
    margin-left: 1.5rem;
    margin-top: 1rem;
}
.card{
    border-color: #031f6e;
    /* margin-left: 1rem;
    margin-right: 1rem; */
    /* min-width: 16rem; */
    /* margin-bottom: 1rem; */
    height: 100%;
}


.card-deck{
    flex-wrap: wrap;
}

p.card-text.cortar-texto{
    line-height: 1.5em;
    height: 3em;       /* height is 2x line-height, so two lines will display */
    overflow: hidden;  /* prevents extra lines from being visible */
}

.data-box{
    margin-bottom: 2rem;
}

h2, h4, h5{
    color: #031f6e;
}

.direccion a {
    color: #FFF;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

#servicios a, #contacto a{
    font-weight: 600;
}

#contacto .direccion a.wlink{
    font-weight: 400;
}

h2{
    margin-bottom: 2rem;
}

.button{
    background-color: #031f6e;
    padding: 0.5rem 0.9rem;
    color: white;
}

section#contacto{
    /* background-color: #031f6e ; */
    color: white;
    padding: 2rem 0;
    
    background-color: #031f6e;
    background: url(../images/bg-agua.jpg)  no-repeat center center;
    background-size: cover;
}

section#contacto h2{
    color: white;
}

section#contacto .d-flex{
    justify-content: space-evenly;
}

.direccion{
    font-size: 1.1rem;
    margin-top: 2.5rem;
    margin-left: 2rem;
}

img.redes{
    height: 1.6rem;
}
#contacto legend {
    margin-right: 10rem;
}

a#enviar{
    background-color: #0071bc;
}

.google-maps{
    margin-top: 3rem;
}

#google-map{
    padding: 0;
}

.tercios > div{
    flex: 1;
}

#cotizaciones{
    align-self: flex-end;
}

.cotizacion{
    border: 1px solid #031f6e;
    width: 15rem;
    font-size: 0.9rem;
    margin-top: 2rem;
    margin-right: 4vw;
}

.cotiz-titulo{
    background-color: rgba(3, 31, 110, 0.75);
    color: white;
    padding: 0.5rem;
}

.cotiz-dato{
    background-color: rgba(255, 255, 255, 0.65);
    color: #000;
    /* font-weight: 600; */
    padding: 0.8rem;
}

.cotiz-dato span.encab{
    /* font-weight: 500; */
    color: #031f6e;
}

.cotiz-dato div.filadato{
    margin: 0.5rem 0;
}

.cuerpo{
    margin: 1rem;
}
.text-muted{
    margin-left: 1rem;
}

.col-lg-3, .col-md-6, .col-xs-12{
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}



span.invertir{
    unicode-bidi: bidi-override; 
    direction: rtl;
}

/* SOLO TABLET & DESKTOP */
@media (min-width: 427px){
    .data-box {
        margin-left: 2rem;
    }
}

footer{
    color: rgba(255, 255, 255, 0.55);
    overflow: auto;
    text-align: end;
}
footer .logo{
    height: 1.15rem;
    opacity: 0.72;
    margin: 0 0.15rem 0.2rem;
}

footer .logo:hover{
    opacity: 0.85;
}

footer p{
    font-size: 0.9rem;
    float: right;
    margin: 0.8rem 1.5rem 0.4rem;
}

#faja{
    /* right: 0;
    position: absolute;
    bottom: 0; */
    /* background-color: blue; */
    /* width: 100%; */
    /* height: 0rem; */
    background-color: rgba(3, 31, 110, 0.75);
    padding: 2rem 7.3rem 2rem 0;
}

#faja img{
    height: 9rem;
    float: right;
    vertical-align: bottom;
}

/* Aplica al elemento small de novedades */
.data-box p:first-child {
    margin-bottom: 0.5rem;
}

.data-box h5{
    padding-left: 0.8em;
    text-indent: -0.8em;
}

.call-icon{
    width: 2rem;
}
.wsp-icon{
    width: 2.2rem;
}

.title{
    font-family: "BebasNeue", sans-serif;
    font-size: 2.9rem;
    font-weight: 600;
}
.slogan{
    font-weight: 400;
    font-style: italic;
}


/* MOBILE */
@media (max-width: 426px){
    section#novedades .d-flex{
        flex-direction: column;
    }
    
    section#contacto .d-flex{
        flex-direction: column;
    }
    
    #cotizaciones{
        align-self: flex-end;
    }
    
    .cotizacion{
        width: 6.5rem;
        margin-top: 0.8rem;
        margin-right: 2vw;
    }
    
    .cotiz-dato{
        padding: 0;
    }
    .cotiz-titulo{
        padding: 0;
    }
    .cuerpo{
        margin: 1rem 0.5rem 1.3rem 1rem;
    }
    #navbarResponsive a.nav-link{
        margin-top: 1.0rem;
    }
    
    .navbar-brand img {
        height: 1.6rem;
    }
    #faja{
        padding: 0.5rem 0;
    }
    
    #faja img{
        height: 4.5rem;
        float: unset;
        vertical-align: bottom;
    }
    
    section {
        padding: 2rem 1.6rem 0;
    }
    
    .direccion {
        margin-left: 1rem;
    }
    
    
    a.navbar-brand img{
        vertical-align: top;
    }
    
    ul.nav-menu{
        padding-inline-start: 0;
    }
    .slogan {
        font-size: 1rem;
        margin: 0 1rem;
    }
    .contact-buttons {
        text-align: center;
        margin-top: 2rem;
    }
    #portada{
        background-color: #6a6e71;
        background: url(../images/hero-mobile.jpg)  no-repeat center center;
        background-size: cover;
        flex-direction: column;
        justify-content: space-between;
        align-items: normal;
        min-height: calc(34vw + 120px);
    }
    .title{
        font-size: 2.5rem;
    }
}


/* TABLET */
@media (min-width: 427px) and (max-width: 768px){
    #faja {
        
        padding: 1rem 5rem 
        1rem 0;
    }
    
    #faja img {
        height: 6rem;
    }
    
    .cotizacion{
        width: 9rem;
        margin-top: 2rem;
        margin-right: 5vw;
    }
    
    .cotiz-dato {
        padding: 0.5rem;
    }
}

/* TABLET AND LAPTOP */
@media (min-width: 427px){
    #portada{
        background-color: #6a6e71;
        background: url(../images/hero-large.jpg)  no-repeat top left;
        background-size: cover;
        flex-direction: column;
        justify-content: space-between;
        align-items: normal;
        min-height: calc(41vw + 69px);
    }
}

