/*
** MediaWiki 'cavendish' style sheet for CSS2-capable browsers.
** Copyright Mozilla Foundation - http://www.mozilla.org/
** License: GPL (http://www.gnu.org/copyleft/gpl.html)
**
** Loosely based on the monobook style by Gabriel Wicke
*/

/* mozilla.org Base Styles
 * maintained by fantasai
 * (classes defined in the Markup Guide - http://mozilla.org/contribute/writing/markup )
 */

/* mozilla.org Base Template Styles
 * Initial Design by Dave Shea
 * Severely tweaked by David Baron
 * Reorganized by fantasai
 * Large Changes for new Cavendish default by Daniel Burka and Steven Garrity
 */


/* Header */

	#header {
		background: #455372 url("images/header_bl.png") bottom left repeat-x;
		position: relative;
		voice-family: "\"}\"";
		voice-family: inherit;
		height: 40px;
		padding: 15px 0;
		margin-bottom: 1em;
	} 	
		
	#header h1 {
		position: relative;
		margin-right: 10px;
		margin-top: 0px; 
		font-size: 20px;
		font-weight:bold;
		z-index: 100; /* above the UL */
		border: 0;
		color:white;
		float:right;
	}	

	#header h2 {
		position: relative;
		margin-left: 8px;
		margin-top: -8px;
		font-size: 10px;
		z-index: 100; /* above the UL */
		border: 0;
		color:white;
	}
	
	#header ul {
		width: auto;
		position: absolute;
		bottom: 0;
		right: 0;
		margin: 0;
		padding-right: 1em;
		list-style: none;
		background: url("images/header_br.gif") no-repeat bottom right;
		z-index: 90; /* below the H1 */
	}

	#mozdevLogo {
		position:absolute;
		top:20px;
		margin-left:10px;
		float:left;
	}
	
	#mozdevLogo  img {
		background: url("images/moztiles.png") no-repeat;
	}

	.credits {
		margin: 1em 0 0 0;
		font-size: 10px;
		color:	#B3B3B3;
	}
	
	.credits p {
		font-size: 12px;
	}
	
	.credits ul {
		text-align:center;
		position: relative;
		list-style: none;
		margin: -10px 0 1em 0;
	}
	
	.credits li {
		margin: 0;
		display: inline;
		white-space: nowrap;
		padding: 0 0 0 0;
	}		
	
	.version {
		font-size:large;
		font-weight:bold;
		color: #CC0033;
	}
	
	a.version {
		font-size:large;
		font-weight:bold;
		color: #CC0033;
	}
	
/* Basic Structure */
    body, td, th, input { /* redundant rules for bad browsers  */
            font-family: verdana, sans-serif;
            font-size: x-small;
            voice-family: "\"}\"";
            voice-family: inherit;
            font-size: small;
    }
	
	body {
		background: url("images/body_back.gif") repeat-x;
		background-color: #FFF;
		margin: 0 20px 20px 20px;
		padding-top: 0; 
		min-width: 610px;
		color: #000;
	}

/*
** the main content area
*/

	#container {
		max-width: 70em;
		margin: 0 auto;
	}
	
	#mainContent {
		background: #fff;
		line-height: 1.3; /* value other than 'normal' needed for WinIE */
		color: #000;
		margin-left: 25%;
	}
	
	#side {
		background: #fff;
		line-height: 1.3; /* value other than 'normal' needed for WinIE */
		color: #000;
		float: left;
		width: 23%;
		margin-bottom: 1em;
	}	
	
	#mainContent.right {
		float: left;
		width: 62%;
		margin-bottom: 1em;
		margin-left: 0;
	}
	
	#side.right {
		float: none;
		width: auto;
		margin-left: 65%;
	}	
	
	.deepLevel #mainContent {
		line-height: 1.4;
	}

	.nomenu #mainContent {
		margin-left: 0;
	}
	
	.bodyleft {
		margin-left: 25% ! important
	}
	
	#mBody {
		clear: both;
		padding: 0 0 1em 0;
	}

	
	h1, h2, h3, h4, h5, h6 {
		margin: 1em 0 0.2em 0;
		border-bottom: 1px solid #ccc;
		font-family: arial, verdana, sans-serif;
	}
	h3 {
		font-size: 1.3em;
		font-weight: bold;
	}
	
	h4 {	
		font-size: 1.2em;
		font-weight: bold;
	}
	
	h5 {
		font-size: 1.1em;
		font-weight: bold;
	}	
	
	li h1, li h2, li h3, li h4, li h5, li h6 {
		border: none;
	}

	h1 { font-size: 160%; font-weight: normal; }
	h2 { font-size: 150%; font-weight: normal; }
	h6 { font-size: 90%; border: 0; }


div#header { clear: both; }

a.new { color:#ba0000; }
a.new:visited { color:#a55858; }

/* Headers */

	#mainContent > h1:first-child,
	#mainContent > h2:first-child,
	#mainContent > h3:first-child,
	#mainContent > h4:first-child,
	#mainContent > h5:first-child,
	#mainContent > h6:first-child,
	#side > h1:first-child,
	#side > h2:first-child,
	#side > h3:first-child,
	#side > h4:first-child,
	#side > h5:first-child,
	#side > h6:first-child {
		margin-top: 0;
	}

/* Navigation */

        :link { color: #039; }
        :visited { color: #636; }
        :link:hover, :visited:hover { color: #333; }
        :link:active, :link:active { color: #000; }


/*
** keep the whitespace in front of the ^=, hides rule from konqueror
** this is css3, the validator doesn't like it when validating as css2
*/
/*#mBody a[href ^="http://"],
*/

#mBody a[href ^="https://"],
.link-https {
    background: url("images/lock_icon.gif") center right no-repeat;
    padding-right: 16px;
}
#mBody a[href ^="mailto:"],
.link-mailto {
    background: url("images/mail_icon.gif") center right no-repeat;
    padding-right: 18px;
}
#mBody a[href ^="news://"] {
    background: url("images/news_icon.png") center right no-repeat;
    padding-right: 18px;
}
#mBody a[href ^="ftp://"],
.link-ftp {
    background: url("images/file_icon.gif") center right no-repeat;
    padding-right: 18px;
}
#mBody a[href ^="irc://"],
.link-irc {
    background: url("images/discussionitem_icon.gif")  center right no-repeat;
    padding-right: 18px;
}

#catlinks {
    border:1px solid #aaaaaa;
    background-color:#f9f9f9;
    padding: 3px 5px 3px 5px;
    margin-top: 1em;
    clear: both;
}

p.catlinks {
	padding: 0;
	display: inline;
}

#toc {
    /*border:1px solid #2f6fab;*/
    border:1px solid #aaaaaa;
    background-color:#f9f9f9;
    padding:5px;
    font-size: 95%;
	margin-top:1em;
}
#toc .tocindent { margin-left: 2em; }
#toc .tocline { margin-bottom: 0px; }
#toc p { margin: 0 }
#toc .toctoggle { font-size: 94%; }
#toc .editsection {
    margin-top: 0.7em;
    font-size: 94%;
}

/* Sidebar */

	#nav:before {
		line-height: 0.1;
		font-size: 1px;
		background: #E0E9E9 url("images/menu_tr.gif") no-repeat top right;
		margin: 0;
		height: 9px;
		display: block;
		border-bottom: 1px solid #ddd;
		content: url("images/key-point_tl.gif");
	}
	#nav {
		background: #EDF2F2 url("images/menu_back.gif") right repeat-y;
		line-height: 1em;
	}	
	
	#nav:after {
		display: block;
		padding-top: 0;
		line-height: 0.1;
		font-size: 1px;
		content:  url("images/key-point_bl.gif");
		margin: 0 0 0 0;
		height: 8px;
		background: transparent url("images/menu_br.gif") scroll no-repeat bottom right ;
		border-top: 1px solid #fff;
	}
	
	#nav, #nav ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	#nav {
		margin-bottom: 1em;
	}	
	#nav li {
		display: inline;
		padding: 0;
		margin: 0;
	}
	
	#nav li span { /* used for un-linked menu items */
		display: block;
		padding: 6px 10px;
		font-weight: bold;
		color: #666;
		background: #E0E9E9;
	}

	#nav li span#configParent, #nav li span #configuration {
		display: inline;
		font-weight: normal;
		padding: 0;
	}
	
	#nav li a {
		display: block;
		padding: 8px 10px;
		text-decoration: none;
		background: #EDF2F2;
		border-bottom: 1px solid #ddd;
		border-top: 1px solid #fff;
		border-right: 1px solid #ddd;
	}

	#nav li a:hover {
		background: #E0E9E9;
	}
	
	#nav li li span { /* used for un-linked menu items */
		padding: 4px 8px 4px 20px;
	}
	
	#nav li li a {
		padding: 6px 8px 6px 20px;
	}
	
	#oN {
		background-color: #E0E9E9;
	}
	#oN:hover {
		background-color: #C6DCDC;
	}

	#infosidebar { 
		text-align:center;
		position:relative;
		top:30px;
	}
	
	#infosidebar div { 
		position:relative;
		top:0px;
	}

/* Navigation */

	:link img,
	:visited img {
		border: 0;
	}
	.deepLevel #mainContent :link img,
	.deepLevel #mainContent :visited img {
		border: medium solid;
	}
	.deepLevel #mainContent #buttons :link img,
	.deepLevel #mainContent #buttons :visited img {
		border: 0;
	}

	dt {
		font-weight: bold;
	}
	
	dd {
		margin: 0 0 1em 1em;
	}
	
	li {
		margin-top: 0.2em;
		margin-bottom: 0.2em;
	}
	
	sup {
		font-size: 70%;
	}

	form {
		margin: 0;
		display: inline;
	}

	label {
		font-weight: bold;
	}
	
	dl.toc dt {
		margin-top: 1em;
		font-size: 110%;
	}
	dl.toc p {
		margin: 0;
		text-indent: 1em;
	}
	dl.toc p:first-child {
		text-indent: 0;
	}
	dl.toc > dd {
		margin-left: 1em;
	}

	ol.toc ol {
		list-style-type: circle;
	}
	ol.toc > li > ol {
		font-size: 90%;
	}

	ul.snav {/* section navigation or short navigation, whichever you prefer */
		margin: 0.7em 10%;
		padding: .2em;
		text-align: center;
		list-style-type: none;
	}
	ul.snav > li {
		margin: 0;
		padding: 0;
	}
	ul.snav > li {
		display: inline;
	}
	ul.snav > li:before {
		content: " | ";
	}
	ul.snav > li:first-child:before {
		content: "";
	}

	a.cont {
		display: block;
		margin-right: 0;
		text-align: right;
	}


	/* images */
	div.floatright, table.floatright {
		clear: right;
		float: right;
		position: relative;
		margin: 0 0 0.5em 0.5em;
		border: 0
	}
	
	div.floatright p { font-style: italic; }
	div.floatleft, table.floatleft {
		float: left;
		position: relative;
		margin: 0 0.5em 0.5em 0;
		border: 0
	}
	
	div.floatleft p { font-style: italic; }
	
	/* thumbnails */
	div.thumb {
		margin-bottom: 0.5em;
		border-style: solid; border-color: White;
		width: auto;
	}
	div.thumb div {
		border:1px solid #cccccc;
		padding: 3px !important;
		background-color:#f9f9f9;
		font-size: 94%;
		text-align: center;
		overflow: hidden;
	}
	div.thumb div a img {
		border:1px solid #cccccc;
	}
	div.thumb div div.thumbcaption {
		border: none;
		text-align: left;
		line-height: 1.4em;
		padding: 0.3em 0 0.1em 0;
	}
	
	pre {
		background: #EEE;
		border: dashed #666 1px;
		padding: 15px 20px 15px 20px;
	}
	
	div.tip {
		border: dashed green 1px;
		padding: 0px 10px 0px 10px;
		background: #DFD;
	}
	
	div.bug {
		border: dashed maroon 1px;
		padding: 0px 10px 0px 10px;
		background: #FDD;
	}

/* Tables */

	table.data thead th {
		background: #e4ecec;
		empty-cells: hide;
	}

	table.data th,
	table.data td {
		border: 1px solid #ccc;
	}

	.text-bloc {
		border:1px solid #aaaaaa;
		background-color:#f9f9f9;
		padding:5px;
		font-size: 95%;
		margin-top:1em;
	}
	
	.standard-table {
		border: solid black 1px;
		border-collapse: collapse;
	}
	
	.standard-table td {
		text-align: left;
		vertical-align: top;
		padding: 5px;
		border: solid #BBB 1px;
	}
	
	.standard-table td.header, .standard-table th {
		font-weight: bold;
		background: #DDD;
		border: solid #BBB 1px;
		text-align: left;
		padding: 0px 5px 0px 5px;
	}
	
	.fullwidth-table {
		border: solid #DDD 0px;
		border-collapse: separate;
		border-spacing: 0px 0px;
		width: 100%;
		margin-bottom: 10px;
		background: #FFF;
	}
	
	.fullwidth-table td {
		text-align: left;
		vertical-align: top;
		padding: 5px 15px 5px 15px;
		border: solid #DDD 1px;
	}
	
	.fullwidth-table td.header, .fullwidth-table th {
		background: #DDD;
		border-bottom: solid #DDD 1px;
		border-left: solid #BBB 1px;
		border-right: solid #BBB 1px;
		font-weight: 500;
		font-size: 140%; 
		text-align: left;
		padding: 0px 5px 0px 5px;
	}

	.subtitle {
		font-style: italic;
	}
	
	.float-left {
		float: left;
		padding: 5px;
	}
	
	.float-right {
		float: right;
		padding: 5px;
	}
	
	.figure {
		/* for future use */
	}

	img.tex { vertical-align: middle; }
	span.texhtml { font-family: serif; }
	
	.printfooter {
			display: none;
	}


/* Comments and other Asides */

	.note {
		color: #666;
		font-style: normal;
	}

	.product-description:before {
		line-height: 0.1;
		font-size: 1px;
		background: transparent url("images/key-point_tr.gif") no-repeat top right;
		margin: -15px -15px 0 -15px;
		height: 15px;
		display: block;
		border: none;
		content: url("images/key-point_tl.gif");
	}
	.product-description {
		background: #e4ecec url("images/key-point_back.gif") right repeat-y;
		padding: 15px;
		margin-bottom: 1em;
	}
	.product-description:after {
		display: block;
		clear: none;
		padding-top: 15px;
		line-height: 0.1;
		font-size: 1px;
		content:  url("images/key-point_bl.gif");
		margin: -15px;
		height: 8px;
		background: transparent url("images/key-point_br.gif") scroll no-repeat bottom right ;
	}
	
	.product-description h2, .product-description h3, .product-description h4, .product-description h5 {
		border: none;
		margin-top: 0;
	}
	
	ul.compact {
		margin-left: 0;
		padding-left: 20px;
	}

	.note:before {
		content: "Note: ";
	}


	.product-description > h1:first-child,
	.product-description > h2:first-child,
	.product-description > h3:first-child,
	.product-description > h4:first-child,
	.product-description > h5:first-child,
	.product-description > h6:first-child {
		margin-top: 0;
	}

/* Computers - General */

	pre.screen {
		overflow: auto;
		margin: 1em 0.5em;
		padding: 0.2em;
		border: solid 1px;
		font-family: monospace;
		white-space: pre;
	}

	div.screen {
		margin: 1em .5em;
		padding: 0.2em;
		border: solid 1px;
	}

	span.application {
		font-style: italic;
	}

	kbd.long {
		display: block;
		margin: 0.1em 1em;
	}

	kbd {
		margin: 0.1em;
		padding: 0.1em;
		border: 1px #ccc;
	}

	kbd.command,
	code.command {
		white-space: pre;
		color: #6B5839;
	}

	code.filename {
		font-style: italic;
		white-space: nowrap;
	}

/* Code */

	code, pre {
		/* override IE6 default */
		font-size: 1em;
	}

	code {
		font-size: 1.2em;
		white-space: nowrap;
	}
	
	code.long {
		display: block;
		margin: 0.1em 1em;
		white-space: normal;
	}

	pre.code {
		overflow: auto;
		margin: 1em .5em;
		padding: .2em;
		border: solid 1px;
	}

	pre.code .remark {
		font-size: 1em;
		font-style: italic;
	}

	/* turn off content generation */
	pre.code .remark:before,
	pre.code .remark:after,
	pre.code .note:before {
		content: "";
	}

	pre.code {
		background: #EEECF6;
	}
	
	code > em,
	code > strong,
	pre.code > em,
	pre.code > strong {
		font-style: normal;
	}

/* Examples and Figures */

	.figure,
	.screenshot {
		display: block;
		margin: .75em auto;
	}
	object.figure object,
	object.screenshot object,
	object.figure img,
	object.screenshot object {
		display: block;
		margin: 0 auto;
	}
	.screenshot[title]:after,
	.figure[title]:after {
		display: block;
		margin: 0 8% .05em;
		font-style: italic;
		font-size: small;
		text-align: right;
		content: attr(title);
	}

/* Footer */

	#footer {
		border-top: 1px solid #999;
		margin: 2em 0;
		padding: 1em 0;
		text-align: center;
		clear: both;
		margin-top: 1em;
		color: #666;
	}
	
	#footer ul {
		padding: 0;
		list-style: none;
		margin: 0 0 1em 0;
	}	
	
	#footer li {
		padding: 0 20px 0 0;
		margin: 0;
		white-space: nowrap;
	}	
	
	#footer span,#footer a {
		white-space: nowrap;
		padding: 0 1em;
	}
	
	#footer p span,#footer p a {
		white-space: nowrap;
		padding: 0 0.3em;
	}
	
	#footer span a {
		padding: 0;
	}
	
	#footer p,#footer p a {
		color: #666;
	}
	
	#footer p a:hover {
		color: #000;
	}
	
	#footer p {
		margin: 0.6em 0;
	}

	hr { border: 1px solid #FFF; border-top: 1px solid #CCC; } 

	#f-poweredbyico {
		float:right;
		position:relative;
		top:-25px;
	}
