/*
	#d4974e - ярко-коричневый текст
	#6b4820 - тёмно-коричневый текст
	#5a3b1a - ещё темнее текст
	#302010 - более тёмный с оттенком серого
*/

body, form, table, td, input, textarea
{
	margin: 0;
	padding: 0;
}

html, body, textarea
{
	scrollbar-3dlight-color:#5a3b1a; 
	scrollbar-arrow-color:#black;
	scrollbar-highlight-color: #6b4820;
	scrollbar-face-color:#6b4820;
	scrollbar-shadow-color:#302010; 
	scrollbar-darkshadow-color:#6b4820;
	scrollbar-track-color: #302010; 
}

body
{
	background-image: url(images/basefon.jpg);
	color: white;
	font-family: Arial;
}

table
{
	width: 100%;
	text-align: center;
	border: solid 0px black;
	border-collapse: collapse;
}

div
{
	font-size: 0px;
}

h1
{
	position:absolute;
	color:#211000;
	padding: 0;
	margin: 0;
	font-size: 1px;
}

img.png
{
	behavior: url(images/pngbehavior.htc);
}

/* universal ---------------------------------------------------- */
div.text
{
	text-align:left;
	font-size:10px;
	color: #6b4820;
}

.light
{
	color: #d4974e;
}
.dark
{
	color: #6b4820;
}


a.button
{
	text-decoration:none;
	font-size:11px;
	color: #5a3b1a;
	border:solid 1px #5a3b1a;
	padding: 1px 11px 2px 11px;
}

a.light, .light a
{
	text-decoration: underline;
	font-size:11px;
	color: #d4974e;
}
a.dark, .dark a
{
	text-decoration: underline;
	font-size:11px;
	color: #6b4820;
}
a.darks, .darks a
{
	/* text-decoration: underline; */
	font-size:7px;
	color: #6b4820;
}


input, textarea
{
	background-color:Transparent;
	border: solid 1px #6b4820;
	color: #d4974e;
}

input
{
	height:17px;
}


/* base ---------------------------------------------------- */
table.base
{
	width: 100%;
}

table.base td.center
{
	width: 950px;
}

table.base td.left
{
}

/* прозрачный png (тени слева и справа) для Firefox и IE>=7 */
html:root td.leftshadow, *+html td.leftshadow
{
	background-image: url(images/basefon_leftshadow.png);
	background-repeat:repeat-y;
	background-position:right top;
}
html:root td.rightshadow, *+html td.rightshadow
{
	background-image: url(images/basefon_rightshadow.png);
	background-repeat:repeat-y;
	background-position:left top;
}

td.maincenter
{
	background-image: url(images/mainfon.jpg);
}

/* main ---------------------------------------------------- */
table.main
{
	background-color: #211000;
}
table.main td.left
{
	background-image: url(images/mainleftfon.gif);
	background-repeat: repeat-y;
}
table.main td.right
{
	background-image: url(images/mainrightfon.gif);
	background-repeat: repeat-y;
	background-position:right;
}

table.main td.left div.content
{
	width:220px;
	background-image: url(images/header1.jpg);
	background-repeat: no-repeat;
	padding-top:382px;
}
table.main td.right div.content
{
	width:226px;
	background-image: url(images/header3.jpg);
	background-repeat: no-repeat;
}

/* main-wide ---------------------------------------------------- */
div.main-wide
{
	width:950px;
	background-image: url(images/mainfonwide.jpg);
	background-repeat: repeat;
	background-position: 0px 0px;
	border-left: solid 1px #5a3b1a;
	border-right: solid 1px #5a3b1a;
}
div.main-wide2
{
	background-image: url(images/header1.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
div.main-wide3
{
	background-image: url(images/header2.jpg);
	background-repeat: no-repeat;
	background-position: 220px 0px;
}
div.main-wide4
{
	background-image: url(images/header3wide.jpg);
	background-repeat: no-repeat;
	background-position: 724px 0px;
}

div.main-wide5
{
	background-image: url(images/headerwide.jpg);
	background-position: 0px 253px;
	background-repeat: no-repeat;
}

div.main-wide6
{
	background-image: url(images/footerwide.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;

	padding-top: 274px;
	padding-bottom: 70px;
	padding-left:1px;
	padding-right:1px;
}

div.main-wide table.game
{
	margin: auto;
	width: auto;
	margin-top: 61px;	
}

div.main-wide td
{
	text-align: left;
}

div.main-wide table.game h2
{
	font-size: 13px;
	margin: 0;
	padding: 0 0 10px 0;
	color: #d4974e;
}

div.main-wide div.gameinfo
{
	margin-top: 20px;
	border-top: solid 1px #302010;
	margin-bottom:30px;
}

div.main-wide table.gameinfo td
{
	font-size: 11px;
	font-weight:normal;
	color: #6b4820;
	border-top: solid 1px #302010;
	border-left: solid 1px #302010;
	padding-top:10px;
	padding-bottom:20px;
	vertical-align:top;
}

div.main-wide table.gameinfo td.gameblock
{
	width: 360px;
	padding-left:40px;
	padding-right:20px;
}
div.main-wide table.gameinfo td.gameblock div
{
	margin-top:0px;
}

div.main-wide table.gameinfo td.likegames
{
	text-indent:15px;
	margin-left:30px;
	margin-top:5px;
}
div.main-wide table.gameinfo td.likegames div
{
	text-indent:0px;
	width:240px;
}

div.main-wide table.gameinfo td.comment
{
	padding-left:55px;
	margin-top:5px;	
}
div.textblock
{
	padding-top:10px;
	padding-left:15px;
	padding-right:15px;
	font-size:11px;
	color:#d4974e;
	font-weight:normal;
	text-align:justify;
}

div.main-wide table.gameinfo td.comment div.mark
{
	margin-top:7px;
	margin-bottom:9px;
	font-size:11px;
}

div.main-wide table.gameinfo td.comment div.mark a
{
	margin-right:8px;
}

div.main-wide table.gameinfo td.comment div textarea
{
	width:250px;
	height:78px;
	float:left;
}

div.main-wide table.gameinfo td.comment div a.button
{
	float:left;
	margin-left:10px;
	margin-top:58px;
	display:block;
	width:56px;
}

div.main-wide table.gameinfo td.tellfriend
{
	padding-left:15px;
}

div.main-wide table.gameinfo td.tellfriend h2
{
	font-size:11px;
	display:inline;
}

div.main-wide table.gameinfo td.tellfriend input
{
	margin-top:5px;
}

div.main-wide table.gameinfo td.tellfriend div textarea
{
	margin-top:5px;
	width:250px;
	height:55px;
	float:left;
}

div.main-wide table.gameinfo td.tellfriend div a.button
{
	float:left;
	margin-left:10px;
	margin-top:40px;
	display:block;
	width:56px;
}

/* content ---------------------------------------------------- */

td.content
{
	width: 504px;
	background-image: url(images/header2.jpg);
	background-repeat: no-repeat;
	padding-top: 274px;
	font-size: 16pt;
	vertical-align: top;
}

div.part,
div.part-without-separator
{
	color: #6b4820;
	font-size: 15px;
	text-align: left;
	padding-left: 2px;
	padding-bottom: 20px;
	padding-top: 20px;
	padding-right: 6px;
	font-weight: bold;
	text-indent: 12px;
}
div.part
{
	background-image: url(images/partdelimiter.gif);
	background-repeat:no-repeat;
	background-position:left bottom;
}


div.part div, 
part-without-separator div
{
	float:left;
	text-indent:0px;
}

.gameblock div, 
.videoblock div,
.likegames div 
{
	float:left;
	font-size:11px;
	font-weight: normal;
	color:#d4974e;
	margin: 12px 0px 5px 0px;
	padding-left:15px;
}

.gameblock h2,
.videoblock h2,
.likegames h2,
table.gamelist h2
{
	font-size:11px;
	margin: 0;
	padding:0;
	color: #6b4820;
}

.gameblock img,
.videoblock img,
.likegames img,
table.gamelist img
{
	float: left;
	margin-top:3px;
	margin-right:8px;
	opacity: .7;
	border: solid 1px #6b4820;
}

div.part .gameblock div
{
	width: 227px;
}

/* mainmenu ---------------------------------------------------- */
div.mainmenu
{
	text-align: left;
	padding-left:54px;
	padding-bottom:68px;
	background-image: url(images/polka_fire.jpg);
	background-position: right bottom;
	background-repeat:no-repeat;
}
div.mainmenu a
{
	display: block;
	font-size:14px;
	color: #d4974e;
	text-decoration: none;
	padding-top:4px;
	padding-bottom:4px;
}

/* bestplayers ---------------------------------------------------- */
div.bestplayers_container
{
	background-image: url(images/polka_fire_bottom.jpg);
	background-position: left top;
	background-repeat:no-repeat;
}

div.bestplayers
{
	text-align: left;
	padding-left:16px;
	padding-bottom:88px;
	padding-top:30px;
	background-image: url(images/polka_knife.jpg);
	background-position: right bottom ;
	background-repeat:no-repeat;
}
div.bestplayers a
{
	display: block;
	font-size:11px;
	width:152px;
	color: #d4974e;
	text-decoration: none;
	padding-top:2px;
	padding-bottom:2px;
	margin-bottom:6px;
	background-image: url(images/bestplayerfon.gif);
	background-repeat:repeat-y;
	text-indent:50px;
}


/* loginform ---------------------------------------------------- */
div.loginform
{
	padding-top: 383px;
	text-align: left;
	padding-left:20px;
	background-image: url(images/polka_keys.jpg);
	background-position:left bottom;
	background-repeat:no-repeat;
	padding-bottom:91px;
}

div.loginform table
{
	text-align:left;
}

div.loginform td.label
{
	font-size:13px;
	color: #d4974e;
}

input#tbLogin
{
	width: 131px;
}

input#tbPassword
{
	width: 77px;
}

a#getmypass
{
	font-size:11px;
	color: #6b4820;
	margin-left:13px;
}

/* miscinfo ---------------------------------------------------- */
div.miscinfo_container
{
	background-image: url(images/polka_keys_bottom.jpg);
	background-position:left top;
	background-repeat:no-repeat;
}
div.miscinfo
{
	background-image: url(images/polka_money.jpg);
	background-position:left bottom;
	background-repeat:no-repeat;
	padding-top:5px;
	padding-bottom:91px;
	padding-left:45px;
}

/* gamelist ---------------------------------------------------- */
table.gamelist
{
	text-align:left;
	border-bottom:solid 1px #302010;
}

table.gamelist td
{
	font-size:11px;
	font-weight: normal;
	color:#d4974e;
	margin: 12px 10px 5px 3px;
	border-bottom: solid 1px #302010;
	border-right: solid 1px #302010;
	border-top: solid 1px #302010;
}

table.gamelist th
{
	font-size:11px;
	font-weight: normal;
	color:#5a3b1a;
	margin: 12px 10px 5px 3px;
}

table.gamelist td.game
{
	padding-left:15px;
	padding-top:5px;
	padding-bottom:10px;
	padding-right:10px;
}

table.gamelist th.fixed-width,
table.gamelist td.fixed-width
{
	width: 85px;
	text-align: center;
}

div.copyright
{
	float:left;
	position:absolute;
	color:#6b4820;
	font-size:11px;
	margin-left:230px;
	margin-top:5px;
	width:485px;
}


