body {
  background-color:#828282;
  font-size: 12px;
  font-family:Arial, Helvetica, sans-serif;
  margin:10px auto 0;
}

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

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

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

#head, #debug, #bottom {
  width: 98%;
  background-color: #FFFFFF;
  border: 1px solid #888888;
  padding: 5px 1%;
  color: #757575;
  font-family: Tahoma;
}
#head {
  height: 100px;
  font-size: 60px;
  letter-spacing: 5px;
  text-align: center;
}
#debug {
  overflow: auto;
  font-size: 10px;
  line-height: 150%;
}
#head span {
  color: #B91F1D;
}
#head div {
  font-size: 12px;
  font-family: Tahoma;
  letter-spacing: 1px;
}
#bottom {
  clear: both;
  margin-bottom: 20px;
  text-align: center;
}
#errors {
  color:#DD3300;
}
#sql {
  color:#666666;
}
#nav-left {
  float: left;
  width: 16%;
  margin-bottom: 20px;
}
#nav-left a {
  border-right: 1px solid #888888;
  border-left: 1px solid #888888;
  border-bottom: 1px solid #888888;
  display: block;
  text-decoration: none;
  color: #000000;
  padding: 2px 0 2px 15px;
  background-color: #FFFFFF;
  font-family: Arial;
  font-size: 13px;
}
.dark {
  background-color: #F0F0F0 !important;
}
#nav-left a:hover {
  padding-left: 3px;
  border-right: 4px solid #BA1616;
}
#nav-left a:hover:before {
  content:"» ";
}
* html #nav-left a:hover, *:first-child+html #nav-left a:hover {
  padding-left: 15px;
}
#content {
  float: left;
  width:64%;
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: 12px;
  font-family: Tahoma;
  position: relative;
}
#nav-right {
  float: right;
  margin-bottom: 20px;
  width: 20%;
}
.navbody { 
  border-left: 1px solid #888888;
  border-right: 1px solid #888888;
  border-bottom: 1px solid #888888;
  background-color: #FFFFFF;
  padding:4px 6px 4px 8px;
  color: #000000;
  font-family: Arial;
  font-size: 13px; 
}
.navbody td {
  font-size: 13px; 
}
#nav-left div, .navhead {
  margin-top: 20px;
  border: 1px solid #888888;
  color: #B91F1D;
  border-right: 4px solid #BA1616 !important;
  font-family: Tahoma;
  letter-spacing: 3px;
  padding:4px 6px 4px 8px !important;
  background-color: #FFFFFF;
  font-size: 16px;
}
#counter span {
  float: right;
}

#ajax_loading {
  position:absolute;
  top:20px;
  right:60px;
}


/*============================================================
 Wrapper
============================================================*/

#wrap_outter {
		background: url(../images/background.png) repeat-y;
		margin: 0 auto;
		width: 956px;
		}
		
#wrap {
		margin: 0 0 0 140px;
		width: 906px;
		}

/*============================================================
 Layout
============================================================*/

#header {
		background: url(../images/header_background.png) no-repeat;
		display: block;
		height: 170px;
		width: 956px;
		}
		
/* Sidebar Left
------------------------------------------------------------*/

#sidebar_left {
		background: url(../images/left_image_1.png) no-repeat 0 0;
		float: left;
		padding: 94px 0 0 0;
		width: 163px;
		}

#navigation {
		background: url(../images/left_image_2.png) no-repeat 0 100%;
		list-style: none;
		margin: 0;
		padding: 0 0 72px 5px;
		}
		
#navigation a {
		display: block;
		height: 33px;
		}

#navigation .home {
		background: url(../images/navi_home.png) no-repeat 0 0;
		}

#navigation .news {
		background: url(../images/navi_news.png) no-repeat 0 0;
		}

#navigation .forum {
		background: url(../images/navi_forum.png) no-repeat 0 0;
		}
		
#navigation .servers {
		background: url(../images/navi_servers.png) no-repeat 0 0;
		}
		
#navigation .members {
		background: url(../images/navi_members.png) no-repeat 0 0;
		}
		
#navigation .history {
		background: url(../images/navi_history.png) no-repeat 0 0;
		}
		
#navigation .gbook {
		background: url(../images/navi_gbook.png) no-repeat 0 0;
		}
		
#navigation .contact {
		background: url(../images/navi_contact.png) no-repeat 0 0;
		height: 30px;
		}

#sub_navigation {
  background: url(../images/left_image_3.png) no-repeat 0 0;
  list-style: none;
  height: 267px;
  padding: 20px 0 0 16px;
}

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

#content {
		background: url(../images/content_image_1.png) no-repeat 0 0;
		float: left;
		margin: 7px 0 0 7px;
		min-height: 46px;
		width: 466px;
		}
		
#background {
		background: url(../images/content_box_bg.png) repeat-y;
		display: block;
		margin: 56px 0 0;
		}

#content_box {
		background: url(../images/content_box_top.png) no-repeat;
		padding: 74px 0 0 6px;
		margin: 10px 0 0;
		}
		
#server {
		background: url(../images/content_box_server.png) no-repeat;
		float: left;
		height: 185px;
		margin: 0 2px 0 0;
		width: 317px;
		}
#server h2 a {
		display: block;
		font-size: 16px;
		text-align: center;
		text-decoration: none;
		margin: 14px 0 20px;
		padding: 0;
		}
			
#server p { margin-left: 20px; }

#wars { 
		background: url(../images/content_box_wars.png) no-repeat;
		float: left;
		height: 185px;
		width: 131px;
		}
		
#wars h2 {
		font-size:14px;
		text-align:center;
		margin:8px 0 20px;
		padding:0;
		}
		
#wars p { margin:0 25px 5px 20px; }

#history {
		background: url(../images/content_box_history.png) no-repeat;
		float: left;
		margin: 2px 4px 0 2px;
		height: 183px;
		width: 222px;
		}
		
#history h2 {
		font-size: 14px;
		text-align: center;
		margin: 8px 0 20px;
		padding: 0;
		}
		
#history p {
		font-size: 11px;
		margin: 0 25px 7px 20px;
		line-height: 1.5;
		text-align: justify;
		}

#calendar {
		background: url(../images/content_box_history.png) no-repeat;
		float: left;
		margin: 2px 0 0;
		height: 183px;
		width: 222px;
		}
		
#calendar h2 {
		font-size: 14px;
		text-align: center;
		margin: 8px 0 15px;
		padding: 0;
		}
		
#content_content {
		background: url(../images/content_content_bg.png) repeat-y;
		clear: both;
		margin: 5px 0 0 2px;
		width: 448px;
		}
		
#content_content_box {
		background: url(../images/content_content_top.png) no-repeat;
		padding: 55px 20px 0 18px;
		}
	
/* Sidebar Right
------------------------------------------------------------*/

#sidebar_right {
		float: left;
		margin: 0 0 0 6px;
		width: 164px;
		}

#login {
		background: url(../images/right_login.png) no-repeat; 
		height: 134px;
		padding: 100px 25px 0 25px;
		width: 114px;
		}

#banner {
		background: url(../images/right_poll.png) no-repeat;
		height: 131px;
		margin: 0 0 0 5px;
		padding: 80px 0 0;
		text-align: center;
		width: 157px;
		}

#ts3 {
		background: url(../images/right_poll.png) no-repeat;
		height: 131px;
		margin: 0 0 0 5px;
		padding: 80px 0 0;
		text-align: center;
		width: 157px;
		}
#ts3 h2 {
		font-size: 12px;
		font-weight: bold;
		margin-bottom: 15px;
		}		
		
#counter {
		background: url(../images/right_teamspeak.png) no-repeat;
		height: 155px;
		margin: 0 0 0 5px;
		padding: 60px 25px 0 20px;
		text-align: center;
		width: 112px;
		}
		
#counter h2 {
		font-size: 12px;
		font-weight: bold;
		margin-bottom: 15px;
		}
#counter div {
		float: left;
		text-align: right;
		margin: 0 15px 0 0;
		width: 30px;
		}

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

#footer {
		background: url(../images/footer_background.png) no-repeat;
		clear: both;
		height: 95px;
		margin: 60px 0 0;
		}

#footer a {
		color:#666;
		float:right;
		font-size:14px;
		font-weight:bold;
		text-decoration:none;
		margin:43px 40px 0 0;
		}
		
#footer a:hover { text-decoration:underline; }

/* News
------------------------------------------------------------*/

#news_content {
		background:url(../images/content_content_bg.png) repeat-y;
		float:left;
		margin:5px 0 0 2px;
		width:448px;
		}
		
#news_content_box {
		background: url(../images/content_content_top.png) no-repeat;
		padding: 2px 20px 5px 18px;
		}
		
#news_content_bottom {
	background: url(../images/content_content_bottom.png) no-repeat;
	height: 37px;
	padding: 15px 20px 0 18px;
	}
	
#news_content_box h2 { text-align: center; font-size: 16px; }

#news_text { line-height: 1.5; padding: 15px 0 0;}