
/* ------------------------------------------------------------------------------------------
	Body. Font-size hack to accomodate IE5.
	Validating as css2, but fake. Debatable tags in debatable.css, and some IE specific 
	stuff (scrollbar and fixes) in ie.css...
------------------------------------------------------------------------------------------ */

body	{
	background: #344;
	color: #122;
	font-family: verdana, arial, sans-serif;
	font-size: x-small;
	margin: 0px 0px 20px 0px;
	padding: 0px;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: small;
	}

html>body {
	font-size: small;
	}

#container {
	margin: 0px;
	border-bottom: 1px solid #344;
	padding: 0px;
	background: #AA8;
	line-height: 130%;
	}
	
/* ------------------------------------------------------------------------------------------
	Custom tooltips, idea by SantaKrauss:
	http://www.madaboutstyle.com/tooltip2.html
	Adapted a little to work with <dfn> tags, so tooltip not only showing up on links.
	Combined with :hover fix, working great cross browser(s).
	Using -moz-opacity to create some transparancy (defined in debatable.css):
	http://www.blooberry.com/indexdot/css/properties/extensions/nsextensions.htm 
	And to do the same for IE, a custom filter line (ie.css)
------------------------------------------------------------------------------------------ */

.info {
	position: relative;
	z-index: 0;
	}
	
a.info:hover, dt.info:hover, span.info:hover, label.info:hover, th.info:hover {
	z-index: 1;
	}

dfn {
	display: none;
	position: absolute;
	top: 1.3em;
	left: 1.0em;
	width: 20em;
	border: 1px solid #344;
	border-right: 6px solid #344;
	border-bottom: 2px solid #344;
	padding: 5px;
	background: #EEC;
	color: #344;
	text-indent: 10px;
	font-family: verdana, arial, sans-serif;
	font-size: 90%;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 130%; 
	}

.point_left {
	left: auto;
	right: 1.0em;
	}
	
dfn:first-letter {
	font-family: "trebuchet ms", trebuchet, verdana, sans-serif;
	font-size: 150%;
	line-height: 90%;
	}
	
.info:hover dfn {
	display: block;
	}

/* ------------------------------------------------------------------------------------------
	General layout of elements on page.
------------------------------------------------------------------------------------------ */	

h2	{
	margin: 40px 10px 20px 10px;
	font-family: "trebuchet ms", trebuchet, verdana, sans-serif;
	font-size: 150%;
	font-weight: normal;
	}
	
p	{
	margin: 20px 10px;
	text-indent: 20px;
	}
	
#content p:first-letter {
	font-family: "trebuchet ms", trebuchet, verdana, sans-serif;
	font-size: 150%;
	}

ul {
	margin: 10px 45px;
	padding: 0px;
	list-style-type: square;
	}

li {
	margin: 5px 0px;
	padding-left: 0px;
	}
		
dl	{
	margin: 20px 10px;
	}

/* ------------------------------------------------------------------------------------------
	General text styling.
------------------------------------------------------------------------------------------ */

em {
	font-style: normal;
	border-bottom: 1px solid #BB9;
	}

strong {
	font-weight: normal;
	color: #011;
	}

abbr, acronym, span.abbr {
	border-bottom: 1px solid #886;
	}

code, pre {
	display: block;
	margin: 10px 30px;
	border: 1px solid #886;
	padding: 8px;
	background: #CCA;
	font-family: verdana, arial, sans-serif;
	font-size: x-small;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: small;
	}

html>body code, pre {
	font-size: small;
	}

/* ------------------------------------------------------------------------------------------
	Header. Giving <h1> a z-index: 1 to place it above regular page content, then shift
	subtitle underneath it with an absolute position.
------------------------------------------------------------------------------------------ */

#header {
	margin: 0px;
	padding: 0px 20px;
	text-align: right;
	background: #344;
	color: #CCA;
	}

h1 {
	position: relative;
	z-index: 1;
	margin: 0px;
	font-family: "trebuchet ms", trebuchet, verdana, sans-serif;
	font-style: italic;
	font-size: 360%;
	font-weight: normal;
	}
	
#subtitle {
	position: absolute;
	z-index: 0;
	top: 38px;
	right: 26px;
	font-family: "trebuchet ms", trebuchet, verdana, sans-serif;
	font-style: italic;
	font-size: 240%;
	letter-spacing: -1px;
	color: #455;
	}

/* ------------------------------------------------------------------------------------------
	Top and bottom navigation lists. Based on, but heavily modified, Unraveled list:
	http://unraveled.com/projects/css_tabs/
------------------------------------------------------------------------------------------ */	

ul#nav_list, ul#bott_list {
	margin: 0px;
	font-family: "trebuchet ms", trebuchet, verdana, sans-serif;
	font-size: 150%;
	list-style-type: none;
	padding: 0px 3% 20px 3%;
	border-bottom: 1px solid #EEC;
	background: #344;
	}
	
ul#bott_list {
	border-bottom: 1px solid #122;
	background: #AA8;
	}

ul#nav_list li {
	float: left;
	height: 30px;
	background: #886;
	margin: 0px 2px;
	padding: 0px;
	border: 1px solid #AA8;
	}

ul#bott_list li {
	float: right;
	height: 30px;
	background: #886;
	margin: 4px 2px 0px 2px;
	border: 1px solid #AA8;
	padding: 0px;
	}

ul#nav_list li#active {
	padding: 4px;
	background: #AA8;
	}
	
ul#bott_list li#active {
	height: 32px;
	padding: 8px 4px 0px 4px;
	background: #AA8;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 22px;
	}

html>body ul#bott_list li#active {
	height: 22px;
	}

#nav_list a, #bott_list a {
	display: block;
	color: #122;
	text-decoration: none;
	padding: 4px;
	}
	
#bott_list a {
	margin-top: 5px;
	margin-bottom: 0px;
	}

#nav_list a:hover, #nav_list a:focus, #bott_list a:hover, #bott_list a:focus {
	color: #122;
	background: #AA8;
	}
	
/* ------------------------------------------------------------------------------------------
	Content part, clearing float of nav_list. Just enlarging line-height here and setting
	look of regular links.
------------------------------------------------------------------------------------------ */	
	
#content {
	clear: both;
	padding: 0px 3em;
	line-height: 150%;
	}

#content a {
	width: auto;
	margin-right: 2px;
	border-right: 5px solid #997;
	border-bottom: 1px solid #997;
	padding: 0px 4px 2px 4px;
	text-decoration: none;
	background: transparent;
	color: #112;
	white-space: nowrap;
	}
	
#content a:hover, #content a:focus {
	border-color: #344;
	}

/* ------------------------------------------------------------------------------------------
	Listing of tags is central on tagnuts.org, here's general display of a table, as that
	is what is is. Using :hover fix for IE to have table rows hovering:
	http://www.xs4all.nl/~peterned/csshover.html 
------------------------------------------------------------------------------------------ */	
	
table	{
	border-collapse: collapse;
	font-size: 100%; /* for IE5 */
	margin: 20px 10px 20px 30px;
	padding: 0px;
	background: #BB9;
	text-align: left;
	}
	
.table_fld  {
	position: relative;
	display: block;
	margin: 50px 0px 0px 0px;
	width: 95%;
	border: 1px solid #EEC;
	padding: 0px 10px 10px 10px;
	background: #CCA;
	text-align: left;
	}
	
.table_big {
	width: 93.5%;
	}
	
#content td a {
	display: block;
	width: 92%;
	height: 100%;
	border: 0px;
	padding: 0px;
	text-decoration: none;
	}
	
#content td a:hover, #content td a:focus {
	color: #455;
	}

th	{
	border-right: 1px solid #CCA;
	padding: 2px 4px;
	font-weight: normal;
	background: #AA8;
	text-align: left;
	}

.tag_check {
	width: 16px;
	}

.char_desc {
	width: 70%;
	}

.char_dec_check, .char_name_check {
	width: 2em;
	text-align: center;
	}

	
col:hover {
	background-color: #CCA;
	}

tr:hover {
	background-color: #CCA;
	}
	
td	{
	border-top: 1px solid #997;
	border-right: 1px solid #CCA;
	padding: 2px 4px;
	}
	
td:hover {
	background: #AA8;
	}

/* ------------------------------------------------------------------------------------------
	Next to central, pages for specific tags. Fake fieldsets (and real ones), thanks
	Simon Willison for the idea:
	http://development.incutio.com/simon/fieldset-experiment.html
	Those real fieldsets/legends were a bitch to do in IE btw (not its fault, just Moz
	and IE render things differently; I'll dedicate a 'hint' to it.
------------------------------------------------------------------------------------------ */
	
form, .fieldset {
	margin: 20px 0px 0px 0px;
	display: block;
	width: 43.5%;
	text-align: right;	
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 49%;
	}

html>body form, .fieldset {
	width: 49%;
	}
	
.fieldset {
	margin-top: 50px;
	}
	
#definition, #html_box {
	clear: left;
	float: left;
	}
	
#legenda, #css_box {
	float: right;
	}

.fieldset {
	border: 1px solid #EEC;
	padding: 0px;
	background: #CCA;
	text-align: left;
	}
	
.legend {
	position: relative;
	top: -10px;
	left: 10px;
	border: 1px solid #EEC;
	background: #AA8;
	padding: 3px 5px 2px 5px;
	color: #122;
	font-family: "Trebuchet MS", trebuchet, verdana, sans-serif;
	font-size: 150%;
	}
	
fieldset {
	margin: -1px;
	border: 1px solid #AA8;
	padding: 10px;
	background: #EEC;
	}

legend {
	margin-left: -1px;
	border: 1px solid #EEC;
	background: #AA8;
	padding: 5px;
	color: #122;
	font-family: "Trebuchet MS", trebuchet, verdana, sans-serif;
	font-size: 150%;
	}
	
#legenda dl {
	padding: 0px 20px;
	}
	
#legenda dt {
	clear: both;
	float: left;
	display: block;
	margin: 1px 5px 1px 0px;
	width: 1.4em;
	height: 1.4em;
	border: 1px solid #EEC;
	padding: 0px;
	background: #886;
	color: #EEC;
	font-family: "Trebuchet MS", verdana, sans-serif;
	font-weight: bold;
	text-align: center;
	cursor: help;
	}
	
#legenda dd {
	margin-left: 2.1em;
	padding-top: 0px;
	font-size: 90%;
	line-height: 180%;
	}
	
#tag_list, #val_list {
	margin: 10px 0px;
	list-style-type: none;
	padding: 0px;
	text-align: left;
	line-height: 100%;
	font-size: 90%;
	font-family: arial, sans-serif;
	font-variant: small-caps;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: 112%;
	}

html>body #tag_list, #val_list {
	font-size: 112%;
	}

ul#tag_list li, ul#val_list li {
	display: block;
	width: 100%;
	margin: 0px 0px 1px 0px;
	border: 1px solid #886;
	padding: 1px 0px;
	background: #CCA none;
	}

/* ------------------------------------------------------------------------------------------
	Form specific styling.
------------------------------------------------------------------------------------------ */	

input {
	outline: none;
	cursor: pointer;
	}
	
label {
	position: relative;
	top: -2px;
	outline: none;
	cursor: pointer;
	}
	
.label_hide {
	display: block;
	height: 0px;
	overflow: hidden;
	font-size: 1px;
	color: #EEC;
	}
	
.icon {
	display: block;
	float: right;
	width: 1.2em;
	height: 1.2em;
	text-align: center;
	margin-right: 1px;
	border: 0px;
	padding: 0.11em;
	background: #886;
	color: #EEC;
	font-family: "Trebuchet MS", verdana, sans-serif;
	font-weight: bold;
	font-size: 0.9em;
	cursor: help;
	}

textarea {
	margin: 0px;
	width: 99%;
	overflow: auto;
	overflow-x: hidden;
	border: 1px solid;
	border-color: #886 #FFE #FFE #886;
	padding-left: 1%;
	background: #CCA;
	color: #122;
	font-family: verdana, arial, sans-serif;
	font-size: 100%;
	}
	
#update_html, #update_css, #clip_html, #clip_css {
	width: 30%;
	margin: 2px 10px 10px 0px;
	border: 1px solid #CCA;
	border-bottom: 5px solid #CCA;
	background: #EEC;
	color: #CCA;
	font-family: "Trebuchet MS", trebuchet, verdana, sans-serif;
	font-size: 110%;
	font-weight: bold;
	line-height: 100%;
	}

input#update_html:hover, input#update_css:hover, input#clip_html:hover, input#clip_css:hover, #update_html:focus, #update_css:focus, #clip_html:focus, #clip_css:focus {
	border-color: #886;
	background: #CCA;
	color: #886;
	}

/* ------------------------------------------------------------------------------------------
	Just a div to clear floats when those are used within #content.
------------------------------------------------------------------------------------------ */

#note {
	clear: both;
	}
	
/* ------------------------------------------------------------------------------------------
	Tip pages. Just seperating tip_id and tip text, make text display above tip number
	move text to overlap id a bit.
------------------------------------------------------------------------------------------ */
	
div.tip {
	position: relative;
	margin: 0px;
	padding: 5px 0px;
	}
	
span.tip_id {
	z-index: 0;
	position: relative;
	top: 20px;
	left: 0px;
	color: #BB9;
	font-size: 500%;
	font-weight: bold;
	}
	
div.tip p {
	z-index: 1;
	position: relative;
	top: -20px;
	}

/* ------------------------------------------------------------------------------------------
	Footer with links. Nothing special here.
------------------------------------------------------------------------------------------ */
	
#footer {
	clear: both;
	margin: 40px 20px;
	color: #AA8;
	font-size: 85%;
	}

#footer p {
	margin: 20px 0px;
	text-indent: 0px;
	}
	
#footer a:link, #footer a:visited, #footer a:active {
	padding: 3px;
	color: #AA8;
	text-decoration: none;
	}
	
#footer a:hover, #footer a:focus {
	color: #566;
	}

#footer p#add_keys {
	text-indent: -1000%;
	}

/* -------------------------------------------------------------------------------------- */
