* {
	margin: 0;
	padding: 0;
}

body {
	background-image: url(../imgs/fundo-diag.gif);	
	text-align: center;
	font-family:Tahoma, Geneva, sans-serif;
	color:#333;
	font-size:80%;
}

img {
	border: 0;	
}

#principal {
	width: 980px;	
	min-height: 180px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	text-align: left;	
	background-color: #fff;
}

#footer {
	width: 1000px;	
	height: 90px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	background-image: url(../imgs/fundo-vinho.png);
	color: #fff;	
}

#header {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;	
	background-color: #fff;
}

#linha_cima {
	width: 1000px;	
	height:10px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	background-image: url(../imgs/fundo-vinho.png);	
}

.faixa {
	background-image: url(../imgs/fundo-cinza.png);
	width: 100%;	
}

a {	
	color: #333;
}

h1 {
	font-size:120%;	
	color:#060;
	padding: 10px;
}

/** Forms **/
form {
	clear: both;
	padding: 0;
}
fieldset {
	border: 1px solid #ccc;
	margin-bottom: 0px;
	padding: 16px 20px;
   -moz-border-radius-bottomleft: 7px;
   -moz-border-radius-bottomright: 7px;
   -moz-border-radius-topleft: 5px;
   -moz-border-radius-topright: 7px;
   -webkit-border-radius: 7px;
   border-radius: 3px;
}

fieldset legend {
	font-weight: bold;
}

fieldset fieldset div {
	clear: left;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form .input {
	color: #444;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 105%;
	margin-bottom:3px;
	margin-top:6px;
}
input, textarea {
	clear: both;
	font-size: 100%;
	font-family: "lucida grande", "verdana", sans-serif;
	padding: 4px;
	width:98%; 
}
select {
	clear: both;
	font-size: 100%;
	vertical-align: text-bottom;
	padding: 3px;
	padding-bottom:4px;

}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 100%;
	padding: 0 3px;
}
input[type=text], input[type=password], textarea {
	background-image:url(../imgs/bg_input_text_off.jpg);
	background-repeat:no-repeat;
	background-position:top left;
	border: 1px solid #8C8B9D;
	border-collapse:collapse;
}
input[type=text]:focus, input[type=password]:focus, textarea:focus {
	background-image:url(../imgs/bg_input_text_on.jpg);
	background-repeat:no-repeat;
	background-position:top left;
	border: 1px solid #8C8B9D;
	border-collapse:collapse;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 1px 0;
}

div.radio label {
	float: left;
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 100%;
	width: auto;
	margin-top:5px;
}
input[type=button] {
	display: inline;
	font-size: 100%;
	width: auto;
	margin-top:5px;
}
button.save, button.cancel {
	display: inline;
	font-size: 100%;
	width: auto;
}
#submenu_restrito {
	width: 180px;
	margin: 0;
	float: left;
}

#submenu_restrito ul {
	margin-left:1px;
}

#submenu_restrito li {
	border-bottom: 1px solid #e6e8ea;
	list-style: none;
	list-style-image: none;
	padding: 5px 0 6px 12px;
}

#submenu_restrito a { 
	height: 28px;
	color: #060;
	background: #FFF url(../imgs/ico_li.gif) no-repeat left;
	padding-left:12px;
	padding: 5px 0 6px 12px;
}

#submenu_restrito a#current2 {
	color: inherit;
	background: #FFF url(../imgs/ico_v.gif) no-repeat left center;
	text-decoration: none;
	padding: 5px 0 6px 12px; 
}

#subcont_grd {
	width: 750px;
	float: right;
	margin-bottom: 20px;
	color: #44545f;
}

table.dados, .dados_ordenaveis th {
    background: #fff;
    background-image:url(th_esq.png);
    background-repeat: repeat-x;
    background-position: top left;
    padding: 4px;
    text-align: left;
    vertical-align: top;
    border-bottom:1px solid #C8C8C8;
    font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;


}
table.dados tr td, table.dados_ordenaveis tr td {
    padding: 3px;
    text-align: left;
    vertical-align: top;
    border-bottom:1px solid #ddd;
}
table.dados tr:nth-child(2n) td, table.dados_ordenaveis tr:nth-child(2n) td {
    background: #f5f5f5;
}
table.dados td:hover, table.dados_ordenaveis td:hover {
    background-color:#FAFAFA;

}
table.dados td a, table.dados_ordenaveis td a {
    font-weight:normal;
    font-size:95%;
}

table.dadostr:nth-child(2n) td:hover, table.dados_ordenaveis tr:nth-child(2n) td:hover {
    background: #EEEEEE;
}

table.dados thead tr .header, table.dados_ordenaveis thead tr .header {
    background-image: url(icons/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 25px;
    cursor: pointer;
}

table.dados thead tr .header:hover, table.dados_ordenaveis thead tr .header:hover {
    background-color: #EEEEEE;
}

