html {
    overflow-y: scroll;
}

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

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

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

a:hover, a:focus {
    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 {
}

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

.header {
    background-color: #aed0ea;
    border-bottom: 3px solid #d4d4d4;
    padding: 5px;
    position: relative;
    color: #134b76;
}

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

.header h2 {
}

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

.content {
    border-top: 3px solid white;
    padding: 1em;
}

.nav, .section {
    margin: 0 auto;
    padding: 1em;
}

.nav {
    width: 960px;
    padding: 4px;
}

.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;
    width: 960px;
}

div#messages:not(:empty) {
    margin-bottom: 1.75em;
}

.messages ul {
    background-color: #f2dede;
    border: 1px solid black;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 1.75em;
    padding: 1em;
    text-align: left;
}

.messages li {
    list-style-position: inside;
    list-style-type: square;
    margin-top: 0.5em;
}

.messages li:first-child {
    margin-top: 0;
}

.messages .error {
}

.messages .info {
}

ul#internalMessages, div.alert p {
    background-color: #f2dede;
    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("/adv-dados-bancarios-cadastro/javax.faces.resource/imagens/fundo-tela-principal.jpg.xhtml?ln=public");
    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 {
    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;
}

.breadcrumb {
    width: 960px;
    margin: 0 auto;
}

.ui-breadcrumb {
    background: none;
    margin-bottom: 8px;
    font-size: 80% !important;
}

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

.editing h4,
.listagem h4 {
    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-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;
}

#advogadoForm\:dadosBancarios_content {
    padding:0px;
}

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

.listagem-alvaras > .ui-datatable thead th {
    padding: 4px 1px !important;
}

.ui-menu.ui-widget li > .ui-menuitem-link {
    width: auto;
}

.ui-widget-content .ui-state-error {
    color: black;
    background-color: inherit;
    background: inherit;
}

.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {
    background-image: url("/adv-dados-bancarios-cadastro/javax.faces.resource/images/ui-icons_3d80b3_256x240.png.xhtml?ln=primefaces-cupertino");
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #B2E5FB;
}

#alvarasPanel .ui-outputpanel-loading {
    margin: 0 auto;
    background:none;
}