/* Global */
/* ------ */

body {
    font: small sans-serif;
    color: black;
    margin: 10;
    padding: 0;
}

em {
	font-style:normal;
	font-weight:bold;
}
a {
    text-decoration: none;
    color: #002bb8;
    background:transparent none repeat scroll 0 0;
}
a:visited {
    color: #002bb8;
}
a:active {
    color: #002bb8;
}
a:hover {
    text-decoration: underline;
}
p {
    margin: .5em 0 .5em 0;
    line-height: 1.4em;
}
p img {
    margin: 0;
}
img {
    border: none;
    vertical-align: middle;
}
h1 {
    color: black;
    background: none;
    font-weight: normal;
    margin: 6px 0 6px 25px;
}
h2, h3, h4, h5, h6 {
    color: black;
    background: none;
    font-weight: normal;
    margin: 0;
    padding-top: .5em;
    padding-bottom: .17em;
    border-bottom: 1px solid #aaa;
}
h1 { font-size: 188%; }
h2 { 
	font-size: 150%; 
	padding-top:1em;
}
h2.first {
	padding-top:0;
}
h3, h4, h5, h6 {
    border-bottom: none;
    font-weight: bold;
}
h3 { font-size: 120%; }
h4 { font-size: 110%; }
h5 { font-size: 100%; }
h6 { font-size: 80%;  }

a.button {
	border-width:1px;
	border-color:#aaa black black #aaa;
	border-style:solid;
	text-decoration:none;
	font-weight:bold;
	padding:0 3px 0 3px;
	background-color:#c2ddf4;
}
a.button:hover {
	text-decoration:none;
}

p tt {
	font-size:100%;
	background-color:#f6f6f6;
	border:1px solid #dddddd;
	padding:0px 4px;
	white-space:nowrap;
}

/* Body */
/* ---- */
table.columns {
	width:100%;
	background-color:#c2ddf4;

}

/* Navigation Column */
/* ----------------- */
table.columns td.left {
	vertical-align:top;
	background-color:#c2ddf4;
	width:200px;
}

/* Header */
/* ------ */
table.columns td.header {
	padding-right:120px;
}

/* Content Area */
/* ------------ */
table.columns td.middle {
	padding:0px;
	vertical-align:top;
	background-color:white;
}
table.columns td.middle div.body {
	padding:20px 10px 0px 25px;
}
div.corner {
	width:25px;
	height:25px;
	float:left;
}
table.columns td.middle div.cornerul {
	background: #c2ddf4 url(/rounded-corner-25-ul.gif) no-repeat scroll top left;
}
table.columns td.middle div.tabcontent {
	border:1px solid black;
	border-width:0px 1px 1px 1px;
	clear:left;
}
table.columns td.middle div.content, table.columns td.middle div.tabcontent {
	padding:0px 10px 20px 10px;
	margin: 0px;
}

/* Ad area */
/* ------- */
table.columns td.right {
	width:120px;
	vertical-align:top;
}

/* Footer */
/* ------ */
table.columns td.footer {
	height:20px;
	text-align:center;
	font-weight:bold;
}

/* Tabs */
/* ---- */
div.tabContainer {
	border:1px solid black;
	border-width:0px 0px 1px 0px;
	float:left;
	width:100%;
	padding:0px;
}
div.tabContainer div {
	float:left;
	height:1.3em;
	border:3px solid black;
	border-width:1px 1px 1px 1px;
	margin:0px 5px 0px 5px;
	padding:1px 5px 1px 5px;
	position:relative;
	top:1px;
	background-color:#eeeeee;
	color:black;
}
div.tabContainer div.selected {
	border-bottom-color:white;
	background-color:white;
	font-weight:bold;
}
div.tabContainer div a, div.tabContainer div a:visited {
	text-decoration: none;
	color:black;
}
div.tabContainer div a:hover {
	text-decoration: underline;
}

/* Example code, etc */
/* ----------------- */
fieldset.example {
	padding:10px;
	margin-bottom:20px;
	border:solid 2px #8E9086;
}
fieldset.example legend {
	font-weight:bold;
}
div.example {
	overflow-x:scroll;
	width:100%;
}
div.example div.text {
	font-weight:bold;
}
div.codecaption {
	font-weight:bold;
	margin-left:10px;
	margin-bottom:-5px;
}
pre.code, pre.badcode, pre.goodcode {
	background-color:#eeeeee;
	padding:3px;
	border: 1px dashed black;
	color: black;
	margin: 8px 0px 8px 10px;
	font-size:90%;
}
pre.code b, pre.badcode b, pre.goodcode b {
	font-weight:bold;
}
pre.badcode {
	border: 1px dashed red;
	background-color:#ffeeee;
}
pre.goodcode {
    border: 1px dashed green;
	background-color:#eeffee;
}

/* Source */
/* ------ */
pre.source {
	border:solid 1px black;
	background-color:#eeeeee;
	padding:3px;
    color: black;
	margin: 8px 0px 8px 10px;
	font-size:80%;
	width:95%;
	height:500px;
	overflow:scroll;
}
table.sourceDetails {
	background-color:#ffffff;
	padding:5px;
	margin: 8px 0px 8px 10px;
}
table.sourceDetails th {
	border:1px solid #aaa;
	border-top:none;
	text-align:right;
	vertical-align:top;
	background-color:#dddddd;
	padding:2px;
	padding-right:5px;
}	
table.sourceDetails td {
	vertical-align:top;
	border:1px solid #aaa;
	border-top:none;
	border-left:none;
}

/* Navigation Stuff */
.portlet {
    border: none;
    margin: 2px;
    padding: 0;
	font-size: 95%;
}
.portlet h5 {
    background: transparent;
	margin: 0px 0px 0px 5px;
    font-weight: bold;
    white-space: nowrap;
}
.pBody {
    background-color: white;
    color: black;
    border: 1px solid #aaa;
}
.portlet a {
	display:block;
    line-height: 1.6em;
	background: white url(/bullet-bolt.gif) no-repeat scroll top left;
	padding-left:20px;
	vertical-align:middle;
	margin-left:3px;
}
.portlet a.selected {
	background-color:#A0C5E5;
	font-weight:bold;
}
.portlet a:hover {
	text-decoration: none;
	background-color:#c2ddf4;
}

/* Print */
/* ----- */
@media print { 
	table.columns td.left,
	table.columns td.right {
		display:none;
	}
	table.columns {
		background-color: white;
	}
	table.columns td.middle {
		background:none;
		padding:0;
	}
	table.columns td.middle div.cornerul {
		display:none;
	}
	table.columns td.middle div.body {
		padding:0px 0px 0px 0px;
	}
	#searchbox {
		display:none;
	}
	h1 {
	    margin: 6px 0 6px 0px;
	}
	
}

/* Example code coloring */
/* --------------------- */
.js_comment { color:green; }

/* Regular tables */
/* -------------- */
table.table {
	border:1px solid #aaa;
	border-collapse: collapse;
}
table.table td, table.table th {
	border:1px solid #aaa;
	padding:3px 5px 3px 5px;
	vertical-align:top;
}
table.table thead tr th {
	vertical-align:top;
	text-align:center;
}
table.table tbody tr th {
	vertical-align:middle;
	text-align:right;
}
table.table th {
	background-color:#c2ddf4;
}
table.table_small tbody tr td, table.table_small thead tr th {
	font-size:smaller;
	padding:1px 2px 1px 2px;
}

/* List of links */
/* ------------- */
ul.links li {
	padding: 3px 0px 3px 0px;
}

/* Table of contents */
/* ----------------- */
table.toc {
	border:1px solid black;
	padding:5px;
	background-color:#eeeeee;
	margin-left:20px;
}
table.toc p.title {
	padding:0;
	margin:0;
	font-size:120%;
	font-weight:bold;
}
table.toc ol {
	padding:0;
	margin-top:10px;
}
table.toc ol li {
	text-decoration:none;
	font-size:110%;
	margin-left:20px;
}

/* Search Box */
/* ---------- */
#searchbox {
	float:right;
}
#searchbox form {
	display:inline;
}
#searchbox form input.search {
	color:#aaa;
}

/* Library boxes */
/* ------------- */
div.libbox {
	height:250px;
	width:150px;
	float:left;
	margin:15px;
	border:2px solid black;
	padding:3px;
}
div.libbox div.image {
	height:150px;
}
div.libbox div.title {
	font-weight:bold;
	font-size:small;
	margin-top:5px;
}
div.libbox div.title a {
	text-decoration:underline;
}
div.libbox div.description {
	font-size:x-small;
	font-family:sans serif;
}

/* Beta Tagging */
/* ------------ */
.beta_tag {
	color:#999999;
	font-family:verdana, helvetica, sans serif;
	font-weight:bold;
	border:2px solid #990000;
	padding:0px 10px 0px 10px;
}

