html, body {
    font-family: Verdana, sans-serif;
    font-size: 10pt;
    line-height: 12pt;
}

#page {
    color: #01416d;
}

#page a {
    color: #01416d;
    text-decoration: none;
}

#page a:hover {
    color: #f8c301;
}

#header {
    background-color: #01416d;
    border-bottom: 2px solid #f8c301;
    padding: 20px;
}

#content {
    padding: 20px;
    padding-top: 10px;
}

#footer {
    font-size: 8pt;
    line-height: 10pt;

    color: black;

    background-color: #959595;
    border-top: 2px solid black;
    padding: 20px;

    clear: both;
    overflow: auto;

    height: 10em;
    background-image: url("../images/layout/back.png");
    background-position: -30px 70px;
    background-repeat: no-repeat;
}

#footer a {
    text-decoration: underline;
}

.wrapper {
    margin: 0 auto;
    width: 766px;
}

#header h1 .image {
}

#header h1 .text {
    padding: 0 0 10px 20px;
}

#nav2 {
    font-size: 10pt;
    line-height: 10pt;
    text-transform: uppercase;

    overflow: auto;
    padding-bottom: 15px;
    padding-left: 4.5em;
}

#nav2 li {
    float: left;

    border-left: 1px solid #01416d;
    margin-right: 0.5em;
    padding-left: 0.5em;
}

#nav2 li:first-child {
    border-left: none;
    padding-left: 0;
}

#nav1 {
    font-size: 12pt;

    float: left;
    width: 150px;

    clear: both;
}

#nav1 ol {
    list-style-image: url("../images/layout/bullet.png");
}

#nav1 a {
    display: block;
    padding: 5px 0;
}

#nav1 a:hover, #nav1 .selected a {
    background-color: #01416d;
    color: #f8c301;
    padding-left: 5px;
}

#ctx {
    color: black;
    font-size: 7pt;

    width: 150px;
    height: 270px;

    margin: 50px 0;
}

#main {
    font-size: 10pt;
    margin-left: 180px;
}

#main h2 {
    background-color: #01416d;
    color: #f8c301;
    font-weight: bold;
    margin-bottom: 0.5em;
    padding: 3px 4px;
}

#main h3 {
    background-color: #f8c301;
    color: #01416d;
    font-weight: bold;
    margin-bottom: 0.5em;
    margin-top: 2em;
    padding: 3px 4px;
}

#main p {
    margin-bottom: 0.5em;
}

#main ul {
    list-style-image: url("../images/layout/bullet.png");
}

#main .bigAd, #main .smallAd {
    border: 1px solid #01416d;
    color: black;
    font-size: 7pt;
    margin: 0 20px 20px 0;
}

#main .bigAd {
    margin-left: 1px;
    width: 560px;
    height: 160px;
}

#main .smallAd {
    float: left;
    width: 270px;
    height: 160px;
}

#footer a {
    color: black;
}

#footer address {
    float: right;
    margin-left: 40px;
    padding-left: 60px;
    height: 48px;
}

#footer address.address {
    background-image: url("../images/layout/icon-mapa.png");
    background-repeat: no-repeat;
    background-position: 0 -3px;
}

#footer address.contacts {
    background-image: url("../images/layout/icon-contato.png");
    background-repeat: no-repeat;
    background-position: 0 -3px;
}

#links h2 {
    margin-bottom: 2em;
}

#links ul {
    list-style-image: none;
}

#links li {
    margin-bottom: 2em;
}

#links a {
    font-weight: bold;
}

#links img {
    width: 100px;
    height: 50px;

    vertical-align: text-bottom;
}

#contato address em {
    font-style: normal;
    font-weight: bold;
}

#contato fieldset {
    border: 1px dotted #01416d;
    margin-top: 1em;
    padding: 10px;
    padding-top: 0;
}

#contato fieldset legend {
    background-color: white;
    border: 1px dotted #01416d;
    margin-left: 0.5em;
    padding: 3px 5px;
}

#contato fieldset.submit {
    border: none;
    padding: 0;
    text-align: right;
}

#contato fieldset.submit input, #contato fieldset.submit img {
    vertical-align: middle;
}

#contato fieldset.submit legend {
    border: none;
}

#contato input, #contato textarea {
    border: 1px solid #01416d;
    color: #01416d;
    font-family: Verdana, sans-serif;
    font-size: 10pt;
}

#contato dl {
    padding: 1px;
}

#contato dt {
    float: left;
    width: 80px;

    clear: both;

    text-align: right;
    margin-right: 0.5em;
}

#contato dt, #contato dd {
    margin-top: 10px;
}

#contato .submit input {
    background-color: #f8c301;
    border: 1px solid #01416d;
    color: #01416d;
    font-size: 8pt;
    padding: 3px;
}

#erro, #aviso, #sucesso {
    color: white;
    font-weight: bold;
    margin: 10px auto;
    padding: 2px 3px;
}

#erro {
    background-color: #c00;
    border: 1px solid #c00;
}

#aviso {
    background-color: #f8c301;
    border: 1px solid #f8c301;
}

#sucesso {
    background-color: #006600;
    border: 1px solid #006600;
}
