/*
	Main document layout - these define the overall shape of the page.
*/ 

body {
	text-align: center;
	margin: 0;
	padding: 0;
	background-color: #fff;
	font: 80%/1 "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	letter-spacing: -.05em;
}

#globalWrapper {
	display: inline-block;
	position: relative;
	text-align: left;
	width: 950px;
}

/*
	General styling...try to make things look pretty.
*/

p {
	line-height: 1.1;
}

ol {
	margin-top: 1em;
	margin-bottom: 1em;
}

ul {
	margin-top: 1em;
	margin-bottom: 1em;
	list-style-type: square;
}

li {
	margin-top: .5em;
	margin-bottom: .5em;
}

a img {
	border-style: none;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


/*
	Main text styling...try to make the article look good. 
*/

#column-content {
	padding: 0em 1em 1em 1em;
	clear: both;				/* Needed to keep content from crowding the main menu bar. */
}

#bodyContent h {
	color: #444;
	margin-top: 0;
	margin-bottom: 5px;
}

#bodyContent h1 { font-size: 150%; }
#bodyContent h2 { font-size: 130%; }
#bodyContent h3 { font-size: 120%; }
#bodyContent h4 { font-size: 110%; }
#bodyContent h5 { font-size: 110%; }
#bodyContent h6 { font-size: 110%; }

#bodyContent p {
	color: #444444;
	margin-bottom: 1.1em;
}
#bodyContent li {
	color: #444444;
	margin-bottom: 1.1em;
}

#bodyContent a {
	color: #4f9214;
}


/*
	Wiki elements.  These classes are put in the wiki text by the engine.
 */

table.toc {
	margin: 1em;
	padding: 0em 1em 1em 1em;
	border-style: solid;
	border-width: 1px;
	border-color: black;	
}

.toc ul {
	list-style-type: none;
	margin: 0.5em;				/* Margin needs to be set on both the ul and li to get consistent spacing. */
	padding-left: 0.5em;		/* This controls the indent of the TOC hierarchy per level. */
}

#bodyContent .toc li {			/* Need the ID as well as style to make this a higher prio rule than general body-content, since 1 ID beats 1 class */
	margin: 0.5em;
	line-height: 1em;
}



.editsection {
	float: right;
	font-size: 90%;
}

div.catlinks {
	font-size: 80%;
}

.catlinks hr {
	display: none;
}

/*
	Wiki headers and footers.  Define how the "menus" look.  We have four menus at the top
	and 2 at the bottom, plus some random crud.  portlet is the class that defines a menu.
	It contains an h5 header (that we don't want) and a ul for the menu choices.
*/

div.portlet {
	display: inline;
}

div.portlet h5 {
	display: none;
}

div.portlet ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

div.portlet li {
	display: inline; 
	margin-left: 4px;
	margin-right: 4px;
}

div.portlet a {
	color: #fff;
}

#header {
	background: url(../xplane2/images/bg_banner_cirrusjet_to_right_small.jpg) no-repeat;
	height: 150px;
	margin-bottom: 8px;
	position: relative;
	width: 950px;
}

#p-logo {				/* Hack: we take out the title of the logo in the php, so that we can basically dump a big empty div and a over the hot spot of the logo. */
	float: left;
	width: 300px;
	height:100px;
	margin-top: 50px;
}
#p-logo a {
	width: 300px;
	height: 100px;
	display: block;
}

#p-search {
	margin: 5px;
	float: right;
}

#header2 {
	height: 1.2em;		/* Needed because floating elements do not push the box down. */
	padding: 5px;
	background: #666;
}

#p-cactions {
	float: left;
}

#p-personal {
	float: right;
}


#column-one {
	height: 1.2em;		/* Needed because floating elements do not push the box down. */
	padding: 5px;
	background: #666;
}


#p-navigation {
	float: left;
}

#p-tb {
	float: right;
}

/* 
	Product families menu CSS taken from main website.
*/

#productFamiliesMenu {
	position: absolute;
	right: 10px;
	bottom: 4px;
	font-size: 90%;
	display: inline-block;
	float: right;
	width: auto;
	height: 86px;
	text-align: right;
	white-space: nowrap;
	top: 60px;
}

#productFamiliesMenu div {
	text-align: center;
	width:  auto;
	height:  auto;	
	position: relative;
	clear: none;
	float: left;
}

#productFamiliesMenu p {
	margin: 0;
	padding: 1px 0 2px;		/* 1 px top pdading added by Ben - alignment bug in wiki version. */
}

#productFamiliesMenu div p a:link, #productFamiliesMenu div p a:active, 
#productFamiliesMenu div p a:visited {
	color: #ffffff;
	text-decoration: none;
}
#productFamiliesMenu div p a:hover {
	color: #fff;
	text-decoration: underline;
}

/*
	Misc. stuff.  These things we just don't really need.  Use CSS to kill them rather than
	edit the skin.
*/

#footer {
	display: none;
}
#siteSub {
	display: none;
}
#contentSub {
	display: none;
}
#jump-to-nav {
	display: none;
}
.printfooter {
	display: none;
}

