/***************************  Overall things  ***************************/

body {
	background: url(/img/bg.png);
	font-family: tahoma, verdana, sans-serif;
	margin: 0.66em;
	color: #333;
}
h1, h2, h3, h4 {
	font-family: verdana, tahoma, sans-serif;
}

a:link, a:visited, a:active {
	color: #558;
}
a:hover {
	color: #aad;
}
h1 a, h2 a, h3 a, .title a {
	text-decoration: none;
}

q {
	font-style: italic;
}

input[type="text"].wide, input[type="password"].wide, textarea.wide {
	width: 98%;
}
select.wide {
	width: 98.7%;
}

input, select, textarea {
	font-family: verdana,arial,sans-serif;
	margin-bottom: 1px;
}
textarea {
	font-size: 0.9em;
}
input[type="radio"] {
	position: relative;
	top: 2px;
}

.indent {
	padding-left: 1.5em;
}

.form {
	margin: 0px;
	padding: 0px;
}

img {
	border: 0px;
}

.archiveLink {
	font-size: 0.9em;
	text-align: right;
	font-style: italic;
}

ol, pre, ul {
	margin: 0.5em 0;
}
ul {
	list-style: square;
}
ul ul, ol ol, ul ol, ol ul {
	margin: 0;
}

.center {
	text-align: center;
}

p {
	margin: 0px;
}

pre.rawoutput {
	white-space: -moz-pre-wrap;
	word-wrap: break-word;
	font-size: 0.9em;
}

@media print {
	#header, #footer, #right, .topleftimg {
		display: none;
	}
	#main {
		margin: 0;
		border: 0;
	}
}

blockquote {
	background: url(/img/quote.png) top left no-repeat;
	margin: 0.5em 0 1em;
	padding: 0.5em 0 0 50px;
}

.strong {
	font-weight: bold;
}

#google_refer_frame {
	position: absolute;
	top: 1px;
	right: 20px;
}

/*****************************  Main things  *****************************/

#main {
	border: 1px solid #979797;
	border-bottom: none;
	background-color: white;

	margin-top: 8px;
	margin-right: 200px;
	_margin-right: 201px; /* ARGH IE */
	padding: 0.5em;

	position: relative;
	min-height: 24em;

	z-index: 2;
}
* html #main {
	height: 24em;
}
#main .topleftimg {
	position: absolute;
	top: -1px;
	left: -1px;
}

#main.search {
	min-width: 800px;
}

#main p {
	margin: 0.5em 0;
}
#main h3 + p {
	margin-top: 0px;
}

.entry {
	padding-bottom: 4px;
	text-align: justify;
}

#main h2 {
	font-size: 1.5em;
	line-height: 0.9em;
	margin: 7px 0px 3px 0px;
	padding: 0;
	color: #444;
}
#main h3 {
	font-size: 1.1em;
	color: #444;
	margin: 1px 0px 3px 0px;
	padding: 0;
}
#main h4 {
	font-size: 1em;
	color: #444;
	margin: 1px 0px 3px 0px;
	padding: 0;
}


/****************************  Header things  ****************************/

#header {
	background: url(/img/top-middle.png) repeat-x;
	margin: 0 210px 5px 10px;
	padding: 0.1em;
	height: 42px;
	text-align: center;
	color: white;
	position: relative;
	font-size: 0.85em;
}
#header .leftimg {
	position: absolute;
	left: -10px;
	top: 0;
	width: 15px;
	height: 42px;
	background-image: url(/img/top-left.png);
}
#header .rightimg {
	position: absolute;
	right: -10px;
	top: 0;
	width: 15px;
	height: 42px;
	background-image: url(/img/top-right.png);
}
#header a:link, #header a:visited, #header a:hover, #header a:active {
	color: white;
	text-decoration: none;
}
#header a:hover {
	color: #FF4;
}
#header h1 {
	font-size: 1.4em;
	margin: 0;
	letter-spacing: 0.15em;
}

#header .quote {
	font-size: 0.9em;
	height: 1.2em;
	overflow: hidden;
}

/***************************  Footer things  ****************************/

#footer {
	background: url(/img/footer-middle.png) repeat-x;
	margin: 0px 225px 0 25px;
	padding: 0.75em;
	height: 35px;
	text-align: center;
	color: black;
	position: relative;
	font-size: 0.75em;
	font-style: italic;
}
#footer .leftimg {
	position: absolute;
	left: -25px;
	top: 0;
	height: 35px;
	width: 32px;
	background-image: url(/img/footer-left.png);
}
#footer .rightimg {
	position: absolute;
	top: 0;
	right: -25px;
	height: 35px;
	width: 32px;
	background-image: url(/img/footer-right.png);
}

/***************************  Comment things  ***************************/

.comment {
	margin: 4px 12px;
	padding: 4px 4px;
	font-size: 0.95em;
	color: #222;
}
.comment .subject {
	font-weight: bold;
	border-bottom: 1px solid #222;
}
.comment .subject a {
	text-decoration: none;
}

p.commentLinks {
	margin-top: 0px;
}

.mycomment {
	border: 1px solid #527DFF;
	background: #E5ECFF url(/img/star-badge.png) 6px 4px no-repeat ;
}
.mycomment .subject {
	text-indent: 20px;
}

/*************************  Right column things  ************************/

#right {
	position: absolute;
	width: 200px;
	top: -1px;
	right: -201px;
	overflow: hidden; /* because IE does not know how to wrap lines */

	z-index: 1;
}
* html #right {
	right: -202px;
}

#right .title {
	background: url(/img/right-top.png) no-repeat;
	height: 22px;
	overflow: hidden;
	padding-top: 0.225em;
	padding-left: 1.66em;
	font-weight: bold;
	color: white;
}
#right .content {
	background: white url(/img/right-middle.png);
	padding: 0.5em;
	font-size: 0.9em;
}
#right .footer {
	background: url(/img/right-bottom.png) no-repeat;
	position: relative;
	top: -6px;
}

#right .search {
	text-align: center;
}
#right .search form {
	margin: 0;
}
#right .search input {
	width: 95%;
	margin-bottom: 2px;
}

#right ol {
	margin: 0;
	padding-left: 1.5em;
}

#right .title a:link, #right .title a:visited, #right .title a:active {
	color: white;
	text-decoration: none;
}
#right .title a:hover {
	color: #CCC;
}

#right ul {
	margin: 0;
	padding: 0;
	margin-left: 1.5em;
}

/*****************************  FAQ things  *****************************/

.faqQ {
	font-weight:bold;
}
.faqQ:first-letter {
	font-size: 1.3em;
}
.faqA p:first-child {
	margin-top: 0px;
}

.faqA + .faqQ {
	padding-top: 1.5em;
}

/****************************  Media things  ****************************/

@media print {
	.rightcolumn { display: none; }
	.main { width: 95%; }
}

/****************************    Tooltips    ****************************/

a.tooltip {
	position: relative;
	z-index: 10;
}
a.tooltip:hover {
	z-index: 20;
	padding: 0; /* hack to make it work in IE */
}
a.tooltip span.tooltip {
	display: none;
}
a.tooltip:hover span.tooltip {
	display: block;
	position: absolute;
	top: 1.5em;
	left: -6em;
	width: 15em;
	border: 1px solid #666;
	background-color: #EE7;
	padding: 0.5em;
	color: black;
	text-decoration: none;
}

/****************************  Other things  ****************************/

pre.code {
	margin: 1em 2em;
	padding: 0.25em;
	border: 1px inset;
	overflow: auto;
	background-color: #EFEFEF;
	color: #000000;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
}

.answer {
	color: black;
	background-color: black;
}

ul.extensions {
	list-style: none;
}
ul.extensions li {
	position: relative;
	margin-bottom: 0.66em;
	margin-left: 0 !important;
	margin-left: 2em;
}

a.xpiInstall {
	display: block;
	overflow: hidden;
	width: 24px;
	height: 0px;
	padding-top: 24px;
	margin-right: 0.5em;
	vertical-align: middle;
	background: url(/img/install.png) no-repeat;
	position: absolute;
	top: -2px;
	left: -30px;
}

.clearbreaks br { clear: both; }

.column50 {
	float: left;
	width: 49.9%;
}

.example {
	margin: 1em;
	padding: 0;
	border: 2px solid orange;
}

dl.twocolwideterm {
	margin: 0;
	padding: 0;
}
dl.twocolwideterm dt {
	display: block;
	float: left;
	width: 80%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
dl.twocolwideterm dd {
	display: block;
	float: left;
	clear: right;
	width: 15%;
	margin: 0;
	padding: 0;
	padding-left: 1.5%;
}

div#bookmark-this {
	text-align: center;
}

table.sortable th a {
	text-decoration: none;
}

/***************************** Print things *****************************/

@media print {
	#header, #footer, #right, .topleftimg {
		display: none;
	}
	#main {
		margin: 0;
		border: 0;
	}
	body {
		background-image: none;
	}
}

/***************************  Miniblog Things  **************************/

table.miniblog {
	max-width: 50em;
	border-collapse: collapse;
}
table.miniblog tr {
	background: repeat-x url(http://static.arantius.com/img/miniblog-gradient.png);
}
table.miniblog td {
	padding: 0.25em;
}

/********************************  Ads!  ********************************/

.googlead {
	text-align: center;
}

