IMG{
   border:0px;
}
html,body {
   margin:0 0 1px 0;
   height:100%;
}
      
body{
   background-image:url(/images/header_fon.jpg);
   background-position: center top;
   background-repeat: no-repeat;
   background-color: #000000;
   color: #eaeaea;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 13px;
   margin: 0pt;
}
form {
	margin: 0px;
	padding: 0px;
}
h2{
   font-size: 22px;
   margin: 4px 0;
}
h3{
   font-size: 18px;
   margin: 4px 0;
}
h4{
   font-size: 16px;
   margin: 4px 0;
}
h5{
   font-size:14px;
   line-height:24px;
   margin:0;
}
h6{
   font-size:11px;
   margin:0;
}
input{
	margin: 4px 0;
   font-size: 16px;
	border: 1px solid #666666;
	background-color: #cccccc;
}
.smallbutton{
   font-size: 14px;
   padding: 0px 4px;
}
.header{
   background-image:url(/images/header.png);
   background-position: left top;
   background-repeat: repeat-x;
   height: 80px;
   width: 800px;
}
.table{
   background-color: #1a1a1a;
   margin: 0pt auto;
}
.headertable{
   margin:4px auto 0;
}
.footertable{
   margin: 0pt auto;
	margin-bottom: -30px;
}
.menu{
   font-size: 13px;
   padding: 4px 4px 4px 0;
}
.pagetable{
   margin: 0pt auto;
   padding: 0 4px 4px 4px;
}
a:link{
   color: #ffcc00;
   text-decoration: none;
}
a:active{
   color: #ffcc00;
   text-decoration: none;
}
a:visited{
   color: #ffcc00;
   text-decoration: none;
}
a:hover{
   color: #eaeaea;
   text-decoration: none;
}
.headermenu{
   text-align: left;
}
.headermenu a:link{
   background-color: #000000;
   color: #FFFFFF;
   text-decoration: none;
   font-weight: bold;
   font-size: 13px;
   padding: 4px 8px;
   line-height: 24px;

}
.headermenu a:active{
   background-color: #000000;
   color: #FFFFFF;
   text-decoration: none;
   font-weight: bold;
   font-size: 13px;
   padding: 4px 8px;
   line-height: 24px;

}
.headermenu a:visited{
   background-color: #000000;
   color: #FFFFFF;
   text-decoration: none;
   font-weight: bold;
   font-size: 13px;
   padding: 4px 8px;
   line-height: 24px;

}
.headermenu a:hover{
   background-color: #1f1f1f;
   color: #cccccc;
   text-decoration: none;
   font-weight: bold;
   font-size: 13px;
   padding: 4px 8px;
   line-height: 24px;

}
.title{
   background-image:url(/images/titlefon.png);
   background-position: left top;
   background-repeat: repeat-x;
   background-color: #000000;
   font-size: 16px;
   font-weight: bold;
   padding: 4px;
   color: #FFFFFF
}
.title2{
   background-image:url(/images/titlefon2.png);
   background-position: left top;
   background-repeat: repeat;
   background-color: #000000;
   font-size: 14px;
   font-weight: bold;
   padding: 4px;
   color: #FFFFFF;
	text-align: center;
}
.title3{
   background-image:url(/images/titlefon2.png);
   background-position: left top;
   background-repeat: repeat;
   background-color: #000000;
   font-size: 12px;
   font-weight: bold;
   padding: 4px;
   color: #e1e1e1;
	text-align: center;
}
.userblock{
   text-align: center;
}
.block{
   text-align: center;
   background-color: #0c0c0c;
   padding: 2px;
}
.block2{
   text-align: center;
   background-color: #131313;
   padding: 2px;
	border: 1px solid #0D0D0D;
}
.block3{
   text-align: center;
   background-color: #131313;
   padding: 2px;
}
.block4{
   text-align: center;
   background-color: #222222;
   padding: 2px;
}
.footer{
   text-align: center;
   background-color: #131313;
   border-top: 1px solid #000000;
   padding: 4px;
   margin-top: 10px;
}
.red{
   color: #ff0000;
}
.green{
   color: #339933;
}
.yellow{
   color: #FFCC00;
}
.blue{
   color: #0099ff;
}
.btn{
   float:right;
}

BODY .message{
   display:block;
   border: 1px solid #656565;
   background-color:#131313;
   padding-top:5px;
   padding-bottom:5px;
   margin-top:10px;
   margin-bottom:10px;
   text-align:center;
   width:100%;
}

hr{
   border:1px solid #999999;
   background-color:#fffedd;
   color:#fffedd;
   line-height:0px;
   height:0px;
}

.error{
   background-color: #FF0000;
   font-size: 18px;
}
.active{
   font-size: 13px;
}
.noactive{
   font-size: 13px;
   background-color:#ededed;
}

BODY.profile .username{
   color:  yellow;
}
BODY.profile #help{
   text-align: left;
   font-size: 16px;
   padding-bottom: 10px;
   border-bottom: 3px solid lightgray;
   margin-bottom: 10px;
}
BODY.profile #editor *, #profile *{
   line-height: 18px;
}
BODY.profile #editor , #profile{
   text-align: left;
   position: relative;
}
BODY.profile .btn{
   float: right;
}
BODY.profile .message{
   margin-top: 10px;
   margin-bottom: 10px;
   padding-top:  5px;
   padding-bottom:  5px;
   width: 100%;
   border: 1px solid blue;
   background-color:  lightblue;
}

BODY.riches #contests TR{
   background-color: lightgreen;
}

BODY.riches .row_progress{
   background-color: lightyellow;
}
BODY.riches .row_proposed{
   background-color: lightgreen;
}
BODY.riches .row_finished{
   background-color: white;
}
BODY.riches #contests TH{
   background-color: #333333;
   color: white;
   padding: 2px;
}
BODY.riches #contests TD{
   text-align: center;
   height: 24px;
}
BODY.riches #contests input{
   margin: 0px;
}
BODY.riches #contests input.delete{
   width:60px!important;
   font-size:12px!important;
}
BODY.riches TR.on.row_progress{
   background-color: yellow!important;
}
BODY.riches TR.off.win{
   background-color: #F6F4A4 !important;
}
BODY.riches TR.off.lose{
   background-color: #131313 !important;
}

BODY.users TR.row_0{
   background-color:  #CCCCCC;
   height: 24px;
}
BODY.users TR.row_1{
   background-color:  #dedede;
   height: 24px;
}
BODY.users TR.row_2{
   background-color:  #eaeaea;
   height: 24px;
}
BODY.users TR.row_3{
   background-color:  #f8f8f8;
   height: 24px;
}
BODY.users TR TH{
   background-color: #000000;
   color: #FFFFFF;
}
BODY.users TR TD{
   text-align: center;
}

BODY.chalenge TH{
   background-color: #F6F4A4;
}
BODY.chalenge TABLE.player TD{
   text-align:center;
}

.topuser{
   background-color: #131313;
   padding: 2px;
}

BODY.chalenge .label_winner{
   color: green;
}

BODY.chalenge .label_loser{
   color: blue;
}
.pagenumber{
   margin: 0 2px;
}
span.pagenumber{
   font-weight: bold;
}

.usernum1, .usernum2{
   float: left;
   padding-right: 5px;
}
.usernum1{
   padding: 0px;
}

BODY.contests TR.row_0{
   background-color:  #CCCCCC;
   height: 24px;
}
BODY.contests TR.row_1{
   background-color:  #dedede;
   height: 24px;
}
BODY.contests TR.row_2{
   background-color:  #eaeaea;
   height: 24px;
}
BODY.contests TR.row_3{
   background-color:  #f8f8f8;
   height: 24px;
}
BODY.contests #tablecontests TR TH{
   background-color: #000000;
   color: #FFFFFF;
}
BODY.contests #tablecontests TR TD{
   text-align: center;
}

BODY.mycontests #contests TR{
   background-color: lightgreen;
}

BODY.mycontests .row_progress{
   background-color: lightyellow;
}
BODY.mycontests .row_proposed{
   background-color: lightgreen;
}
BODY.mycontests .row_finished{
   background-color: white;
}
BODY.mycontests #contests TH{
   background-color: #333333;
   color: white;
   padding: 2px;
}
BODY.mycontests #contests TD{
   text-align: center;
   height: 24px;
}
BODY.mycontests #contests input{
   margin: 0px;
}
BODY.mycontests #contests input.delete{
   width:60px!important;
   font-size:12px!important;
}
BODY.mycontests TR.on.row_progress{
   background-color: yellow!important;
}
BODY.mycontests TR.off.win{
   background-color: #F6F4A4 !important;
}
BODY.mycontests TR.off.lose{
   background-color: #131313 !important;
}

A.link{
   color:blue!important;
   text-decoration:underline!important;
}

.adminvote{
   font-weight:bold;
}

.betting{
   margin-top: 10px;
   background-color: #131313;
   text-align: center;
   padding: 4px;
}

.menu .money{
   background-image:url(/images/money.png);
   background-position: left top;
   background-repeat: no-repeat;
   float: left;
   text-align: left;
   margin-right: 5px;
   font-weight: bold;
   width: 120px;
   height: 32px;
}
.menu .level{
   background-image:url(/images/level.png);
   background-position: left top;
   background-repeat: no-repeat;
   float: left;
   text-align: left;
   margin-right: 5px;
   font-weight: bold;
   width: 70px;
   height: 32px;
}
.menu .addedfamous{
   background-image:url(/images/added_famous.png);
   background-position: left top;
   background-repeat: no-repeat;
   float: left;
   text-align: left;
   margin-right: 5px;
   font-weight: bold;
   width: 80px;
   height: 32px;
}
.menu .famous{
   background-image:url(/images/famous.png);
   background-position: left top;
   background-repeat: no-repeat;
   float: left;
   text-align: left;
   margin-right: 5px;
   font-weight: bold;
   width: 120px;
   height: 32px;
}

a.profession {
	background:transparent url(/images/buttons/contest.png) no-repeat scroll 0 0;
	display:block;
	height:30px;
	margin-right:15px;
	width:150px;
}
a.profession:hover {
background-position:0 -30px;
}
a.city {
	background:transparent url(/images/buttons/city.png) no-repeat scroll 0 0;
	display:block;
	height:30px;
	margin-right:15px;
	width:150px;
}
a.city:hover {
background-position:0 -30px;
}
a.inventory {
	background:transparent url(/images/buttons/inventory.png) no-repeat scroll 0 0;
	display:block;
	height:30px;
	margin-right:15px;
	width:150px;
}
a.inventory:hover {
background-position:0 -30px;
}
a.shop {
	background:transparent url(/images/buttons/shop.png) no-repeat scroll 0 0;
	display:block;
	height:30px;
	margin-right:15px;
	width:150px;
}
a.shop:hover {
background-position:0 -30px;
}
a.setting {
	background:transparent url(/images/buttons/setting.png) no-repeat scroll 0 0;
	display:block;
	height:30px;
	margin-right:15px;
	width:150px;
}
a.setting:hover {
background-position:0 -30px;
}
a.faq {
	background:transparent url(/images/buttons/faq.png) no-repeat scroll 0 0;
	display:block;
	height:30px;
	margin-right:15px;
	width:30px;
}
a.faq:hover {
background-position:0 -30px;
}

.button_hover {
   border:0px;
}
.pagination {
	margin: 4px 0;
}

.qtable{
 	text-align:	center;
 	width:	100%;
}

.qcell{
 	text-align:	center;
}


