*{
	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:#fcf5d9 url('/images/bg_ny.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;
}


.game_select_option{
	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:#fcf5d9 url('/images/bg_ny.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:#fcf5d9;
	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; overflow: hidden;} 

.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;
    left:-100px;
}
#sendmsgs {
    border:3px solid gray; 
    background: white none repeat scroll 0% 0%; 
    z-index: 1001; 
    position: absolute; 
    width: 550px; 
    height: 220px; 
    display: none;
    left:0px;
}

.carma_plus{
    background: transparent url(/images/icons/vote_carma.png) no-repeat scroll  -13px -12px;
    float: left;
    font-size:0;
    height:15px;
    margin:1px 3px 0;
    width:15px;
}

.carma_minus{
    background: transparent url(/images/icons/vote_carma.png) no-repeat scroll  1px -12px;
    float: left;
    font-size:0;
    height:15px;
    margin:1px 3px 0;
    width:14px;
}

.game_container{
    background: white;
    width: 770px;
    padding-right: 10px;
    padding-left: 5px;
    border: 3px solid lightblue;
}

.description{
    padding:20px;
}

.date {
    color: #FF9600;
    font-size: 12px;
    font-weight:bold;
    clear: left;
}

.textmain{
    color: #595959;
    font-size: 12px;
}

.textsmall{
    color: #595959;
    font-size: 11px;
}
.lang{
    color: #595959;
    font-size: 11px;
}
.textbig{
    color: #0005E4;
    font-size: 14px;
}

input,  submit, textarea {
	background: #FFFFFF;
	color: black;
	border: 1px solid gray;
}

select{
	background: #FFFFFF;
	color: black;
	border: 1px solid black;
}

.smiles{
	border: 1px solid gray;
	width: 420px;
	display: none;
	z-index:99;
	position: absolute;
	background: white;
	clear: both;
	float: left;
}

h1{
	font-weight: bold;
	font-size: 14px;

}

.ads{
	z-index:11;
	position: relative;
	display:block;
}

.small_date {
    font-size: 10px;
}

div.container {
	margin: 0px auto;
	height: 600px;
	width: 100%;
}

div.head {
	background-color: #ffffff;
	border-bottom: 1px solid #999999;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
}


.flash{
	position: relative;
	z-index:10;
	display: block;
}
.ads{
	z-index:11;
	position: relative;
	display:block;
}

.small_date {
    font-size: 10px;
}


/* NEW TPL */

div.container {
	margin: 0px auto;
	height: 600px;
	width: 100%;
}

.user{
    float: left;
    margin: 10px;
}

#CountDown {
    color: red;
    font-weight: bold;
}

.button_tab_active{
    float: left;
    width: 190px;
    height: 40px;
    font-weight: bolder;
    background: transparent url(http://girsa.ru/images/menu_tab_passive.png) no-repeat;
}

.button_tab_active p {
    color: red;
    margin: 10px 50px;;
}

.button_tab_passive p {
    color: gray;
    margin: 10px 50px;;
}

.button_tab_passive{
    float: left;
    width: 190px;
    height: 40px;
    font-weight: bolder;
    background: transparent url(http://girsa.ru/images/menu_tab_active.png) no-repeat 0px 2px;
}

.menu_tabs{
    width: 700px;
    top: -41px;
    position: absolute;
}

.result{
    color: red;
}

.user_online, .user_offline {
    font-weight: bold;
    padding-left: 14px;
}

.user_offline {
    background: url(/images/icons/user.png) left no-repeat;
}

.user_online {
    background: url(/images/icons/user_online.png) left no-repeat;
}

/***************
**    POPUP
****************/

div.popup{
	position:fixed;
	top:50%;
	left:50%;
	z-index:1000;
	//position:absolute;
}

div.popup div.wrapper{
	position:relative;
}

div.popup div.wrapper div.content{
	padding:13px;
}

div.popup div.wrapper div.bg,
div.popup div.wrapper div.t,
div.popup div.wrapper div.r,
div.popup div.wrapper div.b,
div.popup div.wrapper div.l,
div.popup div.wrapper div.tl,
div.popup div.wrapper div.tr,
div.popup div.wrapper div.bl,
div.popup div.wrapper div.br{
	position:absolute;
	top:0;
	left:0;
	z-index:-1;
}

div.popup div.wrapper div.bg{
	width:100%;
	height:100%;
	background:white;
}

div.popup div.wrapper div.t,
div.popup div.wrapper div.b,
div.popup div.wrapper div.tl,
div.popup div.wrapper div.tr,
div.popup div.wrapper div.bl,
div.popup div.wrapper div.br{
	width:9px;
	height:78px;
	background:url('/images/popup_corners.png') no-repeat;
	_background-image:none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/images/popup_corners.png", sizingMethod="scale");
}

div.popup div.wrapper div.tl{
	margin-top:-13px;
	margin-left:-9px;
	clip:rect(0px 9px 13px 0px);
}
div.popup div.wrapper div.t{
	margin-top:-26px;
	width:100%;
	background-repeat:repeat-x;
	clip:rect(13px 1000px 26px 0px);
}
div.popup div.wrapper div.tr{
	margin-left:100%;
	margin-top:-39px;
	clip:rect(26px 9px 39px 0px);
}
div.popup div.wrapper div.bl{
	top:100%;
	margin-left:-9px;
	margin-top:-39px;
	clip:rect(39px 9px 52px 0px);
}
div.popup div.wrapper div.b{
	top:100%;
	margin-top:-52px;
	clip:rect(52px 1000px 65px 0px);
	width:100%;
	background-repeat:repeat-x;
}
div.popup div.wrapper div.br{
	margin-left:100%;
	top:100%;
	margin-top:-65px;
	clip:rect(65px 9px 78px 0px);
}
div.popup div.wrapper div.l,
div.popup div.wrapper div.r{
	width:18px;
	height:100%;
	margin-left:-9px;
	background:url('/images/popup_lr.png') repeat-y;
	clip:rect(0px 9px 1000px 0px);
	_height:expression(this.parentNode.parentNode.offsetHeight+'px');
	_background-image:none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/images/popup_lr.png", sizingMethod="scale");
}

div.popup div.wrapper div.r{
	clip:rect(0px 18px 1000px 9px);
	margin-left:100%;
	left:-9px;
}

div.popup div.wrapper button.btn_close{
	border:0;
	position:absolute;
	height:22px; 
	width:22px;
	background:url('/images/btn_close.gif') no-repeat;
	top:-4px;
	margin-left:100%;
	left:-20px;
}
div.popup div.wrapper button.btn_close_hover{
	background:url('/images/btn_close.gif') no-repeat bottom left;
}
