#main_menu {
	font-family: "trebuchet ms";
	position: absolute;
	top: 110px;
	width: 100%;
	height: 32px;
	background: transparent url(../images/header/main_menu_right.gif) top right no-repeat;
}
#main_menu_center {
	float: left;
	height: 32px;
	width: 26px;
	background: transparent url(../images/header/main_menu_center.gif) top right no-repeat;
}
#main_menu_center.post {
	width: 16px;
}
#main_menu ul, #main_menu li {
	float: left;
	height: 32px;
	margin:0;
	padding:0;
	list-style: none;
}

#main_menu ul#main_chapters {
	padding-left: 16px;
	background: transparent url(../images/header/main_menu_left.gif) top left no-repeat;
}

#main_menu li.first {
	width: 10px;
	background-color: #8fbf00;
}
#main_menu li.first a {
	display: none;
}
#main_menu li.first.pre {
	display: none;
}

#main_menu a, #main_menu span {
	display: block;
	line-height: 32px;
	text-decoration: none;
	color: #fff;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
}

#main_menu a {
	background-color: #8fbf00;
}

#main_menu span {
	padding: 0 18px;
}

#main_menu a:hover {
}

#main_menu a:hover span {
	color: #005479;
}

#main_menu a.selected {
	background: transparent url(../images/header/main_tab_left2.png) bottom left no-repeat;
} 

#main_menu a.selected:hover span {
	color: #fff;
}

#main_menu a.selected span {
	padding: 0 28px;
	background: transparent url(../images/header/main_tab_right.png) bottom right no-repeat;
}

#main_menu a.pre span {
	padding: 0 8px 0 18px;
}

#main_menu a.post span {
	padding: 0 18px 0 8px;
}
/*	extra chapters	*/
#main_menu ul#extra_chapters {
	padding-left: 10px;
	background: transparent url(../images/header/mm_extra_bg.gif) top left repeat-y;
}
#main_menu ul#extra_chapters.pre {
	padding-left: 0;
	background-image: none;
}
#main_menu #extra_chapters a, #main_menu #extra_chapters span {
	display: block;
	line-height: 32px;
	text-decoration: none;
	color: #005479;
	text-align: center;
}

#main_menu #extra_chapters a {
	background-color: #fff;
}

#main_menu #extra_chapters span {}

#main_menu #extra_chapters li.last a {
	width: 130px;
	text-align: left;
}
#main_menu #extra_chapters li.last a span {
	text-align: left;
	width: 50px; 
}
#main_menu #extra_chapters li.last a:hover {
	
}
#main_menu #extra_chapters li.last a:hover span {
	
}

#main_menu #extra_chapters a:hover {}

#main_menu #extra_chapters a:hover span {
	color: #8fbf00;
	/*color: #005479;*/
}

#main_menu #extra_chapters a.selected {
	background: transparent url(../images/header/main_tab_left_w.png) bottom left no-repeat;
}
#main_menu #extra_chapters a.selected:hover span {
	color: #fff;
}		
#main_menu #extra_chapters a.selected span {
	color: #fff;
	background: transparent url(../images/header/main_tab_right_w.png) bottom right no-repeat;
}
#main_menu #extra_chapters .last a.selected {
	background: transparent url(../images/header/main_tab_last.png) bottom left no-repeat;
	width: 120px;
}
#main_menu #extra_chapters .last a.selected span {
	background-image: none;
}
#main_menu #extra_chapters li.last a.post {
	width: 118px;
}
#main_menu #extra_chapters li.last a.post span {
	width: 40px; 
}
#main_menu  #extra_chapters a.pre span {}

#main_menu #extra_chapters a.post span {}
