/******
STYLE GUIDE:
0. RESET
1. GENERIC
2. LAYOUT
3. HEADER
4. CONTENT
    4.1 INICIO
    4.2 NOSOTROS
    4.3 SERVICIOS
    4.4 PORTAFOLIO
    4.5 CONTACTO
        4.5.1 MAPA
        4.5.2 FORMULARIO
5. FOOTER


10. MEDIAQUERY?
------------------*/
/*        0. RESET       */
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;
}

* { box-sizing:border-box;}

/* -------- 1. GENERIC -------- */

body{
    font-size: 18px;
    background: #FFF;
    color: #333;
    line-height: 1.4;
    font-family:  Trebuchet, Helvetica, Verdana, sans-serif;
}

em{font-style: italic;}
strong, b{font-weight: bold;}

h2{
    font-size: 2em;
}
h3{
    font-size: 1.6em;
}

h2, h3{
    display: inline;
    padding: 5px;
    margin: 5px;
}

h2 span{
    font-size: .75em;
    color: #b2551b;
}

header{
    background: #f5f1f1;
}

.wrapper{
    background: #FFF;
}

footer{
    background: #0a0505;
    color: #c1bcbc;
    font-size: .9em;
    border-top: 10px solid #f5f1f1;
}

.content section{
    border-bottom: 10px solid #f5f1f1;
}

.ver-mas{
    display: inline;
    text-decoration: none;
    width: 100px;
    height: 35px;
    color: #FFF;
    font-size: .9em;
    background: #39a4e6;
    border: 2px solid;
    border-radius: 10px;
    text-align: center;
    padding: 5px;
}

.ver-mas:hover{
    background: #1d79b3;
}

.content .color-banner{
/*    background: #11bc87;*/
    background: #1170ac;
/*    background: #6f44be;    */
    color: #FFF;
}

.banner{
    text-align: center;
    justify-content: center;
    padding: 30px 5px; 
}

.fondo-gris{
     background:  #fbfafa;
}

/* -------- 2. LAYOUT -------- */
.container{
    width: 1170px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.flex{
    display: flex;
}
/* -------- 3. HEADER -------- */
.navbar{
    justify-content: space-between;
}

    .logo-menu{
        flex-flow: row nowrap;
        justify-content: center;
    }

    .navbar nav, .navbar figure{
        align-items: center;
        height: auto;
    }

    .navbar figure a{
        display: inline;
        padding: 6px 5px;
    }
    .navbar nav a{
        display: inline-block;
        padding: 40px 20px;
        font-size: 1em;
        font-weight: bold;
        color: #000;
        text-decoration: none;
        margin-right: 1px;
    }

    .navbar a.divider{
        padding: 15px 2px;
        border-right: 1px solid grey;
    }

    .navbar .logo-menu a.menu-icon{
        display: none;
    }
    .navbar nav a.active{
        background: #DDD;
    }
    .navbar nav a:hover{
        color:#FFF;
        background:#2a2929;        
    }
    

/* -------- 4. CONTENT -------- */
/* ------------- 4.1 INICIO -------- */
.inicio{
    justify-content: space-around;
    align-items: center;
}

.inicio figure, .inicio p{
    display: inline-block;
    padding: 20px 50px;
    font-size: 2.3em;
    flex: 1;
    text-align: center;
}


.destacado{
    justify-content: space-around;
    flex-flow: row wrap;
    padding: 30px;
}

    .destacado .texto-destacado{
        flex-direction: column;
        align-items: flex-start;
        margin: 20px 30px;
        text-align: justify;
    }
        .texto-destacado h2, .texto-destacado p, .texto-destacado button{
            margin: 15px 0;
            padding: 5px;
        }    
      
    .destacado figure{
        margin: 20px 30px;
        justify-content: center;
        align-items: center;
    }

.servicios-ini{
    flex-direction: column;
    align-items: center;
}

    .servicios-ini div.flex{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .servicios-ini article{
        flex-direction: column;
        justify-content: space-between;
        margin: 5px 10px;
        padding: 10px;
        width: 350px;
        text-align: left;
    }
    .servicios-ini figure{
        align-self: center;    
    }

/* ------------- 4.2 NOSOTROS -------- */
.nosotros{
    justify-content: space-around;
    align-items: center;
}
.nosotros-info{
    flex-direction: column;
    justify-content: center;
    width: 60%;
    padding: 10px 10px;
    margin: 30px 10px;
}


.clientes{
    flex-direction: column;
    height: auto;
}
    .clientes figure{
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        height: auto;
        padding: 15px;
    }
    .clientes figure img{
        margin: 10px 10px;;
        padding: 10px;
    }
    .clientes h2{
        padding-left: 10px;
        margin-left: 50px;
    }
    

/* ------------- 4.3 SERVICIOS -------- */
.servicios{
    flex-direction: column;
    text-align: center;
}

.movil-web{
    justify-content: space-between;
    height: auto;
    margin-bottom: 25px;
}

.software-info{
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
} 

.redes-info{
    align-items: center;
    text-align: left;
    justify-content: space-around;
}
    .redes-info img{
        border: 2px solid #DDD;
        border-radius: 10%;
        margin: 20px;
    }
    .redes-info p{
        width: 55%;
        margin: 20px;
        text-align: right;
    }

.auto-info{
    flex-direction: row-reverse;
    align-items: center;
    text-align: left;
    justify-content: space-around;
}
    .auto-info img{
        border: 2px solid #DDD;
        border-radius: 10%;
        margin: 20px;
    }
    .auto-info p{
         width: 90%;
        margin: 20px;
    }


#texto-redes{
    flex-flow: row;
    justify-content: space-around;
    align-items: center;
    text-align: left;
}

#texto-redes .redes-texto{
    width: 90%;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    padding: 15px 30px;
}

#texto-redes .redes-texto p, #texto-redes .redes-texto ul{
    margin: 10px 0px;
}

#texto-redes .redes-texto ul{
    list-style: inside; 
}

#texto-redes img{
    border: 2px solid #DDD;
    border-radius: 10%;
}
/* ------------- 4.5 CONTACTO -------- */
/* -------------    4.5.1 MAPA -------- */
.ubicacion{
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

    .ubicacion .mapa{
        flex-direction: column;
        justify-content: center;
        padding: 10px;
        width: 100%;
        height: auto;
    }

    .ubicacion .mapa-contacto{
        width: 100%;
        height: 450px;
    }
    .ubicacion .datos{
        flex-direction: column;
        justify-content: space-around;
        align-items: flex-start;
        text-align: justify;
        padding: 10px;
        max-width: 30%;
    }
        .datos p{
            display: block;
            margin: 5px 0px;
            font-size: 1.2em; 
        }

.datos span{
    margin-right: 20px;
}

/* -------------    4.5.1 FORMULARIO -------- */

.formulario{
    justify-content: center;
}
    .form-contacto{
        font-size: 1em;
        width: 100%;  
        flex-direction: column;
        align-items: center;      
    }
        .form-contacto span{
            width: 70%;
            margin: 5px 0px;
            padding: 5px 0px;
            align-items: center;
        }

        .form-contacto h2{
            align-self: flex-start;
            padding-left: 10px;
        }
            .form-contacto span input{
                width: 100%;
                height: 35px;
                font-size: 1em;
                border: 2px solid #bfbfbf;
                border-radius: 5px;
                color: #4a4848;
                padding: 0px 5px;
            }
            .form-contacto #form-mensaje{
                align-self: flex-start;    
            }
   
        .form-contacto label{
            width: 110px;
            font-weight: bold;
        }
        .form-contacto textarea{
            font-size: 1em;
            min-height: 150px;
            padding: 0px 5px;
            width: 100%;
            border: 2px solid #bfbfbf;
            border-radius: 5px;
            color: #4a4848;
            font-family:  Trebuchet, Helvetica, Verdana, sans-serif;
        }

        .form-contacto #btnEnviar{
            font-size: 1em;
            text-decoration: none;
            color: #FFF;
            background: #1ea440;
            border: 2px solid;
            border-radius: 10px;
            width: 100px;
            height: 40px;
            margin-right: 15%;
            align-self: flex-end;
            text-align: center;
            padding: 8px;
        }

            #btnEnviar:hover{
                 background: #178f36;
            }

.form-contacto input:hover, .form-contacto textarea:hover{
    background: #f0f0f0;
}
.form-contacto input:active, .form-contacto textarea:active{
    background: #f0f0f0;
}
.form-contacto input:focus, .form-contacto textarea:focus{
    background: #f0f0f0;
}

.mensajeRespuesta{
    background: rgba(0, 255, 0, 0.2);
    color: #000;
    font-size: 1.1em;
    width: 50%;
    height: 35px;
    text-align: center;
    padding: 5px;
}


.pie-index{
    flex-direction: column;
}
    .pie-index h3, .pie-index a{ 
        margin: 15px 30px;
    }

        .pie-index a{
            font-size: 1em;
            text-decoration: none;
            text-align: center;
            color: #FFF;
            background: #1ea440;
            border: 2px solid;
            border-radius: 10px;
            width: 150px;
            height: 40px;
            padding: 8px 15px;
        }
    .pie-index a:hover{
        background: #178f36;
    }
/* -------- 5. FOOTER -------- */
.footer-content{
    justify-content: space-around;
    align-items: center;
}
    .footer-content figure.social-media{
        justify-content: space-around;
    }
.social-media a{
    text-decoration: none;
    display: inline-block;
    padding: 20px 10px;
    margin: 1px;
}

    .social-media a img{
        border: 1px solid;
        border-radius: 5px;
    }
.social-media a:hover{
    background: #DDD;
}



/* -------- MEDIAQUERY -------- */

/* ----------- MOVILES HORIZONTAL O TABLETS EN VERTICAL */
@media (max-width: 800px){
    .container{
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    /* HEADER */
    .navbar{
        flex-flow: column;
        justify-content: space-around;
        align-items: center;
    }
    .navbar nav{
        width: 100%;
        flex-flow: row wrap;
        justify-content: space-around;
        align-items: center; 
    }
        .navbar-logo img{
            width: 250px;
            height: auto;
             align-self: center;
        }
        .navbar figure a{
            display: inline;
            padding: 6px 5px;
        }
        .navbar nav a{
            flex: 1;
            font-size: .95em;
            padding: 20px 5px;
            text-align: center;
        }
    
        .navbar nav a.divider{
            flex:none;
            
        }
    
    /* INICIO */
    .inicio{
        flex-flow: row wrap;
        justify-content: space-around;
        align-items: center;
        font-size: .9em;
    }
    .inicio p, .inicio figure{
        padding: 10px;
        flex: 0;
    }
    .inicio img{
        width: 200px;
        height: auto;
        padding: 30px 5px;
    }
    
    /* DESTACADO */
    
    .destacado{
        flex-flow: column wrap;
        justify-content: space-around;
        padding: 30px;
    }
    .destacado figure{
        margin: 20px 30px;
        justify-content: center;
        align-items: center;
    }
    .destacado img{
        width: 80%;
        height: auto;
    }

    /* NOSOTROS  */
    /* SECCIONES */
    .nosotros-info{
        width: 90%;
    }
    
    .nosotros figure{
        width: 45%;
        height: auto;
    }
    .nosotros figure img{
        width: 100%;
        height: auto;
    }
    
    .clientes figure{
        align-self: center;
        width: 100%;
        height: auto;
    }
    
    .clientes figure img{
        width: 160px;
        height: 90px;
        
        margin: 5px;
        padding: 0px;
    }
    
    /* SERVICIOS */
    
    .software-info{
        align-items: center;
    }
    .software-info figure{
        width: 70%;
        height: auto;
    }
        .software-info figure img{
            width: 100%;
            height: auto;
        }
    
    
    .servicios .movil-web, .servicios .redes-info, .servicios .auto-info{
        width: 100%;
        text-align: center;
    }
    
    .servicios .redes-info figure, .servicios .auto-info figure{
        width: 60%;
        height: auto;
    }
    
    .servicios .redes-info figure img, .servicios .auto-info figure img{
        width: 90%;
        height: auto;
    }
    
    
    /* CONTACTO */
    .ubicacion{
        flex-flow: row wrap;
        justify-content: center;
    }
    
    .ubicacion .mapa-contacto{
        width: 100%;
        height: 300px;
    }
    
    .ubicacion .datos{
        width: 95%;
        max-width: 95%;
    }
    
     .form-contacto{
        width: 100%;       
    }
        .form-contacto span{
            width: 100%;
        }
            .form-contacto span input, .form-contacto span textarea {
                width: 95%;
            }

        .form-contacto span{
            flex-flow: column;
            align-items: flex-start;
        }
    
        .form-contacto #btnEnviar{
            margin-right: 5%;
        }
    
}

/* ----------- MOVILES EN VERTICAL -------------------- */
@media (max-width: 480px){
    
    .container{
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    body{
        font-size: .75em;
    }
    
    
    /* HEADER  MENU DESPLEGABLE*/
    .navbar .logo-menu{
        width: 100%;
        align-items: center;
        justify-content: space-between;
        border-bottom: 2px solid #DDD;
    }
    
    .navbar .logo-menu a.menu-icon{
        display: inline-block;
        text-decoration: none;
        color: #000;
        font-weight: bold;
        font-size: 1.9em;
        height: 100%;
        padding: 15px 20px 10px 20px;
    }
    
    .navbar-logo img{
        width: 120px;
        height: auto;
    }
    
    .navbar nav{
        flex-flow: column;
        align-items: flex-start;
    }
    
    .navbar nav a{
        font-size: .9em;
        padding: 15px 20px;
        text-align: left;
        border-bottom: 1px solid #DDD;
    }
    
    .navbar nav a.divider{
        display: none;
    }
    
    .navbar nav a{
        display: none;

    }
    
     .navbar nav.responsive{
        position: relative;
    }

    .navbar nav.responsive a{
        display: block;
        width: 100%;
    }

    .navbar nav.responsive a.divider{
        display: none;
    }
     
    
    .navbar .logo-menu a.menu-icon:hover{
        color:#FFF;
        background:#2a2929;  
    }
    
    
    
    /* INICIO */
    .inicio p, .inicio figure{
        padding: 10px;
        flex: 1;
    }
    
    .servicios-ini article{
        width: 90%;
        height: auto;
    }
    
    .servicios-ini article figure{
        width: 90%;
        height: auto;
    }
    .servicios-ini article figure img{
        width: 90%;
        height: auto;
    }
    
    /* NOSOTROS */
    
    .nosotros {
        flex-flow: row wrap;
    }
    
    
    .nosotros-info{
        width: 100%;
    }
    
    .nosotros figure{
        width: 50%;
        height: auto;
    }
    .nosotros figure img{
        width: 100%;
        height: auto;
    }
    
    .clientes figure{
        align-self: center;
        width: 100%;
        height: auto;
    }
    
    .clientes figure img{
        width: 100px;
        height: 70px;
        margin: 5px;
        padding: 0px;
    }
    
    /* SERVICIOS */
    .servicios .movil-web, .servicios .redes-info, .servicios .auto-info{
        flex-flow: column;
        width: 100%;
        text-align: center;
    }
    
    .servicios figure{
        width: 100%;
        height: auto;
    }
    
    .servicios figure img{
        width: 60%;
        height: auto;
    }
    
    /* CONTACTO */
    
    .mapa-contacto{
        width: 100%;
        height: auto;
    }
    
    .ubicacion .datos{
        width: 100%;
         max-width: 100%;
    }
        
    
    
    
     .form-contacto{
        width: 100%;       
    }
        .form-contacto span{
            width: 100%;
        }
            .form-contacto span input, .form-contacto span textarea {
                width: 95%;
            }
        .form-contacto span{
            flex-flow: column;
            align-items: flex-start;
        }
        
    
    
}