/**
 * Ghiaweb
 *
 * @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
 * @license http://www.gnu.org/licenses/
 * @version alpha1
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
 
/**
 * CSS Reset inspired by Eric Meyer's CSS Reset Reloaded
 * 
 * @see http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
 *
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li, menu, 
form, label,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	white-space: normal;
}
legend {
	margin: 0;
	padding: 0;
}
:focus {
	outline: 0.09em dotted #AAA;
}
body:focus, fieldset:focus {
	outline: 0;
}
html, body {
	width: 100%;
	height: 100%;
}
html {
	overflow: auto;
	}
body {
	line-height: 1;
	color: black;
	background: white;
	font-family: Verdana, sans-serif;
	font-size: 0.70em;
	margin: 0 auto;
	width: 68em;
	position: relative;
}
ol, ul, menu {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* Basic HTML */

strong { font-weight: bold; }

em { font-style: italic; }

abbr { border-bottom: 0.09em dotted #AAA;}

/* Header */

header h1, .header h1 {
	font: bold 2.9em Georgia, serif;
	padding-top: 0.1em;
	line-height: 0.98;
	width: 30%;
	float: left;
}

header h2, .header h2 {
	font: small-caps 1.8em Georgia, serif;
	text-align: right;
	padding-top: 0.8em;
	line-height: 0.8;
	width: 70%;
	float: right;
}

header, .header {
	display: block;
	padding-top: 1.4em;
}

/* Menu */

body > menu, body > .menu {
	position: absolute;
	top: 0.2em;
	right: 0.2em;
}

body > menu li, body > .menu li {
	display: inline;
}

body > menu li:before, body > .menu li:before {
	content: " | ";
}

body > menu li:first-child:before, body > .menu li:first-child:before {
	content: "";
}

/* Nav */

nav, .nav {
	display:block; 
	clear: both; 
	overflow: auto;
	font: 1em Verdana;
	padding-top: 0.9em;
	margin-bottom: 0.8em;
}
nav li, .nav li {
	display: block; 
	float: left;
	background: white;
	padding: 0.1em 0.2em;
	border: 0.09em solid #AAA;
	margin: 0 0.1em;
}
nav li a, .nav li a {
	width: auto; 
	display: block;
	text-decoration: none;
}
nav li li a, nav li li, .nav li li a, .nav li li {
	float: none; 
	display: block; 
	clear: left;
	border-bottom: 0;
	margin: 0;
}
nav li ul, .nav li ul {
	position: absolute; 
	z-index: 1000; 
	display: none;
	border-bottom: 0.09em solid #AAA;
}
nav li:hover ul, .nav li:hover ul {
	display: block;
}
nav li ul ul, .nav li ul ul {
	position: static;
}
nav li:hover ul li, .nav li:hover ul li {
	position: relative;
}
nav li input, .nav li input {
	border: none; 
	background: none;
}

/* Forms */

form, fieldset, label {
	vertical-align: middle;
}			

fieldset {
	padding: 1em;
	border: 0.09em solid #AAA;
	margin: 1.5em 0;
}

label input, label select, label textarea {
	display: block;
	margin-top: 0.16em;
}

label input[type="checkbox"], label input[type="radio"] {
	display: inline;
	vertical-align: middle;
}

label, fieldset fieldset {
	display: inline-block;
	margin: 0.3em 0.9em;
	text-align: left;
}

fieldset fieldset {
	display: inline;
	padding: 0.3em;
	margin: 0em;
}

label + button {
	vertical-align: bottom;
	margin: 0.5em -0.9em;
}
legend {
	font: italic 1.5em Georgia;
	margin-left: 0.5em;
}

fieldset fieldset legend {
	font: normal 1em Verdana;
}

fieldset menu button img, fieldset .menu button img {
	vertical-align: middle;
	padding-right: 0.5em;
}

fieldset menu, fieldset .menu {
	padding: 0.3em 0;
	margin: 0.25em 0;
	display: block;
	text-align: center;
}

fieldset + fieldset, fieldset + menu, fieldset + .menu {
	margin-top: 1em;
}

fieldset menu li, fieldset .menu li {
	display: inline;
}

form *::-moz-selection {
	background: transparent;
}

form *::selection {
	background: transparent;
}
