﻿* { margin: 0; padding: 0; text-decoration: none; outline: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; vertical-align: top;}
a, img, a img, iframe, form, fieldset, abbr, acronym, object, applet { border: none; }
ul { list-style: disc outside; margin-left: 2em; margin-bottom: .8em; } /* IE can't handle :before and :after */
ul li { text-indent: 0; margin-left: .85em; margin-bottom: .3em; }
ol { list-style-position: outside; list-style-type: decimal; }
dt { font-weight: bold; }
code, kbd, samp, pre, tt, var, textarea, input, select, isindex { font: inherit; font-size: 1em; }
code, kbd, samp, pre, tt, var, input[type='text'], textarea { font-size: 92%; font-family: monaco, "Lucida Console", courier, mono-space; }
legend { background: #fff; }
textarea, input[type='text'], input[type='password'], select { border: 1px solid #ccc; background: #fff; vertical-align:top;}
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #aaa; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 2px solid #cef; }
#main-content textarea, #main-content input { padding: .1em .4em; }
input, select { cursor: pointer; }
input[type='text'] { cursor: text; }

* html #main-content textarea, * html #main-content input { padding: 0; } 
#main-content input[type='submit'], #main-content input[type='button'] { padding: 0; }
p { margin-bottom: 1.6em; _margin-bottom:.8em; }
p+p { margin-top: -.8em; }
#main-content p+div { margin-top: -.8em; }
h2 { font-size: 1.5em; margin: 1.07em 0 .535em;}
h3 { font-size: 1.4em; margin: 1.14em 0 .57em;}
h4 { font-size: 1.3em; margin: 1.23em 0 .615em;}
h5 { font-size: 1.2em; margin: 1.33em 0 .67em;}
h6 { font-size: 1em; margin: 1.6em 0 .8em;}



a:link { color: #46b6e8; text-decoration: underline; }
a:visited { color: #679; text-decoration: underline;}
a:hover { color: #4c1211; text-decoration: underline;}
a:active, a:focus { color: #c66; text-decoration: underline;}

body {
	background:url(../../includes/images/body_bg.jpg) bottom repeat-x;
	color:#464646;
	font-family: Verdana,Helvetica,Arial,sans-serif;
	font-size: 62.5%; 
	line-height:1.4em;
	margin:0; }

/* Topo */

h1 a { 
	padding:20px 0; 
	background:url(../../includes/images/msafra_logo.gif) no-repeat center;
	height:54px;
	text-indent:-5000px;
	width:182px;
	float:left;}

#header {
	background: #4c1211 url(../../includes/images/header_bg.gif) repeat-x bottom center ;}
	#header .wrapper {
		margin:0 auto;
		width:73em; }
		#header table {
			font-size:9px;
			line-height:1.2em;
			clear:both;
			margin:0 auto 20px ; 
			width:100%}
			#header thead {
				background:#593125 url(../../includes/images/header_table_thead_bg.gif) repeat-x top center; 
				border-bottom:#63372e solid 1px; 
				color:#d4cab7;}
				#header thead th { 
					padding: 1em .7em; 
					letter-spacing:0.1em;
					font-weight:normal;	
					text-align:center; }
				#header table thead th.algLeft { text-align:left; }
			#header td,
			#header th { padding: .5em; } 
			#header tbody {
				background:#673631;
				color:#d4cab7; }
				#header tbody tr { }
					#header tbody tr.highlight th,
					#header tbody tr.highlight td {
						color:#fff;
						line-height:1.6em;
						font-size:1em;
						font-weight:bold; }	
					#header tbody td,
					#header tbody th {
						border-bottom: #764b3b 1px solid;}
					#header tbody td {
						border-left:#764b3b 1px solid; 
						text-align:center;}
					#header tbody th {
						font-weight:normal; }

/* Menu */
#primary-nav {
	background:#5A281F;
	margin-top:40px;
	float: right; 
	list-style-type: none;}
		#primary-nav li {
			background:#5A281F;
			width:85px;
			float:left; }
			#primary-nav li a {
				color: #fff;
				padding:3px; }
				#primary-nav a:hover { background:url(../../includes/images/menu_hover_active.gif); }
			#primary-nav li li {
				width:150px;}
/* Conteúdo */					
#conteudo {
	margin:0 auto;
	padding:10px 0;
	width:690px; }
	#conteudo h2 {
		margin:.7em 0;
		color:#AF7842;
		font-family:"Arial Narrow", Helvetica, Arial, Verdana, sans-serif;;
		font-size:1.8em;
		letter-spacing:-.05em }
		#conteudo h2 a { color:#AF7842; text-decoration:none; } 
		#conteudo h2 a:hover { color:#AF7842; text-decoration:underline; } 
	/* Home */
	#conteudo img.home {
		border:3px #dec29d solid;
		float:left;}
	#conteudo .entry{
		width:170px;
		margin-left:30px;
		float:left; }
		#conteudo .entry ul {
			list-style:none;
			margin-left: 0; }
			#conteudo .entry ul li { margin-left: .3em;}
	/* Pgs internas */
	#display {
		clear:both;
		margin-bottom:10px; }
		#display img { border:3px #dec29d solid; }
	#main-content {
		float:left;
		width:70%;
		min-height:350px;
		height:auto !important;
		height:350px;
		text-align:justify;	}
		#main-content h2 { 
			font-size:2.5em;
			font-weight:normal;
			letter-spacing:normal;}
		#main-content h3 {
			color:#46b6e8;
			font-size:1.1em;
			margin-bottom:1em;}
		#main-content h3.highlight { 
			font-size:2em; 
			font-weight:normal; }
		ul.arquivos {
			list-style:none;
			margin:0; }
			ul.arquivos li {
				background:url(../../includes/images/file_pdf.gif) top left no-repeat;
				padding-left:2.5em; }
		.vcard p {	margin-bottom:1em;	_margin-bottom:.3em; }
		#main-content form {
			margin:0 auto;
			width:90%;
		}
		#main-content label {
			width:100px;
			float:left;
			text-align:right;
			margin-right:1em;
		}
		#main-content fieldset { margin-bottom:.5em; }
		#main-content input { width:250px; }
		#main-content input.submit { width:auto; margin-left:320px;}
		#main-content textarea { height:90px; width:250px; }
		/* tab*/
		#main-content table { 
			color:#464646;
			border:#E7DBCD solid 4px;
			font-size:.9em;
			letter-spacing:-1px;
			margin-bottom:2em; }
			#main-content caption { 
				background:#e4dbd2; 
				color:#2c89c2; 
				font-size:1.3em; 
				font-weight:bold; 
				padding: .5em .7em;}
			
			#main-content tr.highlight,
			#main-content tr.highlight th {color: #46b6e8; font-weight:bold; }
			#main-content td,
			#main-content th { 
				border: #e4dbd2 solid 1px; 
				padding: .3em; } 
			#main-content thead th { background:#f6f1ed; color:#543924; }
			#main-content tbody { background:#f6f1ed; }
			
			#main-content tbody th { color:#836241; text-align:left; }
			#main-content table.data td,
			#main-content table.data thead th { text-align:center; }
			#main-content table thead th.algLeft { text-align:left; }
			
			
	#sidebar {
		border-left:#AF9B78 solid 1px;
		float:right;
		margin-top:40px;
		padding-left:20px; 
		width:20%;
		min-height:200px;
		height:auto !important;
		height:200px;}
		#sidebar h3 {
			color:#af7842;
			font-size:1.6em;
			margin-bottom:1em; }
		#sidebar select { width:130px; }
		#sidebar ul {
			list-style:none;
			margin:0; }
			#sidebar ul li { margin-bottom:1em; margin-left:.3em;}
			#sidebar a:link { color: #464646; text-decoration: none; }
			#sidebar a:visited { color: #679; }
			#sidebar a:hover { color: #4c1211; }
			#sidebar a:active, #sidebar a:focus { color: #c66; }
					
#rodape {
	clear:both;
	margin:20px auto;
	width:710px; }
	#rodape p {	
		color:#b0805a;
		font-size:.9em;
		line-height:1.05em;
		text-align:justify; }
		#rodape p#endereco {
			border-bottom:1px solid #dcd3c4;
			font-size:1.1em;
			padding-bottom:.5em;
			text-align:center; }
			#rodape .org, #rodape .postal-code, #rodape .country-name { display:none; }
		



/* inicio menu */
ul#primary-nav * { z-index:10000; }
ul#primary-nav,
ul#primary-nav ul {
 padding: 0;
 width:auto; /* Width of Menu Items */
 font-size:11px;
 z-index:1000;
}
ul#primary-nav li { position: relative; list-style: none; margin:0;}
ul#primary-nav li li { border-left:none; height:20px; }
ul#primary-nav li a {
 display: block;
 text-decoration: none;
 padding: 5px;
}
/* Fix IE. Hide from IE Mac \*/
* html ul#primary-nav li { float: left; height: 1%; }
* html ul#primary-nav li a { height: 1%; }
/* End */
ul#primary-nav ul {
 margin:0;
 position: absolute;
 display: none;
 left: 0; /* Set 1px less than menu width */
 top:23px;
 width:auto;
 border-bottom:none;
 text-align:left;
}
 
ul#primary-nav ul ul { top:0; width:auto; z-index:1000; }
ul#primary-nav li ul li a { padding: 4px 8px; } /* Sub Menu Styles */

ul#primary-nav li:hover ul ul,
ul#primary-nav li:hover ul ul ul,
ul#primary-nav li:hover ul ul ul ul,
ul#primary-nav li:hover ul ul ul ul ul,
ul#primary-nav li.over ul ul,
ul#primary-nav li.over ul ul ul,
ul#primary-nav li.over ul ul ul ul,
ul#primary-nav li.over ul ul ul ul ul { display: none; } /* Hide sub-menus initially */

ul#primary-nav li:hover ul,
ul#primary-nav li li:hover ul,
ul#primary-nav li li li:hover ul,
ul#primary-nav li li li li:hover ul,
ul#primary-nav li li li li li:hover ul,
ul#primary-nav li li li li li li:hover ul,
ul#primary-nav li.over ul,
ul#primary-nav li li.over ul,
ul#primary-nav li li li.over ul,
ul#primary-nav li li li li.over ul, 
ul#primary-nav li li li li li.over ul,
ul#primary-nav li li li li li li.over ul { display: block;} /* The magic */
/* fim menu*/

/*classe para limpar containers com filhos flutuantes*/
.clearfix:after { content:"."; display:block; height:0; clear:both; visibility: hidden; }
/*.clearfix {display: inline-table;}*/
*.clearfix {display:inline-block;}
/* Hides from IE-mac \*/
*html .clearfix {height: 1px;}
.clearfix {display: block;}
/* End hide from IE-mac */
