/* Css originally by mejobloggs  Design by Aran @ stuio7designs.com  Please email me if you use this, as I would love to see how it is being used, also you can join my linkshare to help you with your google ranking */

body {
	font-family: "trebuchet ms", verdana, arial, tahoma;
	font-size: 90%;
	color: #888;
	background-color: white;
	line-height: 180%;
	margin: 0 auto; 
	padding: 0;
	width:1024px;
}

/* Set the page width */
#wrapper-menu-top, #header, #wrapper-content, #wrapper-footer{
	width: 85%;
	margin: 0 auto;
	text-align: left;
}

#wrapper-menu-top {
	background: white url('../images/bg02-white-left.png') no-repeat left top;
}

#menu-top {
	background: transparent url('../images/bg02-white-right.png') no-repeat right top;
	overflow: hidden; /* no idea why this works, but it fixes a FF problem */
}

#menu-top ul {
	margin: 0 20px;
	padding: 1em 0 0 0;
	list-style: none;
	font-size: 85%;
	float: right;
}

#menu-top li {
	display: inline;
	float: right;
}

#menu-top a {
	float: left;
	background:url('../images/menuleft.png') no-repeat left top;
	margin:0;
	padding:0 0 0 4px;
	text-decoration:none;
	line-height: 1.5em;
}

#menu-top a span {
	background: transparent url('../images/menuright.png') no-repeat right top;
	padding:5px 15px 4px 6px;
	color:#5b8fbe;
	display: block;
	float: left;
	cursor: pointer; /* IE doesnt display the hand when you roll over the link for some reason. This fixes it */
}

 #menu-top a:hover { background-position:0% -42px; }
 #menu-top a:hover span {	background-position:100% -42px; }

#wrapper-header {
	background: transparent url('../images/bg.png') top center repeat-x;
}

#header {
	background: #eee center top;
}

#wrapper-header2 {
	background: transparent url('../images/bg02-blue-left.png') top left no-repeat;
}

#wrapper-header3 {
	background: transparent url('../images/bg02-blue-right.png') top right no-repeat;
}

#header h1 {
	margin: 0 20px;
	padding: 0;
	height: 192px;
	line-height: 3em;
	color: #ccc;
	font-size: 130%;
}

.nav2 {float:left; margin: 0px 13px; width:843px; border:hidden; height:60px; background: transparent url('../images/bg_head_bottom_nav.jpg') repeat-x; font-size:1.0em; font-size:90%;} /*Color navigation bar normal mode*/
.nav2 ul {margin: 0 33px; list-style-type:none;}
.nav2 ul li {float:left; position:relative; z-index:1000;}
.nav2 ul li ul {display:none; border:none;}
.nav2 ul li ul {margin-left:-30px; padding:0 30px 30px 30px; background:transparent top center;} /*Sticky hover zones*/
.nav2 ul li a {float:left; display:block; height:3.1em; line-height:3.1em; padding:0 16px 0 16px; text-decoration:none; font-weight:bold; color: rgb(100,100,100);}
.nav2 ul li:hover {width:auto;}
.nav2 table {position:absolute; z-index:999; top:0; left:0; border-collapse:collapse;}

/*Non-IE6*/
.nav2 ul li:hover a {background-color:rgb(210,210,210); text-decoration:none;} /*Color main cells hovering mode*/
.nav2 ul li:hover ul {display:block; position:absolute; z-index:998; top:3.0em; margin-top:0.1em; left:0;}
.nav2 ul li:hover ul li ul {display: none;}
.nav2 ul li:hover ul li a {display:block; width:10em; height:auto; line-height:1.3em; margin-left:-1px; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50);} /*Color subcells normal mode*/
.nav2 ul li:hover ul li a:hover {background-color:rgb(210,210,210); text-decoration:none;}

#wrapper-content {
	background: white url('../images/bg02-white-left-right.png') no-repeat left top;
}

* html #wrapper-content {height: 1%;}

#content {
	background: transparent url('../images/fundo2.png') no-repeat center bottom;
	padding: 5px 35px 5px 40px;  
}

#content p {
	text-align:justify
}

#content h2 {
	font-size: 125%;
	text-transform: uppercase;
	text-align:center;
    font-family:Georgia, ‘Times New Roman’, Times, serif
}

#content h4 {
	text-align:right;
}

#content table{ 
	margin-left: auto;
	margin-right: auto;
	border-spacing: 0;
	border-width: 0 0 1px 1px;
	border-collapse : collapse; 
}

#content table td, table tr {
	padding : 0; 
}
 
.figure {
  float: center;
  width: 100%;
  border: thin silver solid;
  margin-left: auto;
  margin-right: auto;
}
.figure h5 {
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
}

#wrapper-menu-page {
	float: right;
	width:180px;
	margin: 20px 30px 3em 2em;
	background: transparent url('../images/menu.png') no-repeat;
	text-align: center;
	line-height: 140%;
	font-family:"Lucida Grande","Lucida Sans Unicode",arial,sans-serif;
}

* html #wrapper-menu-page { margin-right: 15px; }

#menu-page { padding-top: 5px; }

#menu-page ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 90%;
}

#menu-page h3 {
	font-size: 75%;
	text-transform: uppercase;
	margin: 1em 0 0.3em 0;
	color: #5b8fbe;
	font-weight: normal;
	letter-spacing: 0.15em;
}

#menu-page a:link, #menu-page a:visited { color: #888; }
#menu-page a:hover { color: #5b8fbe; }

#wrapper-footer {
	margin-top: 1em;
	text-align: center;
}

#footer {
	margin: 0 20px;
	background-color: #e5f0fc;
	border: 1px solid #ccc;
	border-bottom: 0;
	clear: both;
}

h2 { font-size: 110%; }
h3 { font-size: 100%; }

a:link, a:visited { color: #5b8fbe; text-decoration: none; }
a:hover{ color: #666; text-decoration: none; }

