* { margin: 0px; padding: 0px}

html, body {
	font-family: Tahoma; 
	font-size: 11px;
	height: 100%;
	color: #4F4F4F;
}
img {border:0px solid;}
a {color: #535772; text-decoration: none;}
a:hover {text-decoration: underline;}

#bit {
	background: url('/bitrix/templates/main/images/background.png') repeat-x;
	height: 100%;
}
	#main {
		width: 1000px;
		margin: 0 auto;
	}
	
		/*
			Header
		*/
		#main #header {
			background: url('/bitrix/templates/main/images/header.png') no-repeat;
			height: 166px;
		}
			#main #header img.logotype{
				float:left;
				height: 19px;
				width: 243px;
				margin: 87px 0 0 57px;
			}
			#main #header img.logout{
				float:left;
				width: 23px;
				height: 24px;
				margin: 82px 0 0 150px;
			}
			
			/* Верхнее правое меню */
				ul#top_right_menu {
					float:left;
					list-style-type: none; 
					margin: 55px 0 0 306px;
					width: 180px;
				}
				ul#top_right_menu li { 
					float: left; 
					padding:0 0 0 7.5px;
				}
				ul#top_right_menu a {
					display: block; 
					color: #535772; 
					text-decoration: none;
				}
				ul#top_right_menu a:hover {
					text-decoration: underline;
				}
				ul#top_right_menu li.ext{
					background: url('/bitrix/templates/main/images/topmenuext.jpg') no-repeat 4px 6px;
				}
			/*-- */
		/* -- */
		
		/* 
			Основное меню 
		*/
			ul#main_menu {
				float:left;
				list-style-type: none;
				position: relative;
				height: 14px;
				width: 800px;
				margin: 20px 0 0 50px;
				
			}
				ul#main_menu li {
					float: left;
					padding-left: 7.5px;
				}
				ul#main_menu li.ext{
					width: 10px;
					background: url('/bitrix/templates/main/images/topmenuext.jpg') no-repeat 8px 6px;
				}
		/* -- */
	
	/*
		Новостная панель
	*/
	#panels_news {
		float:left;
		position: relative;
		width: 724px; 
		height: 120px; 
		background: url('/bitrix/templates/main/images/panels_news.jpg') no-repeat; 
		margin-left: 33px; 
		margin-top: -14px; 
	}
		#panels_news #news {
			color: #4C4C4C;
			width: 650px;
			margin: 18px 0 0 70px;
		}
		#panels_news #news TD{
			width: 50%;
			padding: 0 10px 0 0;
		}
		#panels_news #news .public_date {
			width: 70px;
			height: 17px;
			color: #717171;
			text-align: center;
			padding: 2px 0 0 0;
			background: url('/bitrix/templates/main/images/panels_news_date.jpg') no-repeat;
		}
		#panels_news #news .title {
			font-weight: bold;
			margin: 2px 0 0 0;
		}
		#panels_news #news .description {margin: 2px 0 0 0;}
		#panels_news #news .link{margin: 4px 0 0 0;}
	/* -- */	
	
	/*
		Панель пользователя
	*/
	#panels_account {
		float:left;
		position: relative;
		width: 724px; 
		height: 80px; 
		background: url('/bitrix/templates/main/images/panels_account.jpg') no-repeat; 
		margin-left: 33px; 
		margin-top: -14px; 
	}
		#panels_account .balance {
			float:left;
			width: 140px;
			margin: 18px 0 0 20px;
			padding: 4px 0 6px 40px;
			background: url('/bitrix/templates/main/images/panels_account_balance.gif') no-repeat;
		}
			#panels_account .balance div{
				font-weight: bold;
				color: #2FA237;
				margin: 4px 0 0 0;
			}
		#panels_account .mail {
			float:left;
			width: 200px;
			margin: 18px 0 0 20px;
			padding: 4px 0 6px 40px;
			background: url('/bitrix/templates/main/images/panels_account_mail.gif') no-repeat 0 6px;
		}
			#panels_account .mail div{
				margin: 4px 0 0 0;
			}
	/* -- */

	/*
		Content
	*/
	#content {
		float:left;
		margin: 14px 0 0 34px; 
		width: 702px; 
		background: #F6F6F6; 
		padding: 0 8px 16px 12px;
		min-height: 300px;
	}
		#content .line {
			clear:both;
			height:1px;
			margin:7px 0 7px 0;
			background: url('/bitrix/templates/main/images/line.jpg') no-repeat;
		}
		#content #body {
			padding: 0 0 12px 0;
			line-height: 1.4em;
		}
		#content h1 {
			font-size: 1.6em;
			font-weight: normal;
			padding: 20px 0 12px 0;
		}
	/* -- */
	

	/* Правое меню */
#right { 
	width: 200px; 
	position: relative; 
	float: right; 
	top: -105px; 
	left: -20px;
}

/* Правая форма авторизации */
	#auth{
		height: 90px;
	}
	#auth .welcome {
		margin: 40px 0 0 0;
		text-align: right;
		width: 94%;
	}
		#auth .welcome .photo {width: 50px; height: 50px; float:left; margin-top: 10px;}
		#auth .welcome .name {float: left; margin-left: 8px; text-align: left; line-height: 1.5;}
			#auth .welcome .name span {color: green; font-weight: bold;}
	
	#auth #login_input { 
		background: url('/bitrix/templates/main/images/right_login.jpg') no-repeat; 
		width: 176px;
		height: 21px; 
		border: none; 
		padding-left: 10px; 
		padding-top: 3px;
		font-size: 11px;
		font-family: Tahoma;
	}
	#auth #password_input {
		background:url('/bitrix/templates/main/images/right_password.jpg') no-repeat; 
		width: 143px; 
		height: 21px; 
		border: none; 
		padding-left: 10px; 
		padding-top: 3px;
		float: left; 
		display: block;
		font-size: 11px;
		font-family: Tahoma;
	}
	
	#auth #sublog {
		background: url('/bitrix/templates/main/images/right_enter.jpg') no-repeat; 
		border: none; 
		margin: 0; 
		padding: 0;
		display: block; 
		float: left; 
		width: 33px; 
		height: 21px; 
		margin-left: -11px; 
		cursor: pointer;
	}
	
	#auth #reg { 
		color: #40519f;
		font-size: 10px; 
		text-decoration: underline; 
		display: block; 
		float: left; 
	}
	#auth #rem {
		color: #40519f;
		font-size: 10px; 
		text-decoration: underline; 
		display: block; 
		float: left; 
		margin-left: 40px;
	}
/* --------------------- */

/* Публичная статистика проекта */
	#static {
		background: url('/bitrix/templates/main/images/right_static.jpg') no-repeat; 
		width: 140px;
		margin-top: 20px;
		line-height: 1.6;
		padding-left: 58px; 
		font-size: 10px;
	}
	#static a {
		text-decoration: underline;
	}
/* --------------------- */

/* TOP пользователей */
	#top {
		background: url('/bitrix/templates/main/images/right_top.jpg') no-repeat; 
		width: 140px; 
		margin-top: 20px; 
		font-size: 10px; 
		color: #535772; 
		padding-left: 58px; 
		line-height: 1.6;
	}
	#top a {
		text-decoration: underline;
	}
	#top .usertop { 
		height: 50px;
		margin-top: 18px; 
	}
		#top .usertop img { 
			width: 50px;
			height: 50px;
			margin-right: 10px;
			border: 0px solid;
			float:left;
		}
/* --------------------- */

/*
	Теги
*/
	#tags {
		margin-top: 20px;
		background: #FEFBC8;
		padding: 15px 10px 15px 10px;
		line-height: 1.6;
		font-size: 1.1em;
	}
		#tags a{color: #424242;}
		#tags .all-tags{
			margin-top: 6px;
			font-weight: bold;
			text-align:right;
		}
			#tags .all-tags a{text-decoration: underline;}
		

/* -- */

/* Подвал */
	#empty { 
		clear: both; 
		height: 60px;
	}
	#footer {
		position: relative;
		width: 1000px; 
		margin-left: auto; 
		margin-right: auto; 
		background: url('/bitrix/templates/main/images/footer.jpg') no-repeat; 
		width: 1000px; 
		height:59px;  
	}
	#copyleft { 
		font-size: 10px; 
		position: absolute; 
		left: 50px; 
		top: 15px; 
	}
	#copyleft span { 
		color: #636363; 
		display: block; 
		margin-top: 4px;
	}
	#copyright { 
		font-size: 10px; 
		position: absolute; 
		right: 50px; 
		top: 15px; 
		text-align: right; 
	}
	#copyright a { 
		color: #636363; 
		display: block; 
		margin-top: 4px;
	}
/* --------------------- */
