* {
	font-family: "Arial";
	font-size: 10px;
}

body {
	margin: 0px;
	background: #B4B4B4 url('gfx/site_bg.gif') repeat-x;
	background-repeat: repeat-x;
}

a:link, a:visited {
	background-color:inherit;
	color:#006C6C;
	text-decoration:none;
}
a:active, a:hover {
	background-color:inherit;
	color:#006C6C;
	text-decoration:underline;
}

img {
	border: 0px;
}

div,span {
	background-color:inherit;
	color:#222222;
	font-family:Verdana,Helvetica,sans-serif;
}

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

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
input, textarea, select {
	background-color:#090909;
	border:1px solid #5D5D5D;
	padding-left:3px;
	padding-right:3px;
	background-image:url('gfx/input_bg.gif');
	background-repeat:repeat-x;
	background-position:top;
	color:#707070;
}

img {
	border:0px;
}

form {
	display:inline;
}

textarea {
	width:90%;
}

#maintable {
	width:992px;
	height:100%;
	border-collapse: collapse;
}

#left-border {
	width: 6px;
	height: 100%;
	background: url('gfx/left_border.gif') no-repeat;
}

#left-border_bg {
	width: 6px;
	background: url('gfx/left_bg.gif');
}

#right-border {
	width: 6px;
	height: 100%;
	background: url('gfx/right_border.gif') no-repeat;
}

#right-border_bg {
	width: 6px;
	background: url('gfx/right_bg.gif');
}

#header {
	width:980px;
	height:220px;
	background: url('gfx/header.jpg');
}

#navi_container {
	width:980px;
	height:63px;
}

#usercenter,
#usercenter2 {
	width:240px;
	padding-left:3px;
	padding-top:27px;
	vertical-align:top;
}

#usercenter {
	background:url('gfx/login_bg.gif');
}

#usercenter2 {
	padding-top:30px;
	background:url('gfx/loggedin_bg.gif');
}

#navi_button_1,
#navi_button_2,
#navi_button_3,
#navi_button_4,
#navi_button_5,
#navi_button_6 {
	width:90px;
	height:50px;
	text-align:center;
}

.navi_button a {
	width:84px;
	display:block;
	padding-left:6px;
	padding-top:15px;
	padding-bottom:15px;
	color:#000000;
	font-family: "Arial";
	font-size: 12px;
	font-weight: bold;
	text-decoration:none;
}

.navi_button a:hover {
	color:#C73B0A;
}

#navi_button_1 {
	background:url('gfx/navi_button_1.gif');
}

#navi_button_2 {
	background:url('gfx/navi_button_2.gif');
}

#navi_button_3 {
	background:url('gfx/navi_button_3.gif');
}

#navi_button_4 {
	background:url('gfx/navi_button_4.gif');
}

#navi_button_5 {
	background:url('gfx/navi_button_5.gif');
}

#navi_button_6 {
	background:url('gfx/navi_button_6.gif');
}

#sponsor {
	width:135px;
	background:url('gfx/sponsor.gif');
	text-align:left;
	vertical-align:top;
	padding-top:33px;
	padding-left:62px;
}

#sponsor a {
	padding-left:20px;
	padding-right:40px;
	padding-top:16px;
	padding-bottom:8px;
}

#subnavi_bg {
	height:13px;
	background: url('gfx/subnavi_bg.gif') repeat-x;
}

a.subnavi_elem {
	height:13px;
	width:75px;
	color:#D2D2D2;
	text-align:center;
	display:block;
	float:left;
	background: url('gfx/subnavi_elem.gif');
}

a.subnavi_elem:hover {
	text-align:center;
	text-decoration:none;
	background: url('gfx/subnavi_elem_hover.gif');
}

#site_content {
	width:980px;
	height:100%;
	background: url('gfx/site_content_bg.gif');
}

#right_navi,
#left_navi {
	width:211px;
	background: url('gfx/navi_bg.gif') repeat-y;
	float:left;
	margin-bottom:30px;
}

#content {
	position:relative;
	left:2px;
	height: auto;
	min-height: 290px;
	width:547px;
	float:left;
	margin-bottom:10px;
	padding-top:7px;
	padding-bottom:22px;
	padding-left:3px;
	padding-right:2px;
	background: #EEEEEE url('gfx/content_footer.gif') no-repeat;
	background-position:bottom;
}

#right_navi {
	position:relative;
	left:5px;
}

.navi_inner {
	position:relative;
	width: 205px;
	height: auto;
	min-height: 70px;
	padding-left:6px;
	padding-right:7px;
	padding-top:6px;
	background: url('gfx/navi_inner_bg.gif') no-repeat;
}

.navi_elem_top {
	position:relative;
	width:190px;
	height:4px;
	line-height:4px;
	margin-left:4px;
	background: url('gfx/navi_elem_top.gif');
}

.navi_elem {
	position:relative;
	width: 188px;
	margin-left:4px;
	padding-left:2px;
	background: url('gfx/navi_elem_bg.gif');
}

.navi_elem_bottom {
	position:relative;
	width:190px;
	height:6px;
	line-height:6px;
	margin-left:4px;
	background: url('gfx/navi_elem_bottom.gif');
}

.nextwar_elem,
.servers_elem,
.lastwar_elem {
	position:relative;
	width:188px;
	height:46px;
	background: url('gfx/navi_elem_box.gif');
}

.servers_elem .arrow_spacer,
.servers_elem .game {
	float:left;
	margin:13px 3px;
}

.nextwar_elem .game,
.lastwar_elem .game{
	position:absolute;
	width:43px;
	height:36px;
	left:6px;
	top:4px;
}

.servers_elem .title,
.nextwar_elem .enemy,
.lastwar_elem .enemy{
	position:absolute;
	left:61px;
	top:6px;
	font-weight:bold;
	color:#B3B1B2;
}

.servers_elem .ip,
.nextwar_elem .date,
.lastwar_elem .gamename{
	position:absolute;
	left:61px;
	top:17px;
	color:#6B6B6B;
}

.servers_elem .hlsw,
.nextwar_elem .clock,
.lastwar_elem .result{
	position:absolute;
	left:61px;
	top:28px;
}
.lastwar_elem .draw{
	color:#E7B818;
}
.lastwar_elem .won{
	color:#3A7010;
}

.lastwar_elem .lost{
	color:#701010;
}

.servers_elem .ip,
.servers_elem .hlsw,
.nextwar_elem .date,
.nextwar_elem .clock,
.lastwar_elem .none{
	color:#FFFFFF;
}

.servers_elem .title,
.servers_elem .ip,
.servers_elem .hlsw {
	left:50px;
}

#votings_questionbox {
	position:relative;
	width:146px;
	margin-left:4px;
	margin-bottom:5px;
	padding:16px;
	padding-left:16px;
	color:#9F9F9F;
	border:1px solid #0B0B0B;
	background: url('gfx/votings_questionbox.gif');
	text-align:center;
}

.count_elem,
.votings_answer {
	position:relative;
	width:178px;
	height:26px;
	color:#FFFFFF;
	margin-left:3px;
	padding-left:3px;
	line-height:250%;
	background: url('gfx/navi_elem_smallbox.gif');
}

.arrow_spacer{
	float:left;
	width:15px;
	height:20px;
	margin:3px 5px;
	background: url('gfx/arrow_spacer.gif');
}

.votings_answer label {
	padding-left:3px;
}

input.login {
	width:88px;
	height:15px;
	background-image:url('gfx/login_input_bg.gif');
	border-width:0px;
	padding-left:3px;
	padding-right:3px;
	position:relative;
	top: -3px;
}

input.login_submit {
	position:relative;
	top:3px
}

input.login_submit,
input.no_style {
	background:none;
	border-width:0px;
	padding:0px;
}

.forum {
	width:547px;
}

.forum_footer {
	width:547px;
	height:29px;
	background:url('gfx/headf.gif') no-repeat;
}

.headb {
	width:529px;
	height:24px;
	padding:0px 9px;
	background:url('gfx/headb.gif');
	line-height:250%;
}

.headb_l {
	width:95%;
	text-align:left;
	float:left;
}

.headb_r {
	width:50%;
	text-align:right;
	float:right;
}

.news_kat_game {
	width:131px;
	height:131px;
	padding:5px;
	background:url('gfx/news_kat_game.gif');
	margin-bottom:2px;
}

.news_kat_name {
	position:relative;
	width:141px;
	height:18px;
	line-height:180%;
	text-align:center;
	color:#717574;
	background:url('gfx/news_kat_name.gif');
}

#head {
	background-color:#C2C2C2;
	border:2px solid #777777;
	color:#333333;
	font-size:25pt;
	height:100px;
	margin-bottom:20px;
	text-align:center;
	width:100%;
}
#debug {
	height:150px;
	margin-bottom:20px;
	overflow:auto;
	padding-left:4px;
	width:100%;
	text-align:left;
}
#errors {
	color:#CC0066;
}
#sql {
	color:#777777;
}
.h1 {
	color: #222222;
	font-size: 14pt;
	font-weight: bold;
	text-decoration: none;
}
.h2 {
	color: #222222;
	font-size: 16pt;
	font-weight: normal;
	text-decoration: none;
}
.h3 {
	color: #222222;
	font-size: 20pt;
	font-weight: normal;
	text-decoration: none;
}
.left,.center,.right {
	padding:1px;
}
.leftb,.centerb,.rightb {
	color:inherit;
	padding:4px 6px 4px 8px;
}
.leftc,.centerc,.rightc {
	color:inherit;
	padding:4px 6px 4px 8px;
}
.left,.leftb,.leftc {
	text-align:left;
}
.center,.centerb,.centerc {
	text-align:center;
}
.right,.rightb,.rightc {
	text-align:right;
}
.quote {
	background-color:#9B9B9B;
	border:1px solid #777777;
	color:inherit;
	padding:6px;
	text-align:left;
}
.calhead {
	background-color:#BEBEBE;
	color:inherit;
	padding:4px 2px 4px 2px;
	text-align:center;
}
.calday,.calevent,.caltoday, .calweek {
	padding:4px 2px 4px 2px;
	text-align:right;
}
.calday {
	background-color:#9B9B9B;
	color:inherit;
}
.calevent {
	background-color:#9B9B9B;
	color:inherit;
}
.caltoday {
	background-color:#77B2B2;
	color:inherit;
}
.calweek {
	background-color:#CDCDCD;
	color:inherit;
}