/*
Template name: LightNEasy 2010
Release date: 20010-05-20
Description: LightNEasy.org website template.
Author: Fernando Baptista
Author URI: http://www.fernbap.com
Tested under FF 2 and 3 (Windows and Linux), Safari (windows), Opera (windows and Linux), IE 7, IE 6
Made with:
Quanta +
Inkscape
Gimp
<<< No tables were harmed while manufacturing this design >>>
Note: most background-color: transparent; statements are useless,
they are here just to prevent the CSS validator from issuing a warning
*/

/* some global styles */
* {
	margin: 0;
	padding: 0;
}

a {
	color: #803000;
	text-decoration: none;
	outline: none;
	cursor: pointer;
}

a:hover {
	color: #400000;
}

caption {
	font-size: 1.1em;
	font-weight: bold;
	color: #fff;
}

p, ul, ol, dl {
	padding-bottom: 0.4em;
}

li {
	margin-left: 18px;
}

blockquote {
	text-align: justify;
	margin: 8px 20px 12px 30px;
	padding: 8px;
	background: #d9edff;
	border-top: 1px solid #80e0ff;
	border-left: 1px solid #80e0ff;
	border-bottom: 1px solid #60c0ff;
	border-right: 1px solid #60c0ff;
}

cite {
	font-size: .9em;
	float: right;
}

h1 {
	font-size: 1.6em;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.2em;
}

h5 {
	font-size: 1.1em;
}

h6 {
	font-size: 1em;
}

h1,h2,h3 {
	color: #000060;
	margin-top: 8px;
	margin-bottom: 10px;
	background-color: transparent;
}

h4, h5, h6 {
	margin-left: 12px;
	margin-top: 6px;
	margin-bottom: 8px;
	font-weight: bold;
}

h6 {
	text-decoration: underline;
}

table {
	margin: 20px auto;
	border-collapse: collapse;
	background: #d9edff;
	border-top: 1px solid #80e0ff;
	border-left: 1px solid #80e0ff;
	border-bottom: 1px solid #60c0ff;
	border-right: 1px solid #60c0ff;
}

th {
	color: #ffffff;
	background: #1080b0;
	height: 25px; 
	padding: 0 10px;
	text-align: left;
}

td {
	padding: 0 10px; 
	height: 25px;
}

tr:hover {
/* Yea, i know, IE 6 won't see this. Not my problem, i don't use it. */
	background: #d0dfff;
}

fieldset {
	border: none;
	padding-bottom: 8px;
}

textarea, input {
	color: #000060;
	background: #ffffff;
	overflow: auto;
	border-top: 1px solid #909090;
	border-left: 1px solid #909090;
	border-bottom: 1px solid #606060;
	border-right: 1px solid #606060;
}

/* next some general purpose global classes that are not used in this example */
tr.odd {
	background: #303030;
}

tr.even {
	background: #404040;
}

.center {
	text-align: center;
}

.justify {
	text-align: justify;
}

code, pre {
	background: #606060;
	border-top: 2px solid #505050;
	border-left: 2px solid #505050;
	border-bottom: 2px solid #707070;
	border-right: 2px solid #707070;
	display: block;
	font: normal 1.1em "Lucida Sans Unicode",serif;
	margin-bottom: 12px;
	padding: 8px 10px;
	white-space: pre;
}

#content img {
	padding: 4px;
	border-top: 2px solid #909090;
	border-left: 2px solid #909090;
	border-bottom: 3px solid #606060;
	border-right: 3px solid #606060;
	background: #707070;
}

img.left {
	margin: 4px 6px 4px 0;
	float: left;
}

img.right {
	margin: 4px 0 4px 6px;
	float: right;
}

label em {
	font-weight: bold;
	font-style: normal;
	text-decoration: underline;
	background-color: transparent;
}
/* end of global styles */

body {
	color: #000040;
	font: 14px/1.3em "Lucida Sans Unicode", verdana, geneva, sans-serif;
	background: #e0e0e0;
}

#top {
	background: transparent url(images/topbg.png) repeat-x;
	height: 139px;
	margin: 0;
	padding: 0;
}

#topwrap {
	width: 950px;
	position: relative;
	left: 50%;
	margin-left: -475px;
}

.topleft {
	position: absolute;
	top: 10px;
	left: 46px;
}

#toplinks {
	color: #ffffff;
	float: right;
	margin: 12px 20px 0 0;
	height: 48px;
}

#toplinks a {
	color: #6060ff;
}

#toplinks a:hover {
	color: #400000;
}

#topwrap .title {
	position: absolute;
	left: 230px;
	top: 20px;
	height: 28px;
}

.title a {
	color: #FFFFFF;
}

#topwrap .subtitle {
	position: absolute;
	left: 230px;
	top: 50px;
	color: #e0e0e0;
}

#mainmenu {
	position: relative;
	float: right;
	top: 52px;
}

#mainmenu ul {
	float: left;
}

#mainmenu ul li {
	float: left;
	list-style: none;
	display: inline;
	margin: 0;
	padding: 0;
}

#mainmenu ul li a {
	font-size: 1.1em;
	float: left;
	padding: 0 0 0 12px;
	color: #606060;
	text-decoration: none;
	background: url(images/menubl.png) top left no-repeat;
	height: 28px;
}

#mainmenu ul li a.selected, #mainmenu ul li a:hover {
	background: url(images/menul.png) top left no-repeat;
}

#mainmenu ul li a.selected {
	color: #000;
}

#mainmenu ul li a span {
	float: left;
	padding: 7px 15px 0px 0;
	background: url(images/menubr.png) top right no-repeat;
}

#mainmenu ul li a.selected span, #mainmenu ul li a:hover span {
	background: url(images/menur.png) top right no-repeat;
	padding: 9px 15px 0px 0;
}

/* content wrapper, centered, 1000 px width */
#wrapper {
	width: 1000px;
/* this is to make it work under the moronic old IEs */
/* under non-moronic browsers, the correct code is simply margin: 0 auto; */
	position: relative;
	left: 50%;
/*end of moronic code */
	background: url(images/wrapperbg.png) top center repeat-y;
	margin: 0px 0 0 -500px;
	padding: 0;
}

#wrapper p:first-letter {
	text-transform: capitalize;
	font-weight: bold;
	letter-spacing: .1em;
}

#leftcolumn {
	width: 220px;
	clear: left;
	float: left;
	margin: 0px 14px 14px 24px;
	padding: 10px 8px 0 14px;
}

#rightcolumn {
	width: 220px;
	float: right;
	margin: 0px 24px 14px 0;
	padding: 0px 8px 0 14px;
}

#rightcolumn img, #leftcolumn img {
	padding: 0;
	margin: 0;
}

#centercolumn {
	width: 440px;
	float: left;
	margin: 0;
	padding: 0 0 6px;
}

.clear {
	clear: both;
}

#bottom {
	clear: both;
	height: 64px;
	background: url(images/fundo.png) top repeat-x;
	margin: 0;
	padding: 0;
}

#bottom a {
	color: #b0b080;
}

#bottom a:hover {
	color: #ffffff;
}

#bottomwrap {
	width: 950px;
	position: relative;
	left: 50%;
	margin-left: -475px;
	color: #b0c0d0;
	text-align: center;
	padding: 0;
}

#bottomwrap p {
	padding-top: 20px;
}


/*main menu */
#menu {
	width: 100%;
}

#menu h2 {
	display: none;
}

#menu p {
	width: 220px;
	padding: 16px 20px 0;
	float: right;
	font-size: 13px;
	font-style: italic;
	font-weight: bold;
	text-align: justify;
	background: url(images/topright.png) top left no-repeat;
}

#menu ul li a:hover {
	background-position: bottom left;
}

#menu ul li a:hover span {
	color: #ffffd0;
	background-position: bottom right;
}
/*
	Don't ask me. Please don't ask me!
	But floating everything left is the ONLY way i found to align things
	under IE.
	Why? I said don't ask me! I tend to think logically, you know?
*/

#menu ul li.current a, #menu ul li.current a:hover {
	background: url(images/menu3.png) top left no-repeat;
}

#menu ul li.current a span, #menu ul li.current a:hover span {
	background: url(images/menucr.png) top right no-repeat;
}


#centercolumn form {
	margin: 20px auto 10px;
	background: #d9edff;
	border-top: 1px solid #80e0ff;
	border-left: 1px solid #80e0ff;
	border-bottom: 1px solid #60c0ff;
	border-right: 1px solid #60c0ff;
}

fieldset h3 {
	font-size: 16px;
	margin-top: 0;
	margin-bottom: 8px;
	color: #ffffff;
	background: #1080b0;
	text-align: center;
	padding-top: 4px;
	padding-bottom: 4px;
}

#centercolumn input {
	width: 180px;
	padding: 2px;
	margin: 2px 10px 2px 0;
}

#centercolumn input.button {
	border-top: 1px solid #909090;
	border-left: 1px solid #909090;
	border-bottom: 1px solid #606060;
	border-right: 1px solid #606060;
	width: 186px;
	padding-bottom: 0;
	cursor: pointer;
}

fieldset label {
	width: 140px;
	text-align: right;
}

#content ul, #content dl {
	margin-left: 16px;
}

#content ol {
	padding-left: 14px;
}

#content ol li {
	padding-left: 10px;
}

#content ul li {
	list-style: url(images/li.png);
}

#content dt {
	text-transform: uppercase;
	margin-top: 4px;
	color: #ffff00;
	background-color: transparent;
}

#content dd {
/*	now for some more moronic code. Instead of
	display: list-item;
	list-style: url(images/li.png);
	which is perfectly correct, moronic browsers need moronic code...
*/
	padding: 6px 6px 6px 20px;
	background: url(images/li.png) 4px no-repeat;
}

#content dd:first-letter, #content li:first-letter {
	text-transform: uppercase;
}

#content dd:hover {
/*	Of course, IE 6 will not show this, but wth... */
	background-color: #707070;
}

hr {
/*
<hr />'s margin on IE is persistent, ruthless, stainless, shameless.
People around have tried everything: margin: 0, padding: 0, line-height: 0, font-size: 0, even overflow: hidden.
Going margin zero works with standard-compliant browsers, but nothing beats those gaps on IE.
*/
	display: block;
/*
This is the last attribute you would think about to eliminate margins.
I can't explain why it works. It's counter-intuitive. It's redundant. It's idiot.
And nevertheless (or perhaps just because of this) it makes IE wake up and cease
displaying a 7 pixel top and bottom margin regardless of what you do.
*/
	margin: 14px auto 14px;
/*
This centers hr on compliant browsers, but guess what? it has no effect on IE.
Because IE treats <hr /> as content so the attribute to set is text-align. Yea, right
*/
	text-align: center;
	padding: 0;
	width: 80%;
	border: none;
/*
Finally, many thanks to those excellent professionals at Redmond for not allowing me
to style hr as i wanted, using a background image without displaying a hideous "border"
which is no border at all.... go figure...

	Compliant code:
	height: 23px;
	background: #666666 url(images/hr.png) top center no-repeat;

but no, there is no way to make it work under IE.
*/
	background: #ffff00;
	color: #ffff00;
	height: 3px;
}

