*{
	padding:0;
	margin:0;
}
html{
}

html,body{
	height:100%;
}

body{
	position:relative;
	height:auto !important;
	min-height:100%;
	height:100%;
	background:yellow;	
	min-width:1000px;
	background:#fff6d9 url('/images/bg.png') no-repeat top center;
	font-size:12px;
	font-family:Verdana;
	z-index:0;
	//z-index:-100;
	/*/width:expression(document.documentElement.offsetWidth+'px');*/
}

img{
	border:0;	
}

a{
	color:#1b46c2;
	cursor:pointer;
	text-decoration:none;
}

#wrapper{
	position:absolute;
	width:952px;
	left:50%;
	margin-left:-500px;
	height:auto !important;
	min-height:100%;
	height:100%;
	background:#fff6d9 url('/images/bg.png') no-repeat top center;
	padding:0px 24px;
	z-index:0;
	//z-index:-100;
}

#header{
	height:110px;
}

#logo{
	position:absolute;
	top:15px;
}

#favorite-button{
	position:absolute;
	padding:7px 0;
	width:160px;
	height:48px;
	text-align:center;
	left:762px;
}
#yandex-button{
	position:absolute;
	padding:0px 0;
	top:57px;
	width:130px;
	height:48px;
	text-align:center;
	left:832px;
}

#vk-button{
    position:absolute;
    padding:0px 0;
    width:130px;
    height:48px;
    text-align:center;
    left:632px;
}

#vk-button a {
    color: #1b46c2;
}

#ya-button{
    position:absolute;
    padding:0px 0;
    width:130px;
    height:48px;
    text-align:center;
    left:240px;
}

#big-button{
	position:absolute;
	width:67px;
	height:51px;
	left:927px;
}

#search{
	padding-top:15px;
}
#search input{
	background:url('/images/search.png') no-repeat top left;
	//background:none;
	width:155px;
	height:26px;
	padding:0px 5px;
	//padding:0;
	//width:160px;
	border:0px;
	vertical-align:middle;
	line-height:26px;
}
#search span.input{
	//background:url('/images/search.png') no-repeat top left;
	//padding-left:5px;
}
#search span.button{
	//background:none;
}
#search button{
	background:url('/images/search.png') no-repeat top right;
	width:83px;
	height:26px;
	border:0;
	vertical-align:middle;
}

#content{
/*	background:black;*/
	width:auto;
	//width:972px;
	padding-bottom:70px;
	position:relative;
	//overflow-x:hidden;
	//overflow-y:visible;
	//padding:35px 0 70px 0;
	//margin-top:-35px;
}

#footer{
	position:absolute;
	margin-top:-70px;
	height:70px;
	background:url('/images/footer.png') no-repeat bottom center;
	width:100%;
	top:100%;
	left:0;
}

#footer p{
	padding-top:30px;
}

#wrapper-left{
	width:159px;
	position:relative;
	margin-top:11px;
	left:-164px;
	top:-11px;
	/*/z-index:-1;*/
}
#wrapper-right{
	width:159px;
	position:relative;
	margin-left:174px;
	left:604px;
	//left:609px;
	/*/z-index:1;*/
}

#wrapper-center{
	width:624px;
	position:relative;
	margin-left:164px;
	margin-right:174px;
	bottom:-10px;
}

#wrapper-center-bg{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	background:#fff6d9;
	height:100%;
	z-index:-1;
}

#left-sidebar,
#right-sidebar{
	position:relative;
	width:174px;
	top:-10px;
}

#main-content{
	float:left;
	position:relative;
	left:-788px;
	width:624px;
	padding-bottom:200px;
	margin-left:174px;
	margin-right:474px;
}

#left-sidebar{
	float:left;
	margin-right:-348px;
	left:-778px;
}

#right-sidebar{
	float:right;
	left:15px;
	//left:189px;
	margin-left:-348px;
}

#seo-text{
	position:absolute;
	width:624px;
	height:170px;
	padding-top:30px;
	top:100%;
	margin-top:-200px;
	left:0;
	text-align:center;
	z-index:100;
}

#king-of-hill{
	width:164px;
	z-index:10;
	left:10px;
	top:20px;
}
#king-of-hill-sign{
	width:88px;
	height:52px;
	position:absolute;
	background:url('/images/king-of-hill.png') no-repeat;
	margin-left:50%;
	left:-37px;
	z-index:10;
	top:-35px;
}


div.white-corner-br,
div.white-corner-tr,
div.white-corner-tl,
div.white-corner-bl,
div.white-corner-l,
div.white-corner-r{	
	position:absolute;
	width:15px;
	height:15px;
	background:url('/images/corners-white-bordered.png') no-repeat;
	//z-index:-1;
}

div.white-corner-br{
	top:100%;
	background-position:-1000px -15px;
	margin-left:100%;
}

div.white-corner-tr{
	top:0;
	background-position:-1000px 0px;
	margin-left:100%;
	margin-top:-15px;
}

div.white-corner-tl{
	top:0;
	background-position:-15px 0px;
	width:100%;
	margin-top:-15px;
}

div.white-corner-bl{
	top:100%;
	background-position:-15px -15px;
	width:100%;
}

div.white-corner-l,
div.white-corner-r{	
	height:100%;
	top:0;
	left:0;
	background-repeat:repeat-y;
}

div.white-corner-l{
	background-position:-1015px 0px;
}
div.white-corner-r{
	background-position:0px 0px;
	margin-left:100%;
}

div.white-corner-bg{
	background:white;
	height:100%;
	width:100%;
	position:absolute;
	top:0;
	left:5px;
	//z-index:-1;
}
div.white-corner-content{
	margin:5px 15px;
	background:white;
	position:relative;
	z-index:1;
}

div.green-corner-br,
div.green-corner-tr,
div.green-corner-tl,
div.green-corner-bl{
	position:absolute;
	width:6px;
	height:6px;
	background:url('/images/corners-green.gif') no-repeat;
}

div.green-corner-br{
	top:100%;
	left:-6px;
	margin-left:100%;
	margin-top:-6px;
}

div.green-corner-tr{
	top:0;
	background-position:0px -6px;
	margin-left:100%;
	left:-6px;
}

div.green-corner-tl{
	top:0;
	background-position:-6px -6px;
}

div.green-corner-bl{
	top:100%;
	background-position:-6px 0px;
	margin-top:-6px;
}

div.green-corner-content{
	background:#c4f2c5;
	padding:6px 6px 12px 6px;
}


img.user-avatar{
#	width:119px;
#	height:99px;
}

ul.online-users{
	list-style:none;
	margin:0;
	padding:0;
}

ul.games-list{
	list-style:none;
	margin:0;
	padding:0;
	padding-left:13px;
}

ul.games-list li{
	float:left;
	width:184px;
	height:193px;
	padding-right:13px;

}

img.game-logo{
	width:180px;
	height:135px;
	border:1px solid #90b3f5;
}

#last-comments{
	list-style:none;
	margin:0;
	padding:0;
	padding-top:10px;
}

#last-comments li{
	margin-bottom:5px;
	text-align:left;
}

#last-comments div{
	padding-top:6px;
	background:url('/images/quote-triangle.gif') no-repeat 10px 0px;
}

#last-comments p{
	background:#c6d7f9;
	padding:13px;
	width:114px;
}

#bar {
    width: 100px;
    height: 10px;
    border: 1px solid gray;
    position: relative;
    font-size: 9px;
}
                                            
#bar span {
    background: red;
    width: 10%;
    height: 10px;
    position: absolute;
    top:0px;
    left:0px;
}                                                                                            }

.clear,
.clear-left,
.clear-right{
	font-size:0px !important;
	overflow:hidden !important;
	float:none !important;
	height:0px !important;
}
.clear{
	clear:both !important;
}
.clear-left{
	clear:left !important;
}
.clear-right{
	clear:right !important;
}
.relative{position:relative;}

.font-large{font-size:14px;}

.nodecor{text-decoration:none;}

.underline{text-decoration:underline;}

.nobr{white-space:nowrap;} 

.gray{color:#727272;}
.white{color:white;}
.orange{color:#ff8500;}

a.button {
    background: transparent url('/img/bg_button_a.gif') no-repeat scroll top right;
    color: #444;
    display: block;
/*    float: right; */
    width: 200px;
    font: bold 11px arial, sans-serif;
    height: 24px;
    margin-right: 6px;
    padding-right: 5px; /* sliding doors padding */
    text-decoration: none;
}
a.button span {
    background: transparent url('/img/bg_button_span.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 6px;
}
a.button:active {
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}
a.button:active span {
    background-position: bottom left;
    padding: 6px 0 4px 6px; /* push text down 1px */
}
#gifts {
    border:3px solid gray; 
    background: white none repeat scroll 0% 0%; 
    z-index: 1001; 
    position: absolute; 
    width: 550px; 
    height: 700px; 
    display: none;
}
#sendmsgs {
    border:3px solid gray; 
    background: white none repeat scroll 0% 0%; 
    z-index: 1001; 
    position: absolute; 
    width: 550px; 
    height: 220px; 
    display: none;
}