#header {
	background: url("../imagens/header_bg.gif") repeat-x top left;
	height: 76px;
	position: relative;
	width: 100%;
}

#header h1 {
	padding: 10px 0 0 15px;
}

#header h1 a {
	background: url("../imagens/logo.png") no-repeat 2px center;
	display: block;
	height: 40px;
	overflow: hidden;
	text-indent: -500px;
	width: 262px;
}

#header ul.nav {
	padding: 0;
	margin: 0;
	float: right;
	position: absolute;
	right: 12px;
	top: 10px;
}

#header ul.nav li {
	float: left;
	padding: 0 5px;
	/*background: url(../imagens/nav_devi.gif) no-repeat right 3px;*/
}

#header ul.nav li.last {
	background: none;
}

#header ul.nav li a {
	/*color: #6ea7d5;*/
	color: #b6c5d5;
	float: left;
	top: 2px;
	position: relative;
}

#header ul.nav li a:hover {
	text-decoration: underline;
}

.ie #header ul.nav li a,
.chrome #header ul.nav li a {
	/*color: #6ea7d5;*/
	color: #b6c5d5;
	float: left;
	top: 4px;
	position: relative;
}

#header ul.version li a {
	writing-mode: tb-rl;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
	position: absolute;
	right: 6px;
	top: 1px;
	color: #6ea7d5;
	max-width: 1px;
}

.ie #header ul.version li a {
	right: 0px;
	top: 8px;
}

#header .ui-autocomplete-input {
	font-size: 10px;
	position: relative;
	padding: 2px 0 2px 5px;
	margin: 0;
	top: -9px;
	width: 224px;
	background: url("../imagens/jquery-ui/ui-bg_glass_80_d7ebf9_1x400.png") repeat-x;
}

.chrome #header .ui-autocomplete-input {
	top: -3px;
}

.ie #header .ui-autocomplete-input {
	top: -3px;
}

#header button.ui-button-icon-only {
	top: -1px;
	height: 19px;
	width: 18px;
}

.chrome #header button.ui-button-icon-only {
	top: 2px;
	height: 21px;
	width: 18px;
}

.ie #header button.ui-button-icon-only {
	top: 2px;
	height: 17px;
}

#header .ui-button {
    margin-left: -17px;
}

.ie #header .ui-button {
    margin-left: -18px;
}

#header #menu {
	bottom: 0;
	font-size: 13px;
	font-weight: bold;
	list-style: none;
	margin-right: 10px;
	position: absolute;
	right: 0;
}

#header #menu li {
	float: left;
	background: url("../imagens/tabright.gif") no-repeat right 0px;
	height: 33px;
	margin-right: 7px;
	text-align: center;
	display: none;
}

#header #menu li a {
	background: url("../imagens/tableft.gif") no-repeat left 0px;
	color: #fff;
	display: block;
	padding: 8px 8px 6px 10px;
}

#header #menu li:hover,
#header #menu li.active {
	background: url("../imagens/tabright.gif") no-repeat right -33px;
	display: block;
}

#header #menu li:hover a,
#header #menu li a:hover,
#header #menu li.active a {
	background: url("../imagens/tableft.gif") no-repeat left -33px;
	color: #2E328D;
	padding: 8px 8px 6px 10px;
	display: block;
}

#header #menu li.search {
	background: none;
}

#header #menu li.search a {
	background: url("../imagens/search-btn.png") no-repeat center;
	height: 32px;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-indent: -200px;
	width: 28px;
}

#header #menu li.search:hover,
#header #menu li.search:hover a {
	background: url("../imagens/search-btn.png") no-repeat center;
}

#header .conerLeft {
	background: url("../imagens/head_left.gif") no-repeat top left;
	height: 8px;
	left: 0;
	position: absolute;
	top: 0;
	width: 10px;
}

#header .conerRight {
	background: url("../imagens/head_right.gif") no-repeat top right;
	height: 8px;
	position: absolute;
	right: 0;
	top: 0;
	width: 10px;
}

#comboCnpjSelecionado-ul {
	font-size: 10px;
	width: 221px;
	z-index: 99 !important;
}

#comboEmpresaDestinatarioSelecionada-ul {
	font-size: 12px;
	width: 221px;
}

.red {color: red}

.comboCNPJ input{ width: 415px !important; }
.ie7 .comboCNPJ .ui-widget { float:left; }
.ie7 .comboCNPJ .ui-button { float:left; }

.area_mensag_cont textarea {
	width: 550px;
	margin: 2px 15px;
}



#headerTotalizadores #menuTotalizadores {
	bottom: 0;
	font-size: 13px;
	font-weight: bold;
	list-style: none;
	margin-right: 10px;
	right: 0;
}

#headerTotalizadores #menuTotalizadores li {
	display: inline-table !important;
	background: url("../imagens/tabright.png") no-repeat right 0px;
	height: 33px;
	text-align: center;
	width: 10.7%;
	max-width: 170px; /*Sem max-width causa falha nas abas do painel superior na guia "Gestão" para monitores com resolução horizontal superior à 1920px ~varini */
	margin-top: 15px;
}

#headerTotalizadores #menuTotalizadores li a {
	background: url("../imagens/tableft.png") no-repeat left 0px;
	color: #fff;
	display: block;
	padding: 8px 8px 6px 10px;
}

#headerTotalizadores #menuTotalizadores li:hover,
#headerTotalizadores #menuTotalizadores li.active {
	background: url("../imagens/tabright.png") no-repeat right -33px;
	display: block;
}

#headerTotalizadores #menuTotalizadores li:hover a,
#headerTotalizadores #menuTotalizadores li a:hover,
#headerTotalizadores #menuTotalizadores li.active a {
	background: url("../imagens/tableft.png") no-repeat left -33px;
	color: #2E328D;
	padding: 8px 8px 6px 10px;
	display: block;
}

#headerTotalizadores #menuTotalizadores li.search {
	background: none;
}

#headerTotalizadores #menuTotalizadores li.search a {
	background: url("../imagens/search-btn.png") no-repeat center;
	height: 32px;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-indent: -200px;
	width: 28px;
}

#headerTotalizadores #menuTotalizadores li.search:hover,
#headerTotalizadores #menuTotalizadores li.search:hover a {
	background: url("../imagens/search-btn.png") no-repeat center;
}
