/*! 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
   ========================================================================== */
.pagination > li > a, .pagination > li > span {
    color: #00A859;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {

    background-color: #00A859;
    border-color: #00A859;
}

.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    color: #00A859;
}

.pagination img {
    width: 10px;
}

a {
    color: white;
}

a:hover {
    text-decoration: none;
    color:white;
}

.linhatopo {
    width: 100%;
    background-color: #00A859;
    height: 40px;
    color: white;
    padding-top: 10px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .linhatopo a:first-child {
        display: none;
    }

    .collapse.in .navbar-nav {
        height: 200px;
        padding-left: 70%;
    }

    .collapse.in .nav > li {
        background: rgba(255,255,255,0.8);
    }
}

.linhatopo span {
    margin-left: 80px;
}

.navbar {
    position: relative;
    min-height: 40px;
    margin-bottom: 0px !important;
    border: 0px solid transparent !important;
}

.navbar-nav {
    float: left;
    margin: 0;
    padding-left: 270px;
    height: 40px;
}

.navbar-madeiras {
    height: 40px;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-madeiras a {
    color: #00A859;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: transparent;
}

.navbar-madeiras .navbar-nav > .active > a, .navbar-madeiras .navbar-nav > .active > a:focus, .navbar-madeiras .navbar-nav > .active > a:hover {
    border-bottom: 0px;
}

.navbar-madeiras .navbar-nav > .active > a > span, .navbar-madeiras .navbar-nav > .active > a:focus > span, .navbar-madeiras .navbar-nav > .active > a:hover > span {
    border-bottom: 2px solid #00A859;
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 23%;
    margin-bottom: 8px;
    background-color: #00A859;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0px;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: white;
}

.navbar-collapse.in {
    overflow-y: visible;
}


.logo img {
    position: absolute;
    z-index: 100;
}

.banner {
    background-image: url(../images/fundo.jpg);
    width: 100%;
    height: 312px;
}

.carousel-banner {
    padding-top:0px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.carousel-banner img {
    margin-left: auto;
    margin-right: auto;
    max-height: 400px;
    z-index: 1;
}

.footer-linha-1 {
    height: 10px;
    background: #00A859;
}

.footer-linha-2 {
    height: 2px;
    background: #00A859;
    margin-top:7px;
    margin-bottom: 7px;
}

.footer-contato {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding-top: 10px;
    background: #00A859;
    text-align: center;
    color: white;
    font-size: 16px;
    line-height: 1.4;
}

@media screen and (max-width: 992px) {
    .footer-bar {
        height: 110px !important;
    }


}

.footer-bar {
    border-top: 2px solid white;
    background: #00A859;
    text-align: center;
    color: white;
    height: 50px;
    font-size: 16px;
    padding-top: 13px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.footer-bar a  {
    margin-right:50px;
    margin-left: 50px;
    color: white;
    display: inline-block;
}

.footer-bar a:hover {
    text-decoration: none;
}

.home {
    margin-top: 50px;
    margin-bottom: 50px;
}

.home img {
    width: 400px;
    height: 285px;
}

@media screen and (max-width: 992px) {
    .home-caption h3 {
        font-size: 12px !important;
    }
}

@media screen and (max-width: 768px) {
    .logo img {
        width: 50%;
    }

    .banner {
        display: none;
    }

    .home img {
        width: 100% !important;
    }

    .empresa {
        margin-top: 100px;
    }
}

.home-caption {
    text-align: center;
    background-color: rgba(0,168,89,0.8);
    float:left;
    width: 100%;
    position: relative;
    z-index: 100;
    height: 50px;
    margin-top:-50px;
}

.home-caption h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin-top: 15px;
    color: white;
}

.kionux {
    height: 45px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    padding-top: 10px;
}

.kionux a {
    color: #00A859;
}

.kionux a:hover {
    text-decoration: none;
}

.kionux img {
    width: 25px;
    height: 20px;
}



.empresa h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #00A859;
}

.linha1 {
    height: 5px;
    background: #00A859;
}

.linha2 {
    height: 7px;
    border-top: 2px solid white;
    background: #00A859;
    margin-bottom: 20px;
}

.empresa-foto {
    margin-bottom: 30px;
}

.empresa-texto {
    color: #00A859;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    padding-left: 10px;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
}

.contato h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #00A859;
}

input.form-control, textarea.form-control {
    margin-bottom: 20px;
    border-radius: 0px;
    border-color: #00A859;
    color: #00A859;
}

.btn-green {
    border-radius: 0px;
    background-color: #00A859;
    border-color: #ccc;
    color: white;
}

.form-contato button {
    margin-bottom: 20px;
}

.contato-info {
    border: 1px solid #00A859;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #00A859;
    margin-bottom: 30px;
}

.contato-info h3 {
    font-weight: 500; 
    text-align: center;
    font-size: 18px;
    padding-right: 20px;
}

.contato-info h4 {
    text-align: center;
    font-weight: 300;
    padding-right: 20px;
    font-size: 16px;
}

.contato-info-box {
    height: 100px;
}

.contato-info p {
    font-weight: 300;
    padding-left: 20px;
    font-size: 16px;
}

.logo-img-contato {
    padding-left: 5px;
    padding-top: 15px;
    max-height: 80px;
}



.logo-img-madeira {
    max-height: 250px;
}

@media screen and (max-width: 768px) {
    .produtos {
        margin-top: 100px;
    }

    .produto {
        height: 400px !important;
    }

    .produto img:first-child {
        width: 100%;  
    }

    .carrinho {
        margin-top: 100px;
    }

    .map {
        margin-top: 100px;
    }

    .home-con {
        margin-top: 100px;
    }
}

@media screen and (max-width: 520px) {
    .produto {
        height: 300px !important;
    }
}

.produtos h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #00A859;
}

.produto {
    width: 80%;
    height: 335px;
    background: #EEEEEE;
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    position: relative;
}

.produto p {
    padding-top: 5px;
    padding-left: 5px;
    margin-bottom: 0px;
}

.btn-bl {
    background-color: transparent;
    border-color: #000;
    color: #000;
}

.btn-p-bl {
    height: 25px;
    width: 55px;
    padding-top: 6px;
    padding-left: 9px;
    font-size: 10px;
    font-family: "Roboto",sans-serif;
    font-weight: 500;
}

.calc-img {
    height: 25px;
    width: 25px !important;
}

.orcar {
    padding-right: 5px;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.orcarCarrinho {
    display: none;
}

.container {
    clear: both;
    font-family: 'Roboto', sans-serif;
}

.categorias {
    margin-top: -43px;
}

.img-produto {
    width: 204px;
    height: 178px;
}

#imgmodal {
    border: 5px solid white;
}

.btn-img-modal {
    margin-top: 5px; 
    margin-left: 42%;
}

@media screen and (max-width: 485px) {
    .btn-img-modal {
        margin-left: 35% !important;
    }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
.m-auto {
    margin-left: auto;
    margin-right: auto;
}

.rotate-180 {
    -webkit-transform: rotate(180deg);     /* Chrome and other webkit browsers */
    -moz-transform: rotate(180deg);        /* FF */
    -o-transform: rotate(180deg);          /* Opera */
    -ms-transform: rotate(180deg);         /* IE9 */
    transform: rotate(180deg);             /* W3C compliant browsers */
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, DX=0, DY=0, SizingMethod='auto expand');
}

.green {
    color: #00A859;
}

.m-bottom-20 {
    margin-bottom: 20px;
}
/*
 * 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;
    }
}
