/* Layout */

* {
	magin: 0;
}
.banner {
	margin-bottom: 50px;
}
body  {
	background: #fff url('../images/background.gif') no-repeat;
	color: #000;
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	height: 100%;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	position: relative;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

#container { 
	border: 1px solid #000;
	width: 975px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #fff;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 

.footer {
	height: 4em;
}

#footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#ddd; 
} 
	#footer p {
		margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
		padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	}

html{
	height: 100%;
}

#mainContent { 
	margin: 0 0 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar space when the content in #sidebar ends. */
	padding: 30px 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 

#navigation {
	padding: 0 10px 0 20px;
}

.push {
	height: 4em;
}

#sidebar {
	float: right; /* since this element is floated, a width must be given */
	width: 200px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #fff; /* the background color will be displayed for the length of the content in the column, but no further */
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 15px 10px;
}

.wrapper {
	padding-top: 5px;
	height: auto !important;
	margin: 0 auto -43m;
}



/* Presentation */ 
img {
	margin:5px;
}

.subtitle {
	color:#000;
	padding:0;
	font-size:0.8em;
}



/* Navigation */

#navigation {
	position: relative; 
	font-size: 1.1em; 
	height:55px; 
	width: 955px; 
	background: url('../images/navback.png') repeat-x; 
	padding-left:10px;
}
#navigation ul {
	padding:0; 
	margin:0; 
	list-style:none; 
	width: inherit; 
	height:35px;
}
#navigation ul ul {
	padding:0; 
	margin:0; 
	list-style:none; 
	width: 100%; 
	height:35px;
}

#navigation table {
	border-collapse:collapse; 
	margin:-1px -20px 0 0; 
	padding:0; 
	width:0; 
	height:0;
}

#navigation li {
	float:left; 
	height:35px; 
	background:#fff;
}

#navigation li a {
	float:left; 
	display:block; 
	padding:0 0 0 10px; 
	height:35px; 
	line-height:35px; 
	background: url('../images/tabs.png') no-repeat left top; 
	color:#000; 
	text-decoration:none; 
	font-family:tahoma, arial, verdana, sans-serif;
}

#navigation li a b {
	float:left; 
	height:35px; 
	display:block; 
	padding:0 22px 0 10px; 
	background: url('../images/tabs.png') no-repeat right top; 
	cursor:pointer; 
	display:inline; 
	font-weight:normal;
}

#navigation li.current a {
	background-position:0 -35px; 
	border-color:#fff;
}

#navigation li.current a b { 
	background-position:100% -35px; 
	color:#007fff;
}/* Text on main buttons, unhovered */

#navigation li ul {
	position:absolute; 
	top:35px; 
	left:-9999px; 
	z-index:10; 
	background:#000;
} /* Color to the right of non-current sub-buttons */

#navigation li.current ul {
	left:0; 
	z-index:1; 
	background:#000;
} /* Color to right of current sub-buttons */

#navigation li a:hover {
	background-position:0 -70px; 
	border-color:#000; 
	cursor:pointer;
	}
	
#navigation li a:hover b {
	background-position:100% -70px; 
	border-color:#000; 
	color:#fff;
}

#navigation li:hover > a  {
	background-position:0 -70px; 
	border-color:#000; 
	cursor:pointer;
}
#navigation li:hover > a b {
	background-position:100% -70px; 
	border-color:#000; 
	color:#fff;
}

#navigation li.current a:hover {
	background-position:0 -35px; 
	border-color:#000;
}

#navigation li.current a:hover b {
	background-position:100% -35px; 
	color:#007fff;
}

#navigation li.current:hover a {
	background-position:0 -35px; 
	border-color:#000;
}

#navigation li.current:hover a b {
	background-position:100% -35px; 
	color:#007fff;
}

#navigation ul :hover ul {
	left:0;
}

#navigation ul :hover ul.right li,
#navigation ul li.current ul.right li {
	float:right;
}

#navigation ul :hover ul.blank {
	background:#000; 
	border-left:1px solid #000;
}

#navigation ul :hover ul li a {
	display:inline; 
	background:#000 url('../images/bar.gif') right center no-repeat; 
	padding:0 10px; 
	margin:0; 
	font-size:.9em; 
	width:auto; 
	white-space:nowrap; 
	font-weight:normal; 
	border:0; 
	color:#ddd; 
	height:35px; 
	line-height:34px;
}

#navigation ul :hover ul.right li a {
	background:#808080 url('../images/bar.gif') left center no-repeat;
}

#navigation ul li.current ul li a,
#navigation li.current a:hover ul li a,
#navigation li.current:hover ul li a	{
	display:inline; 
	background:#000 url('../images/bar.gif') right center no-repeat; 
	padding:0 10px; 
	margin:0; 
	font-size:.9em; 
	width:auto; 
	white-space:nowrap; 
	font-weight:normal; 
	border:0; 
	color:#aaa; 
	height:35px; 
	line-height:34px;
}

#navigation ul li.current ul.right li a,
#navigation li.current a:hover ul.right li a,
#navigation li.current:hover ul.right li a {
	background:#000 url('../images/bar.gif') left center no-repeat;
}

#navigation ul :hover ul li a.last,
#navigation ul li.current ul li a.last,
#navigation li.current a:hover ul li a.last,
#navigation li.current:hover ul li a.last {
	background-image:none;
}

#navigation li ul li.current_sub a,
#navigation li a:hover ul li.current_sub a,
#navigation li:hover ul li.current_sub a,
#navigation li a:hover ul li a:hover,
#navigation li:hover ul li a:hover {
	color:#007fff;
}

#navigation li.current ul li.current_sub a,
#navigation li.current a:hover ul li.current_sub a,
#navigation li.current:hover ul li.current_sub a,
#navigation li.current a:hover ul li a:hover,
#navigation li.current:hover ul li a:hover {
	color: #007fff;
}