/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a{
    color:inherit;
    text-decoration:none;
}
body{
    background:url(../img/agsquare.png);
    font-family: 'Archivo Narrow', sans-serif;
}
header{
    background:#fff;
    display:block;
    height:100px;
    position:relative;
    z-index:2;
    box-shadow:0 1px 4px rgba(0,0,0,0.1);
}
footer{
    background:#525252;
    color:#fff;
    font-size:0.8em;
    padding:16px 0;
}
footer span{
    margin-left:20px;
}
h3{
    line-height:50%;
    color:#3471b3;
}
h4{
    color:#3471b3;
    font-size:0.9em;
}
ul{
    margin:0;
    padding:0;
    list-style:none;
}
#cont{
    width:1000px;
    background:#fff;
    margin:0 auto;
    padding:2px 0 0;
}
#menu{
    color:#3471b3;
    width:510px;
    font-size:0.9em;
    margin:47px 0 0 45px;
    display:inline-block;
    letter-spacing:1px;
    vertical-align:top;
}
#menu a{
    padding:48px 20px 35px;
    transition:all ease-in 0.3s;
}
#menu a:hover{
    background:#f5f5f5;
}

.activado {
	background:#f5f5f5;
}

#menu li{
    display:inline-block;
}
#logo{
    display:inline-block;
    width:400px;
    vertical-align:top;
}
#logo span{
    font-size:1.1em;
    margin:0 0 0 10px;
}
#shea{
    width:960px;
    margin:0 auto;
}
#logo h1, #logo span{
    display:inline-block;
}
#slider{
    width:960px;
    margin:20px auto 0;
}
.azul{
    color:#3471b3;
}
#primt{
    display:block;
    line-height:100%;
    text-align:center;
    width:70%;
    font-size:2em;
    margin:40px auto 30px;
}
#siesa{
    font-size:2.9em;
    margin:14px 0 0;
}
#texp{
    width:960px;
    margin:0 auto;
    padding:10px 0;
    background:#f4f4f4;
}
#texpqs{
    width:960px;
    margin:0 auto;
    padding:10px 0;
    background:#f4f4f4;
    box-shadow:1px 1px 3px rgba(0,0,0,0.2);
}
#texpc{
    width:460px;
    margin:40px 0 30px 20px;
    padding:10px 0;
    display:inline-block;
    background:#f4f4f4;
    box-shadow:1px 1px 3px rgba(0,0,0,0.2);
}
#contat{
}
#reduc{
    width:90%;
    margin:0 auto;
    text-align:left;
}
.imal{
    font-size:0.9em;
}
#formulario{
    padding:20px;
    width:340px;
    margin-left:50px;
    display:inline-block;
    vertical-align:top;
}
#formulario textarea{
    width:190px;
}
#formulario input, #formulario textarea{
    margin:4px 0;
    display:inline-block;
}
#formulario input[type="text"]{
    width:190px;
}
#formulario input[type="tel"]{
    width:190px;
}
#formulario label{
    width:70px;
    display:inline-block;
}
#servicios{
    width:960px;
    margin:0 auto 30px;    
}
#servicios a{
    padding:0;
    margin-right:27px;
    width:160px;
    vertical-align:top;
    transition:all ease-in 0.3s;
    display:inline-block;
}
#servicios a:hover{
opacity:0.7;
}
.rayas{
    text-align:center;
    width:960px;
    margin:0 auto 40px;;
    border-bottom:1px solid #efefef;    
}
#mapa{
    width:100%;
    height:340px;
    margin:10px 0 60px;
    border:none;
}
.titu{
    margin-bottom:-20px;
    background:#fff;
    display:inline-block;
    padding:10px 20px;
}
.clase{
    height:160px;
    font-size:0.9em;
    margin-bottom:10px;
}
.clase h4{
    line-height:50%;
}
.clase img{
    width:200px;
}
#contg, #cuatro, #tres, #segundox, #primerox{
    width:83%;
    margin:10px auto 50px;
}
#contg, #cuatro, #tres, #segundox, #cinco{
    display:none;
    opacity:1;
    width:83%;
    margin:10px auto 50px;
}
#cinco{
    width:83%;
    margin:10px auto 50px;
}
#primerox div{
    position:relative;
    width:190px;
    vertical-align:top;
    margin:6px;
    display:inline-block;
    height:130px;
}
.cover2{
    color:#fff;
    text-align:center;
    position:absolute;
    transition:all ease-in 0.3s;
    top:0;
    opacity:0;
    left:0;
    z-index:2;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
}
#botones{
    width:200px;
    margin:-20px 0 40px 90px;
}
#botones div{
    display:inline-block;
    width:10px;
    cursor:pointer;
    background:#e9e9e9;
    padding:6px 10px;
    transition:all ease-in 0.3s;
}
#botones div:hover{
    background:#d6d6d6;
}
.cover2 span{
    display:block;
    margin-top:44px;
}
#contg div{
    position:relative;
    width:190px;
    vertical-align:top;
    margin:6px;
    display:inline-block;
    height:130px;
}
#cinco div{
    position:relative;
    width:190px;
    vertical-align:top;
    margin:6px;
    display:inline-block;
    height:130px;
}
#cuatro div{
    position:relative;
    width:190px;
    vertical-align:top;
    margin:6px;
    display:inline-block;
    height:130px;
}
.cu{
    text-decoration:underline;
}
#tres div{
    position:relative;
    width:190px;
    vertical-align:top;
    margin:6px;
    display:inline-block;
    height:130px;
}
#segundox div{
    position:relative;
    width:190px;
    vertical-align:top;
    margin:6px;
    display:inline-block;
    height:130px;
}
#contg div:hover > .cover2{
    opacity:1;
}
#primerox div:hover > .cover2{
    opacity:1;
}
#segundox div:hover > .cover2{
    opacity:1;
}
#tres div:hover > .cover2{
    opacity:1;
}
#cuatro div:hover > .cover2{
    opacity:1;
}
#cinco div:hover > .cover2{
    opacity:1;
}
#clientes{
    width:960px;
    margin:0 auto 50px;
}
#servicios div{
    
}
#clientes div{
    width:140px;
    margin-right:16px;
    vertical-align:top;
    display:inline-block;
    background:#efefef;
    height:120px;
}
#servicios div:last-child{
    margin:0;
}
#izq{
    width:300px;
    background:#f5f5f5;
    padding:10px 30px 20px;
    display:inline-block;
    box-shadow:1px 1px 3px rgba(0,0,0,0.2);
    margin:0 0 40px 20px;
}
#izqqs{
    width:540px;
    padding:10px 20px 20px;
    display:inline-block;
    margin:0 0 40px 20px;
}
#izqqs2{
    width:540px;
    padding:0 20px 0;
    display:inline-block;
    margin:-14px 0 0 20px;
}
#imgqs{
    display:inline-block;
    vertical-align:top;
    margin-left:20px;
}
#der{
    display:inline-block;
    width:550px;
    vertical-align:top;
    margin:0 0 0 40px;
    position:relative;
}
#derqs{
    display:inline-block;
    width:570px;
    vertical-align:top;
    margin:-10px 0 80px 20px;
    position:relative;
}
.gem{
    display:inline-block;
    vertical-align:top;
}

#der p{
    letter-spacing:1px;
}
#der p{
    font-size:0.9em;
}
#izq li{
    font-size:0.9em;
    margin:0 0 16px 34px;
    position:relative;
}
#izq li:before{
    position:absolute;
    left:-36px;
    content:url(../img/ang.png);
}
.claro{
    color:#5fdccd;
}
#tabajo{
    font-size:1em;
    width:260px;
    display:inline-block;
    vertical-align:top;
    margin:0 0 0 20px;
}
#der span{
    width:260px;
    position:absolute;
    font-size:0.9em;
    letter-spacing:1px;
    right:6px;
    padding-bottom:16px;
    top:80px;
    border-bottom:1px solid #efefef;
    display:inline-block;
}
#der img{
    display:inline-block;
    margin-bottom:30px;
}
#reduc h2{
    font-size:1em;
    color:#6c6c6c;
}
.slicon{
    color:#fff;
    width:100%;
    font-size:1.8em;
    font-weight:700;
    padding:10px 0;
    position:absolute;
    bottom:0;
    background:rgba(0,0,0,0.2);
}

.slicon span{
    margin:10px 0 20px 40px;
    display:block;
    line-height:100%;
}
.boton{
    font-size:0.4em !important;
    font-weight:normal;
    letter-spacing:1px;
    background:#5fdccd;
    margin:0 0 10px 40px;
    display:inline-block;
    padding:8px 30px;
    border-radius:4px;
    box-shadow:1px 1px 0 #34b9aa, 2px 2px 0 #34b9aa, 3px 3px 0 #34b9aa;
    cursor:pointer;
}
#primer{
    position:absolute;
    bottom:10px;
}
.boton:hover{
    margin:0 0 8px 41px;
    box-shadow:1px 1px 0 #34b9aa, 2px 2px 0 #34b9aa;
}
#slider li{
    position:relative;
}











/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

#formdata input[type=text], #formdata input[type=tel],#formdata input[type=email],#formdata textarea, #formdata input[type=password]{
    width: 300px;
    padding: 6px;
    border: 1px solid #e9e9e9;
    font-size: 0.9em;
}
#formdata textarea{
    height: 80px;
}

#exito {
    color: #3471b3;
    display: none;
}
