html, body {
	height: 100%;
}
body {
	margin: 0px;
	padding: 0px;
}

form {
	display: inline;
	margin: 0px;
}

#header {
	width: 100%;
	height: 90px;
	margin-bottom: 20px;
	background-color: #0066CC;
	background-image: url('../img/metroblog_back.gif');
	background-repeat: repeat-x;
}
	#header_left {
		width: 70%;
		height: 90px;
	}
	#header_right {
		width: 30%;
		height: 90px;
		background-color: #BFD6EE;
	}

#news_header {
	font-family: verdana;
	font-size: 24px;
}
h1 {
	margin: 0px;
	font-family: verdana;
	font-size: 24px;
	font-style: normal;
	font-style: normal;
	font-weight: normal;
}

#sections {
	border-bottom: 1px solid #EEEEEE;
}
	#sections_header {
		padding-bottom: 5px;
		text-align: center;
		color: #999999;
	}
	#sections a {
		display: block;
		width: 100%;
		height: 100%;
		text-decoration: none;
		color: #555555;
	}
	#sections a:hover {
		color: #999999;
		background-image: url('../img/section_hover.gif');
		background-position: right;
		background-repeat: no-repeat;
	}
	#sections ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
	#sections li {
		display: block;
		width: 100%;
		padding: 5px;
		color: #555555;
		border: 1px solid #EEEEEE;
		border-bottom: none;
	}

#category {
	background-color: #E5E5E5;
	margin-bottom: 10px;
}
	#category_tl {
		background-image: url('../img/corner_tl.gif');
		background-repeat: no-repeat;
	}
	#category_tr {
		height: 11px;
		background-image: url('../img/corner_tr.gif');
		background-repeat: no-repeat;
		background-position: right;
		font-size: 0;
	}
	#category_bl {
		margin-top: -10px;
		background-image: url('../img/corner_bl.gif');
		background-repeat: no-repeat;
		background-position: left bottom;
	}
	#category_br {
		height: 31px;
		background-image: url('../img/corner_br.gif');
		background-repeat: no-repeat;
		background-position: right;
	}
	#category_block {
		margin: 10px;
		margin-top: 0;
		margin-bottom: 10px;
	}
	#category_name {
		height: 30px;
		margin-bottom: 5px;
		background-image: url('../img/dotted.gif');
		background-repeat: repeat-x;
		background-position: bottom center;
	}
	#category a {
		color: black;
		display: block;
		margin: 5px;
		margin-right: -10px;
		white-space: nowrap;
	}
		#category a:hover {
			color: #5FAFFF;
		}

#posts_sort {
	background-image: url('../img/hr_gray.gif');
	background-repeat: repeat-x;
	padding-left: 10px;
	padding-top: 7px;
	height: 25px;
}
	#posts_sort_tab_selected {
		background-color: white;
		border-left: 1px solid #DDDDDD;
		border-top: 1px solid #DDDDDD;
		border-right: 1px solid #555555;
		padding-left: 7px;
		padding-top: 1px;
		padding-right: 7px;
		padding-bottom: 1px;
	}
	#select_block {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 10px;
	}

div#link_block
{
	float: right;
	position: relative;
}
	div#link_block .section {
		float: left;
		position: relative;
		cursor: pointer;
		cursor: hand;
	}
		div#link_block .section .abs {
			position: absolute;
			z-index: 5;
			height: 21px;
		}
		div#link_block .section .comments_left {
			left: -4px;
			width: 10px;
			background: url('../img/comments_left.gif') no-repeat;
		}
		div#link_block .section .comments_right {
			right: -4px;
			width: 5px;
			background: url('../img/comments_right.gif') no-repeat;
		}
		div#link_block .section .comments_right_new {
			right: -4px;
			width: 5px;
			background: url('../img/comments_right_new.gif') no-repeat;
		}
		div#link_block .section .new_right {
			right: -4px;
			width: 5px;
			background: url('../img/comments_new_right.gif') no-repeat;
		}

		div#link_block .section .txt {
			padding-top: 1px;
			height: 14px;
			min-width: 12px;
			text-align: center;
		}
		div#link_block .section .content {
			position: relative;
			z-index: 10;
		}
			div#link_block .section .content .comments {
				background: #cceaff;
			}
			div#link_block .section .content .new {
				padding-left: 2px;
				color: white;
				background: #f59999;
			}

.vote_block {
	position: relative;
	top: -24px;
	left: -5px;
	text-align: center;
	background-color: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
	.vote_text {
		font-size: 12px;
	}
	.votes {
		width: 30px;
		height: 14px;
		background-color: #F0F0F0;
		cursor:default;
	}
		.votes_zero {
			width: 30px;
			height: 14px;
			background: url('../img/votes_zero.gif') no-repeat 0 0;
			cursor:default;
		}
		.votes_minus {
			width: 30px;
			height: 14px;
			color: #DDDDDD;
			cursor:default;
		}
		.votes_gold {
			width: 30px;
			height: 14px;
			background: url('../img/votes_gold.gif') no-repeat 0 0;
			cursor:default;
		}
		.votes_was_gold {
			width: 30px;
			height: 14px;
			background: url('../img/votes_was_gold.gif') no-repeat 0 0;
			background-color: #F0F0F0;
			cursor:default;
		}
	.vote_button span,
	.vote_button a {
		display: block;
		margin-top: -1px;
		width: 30px;
		height: 15px;
		cursor:default;
		background: url(http://metroblog.ru/img/vote_button.gif) no-repeat 0 1px;
	}
		.vote_button a:hover {
			cursor:pointer;
			cursor:hand;
			background-image: url(http://metroblog.ru/img/vote_button_hover.gif);
		}
		.voted a {
			color:black;
		}
		.voted a:hover {
			cursor:default;
			background: url(http://metroblog.ru/img/vote_button.gif) no-repeat 0 1px;
			color:black;
		}
	.vote_ban a {
		display: block;
		margin-top: -1px;
		width: 30px;
		height: 15px;
		cursor:default;
		background: url('../img/vote_ban.gif') no-repeat 0 1px;
	}
		.vote_ban a:hover {
			cursor:pointer;
			cursor:hand;
			background-image: url('../img/vote_ban_hover.gif');
		}
	.vote_edit a {
		display: block;
		margin-top: -1px;
		width: 30px;
		height: 15px;
		cursor:default;
		background: url('../img/vote_edit.gif') no-repeat 0 1px;
	}
		.vote_edit a:hover {
			cursor:pointer;
			cursor:hand;
			background-image: url('../img/vote_edit_hover.gif');
		}
	.loading {
		background: #d0f0d0 url('../img/loading.gif');
	}

#votes_pro {
	background-image: url('../img/hr_gold.gif');
	background-repeat: repeat-x;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 3px;
	margin-left: 1px;
	margin-right: 1px;
	color: #555555;
}
#votes_contra {
	background-image: url('../img/hr_brown.gif');
	background-repeat: repeat-x;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 3px;
	margin-left: 1px;
	margin-right: 1px;
	color: #555555;
}

.text {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #000000;
	text-decoration: none;
}

.text_small {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #555555;
	text-decoration: none;
}

.header {
	font-family: Arial;
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 8px;
}
h2 {
	font-family: Arial;
	font-size: 18px;
	font-style: normal;
	font-style: normal;
	font-weight: normal;
	margin-top: 0px;
	margin-bottom: 8px;
}

a {
	color: #0066CC;
	text-decoration: none;
}
	a:hover {
		color: #5FAFFF;
	}

#button {
	display: block;
	width: 127px;
	height: 25px;
	font-size: 11px;
	color: white;
	background-image: url('../img/gray_button.gif');
	background-repeat: no-repeat;
	padding-top: 5px;
}
	#button:hover {
		background-image: url('../img/gray_button_hover.gif');
	}
.button_small a {
	display: block;
	width: 91px;
	height: 18px;
	font-size: 10px;
	color: white;
	background-image: url('../img/gray_button_small.gif');
	background-repeat: no-repeat;
	padding-top: 2px;
}
	.button_small a:hover {
		color: white;
		background-image: url('../img/gray_button_small_hover.gif');
	}
#button_double {
	width: 253px;
	height: 25px;
	background-image: url('../img/gray_button_double.gif');
	background-position: top center;
	background-repeat: no-repeat;
}
	#button_preview {
		display: block;
		float: left;
		color: white;
		font-size: 11px;
		background-image: url('../img/gray_button_double.gif');
		background-repeat: no-repeat;
		width: 126px;
		height: 25px;
		padding-top: 5px;
	}
		#button_preview:hover {
			background-image: url('../img/gray_button_double_hover.gif');
		}
	#button_submit {
		display: block;
		float: right;
		color: white;
		font-size: 11px;
		margin-left: 1px;
		background-image: url('../img/gray_button_double.gif');
		background-repeat: no-repeat;
		background-position: top right;
		width: 126px;
		height: 25px;
		padding-top: 5px;
	}
		#button_submit:hover {
			background-image: url('../img/gray_button_double_hover.gif');
		}

img {
	border: 0;
}

hr {
	height: 1px;
	border: 0;
	background-color: #F9F9F9;
}

.post {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid;
	border-top-color: #3D7BAD;
	border-left-color: #B5CFE7;
	border-right-color: #B5CFE7;
	border-bottom-color: #B7D9ED;
}
.button {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	border: 1px solid;
	background-color: white;
}
#profile_input {
	font-size: 18px;
	margin-top: 10px;
	margin-left: 10%;
	width: 80%;
	/width: 90%;
}
#profile_radio {
	margin-left: 10%;
}

.inactive {
	color: gray;
}

#black{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5000;background-color:black;-moz-opacity: 0.8;opacity:.80;filter: alpha(opacity=80);}
#black[id]{position: fixed;}
#overlay{position: absolute; background-color: white; top: 10%; left: 50%; width: 700px; margin-left: -350px; z-index: 9999;}
#overlay[id]{position: fixed;}

.cloud_1 {
	font-size: 10px;
}
.cloud_2 {
	font-size: 13px;
	font-weight: bold;
}
.cloud_3 {
	font-size: 16px;
	font-weight: bold;
}
.cloud_4 {
	font-size: 19px;
}
.cloud_5 {
	font-size: 22px;
}

.hidden {
	display: none;
}

table.text img {
    max-width: 100%;
}