/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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.
 */

::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
   ========================================================================== */

.content {width:960px; margin: auto}
form textarea, form input{box-sizing: border-box; -moz-box-sizing: border-box;}
input, textarea {width: 100%; border: solid 1px #ff0000; padding: 15px; border-bottom: 0;}
a {text-decoration: none;}
a, a:hover, a:active, a:focus {outline:0;}
nav ul {margin: 0; padding: 0; list-style: none;}
nav ul li {display: inline-block;}
img {width: auto; height: auto}
input[type='checkbox'] {display: inline-block; width: inherit;}
input[type='radio'] {display: inline-block; width: inherit;}
input[type='submit'] {background: #e8511c; border: solid 1px #ff0000; color: #fff;}

* {
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
transition: all 0.5s;}

body {font-family: 'Quicksand', sans-serif; padding-top: 90px; font-size: 22px;}
h1, h2, h3, h4, h5, h6{color: #e8511c; font-family: 'Kodchasan', sans-serif;}
p {line-height: 1.8em; color: #000;}

header {padding: 5px 0;
-webkit-box-shadow: 3px 0 3px 2px #949494;
box-shadow: 3px 0 3px 2px #949494;
position: fixed;
width: 100%;
background: #fff;
z-index: 99999;
top: 0;
}
#logo {float: left;}
#logo img {display: block; height: 80px;}
nav {float: right;}

nav {margin-top: 30px;}
nav ul li {display: inline-block; margin-left: 20px;}
nav a {color: #e8511c; font-weight: bold;}
nav a:hover {color: #750e00;}

.azul {color: #1f4e79;}
.azul-claro {color: #5cb0ff;}



.center {text-align: center;}

.deco {margin-top: 100px;}
.deco img {width: 200px;}
.bg {color: #fff; text-transform: uppercase; background: #e8511c; margin-bottom: 100px; padding: 40px 0;}
.bg h1 {color: #fff;}
.bgimg {
  background: url('../img/bg-title.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.block {width: 90%;  background: #fff; margin: 20px 5%;
-webkit-box-shadow: 0 3px 5px 4px #ccc;
box-shadow: 0 3px 5px 4px #ccc;
padding: 20px;
box-sizing: border-box; -moz-box-sizing: border-box;
min-height: 500px;
}

.block img {width: 40%; display: block; margin: 0 30%}

.half {width: 50%; float: left;}
.half img {max-width: 100%;}
#company {background: #0069b0; color: #fff; margin:100px 0}
#company h2 {color: #fff;}
#company .half + .half {padding: 40px 8%; width: 34%; color: #fff;}
#company p {color: #fff;}

#solutions .content {width: 1200px;}
#solutions h2 {font-size: 3em; margin-top: 100px;}
#solutions p {font-size: 0.9em;}

#home {padding: 40px 0; text-align: center;}
#home p {font-weight: bold;}

#contact .half {float: right; width: 48%;}
#contact .half:nth-child(2) {float: left;}

footer {margin-top: 100px; padding: 20px 0; text-align: center; font-size: 0.8em; font-weight: bold; background: #dedede;}

#contact h3 {font-size: 2.5em; margin:50px 0}
#contact b {font-size: 1.5em; font-weight: bold; color: #0d72b5;}
#contact p:first-child {margin-top: 0;}

.icon { width: 20px; margin-right: 10px;}

#slider {margin-top: -10px; }
#slider img {width: 90%; display: block; margin:auto}

#slider .bx-wrapper {

    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    background: #fff;
    margin-bottom: 0;
}


.bg1 {background: #fe4c02;
}
.bg2 {background: #2fabde;
}
.bg3 {background: #00c06d;
}

body .bx-wrapper .bx-prev {background: url('../img/arrowl.png'); left: 20px;}
body .bx-wrapper .bx-next {background: url('../img/arrowr.png'); right: 20px;}
body .bx-wrapper .bx-controls-direction a { width: 50px; height: 89px; margin-top: -45px;}
body .bx-wrapper .bx-next:hover, body .bx-wrapper .bx-next:focus {background-position: inherit;}

#company .half:first-child {height: 1000px; 
    background-image:url('../img/company-bg.jpg');
    background-position: center center;
    background-repeat:no-repeat;
    background-size:cover;
}
.fixb {margin-top: 50px;}
.fixb .block {min-height: 500px;}

.responsive-slider h2 {color: #fff;}

body .responsive-slider .slides ul li .slide-body .caption.img-jquery {

    top: 20%;
    right: 8%;
    width: 38%;

}

.responsive-slider .slides ul li .slide-body .caption.header h2 {

    display: block;
    width: 65%;
    white-space: normal;

}

body .responsive-slider .slides ul li .slide-body .caption.sub {

    bottom: -8px;
    right: auto;
    font-weight: bold;
    width: 70%;
    white-space: normal;
    font-size: 1.2em;

}

#video h1 {margin:0; font-size: 2.5em; line-height: 1em;}
#video h2 {margin:0; color: #0069b0; font-size: 1.2em;}

body .slick-prev::before, body .slick-next::before { color:#0069b0; font-size: 50px;}
body .slick-prev, body .slick-next {width: 50px;   height: 50px;}
body .slick-prev, body .slick-next { z-index: 99;}
.slick-slide {opacity: 0.5;
-moz-transform: scale(0.8);
-webkit-transform: scale(0.8);
-o-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8);
}
.slick-current {opacity: 1; 
-moz-transform: scale(1.2);
-webkit-transform: scale(1.2);
-o-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
}
.slick-slide + .slick-current {
-moz-transform: scale(1);
-webkit-transform: scale(1);
-o-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.your-class {padding: 20px  0;}

 /* ==========================================================================
   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 */
}

@media only screen and (max-width: 1300px) {
  .content, #solutions .content {width:960px;}
  body {font-size: 16px;}
  #company .half:first-child {height: 700px;}
}

@media only screen and (max-width: 1300px) {
  .content, #solutions .content {width:960px;}
}

@media only screen and (max-width: 1200px) {
  .content, #solutions .content {width:960px;}
  #company .half + .half {padding: 20px 5%; width: 40%; }
  #company .half:first-child {}
  

}

@media only screen and (max-width: 960px) {
  .content, #solutions .content {width:750px;}
  #slider img {width: 90%;}
  #company .half:first-child {height: 700px;}
  /*#company .half:first-child {width: 30%; padding: 140px 0;}
  #company .half + .half {padding: 20px 5%; width: 60%; }*/

  .responsive-slider .slides ul li .slide-body .caption.header h2 {
      width: 55%; margin-top: 0;
  }
  body .responsive-slider .slides ul li .slide-body .caption.sub {
      width: 65%;
      font-size: 1.2em;
      height: 22px;

  }
  body .responsive-slider .slides ul li .slide-body .caption.header h2 {font-size: 30px;}

}

@media only screen and (max-width: 720px) {
  .content, #home .content, #solutions .content {width:560px; text-align: center;}
  #solutions .content ul {text-align: left;}
  #slider img {width: 70%;}
  .bg {padding: 80px 40px;}
  .bg br {display: none;}
  .block, .fixb .block {float: none; margin: 0; margin-bottom: 40px; width: 100%; min-height: auto;}
  .block img {width: 20%; margin: 0 40%}
  .block:nth-child(5n+4) {margin-left: 0;}
  #company .half:first-child {width: 100%; padding:0; height: 400px;}
  #company .half + .half {padding: 20px; width: auto; }
  #contact .half {width: 100%; float: none;}
  #contact h3 {margin-bottom: 0;}
  #logo img {height: 65px;}
  nav ul li {margin-left: 15px;}
  body {padding-top: 75px;}
  .bg h1 {font-size: 1.5em;}
  .deco img {width: 150px;}
  body .responsive-slider .slides ul li .slide-body .caption.header {top: 17%;}
  body .responsive-slider .slides ul li .slide-body .caption.header h2 {font-size: 25px;}

}

@media only screen and (max-width: 560px) {
  .content, #home .content, #solutions .content {width:90%;}
  nav {display: none;}
  #logo {float: none; text-align: center;}
  #logo img {margin:auto}
  body .bx-wrapper .bx-controls-direction a {-moz-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  -o-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  }
  iframe {height: 200px!important;}
  body .responsive-slider .slides ul li .slide-body .caption.header h2 {font-size: 20px;}
  body .responsive-slider .slides ul li .slide-body .caption.sub {font-size: 0.8em;}
}
 
/* ==========================================================================
   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;
    }
}


