/* Topic menu in sidebar */
.sidebar {
	ul.topicnavi {
		list-style:none;
		clear:both;
		float:left;
		width: {{sb_netwidth}}px;
		background:{{topicmenu_in_sb_bg}};
		border: {{topic_menu_in_sb_border.width}} {{topic_menu_in_sb_border.style}} {{topic_menu_in_sb_border.color}};
 		margin: 0 0 10px 0;
 		padding: 0;
 		.rounded_corners ( {{topic_navi.round_corner_radius}} );
		.box_shadow ( {{box-shadow-width}} );
		overflow:hidden;

		li {	/* Topics */
			float:left;
			width: {{sb_netwidth}}px;
			background:{{topicmenu_in_sb_bg}};
			overflow:hidden;
			a {
				height: {{topicmenu_in_sb_bg_height}} * 0.85;
				line-height: {{topicmenu_in_sb_bg_height}} * 0.85;
				float:left;
				width: {{sb_netwidth}}px;
				text-indent: 10px;
				color: {{topicmenu_in_sb_a.color}};
				font-size: {{NavifontsizeSel}};
				font-weight:bold;
			}
			a:hover {
				background:{{topicmenu_in_sb_bg_current}};
				color: {{topicmenu_in_sb_a.hover.color}};
			}
			a.fly {
				background: {{topicmenu_in_sb_a.fly_bg__url}};
			}
			ul {	/* SubTopics */
				float:left;
				list-style:none;
				background:{{subtopicmenu_in_sb_bg}};
		 		margin: 0;
 				padding: 0;
				li {	/* SubTopics */
					float:left;
					background:transparent;
					a {
						height: {{topicmenu_in_sb_bg_height}} * 2 / 3;
						line-height: {{topicmenu_in_sb_bg_height}} * 2 / 3;
						font-weight:normal;
						font-size: 85%;
						width: {{sb_netwidth}}px;
						text-indent: 20px;
					}
					a:hover {
						color: {{topicmenu_in_sb_current_subtopic_color}}!important;
						background: {{topicmenu_in_sb_current_subtopic_bg}}!important;
					}
				}
				li.current {	/* SubTopics */
					a {
						color: {{topicmenu_in_sb_current_subtopic_color}};
						background: {{topicmenu_in_sb_current_subtopic_bg}};
					}
				}
			}
		}
		li.current {
			float:left;
			width: {{sb_netwidth}}px;
			background:{{topicmenu_in_sb_bg_current}};
			a {
				color: {{topicmenu_in_sb_a.hover.color}};
			}
			a:hover {
				background:{{topicmenu_in_sb_bg_current}};
				color: {{topicmenu_in_sb_a.hover.color}};
			}
		}
		li.mt {
			float:left;
			width:100%;
			font-variant:small-caps;
			background: {{topicmenu_in_sb_li_mt_current_url}};
			text-align: center;
			a {
				color: {{topicmenu_in_sb_mt_current_color}};
			}
			a:hover {
				color:{{topicmenu_in_sb_mt_current_color_hvr}};
			}
		}
		li.first {	/* first topic needs round corners on top side */
	  	-moz-border-radius: {{topic_navi.round_corner_radius}} {{topic_navi.round_corner_radius}} 0 0;				/* FF 3.5+ */
	  	-webkit-border-radius: {{topic_navi.round_corner_radius}} {{topic_navi.round_corner_radius}} 0 0; 		/* Safari 3.0, Chrome 1.0 */
		  border-radius: {{topic_navi.round_corner_radius}} {{topic_navi.round_corner_radius}} 0 0;      	   		/* IE9, FF4.0 */
		}
		li.last {	/* last topic needs round corners on bottom side */
	  	-moz-border-radius: 0 0 {{topic_navi.round_corner_radius}} {{topic_navi.round_corner_radius}};				/* FF 3.5+ */
	  	-webkit-border-radius: 0 0 {{topic_navi.round_corner_radius}} {{topic_navi.round_corner_radius}}; 		/* Safari 3.0, Chrome 1.0 */
		  border-radius: 0 0 {{topic_navi.round_corner_radius}} {{topic_navi.round_corner_radius}};      	   		/* IE9, FF4.0 */
		}
	}
}
