/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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: baseline;
}
/* 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;
}

/* -------------------------------------------------------------
======	Global
------------------------------------------------------------- */

html {
    font-family: ubuntu;
    box-sizing: border-box;
    color: #555;
}

body {
    width: 100%;
    background: #eceff1;
    font-size: 14px;
}

a {
    color: #b71c1c;
    font-weight: normal;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #000;
    text-decoration: underline;
    background: rgba(0, 0, 0, 0.25);
}

ul,
ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

p{
    margin: 0px;
}

.contenedor {
    width: 90%;
    margin: auto;
    max-width: 1366px;
    min-width: 300px;
}


/* -------------------------------------------------------------
======	Encabezado
------------------------------------------------------------- */


.encabezado {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


    .encabezado .logos {
        flex-grow: 0;
        width: 320px;
        display: flex;
        align-items: center;
    }

        .logos .logo1,
        .logos .logo2 {
            width: 50%;
        }

    .nave {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

        .navelink {
            width: 100px;
            text-align: center;
            height: 40px;
            line-height: 40px;
            font-size: 13px;
        }

        .navel_active {
            color: white;
            background-color: #b71c1c;
        }

/* -------------------------------------------------------------
======	Secciones
------------------------------------------------------------- */

/* -- Presentacion
------------------------------------------------------------- */

.inicio_seccion{
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.seccion_inicio{
    display: flex;
}

    .seccion_inicio .jeslet{
        width: 50%;
        padding: 10px;
        box-sizing: border-box;   
    }

        .jeslet h1{
            font-size: 30px;
            font-weight: 500;
            font-style: italic;
            color: #b71c1c;
            margin: 20px 0;
        }

        .jeslet p{
            text-align: justify;
        }

        .jeslet p span{
            font-style: italic;
        }

        .jeslet h5{
            font-size: 16px;
            font-style: italic;
        }

    .seccion_inicio .jeslet2{
        width: 50%;
        padding: 10px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
        .car_figura{
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;
            width: 530px;
            height: 350px;
            position: relative;
        }

        .car_figura img{
            position: absolute;
            top: 0px;
            left:0px;
            z-index: -1;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .car_figura figcaption{
            background-color: rgba(255, 255, 255, 0.3);
            width: 300px;
            height: 80px;
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;
            border-radius: 15px;
        }


/* -- Servicios
------------------------------------------------------------- */

.inicio_servicios{
    margin: 20px 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

    .inicio_servicios .aservicio{
        display: flex;
        flex-flow: column;
        width: 400px;
    }

    .aservicio img{
        width: 100%;
    }

/* -- Productos
------------------------------------------------------------- */

.inicio_productos{
    margin: 20px 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

    .inicio_productos .fproductos{
        display: flex;
        flex-flow: column;
        width: 290px;
        margin: 10px 5px;
    }

    .fproductos img{
        width: 100%;
    }

/* -- Pie de pagina
------------------------------------------------------------- */

.inicio_pie{
    display: flex;
    flex-flow: column wrap;
}
    .inicio_pie .pie_top{
        margin: auto;
    }
    .inicio_pie .pie_links{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
        .pie_links ul{
            display: flex;
            height: 50px;
        }

        .pie_links ul li{
            padding: 0 10px;
            line-height: 50px;
        }


/* -------------------------------------------------------------
======	PAGINA Nosotros
------------------------------------------------------------- */

.inicio_pagina{
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    color: #b71c1c;
    margin: 10px 0;   
}

.seccion_nosotros{
    display: flex;
    justify-content: space-around;
}

    .aside_nosotros{
        width: 20%;
    } 
        .aside_nosotros p{
            text-align: justify;
        }
        .aside_nosotros a{
            display: block;
            height: 30px;
            line-height: 30px;
        }

    .articulos_nosotros{
        width: 70%;
    }

        .articulos_nosotros img{
            width: 100%;
        }

        .articulos_nosotros article{
            margin: 20px 0;
        }

        .articulos_nosotros h2{
            color: #b71c1c;
            font-size: 16px;
            margin: 10px 0;
        }
        .articulos_nosotros p{
            text-align: justify;
            margin-bottom: 1em;
        }

/* -------------------------------------------------------------
======	PAGINA Productos
------------------------------------------------------------- */
.seccion_productos{
    display: flex;
    justify-content: space-around;
}

    .aside_productos{
        width: 20%;
    } 
        .aside_productos p{
            text-align: justify;
        }
        .aside_productos a{
            display: block;
            height: 30px;
            line-height: 30px;
        }

    .figura_productos{
        width: 70%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
    }

        .figura_producto img{
            width: 100%;
        }

        .figura_producto{
            margin: 5px 0;
            width: 32%;
        }

        .figura_producto a{
            display: block;
            margin: 10px;
            text-align: center;
        }
        
        .figura_producto p{
            margin: 10px;
            text-align: justify;
        }

/* -------------------------------------------------------------
======	PAGINA Servicios
------------------------------------------------------------- */

.seccion_servicios{
    display: flex;
    justify-content: space-around;
}

    .aside_servicios{
        width: 20%;
    }

        .aside_servicios p{
            text-align: justify;
        }
        .aside_servicios a{
            display: block;
            height: 30px;
            line-height: 30px;
        }

    .articulo_servicios{
        width: 70%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
    }

            .articulo_servicio img{
                width: 100%;
            }

            .articulo_servicio{
                margin: 5px 0;
                width: 80%;
            }

            .articulo_servicio h2{
                color: #b71c1c;
                font-size: 16px;
                margin: 10px 0;
            }      
            .articulo_servicio p{
                margin: 10px;
                text-align: justify;
            }

/* -------------------------------------------------------------
======	PAGINA Contacto
------------------------------------------------------------- */
.seccion_contacto{
    display: flex;
    justify-content: space-around;
    margin-bottom: 2em;
}

    .aside_contacto{
        width: 30%;
        padding-left: 10px;
    }

    .aside_contacto address{
        font-style: italic;
    }

    .aside_contacto h5{
        color: #b71c1c;
        margin-bottom: 1em;
    }

    .form_contacto{
        width: 60%;
    }

        .form_contacto h2 {
            font-size: 2.5em;
            margin: 0 0 20px;
            letter-spacing: -0.05em;
            color: #555;
            line-height: 1;
        }
        
        .form_contacto p{
            display: block;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-left: none;
            border-right: none;
            text-align: center;
            padding: 20px;
            margin: 20px 0px;
        }

        .form_contacto label{
            display: block;
            margin-bottom: 1em;
            margin-top: 1em;
            font-weight: 500;
            cursor: pointer;
        }
        .form_contacto textarea {
            padding: 1em;
            min-height: 15em;
            height: auto;
            width: 100%;
          }
        .form_contacto input,
        .form_contacto select,
        .form_contacto textarea {
          border: 1px solid #ddd;
          color: #777;
          font-size: 1em;
          padding: 1em;
          width: 60%;
          -webkit-box-sizing: border-box;
          -moz-box-sizing: border-box;
          -ms-box-sizing: border-box;
          box-sizing: border-box;
        }

        /* -- Botones */
        .form_contacto input[type="submit"],
        .form_contacto button{
            color: #666;
            font-size: 1.1em;
            font-weight: normal;
            padding: 0.6em 1.2em;
            text-shadow: 0 1px 0 #fff;
            border: solid 1px #ddd;
            text-decoration: none;
            cursor: pointer;
            border-radius: 2px;
            transition: 0.1s linear all;
        }
        .form_contacto input[type="submit"]:hover,
        .form_contacto button:hover{
        color: #333;
        text-decoration: none;
        border-color: #bbb;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        background: 0 100%;
        }

        .form_contacto input[type="submit"]:focus,
        .form_contacto button:focus{
        color: #333;
        border-color: #bbb;
        }

        .form_contacto input[type="submit"]:active,
        .form_contacto button:active{
        color: #000;
        background: #f5f5f5;
        border-color: #444;
        position: relative;
        top: 1px;
        }

/* -------------------------------------------------------------
======	MediaQuerys
------------------------------------------------------------- */

@media all and (max-width:1160px) {

    .car_figura{
        width: 450px;
        height: 350px;
    }

}

@media all and (max-width:1024px){

/* -- Pagina Productos
------------------------------------------------------------- */
    .figura_producto{
        margin: 20px 0;
        width: 50%;
    }
}

@media all and (max-width:970px) {

    .car_figura{
        width: 350px;
        height: 350px;
    }

    /* -- Pagina Productos
------------------------------------------------------------- */
    .aside_productos{
        width: 30%;
    }
    .figura_productos{
        width: 60%;
    }


} 

@media all and (max-width: 888px){

    .inicio_servicios .aservicio{
        width: 500px;
    }

}

@media all and (max-width:793px) {

/* -- Pagina Productos
------------------------------------------------------------- */
        .aside_productos{
            width: 30%;
        }
        .figura_productos{
            width: 60%;
        }

        .figura_producto img{
            width: 300px;
        }

        .figura_producto{
            width: 400px;
        }

}


@media all and (max-width:768px) {
    .seccion_inicio{
        flex-flow: column;
    }

        .seccion_inicio .jeslet, .seccion_inicio .jeslet2{
            width: 100%;
        }

        .car_figura{
            width: 690px;
            height: 350px;
        }

/* -- Pagina Nosotros / Servicios
------------------------------------------------------------- */
        .aside_nosotros, .aside_servicios{
            width: 30%;
        }
        .articulos_nosotros, .articulo_servicios{
            width: 60%;
        }



}


@media all and (max-width:678px) {
    .navelink {
        width: 70px;
    }
    
    .inicio_pie .pie_links{
        flex-direction: column;
        align-items: center;
    }

/* -- Pagina Productos
------------------------------------------------------------- */
    .seccion_productos{
        flex-flow: column;
    }

        .aside_productos{
            width: 100%;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }
            .aside_productos a{
                padding: 0px 15px;
                text-align: center;
            }

        .figura_productos{
            width: 100%;
        }



}

@media all and (max-width:576px) {
    .car_figura{
        width: 450px;
        height: 350px;
    }
    .pie_links ul{
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        height: 25px;
    }
    .pie_links ul li{
        padding: 0 5px;
        line-height: 25px;
    }

/* -- Pagina Nosotros / Servicios
------------------------------------------------------------- */
    .seccion_nosotros, .seccion_servicios{
        flex-direction: column;
    }

    .aside_nosotros, .aside_servicios{
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

        .aside_nosotros p{
            width: 100%;
        }

        .aside_nosotros a, .aside_servicios a{
            width: 40%;
            text-align: center;
        }

    .articulos_nosotros, .articulo_servicios{
        width: 100%;
    }

/* -- Pagina Contacto
------------------------------------------------------------- */

    .seccion_contacto{
        flex-direction: column;
    }
    .aside_contacto{
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .aside_contacto address{
        margin: 2em 0;

    }

    .aside_contacto address a{
        display: block;
        text-align: center;
    }

    .form_contacto{
        width: 90%;
        margin-top: 2em;
    }
}    


@media all and (max-width:480px) {
    .car_figura{
        width: 300px;
        height: 250px;
    }

    .inicio_servicios .aservicio{
        width: 300px;
    }

    .aside_servicios a{
        height: auto;
    }
}
