body {
	margin:0;
	padding:0;
	background:url(images/main_bg.gif);
	color:#ffffff;
	font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
	font-size:11px;
	line-height:14px;
}

/* ------------------ */
/* Header
/* ------------------ */

#header {
	height:57px;
	background:url(images/top_bg.gif) repeat-x;
}

#header_content {
	width:661px;
	margin:0 auto;
}

#header_logo {
	float:left;
	margin-top:19px;
}

#header_client {
	float:right;
	margin-top:18px;
	display:none;
}

/* ------------------ */
/* Content
/* ------------------ */

#content {
	width:661px;
	margin:0 auto;
}

#main_menu {
	margin-top:20px;
	font-family:"Trebuchet MS";
	font-size:12px;
	color:#4c4c4c;
}

#main_menu ul {
	margin:0;
	padding:0;
	list-style:none;
}

#main_menu ul li {
	float:left;
	margin-right:2px;
	padding:0;
	height:22px;
	aborder:1px solid red;
}

#main_menu ul li a {
	text-decoration:none;
	color:#4c4c4c;
	font-size:12px;
	line-height:12px;
	display:block;
	height:12px;
	padding:6px 10px 4px 10px;
}

#main_menu ul li a:link, #main_menu ul li a:visited {
	background:url(images/menu_off_bg.gif) no-repeat top right;
}

#main_menu ul li a:hover, #main_menu ul li a:active {
	background:url(images/menu_on_bg.gif) no-repeat top right;
}

#main_menu ul li a.selected {
	background:url(images/menu_on_bg.gif) no-repeat top right;
	font-weight:bold;
}

/* -- Top ad -- */

#top_ad {
	width:639px;
	height:134px;
	border-right:2px solid #333333;
	border-bottom:2px solid #333333;
	background:#ffffff url(images/top.gif) no-repeat;
	padding-top:64px;
	padding-right:20px;
	text-align:right;
}

#top_ad p {
	margin:0;
	color:#000000;
}

#top_ad p a {
	color:#000;
	text-decoration:none;
}

/* -- Main text -- */

#main_text {
	margin-top:10px;
	width:659px;
	border-right:2px solid #333333;
	border-bottom:2px solid #333333;
	background:#ffffff;
	color:#464646;
}

#main_text h1 {
	margin:0 15px;
	padding:15px 0 10px 0;
	border-bottom:1px solid #cccccc;
	font-size:16px;
	line-height:16px;
}

#main_text h2 {
	margin:0 15px;
	padding:15px 0 5px 0;
	border-bottom:1px solid #e5e5e5;
	font-size:14px;
	line-height:16px;
}

#main_text p {
	margin:15px;
	font-size:12px;
	line-height:20px;
}

#main_text p.def {
	border:1px solid #f0efe3;
	background:#fffef0;
	color:#b2b2b2;
	padding:5px 10px;
	font-size:10px;
	cursor:default;
}

#main_text p.def:hover {
	border:1px solid #cccaa3;
	background:#fffccc;
	color:#464646;
}

#main_text div.hr {
	margin:30px 100px;
	border-top:2px solid #e5e5e5;
}

#main_text div.hr hr {
	display:none;
}

#main_text ul {
	font-size:12px;
	padding:0 10px 0 30px;
	margin:12px 10px;
}

#main_text ul li {
	margin-bottom:5px;
}

#main_text div.right {
	float:right;
	width:242px;
	margin:18px 15px 10px 20px;
}

#main_text div.right img {
	display:block;
	margin-bottom:2px;
	border:1px solid #4c4c4c;
}

#main_text div.right em {
	color:#686868;
	font-size:9px;
	margin-top:5px;
	display:block;
}

/* ------------------ */
/* Footer
/* ------------------ */

#footer {
	background:#3d3d3d;
	margin:10px 0;
}

#footer_inner {
	width:661px;
	margin:0 auto;
}

#footer p {
	font-family:Verdana,Arial;
	font-size:9px;
	line-height:11px;
	color:#8b8b8b;
	padding:11px 0 10px 0;
}

/* ------------------ */
/* Clearfix
/* ------------------ */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */