/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html{
    box-sizing: border-box;
}
*,*::before,*::after{
    box-sizing: inherit;
}
body{
    background-color: #f2f2f2;
    font-family: 'Open Sans', sans-serif;
}
/**Globales**/
h2{
font-family: 'Oswald', sans-serif;
font-size: 2.4em;
text-transform: uppercase;
text-align: center;
}
h2::after{
  content: '';
  margin: 10px auto;
  background-image: url(../img/separador.png); 
  height: 30px;
  width: 100px;
  display: block;
  
}
.contenedor{
    width: 98%;
    margin: 0 auto;
}
@media only screen and (min-width: 480px){
.contenedor{
    width: 95%;
}
}
@media only screen and (min-width: 768px){
.contenedor{
    width: 90%;
}
}
@media only screen and (min-width: 992px){
.contenedor{
    width: 90%;
    max-width: 1100px;
}
}
.seccion{
  padding: 30px 0;
}
.seccion p{
  font-size: 1.2em;
  text-align: center;
}
ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
/** Header **/
div.fotoPortada{
    background-image: url(../img/sky-49520_1920.jpg);
    height: 70vh;
    background-position: top center;
    background-size: cover;
}
@media only screen and (min-width:1024px){
  div.fotoPortada{
    height: 50vh;
  }
} 
div.contenido-header{
    padding-top: 50px;
    position: relative;
}
@media only screen and (min-width: 768px) {
    div.contenido-header{
    padding-top: 20px;
    
}
}
nav.redes-sociales{
    text-align: center;
	position:relative;
}
nav.redes-sociales a{
 color: #ffffff;
 font-size: 2em;
 margin-right: 20px;
}
nav.redes-sociales a:last-child{
    margin-right: 0;
}
@media only screen and (min-width: 768px) {
    div.informacion-empresa{
        width: 70%;
        margin: 0 auto;
        margin-top: 50px;
    }
    
}
div.informacion-empresa{
    text-align: center;
    color: #1a1a19;
    position: relative;
}
/*div.clearfix{
    position: relative;
	width: 70%;
    margin: 0 auto;
}*/
div.logo{
 width: 70%;
 position: absolute;
    margin-left: 15px;

}
div.logo img{
   width: 26%;
}
div.informacion-empresa p{
    margin: 0;
    display: inline;
    font-size: 20px;
    text-transform: uppercase;
}
div.informacion-empresa p i{
    color: #14072b;
    font-size: 1.8rem;
}
p.antiguedad{
    float: left;
}
p.ubicacion{
    float:right;
    text-align: right;
}
@media only screen and (min-width:768px){
div.titulo{
  position: relative;
  top: 90px;
}
}
@media only screen and (min-width:992px){
div.titulo{
  position: relative;
  top: 120px;
}
}
header h1{
font-family: 'Sedgwick Ave Display', cursive;
color: rgb(20, 7, 43);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.2em;
}
/**Barra**/
div.barra{
    background-color:#0182e7; 
    padding: 20px 0;
}
div.barra div.logo{
  width: 33%;
  float: left;
  margin-left: 0px;
  position: relative;
}
div.barra div.logo img{
  width: 137%;
}
@media only screen and (min-width: 768px){
  div.barra div.logo img{
  width: 50%;
}
}
/**Navegación principal**/
nav.navegacion-principal {
  display: none;
  width: 100%;
}
nav.navegacion-principal a{
  font-family: 'Oswald', sans-serif;
  color:#ffffff;
  font-size: 1.3em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .6s ease;
  width: 100%;
  display: inline-block;
  text-align: center;
  margin-bottom: 10px;
}
nav.navegacion-principal a:hover{
  background-color: #515151;
}
nav.navegacion-principal a:last-child{
  border:2px solid #515151;
  color:#515151;
}
nav.navegacion-principal a:last-child:hover{
color:#ffffff;
}
@media only screen and (min-width: 768px) {
  nav.navegacion-principal {
  width: 67%;
  float: right;
  display: inline-block;
  text-align: right;
}
nav.navegacion-principal a{
  margin-right: 10px;  
  display: inline;
  }
}
/**menu movil**/
div.menu-movil{
  width: 60px;
  display: block;
  margin-top: 12px;
  float: right;
  text-align: right;
}
@media only screen and (min-width: 768px){
  div.menu-movil{
    display: none;
  }
}
div.menu-movil span{
  height: 8px;
  margin-bottom: 6px;
  background-color: white;
  display: block;
}
div.menu-movil:hover {
  cursor: pointer;
}
/**seccion**/
div.empresa{
    text-align: center;
    display: block;
}
div.empresa div.icon i{
    width: 120px;
    height: 120px;
    border-radius: 60px;
    border: solid 2px #999;
    font-size: 30px;
    line-height: 120px;
    text-align: center;
    margin: 10px 90px 0 70px;
    color: #999;
}
div.icon{
    text-align: center;
    margin: 0 auto;
}

div.empresa div.icon h3, div.empresa div.icon p{
  text-align: center;

}
@media only screen and (min-width: 768px){
  div.empresa{
    text-align: center;
    display: inline-flex; 
    margin: 0 8.72%;
}
   
    div.icon{
        width: 33%;
        text-align: center;
    }
div.empresa div.icon i{
    width: 120px;
    height: 120px;
    border-radius: 60px;
    border: solid 2px #999;
    font-size: 30px;
    line-height: 120px;
    text-align: center;
    color: #999;
}
 div.empresa div.icon h3, div.empresa div.icon p{
  text-align: center;
 
}   
}

/**Nuestros trabajos**/
ul.lista-trabajos li{
  padding: 10px;
  float: left;
}
@media only screen and (min-width: 480px){
ul.lista-trabajos li{
  width: 50%;
}
}
@media only screen and (min-width: 768px){
ul.lista-trabajos li{
  width: 33.3%;
}
}
div.trabajo{
  position: relative;
  overflow: hidden;
}
div.trabajo img{
  max-width: 100%;
  filter: gray;
  -webkit-filter:grayscale(1);
  -webkit-transition: all .5s ease-in-out;
}
div.trabajo:hover img{
  -webkit-filter:grayscale(0);
  -webkit-transform: scale(1.1);

}
div.trabajo p{
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px 10px;
  margin:0;
  background-color: rgba(0,0,0,.55);
  width: 100%;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  color: #0182e7;
  text-transform: uppercase;
  -webkit-transition: all .5s ease-in-out;
}
div.trabajo:hover p{
  bottom:-80px;
  opacity: 0;
}
/**Contador**/
.parallax::before{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  background-repeat:no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  -webkit-filter:brightness(.8);
  filter: brightness(.8);
}
div.contador{
  position: relative;
  height: auto;
}
div.contador::before{
  background-image: url(../img/IMG_0680.JPG);
  content: '';
}
ul.tipos-trabajo{
  position: relative;
  padding: 120px 0;
}
ul.tipos-trabajo li{
  width: 33.3%;
  float: left;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
}
@media only screen and (min-width: 768px){
  ul.tipos-trabajo li{
  width: 33%;
}
}
p.numero{
  color:#0182e7;
  font-size: 4em;
  display: block;
  margin: 0 0 10px 0;
}

/**Mapa**/
div.mapa{
  height: 420px;
  background-color: blue;
}
/**Testimonios**/
div.testimoniales{
  background-color:#ffffff;
}

@media only screen and (min-width: 768px){
  div.testimonial{
  float: left;
  width: 33.3%;
}
}
/**Contacto**/

div.contacto{
  position: relative;
  height: auto;
}
div.contacto::before{
  background-image: url(../img/IMG_0960.JPG);
  content: '';
}
div.contacto .contenido{
  padding: 100px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
}
div.contacto .contenido p{
  font-size:3.2em;
  text-transform: lowercase; 
  color: #ffffff;
  font-weight: bold;
}
div.contacto .contenido p span{
  text-transform: capitalize;
}
div.contacto .contenido h3{
  text-transform: uppercase;
  font-family: 'PT Sans', sans-serif;

}
@media only screen and (min-width: 768px){
  div.contacto .contenido h3{
  font-size: 4vw;
}
}
div.contacto .contenido .email{
  font-size: medium;
  padding-bottom: 36px;
} 
.button.transparente{
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration:none;
  text-transform: uppercase;
  padding: 15px 32px;
  font-size: larger;
}
.button.transparente:hover{
  background-color: #515151;
  border: 2px solid #515151;
}
/**Cuenta- Experiencia**/
div.cuenta-experiencia ul li{
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-align: center;
}
@media only screen and (min-width: 768px){
  div.cuenta-experiencia ul li{
    display: block;
    width: 25%;
    float: left;
    font-size: 2rem;
  }
}
/**Footer**/
footer{
  background-color: #515151;
  padding-top: 40px;
  margin-top: 20px;
}
footer .contenedor > div {
  color: #ffffff;
  padding: 0px 20px;
  font-size: 17px;
}
@media only screen and (min-width: 768px){
  footer .contenedor > div {
    width: 50%;
    float: left;
  }
}
footer h3{
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 20px;
}
footer h3 span{
  color:#0182e7;
}
footer div.menu-footer{
  text-align: center;
}
p.copyright{
  text-align: center;
  padding: 10px 0;
  color: #ffffff;
}
.fa.fa-arrow-circle-up{
  float:right;
  margin-right: 50px;
}
/**Formulario**/
@media only screen and (min-width: 768px){
#recaptcha{
  margin:0 auto;
  display:inline-block; 
  width: 28%;
}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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


