﻿html {
    overflow-y: scroll; 
}

.preload * {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	display: none;
}

#container {
	margin-left: 22px;
	margin-right: 22px;
	background-color: #fff;
}

#container *, .ui-widget > *, .ui-datepicker *, .select2-container {
	font-family: "Trebuchet MS", Verdana;
	font-size: 12px;
}

#container h1 {
	font-size: 16px;
	color: #2e6e9e;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 1px solid #a6c9e2;
	margin-bottom: 10px;
}

#container h2, #container h2 span {
	font-size: 14px;
	color: #2e6e9e;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 1px solid #a6c9e2;
	margin: 10px 0;
}

#container h3, #container h3 span {
	font-size: 12px;
	color: #2e6e9e;
	font-weight: bold;
	text-transform: uppercase;
	margin: 10px 0;
}

.grupoBotao {
	background-color: #f3f7fc;
	border: 1px solid #a6c9e2;
}

.formulario {
	border-left: 1px solid #a6c9e2;
	border-right: 1px solid #a6c9e2;
	padding: 10px;
}

fieldset.quadro-arredondado {
	border: 1px solid #a6c9e2;
	border-radius: 5px;
	margin-bottom: 10px;
	padding: 5px;
}

fieldset.quadro-arredondado legend {
	font-weight: bold;
	text-transform: uppercase;
	padding: 0 10px;
	margin-left: 5px;
}

/** tamanho de acordo com o contéudo. */
fieldset.quadro-arredondado.tamanho-do-conteudo {
	display: inline-block;
}

fieldset.quadro-arredondado.alterado {
	border-color: #FFA500;
}

fieldset.quadro-arredondado.alterado legend {
	background: url("../../jquery-ui-1.8.19.custom/css/redmond/images/ui-bg_gloss-wave_60_fece2f_500x100.png")  repeat-x scroll 50% 50% #fece2f;
	border: 1px solid orange;
}

.campo {
	float: left;
	margin: 2px;
	padding: 2px;
	min-height: 43px;
	border-radius: 5px;
	background-color: #eff7fe;
}

.campo:hover, .campo.focus {
	background-color: #bbddf9;
}

.campo label {
	font-weight: bold;
	display: block;
}

.campo input[type="text"][disabled], select[disabled], textarea[disabled] {
	color: #000;
	background-color: #ebebe4;
}

.campo input[type="text"], .campo textarea {
	border: 1px solid #ccc;
	font-family: "Trebuchet MS", Verdana;
}

.campo input[type="text"] {
	height: 18px;
}

.campo select {
	border: 1px solid #ccc;
	font-family: "Trebuchet MS", Verdana;
	height: 22px;
}

.select2-container--default {
	height: 22px !important;
}

.select2-selection--single {
	border: 1px solid #ccc !important;
	height: 22px !important;
	border-radius: 0px !important;
    align-items: center !important;
    white-space: pre !important;
    -webkit-rtl-ordering: logical !important;
    color: black !important;
    background-color: white !important;
    cursor: default !important;	
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: black !important;
    line-height: 22px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 1px !important; 
    padding-right: 1px !important; 
}

.campo input[type="text"]:hover, .campo select:hover, .campo textarea:hover {
	border: 1px solid #508fd7;
}

.campo input[type="text"]:focus, .campo select:focus, .campo textarea:focus {
	border: 1px solid #508fd7;
	background-color: #f7faff;
}

.campoTransparente {
	float: left;
	margin: 2px;
	padding: 2px;
	min-height: 43px;
	border-radius: 5px;
}

.campoTransparente label {
	font-weight: bold;
	display: block;
}

.botaoCadastro {
	background: url(../../../images/add_up.gif) no-repeat center center;
	margin-top: 23px;
	border: none;
	color: transparent;
	float: left;
}

.botaoLupa {
	background: url(../../../images/lupa03.gif) no-repeat center center;
	margin-top: 23px;
	border: none;
	color: transparent;
	float: left;
}

.obrigatorio, .campoObrigatorio {
	color: #ff0000;
	font-weight: bold;
}

body {
	background-color: #ededed;
}

br {
	clear: both;
}

#rodape {
	background-color: #3873B7;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	padding: 2px;
}

.tabela th {
	font-weight: bold;
	text-align: left;
	border: 1px solid #A6C9E2;
	background-color: #eff7fe;
}

.tabela td {
	border: 1px solid #A6C9E2;
}

.tabela tr:nth-of-type(odd) {
	background-color: #fff;
}

.tabela tr:nth-of-type(even) {
	background-color: #eff7fe;
}

.tabela tr:hover {
	background-color: #bbddf9;
}

/** Evitar que os botoes da nota fiscal (acompanhamento) ultrapassem uma linha.*/
.grupoBotaoNotaFiscal .ui-button-text-only .ui-button-text {
    /*padding: 0.4em 1em;*/
    padding: 0.4em 0.14em;
}

#bodyNotaFiscalGrid tr td {
	text-align: center;
}

/** TODO Quando 'migrar' e ficar um css padrão, coloco isso no local certo. */
.fl {float: left;}
.fr {float: right;}
.w65 {width: 65px;}
.w80 {width: 80px;}
.w88 {width: 88px;}
.w95 {width: 95px;}
.w100 {width: 100px;}
.w110 {width: 110px;}
.w130 {width: 130px;}
.w160 {width: 160px;}
.w200 {width: 200px;}
.w230 {width: 230px;}
.w245 {width: 245px;}
.w280 {width: 280px;}
.w370 {width: 370px;}
.w510 {width: 510px;}
.h75 {height: 75px;}
.mh20 {min-height: 20px;}

.tabela .item-visitado td {
	border: 2px solid #FFA500;
}

.item-alterado-instrucao-desenho {
	height: 2px;
	width: 2px;
	margin-right: 3px;
	float: left;
	border: 1px solid;
	color: #FFA500;
	padding: 5px;
}
.item-alterado-contribuinte-desenho {
	height: 2px;
	width: 2px;
	margin-right: 3px;
	float: left;
	border: 1px solid;
	color: #ff4500;
	padding: 5px;
}

.item-alterado-instrucao {
	color: #000000;
	font-weight: normal;
}

.legendaItem {
	padding-bottom: 5px;
}

.legendaItem label {
	color: #696969;
	padding-bottom: 3px;
}

/** mãozinha no checkbox apenas para os campos habilitados. */
input[type="checkbox"]:enabled, input[type="radio"]:enabled {
	cursor: pointer;
}

.trunc {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 150px;
}

.trunc[data-title]:hover {
	overflow: visible;
}

.trunc[data-title]:hover>a {
	color: transparent;
}

.trunc[data-title]:hover:before {
	content: attr(data-title);
	position: relative;
	background-color: #fff;
}

.grupoBotaoCalculadoraImportacao {
	margin-bottom: 10px;
}

.outras-despesas-st label {
	display: inline-table;
	width: 300px;
}

.campo.outras-despesas-st {
	min-height: 25px;
	float: unset;
}

.pendencias td, .pendencias th {
	text-align: center;
}

.pendencias td a {
	cursor: pointer;
}

.item-alterado-contribuinte {
	background-color: #F8C1AD!important;
}