html * {
    margin: 0;
    padding: 0;
}

body {
    width: 1024px;
    position: absolute;
    left: 50%;
    margin-left: -512px;
}

* {
    font-family: arial;
    font-size: 15px;
}

/* Bordas redondas */

.top-left {
    border-top-left-radius: 3px;
}
.top-right {
    border-top-right-radius: 3px;
}
.bottom-left {
    border-bottom-left-radius: 3px;
}
.bottom-right {
    border-bottom-right-radius: 3px;
}

/* Formatação de textos */
.numero {
    text-align: right;
}

.data {
    text-align: center;
}

.bordaredonda {
    border-radius: 3px;
}

.clear {
    clear: both;
}

a:not(.ui-button) {
    color: #6b2c02;
}

a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
}

h2, h5 {
    border-bottom: 2px solid #6b2c02;
    margin-bottom: 10px;
}

h4 {
    padding: 5px;
    font-style: italic;
    font-weight: normal;
    text-align: right;
    border-bottom: 2px solid #ef6b01;
}

.index th {
    background-color: #6b2c02;
    padding: 5px 2px;
    color: white;
}

.index td {
    padding: 2px;
    border-bottom: 1px solid #ef6b01;
}

.index tr:not(.tbl-header):hover {
    background-color: rgba(239,107,1, 0.2);
    color: black;
}

.index th a:link, .index th a:visited {
    color: white;
}

.modelosdeguias a {
    font-size: 0.9em;
    padding-left: 5px;
    margin-bottom: 2px;
}

th {
    text-align: left;
}

.modelo-guia-header {
    background-color: #6b2c02;
    padding: 5px;
    color: white;
    width: 100% - 10;
}

input, textarea, button {
    border-radius: 3px;
    box-shadow: inset 0px 0px 5px #aaa;
    border: 1px solid #aaa;
    padding: 2px;
}

.ajax-contact-add input {
    padding: 7px;
}

.ui-state-error {
    border-radius: 3px;
    padding: 2px;
}

body .ui-dialog {
    box-shadow: 0px 0px 20px #000;
}

body .ui-dialog .ui-dialog-content {
    padding: 0;
    padding-top: 5px;
}

body .ui-dialog .conteudo-rolavel {
    padding: 5px;
}

body .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: left;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

html .ui-widget-overlay {
    opacity: 0.5;
    background-color: #000;
    background-image: none;
}

a:link {
    text-decoration: none;
}

ul {
    list-style: none;
}

.f {
    float: left;
}

.fr {
    position: relative;
    float: right;
}

#header {
    width: 100%;
    height: 100px;
    background: transparent url('../img/logo.png') no-repeat 5px 10px;
}

#menu, #footer {
    background-color: #6b2c02;
    padding: 5px;
    border-radius: 3px;
}

#footer {
    color: white;
    text-align: center;
    margin-bottom: 5px;
}

#menu ul li {
    display: inline-block;
    background-color: #ed6905;
    border-radius: 3px;
}

#menu ul li > a {
    color: white;
    font-weight: bold;
}

#menu ul li:hover {
    background-color: #9c4706;
}

.dlg {
    display: none;
}

.painel-btn {
    padding-top: 10px;
    border-top: 2px solid #ef6b01;
}

#conteudo {
    margin: 5px 0;
    padding: 5px;
    box-shadow: 0px 0px 20px #aaa;
    border-radius: 3px;
    color: #6b2c02;
    overflow-y: auto;
}

#message {
    text-align: center;
    display: none;
    width: 350px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -175px;
    background-color: #6b2c02;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow:  0 0px 20px #000;
    z-index: 9999;
}

#config-rodape tr th {
    font-size: 0.9em;
}

/* jQuery mods */
body .ui-accordion .ui-accordion-header {
    padding-top: 2px;
    padding-bottom: 2px;
}