﻿body{
    font-family: 'Source Sans Pro', sans-serif;
}

.negro{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    text-align: center;
    display: none;
}
.negro img{
    height: 80vh;
    margin-top: 10vh;
}
.cerrar{
    position: absolute;
    right: 0;
    top: 0;
    background: black;
    width: 45px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;

    border-radius: 50%;
}
.cerrar:hover{
    background: red;
}

.chat{
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1000;
    width: 60px;
}
.chat img{
    width: 100%;
}
.chat span{
    position: absolute;
    top: 12px;
    left: -105%;
    border: 0px solid red;
    background: yellow;
    font-size: 22px;
    font-weight: bold;
    color: black;
    padding: 4px 10px;

    border-radius: 10px;
}


.blanco{
    padding-top: 7px;
    padding-bottom: 7px;

    box-shadow: 0px 0 10px black;
}
.blanco .logotipo img{
    width: 65%;
}

.cabecera-ayuda{
    height: 175px;
}

.cabecera{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: #f7f7f7;
    padding-top: 15px;
    padding-bottom: 15px;

    transition: all 0.2s;
}

.logotipo{
    text-align: center;
}
.logotipo img{
    width: 80%;

    transition: all 0.2s;
}

nav a{
    color: black;
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    width: 24%;
    float: left;
    margin-left: 1%;
    position: relative;
}

.menu-r{
    display: none;
}
.menu, .menu-r{
    color: black;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    padding: 4px 0;
    cursor: pointer;
}
.menu:hover, .activo, .menu-r:hover{
    color: #ff3031;

    border-radius: 4px;
}


nav ul li:hover .menuS{
    display: block;
}

.menuS{
    position: absolute;
    top: 38px;
    left: -50%;
    z-index: 100;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    background: white;
    width: 200%;
    display: none;

    box-shadow: 3px 3px 3px black;
}
.menuS ul li{
    width: 100%;
}



.datos{
    font-size: 20px;
    line-height: 20px;
    text-align: center;
}
.datos a{
    color: black;
    text-decoration: none;
}
.datos strong{
    font-size: 22px;
    color: #ff3031;
}
.datos p{
    margin-bottom: 0;
}
.datos img{
    width: 25px;
}


.efecto{
    padding: 0;
}


.contenido{
    padding-top: 30px;
    padding-bottom: 30px;
}

.titulo{
    color: #ff3031;
    text-align: center;
    margin-bottom: 30px;
}
.titulo div{
    font-size: 37px;
    font-weight: bold;
    display: inline-block;
}

.subtitulo{
    text-align: center;
    color: gray;
    font-size: 26px;
    margin-bottom: 30px;
}


.c{
    text-align: center;

    border-radius: 3px;
}
.c:hover{
    background: white;
    cursor: pointer;
}
.c img{
    height: 250px;
}
.c strong{
    width: 100%;
    text-align: center;
    color: #c11d1d;
    font-size: 24px;
    display: inline-block;
}


.seccion{
    background: #f7f7f7;
    font-size: 20px;
    line-height: 30px;
    color: black;
    padding: 45px;
}
.seccion strong{
    width: 100%;
    font-size: 30px;
    display: inline-block;
    margin-bottom: 20px;
}

.img1{
    background: url(../images/essor-elevadores.webp) no-repeat center center;
    background-size: cover;
}
.img2{
    background: url(../images/instalacion-de-elevadores.webp) no-repeat center center;
    background-size: cover;
}
.img3{
    background: url(../images/3.webp) no-repeat center center;
    background-size: cover;
}
.img4{
    background: url(../images/contacto.webp) no-repeat center center;
    background-size: cover;
}


.servicios{
    background: #f7f7f7;
    padding-top: 30px;
    padding-bottom: 30px;
}

.titulo{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.s{
    text-align: center;
}
.s img{
    height: 160px;
}
.s strong{
    width: 100%;
    font-size: 20px;
    display: inline-block;
    padding: 0 20px;
}


.imagenes{
    text-align: center;
}
.imagenes img{
    height: 330px;
    margin: 0 10px 20px;
}
.galeria img{
    cursor: pointer;
}
.imagenes div{
    margin-bottom: 20px;
}

.form-group{
    margin-bottom: 20px;
}


.texto{
    padding-top:30px;
    padding-bottom:30px;
}


footer{
    background: black;
    color: white;
    font-size: 20px;
    line-height: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
}
footer a{
    color: white;
}
footer img{
    width: 35px;
}
footer iframe{
    width: 100%;
    height: 200px;
}
footer strong{
    width: 100%;
    font-size: 23px;
    display: inline-block;
    margin-bottom: 20px;
}


@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){
    .cabecera-ayuda{
        display: none;
    }
    .cabecera{
        position: relative;
    }
    .logotipo img, .blanco .logotipo img{
        width: 60%;
    }
}

@media screen and (max-width:992px){
    .logotipo img, .blanco .logotipo img{
        width: 60%;
    }
}

@media screen and (max-width:768px){
    .logotipo img, .blanco .logotipo img{
        width: 40%;
    }
    nav{
        margin: 20px 0 !important;
    }
    .menuS nav{
        margin-top: 0 !important;
    }
    .c{
        margin-bottom: 30px;
    }
    .img{
        height: 250px;
    }
    .seccion{
        padding: 14px;
    }
}

@media screen and (max-width:576px){
    .logotipo img, .blanco .logotipo img{
        width: 50%;
    }
    .menu-r{
        display: block;
    }
    nav ul{
        display: none;
    }
    nav ul li{
        width: 100%;
    }
    .menuS{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
    }
    .menuS .menu{
        background: white;
    }
    .s img{
        height: 100px;
    }
    .c img{
        width: 100%;
        height: auto !important;
    }
    .imagenes img{
        width: 90%;
        height: auto !important;
        margin: 0 5% 20px !important;
    }
}