body {
	background: #020632 url(background.png) repeat-x;
	margin: 20px;
}

p, li, dt, dd {
	color: #000;
	font: normal 14px Verdana, sans-serif;
	line-height: 1.4em;
}

dd {
	padding-bottom:8px;
}

hr {
	display: none;
}

#container {
	background: #fff;
	width: 800px;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

#head {
	background: #0f1e82 url(header.png) no-repeat;
	padding: 10px 10px 10px 16px;
	margin:0;
	height: 60px;
	text-align: left;
	vertical-align: middle;
}

#head h1 {
	padding:0;
	margin: 0;
	float: left;
}

#head h1 a {
	font: normal 40px "Trebuchet MS", sans-serif;
	color: #ffd;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

#tabs ul {
	position:relative;
	margin:0 0 0 316px;
	padding:24px 0 0 20px;
	height:46px;
	display:block;
	list-style:none;
}

#tabs li {
	float: left;
	display: block;
}

#tabs li a {
	float: left;
	display: block;
	padding: 0 0 0 10px;
	margin:0;
	height: 46px;
	cursor: pointer;
	background:#0f0;
}

#tabs li a b {
	float: left;
	display: block;
	padding: 6px 10px 0 0;
	margin:0 3px 0 0;
	height: 40px;
	background:#ff0;
}


#tabs li a {
	text-decoration: none;
	background: url(tab1l.png) no-repeat;
	background-position: left;
}

#tabs li a b {
	font: normal 16px Verdana, sans-serif;
	color: #ddd;
	text-decoration: none;
	background: url(tab1r.png) no-repeat right top;
}

#tabs li a:hover {
	background: url(tab2l.png) no-repeat;
	background-position: left;
}

#tabs li a:hover b {
	color: #fff;
	background: url(tab2r.png) no-repeat right top;
}

#s_about #tabs #m_about a,
#s_download #tabs #m_download a,
#s_doc #tabs #m_doc a,
#s_examples #tabs #m_examples a,
#s_gallery #tabs #m_gallery a {
	background: url(tab0l.png) no-repeat;
	background-position: left;
}

#s_about #tabs #m_about a b,
#s_download #tabs #m_download a b,
#s_doc #tabs #m_doc a b,
#s_examples #tabs #m_examples a b,
#s_gallery #tabs #m_gallery a b {
	color: #555;
	background: url(tab0r.png) no-repeat right top;
}

#content {
	margin: 8px 0 30px 0;
	padding: 0 16px 0 16px;
	text-align: left;
	width: auto;
}

#content h2 {
	font: bold large "Trebuchet MS", sans-serif;
	color: #359;
	border-bottom: 1px solid #cde;
	margin-top: 24px;
	margin-bottom: 10px;
	padding-bottom: 2px;
}

#content h2.top {
	margin-top: 8px;
}

#content a {
	color: #357;	
}

#content a:visited {
	color: #638;
}

#content a:hover,
#content a:active {
	color: #d54;
}

#content ul li,
#content ol li {
	padding-bottom: 10px;
}

#content ul.map li {
	padding-bottom: 0px;
}

#content .ressect {
	display: block;
	margin: 0 0 0 0;
	padding: 0 0 0 16px;
}

#content .resicon {
	display: inline;
	float: left;
	width: 146px;
	height: 146px;
	padding: 0;
	margin: 10px 16px 20px 0px;
	border: solid 1px #cde;
	text-align: center;
	vertical-align: middle;
}

#content .resicon a {
	text-decoration: none;
	border: none;
	padding: 0;
	margin: 0; 
}

#content .resicon img {
	border: none;
}

#content .restext {
	display: inline;
	float: left;
	width: 420px;
}

#content .restext h3 {
	padding: 6px 0 0 0;
	margin: 0;
	color: #357;
	font: bold large "Lucida Bright", Georgia, "Bitstream Vera Serif", serif;
	text-decoration: none;
	vertical-align: top;
}

#content .restext h3 a {
	text-decoration: none;
}
	
#content .restext p {
	margin: 10px 0 0 0;
} 

#content .resclose{
	clear: both;
	display: block;
	height: 9px;
}


.fig {
	margin: 10px;
	background: #fff;
	float: right;
	margin: 0;
	padding: 0 0 40px 20px;
	color: #888;
	font: normal 10px verdana, sans-serif;
	text-align: center;
}

.fig a {
	color: #888;
}

.fig a img {
	border: none;
}

.fig a.lightborder img {
	border: solid 1px #cde;
}

.fig acronym {
	border-bottom-color: #888;
}

.fig a {
	text-decoration: none;
}

.fullimage {
	margin: 0;
	text-align: center;
	padding: 5px 0 5px 0;
	font: normal 10px verdana, sans-serif;
}

.fullimage a img {
	border: none;
}

p.announce {
	display: block;
	border: solid 1px #eea;
	background: #ffb;
	padding: 10px;
	margin: 10px 0 10px 0;
	font: normal small "Lucida Grande", Verdana, sans-serif; 
	color: #222222;
}


code {
	font-family: "Monaco", "Bitstream Vera Sans Mono", monospace;
}

kbd {
	display: block;
	border: solid 1px #aee;
	background: #bff;
	padding: 10px;
	margin: 10px 0 10px 0;
	font: normal medium "Monaco", "Bitstream Vera Sans Mono", monospace;
	color: #000000;
}

samp {
	display: block;
	border: solid 1px #eea;
	background: #ffb;
	padding: 10px;
	margin: 10px 0 10px 0;
	font: normal medium "Monaco", "Bitstream Vera Sans Mono", monospace;
	color: #000000;
}

samp .light {
	font-style: italic;
	color: #666666;
}

pre {
	border: solid 1px #bbb;
	background: #e4e4e4;
	padding: 10px;
	font: 14px medium "Monaco", "Bitstream Vera Sans Mono", monospace;
	color: #000000;
}

pre .String {
	color: #4a6f8b;
}

pre .Boolean {
	color: #cc0000;
}

pre .Special {
	color: #8a2ae2;
	background-color: #f1f1f1;
}

pre .Statement {
	color: #b02f60;
	font-weight: bold;
}

pre .Comment {
	color: #0000ed;
	font-style: italic;
}

pre .Constant {
	color: #ff8b00;
	background-color:#f1f1f1;
}

pre .PreProc {
	color: #1773cc;
}

pre .Type {
	color: #008b00;
}

pre .Identifier {
	color: #458b73;
}

pre .lnr {
	color: #660044;
	font-weight: bold;
}

table.gal {
	margin-left: auto;
	margin-right: auto;
}

table.gal td {
	width: 166px;
	height: 212px;
	padding: 6px;
	margin: 0;
	border: solid 1px #d8d8ff;
	text-align: center;
	font: normal small "Lucida Grande", "Trebuchet MS", verdana, sans-serif;
	text-decoration: none;
	vertical-align: top;
}

.gal img {
	border: 0;
}

.gal a {
	text-decoration: none;
}

#foot {
	background: #0f1e82 url(footer.png) no-repeat;
	height: 18px;
	padding: 7px 16px 5px 16px;
	clear: both;
	margin-top: 5px;
	font: normal 12px Verdana, serif;
	color: #eee;
}

#foot a,
#foot a:visited,
#foot a:hover,
#foot a:active,
#foot a:focus {
	color: #eee;
}

.links {
	float: right;
	text-align: right;
}

.trail {
	text-align: left;
	margin: 0;
	padding: 0;
}
