html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: middle;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* BORDER BOX*/

*{
    box-sizing: border-box;
}
/*INICIO DE ESTILOS*/
body{
    font-family: 'Open Sans', sans-serif;
}
strong{
    font-size: 16px;
    font-weight: bold;
}
h1{
    font-size: 40px;
    font-weight: bolder;
    text-align: center;
}
h2{
    font-size: 14px;
    font-weight: bolder;
    text-align: center;
}
p{
    font-size:14px;
    font-weight: lighter;
    line-height: 1.5;
    text-align: center;
}
/*PRIMER CUADRO*/

#fondo1 {
    background-image:url(Imagenes/Fondo1.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 500px;
}
.logo{
    padding:   20px 30px;
    float: left;
}
/* Menu Imagen */
.lanzador-menu{
    width:45px;
    height:45px;
    background-image:url(Imagenes/menu-01.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 20px;
    float: right;
    margin-top: 20px; 
}
section{
    clear: both;
    margin: 0 auto;
    height: 400px;
    padding: 10%;
    width: 100%;
    color: white;
}

section, .cuadro1, .cuadro2, .textf2, #fondo2, .cuadro4, .cuadro5{
    display: flex;
    flex-direction: column;
    flex-wrap:wrap;
    justify-content:center;
    align-content: center;
    padding:2%;
    text-align: center;
}
.cuadro1{
    
    background-color: firebrick;
    height: 300px;
    color: #ded6c0;
}
.cuadro2{
  
    background-repeat: no-repeat;
    background-position: center;
    height: 300px;
    color: #B9B9C8;
    
}
#fondo2 {
    background-image: url(Imagenes/Fondo2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%
}
.textf2{
    min-height: 400px;
    color: white;
    text-align: center;
    width: 100%;
    font-weight: bold;
}
.cuadro3{
    width: 100%;
    height: auto;
    overflow: hidden;

}
.cajaim{
    background-color: #f5f0ed;
    width: 100%;
    padding: 5%;
}
.cajaim img{
   
    display: table;
    margin: 0 auto;
}
.cuadrotexto{
    border: solid 3px white;
    padding: 10px;
}
.cuadro4{
background-image: url(Imagenes/cuadro-clientes.gif);
    background-repeat: no-repeat;
    background-position: relative
  
    
    background-color: #ded6c0;
    height: 300px;
    color: #686859;
}
.cuadro5{
    background-color: #686859;
    height: 300px;
    color: #ded6c0;
}
.mail{
    justify-content: center;
    width: 100%;
    color: white;
    font-weight: bold;
}
footer{
    background-color:#BDBDAE;
    height: 80px;
    min-height: 40px;
    text-align: center;
    color: white;
    clear: both;
}

/*MEDIA QUERIES*/
@media screen and (max-width: 900px){
    .js .navegacion{
        max-height: 0;
        overflow: hidden;
        transition: max-height .5s;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 180px;
        background-color: #686859;
        border-radius: 7%;
    }
    .js .navegacion a{
        height: 50px;
        width: 180px;
        text-align: center;
        line-height: 50px;
        float: right;
        text-decoration: none;
        color: white;
        border-top: 2px solid rgba(255, 255, 255, .1);
    }
     .js .navegacion li a:hover{
        background-color: #ded6c0;
         width: 180px;
         color: #D90000;
         font-size: 18px;
         font-weight: normal;
    }
    .js .navegacion.menu-desplegado{
        max-height: 260px;
    }
    
}

@media screen and (min-width: 901px) { 
     .lanzador-menu{
        display: none;
    }
    
    .navegacion{
        position: absolute;
        top: 45px;
        right: 10px;
    }
    .navegacion li{
        display: inline-block;
        text-align: center;
        font-size: 12px;
        color: white;
        width: 130px;
    }
    .navegacion li a{
        color: white;
        text-decoration: none;
        text-align: center;
    }
    .navegacion li:hover{
        color: red;
        font-weight: normal;
        font-size: 12px;
        text-align: center;
        text-decoration: none;

    }
    .cuadro1, .cuadro2, .cuadro4, .cuadro5{
        width: 50%;
        float: left;
    }
    section, .textf2{
        width: 60%;
        margin: 0 auto;
    }
    .cajaim{
        width: 50%;
        height: 400px;
        float: left;
        padding: 0 70px;
      

    }
   .cajaim p {
        text-align: center;
    }
    .cajaim img{
	vertical-align: center;
}
