@import "../icons.css";
@import "../global.css";
@import "../game.css";
@import "/css/sunny/jquery-ui-1.8.custom.css";


HTML, BODY {
	padding: 0 ;
	margin: 0 ;
	width:100%;
	height:100%;

}
BODY{
	background: #b8deff url(../global/bg_tile.jpg ) repeat;

	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #542f1b;
}
TD,TR,INPUT,SELECT,TABLE {
	font-family: Tahoma, Verdana, Arial, sans-serif;
}

A {
	color: #542f1b;
}
A:hover{
	color: #a76320;
}
#bgmain{	width:100%;	min-height:100%;background:   url(../global/bg_main2.jpg ) repeat-x top center;	}
#bgmain2{	width:100%;	min-height:100%;background:   url(../global/bg_main.jpg ) no-repeat top center;		}

#bgmain3{	width:100%;	min-height:100%;background:  url(../global/bg_bottom.jpg ) repeat-x bottom center;}

#container{
	margin: 0 auto;
	width: 1080px;
	min-height:1050px;
	text-align:left;
}

#top1{
	position:absolute;
	margin-top:63px;
	background:  url(top_1.png ) no-repeat bottom center;
	width: 1080px;height:100px;
	z-index:1;

}

#top2{
	background:  url(top_2.png ) no-repeat bottom center;
	height:260px;
	z-index:5;
	position:absolute;
	width: 1080px;
}


#logo1{
	margin: 0 auto;
	display:block;
	background:  url(logo.png ) no-repeat top center;
	width: 240px;
	height: 270px;
	position:absolute;
	margin-left: 420px;
	z-index: 10;
}


/** Топ онлайн */
#top_vs, #top_online{
	font-size: 11px;
	font-family: Tahoma, Verdana, Arial;
	color: #552c13;

}

#top_vs{
	background:  url(bg_vs.png ) no-repeat top left;
	width: 185px;
	height: 110px;
	margin: 150px 0 0 42px ;
	padding: 20px 20px 0;
	position:absolute;
}
#top_vs A{
	cursor:hand;
	display:block;
	float:left;
	width:45px;
	background:   url(reg_vs.png ) no-repeat top left;
	height:67px;

}
#top_vs .race_1{		margin-left:20px;			}
#top_vs .race_1:hover{	background-position:0 -67px;}
#top_vs .race_vs{
	margin-left:5px;
	background-position:-50px 0px;
}
#top_vs .race_vs:hover{	background-position:-50px -67px;}
#top_vs .race_2{
	margin-left:5px;
	background-position:-100px 0px;

}
#top_vs .race_2:hover{	background-position:-100px -67px;}


#top_online{
	background: url(bg_online.png ) no-repeat top left;
	width: 200px;
	height: 110px;
	margin: 150px 0 0 810px ;
	padding: 17px 20px 0;
	position:absolute;
	text-align:center;
}
#top_online B{
	display:block;
	color: #ffecad;
}

#logo_mail1{
	background: url(logo_mailru.png ) no-repeat top left;
	width: 118px;
	height: 33px;
	margin: 227px 0 0 691px ;

	position:absolute;
	text-align:center;
}



/** Контейнер */
#content-container
{

	width: 1080px;
	padding-top:260px;

}

#menuL{
	float: left;
	background:  url(l_menu2.png ) no-repeat top right;
	width:43px;
	height:74px;
	margin-left:5px;
}
#menu{
	float: left;
	background:  url(l_menu.png ) no-repeat top left;
	width: 165px;
	height:500px;
	padding:15px 20px 0 20px;
	display: inline;
}
#menuR{
	float: left;
	background:  url(r_menu2.png ) no-repeat top right;
	width:44px;
	height:74px;

}
#content
{
	float: left;
	width: 574px;
	background: url(bg_bottom.png ) no-repeat center bottom;
	margin-bottom:10px;
	padding-bottom: 60px;
}
#body{
	padding: 31px 10px 1px;
	background: #eadec9 url(bg_body.png ) repeat;
	min-height:460px;
}
#right
{
	float: left;
	width: 175px;
	background:  url(r_menu.png ) no-repeat top left;
	height:500px;
	padding:15px 20px 0 10px;
	display: inline;
	text-align:center;
	line-height:18px;
}

#footer
{
	clear: both;
	background:  url(bg_footer.png ) no-repeat top center;
	height:47px;
	text-align: left;
	padding: 15px 0px;
	margin:0 auto;
	margin:0 auto 20px;
	width: 574px;

}
#footer .logo_ddestiny {
	background: url(/i/front/logo_destiny.png) no-repeat;
	width:	142px;
	height:	42px;
	margin-left:20px;
	display:block;
	position:absolute;
}
#footer .logo_ddestiny:hover {	background-position: 0 -42px;}
#footer #logo_mail2 {
	background: url(/i/front/logo_mailru_s.png) no-repeat;
	width:	84px;
	height:	22px;
	margin:12px 170px 0;
	position:absolute;

}

#footer_menu{
	text-align:center;
	width: 300px;
	margin-left:240px;
	position:absolute;
	color:#cd9e5c;
}


#footer_menu .links{
	font-weight:bold;
	font-size:11px;
	color:#ecbf75;
	margin-bottom:10px;

}
#footer_menu A{
	color:#ecbf75;
}

#footer_menu A:hover{
	color:#fcddab;
}
/** Глобальные вещи */

H2{
	font-size:14px;
	text-align:center;
}

H4{
	text-align:center;
}
.break{
	line-height:7px;display:block;
	height:10px;
}
input[type=text],input[type=password]  {
	border: 1px solid #797367;
}
SELECT{
	border: 1px solid #797367;
}
SPAN.small{	font-size:11px;}
SPAN.xsmall{	font-size:10px;}




/** Фронт страница */

#loginForm{
	float:left;
	width:160px;
	height:180px;
	padding:38px 15px 10px 14px;
	text-align:center;
	line-height:18px;
	position:absolute;
	margin-top:-20px;
	margin-left:5px;
	z-index:10;

	background: url(bg_login.png) no-repeat;
}

#loginForm .small{
	line-height: 20px;
	vertical-align:top;
}
#loginForm INPUT[type=text],
#loginForm INPUT[type=password],
#loginForm SELECT{

	padding:0px;
	width: 155px;
	text-align:center;
	height:20px;

}

#loginForm SELECT{
	width: 159px;
	height:22px;

}
#loginForm input.email_sh{
	display:inline;
	width:75px;

}
#loginForm SELECT.select_email2{
	display:inline;
	width:80px;
}

#loginForm TABLE TD{
padding:0;
}
#loginForm TABLE{
	border-collapse:collapse;
}
#frontRight{
	margin-left: 205px;
	margin-top: 20px;
	margin-right:10px;
	height:175px;
}
#frontRight P{
	text-indent:20px;
	text-align:justify;

}

/** Меню */
#right .spr,
#menu A{
	width: 165px;
	height: 20px;
	color: #542f1b;

	display:block;

	overflow: hidden;
	position:relative;
	text-align:center;
	padding-top:0px;
	line-height:20px;
	font-size:10px;
	text-decoration:none;

}


#right .spr B,
#menu A B{
	background-image:url(RU/l_menu_txt.png);
	background-repeat: no-repeat;
	display:block;
	height:20px;
	width:165px;

	position:absolute; left:0; top:0; z-index:1;
}


#menu #m1 B{		background-position:0px 0px}
#menu #m1:hover B{background-position:100% 0px}
#menu #m2 B{		background-position:0px -20px}
#menu #m2.active  B,
#menu #m2:hover B{background-position:100% -20px}
#menu #m3 B{		background-position:0px -40px}
#menu #m3:hover B{background-position:100% -40px}
#menu #m4 B{		background-position:0px -60px}
#menu #m4:hover B{background-position:100% -60px}
#menu #m5 B{		background-position:0px -80px}
#menu #m5:hover B{background-position:100% -80px}
#menu #m6 B{		background-position:0px -100px}
#menu #m6:hover B{background-position:100% -100px}
#menu #m7 B{		background-position:0px -120px;	}
#menu #m7:hover B{background-position:100% -120px}
#menu #m8 B{		background-position:0px -140px}
#menu #m8:hover B{background-position:100% -140px}
#menu #m9 B{		background-position:0px -160px}
#menu #m9:hover B{background-position:100% -160px}


#menu #m2	{margin-top:20px;}
#menu #m6	{margin-top:20px;}
#menu #m8	{margin-top:20px;}

/** Правое меню */

#right .spr B{
	background-image:url(RU/r_menu_txt.png) !important;
}
#right #mday B{		background-position:0px 0px;}
#right #top_link B{	background-position:0px 50%;}
#right #top_link B:hover{	background-position:100% 50%;}

#right #top_link2 B{	background-position:0px 100%;}
#right #top_link2 B:hover{	background-position:100% 100%;}

#right #tops{
	margin-top:25px;

}

#right #tops DIV {
	text-align:left;
	margin:2px 0 15px 10px ;

}

#right #tops DIV A{
	font-weight:bold;
}
#right .servers{
	display:inline-block;
	background: url(bg_server.png);
	width:55px;
	height:20px;
	color: white;
	font-weight:bold;
	text-decoration:none;
	background-position:100% 0px;
	font-size:11px;
	margin-right:1px;
}
#right .servers:hover,
#right .active{
	background-position:0px 0px;
}
#right #top_link{
	margin-top:10px;
}

/** Кнопка регистрации */

#frontReg {
	margin-top:30px;
	background: url(bg_reg.png) top center no-repeat;
	height:106px;
	padding:0 0 0 0  ;
	text-align:left;
	margin-bottom:5px;

}
#frontReg H4{
	position:absolute;

	margin: -6px 0 0 163px;
}
#frontReg .cmd_xxlarge{
	width:364px;
	height:48px;
	font-size:20px;
	line-height:52px;
	text-align:center;
	vertical-align:middle;
	text-decoration:none;
	color:#4c1e0f;
	font-weight:bold;
	font-face:tahoma;
	margin:45px 0 0 98px ;
	position:absolute;
}

#frontReg .cmd_xxlarge:hover,
#frontReg .cmd_xxlarge:active{color: #ffffff; }
#frontReg .cmd_xxlarge:active{
	background-position: 100% 0 ;
}


/** Gallery */
.sliderGallery {
    overflow: hidden;
    position: relative;
    height: 85px;
    width: 453px;
    margin-bottom:6px;

}
.sliderGallery IMG {
	height:85px;
	width:150px;
	margin-right:2px;
}
.sliderGallery UL {
    position: absolute;
    list-style: none;
    overflow: none;
    white-space: nowrap;
    padding: 0;
    margin: 0;
}

.sliderGallery UL LI {
    display: inline;
    padding-right:2px;
}

.sliderLeft, .sliderRight{
	background-image: url(but_pointer.png);
	float:left;
	width:20px;
	height:86px;
	display:block;
	margin-right:5px;

}
.sliderRight{
	float:right;
	margin-right:0px;
}


.sliderLeft:hover{	background-position:-20px 0px;}
.sliderLeft:active{	background-position:-40px 0px;}
.sliderRight{	background-position:0px -86px;}
.sliderRight:hover{	background-position:-20px -86px;}
.sliderRight:active{	background-position:-40px -86px;}



/** Pages */
.page_front{
	padding-top: 1px  !important;
}


/** Базовые группы */

.inputGroup{
	 /** width:	554px; */
	 width:100%;
	margin-bottom:10px;
}
.inputGroup .grbody{
	background: #e3d0af url(bg_block.png) repeat-y -554px 0px;
	padding: 10px 25px 5px 25px;
}
.inputGroup .grtop{
	background: #e3d0af url(bg_block.png) no-repeat  0 -25px;
	height: 4px;

}
.inputGroup .bottom{
	background: #e3d0af url(bg_block.png) no-repeat 0 -11px ;

	height: 5px;
	width:	100%;
}
/** Заголовок группы */
.inputGroup .title{
	background:  #e3d0af url(bg_block.png) repeat-y -554px 0px;
	padding: 0 15px;
	font-weight:bold;
	color: #4d1f11;
}
.inputGroup .title DIV{

}
.inputTitle .title DIV{
	background: #e2d1b3;

	height:30px;
	text-align:center;
	vertical-align:middle;
	line-height:30px;
}

/** Разговоры */
.inputSmall{width:330px}
.inputSmall .grtop{		background: #e3d0af url(bg_block4.png) no-repeat  0 -25px;		}
.inputSmall .title{		background: #e3d0af url(bg_block4.png) repeat-y -330px 0px;	}
.inputSmall .grbody{	background: url(bg_block4.png) repeat-y -330px 0px;		}
.inputSmall .bottom{	background: #e3d0af url(bg_block4.png) no-repeat 0 -10px ;		}

/** Левая половинка */
.inputSmallLeft {width:200px;}
.inputSmallLeft .grtop{		background: #e3d0af url(bg_block6.png) no-repeat  0 -25px;		}
.inputSmallLeft .title{		background: #e3d0af url(bg_block6.png) repeat-y -200px 0px;	}
.inputSmallLeft .grbody{	background: url(bg_block6.png) repeat-y -200px 0px;		padding: 10px 10px 5px 10px;	}
.inputSmallLeft .bottom{	background: #e3d0af url(bg_block6.png) no-repeat 0 -10px ;		}

/** Правая половинка */
.inputSmallRight {width:344px;}
.inputSmallRight .grtop{	background: #e3d0af url(bg_block5.png) no-repeat  0 -25px;		}
.inputSmallRight .title{	background: #e3d0af url(bg_block5.png) repeat-y -344px 0px;	}
.inputSmallRight .grbody{	background: url(bg_block5.png) repeat-y -344px 0px;		}
.inputSmallRight .bottom{	background: #e3d0af url(bg_block5.png) no-repeat 0 -10px ;		}


.up_avatar .grbody{
	font-size:11px;
	color: #542f1b;
}

.half .inputGroup {width:272px;}
.half .inputGroup .grtop{	background: #e3d0af url(bg_block3.png) no-repeat  0 -25px;	}
.half .inputGroup .title{	background:  #e3d0af url(bg_block3.png) repeat-y -272px 0px;}
.half .inputGroup .grbody{	background: #e3d0af url(bg_block3.png) repeat-y -272px 0px;	}
.half .inputGroup .bottom{	background: #e3d0af url(bg_block3.png) no-repeat 0 -10px ;}

/** Выпадающие группы */

.inputShown .title DIV{
	cursor:pointer;
	height:35px;
	text-align:center;
	vertical-align:bottom;
	line-height:40px;
}
.inputShown .title_shown{
	background: url(bg_block2.png) no-repeat 0 0px;
}
.inputShown .title_shown:hover{
	background: url(bg_block2.png) no-repeat 0 -35px;
}
.inputShown .title_hidden{
	background: url(bg_block2.png) no-repeat 0 -70px;
}
.inputShown .title_hidden:hover{
	background: url(bg_block2.png) no-repeat 0 -105px;
}
.inputShown .shown{
	display:block;
}
.inputShown DIV.hidden{
	display:none;
}


/** Таблица */

TABLE.default TH{
	background: #e2d1b3;
	font-weight:bold;
}



