/*! HTML5 Boilerplate v6.0.1 | 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-face {
    font-family:'nhaasNormal';
    src: url('../font/nhaasgroteskdspro-55rg.ttf');
}

@font-face {
    font-family:'nhaasBold';
    src: url('../font/nhaasgroteskdspro-95blk.ttf');
}
html {letter-spacing: .5px;}
body {text-align: center; overflow-y: scroll;overflow-x: hidden;}
p {font-size: 1em; line-height: 1.6em;}

/* HEADER */

header {width: 100%; margin: auto auto; text-align: center;}
header img {width: 13%; min-width: 130px; margin: 40px 0 60px;}
/* Os itens a seguir foram adaptados para acomodarem a retirada provisória de uma seção do menu (linhas 118 e 122). Ao lado das propriedades ativas para a esclusão do item estão anotadas as propriedades originais, que garantem o alinhamento correto dos itens do menu, uma vez completo */
header nav {margin:auto 0 auto 35.5vw; padding: 0 0 100px; font-family: 'nhaasNormal', helvetica; width: 43vw;} /* {margin:auto 0 auto 30.5vw; padding: 0 0 100px; font-family: 'nhaasNormal', helvetica; width: 43vw;} */
header nav ul {margin: 0; padding: 0; line-height: 1; font-size: 1.3em; text-align: left;}
header nav li {float: left; list-style: none; padding-top: 8px;}
header nav li:nth-last-child(1) {width: 10vw;}
header nav li:nth-last-child(2) {width: 9.5vw;display: none;} /* {width: 9.5vw;} */
header nav li:nth-last-child(3) {width: 10vw;}
header nav li:nth-last-child(4) {width: 13vw;}
header nav li:hover {font-family: 'nhaasBold', helvetica; font-weight: bolder;}
header nav li a {color:#dc651d; text-decoration: none;}
main {width: 100%; height: vh100; margin: auto auto; }
#normal {display: block;}
#mobile {display: none;}
main img.home {width: 100%; margin: 0}
main img.quemsomos {width: 63%; margin: 0 0 10% 0;}
main p.quemsomos {width: 20%; font-family: 'nhaasNormal', helvetica; color:#dc651d; text-align: left; float: left; margin: 0 6% 0 11%;}
main p.projeto a {
    color: #dc651d;
}
main p.projeto {width: 20%;min-height: 50vh; font-family: 'nhaasNormal', helvetica; color:#dc651d; text-align: left; float: left; margin: 0 6% 0 11%; clear: left;}
main p.projeto img {width: 1%;}
main .titulo {font-family: 'nhaasBold', helvetica; font-weight: 100; margin-bottom: 1.6em}
main .coluna1 {width: 26%; float: right; margin: 0 1% 0 0;}
main .coluna2 {width: 26%; float: right; margin-right: 10%;}
main .coluna1 img {margin-bottom: 3.5%; width: 100%;}
main .coluna2 img {margin-bottom: 3.5%; width: 100%;}
main .panorama {width: 53%; margin: 0; float: right;margin-right: 10%;}
main .panorama img {margin-bottom: 1.75%; width: 100%;}
main .clear {clear: right;}
main p.clientes {width: 20%; font-family: 'nhaasBold', helvetica; text-align: left; float: left; margin: 0 6% 0 11%;}
main p.clientes a {text-decoration: none; color:#dc651d;}
main p.contato {width: 25%; font-family: 'nhaasNormal', helvetica; color:#dc651d; text-align: left; float: left; margin: 0 1% 0 11%; height: 100%}
main p.contato a {text-decoration: none; color: #dc651d;}
main p.contato a:hover {font-weight:bolder;}
.slick-slider {width:78%; margin: 0 auto 1vw auto;} 
.slick-slide img {padding: auto 10%; width: 25vw;}
.slick-slide {margin-left: 0.047%;}
.corrige .slick-slide {margin-left: 0.11%;}
.recuado.slick-slider {width:51.7%; margin: 0 auto 1vw auto;}
.corrige.recuado .slick-slide {margin-left: 0.15%;}
.slick-track {transform: translate(100px, 0)}
.categorias {z-index: 1000;position: absolute;left: calc(6% - 60px);font-family: 'nhaasNormal', helvetica;font-size: 1.3em;color:#dc651d;-ms-transform: rotate(-90deg) translate(-115px, 0); /* IE 9 */-webkit-transform: rotate(-90deg) translate(-115px, 0); /* Chrome, Safari, Opera */transform: rotate(-90deg) translate(-115px, 0);}
.categorias a {color: #dc651d; text-decoration: none;}
.categorias a:hover {font-weight: bolder;}
.por_categoria img {width: 25vw; margin-left: 1.26%; float: left}
.linha {width: 80vw;  left: 10vw; float: left; position: relative; display: block; margin-bottom: 1vw;}
.desloca {left: 23vw;}
.retorna a {float: right; color:#dc651d; font-family: 'nhaasNormal', helvetica;font-size: 1.3em; text-decoration: none; margin-right: 5%;}
.retorna a:hover {font-weight:bolder;}
.slick-prev:before {display:none; color: white}
.slick-next:before {display:none; color: white}
#home .slick-slider {width:100%; margin: 0 auto;}
.regular .slick-slide, .por_categoria .linha a  {
    position: relative !important;
    float: left !important;
}
.por_categoria .linha a  {
margin: 0 10px !important;
}
.regular.intern .slick-slide:after, .por_categoria .linha div::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: multiply;
    background: #dc651d;
    opacity: 0;
    transition: all .3s ease-out;
}
.regular.intern .slick-slide:hover:after, .por_categoria .linha div:hover:after{
    opacity: 1;
}
.regular.intern .slick-slide img, .por_categoria .linha div img {
    display: block !important;
}
.regular.intern .slick-slide p , .por_categoria p{
z-index: 999;
position: absolute;
top: calc(50% - 41px);
left: 0;
right: 0;
font-size: 26px;
font-weight: bold;
color: #fff;
opacity: 0;
font-family:'nhaasBold', 'helvetica';
}
.regular.intern .slick-slide:hover p, .por_categoria .linha a div:hover p{
    opacity: 1;
}
@media (max-width: 736px) 
{
    header {width: 100%; margin: auto auto; text-align: center;}
    header img {width: 50%; min-width: 130px; margin: 40px 0 60px;}
/* Os itens a seguir foram adaptados para acomodarem a retirada provisória de uma seção do menu (linhas 174 e 178). Ao lado das propriedades ativas para a esclusão do item estão anotadas as propriedades originais, que garantem o alinhamento correto dos itens do menu, uma vez completo */  
    header nav {margin: auto auto; padding: 0 0 80px; font-family: 'nhaasNormal', helvetica; text-align: center; width: 66%;} /* {margin: auto auto; padding: 0 0 80px; font-family: 'nhaasNormal', helvetica; text-align: center; width: 90%;} */
    header nav ul {margin: 0; padding: 0; line-height: 1; font-size: 1em;}
    header nav li {float: left; list-style: none; width: 20%; padding-top: 8px;}
    header nav li:nth-last-child(1) {}
	header nav li:nth-last-child(2) {width: 20vw; display: none;} /* {width: 20vw;}*/
	header nav li:nth-last-child(3) {width: 20vw;}
	header nav li:nth-last-child(4) {width: 31.5vw;}
    header nav li a {color:#dc651d; text-decoration: none;}
    main img.quemsomos {width: 100%; margin: 40px 0 0 0;}
    main img.contato {width: 100%; margin: 40px 0 0 0;}
    main img.clientes {width: 100%; margin: 40px 0 0 0;}
    main img.projeto {width: 100%; margin: 0;}  
    main p.quemsomos {width: 90%; font-family: 'nhaasNormal', helvetica; color:#dc651d; text-align: left; float: left; margin: 0 5% 0 5%;}
    main p.contato {width: 90%; font-family: 'nhaasNormal', helvetica; color:#dc651d; text-align: left; float: left; margin: 0 5% 0 5%;}
    main p.clientes {width: 90%; font-family: 'nhaasNormal', helvetica; color:#dc651d; text-align: left; float: left; margin: 0 5% 0 5%;}
    main p.projeto {width: 90%; min-height: 100vh; font-family: 'nhaasNormal', helvetica; color:#dc651d; text-align: left; float: left; margin: 0 5% 5% 5%;}
    main .coluna1 {width: 43.75%; float: right; margin: 0 2.5% 0 5%;}
    main .coluna2 {width: 43.75%; float: right; margin: 0 5% 0 0;}
    main .panorama {width: 90%; margin: 0; float: right; margin: 0 5%;}
    main .panorama img {margin-bottom: 2.5%;}
    main .coluna1 img {margin-bottom: 5%;}
    main .coluna2 img {margin-bottom: 5%;}
    .slick-slider {width:90%; margin: 0 auto 1vw auto;}
    .categorias {z-index: 1000;position: relative; float: left; left: 0;font-family: 'nhaasNormal', helvetica;font-size: 1em;color:#dc651d;-ms-transform: rotate(0deg) translate(0, 0); /* IE 9 */-webkit-transform: rotate(0deg) translate(0, 0); /* Chrome, Safari, Opera */transform: rotate(0deg) translate(0, 0); width: 100vw; margin-bottom: 1vw; min-width: 320px; text-align: left}
    .slick-prev:before {display: none;}
    .slick-next:before {display: none;}
    #normal {display: none;}
    #mobile {display: block;}
    .celula {width: 100vw; margin-left:5vw; margin-bottom: 5vw; float: left}
    #mobile a {float: left}
    #mobile a img {width: 44vw; float: left; margin: 0 2.5vw 2.5vw 0}
}
@media (max-width: 320px) 
{
    header nav ul {margin: 0; padding: 0; line-height: 1; font-size: 1em;}
}













/* ==========================================================================
   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);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    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;
    -webkit-clip-path: none;
    clip-path: none;
    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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        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 {
        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;
    }
}
