/* Простые структуры */

	#container {
		width: 1000px;
	}

/* Заголовок */

	#header h1 { border: 0; }

	#header {
		background: #a02016 url("/images/header_bl.png") bottom left repeat-x;
		position: relative;
		min-height: 39px;
		padding: 0;
		voice-family: "\"}\"";
		voice-family: inherit;
		height: 5em;
		padding: 0 0 29 0;
		font-size: 10pt;

	} #ignored {}
	
	#header h1 {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		font-size: 10pt;
		background: url("/images/header_tl.gif") no-repeat;
		height: 8px;
		z-index: 100; /* above the UL */
	}

	#user {
		position: absolute;
    bottom: 5px;
    left: 10px;
		max-width: 300px;
		font-size: 10pt;
		font-family: Verdana, Tahoma, Arial;
    padding-top: 2px;
    overflow: hidden;
    clip: auto;
    height: 17px;
	}

	#label {
		position: relative;
		top: 0;
		right: 0;
		padding: 9 10 0 0;
		background: url("/images/header_tr.gif") no-repeat top right;
		text-align: right; /* need for IE Mac */
		white-space: nowrap; /* for Opera */
	}

  #invite img {
    vertical-align: middle;
    padding-right: 2px;
  }

  #invite a {
		color: #ffffff;
		font-family: Verdana, Tahoma, Arial;
    text-decoration: underline;
    font-weight: normal;
		font-size: 8pt;
    vertical-align: middle;
	}

  #header #menu {
		width: 100%;
		position: absolute;
		bottom: 0;
		left: 0;
		background: url("/images/header_br.gif") no-repeat bottom right;
		z-index: 90; /* below the H1 */
  }

	#header h1 a {
		display: block;
		width: 300px;
		height: 60px;
		margin: 9px 0px 0px 9px;
		background: transparent url("/images/header_logo_main.gif") no-repeat;
		text-indent: -700em;
		text-decoration: none;
	}

	#header ul {
		margin-right: 15px;
		list-style: none;
	}

	#header li {
		float: right;
		background: transparent url("/images/header_tab.gif") 100% -600px no-repeat;
		padding: 0 6px 0 0;
		margin: 0 1px 0 0;
		border-bottom: 1px solid #a02016;
	}

	#header ul a {
		float: left;
		display: block;
		padding: 4px 4px 4px 10px;
		background: transparent url("/images/header_tab.gif") 0% -600px no-repeat;
		font-weight: bold;
		color: #fff;
		text-decoration: none;

	}
	#header ul li:hover a { background-position: 0% -400px; }
	#header ul li:hover { background-position: 100% -400px; }


/* Меню */

	body.sectionNews li#menu_news a,
	body.sectionComrades li#menu_comrades a,
	body.sectionArticles li#menu_articles a,
	body.sectionFiles li#menu_files a,
	body.sectionGames li#menu_games a,
	body.sectionChat li#menu_chat a,
	body.sectionGallery li#menu_gallery a,
	body.sectionForum li#menu_forum a 
	{
	background-position: 0% -200px;
	color: #039;
	}

	body.sectionNews li#menu_news,
	body.sectionComrades li#menu_comrades,
	body.sectionArticles li#menu_articles,
	body.sectionFiles li#menu_files,
	body.sectionGames li#menu_games,
	body.sectionChat li#menu_chat,
	body.sectionGallery li#menu_gallery,
	body.sectionForum li#menu_forum 
	{
	background-position: 100% -200px;
	border-bottom: 1px solid #fff;
	}

	body.sectionNews li#menu_news:hover,
	body.sectionComrades li#menu_comrades:hover,
	body.sectionArticles li#menu_articles:hover,
	body.sectionFiles li#menu_files:hover,
	body.sectionGames li#menu_games:hover,
	body.sectionChat li#menu_chat:hover,
	body.sectionGallery li#menu_gallery:hover,
	body.sectionForum li#menu_forum:hover 
	{
	background-position: 100% 0%;
	}

	body.sectionNews li#menu_news:hover a,
	body.sectionComrades li#menu_comrades:hover a,
	body.sectionArticles li#menu_articles:hover a,
	body.sectionFiles li#menu_files:hover a,
	body.sectionGames li#menu_games:hover a,
	body.sectionChat li#menu_chat:hover a,
	body.sectionGallery li#menu_gallery:hover a,
	body.sectionForum li#menu_forum:hover a 
	{
	background-position: 0% 0%;
	color: #333;
	}
