/* 
 * @year: 2008
 * @author: Sergey Gogolev
 */

/*
 * 	Buttons, headers, links
 */

	.b {
		position: relative; border: none; background: none; 
		cursor: pointer; cursor: hand; overflow: visible;
		display: block; margin: 0; padding: 0; }
		
		.b span {
			position: relative; display: block; width: 100%; margin: 0;
			padding: 1px 0 3px; //padding: 1px 0 0;
			text-align: center;	font-family: Tahoma; 
			font-weight: bold; font-size: 1.1em !important; color: #86571e;}
			
		.b-s {
			width: 78px;
			background: #e0ab0a url(../images/button-small.jpg) top left no-repeat;}
			
		.b-g {
			width: 104px;
			background: #e0ab0a url(../images/button-big.jpg) top left no-repeat !important;}
			
		.b-t span {
			padding: 0 !important;
			color: #0c1c8a !important; font-weight: normal !important; font-size: 1em !important;
			text-decoration: underline; white-space:nowrap; text-align: left !important;}
			
		html:not([lang*=""]):not(:only-child) .b-t span {left: -3px;}

	.h {
		position: relative; margin: 0; padding: 4px 70px 4px 12px; //padding: 3px 70px 5px 12px;
		color: #fff; font-size: 1.1em; font-family: Arial; font-weight: bold; text-transform: uppercase;}

		.h b {
			position: absolute; bottom: 0; right: 1px; _right: 0; width: 69px; height: 30px;}


		.h-blue {
			background: #0c1c8a;}

		.h-yellow {
			background: #ce9b02 url(../images/h-yellow.gif) right top repeat-y;}

		.h-blue-ended {
			zoom: 1;
			background: #081c8c url(../images/h-blue-ended.gif) right top repeat-y;}

			.h-blue-ended b {
				background: url(../images/h-blue-ended-bg.gif) left bottom no-repeat;}

		.h-yellow-ended {
			zoom: 1;
			background: #ce9b02 url(../images/h-yellow-ended.gif) right top repeat-y;}

			.h-yellow-ended b {
				width: 79px; right: -10px; _right: -10px;
				background: url(../images/h-yellow-ended-bg.gif) left bottom no-repeat;}
		
		.h-r-1 b{
			right: 1px !important}

	.h-link, .h-link:visited {
		position: absolute; top: 3px; //top: 4px; right: 0; color: white;
		display: block;
		font-weight: normal; text-transform: none; font-size: .9em; line-height: 1.2em;}

		.h-link:hover {
			color: #dea909;}

		.news-rss {
			right: 15px !important; }

		.news-all {
			right: 45px !important; padding: 0  10px;
			background: url(../images/link-delimiter.gif) no-repeat 100% .2em;}

	.delimiter {
		clear: both; height: 2px; overflow: hidden; margin: 8px 0;
		background: url(../images/delimiter.gif) top left repeat-x;}
	

/* 
 * 	Main struct
 */
	.page {
		position: relative; min-height: 100%; _height: 100%; width: 100%;
		text-align: center;}

		.page-bg {
			position: absolute; top: 0; left:0; width: 100%; height: 100%; 
			text-align: center; overflow: hidden;}

			.page-bg-in {
				height: 100%; top: -104px;}

		.page-in, .page-bg-in { 
			position: relative; width: 915px; margin: 0 auto;
			text-align: left; }
	
	.page-footer {
		position: relative; z-index: 2; width: 915px; height: 104px; 
		margin: 0 auto; margin-top: -104px; 
		text-align: left;}
		
/*
 * 	Backgrounds 
 */

	.page {
		background: #0c1c8a url(../images/page-bg-repeat.gif) repeat 0 0;} 
	
	.page-bg {
		background: url(../images/page-bg.png) repeat-x 0 0;}
		
	.page-bg-in {
		background: #fff url(../images/page-in-bg.gif) repeat-y 0 0;}
		
	.page-bg-in-left, .page-bg-in-right {
		position: absolute; top: 0; width: 7px; height: 100%;
		background: url(../images/page-in-bg-side.png) no-repeat 0 104px;} 
		
		.page-bg-in-left {
			left: 0;}
			
		.page-bg-in-right {
			right: 0; _right: -1px;}
			
	.page-footer {
		background: url(../images/footer-bg-top.gif) repeat-x 0 0;}
		
		.page-footer-bg {
			position: absolute; left: -76px; bottom: -104px; width: 274px; height: 56px;
			background: url(../images/footer-bg.gif) no-repeat 0 0;}
			
	.page-corner-bottom-right {
		position: absolute; right: 7px; bottom: 0; width: 43px; height: 42px;
		background: url(../images/page-corner-bottom-right.jpg) top left no-repeat;}
		
	.page-corner-top-right {
		position: absolute; right: 10px; top: 104px; width: 188px; height: 217px;
		background: url(../images/page-corner-top-right.jpg) top right no-repeat;}	

	.page-lents {
		position: absolute; top: 387px; left: 13px; z-index: 2;
		width: 449px; height: 66px;
		background: url(../images/menu-lenta.png) top left no-repeat;
		_background: none;
		_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='http://server.titansoft.ru/afina/templates/default/images/menu-lenta.png', sizingMethod='noscale');}

	.page-footer-logo {
		position: absolute; bottom: 10px; right: 265px;	width: 255px; height: 118px;
		background: url(../images/footer-logo.gif) top left no-repeat;}
		
		
/*
 * 	Page header
 */

	.header {
		position: relative; height: 190px;}
		
		.header-logo {
			position: absolute; top: 26px; left: 48px;}
			
		.header-phone {
			position: absolute; top:0; right: 51px; padding: 38px 5px 0;
			text-align: right; font-size: 1.1em;
			background: url(../images/header-block-bg.gif) top left repeat-x;}
			
/*
 * 	Main menu
 */

	.menu-block {
		position: relative; height: 239px;}
		
		.menu-block-table {
			width: 100%; height: 239px;}
					
		.menu-left {
			width: 200px;
			background: url(../images/menu-left-bg.png) bottom right no-repeat;}
			
		.menu-main {
			width: 705px;
			background: url(../images/pictures/picture-0.jpg) bottom right no-repeat;}

		.menu-line {
			position: absolute; top: 37px; left: 0; width: 5px; height: 183px;
			background: url(../images/menu-line.gif) top left no-repeat;}

		/*
		 *	Horizontal menu
		 */

			.menu-h {
				position: relative; float: left;
				background: #e7e6f4;}

				.menu-item {
					float: left;}

					.menu-h a, .menu-h a:visited {
						position: relative; float: left; height: 26px;
						color: #0c1c8a; font-size: 1.1em; font-weight: bold; font-family: Arial;
						text-transform: uppercase; text-decoration: none;}

						.menu-h a span, .menu-h a:visited span {
							float: left;
							cursor: hand; cursor: pointer;}
						
							.menu-h a span span, .menu-h a:visited span span {
								height: 21px; _height: 26px; padding: 5px 10px 0;}

					.menu-h a:hover, .menu-h-active {
						background: #dca708 url(../images/menu-item-center.gif) top left repeat-x !important;}

						.menu-h a:hover span, .menu-h-active span {
							background: url(../images/menu-item-left.gif) top left no-repeat  !important;}

							.menu-h a:hover span span, .menu-h-active span span {
								padding-right: 7px  !important; border-right: 3px white solid  !important; color: white  !important;
								background: url(../images/menu-item-right.gif) top right no-repeat  !important;}
			
		/*
		 *	Horizontal submenu
		 */

			.menu-h-submenu {
				position: relative; width: 100%;
				height: 213px;}

					.menu-h-submenu a, .menu-h-submenu a:visited{
						position: relative; float: left; padding: 3px 8px 3px 9px; 
						color: #e7e6f4;font-size: 1.1em; font-weight: bold; font-family: Arial;
						text-transform: uppercase; text-decoration: none;
						background: #0c1c8a url(../images/menu-delimiter.gif) no-repeat left center;}

						.menu-h-submenu .bgn {
							background: #0c1c8a !important;}

					.menu-h-submenu a:hover{
						color: #f7be14;}
		
			
		/*
		 *	Vertical menu
		 */

			.menu-v {
				position: relative; height: 155px; _height: 205px;
				padding: 50px 0 0 3px;
				 overflow: hidden;}
			
				.menu-v a, .menu-v a:visited {
					position: relative; display: block; padding: 7px 10px 7px 43px; margin-bottom: 2px;
					color: #0c1c8a; font-size: 1em; font-weight: bold; font-family: Arial;
					text-transform: uppercase; text-decoration: none;
					background: #e7e6f4 url(../images/menu-item-bullet.gif) no-repeat 30px 1.1em; border-left: 5px solid white;}

				.menu-v a:hover {
					color: #f7be14;}
/*
 * 	Athoriztion block
 */	
	.auth-block {
		position: absolute; top: 0; left: 425px; width: 208px;
		padding-bottom: 23px;}
		
		.auth-block table {
			width: 100%; margin-bottom: 13px;}
			
			.auth-block td {
				padding:  0 0 0 9px;}
			
		.auth-block-bg {
			width: 100%;
			height: 22px; background: url(../images/header-block-bg.gif) top left repeat-x;}
			
		.auth-block-bg, .auth-block-header, .auth-block-reg {
			border-left: 1px solid #e7e6f4;}
			
		.auth-block h4 {
			margin: 5px 0 0; font-size: 1.3em; color: #0c1c8a;}
			
		.auth-block span {
			color: #4d4d4d; font-size: .9em;}
			
	.auth-input {
		padding-left: 9px;}
			
		.auth-input input {
			border: 1px #adadad solid; color: #333;
			padding: 2px; width: 194px; height: 15px; _width: 200px; _height: 21px;}
			
		.auth-input span {
			display: block; height: 14px;	
			font-family: Verdana; color: #bf0000;}
			
	.auth-block .b-s {
		position: absolute; bottom: 0; right: 0;}
		
	.auth-block .b-t {
		position: absolute; bottom: 2px; left: 9px;}
		
		

/* 
 *	Content struct
 */

	.main, .center, .center-in {
		position: relative; //height: 1%; z-index: 1;}
	
	.main {
		padding-bottom: 104px; }

		.left, .right {
			position: relative;}

		.left {
			width: 227px; float: left; _margin-right: -3px;} 

			.left-in {
				padding: 0 0 20px 8px;}

		.right {
			 width: 262px; float: right; _margin-left: -3px;}

			.right-in {
				padding: 11px 0 20px 10px;} 

		.center {
			margin: 0 262px 0 227px;}

			.center-in {
				float: left; //float: none; width: 100%; //width: auto;
				padding: 21px 0 0 0;}


/* 
 *	Search and sitemap
 */

	.search-block {
		position: relative; width: 202px;
		background: url(../images/search-bg.gif) top left repeat-y;}

		.search-block-in { 
			position: relative; padding: 0 0 22px 14px; _width: 202px;
			background: url(../images/search-bg-bottom.gif) bottom left no-repeat;}

			.search-block h4 {
				margin: 0 0 6px 2px; 
				color: #0c1c8a; font-size: 1.2em;}

			.search-block input {
				display: block; width: 159px; height: 14px; _width: 165px; _height: 20px; padding: 2px; border: 1px #a8a7ab solid;
				color: #0c1c8a; font-size: 1em;}

			.search-button button{
				float: right;}

			.search-block td {
				padding:  0 0 6px 0; vertical-align: bottom;}

			.search-block table {
				width: 165px;}

			.search-block a:hover {
				color: #d5a105;}

/*
 *	Second vertical menu 
 */

	.menu-v-2 {
		position: relative; padding-top: 10px;}
	
		.menu-v-2 a, .menu-v-2 a:visited {
			position: relative; display: block; padding: 7px 0 7px 10px; margin-bottom: 2px;
			color: #0c1c8a; font-size: 1em; font-weight: bold; font-family: Arial;
			text-transform: uppercase; text-decoration: none;
			background: url(../images/menu-item-bullet.gif) no-repeat 0 1.1em;}

		.menu-v-2 a:hover {
			color: #d5a105;}

/*
 *	Offers system
 */
	
	.offer {
		padding: 10px 0 10px 6px;}


/* 
 *  Polls
 */

	.poll-content{
		padding: 5px 0 0 20px; color: #333;}

		.poll-content table {
			margin: 4px 0 10px;}

		.poll-content td {
			padding: 3px 8px 4px 0; //padding: 3px 8px 0 0;}

		.poll-content input {
			cursor: hand; cursor: pointer;}

		.poll-content .b {
			margin-bottom: 4px;}

		.poll-content b {
			font-weight: normal;}

	.poll-side-question {
		font-weight: bold;}

/* 
 *	filter and sitemap
 */

	.filter-block-top {
		width: 235px; height: 10px; margin-left: 8px;
		background: #f0f1f8; overflow: hidden;}

	.filter-block {
		position: relative; width: 243px;
		background: url(../images/filter-bg.gif) top right repeat-y;}

		.filter-block-in { 
			position: relative; padding: 12px 10px 32px 18px; _width: 243px;
			background: url(../images/filter-bg-bottom.gif) bottom right no-repeat;}

			.filter-content {
				padding: 0 13px;}
	
				.filter-content b {
					display: block; padding: 10px 0 10px; font-weight: normal;}

				.filter-content label {
					display: block;}

				.filter-content input, .filter-content select {
					display: block; width: 179px; height: 14px; _width: 185px; _height: 20px; padding: 2px; border: 1px #a8a7ab solid;
					color: #0c1c8a; font-size: 1em; margin-bottom: 8px;}

				.filter-content select {
					width: 185px; height: 20px; padding: 0;
					cursor: pointer; cursor: hand;}

				.filter-content .b {
					margin-top: 13px;}

	.input-example {
		display: block; position: relative; top: -8px;}
			
			.input-example span {
				border-bottom: 1px dashed #333; cursor: pointer; cursor: hand;}

	.filter-results td {
		padding-bottom: 12px;}

/* 
 *	subscribe
 */

	.subscribe-block {
		position: relative; padding: 0px 10px 11px 22px;
		background: url(../images/subscribe-bg.gif) no-repeat 35px 60px;}

	
		.subscribe-block b {
			color: #0c1c8a;
			display: block; padding: 5px 0; font-weight: normal;}

		.subscribe-block img {
			position: relative; top: 7px; left: -3px;}


		#emails {
			display: block; width: 109px; height: 14px; _width: 115px; _height: 20px; padding: 2px; border: 1px #a8a7ab solid;
			color: #444; font-size: 1em; margin-bottom: 6px;}

		#subsimage {
			display: block; width: 80px; height: 14px; _width: 86px; _height: 20px; padding: 2px; border: 1px #a8a7ab solid;
			color: #444; font-size: 1em; margin-bottom: 6px;}

		#subsButton {
			float: right; margin-right: 13px; //margin-right: 7px;}

		.subscribe-block td {
			padding-right: 5px;}

		.header-subsed  strong{
			color: #0c1c8a;}


/* 
 *	vacancy block
 */

	.vacancy-block {
		position: relative; padding: 20px 8px 0 22px;}

		.vacancy-content {
			padding: 3px 12px;}

		.vacancy-content b {
			display: block; color: #333; padding: 1px 0 0; font-weight: normal;}

		.vacancy-content ul {
			list-style: none; position: relative; margin: 10px 0 5px; left: -12px;}

			.vacancy-content ul li {
				padding: 0 0 8px 12px;
				background: url(../images/menu-item-bullet.gif) no-repeat 0 .55em;}

					.vacancy-content ul li a, .vacancy-content ul li a:visited {
						display: block; font-size: 1.2em; font-weight: normal; line-height: 1em;}

					.vacancy-content ul li span {
						color: #333;}


/*
 *	News block
 */
	.news-block {
		position: relative;}

		.news-block table {
			margin: 15px 0 0 0;}

		.news-content h4{
			font-weight: bold; color: #0c1c8a; margin: 0 0 3px 0; font-size: 1em;}

		.news-content p {
			color: #333;}

		.news-content{
			padding: 0 0 25px 5px;}

		.news-date a, .news-date a:visited {
			float: left; color: #1a1a1a; line-height: 1.1em; margin-left: 5px;
			_height: 1%;
			text-decoration: none;}

			.news-date a:hover {
				color: #dea909;}

			.news-date-month {
				width: 50px;}

		.news-day, .news-day:visited {
			color: #ffc517 !important; font-size: 2.2em;}

		.news-date {
			width: 90px; padding-left: 5px;}
			
/*
 * Голосование
 */
	.poll-block table {
		margin: 4px 0 10px;}

	.poll-block td {
		padding: 3px 8px 7px 0; //padding: 3px 8px 0 0;}

		.poll-block button {
			top: -2px;}

		.poll-block input {
			cursor:hand; cursor: pointer;}
			
	.polls-side-line {
			position: relative;
			height: 8px !important; width: 190px; background: #ececec;}

			.polls-side-line div{
				position: relative;
				background: #0547be; height: 8px; overflow: hidden;}

		.polls-side-answer {
			margin-top: 10px; width: 190px;}
			
		.polls-answer-name {
				font-size: 0.9em; font-family: Verdana,serif !important;
				padding-right: 20px;}
				
		.polls-side-content {
			margin: 10px 0 20px;}
 

				
/* 
 * 	Page footer
 */

	/* Developer link */
		.developer {
			position: absolute; top: 30px; right: 62px;
			text-align: center;	width: 103px;}

			.developer a, .developer a:visited, .developer a:hover  {
				text-decoration: none; color: #e7e6f4;}

			.developer img {
				position: relative; left: -2px; top: 4px;}
			
	/* Contact information block */
		.contact-information {
			top: 20px; left: 44px; width: 245px;}
			
			.contact-information p {
				line-height: 1.2em;}
			
		.contact-information, .contact-phones {
			position: absolute; color: #e7e6f4;}

			.contact-information a, .contact-information a:visited,
			.contact-phones a, .contact-phones a:visited   {
				color: #e7e6f4;}
				
			.contact-phones span, .contact-information a:hover, .contact-phones a:hover {
				color: #ffc517;}

		.contact-phones {
		 	top: 13px; right: 257px; text-align: right;}
			
			.contact-phones span {
				font-weight: bold; font-size: 1.7em;}

	/* Counters block */
		.counters {
			position: absolute; top: 20px; left: 290px; width: 120px;}
			
			.counter {
				position: relative !important; float: left; margin: 0 0 5px 5px;}	

	.search-bold {
		font-weight: bold !important;}
