html {
    overflow-y: scroll;
    /*font-size: 13px;*/
}

html, body {
    font-family: Arial,sans-serif;
    font-size: 13px;
    line-height: 1.25;
}

h1, h2, h3, h4 {
    text-align: center;
}

a {
    color: #999;
    text-decoration: none;
}

a:hover, a:focus {
    color: #c00;
    text-decoration: underline;
}

label {
    font-weight: bold;
}

input, select {
    margin: 0;
    padding: 3px;
}

form dl {
    margin-bottom: 1em;
}

form dt {
    margin-top: 0.5em;
}

form .error {
    color: red;
    font-size: 0.9em;
    margin-left: 0.5em;
}

form + p {
    margin-top: 1em;
}

form p.tip {
    margin-bottom: 1em;
}

form p.alert {
    color: #c00;
}

form span.error {
    color: #c00;
    margin-left: 0;
    font-size: 1em;
}

.header {
    background-color: #eee;
    border-bottom: 3px solid #999;
    padding: 5px;
    position: relative;
}

.header h1 {
    font-family: serif;
    font-size: 1.4em;
    font-variant: small-caps;
    font-weight: normal;
}

.header h2 {
    color: #c00;
}

.header .version {
    color: #666;
    font-size: 0.6em;
    font-weight: bold;
    padding: 3px;
    position: absolute;
    right: 1px;
    top: 0;
}

.content {
    border-top: 3px solid #c00;
    padding: 1em 1em 0 1em;
}

.breadcrumb {
    padding: 0 1em 0 1em;
}

.nav {
    margin-bottom: 1em;
}

.section {
    /*margin: 0 auto;*/
    padding: 1em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
}

.nav {
    /*width: 960px;*/
}

.nav li {
    border-left: 1px solid #999;
    display: inline;
    font-size: 1em;
    padding: 3px 3px 3px 6px;
}

.nav li:first-child {
    border-left-style: none;
}

.messages {
    margin: 0 auto;
    padding: 0 1em 0 1em;
}

ul#internalMessages, div.alert p {
    background-color: #ffd;
    border: 1px solid black;
    font-size: 0.9em;
    font-weight: bold;
    margin: 1.75em 0 1em 0;
    padding: 1em;
    text-align: left;
}

ul#internalMessages li {
    list-style-position: inside;
    list-style-type: square;
    margin-top: 0.5em;
}

ul#internalMessages li:first-child {
    margin-top: 0;
}

div.alert p {
    margin: 0;
    padding: 0.4em;
}

div.logo-tela-principal {
    background-image: url("");
    background-position: center center;
    background-repeat: no-repeat;
    height: 300px;
}

.section {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px dotted #999;
    /*width: 960px;*/
}

.section h3 {
    color: #c00;
    margin: -1em -1em 1em -1em;
    padding: 0.5em;
    font-size: 1.1em;
    border-bottom: 1px dotted #999;
}

.section p {
    font-size: 0.9em;
}

.section p.error {
    margin-top: 1em;
}

.section p + form {
    margin-top: 2em;
}

.footer {
    padding: 5px;
}

/* --- custom --- */

.login .section, .cadastrar .section, .recuperar .section, .atualizar .section {
    width: 260px;
}

.sucesso .section ul {
    font-size: 0.9em;
    list-style-type: none;
}

.editing h4,
.listagem h4 {
    color: #C00;
    margin: 1em 0;
    text-align: left;
}

.listagem ul {
    padding-left: 1em;
}

span.readonly {
    padding: 0.2em;
    border: solid 1px #ccc;
}

div.readonly {
    padding: 0.2em;
    height: 1.2em;
}

.editing h4 {
    text-align: center;
}

.ui-widget {
    font-size: 100%;
}

.ui-selectoneradio td {
    vertical-align: top;
}
.ui-selectoneradio label, .ui-radiobutton-box {
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0.2em;
}

.ui-chkbox .ui-chkbox-label {
    margin: 0 0.5em;
}

div.ui-grid-row {
    margin-bottom: 0.5em;
}
div.ui-grid-row label.ui-outputlabel {
    padding-top: 0.3em;
}

div.ui-grid-row label.right {
    text-align: right;
    padding-right: 0.5em;
}

div.ui-grid-row .label-right {
    padding-top: 0.3em;
    padding-left: 0.5em;
}

.ui-datatable.condensed table {
    font-size: 85%;
}

.ui-datatable thead th,
.ui-datatable tbody td {
    vertical-align: middle;
}

.ui-datatable .ui-widget-content .ui-state-highlight a {
    color: white;
}

.ui-datatable tr.ui-state-highlight {
    cursor: default;
}

.ui-selectoneradio tr > td:nth-child(odd) {
    width: 1.8em;
}

.gridTipoBusca .ui-selectoneradio tr > td:nth-child(odd) {
    width: auto;
}

.ui-selectonemenu .ui-selectonemenu-label {
    width: auto;
}

.ui-datalist-data {
    margin: 0.5em;
}

.ui-datalist-item {
    margin-left: 1.25em;
}

span.calendar.ui-grid-col-2>input {
    width: 92%;
}

span.calendar.ui-grid-col-2>button>span.ui-button-text {
    line-height: 1em;
}

span.calendar.w-button.ui-grid-col-2 input {
    width: 69.5%;
}

.center {
    text-align: center;
}

.right {
    text-align: right !important;
    padding-right: 0.5em !important;
}

.hidden {
    display: none !important;
}

@media print {
    #imprimir {
        display: none;
    }

    .ui-tabs {
        border-style: none !important;
    }

    .version, .nav, .ui-tabs ul[role=tablist], .ui-tabs button {
        display: none;
    }
}

#cadPeritoForm\:tels thead {
    display: none;
}

.ui-selectmanycheckbox td:first-child {
    width: 1%;
    padding-right:6px;
}

.ui-selectmanycheckbox label {
    font-weight: normal;
}

.ui-datalist-content.ui-widget-content {
    border-color:#ccc;
}

#panelCadastroPerito {
    border:none;
}

.preformatted {
    white-space: pre-wrap;
}

.campoDescricao {
    border:1px solid #ccc;
    padding:5px;
    font-weight: normal;
}

#cadPeritoForm\:panelUploadDocumentosErro span {
    margin-top:5px;
}

.ui-chkbox .ui-chkbox-box {
    margin-top: 4px;
}


table.ui-selectmanycheckbox td label {
    vertical-align: top;
}

table.ui-selectmanycheckbox td {
    vertical-align: top;
}

#infoSenha {
    margin-top: 5px;
}

.tachado {
    text-decoration:line-through;
}

.ui-state-disabled {
    opacity: .60 !important;
}

/* aumentado tamanho do menu para haver quebra de linha */
.ui-menu .ui-menu-parent .ui-menu-child {
    width: 300px;
}


.ui-widget-overlay {
    opacity: .50;
}

.menu-atual > .ui-menuitem-text {
    font-weight: bold;
    color: red;
}

#main\:panelConsulta > * {
    vertical-align: top;
}

.ui-panelgrid td, .ui-panelgrid tr {
    /*remove as linhas 'de grade' dos formul�rios*/
    border-style: none !important
}

.erroCorreios {
    font-size: 20px;
    color: black;
    vertical-align: top;
    padding-left: 2px;
}

.avisoErroCorreios {
    font-size: 20px;
    vertical-align: top;
    font-weight: bolder;
    color: black;
}

#avisoWsCorreios {
    margin-top: 5px;
    display: none;
}

div, table, form {
    margin: auto;
}

table {
    /*    text-align: center;*/
}

td {
    vertical-align: middle;
}

.consultaProcessoObjeto {
    text-align: center;
}

.ui-datatable.borderless thead {
    display: none;
}

.ui-datatable.clean thead th, .ui-datatable.clean tbody,
.ui-datatable.clean tbody tr, .ui-datatable.clean tbody td
{
    border-style: none;
}

.ui-panel-content {
    margin-top: 7px;
}