﻿/* fixing the flow */
.news_block {
	overflow:hidden;
	zoom:1;
	}

/* Search */
.header .form INPUT {
	font-size:1.2em;
	width:147px;
	padding:3px 10px 0 25px;
	background:url(_search.png) 0 0 no-repeat;
	}
/* Profile block */
.content .profile_block {
	overflow:hidden;
	spadding:6px 6px 0 18px;
	font-size:.75em;
	}
.content .profile_block FIELDSET {
	margin:20px 0 0;
	border:0;
	padding:.5em 0 20px;
	background:url(http://babygreen.ru.zerostudio.ru/@/fit/dotted.gif) 0 100% repeat-x;
	}
	.content .profile_block LEGEND {
		padding:0;
		margin:0;
		}
	.content .profile_block P,
	.content .profile_block BUTTON,
	.content .profile_block LI,
	.content .profile_block LABEL,
	.content .profile_block INPUT,
	.content .profile_block TEXTAREA,
	.content .profile_block SELECT {
		font-size:1em;
		}
	.content .profile_block BUTTON {
		overflow:visible;
		}
	.content .profile_block DD {
		padding:0;
		margin:0;
		}

.profile_block_username {
	overflow:hidden;
	zoom:1;
	}
	.profile_block_username_input {
		width:153px;
		float:left;
		margin-bottom:0;
		}
		.content .profile_block_username_input INPUT {
			font-size:1.33em;
			font-weight:bold;
			color:#000;
			}
	.profile_block_username h1 {
		width:153px;
		float:left;
		margin-bottom:0;
		}
	.profile_block_username_link {
		float:right;
		padding:.5em 0 0;
		}
		.profile_block_username_link A:link,
		.profile_block_username_link A:visited {
			font-size:.9166em;
			color:#808080;
			text-decoration:underline;
			}

.profile_block .profile_block_image {
	float:none;
	clear:both;
	overflow:hidden;
	zoom:1;
	padding-bottom:10px;
	padding-left:107px;
	width: 250px;
	}
	.profile_block_image IMG.profile {
		position:relative;
		float:left;
		margin-left:-107px;
		}
	.profile_block_image DT LABEL {
		padding-bottom:10px;
		}
	.content .profile_block_image DD {
		spadding-bottom:.5em;
		padding-left: 5px;
		color: #636363;
		}

.profile_block_info {
	overflow:hidden;
	}
	.content .profile_block_info LABEL {
		margin-bottom:3px;
		}
	.profile_block_info DL {
		float:left;
		width:152px;
		padding:6px 23px 5px 0;
		margin:3px 3px 3px 0;
		}
		.profile_block_info .profile_block_sex {
			clear:left;
			width:154px;
			}
		.profile_block_info .profile_block_bdate {
			width:252px;
			}
		.profile_block_info .profile_block_bdate SELECT {
			width:auto;
			}
		.profile_block_info TEXTAREA {
			width:470px;
			}

.content .profile_block .profile_block_children {
	padding-bottom:0;
	width: 381px;
	}
	.profile_block_children LEGEND {
		font-weight:bold;
		color:#636363;
		}
	.profile_block_children UL,
	.profile_block_children LI {
		display:block;
		list-style:none;
		margin:0;
		padding:0;
		overflow:hidden;
		zoom:1;
		}
	.profile_block_children LI {
		padding-bottom:20px;
		}
		.profile_block_children_name {
			float:left;
			width:152px;
			padding-top:10px;
			margin:0;
			}
			* HTML .profile_block_children_name {
				width:270px;
				}
			.content .profile_block_children LABEL {
				margin-bottom:3px;
				}
			.profile_block_children_name DD {
				display:inline;
				}
				.content .profile_block_children_name INPUT {
					width:150px;
					}
				.profile_block_children_name SELECT {
					width:100px;
					}
				* HTML .profile_block_children_name SELECT {
					width:90px;
					}

		.profile_block_children_bdate {
			float:right;
			width:203px;
			padding-top:10px;
			margin:0;
			}
			.profile_block_children_bdate INPUT,
			.profile_block_children_bdate SELECT {
				width:auto;
				}


.profile_block_password LEGEND {
	font-weight:bold;
	color:#636363;
	}
	.profile_block_password DL {
		float:left;
		width:152px;
		padding:6px 23px 5px 0;
		margin:3px 3px 3px 0;
		}
	.profile_block_password P {
		clear:both;
		padding:10px 0 0;
		margin:0;
		}

.profile_block_subscribe LEGEND {
	font-weight:bold;
	color:#636363;
	}
	.profile_block_subscribe ul {
		clear:both;
		padding:10px 0 0;
		margin: 0 0 30px 0;
		list-style: none;
		}
		.profile_block_subscribe ul li {
			padding: 0;
			margin: 0 0 5px 0;
		}

		
.profile_block_save {
	padding-top:10px;
	text-align:right;
	}

/* Green block */
.green_block {
	position:relative;
	swidth: 100%;
	padding:0 28px 24px;
	smargin:0 -50px 0 0;
	color:#2D5B01;
	font-size:.75em;
	line-height:1.1666;
	background:url(green-sprite.gif) 0 100% no-repeat;
	}
	.green_block_hair {
		height:27px;
		margin:0 -28px 0px;
		background:url(green-sprite.gif) 0 -54px no-repeat;
		overflow:hidden;
		}
	.green_block P {
		margin:1em 0 0;
		padding:0;
		}

.green_button,
.green_button_in {
	display:-moz-inline-stack;
	display:inline-block;
	height:26px;
	overflow:hidden;
	font-size:1em;
	line-height:24px;
	font-weight:bold;
	text-decoration:none !important;
	color:#FFF;
	cursor:pointer;
	background:#2D5B01 URL(green-sprite.gif) no-repeat;
	}
	.green_button_in {
		padding:0 9px;
		background-color:transparent;
		background-position:100% -27px;
		}

/* Comments simple styles */
.content .comments {
	padding-top:20px;
	}
.content .comment {
	border-bottom:1px solid #C0ECF0;
	}
	.content .comments A:link,
	.content .comments A:visited {
		color:#59C5CE;
		}

/* Inline File Input Override */
.file_input_inline {
	width:auto !important;
	display:inline-block !important;
	position:relative;
	overflow:hidden;
	}
	.file_input_inline .type_file {
		position:absolute;
		right:0;
		bottom:0;
		height:100%;
		border:0;
		font-size:999px;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
		filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
		opacity:0;
		zoom:1;
		}


		
/* Second level menu */
.nav-level2 {
	float:left;
	overflow:hidden;
	padding:0;
	margin:15px 0 -10px 0;
	}
	/* Menu item */
	.nav-level2 .nav-item {
		position:relative;
		float: left;
		display:inline;
		list-style:none;
		height:20px;
		margin:0 -11px;
		overflow:hidden;
		line-height:20px;
		background:#CCEFF2 url(_menu_images.gif) -25px 0 no-repeat;
		}
	.nav-level2 .nav-item-first {
		background-position:0 -84px;
		margin-left:0;
		}
	.nav-level2 .nav-item-last {
		margin-right:0;
		}
		.nav-level2 .nav-item-in {
			display:block;
			float:left;
			height:20px;
			padding:0 25px;
			margin:0;
			text-decoration:none;
			font-size:13px;
			font-family:"Times New Roman", Times, serif;
			font-style:italic;
			font-weight:bold;
			color:#0A6971;
			background:url(_menu_images.gif) -25px 0 no-repeat;
			}
		.nav-level2 .nav-item-first .nav-item-in {
			padding-left:15px;
			}
		.nav-level2 .nav-item-last .nav-item-in {
			background-position:100% -105px;
			}
	/* Selected menu item */
	.nav-level2 .nav-item-selected,
	.nav-level2 .nav-item-first-selected,
	.nav-level2 .nav-item-last-selected {
		z-index:1000;
		background-color:#04B5C4;
		}
	.nav-level2 .nav-item-selected,
	.nav-level2 .nav-item-last-selected {
		background-position:0 -42px;
		}
		.nav-level2 .nav-item-first-selected .nav-item-in,
		.nav-level2 .nav-item-selected .nav-item-in {
			background-position:100% -63px;
			}
	.nav-level2 .nav-item-first-selected {
		background-position:0 0;
		}
		.nav-level2 .nav-item-last-selected .nav-item-in {
			background-position:100% -21px;
			}
		.nav-level2 .nav-item-last-selected .nav-item-in,
		.nav-level2 .nav-item-first-selected .nav-item-in,
		.nav-level2 .nav-item-selected .nav-item-in {
			color:#FFF;
			}

/* Third level menu */
.nav-level3 {
	float:left;
	overflow:hidden;
	max-width:50%; /* for right menu position in ok browsers */
	margin:15px 0 -10px 0;
	padding:0;
	font-size:13px;
	line-height:20px;
	}
#advices .nav-level3 {
	margin: -10px 0 15px 0;
	max-width: 100%;
	width: 100%;
	display: block;
	font-size: 1.1em;
}
#advices .nav-level3 li a {
	font-family:"Times New Roman", Times, serif !important;
	color: #999;
}
	/* Menu item */
	.nav-level3 .nav-item {
		display:inline;
		list-style:none;
		white-space:nowrap;
		}
	#advices .nav-level3 .nav-item {
		display:inline;
		list-style:none;
		white-space:nowrap;
		font-family:"Times New Roman", Times, serif;
		}
		.nav-level3 .nav-item-in {
			display:inline-block;
			padding:0 .3em;
			font-family:"Times New Roman", Times, serif;
			font-style:italic;
			color:#000;
			margin-right:.4em;
			}
		.nav-level3 .nav-item-selected .nav-item-in {
			font-family:"Times New Roman", Times, serif;
			color:#04B5C4;
			text-decoration:none;
			}
		#advices ul.nav-level3 li.nav-item-in a.selected
		{
			color:#04B5C4 !important;
		}
				