/*! HTML5 Boilerplate v6.1.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
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */

/*font-family: 'Roboto Condensed', sans-serif;
font-family: 'Oswald', sans-serif;
font-family: 'Raleway', sans-serif;*/

/*========== GLOBALES============*/
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #5a5a5a;
}
a {
    color: inherit;
    text-decoration: none;
}

input, textarea, select, span, button {
    outline: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*input[type="text"], input[type="password"], select, input[type="date"], input[type="time"], input[type="number"]{
    width: 250px;
    margin: 10px auto;
    display: block;
    border: 0;
    padding: 10px;
}*/

/*textarea {
    width: 95%;
    margin: 10px 0;
    display: block;
    min-height: 100px;
    max-height: 200px;
    border: 0;
    padding: 10px;
}*/

label {
    display: block;
    margin: 10px auto;
}

.btn {
    display: block;
    margin: 20px auto;
    width: auto;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .1rem;
}

a.btn {
    display: inline-block;
}
a.btn i{
    margin-right:5px;
}

h1 {
    font-family: 'Oswald', sans-serif;
    color: whitesmoke;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1rem;
    text-align: center;
    text-shadow: 2px 3px 2px #333;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin: 0 0 30px 0;
    position: relative;
    border-left: solid 4px #28a745;
    padding:10px 15px;
}

.contenido {
    margin-bottom: 20px;
    padding: 30px;
    /*background: linear-gradient(to right, #f7f8f9 60%,#e5e5e5 100%);*/
    background-color: #fff;
    box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.3);
    min-width: 300px;
    z-index:99;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.btn-top {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #28a745;
    color: whitesmoke;
    cursor: pointer; 
    padding: 15px; 
    border-radius: 100%;
}
.btn-top span{
    font-size:2.5rem;
}
/*============ Floating Labels=============*/
:root {
    --input-padding-x: .75rem;
    --input-padding-y: .75rem;
}

.form-label-group {
    position: relative;
}

.form-label-group > input,
.form-label-group > label {
    padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    margin: 0;
    line-height: 1.5;
    color: #495057;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
    width: 100%;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
    padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown) ~ label {
    padding-top: calc(var(--input-padding-y) / 3);
    padding-bottom: calc(var(--input-padding-y) / 3);
    font-size: 12px;
    color: #777;
}
/*========== NAVBAR==============*/

nav.navbar {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform:uppercase;
    font-weight:400;
    font-size:1.1rem;
    background-color: transparent;
    color:whitesmoke;
}

nav.navbar span.lead{
    display:none;
}

@media (min-width: 992px) {
    nav.navbar span.lead {
        display: inline-block;
    }
}
nav.navbar a.navbar-brand{
    font-weight:700;
    font-size:2rem;
    padding:10px 15px;
}
.navbar-nav i{
    margin-right:5px;
}
ul.navbar-nav li a, .navbar-brand{
    transition: ease all .5s;
}
ul.navbar-nav li:hover a, .navbar-brand:hover {
    color: #28a745;
}
/**============ INDEX =============*/

section.index .hero{
    background: url(../img/bg1.png);
    background-position:center;
    background-size:cover;
    background-attachment:fixed;
    height:90vh;
    padding-top:150px;
}

@media (min-width: 992px) {
    section.index .hero {
        height: 70vh;
    }
}
section.index div.hero .container{
    height:80%;
}
div.typed-content{
    width:60%;
    margin:20px auto;
}
div.typed {
    display:none;
}
div.hero i{
    color: whitesmoke;
    display:none;
}
.hero-tittle{
    font-size: 10vw;
}
@media (min-width: 992px) {
    div.typed {
        font-size: 3vw;
        width: 100%;
        border-bottom: solid 2px whitesmoke;
        display: inline-block;
        font-weight: 700;
        color: whitesmoke;
    }
    div.hero i{
        font-size:4vw;
        display:inline-block;
    }
    .hero-tittle {
        font-size: 5vw;
    }
}

/*===== INDEX - SERVICIOS ============*/
div.servicios{
    margin:20px 0;
}
div.servicios h6{
    margin:10px 0;
    font-weight:700;
    font-size:1.1rem;
    text-align:center;
}
.icon-box {
    text-align: center;
    margin:10px;
}
.icon-box-icon {
    background-color: #28a745;
    width: 60px;
    padding: 0 10px;
    text-align: center;
    border-radius: 100%;
    margin: 0 auto;
}
.icon-box-icon span {
    font-size: 2.5rem;
    color:#000;
}

/*===== INDEX - CLIENTES*/

div.clientes{
    background:url(../img/bg2.jpg);
    background-size:cover;
    background-position:bottom;
    background-attachment:fixed;
    padding:100px 0;
    margin-bottom:30px;
    z-index:98;
}


div.cliente {
    height: 200px;
    background-color: #fff;
    margin: 10px auto;
    vertical-align: middle;
    overflow: hidden;
    box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.3);
    
}

@media (min-width: 992px) {
    div.cliente {
        height: 150px;
    }
}
div.cliente:hover img{
    transform:scale(1.1);
}
div.cliente img {
    max-width: 100%;
    height: auto;
    transition: all ease .3s;
}
div.clientes .col-lg-4:nth-child(5) img {
    max-width: 40%;
}

/*====== INDEX - CONTACTO==========*/
div.contacto{
    padding:20px;
}
div.contacto  input[type=text], div.contacto  input[type=email], div.contacto  textarea {
    width:100%;
    margin-bottom:10px;
}
div.contacto textarea{
    min-height:150px;
    max-height:150px;
}

div.contacto .btn{
    background-color:#28a745;
    color:whitesmoke;
}

/*========= FOOTER ===========*/
.footer {
    background: #222;
}
div.footer-contenido{
      padding: 90px 0 30px;
      border-top: 1px solid #2c2c2c;
}
div.footer-contenido h6{
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  font-weight: 700;
  font-size: .6875rem;
  color:#fff;
}
div.footer-bar{
  border-top: 1px solid #2c2c2c;
  text-align: center;
  font-size: .75rem;
  padding: 22px 0;
}
div.footer-bar p{
  margin:0;
}
ul.sociales li{
  display: inline-block;
  margin-right: 20px;
}
ul.sociales li i{
  color: #cecece;
  font-weight: 700;
  font-size: 1.5rem;
  transition: all .3s ease;
}
ul.sociales li i:hover{
  color: #28a745;
}
ul.partners li{
  border: 0 !important;
  float: left;
  width: 33.333%;
  padding: 10px;
  margin: 0;
}
ul.partners li img{
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  vertical-align: middle;
  border-style: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    white-space: inherit;
}

/*
 * 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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 {
        white-space: pre-wrap !important;
    }
    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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
