/*---------Верхнее меню-----------*/
#top-menu,
#top-menu table {
    height: 46px;
    position: relative;

}
#top-menu {
    background: url("images/tm_fon.png");
    margin-left:30px;
    margin-right:30px;
    border-left: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 2px solid #c0c0c0;
    border-radius: 9px;

}
#top-menu table {
	width:100%;
    margin: 0px auto 0px;
	text-align:center;
}
#top-menu table td {

}

#top-menu table td div.tmd {
    padding: 0px 0px;
    position:relative;
    height: 46px;
}
#top-menu table td a {
    box-sizing: border-box;
    color:#3f3f3f;
    font-size:22px;
    line-height:1.2px;
    font-weight:bold;
    font-family: Arial, saans-serif;
    text-shadow: 1px 1px 1px #c0c0c0;
    text-decoration:none;
    padding: 10px 17px;
    display:block;
    white-space:nowrap;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#top-menu table td a.active {
    color: #040404;
    text-decoration: underline;
}
#top-menu table td a:hover{
    color: #ffffff;
    text-decoration: none;
}

#top-menu table td a span {
    padding: 0px 1px 1px;
}
#top-menu table td a.active span,
#top-menu table td a:hover span {
    /*background: repeat-x bottom url(images/tm_hover.png);*/

}

#top-menu table td.tm_razd{
  background:url('images/tm_razd.png') no-repeat center top;
}
#top-menu table td.tm_razd,
#top-menu table td.tm_razd img{
  width:2px;
}
.tm_left {
   width: 12px;
   height: 54px;
   position:absolute;
   left: -12px;
   top: 360px;
   background-image: url(images/tm_left.png);
}
.tm_right {
   width: 13px;
   height: 55px;
   position:absolute;
   right: -12px;
   top: 359px;
   background-image: url(images/tm_right.png);
}


/*tm2*/
#top-menu .tmd{
	position:relative;
}
#top-menu .tm2u {
	background: /*url('images/tmgrad.png')*/ repeat-x scroll left bottom #fff5e0;
	border:1px solid white;
	border-top:none;
	left: 0;
	padding:5px 0px 15px 0px;
	position: absolute;
	text-align: left;
	top: 44px;
	z-index: 500;
	box-shadow: 0px 0px 5px #333;
	border-radius:0 0 3px 3px;
	display: none;
}
 #top-menu .tm2u.opened {
 	display: block;
 }
#top-menu table td .tm2u ul {

}
#top-menu table td .tm2u ul li.tm2u_razd{
	background: no-repeat center bottom /*url('images/tm2u_razd.jpg')*/;

}
#top-menu table.tm td .tm2u a {
	color: black;
	display: block;
	font-size: 15px;
	font-weight: bold;
	font-style: normal;
	line-height:16px;
	text-align: center;
	/*background:url('images/tmlvl2.png');*/
	background-position:left 15px;
	background-repeat:no-repeat;
	padding:10px 10px 10px;
	height:20px;
}
#top-menu table td .tm2u a:hover {
	color: #866c4e;
}
#top-menu table td .tm2u a:hover span{
	border-bottom:2px solid #866c4e;
}


/* tm_ten */
.tm_ten {
   margin-bottom:0px;
   padding: 0px 30px;
   margin-bottom:18px;
}
.tm_ten.bot {
   margin-bottom:0px;
}

.tm_ten,
.tm_ten_left,
.tm_ten_right{
	height:19px;

}
.tm_ten_left{
	background:no-repeat left top url('images/tm_ten_left.png');
	width:50%;
	float: left;

}
.tm_ten_right{
	background:no-repeat right top url('images/tm_ten_right.png');
	width:50%;
	float: left;
}


/* mod */

#top-menu table td a {
    line-height:1.2px;
}




