/* b-header */
.b-header {
	height: 84px;
	font-family: Arial;
	color: white;
	}
	.b-header a {
		color: white !important;
		}
	.b-header a:link, 
	.b-header a:active, 
	.b-header a:visited {
		color: white !important;
		}
		
	.b-header .home-link {
		font-weight: bold;
		}
		.b-header .home-link a:hover {
			text-decoration: none;
			}
		
	/* Верхняя часть шапки: слева ссылка на главную, справа юзерменю */
	.b-header__t {
		height: 21px;
		font-size: 1.1em;
		line-height: 18px;
		padding: 0 10px;
		background: url('b-header-top.png') repeat-x;
		}
		.b-header__t-l {
			float: left;
			}
		.b-header__t-r {
			float: right;
			text-align: right;
			}
			
	/* Средняя часть шапки: название сайта */
	.b-header__m {
		height: 42px;
		padding: 0 20px;
		line-height: 30px;
		background: url('b-header-middle.png') repeat-x;
		position: relative;
		}
    .b-header__m__link2back {
      display:block;
      float:left;

      overflow:hidden;

      position:relative;
      z-index:5000;
    }
		.b-header__m img {
			float: left;
			border: none;

      margin:5px 5px 0 0;
    }
		.b-header__m a {
			text-decoration: none;
			}
		.b-header__m h1 {
			font-size: 1.8em;
			padding-top: 5px;
			}
			.b-header__m .logo-and-breadcrumbs {
				position: relative;
				z-index: 1000;
				//margin-top: -1px;
				}
				/*.b-header__m h1.logo-and-breadcrumbs a, .b-header__m h1.logo-and-breadcrumbs span {
					font-family: "Arial Black";
					//position: relative;
					//bottom: -1px;
					}*/
			.b-header__m h1.background {
				color: #666;
				opacity: .3; filter:alpha(opacity=30);
				position: absolute;
                left: 57px;
                top: 1px;
				}
				/*.b-header__m h1.background span {
					font-family: "Arial Black";
					}*/
		
	/* Нижняя часть шапки: меню сайта */
	.b-header__b {
		height: 21px;
		background: url('b-header-bottom.png') repeat-x;
		padding: 0 20px;
		line-height: 18px;
		}
		
/* Цветовые оформления */
/* Оранжевый */
.b-header-color-1, .b-header-color-1 .menu-selected, .b-header-color-1 .inherit-background {
	background: #f2700c;
	}

/* Красный */
.b-header-color-2, .b-header-color-2 .menu-selected, .b-header-color-2 .inherit-background {
	background: #d44c51;
	}
	
/* Синий */
.b-header-color-3, .b-header-color-3 .menu-selected, .b-header-color-3 .inherit-background {
	background: #2792f7;
	}
	
/* Сиреневый */
.b-header-color-4, .b-header-color-4 .menu-selected, .b-header-color-4 .inherit-background {
	background: #9767f7;
	}
	
/* Зелёный */
.b-header-color-5, .b-header-color-5 .menu-selected, .b-header-color-5 .inherit-background {
	background: #66b314;
	}
	
/* Цвет морской волны */
.b-header-color-6, .b-header-color-6 .menu-selected, .b-header-color-6 .inherit-background {
	background: #1cb6a6;
	}
	
/* Агентство и профиль */
.b-header-color-a, .b-header-color-a .menu-selected, .b-header-color-a .inherit-background {
	background: #6f7982;
	}
	
/* b-menu-user */
.b-menu-user {
	list-style-type: none;
	margin-right: -5px; /* Компенсируем внутренние отступы элементов */
	}
	.b-menu-user li {
		display: inline;
		padding: 0 5px;
		border-left: 1px solid;
		}
		.b-menu-user li.first-child,
		.b-menu-user li:first-child {
			border-left: none;
			}
	.b-menu-user li.user {
		font-weight: bold;
		}
	.b-menu-user li a {
		text-decoration: underline;
	}
	.b-menu-user li a:hover {
		text-decoration: none;
		}

/* b-menu-main */
.b-menu-main {
	font-size: 1.2em;
	margin-left: -10px;
	height: 21px;		
	line-height: 19px;
	list-style-type: none;
	}
	.b-menu-main li {
		float: left;
		//zoom: 1;
		padding: 0 10px 0 11px;
		height: 21px;
		background-image: url('b-header-menu-sep.png');
		background-repeat: no-repeat;
		}
	.b-menu-main li.first-child {
		background-image: none !important;
		}
		/* Все эти important'ы из-за ИЕ6, он почему-то очень не хочет без них воспринимать */
		.b-menu-main li a {
			text-decoration: none !important;
			color: white !important;
			}
		.b-menu-main li a:link, .b-menu-main li a:vlink {
			text-decoration: none !important;
			color: white !important;
			}
		.b-menu-main li a:hover {
			text-decoration: underline !important;
			color: white;
			}
	
	
	/* Дальше идут стили уголков возле текущего пункта меню */
	.b-menu-main li.menu-selected {
		position: relative;
		right: -1px;
		padding: 0 10px;
		background-image: none !important;
		}
		.b-menu-main li.menu-selected div {
			height: 1px;
			font: 0/0 a;
			position: absolute;
			left: 0;
			width: 100%;
			//width: expression(this.offsetParent.offsetWidth+"px");
			//zoom: 1;
			}
			.b-menu-main li.menu-selected div ins {
				height: 1px;
				display: block;		
				//position: relative;
				font: 0/0 a;
				//zoom: 1;
				//overflow: hidden;
				}
				.b-menu-main li.menu-selected div .f ins {opacity: .6; filter:alpha(opacity=60);}
				.b-menu-main li.menu-selected div .s ins {opacity: .4; filter:alpha(opacity=40);}
				.b-menu-main li.menu-selected div .t ins {opacity: 1; filter:alpha(opacity=100);}
		.b-menu-main li.menu-selected .t-1 {
			top: 0;
			}
			.b-menu-main li.menu-selected .t-1 .f ins {	
				margin: 0 -4px;
				}
			.b-menu-main li.menu-selected .t-1 .s ins {
				margin: 0 -3px;
				} 
			.b-menu-main li.menu-selected .t-1 .t ins {		
				margin: 0 -2px;
				} 
		.b-menu-main li.menu-selected .t-2 {
			top: 1px;
			}
			.b-menu-main li.menu-selected .t-2 .s ins {
				margin: 0 -2px;
				} 
			.b-menu-main li.menu-selected .t-2 .t ins {		
				margin: 0 -1px;
				} 
		.b-menu-main li.menu-selected .t-3 {
			top: 2px;
			}
			.b-menu-main li.menu-selected .t-3 .f ins {
				margin: 0 -1px;
				}
			.b-menu-main li.menu-selected .t-3 .s ins {
				margin: 0 -1px;
				}
		.b-menu-main li.menu-selected .t-4 {
			top: 3px;
			}
			.b-menu-main li.menu-selected .t-4 .f ins {
				margin: 0 -1px;
				}

