/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #002f67;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
	background: #f68220 url('images/fundo.png') top center repeat-x;
}

::-moz-selection {
    background: #f8aa68;
    text-shadow: none;
}

::selection {
    background: #f8aa68;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #002f67;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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

a, a:link, a:active, a:visited {color: #002f67; text-decoration: none;}
a:hover {text-decoration: underline;}

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

#page {width: 985px; margin: 0px auto;}
#header {width: 985px; margin: 0px auto; height: 191px;}
.logo {float: left; margin: 37px 0px 0px 0px;}
.lang {float: right; width: 137px; height: 14px; margin: 30px 0px 0px 0px;}
   a.port {display: inline-block; float: left; background: transparent url('images/port-eng.png') no-repeat top left; width: 80px; height: 14px; text-indent: -99999px;}
   a.eng {display: inline-block; float: right; background: transparent url('images/port-eng.png') no-repeat top right; width: 57px; height: 14px; text-indent: -99999px;}
   
   img.inicio {border-top: 4px solid #002f67; border-bottom: 4px solid #002f67; width: 100%; display: block; clear: both; margin-top: 30px;}

a, a:link, a:active, a:visited {text-decoration: none; color: #002f67;}
a:hover {text-decoration: underline;}

#content {margin: 25px 0px 40px 0px; width: 985px; display: block; clear: both;}

.left_home {width: 438px; float: left; display: block; text-align: justify;}
.right_home {width: 490px; float: right; display: block;}

h1 {font-size: 17px;}

/* formularios */

form, fieldset {margin: 0; padding: 0; border: 0px; line-height: 30px;}
input, textarea, select, button {border: 0px; background-color: #fff; padding: 4px; margin: 0;}
input.fomu, textarea.fomu {width: 384px;}
td.label {width: 83px; text-align: right; padding-right: 10px; text-transform: lowercase;}
input.enviar {background-color: #ababab; float: right; margin:10px 0px 0px 0px;color: #002f67; width: 140px; height: 35px; vertical-align: middle;}
input.enviar:hover {background-color: #ababab;}

/* slides */

#slideshow {width: 490px; height: 367px; border-top: 4px solid #002f67; border-bottom: 4px solid #002f67;}
#slideshow div {width: 490px; height: 367px; top: 0; left: 0;}
#slideshow div span.legenda {display: block; margin: -40px 0px 0px -205px; width: 185px; height: 50px; color: #fff; font-size: 15px; text-align:right;}
#slideshow div span.legenda3 {display: block; margin: -40px 0px 0px -250px; width: 230px; height: 50px; color: #fff; font-size: 15px; text-align:right;}
#nav {margin-top: 17px; width: 78px; height: 25px; padding: 10px 0px 0px 10px; background: #f68220 url('images/fundo-nav.png') no-repeat; display: block; float: right;}
#nav a {display:inline-block; width:16px; height: 16px; background: url('images/nav.png') no-repeat; text-indent:-9999px; border:0; margin: 0px 4px 0px 4px;}
#nav a.activeSlide {background-position:0 -16px;}
#nav a:focus {outline: none;}

.legenda-projeto {display: block; margin: -95px 0px 0px -270px; width: 250px; height: 100px; color: #fff; font-size: 16px; text-align:right;}

/* galerias */

#galeria {width: 490; height: 369px; border-top: 4px solid #002f67; border-bottom: 4px solid #002f67;}

.thumb11 {float: left; margin: 0px 20px 15px 0px; width: 150px; height: 113px; cursor: pointer;}
.thumb12 {float: left; margin: 0px 20px 15px 0px; width: 150px; height: 113px; cursor: pointer;}
.thumb13 {float: right; margin: 0px 0px 15px 0px; width: 150px; height: 113px; cursor: pointer;}

.thumb31 {float: left; margin: 0px 20px 0px 0px; width: 150px; height: 113px; cursor: pointer;}
.thumb32 {float: left; margin: 0px 20px 0px 0px; width: 150px; height: 113px; cursor: pointer;}
.thumb33 {float: right; margin: 0px 0px 0px 0px; width: 150px; height: 113px; cursor: pointer;}

.tbox {position:absolute; display:none; padding: 5px; z-index:900}
.tinner {padding:5px; background:#fff url(images/preload.gif) no-repeat 50% 50%; border-right:1px solid #333; border-bottom:1px solid #333}
.tmask {position:absolute; display:none; top:0px; left:0px; height:100%; width:100%; background:#000; z-index:800}
.tclose {position:absolute; top:7px; right:8px; width:26px; height:26px; cursor:pointer; background:url(images/close.png) no-repeat}
.tclose:hover {background-position:0 -26px}

/* Pagina Mercados */

.mercados-texto {width: 440px; height: 150px; margin: -5px 0px 0px 0px;}
.mapa {background: #f68220 url('images/mapa.png') no-repeat top center; width: 985px; height: 486px; display: block; margin: 0px auto;}


/* Menu */

#menu {list-style: none; float: right; height: 29px; width: 530px; margin-top: 50px; margin-right: -25px;}
#menu ul {padding: 0px;margin: 0px;float: left;width: 100%;list-style:none;font-weight: bold;height: 18px;line-height: 18px;vertical-align:middle;}
#menu ul li {float: left; margin: 0px 5px; height: 16px; padding: 0px 0px; text-align: center; vertical-align:middle;}

#menu ul li.home a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 72px; height: 30px; margin: 0px auto;}
#menu ul li.home a:hover {background-position: 0px -30px;}
#menu ul li.ahome a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 72px; height: 30px; margin: 0px auto; background-position: 0px -30px;}

#menu ul li.quem a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 151px; height: 30px; margin: 0px auto; background-position: -81px 0px;}
#menu ul li.quem a:hover {background-position: -81px -30px;}
#menu ul li.aquem a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 151px; height: 30px; margin: 0px auto; background-position: -81px -30px;}

#menu ul li.foco a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 137px; height: 30px; margin: 0px auto; background-position: -238px 0px;}
#menu ul li.foco a:hover {background-position: -238px -30px;}
#menu ul li.afoco a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 137px; height: 30px; margin: 0px auto; background-position: -238px -30px;}

#menu ul li.merca a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 111px; height: 30px; margin: 0px auto; background-position: -379px 0px;}
#menu ul li.merca a:hover {background-position: -379px -30px;}
#menu ul li.amerca a {display: block; text-indent: -9999px; background: transparent url('images/menu-principal.png') no-repeat; width: 111px; height: 30px; margin: 0px auto; background-position: -379px -30px;}

/* Sub-Menu */

#menu ul li.foco ul {display: none;}
#menu ul li.foco:hover ul {display: inline; position: absolute; padding: 10px 0px 0px 0px; margin: 0px 0px 0px -210px; float: left; width: 398px; list-style:none; height: 35px; vertical-align:middle;}
#menu ul li.foco:hover ul li {float: left; margin: 0px; height: 25px; padding: 0px 0px; text-align: center; vertical-align:middle;}

#menu ul li.foco:hover ul li.ali a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 147px; height: 25px; margin: 0px auto; background-position: 0px 0px;}
#menu ul li.foco:hover ul li.ali a:hover {background-position: 0px -26.5px;}
#menu ul li.foco:hover ul li.aali a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 147px; height: 25px; margin: 0px auto; background-position: 0px -26.5px;}

#menu ul li.foco:hover ul li.maq a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 183px; height: 25px; margin: 0px auto; background-position: -147px 0px;}
#menu ul li.foco:hover ul li.maq a:hover {background-position: -147px -26.5px;}
#menu ul li.foco:hover ul li.amaq a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 183px; height: 25px; margin: 0px auto; background-position: -147px -26.5px;}

#menu ul li.foco:hover ul li.pro a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 68px; height: 25px; margin: 0px auto; background-position: -330px 0px;}
#menu ul li.foco:hover ul li.pro a:hover {background-position: -330px -26.5px;}
#menu ul li.foco:hover ul li.apro a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 70px; height: 25px; margin: 0px auto; background-position: -330px -26.5px;}

/* Sub-Menu nas paginas sub */

#menu ul li.afoco ul {display: inline; position: absolute; padding: 10px 0px 0px 0px; margin: 0px 0px 0px -210px; float: left; width: 398px; list-style:none; height: 35px; vertical-align:middle;}
#menu ul li.afoco ul li {float: left; margin: 0px; height: 25px; padding: 0px 0px; text-align: center; vertical-align:middle;}

#menu ul li.afoco ul li.ali a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 147px; height: 25px; margin: 0px auto; background-position: 0px 0px;}
#menu ul li.afoco ul li.ali a:hover {background-position: 0px -26.5px;}
#menu ul li.afoco ul li.aali a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 147px; height: 25px; margin: 0px auto; background-position: 0px -26.5px;}

#menu ul li.afoco ul li.maq a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 183px; height: 25px; margin: 0px auto; background-position: -147px 0px;}
#menu ul li.afoco ul li.maq a:hover {background-position: -147px -26.5px;}
#menu ul li.afoco ul li.amaq a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 183px; height: 25px; margin: 0px auto; background-position: -147px -26.5px;}

#menu ul li.afoco ul li.pro a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 68px; height: 25px; margin: 0px auto; background-position: -330px 0px;}
#menu ul li.afoco ul li.pro a:hover {background-position: -330px -26.5px;}
#menu ul li.afoco ul li.apro a {display: block; text-indent: -9999px; background: transparent url('images/sub-menu.png') no-repeat; width: 68px; height: 25px; margin: 0px auto; background-position: -330px -26.5px;}


#footer {width: 100%; text-align: center; margin: 30px auto 0px auto; padding: 30px 0px 30px 0px; color: #fff; font-size: 12px;}
#footer a {color: #fff;}


.center, .aligncenter {display: block; margin-left: auto; margin-right: auto; text-align: center;}
.left, .alignleft {float: left; margin-right:2%; }
.right, .alignright {float: right; margin-left:2%;}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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