html {
	height: 100%;
	width: 100%;
}

body {
	background: #fff url(/img/bg.png) repeat-x;
	margin:0;
	padding:0;
	*text-align:center;
}

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

a:hover {
	color: #999;
	text-decoration: none;
}

#website {
	width: 1000px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	font-family : verdana, arial, helvetica, sans-serif;
	font-size : 12px;
	font-weight: regular;
	*text-align:left;
}

#head_bg {
	position: relative;
	left: 20%;
	width: 500px;
}

#ad {
	position: absolute;
	left: 22%;
	top: 10px;
	width: 350px;
}

#menu .text {
	background: url(../img/center_m.png) repeat-x;
	height: 30px;
	font-size: 18px;
	text-align: center;
}
#menu .text a {
	color: #FFF;
	text-decoration: none;
}
#menu .text a:hover {
	color: #EFE034;
	text-decoration: none;
}

.submenu {
	background: url(../img/submenu_c.jpg) repeat-x;
	text-align: center;
	font-size: 12px;
}

.show_submenu {
	display: block;
}

.hide_submenu {
	display: none;
}
.hide_submenu .text {
	background: url(../img/submenu_c.png) repeat-x;
	float: left;
	height: 30px;
	font-size: 12px;
}
.hide_submenu .text a {
	color: #FFF;
	text-decoration: none;
}
.hide_submenu .text a:hover {
	color: #666;
	text-decoration: none;
}

#fade_link_block {
	height: 28px;
}

.t {
	background: url(../img/title.png);
	border: 3px solid #0B5379;
	padding: 10px 20px 10px 10px;
	width: 200px;
	*width: 250px;
	color: #FFF;
	position: relative;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}

#language {
	position: absolute;
	left: 22%;
	top: 105px;
	width: 350px;
}
#language ul {
	margin: 0px;
	padding: 0px;
}
#language ul li {
	padding: 0;
	margin: -20px 0px 0px 0px;
	list-style: none;
}
#language .us {
	padding-left: 30px;
}
#language img {
	border: none;
}

#online_window {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 10px 10px;
	width: 200px;
	*width: 250px;
	height: 80px;
	*height: 110px;
	color: #555;
	position: relative;
	font-size: 12px;
}
#online_window #online_pic {
	position: absolute;
	right: 0;
	top: -60px;
}
#online_window .online {
	background-color: #00FF00;
}
#online_window .offline {
	background-color: #FF0000;
}

#online_window .online_char_status {
	left: 400px;
	position: absolute;
	width: 230px;
	font-size: 12px;
	font-weight: bold;
	border: 1px solid #e8d825;
}

#lang_window {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 10px 10px;
	*padding: 40px 20px 10px 10px;
	width: 200px;
	*width: 250px;
	height: 80px;
	*height: 110px;
	color: #555;
	position: relative;
	font-size: 12px;
}
#lang_window #lang_pic {
	position: absolute;
	right: 0;
	top: -8px;
}
#lang_window .flag {
	padding-top: 30px;
	border: 0;
}

#woe_window {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 10px 10px;
	width: 200px;
	*width: 250px;
	height: 170px;
	*height: 180px;
	color: #555;
	position: relative;
	font-size: 12px;
}
#woe_window #woe_pic {
	position: absolute;
	float: left;
	top: -8px;
}
#woe_window #txt {
	padding-left: 60px;
}
#woe_window #txt #glogo {
	padding-bottom: 2px;
}
#woe_window #txt #gname {
	position: absolute;
	display: inline;
	padding: 4px 0 0 5px;
	font-weight: bold;
}
#woe_window .woe_info {
	position: absolute;
	border: 2px solid #DBDCDD;
	background-color: #fff;
	top: 0;
	display: none;
}

.month_player_wind {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 10px 10px;
	width: 200px;
	*width: 250px;
	color: #555;
	position: relative;
	font-size: 12px;
	text-align: center;
}

#status_checker {
	width: 8px;
	height: 8px;
	border: 1px solid black;
}

#content {
	float: auto;
	margin-left: 21%;
	width: 670px;
}
#content .left_td {
	width: 150px;
	vertical-align: top;
}
#content .right_td {
	border: 1px solid #DBDCDD;
	padding: 10px 20px;
	width: 520px;
	color: #555;
	vertical-align: top;
}

#login_menu {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 0 10px;
	width: 200px;
	*width: 250px;
	color: #555;
	position: relative;
	font-size: 12px;
}
#login_menu .login {
	background-color: #fff;
	width: 120px;
}
#login_menu .login:hover {
	background-color: #eee;
}
#login_menu .login_error {
	background-color: #aa0000;
	width: 120px;
}
#login_menu  .password {
	background-color: #fff;
	width: 120px;
}
#login_menu .password:hover {
	background-color: #eee;
}
#login_menu .password_error {
	background-color: #aa0000;
	width: 120px;
}
#login_menu .login_button {
	background: transparent url(../img/button.jpg) no-repeat scroll center top;
	border: 0;
	cursor: pointer;
	font-size: 11px;
	margin-top: 10px;
	padding: 2px 0 8px;
	width: 80px;
}
#login_menu #text {
	font-size: 13px;
}
#login_menu #login_pic {
	position: absolute;
	right: 15;
	top: 20;
}
#login_menu #forgotpass {
	padding-left: 30px;
}

#vote_window {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 0 10px;
	width: 200px;
	*width: 250px;
	color: #555;
	position: relative;
	font-size: 12px;
	text-align: center;
}

#msgs {
	width: 100%;
}
#msgs #sucmsg {
	width: 100%;
	background-color: #75EC59;
	border: 2px solid #28D300;
	padding: 2px;
}
#msgs #errmsg {
	width: 100%;
	background-color: #EB5050;
	border: 2px solid #DF0000;
	padding: 2px;
}

#center_block {
	background: #fff;
	width: 600px;
	margin: 10px 10px 0 10px;
	padding: 10px 10px 10px 10px;
	vertical-align: top;
	font-size: 12px;
	border: 2px solid #DBDCDD;
}

/* INTABLEMENU */
#intablemenu {
	position: relative;
	padding-left: 20px;
	padding-top: 4px;
}

#intablemenu ul {
	position: absolute;
	margin: 0px;
	padding: 0px;
	height: 20px;
	float: left;
}

#intablemenu ul li {
	margin-right: 5px;
	min-width: 80px;
	text-align: center;
}

#intablemenu ul li.active {
	padding: 5px 5px 5px 5px;
	background-color: #D1D0EA;
	border-bottom: 1px solid #647496;
}

#intablemenu ul li a {
	display: block;
	padding: 5px 5px 5px 5px;
	background-color: #647496;
	font-size: 10px;
	color: white;
	text-decoration: none;
}

#intablemenu ul li a:hover {
	text-decoration: underline;
}

#intablemenu select {
	font-size: 10px;
	padding: 0px 0px 2px 0px;
	background-color: #D1D0EA;
	border-bottom: 1px solid #647496;
}

#intablemenu ul li {
	display: block;
	float: left;
	padding: 0px;
	width: auto;
	font-family: Verdana, sans-serif;
	font-size: 11px;
	color: black;
}

#top_char_list {
	margin: 0px;
	padding: 0px 10px;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 14px;
}

#top_char_list li {
	list-style: none;
	position: relative;
	margin-top: 2px;
	padding: 5px 0px 5px 10px;
	cursor: pointer;
	background-color: #E4E2F4;
}

#top_char_list li.header {
	font-weight: bold;
	cursor: default;
	color: white;
	background-color: #788CBF;
	border-bottom: 1px dotted #233452;
}

#top_char_list li .name,
#top_char_list li .class,
#top_char_list li .level,
#top_char_list li .place,
#top_char_list li .guild,
#top_char_list li .guild2 {
	position: absolute;
	top: 5px;
	font-size: 0.8em;
}

#top_char_list li .guild_txt {
	position: absolute;
	left: 28px;
}
#top_char_list img {
	position: absolute;
	top: -4px;
}

#top_char_list li.header .name {
	font-size: 0.8em;
}

#top_char_list li.place {
	left: 5px;
	font-size: 0.8em;
}

#top_char_list li .name {
	left: 35px;
	font-size: 1em;
}

#top_char_list li .guild {
	left: 160px;
}
#top_char_list li .guild2 {
	left: 200px;
}

#top_char_list li .class {
	right: 70px;
}

#top_char_list li .level {
	right: 10px;
}

.top_table {
	border: 3px solid #0B5379;
	font-size: 12px;
}
.top_table .header {
	background: url(../img/title.png);
	border: 3px solid #0B5379;
	height: 30px;
	padding-left: 5px;
	color: #FFF;
	font-weight: bold;
}
.top_table .body {
	border: 1px solid #DBDCDD;
}

.submit_button {
	background: transparent url(../img/button.jpg) no-repeat scroll center top;
	border: 0;
	cursor: pointer;
	font-size: 11px;
	margin-top: 10px;
	padding: 2px 0 8px;
	width: 80px;
}

#item_block_left {
	position: relative;
	width: 200px;
	border: 1px solid #000;
	margin-left: 10px;
	background: transparent url(../img/descr_bg.jpg) no-repeat;
}
#item_block_right {
	position: absolute;
	width: 200px;
	border: 1px solid #000;
	margin-left: 220px;
	margin-top: -287px;
	*margin-top: -281px;
	background: transparent url(../img/descr_bg.jpg) no-repeat;
}
#item_block_center {
	width: 200px;
	border: 1px solid #000;
	margin-left: 120px;
	background: transparent url(../img/descr_bg.jpg) no-repeat;
}
#item_block_left .name,
#item_block_right .name,
#item_block_center .name {
	text-align: center;
	font-weight: bold;
	height: 40px;
}
#item_block_left img,
#item_block_right img,
#item_block_center img {
	margin-left: 22px;
	width: 150px;
	height: 120px;
	border: 2px dotted #cecece;
}
#item_block_left .info,
#item_block_right .info {
	overflow-y: auto;
	font-size: 12px;
	margin-left: 22px;
	margin-top: -2px;
	padding: 2px 5px 2px 5px;
	width: 140px;
	height: 80px;
	border: 2px dotted #cecece;
	background: transparent url(../img/descr_bg.jpg) no-repeat;
	*width: 155px;
}
#item_block_center .info {
	margin-left: 22px;
	margin-top: -2px;
	padding: 2px 5px 2px 5px;
	width: 140px;
	border: 2px dotted #cecece;
	background: transparent url(../img/descr_bg.jpg) no-repeat;
}
#item_block_left .price,
#item_block_right .price,
#item_block_center .price {
	padding: 5px 0 5px 0;
	margin-left: 22px;
}
#item_block_left .buy_button,
#item_block_right .buy_button {
	background: transparent url(../img/button.jpg) no-repeat scroll center top;
	border: 0;
	cursor: pointer;
	font-size: 11px;
	padding: 2px 0 8px;
	width: 80px;
}

.news_table {
	font-size: 12px;
	/*display: none;*/
}

#rtop5_window {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 10px 10px;
	width: 200px;
	*width: 250px;
	height: 200px;
	*height: 230px;
	color: #555;
	position: relative;
	font-size: 12px;
}

#rtop3_window {
	background: url(../img/bgm.png);
	border: 3px solid #DBDCDD;
	padding: 10px 20px 10px 10px;
	width: 200px;
	*width: 250px;
	height: 150px;
	*height: 180px;
	color: #555;
	position: relative;
	font-size: 12px;
}

.top5guild {
	position: relative;
}
.top5guild .guild_txt {
	position: absolute;
	left: 28px;
	top: 5px;
}
.top5guild .diggits {
	position: absolute;
	left: 140px;
	top: 5px;
}

.top5guild_win {
	position: relative;
	border: 3px solid #EDE121;
	width: 100%;
	padding: 10px 0 10px 5px;
	background: url("http://www.themages.net/img/input_text.png") repeat-x scroll 0 0 #fff;
}
.top5guild_win .guild_txt {
	font-weight: bold;
	font-size: 16px;
}

#copyright {
	bottom: 0;
	margin-top: 30px;
	left: 22%;
	text-align: center;
	font-size: 10px;
}