* {
    margin: 0px;
    padding: 0px;
}

/* geral */
body {
    background: #E2E2E2 url('/img/bg.png') repeat-x left top;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #393939;
}

h1,h2,h3 {
    margin: 0px;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: #570008;
}

hr {
    margin-bottom: 6px;
}

em {
    font-size: 12px;
    color: red;
    float: right;
    margin-top: -17px;
    margin-left: -62px;
    position: absolute;
}

.clear {
    clear: both;
}

#main {
    width: 980px;
    margin: 0px auto;
    padding: 0px;
}

/* área de mensagem */
#box_msg_area {
    width: 500px;
    position: absolute;
    display: none;
    margin: 0px 250px;
}

.msg_area {
    background-color: #FFD;
    border: 1px solid #AA0;
    padding: 5px;
    font-style: italic;
    color: #651515;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align: center;
}

.msg_area_err {
    background-color: #FAA;
    border: 1px solid #F00;
    padding: 5px;
    font-style: italic;
    color: #651515;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align: center;
}

.msg_area a, .msg_area_err a {
    float: right;
    font-style: normal;
}

.msg_area a:hover, .msg_area_err a:hover {
    color: red;
}

/* menu */
#menu_nav,#menu_nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-position: outside;
    position: relative;
    line-height: 1.5em;
    background: #333;
    height: 23px;
}

#menu_nav span {
    float: right;
}

#menu_nav a {
    display: block;
    padding: 0px 5px;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    background-color: #333;
}

#menu_nav a:hover {
    background-color: #fff;
    color: #333;
}

#menu_nav li {
    float: left;
    position: relative;
    width: 130px;
}

#menu_nav ul {
    position: absolute;
    display: none;
    width: 12em;
    top: 1.6em;
}

#menu_nav li ul a {
    width: 12em;
    height: auto;
    float: left;
}

#menu_nav ul ul {
    top: auto;
}

#menu_nav li ul ul {
    left: 12.1em;
    margin: 0px 0 0 10px;
}

#menu_nav li:hover ul ul,#menu_nav li:hover ul ul ul,#menu_nav li:hover ul ul ul ul {
    display: none;
}

#menu_nav li:hover ul,#menu_nav li li:hover ul,#menu_nav li li li:hover ul,#menu_nav li li li li:hover ul {
    display: block;
}

/* bloco principal */
#header {
    width: 980px;
    height: 40px;
    margin: 0px auto;
}

#logo {
    width: 980px;
    float: left;
    padding-top: 4px;
    color: #FFF;
}

#logo h1 {
    padding-left: 5px;
    float: left;
    color: #FFF;
}

#logo a {
    border: none;
    background: none;
    text-decoration: none;
    color: #FFF;
}

#logInfo {
    padding-right: 5px;
    float: right;
    text-align: right;
}

#page {
    clear: both;
    margin: 0px auto;
}

/* conteúdo */
#content {
    padding: 15px 5px 5px 10px;
}

#content_login {
    margin-top: 10px;
}

#msg_err {
    color: #DF3535;
    font-style: italic;
    margin-left: 5px;
}

#keep_log {
    margin-left: 20px;
}

/* formulários */
.box_cad {
    width: 500px;
    clear: both;
}

.box_cad_tb {
    width: auto;
    float: right;
    clear: both;
}

.box_cad fieldset {
    border: none;
}

.box_cad fieldset legend {
    font-size: 16px;
}

.box_cad input[type="radio"] {
    margin-top: 7px;
}

.box_warn fieldset legend {
    color: #DF3535
}

.sub_field {
    margin-top: 7px;
}

.inp_t1 {
    width: 475px;
    height: 25px;
    padding-left: 5px;
    color: #393939;
}

.inp_t2 {
    width: 225px;
    height: 25px;
    padding-left: 5px;
    color: #393939;
}

.mini {
    width: 80px;
}

.inp_t3 {
    width: 80px;
    height: 25px;
    padding-right: 5px;
    color: #393939;
    text-align: right;
}

.inp_t4 {
    width: 45px;
    height: 25px;
    padding-left: 5px;
    color: #393939;
}

.inp_t5 {
    width: 80px;
    height: 25px;
    padding-right: 5px;
    color: #393939;
    text-align: center;
}

.inp_sel {
    width: 232px;
    height: 25px;
    padding-left: 5px;
    color: #393939;
}

.inp_txt1 {
    width: 475px;
    height: 82px;
    padding-left: 5px;
    color: #393939;
}

.inp_txt2 {
    width: 225px;
    height: 82px;
    padding-left: 5px;
    color: #393939;
}

.inp_txt3 {
    width: 475px;
    height: 200px;
    padding-left: 5px;
    color: #393939;
}

.inp_bt {
    text-transform: uppercase;
    font-size: 11px;
    padding: 1px 2px;
    border-radius: 5px;
    color: #393939;
    background-color: #AAA;
    border: 1px solid #5A5A5A;
    cursor: pointer;
}

.inp_bt img {
    width: 14px;
    float: left;
    margin-right: 5px;
}

.form_cad {
    float: left;
}

.box_cad div {
    width: 250px;
    float: left;
    margin-bottom: 7px;
}

#box_header {
    margin-bottom: 25px;
}

#box_header span {
    float: right;
    font-size: 25px;
    color: #570008;
}

.title_content {
    float: right;
    font-size: 24px;
    color: #570008;
    margin-bottom: 10px;
}

/* tabelas */
.tb_list {
    width: 100%;
    font-size: 12px;
    border-spacing: 0px;
    margin-bottom: 10px;
}

.tb_list thead {
    background-color: #AAA;
}

.tb_list td {
    padding: 2px 0px 2px 4px;
    border-bottom: 1px solid #AAA;
}

.tb_list_warn tbody tr {
    background-color: beige;
}

.tb_search {
    width: 50%;
    float: left;
}

.tb_search td {
    border-bottom: none;
}

.ul_tabled {
    margin-top: 25px;
    clear: both;
}

.ul_tabled ul {
    list-style: none;
    clear: both;
}

.ul_tabled ul li {
    float: left;
    width: 170px;
    padding: 10px 5px;
}

.opt_bt {
    text-align: right;
    width: 75px;
}

.opt_bt img {
    width: 12px;
    border: none;
}

/* paginação */
.pagin {
    float: right;
    margin-top: 5px;
    font-size: 12px;
}

.pagin img {
    width: 10px;
    height: 10px;
    margin: 0px 3px;
    border: none;
}

/* modais */
.load {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88px;
    height: 78px;
    margin: -39px 0 0 -44px;
    z-index: 99999;
}

.bg_modal {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99998;
}

.view_modal {
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: left;
    z-index: 99998;
}

.modal {
    visibility: hidden;
    cursor:pointer;
}

.modalclose {
    color: white;
    float: right;
}

.large div {
    width: 500px;
}