/**
 * ==================================================================
 * CSS PARA FORMULÁRIOS
 * ==================================================================
 */

form{
	margin-top: 15px;
}

.acoes form {
	margin-top: 0;
}

.frm-btn-esquerda{
	text-align: left !important;
}

div.label-direita label:first-child, form.label-direita  label:first-child {
	text-align: right;
}

div#login label{
	width: 80px;
	display: inline-block;
	text-align: right;
	padding: 5px;
	font-weight: bold;
}

select, input[type=text], input[type=password], textarea {
	border-color: #999999;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px 4px 4px 4px;
	margin-right: 4px;
	padding: 4px;
}

select{
    max-width: 200px;
}

input[type=text], input[type=password]{
	width: 200px;
}

/*select{
	min-width: 209px;
}*/

div label{
	font-weight: bold;
	margin-left: 5px;
	margin-right: 10px;
}

div label:first-child {
	font-size: 10pt;
	font-weight: bold;
	display: inline-block;
	margin-top: 7px;
	margin-bottom: 5px;
	margin-right: 15px;
	padding-left: 4px;
	width: 210px;
}

div.input {
	margin-bottom: 5px;
}

form div.required label::after,
.form-label-required .required label:after {
	content: "*";
	color: red;
	display: inline;
}

form div.inline {
	margin-bottom: 7px;
}

form div.inline input {
	display: inline;
	margin-right: 10px;
}

form div.inline select {
	margin-right: 10px;
}

form div.inline div.input {
	display: inline;
}

form div.radio input{
	display: inline;
	/*width: 20px;*/
}

form div.radio label {
	/*display: inline-block;*/
	font-weight: normal;
	width: 97%;
}

form div.input.radio {
	padding-left: 230px;
}

form div.input.checkbox{
	padding-left: 230px;
}

form div.checkbox{
	display: inline-block;
	/*width: 210px;*/
}

form div.checkbox.inline{
	width: 210px;
}

form div.checkbox.inline input[type=checkbox]{
	margin-right: 0 !important;
}

form div.checkbox label{
	font-weight: normal !important;
}

input[disabled], select[disabled], textarea[disabled] {
	background-color:#dbd5c7;
	cursor: not-allowed;
}

input[readonly=readonly], select[readonly=readonly], textarea[readonly=readonly] {
	background-color:#dbd5c7;
	color: #6d6d6d;
	cursor: not-allowed;
	opacity: 0.7 !important;
}

input[type=submit], button[type=reset]{
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #efefef;
	cursor: pointer;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#e7e7e7',GradientType=0 );
	border-width:1px;
	border-style:solid;
	border-color:#999;
	margin-right: 10px;
	min-width: 98px;
	padding: 3px;
}

form button[type=submit]:first-child, form input[type=submit]:first-child, form .linkBotao:first-child {
	margin-left: 234px;
}

button[type=submit], .botoes button[type=button], .linkBotao {
	min-width: 98px !important;
	padding: 3px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #efefef;
	cursor: pointer;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#e7e7e7',GradientType=0 );
	border-width:1px;
	border-style:solid;
	border-color:#999;
	/*margin-left: 234px;*/
        margin-right: 5px;
}

.acoes input[type=submit], .acoes button[type=submit], .botoes button[type=button] {
	margin-left: 0;
}

.nome, .endereco, .bairro {
	width: 40em !important;
}

.cep, .codigo_agente, .pgu_renach {
	width: 8em !important;
}

.complemento, .numero {
	width: 5em !important;
}

.cnpj, .cpf_cnpj, .orgao-autuador {
	width: 9em !important;
}

.cpf, .ait, .status, .serie-ait, .numero_ar, .renavam {
	width: 7em !important;
}

.data, .hora, .placa, .infracao {
	width: 5em !important;
}

select.infracao{
	width: 76px !important;
}

/**
 * ==================================================================
 * CSS PARA FILTRO DE TABELA DE DADOS
 * ==================================================================
 */

form.formulario-filtro{
	margin: 0;
}

.filtro{
	background-color: #CCCCCC;
	border: 1px solid #AAAAAA;
	border-radius: 7px;
	margin: 5px 0;
	padding: 5px;
}

.filtro label{
	font-weight: normal !important;
	margin-right: auto !important;
	padding: 5px;
	width: auto !important;
}

.filtro input[type=submit], .filtro button[type=reset]{
	float: right;
	margin-left: 0; 
}

/**
 * ==================================================================
 * CSS PARA MENSAGENS DE ERRO DO JQUERY VALIDATE
 * ==================================================================
 */
input.error{
	border: 1px solid red;
}
 
label.error{
	color: red;
	margin-top: 5px;
	margin-left: 235px;
	padding-left: 20px;
	background-image: url(../../img/icons/error2.png);
	background-repeat: no-repeat;
	text-align: left;
}

/**
 * ==================================================================
 * CSS PARA MENSAGENS DE ERRO DO CAKEPHP
 * ==================================================================
 */

.error-message{
     color: red;
     margin-top: 5px;
     margin-left: 235px;
     padding-left: 20px;
     background-image: url(../../img/icons/error2.png);
     background-repeat: no-repeat;
}

select.form-error, input[type="text"].form-error, input[type="password"].form-error, textarea.form-error {
	border-color: red !important;
	background-color: #ecc;
}

.btn-link-botao-formulario {
	color: #000;
    display: inline-block;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#e7e7e7',GradientType=0 );
    font-size: 13.333px;
	min-width: 90px;
    padding: 3px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: #efefef;
    cursor: pointer;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#e7e7e7',GradientType=0 );
    border-width: 1px;
    border-style: solid;
    border-color: #999;
    margin-right: 5px;
}