body {
    font: 11px/13px Arial, Tahoma;
    background: #fff;
    color: #fff;
}

body, h1, h2, h3, h4, h5, h6, ul, ol, li, dd, dt, form, input, select, textarea, p {
    margin: 0;
    padding: 0;
}

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

a img {
    border: 0;
}

ul {
    float: left;
    list-style: none;
}

li {
    float: left;
}

#wrapper {
    width: 750px;
    margin: 0 auto;
}

#header, #container, #footer {
    float: left;
    width: 750px;
}

#header {
    padding: 6px 0 0 0;
    margin: 0 0 3px 0;
    height: 130px;
    background: url(images/header_bg.jpg) no-repeat center top;
    position: relative;
}
/*
#logo {

	z-index: 200;
	margin: 0;
	padding: 0;
	width: 218px;
	height: 115px;
	overflow: hidden;
	background: url(images/hobowars_logo.gif) no-repeat center center;
}

#logo a {
	display: block;
	padding-top: 60px;
	font-size: 1px;
}
*/
#menu {
    position: relative;
    z-index: 10;
    width: 525px;
    height: 39px;
    padding-left: 225px;
    top: 78px;
    background: url(images/menu_bg.gif) repeat-x 0 0;
}

#menu li {
    position: relative;
    height: 39px;
    font-size: 1px;
    text-indent: -1000em;
}

#menu li a {
    height: 39px;
    display: block;
    position: relative;
    z-index: 200;
    outline: 0;
}

#menu li a:hover {
    background-position: 0 -39px !important;
}


#menu li a img {
    display: block;
}

#menu li#home a {
    width: 100px;
    background: url(images/menu_home.gif) no-repeat 0 0;
    border-right: 1px solid #eee;
}

#menu li#reg a {
    width: 0px;
    background: url(images/menu_reg.gif) no-repeat 0 0;
    border-right: 1px solid #eee;
}

#menu li#comm a {
    width: 0px;
    background: url(images/menu_comm.gif) no-repeat 0 0;
    border-right: 1px solid #eee;
}

#menu li#help a {
    width: 0px;
    background: url(images/menu_help.gif) no-repeat 0 0;
}

#menu li#home a#sel {
    background-position: 0 -39px !important;
}
#menu li#reg a#sel {
    background-position: 0 -39px !important;
}
#menu li#comm a#sel {
    background-position: 0 -39px !important;
}
#menu li#help a#sel {
    background-position: 0 -39px !important;
}


/*
#logo { clear: right; float: left; left: 0; width: 196px; position: absolute; margin: 0 0 0 5px; z-index: 190;}
#logo h1 { width: 218px; height: 115px; font-size: 1px; text-indent: -1000em; background: url(images/hobowars_logo.gif) no-repeat center;}
#logo h1 img { display: block;}
#logo h1 a { display: block; height: 108px; position: relative; z-index: 200; outline: 0;}
#logo span { color: #fff;margin:0 0 0 20px;display:block;}

#logo { left: 10px; width: 196px; position: absolute; margin: 0 0 0 5px;}
#logo h1 { width: 218px; height: 115px; font-size: 1px; text-indent: -1000em; background: url(images/hobowars_logo.gif) no-repeat center;}
#logo h1 img { display: block;}
#logo h1 a { display: block; height: 108px; position: relative; z-index: 200; outline: 0;}
#logo span { color: #fff;margin:0 0 0 20px;display:block;}
*/


#logo {
z-index:20;
}

#logo img {
float:left;
z-index:20;
position:absolute;
margin: 0 0 0 5px;
}

#logo span { z-index:20;color: #fff;margin:0 0 0 27px;display:block;position:relative;top:115px;}


.block {
    float: left;
}

#loginBlock {
	clear: both;
    z-index:20;
    position: absolute;
    width: 164px;
    padding: 10px 12px 8px;
    background: #000;
    right: 6px;
    top: 8px;
}

#loginBlock label {
    position:relative;
    font-size:1em;
    top:8px;
    left:5px;
}
#loginBlock label a {
    margin-left:4px;
    text-decoration:underline;
}
#loginBlock label a:hover {
    text-decoration:none;
}
#loginBlock input {
    float: left;
    border: 0;
}
#loginBlock .submit {
    width:70px;
}

#loginBlock div#loggedin {
    line-height:20px;
}
#loginBlock div#loggedin a {
    text-decoration: underline;
}
#loginBlock div#loggedin b {
    font-size:1.5em;
}

.text {
    width: 155px;
    font: 14px Arial;
    padding: 4px 5px 5px;
    color: #ccc;
}

#loginBlock input.text {
    margin: 7px 0 0;
}
#loginBlock span a:hover {
	text-decoration:underline;
}

#user {background:white url(images/user2.gif) no-repeat 3px center;padding-left:23px;width:137px;color:black;font-weight:bold;font-size:13px;}
#pass {background:white url(images/pass2.gif) no-repeat 3px center;padding-left:23px;width:137px;color:black;font-weight:bold;font-size:13px;}

.submit {
    font: 9px Arial;
    margin: 6px 0 0;
    padding: 3px 4px 2px;
    color: #fff;
    background: #414141;
    cursor: pointer;
    float: left;
    border: 0;
}

#loginBlock input.registerSubmit {
    margin: 6px 4px 0;
}

.submit:hover {
    background: #d80000;
}

#loginBlock input.checkbox {
    float: left;
    margin: 9px 2px 0 5px;
}

#container {
    background: #fff url(images/content_bg.gif);
}

#container a {
    color: blue;
}
#container a:hover {
    color: red;
    text-decoration:underline;
}

#leftSide {
    float: left;
    width: 400px;
    padding: 0 0 5px;
    background: #fff;
}

.community #battlesBlock {
    width: 394px;
    padding: 78px 3px 3px;
    background: #000 url(images/block_community1.jpg) no-repeat 0 0;
}

.community #fightsBlock {
    width: 341px;
    padding: 78px 3px 3px;
    background: #000 url(images/block_community2.jpg) no-repeat 0 0;
    margin: 0 0 3px;
}

#battlesBlock {
    width: 394px;
    padding: 78px 3px 3px;
    background: #000 url(images/block_battles.jpg) no-repeat 0 0;
}

#battlesBlock input.submit {
    margin: 2px;
}

#battlesBlock ul.tabMenu {
    width: 294px;
    padding: 0 0 2px 1px;
    /*background: url(images/block_battles_tabs.gif) no-repeat 6px 0;*/
}

#battlesBlock ul.tabMenu li {
    padding: 4px 3px 2px;
    margin-left: 5px;
    background: #000;
}

#battlesBlock ul.tabMenu li a {
    color: #b3b3b3;
    padding: 1px 10px 4px 10px;
}

#battlesBlock ul.tabMenu li a:hover {
    background: #fff;
    text-decoration: underline;
}

#battlesBlock ul.tabMenu li.active a, #battlesBlock ul.tabMenu li.active a:hover {
    color: #6b6b6b;
    background: #fff;
    text-decoration: none;
}

#battlesBlock #topRankedBlock, #battlesBlock #newsBlock, #toplistBlock, #topgangBlock {
    padding: 5px 12px 8px;
    color: #6b6b6b;
    width: 370px;
    background-color: #fff;
}
#toplistBlock h2, #topgangBlock h2 {
margin: 4px 0 6px;
font: bold 17px Arial;
color:#000;
}
#toplistBlock ul, #topgangBlock ul {
    border-top: 1px solid #efefef;
}

#toplistBlock li, #topgangBlock li {
    padding: 5px 0 5px 0;
    border-bottom: 1px solid #efefef;
    width: 370px;
}
#toplistBlock a, #topgangBlock a {
    color: #6b6b6b;
}
#toplistBlock a.mainLink, #topgangBlock a.mainLink {
    width: 250px;
    font: bold 13px Arial;
    line-height: 16px;
}
#toplistBlock span#amount, #topgangBlock span#amount {
    float: right;
    font: normal 14px Arial;
    color:#999;
    padding: 0 4px 0 0;
}
#toplistBlock span a:hover, #toplistBlock a.mainLink:hover, #topgangBlock span a:hover, #topgangBlock a.mainLink:hover {
    color: #d80000;
}

#battlesBlock #battlesRecommendedBlock {
    padding: 5px 12px 8px;
    color: #6b6b6b;
    width: 370px;
    background: #fff url(images/block_battles_recommend.jpg) no-repeat right bottom;
}

#battlesRecommendedBlock li {
    padding: 5px 0;
    border-bottom: 1px solid #efefef;
}

#battlesRecommendedBlock a {
    color: #6b6b6b;
}

#battlesRecommendedBlock a span {
    float: left;
    font: normal 11px Arial;
}

#battlesRecommendedBlock a:hover, #battlesRecommendedBlock span a {
    color: #d80000;
}

#battlesRecommendedBlock span a:hover {
    text-decoration: underline;
}

#battlesRecommendedBlock a.right {
    float: right;
    font-size: 9px;
    margin: 15px 10px 0 0;
}

#battlesRecommendedBlock span#fight {
    float: left;
    width: 370px;
    font: bold 13px Arial;
    line-height: 16px;
}


#rightSide {
    float: left;
    clear:right;
    width: 347px;
    padding: 0 0 0 3px;
    background: #fff;
}

#fightsBlock {
    width: 341px;
    padding: 78px 3px 3px;
    background: #000 url(images/block_fights.jpg) no-repeat 0 0;
    margin: 0 0 3px;
}

#fightsBlock ul {
    /*padding: 0 0 2px 80px;*/
    padding: 0 0 2px 1px;
    width: 261px;
    /*background: url(images/block_fights_tabs.gif) no-repeat 10px 0;*/
}

#fightsBlock li {
    padding: 4px 3px 2px;
    margin-left: 5px;
    background: #000;
}

#fightsBlock li a {
    color: #b3b3b3;
    padding: 1px 10px 4px 10px;
}

#fightsBlock li.active a {
    color: #6b6b6b;
    background: #fff;
}

#fightsBlock li a:hover {
    color: #b3b3b3;
    background: #fff;
    text-decoration: underline;
}

#fightsCountBlock, #registersCountBlock {
    width: 326px;
    height: 92px;
    padding: 5px 0 0 15px;
    background: #fff;
    color: #6b6b6b;
}

#recentlyBlock, #newestBlock {
    width: 326px;
    padding: 5px 0 0 15px;
    background: #fff;
    color: #6b6b6b;
    height:260px;
}

#recentlyBlock a, #newestBlock a {
color:black;
}

#recentlyBlock img, #newestBlock img {
max-width:90px;
width: expression(this.width > 90 ? 90: true);
max-height:90px;
height: expression(this.height > 90 ? 90: true);
overflow: hidden;
border: 1px solid black;
margin-top:3px;

}

#newestBlock {
    display: none;
}

#registersCountBlock {
    display: none;
    background: #fff url(images/block_population_count.jpg) no-repeat top right;    
}

#fightsCountBlock {
    background: #fff url(images/block_fights_count.jpg) no-repeat top right;
}

#fightsCountBlock h3, #registersCountBlock h3 {
    font: bold 52px Arial;
    line-height: 60px;
    letter-spacing: -1px;
}

#fightsCountBlock h4, #registersCountBlock h4 {
    font-size: 18px;
    line-height: 14px;
    letter-spacing: -1px;
}

#tutorialBlock {
    width: 321px;
    height: 73px;
    padding: 10px 13px 15px;
    background: #000 url(images/tutorial_bg.jpg) no-repeat top right;
    font-size: 9px;
    margin: 0 0 3px;
}

#tutorialBlock h2 {
    float: left;
    width: 186px;
    height: 46px;
    margin: 5px 0;
    font-size: 1px;
    text-indent: -1000em;
    background: url(images/link_tutorial.gif) no-repeat center;
}

#tutorialBlock h2 img {
    display: block;
}

#tutorialBlock h2 a {
    display: block;
    height: 46px;
    position: relative;
    z-index: 200;
    outline: 0;
}

#tutorialBlock span {
    float: left;
    width: 186px;
}

#aboutBlock {
    width: 327px;
    height: 30px;
    padding: 0 10px 0 10px;
    background-color: #627794;
    font-size: 12px;
    line-height:30px;
    margin: 0 0 3px;
    font-weight:bold;
}
#aboutBlock a, #aboutBlock a:hover {
color:white;
}

#registerBlock {
    width: 347px;
    background: #000;
    color: #b3b3b3;
    margin-bottom:3px;
}

#registerBlock input {
    border: 0;
}

#registerBlock .button {
    border: 1px solid #0081CB;
    font-size: 10pt;
}

#loginRegister, #nickRegister, #emailRegister {
    background-color:#FFFFA0;
    color:#000;
    font-weight:bold;
}

#registerBlock .label {
    float: left;
    width: 99%;
    font-size: 9px;
    margin: 4px 0 3px 4px;
}

#registerBlock div div {
    float: left;
    width: 99%;
    margin: 3px 0 2px;
    font-size: 12px;
}

#registerBlock div div input {
    vertical-align: middle;
}

#registerBlock div div label {
    margin: 0 8px 0 5px;
}

#registerBlock div div input.radio {
    margin-top: -3px;
}

#registerBlock .submit {
    padding:5px 30px 5px 30px;
    font-size:1.1em;
}

#footer {
    width: 720px;
    margin: 5px 0 0;
    padding: 10px 15px;
    background: #414141;
    color: #aaa;
    position: relative;
}

#footer a {
    color: #aaa;
}

#footer ul {
    float: right;
}

#footer li {
    margin-left: 15px;
}

#footer ul a:hover {
    border-bottom: 1px solid #aaa;
}

#footer h3 {
    font: normal 14px Arial;
    margin-bottom: 3px;
}

#footer h3 a {
    font-weight: bold;
}

#footer p {
    color: #fff;
    line-height:16px;
}
#footer p img {
    margin-right:5px;
}
#footer p a {
    color: #fff;
}
#footer p a:hover {
	text-decoration:underline;
}
#footer span {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #202020;
    font-size: 9px;
    padding: 4px 8px 3px;
    color: #585858;
}

#footer span a {
    color: #585858;
}

#footer span a:hover {
    color: #aaa;
}

#footer span span {
    display: none;
}

#footer div#hb {
    float:left;
    position:relative;
    top:-3px;
    left:-5px;
    font-size: 1px;
    text-indent: -1000em;
    margin-right:5px;
}

#footer div#hb a {
    display:block;
    height: 45px;
    width:45px;
    outline: 0;
    background: url(images/hellbored_logo.gif) no-repeat 0 0;    
}
#footer div#hb a:hover {
    background-position: 0 -45px !important;
}


#contentBlock {
    width: 100%;
    padding: 38px 0 0;
    font-size:9pt;
    float:left;
}

#contentBlock a {
    color: blue;
    text-decoration: underline;
}

#contentBlock a:hover {
    color: red;
}


#contentBlock h1 {

    position: relative;
    top: -17px;
    left:20px;
    color: black;
    font-size:30px;
    font-weight:bold;

}

#contentBlock ul.tabMenu {
float:left;
    width: 494px;
    padding: 0 0 0 1px;
    z-index:3;
}

#contentBlock ul.tabMenu li {
    padding: 11px 2px 8px;
    margin-left: 10px;
    background: #000;
}

#contentBlock ul.tabMenu li a {
    color: #b3b3b3;
    padding: 8px 20px 8px 20px;
    font-size:10pt;
    
}

#contentBlock ul.tabMenu li a:hover {
    background: #fff;
    text-decoration: underline;
}

#contentBlock ul.tabMenu li.active a, #contentBlock ul.tabMenu li.active a:hover {
    color: #6b6b6b;
    background: #fff;
    text-decoration: none;
}

#contentBlock .tabpage {
    position: relative;
    float: left;
    margin:5px;
    padding: 10px;
    color: #000;
    width: 717px;
    background-color: #fff;
    border: 2px solid #B7B7B7;
    z-index:1;
}

.button {
    font-size:1.1em;
    font-weight:bold;
    padding: 4px 4px 4px 4px;
    border: 1px solid #0081CB;
    background: white url(images/button_bg.gif) repeat-x center;  
    cursor:pointer;
}
.button:hover {
    background: white url(images/button_bg2.gif) repeat-x center;  
}

div#registerBlock .formtitle {
    font-size:1.3em;
    font-weight:bold;
    margin-left:5px;
}

div#registerBlock input.textinput {
    font-size:1.1em;
    font-weight:bold;
    padding: 4px 4px 4px 4px;
    margin: 0 2px 0 2px;
    width:270px;
    border: 1px solid #0081CB;
}

div#tacBlock p {
margin-top:10px;
}

div#rulesBlock .style7 {
   font-weight:bold;
}

#pollBlock {
    width: 328px;
    padding: 4px 9px 4px 4px;
    background: #fff;
    font-size: 12px;
    margin: 0 0 3px;
    color:#000;
    border: 3px solid black;
}

#pollBlock div#title {
width:100%;
padding:7px 0 7px 5px;
background-color:#000;
color:#fff;
font-weight:bold;
font-size:1.4em;
margin-bottom:8px;
}

#pollBlock table, #pollBlock div#desc {
margin-bottom:6px;
}

#pollBlock table#perc {
margin: 4px 0 0 0;
height:15px;
}

#searchBlock {
    margin-top:3px;
    padding: 10px 12px 12px;
    color: #6b6b6b;
    width: 370px;
    background-color: #FFF8D1;
    border:3px solid #FDE9AE;
}
#searchBlock span {
    color: #45556A;
    font-weight:bold;
    font-size:1.2em;
}
#searchBlock form {
margin-top:10px;
}
#searchBlock input {
    padding:5px;
    border: 1px solid #889EB6;
    background-color:#fff;
}
#searchBlock input#search {
    color:#999999;
    width:170px;
    padding:6px;
    margin-right:3px;
}
#searchBlock select {
    padding:4px;
    width:130px;
    margin-right:3px;
}    

div#profileBlock {
    font: 11px Verdana;
}

div#profileBlock a {
    text-decoration:none;;
}

div#errorbox{
  margin:10px;
  padding:7px;
  color: red;
  background-color:#FFE6E6;
  border: 1px solid #FFA9A9;

}
div#successbox{
  margin:10px;
  padding:7px;
  color: green;
  background: #F0FFEC;
  border: 1px solid green;
}

#hellboredBlock {
    width: 341px;
    padding: 0;
    background: #fff;
    font-size: 12px;
    margin: 0 0 3px;
    color:#000;
    border: 3px solid #F6F6F6;
}

#hellboredBlock div#newgames div#title {
padding:10px 0 10px 6px;
font-size:1.2em;
background: url('images/content_bg2.gif');
border-bottom:1px solid #ccc;
font-weight:bold;
}
#hellboredBlock div#newgames div#title a {
color:black;
text-decoration:underline;
}

#hellboredBlock div#newgames table {
font-size: 0.9em;
}



#hellboredBlock div#newgames a {
text-decoration:none;
}



#hellboredBlock div#newgames a span#name {
  display:block;
  padding-top: 2px;
  padding-bottom: 4px;
  font-size: 1.17em;
  color:#000;
  font-weight:bold;
}

#hellboredBlock div#newgames a:hover span#name {
  color: #FFCD00;
}

#hellboredBlock div#newgames a img{
  border: 1px solid #ccc;
  padding:3px;
  max-height:60px;
  text-align:center;
  margin:2px 0 2px;
}

#hellboredBlock div#newgames a:hover img{
  border-color: #FFCD00;
}

#hellboredBlock div#newgames div#brief {
color: #A1A1A1;
}

#hellboredBlock div#newgames div#score{
  color: #000;
  font-size: 1.2em;
  font-weight:bold;
}

#hellboredBlock div#newgames big{
  margin: 0;
  padding: 0;
  margin-top:7px;
  display: block;
  font-weight: bold;
  font-size: 3.00em;
  color: #fff;
}
