body {
    margin: 0;
    font-family: "Trebuchet MS", sans-serif;
    background: #fff;
    color: #000;
    font-size: 12px;
}

.right {
    float: right;
    margin: 23px 30px 7px;
    font-weight: bold;
    font-size: 12px;
}

table {
    border-collapse: collapse;
    margin: 15px;
}

table td {
    border: 1px solid black;
    padding: 5px;
}

table.relatedProjects td {
    border-collapse: collapse;
    padding: 7px;
    width: 120px;
    border-left: 1px solid #ccc;
    font-weight: bold;
}

table.relatedProjects {
    border-collapse: collapse;
    margin: 15px 0;
}


#header {
    margin: 0;
    padding: 1em 3em;
    border: 0;
    background: #060;
    color: #fff;
    border-bottom: 1px solid #000;
}

#sidebar {
    float: left;
    margin: -1px 0 0 0;
    padding: 0;
    background: #060;
    border-left: 0;
    border-top: 1px solid #060;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    color: #fff;
    width: 150px;
}
* html #sidebar {width: 151px; w\idth: 150px; height:1%}

#main {
    padding: 10px;
    background: #fff;
    margin: 0 0 0 150px;
    height: 100%;
    padding-left: 20px;
}

.fixedWidth {
    width: 575px;
}


div.sidebox {
    float: right;
    width: 196px;
    margin: 0 15px;
}

div.sidebox p {
    padding: 3px;
    margin: 0;
    font: 11px "Trebuchet MS", sans-serif;
    text-align: justify;
    background: #e6e6e6;
}

div.sidebox p.caption {
    padding-bottom: 15px;
}

div.sidebox p.title {
    border-bottom: 1px solid black;
    font-weight: bold;
    font-size: 13px;
}

div.box {
    width: 100%;
    margin: 25px 0;
    clear: right;
}

div.box p {
    padding: 3px;
    margin: 0;
    font: 11px "Trebuchet MS", sans-serif;
    background: #e6e6e6;
}

div.box p.caption {
    padding: 10px 20px;
}

div.box p.title {
    border-bottom: 1px solid black;
    font-weight: bold;
    font-size: 13px;
}




img#logo {
    display: inline;
    margin: 0 7px 0 0;
}

h1#logo {
    display: inline;
    margin: 0;
    position: relative; top: -14px;
    font: 30px "Trebuchet MS", sans-serif;
}

h1 {
    font: bold 16px "Trebuchet MS", sans-serif;
    margin: 17px 231px 15px 0; /* N escreve por cima das caixas laterais */
}

h2 {
    font: bold 14px "Trebuchet MS", sans-serif;
    margin: 15px 0 5px;
}

h3 {
    font: bold 13px "Trebuchet MS", sans-serif;
    margin: 17px 0 5px;
}

h4 {
    font: bold 11px "Trebuchet MS", sans-serif;
    margin: 12px 0 5px;
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

p {
    margin: 7px 0;
    font-size: 12px;
    color: #000;
}

ul {
    font-size: 12px;
}


a {
    color: #030;
    text-decoration: none;
    font-weight: bold;
}

.math {
    font-style: italic;
}

a:hover { text-decoration: underline; }
a img { border: 0; }

ul#lang {
    position: absolute;
    top: 13px;
    right: 5%;
    list-style: none;
    font: 12px "Trebuchet MS", sans-serif;
    display: none;
}

ul#lang a {
    color: #ccc;
    text-decoration: none;
}

ul#lang a:hover {
    color: #fff;
    text-decoration: underline;
}


/* Navigation Bar */

.nav {
    padding: 0;
    margin: 25px 0;
    font-family: "Trebuchet MS", Verdana, "Lucida Grande", Geneva, Arial, sans-serif;
    background-color: #060;
}
* html .nav {height:1%}/* fixes ie background jump on mouseover */

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.nav li {
    border-bottom: 1px solid #060;
    margin: 0;
}

.nav li.empty {
    height: 8px;
}

.nav li a {
    display: block;
    padding: 5px;
    border-left: 10px solid #030;
    border-right: 10px solid #4a7a4a;
    background-color: #040;
    color: #fff;
    text-decoration: none;
    width: 100%;
    font-size: 12px;
    width: auto;
    font-weight: normal;
}
* html .nav li a {height: 1%} /* avoids using width 100% which would make anchor too wide */

.nav li a:hover {
    text-decoration: none;
    border-left: 10px solid #0f3f0f;
    border-right: 10px solid #5b8b5b;
    background-color: #195919;
}

.nav li a#here {
    border-left: 10px solid #bcb;
    border-right: 10px solid #eee;
    background-color: #ccc;
    color: #000;
}

.nav li a:hover#here {
    border-right: 10px solid #fff;
    background-color: #eee;
}

.nav ul ul a { /* Submenu */
    border-left: 25px solid #030;
    font-size: 11px;
    padding: 3px;
}

.nav ul ul a:hover {
    border-left: 25px solid #0f3f0f;
}

.nav ul ul a#here {
    border-left: 25px solid #aba;
    border-right: 10px solid #ddd;
    background-color: #bbb;
    color: #000;
    }

.nav ul ul a:hover#here {
    border-right: 10px solid #fff;
    background-color: #ddd;
    }


.nav ul ul ul a { /* NIVEL 3 */
    border-left: 40px solid #030;
    font-size: 10px;
    padding: 3px;
}

.nav ul ul ul a:hover {
    border-left: 40px solid #0f3f0f;
}

.nav ul ul ul a#here {
    border-left: 40px solid #aba;
    border-right: 10px solid #ddd;
    background-color: #bbb;
    color: #000;
    }

.nav ul ul ul a:hover#here {
    border-right: 10px solid #fff;
    background-color: #ddd;
    }
