a img {border: 0;}

#header #name {
	background: url('../img/black_left2.png') top left;
	height: 241px;
	}

	#header #name #name_corner {
	background: url('../img/black_right2.png') top left;
	height: 241px;
	width: 13px;
	}


#menu {
	width: 232px;
	background: #666666 url('../img/menu_top.png') top left no-repeat;
	font-family: Tahoma, sans-serif;
	font-weight: normal;
	color: #fff;
	padding: 0px;
	padding-bottom:20px;
	margin: 80px;
	position: absolute;
	_left: 0px;
	}

    /*ie7 tongue*/ *:first-child+html #menu {margin: 80px; left: 0px;}

	#menu a {
		color: white;
		}

		#menu a:hover {color:#6BC9FF;}


	#menu ul {
		list-style: none;
		list-style-image: none;
		margin: 20px 0 0 0;
		padding: 0px;
		z-index: 10;
	}

	#menu li {
		margin: 10px 0px 0px 0px;
		padding: 0px 0px 0px 25px;
		font-size: 18px;

	}

	#menu li.selected {
		background: url('../img/menuselector.gif') no-repeat 0px 4px;
		position: relative;
		left: -12px;
		padding-left: 37px;
		}

	#menu li ul {
		margin: 0px 0px 0px -20px;
	}

	#menu li ul li {
		font-size: 12px;
		margin: 5px 5px 5px 0px;
		padding: 0px 0px 0px 25px;
	}

		#menu li ul li.selected {
			background: url('../img/menuselector.gif ') no-repeat 0px 0px;
			position: relative;
			left: -17px;
			padding-left: 42px;
			}

	#menu_image {
		background: url('../img/icon5.png') no-repeat 0px 0px;
		width: 125px;
		height: 150px;
		position: absolute;
		left: 168px;
		top: -52px;
		z-index: 1;
		}

	#menu_ending {
		width: 232px;
		height: 13px;
		background: #595959 url('../img/menu_bottom.png') bottom left no-repeat;
		position: absolute;
		left: 0px;
		_left: 0px;
		bottom: 0px;
		}

#content {
	margin: 76px 50px 50px 380px;
	color: #06326d;
	}

.message {
	margin: 20px 0px;
	padding: 7px;
	font-family: Tahoma, sans-serif;
	background: #d7e9f7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}

    /*ie7 tongue*/ *:first-child+html #content {position: relative; top: 60px;}

	.navigator {
		color: black;
		font-family: Tahoma, Verdana, Arial, sans-serif;
		font-size: 18px;
		font-weight: normal;
		margin-bottom: 30px;
		}

a {
	color: #06326d;
	}

a.item_edit_staff,a.item_edit {
	display: block;
	background: url('../img/icon_edit.png');
	width: 23px;
	height: 23px;
	float: right;
	}
a.item_edit span, a.item_edit_staff span {display:none;}
a.item_edit_staff:hover,a.item_edit:hover {
	display: block;
	background: url('../img/icon_edit_hover.png');
	width: 23px;
	height: 23px;
	float: right;
	}

p {margin: 15px 0px;}
#content p {text-align:justify;}

h1,h2,h3,h4,h5,h6 {
		font-family: sans-serif;
		margin: 10px 0px;
		padding: 0px;
		}
	h1,h2,h3 {
		font-weight: normal;
		}
	h1 {font-size: 21px;} h1.pagetitle {margin-top: 0; _margin-top: 80px;}

	h2 {font-size: 19px;}

	h3 {font-size: 17px;}

	h4,h5,h6 {
		font-size: 12px;
		font-weight: bold;
		}

table {
		text-align: left;
		border-collapse: collapse;
		margin: 10px 0;
		}

th, thead {
		background: #93c0fd;
		padding: 10px;
		font-weight: bold;
		border: 1px #06326d solid;
		vertical-align: top;
		}

td {
	padding: 10px;
	border: 1px #06326d solid;
	vertical-align: top;
		}

ul {
	list-style-image: url('../img/list_image.png');
	padding: 0;
	margin: 10px 0px;
	}

li {
	margin: 5px 30px;
	}

li ul {list-style-image: url('../img/list_image2.png');}

div.nb {
	margin: 20px 50px;
	padding: 20px;
	font-family: Tahoma, sans-serif;
	background: #2866a3;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	color: white;
	}

span.nb {
	background: #ff5251;
	display: inline-block;
	color: black;
}

div.note {
	float: right;
	width: 200px;
	font-size: 10px;
	background: #d7e9f7;
	color: #666;
	margin: 20px;
	padding: 11px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

span.note {
	color: #666;
	}

blockquote {
	margin: -30px 100px 30px 100px;
	padding: 20px;
	_margin-top: 30px;
	text-align: justify;
	font-style: italic;
}

	blockquote:before {
	display: block;
	position: relative;
	left: -40px;
	top: 24px;
	content: url(../img/quote1.png);
	}

	blockquote:after {
	clear: both;
	display: block;
	float: right;
	position: relative;
	left: 40px;
	top: -14px;
	content: url(../img/quote2.png);
	}

hr {
	background-color: #999;
	height: 1px;
	border: none;
	margin: 10px 0px;
		}

div.entries_item hr {clear: both;}


.entries_item {
		margin: 20px 0px;
		}

		.entries_item .entries_header {
			margin: 10px 0px;
			}
		.entries_item .entries_header span {
			font-weight: bold;
		}
		
		.entries_item a.comments_count {
			font-weight: normal;
			color: grey;
			font-style: italic;
		}
		
			.entries_item a.comments_count:hover {color: #333;}
		
		.entries_item .entries_date {
			color: grey;
			display:inline;
			}
		
		.entries_item .entries_header .iroom_count {
			font-weight: normal;
			color: #666;
			font-style: italic;
			}

#content .poll-votes div {
    height:20px;
    text-align: left;
    color: black;
    font-weight: bold;
    margin: 2px 0px;
    line-height: 17px;
}
#content .poll-votes .all-right {
    background: url('../img/bar_right_grey.png') no-repeat top right;
    padding-right: 9px;
    margin-top:-2px;
}
#content .poll-votes .all-right div {
    background: url('../img/bar_left_grey.png') repeat-x top left;
    padding-left: 9px;
}
#content .poll-votes .all-right div div {
    background: url('../img/bar_middle_grey.png') repeat-x top right;
    padding:0px;
}
#content .poll-votes .reg-left {
    background: url('../img/bar_left.png') no-repeat top left;
    padding-left:9px;
}
#content .poll-votes .reg-left div {
    background: url('../img/bar_right.png') no-repeat top right;
    padding-right:9px;
}
#content .poll-votes .reg-left div div {
    background: url('../img/bar_middle.png') repeat-x top left;
    padding:0px;
}

#content .poll-votes th {border: 0; font-weight:normal; padding:0.5em; line-height:1em; background: none;}
#content .poll-votes td {border: 0;}
#content .poll-votes tr {border-bottom: 1px #aaa solid;}
#content .poll-votes .my-vote { font-weight:bold; }
#content .poll { min-width:400px; }
#content .poll-votes td.votenumbers {line-height: 22px; text-align: right; vertical-align: top; padding: 9px 2px 0px 25px;}
#content .poll-votes span.votenumbers_stat {font-size: 11px; font-weight: normal; color: #333;}
#content .poll-votes tr.poll_votes_summary {font-weight: bold; vertical-align: middle;}

/*"Rabota" styling*/

.work_wrapper {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.work_person {
    display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
    margin: 5px;
    width: 120px;
    background: #d7e9f7;
    padding: 10px 10px 0px 10px;
    text-align: center;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.work_person a {text-decoration:none;}

.children li{
    padding:6px;
    font-size:18px;
}

/*Gallery styling*/

.gall_page_name a {color: #bbd4e8;}
.gall_page_name a:hover {color: #06326d;}

.image_wrapper {
	display: table-cell;
	background: #000;
	_display: block; /*IE doesn't have any idea about... anything*/
	width: 128px;
	height: 128px;
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	border: 1px #BBD4E8 solid;
	background: #EBF6FF;
	cursor: pointer;
}

a:hover .image_wrapper {border: 1px #9bd solid;}

a.gall_item {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	background: #D7E9F7;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	text-decoration: none;
	min-height: 128px;
	width: 140px;
}

.image_description {
	display: block;
	margin-top: 5px;
	}

h2.pagetitle {margin: -10px 0 10px 0; padding: 0; font-size: 15px; line-height: 14px;}

.gall_cat h2 a {text-decoration: none;}

/*Entries*/

div.entries_pic_normal {float: right; margin: 0px 0px 20px 20px;}

div.entries_pic_thumb {
	float: left;
	margin: 0px 20px 20px 0px;
	background: #d7e9f7;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 10px;
	width: 128px;
	text-align: center;
	}

.entries_date, .entries_cat {display: inline;}

/*Here comes IRoom styling*/

form div label {
	display: block;
}

form h6 {margin: 20px 0px 5px 0px;}

form div input, textarea {
	display: block;
}

form div {margin: 0 0 5px 0; padding: 0;}

#id_user_last_name, #id_user_first_name, #id_user_second_name {
	width: 250px;
	margin-top: -2px;
	margin-left: 7px;
}

div.field_user_last_name {margin-top: 20px;}

div.field_user_address_region, div.field_user_address_city, div.field_user_address_region,
div.field_user_address_address, div.field_user_address_index, div.field_user_phone, div.field_user_email {
	display: inline-block;
	zoom: 1;
}

div.field_user_address_region, div.field_user_address_index, div.field_user_phone
	{margin-left: 10px;}

div.field_user_address_city {margin-left: 10px;}
#id_user_address_city {width: 200px;}

#id_user_address_region {width: 250px;}

#id_user_address_index {width: 50px;}

div.field_user_address_address {margin-left: 10px;}
textarea#id_user_address_address {height: 18px; width: 400px;}

#id_user_phone {width: 120px;}

div.field_user_email {margin-left: 10px;}
input#id_user_email {width: 200px;}

div.field_title, div.field_content {
	font-weight: bold;
	margin-top: 10px;
}

input#id_title, textarea#id_content {width: 467px; margin-left: 10px;}
input#id_reply_others {display: inline;}

#question_comments {margin-left: 50px;}

.iroom_response {
	background: #d7e9f7;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 1px 20px;
}

a#ask {
	height: 56px;
	width: 150px;
	background: url('../img/ask.png') top left;
	display: block;
}

ul.errorlist {
	color: #fff;
	font-size: 11px;
	min-width: 120px;
	_width: 120px;
	padding: 10px;
	list-style: none;
	padding: 3px 6px 12px 6px;
	margin: 5px 0px -2px 0px;
	font-weight: normal !important;
	background: #e36362 url('../img/iroom_errorlist.png') bottom left no-repeat;
}

ul.errorlist li {margin: 0; padding: 0; list-style-image: none;}

a.readmore {display: block; margin-bottom: 10px;}

/*News category page*/

.paginator {
	float: right;
	background: #595959;
	padding: 7px;
	border-radius: 7px;
	color: #eee;
	margin: 10px 1px 20px 0px;
}

#paginator_top .paginator {margin-top: -31px;}

.paginator span {
	background: url('../img/pageselector.gif') bottom center no-repeat;
	padding: 0px 2px 15px 2px;
}

.paginator span.paginator_pages, .paginator span.dots {background: none;}

.paginator a {color: #fff; padding: 0px 2px;}
.paginator a:hover {color: #6BC9FF;}

/*Contacts page*/

.contacts_links {padding: 0px 40px;}

.contacts_links p {
	line-height: 32px;
	padding-left: 36px;
	background-position: left center;
	background-repeat: no-repeat;
}

	.contacts_links #col1, .contacts_links #col2 {width: 300px; float: left; margin-bottom: 20px;}
	.contacts_links #col1 {margin-right: 40px;}

	.contacts_personal {background: url('../img/contacts_personal.png');}
	.contacts_blog {background: url('../img/contacts_blog.png');}
	.contacts_lj {background: url('../img/contacts_lj.png');}
	.contacts_sovet {background: url('../img/contacts_sovet.png');}
	.contacts_wiki {background: url('../img/contacts_wiki.png');}
	
	.contacts_links .contacts_mail {
		background: url('../img/contacts_mail.png') 5px 0px no-repeat;
		line-height: 24px;
		margin: 0px 0px 10px 0px !important;
		}
		
	a.lj_link {
		display: inline-block;
		line-height: 17px;
		background: url('http://l-stat.livejournal.com/img/userinfo.gif') left center no-repeat;
		padding-left: 17px;
		font-weight: bold;
		text-decoration: none;
	}

/*Here comes FORMS STYLING*/

form table th {
	font-family: Arial, sans-serif;
	font-weight: bold;
	line-height: 13px;
	width: 200px;
	padding: 16px 0px 10px 5px;
	background: #fff;
	border-top: 1px #eee solid;
	border-bottom: 1px #eee solid;
	border-left: 1px #eee solid;
	border-right: 0;
	text-align: right;
}

form td {
	border-top: 1px #eee solid;
	border-bottom: 1px #eee solid;
	border-right: 1px #eee solid;
	border-left: 0;
	padding: 10px 10px 10px 5px !important;
	}
	
form td ul {margin: 0;}
form td li {margin: 6px 0px; height: 15px; line-height: 15px; vertical-align: middle; padding: 0;}
form td li input {margin: 0; hvertical-align: top;}
/*form td li label {vertical-align: middle;}*/

input#id_user_name, input#id_user_email, input#id_user_url, input#id_title,
textarea#id_content {width: 300px; margin: 0;}

input#id_captcha {width: 60px;}

form select {height: 26px;}

/*Search results*/

ul#searchlist {margin: 20px 0px; color: grey;}

#searchlist li {margin: 20px 0px; list-style: none;}

#searchlist a {
	font-weight: bold;
	display: block;
	color: #06326D;
}

.search-highlight {
	background: #ffbbbb;
}


.rabota-agro, 
.rabota-tourism,
.rabota-olimp {
    display:block;
    padding: 40px 100px;
}
.rabota-agro {
    background: url('../img/rabota1.jpg') top left no-repeat;
}
.rabota-tourism {
    background: url('../img/rabota2.jpg') top left no-repeat;
}
.rabota-olimp {
    background: url('../img/rabota3.jpg') top left no-repeat;
}

