/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/*
 * top and footer menu
 */

 
#toolbar ul.menu,
#footer ul.menu {
	display: inline-block;
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#footer ul.menu {
	display: block;
	line-height: 14px;
}

#toolbar .menu li,
#footer .menu li {
	display: inline-block;
	margin: 0px;
	padding: 0px;
}

#toolbar .menu li a,
#footer .menu li a {
	display: inline-block;
	padding: 0px 10px 0px 15px;
	background: url(../images/topmenu_item_bg.png) 0 50% no-repeat;
	overflow: hidden;  
	color: #ffffff;
}
#footer .menu li a { background-image: url(../images/footermenu_item_bg.png); }

#toolbar .menu a:hover,
#footer .menu a:hover { color: #ffffff; }

#toolbar .menu a.first,
#footer .menu a.first {
	padding-left: 0px;
	background: none;
}

#toolbar .menu a.last,
#footer .menu a.last { padding-right: 0px; }

/*
 * menu
 */

 
#menu ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#menu li {
	position: relative;
	z-index: 5;  
	margin: 0px;
	padding: 0px;
}

#menu a,
#menu span { display: block; }
#menu a { text-decoration: none; }

 
#menu span.icon {
	background-repeat: no-repeat;
	background-position: 0 50%;
}

 
#menu ul.menu { float: left; }

#menu li.level1 { float: left; }

 
#menu div.right ul.menu { float: right; }

#menu a.level1,
#menu span.level1 { 
	padding: 0px 20px 0px 20px;
	background: url(../images/menu_level1_item.png) 0 0 no-repeat;
	float: left;
}

#menu a.level1.first,
#menu span.level1.first { background: none; }

#menu a.level1 span.bg,
#menu span.level1 span.bg {
	height: 40px;
	padding: 0px 0px 0px 0px;
	float: left;
	line-height: 40px;
	font-size: 15px;
	color: #ffffff;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
	text-transform: uppercase;
}

 
#menu li.active a.level1 span.bg,
#menu li.active span.level1 span.bg { text-decoration: underline; }

#menu li.level1:hover  { background: url(../images/menu_level1_item.png) 0 -45px no-repeat; }

#menu li:hover a.level1,
#menu li:hover span.level1 { background: url(../images/menu_level1_item.png) 100% -90px no-repeat; }

#menu li:hover a.level1 span.bg,
#menu li:hover span.level1 span.bg,
#menu li.remain .level1 span.bg { 
	background: url(../images/menu_level1_item.png) 0 -135px repeat-x;
	color: #1F4677;
	text-shadow: 0 1px 0 rgba(255,255,255,1);
}

#menu li.level1.parent:hover,
#menu li.level1.remain { background: url(../images/menu_level1_item.png) 0 -180px no-repeat; }

#menu li.parent:hover a.level1,
#menu li.parent:hover span.level1,
#menu li.parent.remain a.level1,
#menu li.parent.remain span.level1 { background: url(../images/menu_level1_item.png) 100% -225px no-repeat; }

#menu li.parent:hover a.level1 span.bg,
#menu li.parent:hover span.level1 span.bg,
#menu li.parent.remain .level1 span.bg { background-position: 0 -270px; }

 
#menu a.level1 span.title,
#menu span.level1 span.title {
	font-size: 15px;
	line-height: 30px;
}

 
#menu a.level1 span.subtitle,
#menu span.level1 span.subtitle {
	margin-top: -7px;
	font-size: 9px;
	font-weight: normal;
	line-height: 10px;
	text-transform: none;
}

 
#menu .dropdown {
	position: absolute;
	top: 40px;
 	left: -999em;  
	z-index: 100;
	 
}

#menu li:hover .dropdown,
#menu li.remain .dropdown { left: -4px; }

#menu div.right li:hover .dropdown,
#menu div.right li.remain .dropdown { left: auto; right: -4px; }

#menu .dropdown-t1 { background: url(../images/menu_dropdown_corners.png) 0px 0px no-repeat; }

#menu .dropdown-t2 { 
	padding: 0px 5px 0px 5px;
	background: url(../images/menu_dropdown_corners.png) 100% -10px no-repeat;
}

#menu .dropdown-t3 { 
	height: 5px;
	background: #F0F1F2;
}

#menu .dropdown-1 { background: url(../images/menu_dropdown_edges.png) 0 0 repeat-y; }

#menu .dropdown-2 {
	padding: 0px 5px 0px 5px;
	background: url(../images/menu_dropdown_edges.png) 100% 0 repeat-y;
}

#menu .dropdown-3 {
	padding: 3px 5px 2px 5px;
	background: #F0F1F2 url(../images/menu_dropdown_bg.png) 0 100% repeat-x;
	overflow: hidden;
}

#menu .dropdown-b1 { background: url(../images/menu_dropdown_corners.png) 0 -20px no-repeat; }

#menu .dropdown-b2 {
	padding: 0px 10px 0px 10px;
	background: url(../images/menu_dropdown_corners.png) 100% -35px no-repeat;
}

#menu .dropdown-b3 {
	height: 10px;
	background: url(../images/menu_dropdown_corners.png) 0 -50px repeat-x;
}

 
#menu li.level2 { margin-bottom: 5px; }
#menu li.level1 li.last { margin-bottom: 0px; }

#menu .hover-box1 { overflow: hidden; }

#menu a.level2,
#menu span.level2 {
	margin: 0px 3px 0px 3px;
	border: 1px solid #ffffff;
	border-right-color: #D3D4D5;
	border-bottom-color: #D3D4D5;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #f5f5f5;
	overflow: hidden;
}

#menu a.level2:hover {
	border: 1px solid #D3D4D5;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
}

#menu a.level2 span.bg,
#menu span.level2 span.bg {
	padding-left: 10px;
	line-height: 24px;
	font-size: 14px;
	color: #323232;
	text-shadow: 0px 1px 0px rgba(255,255,255,1);
}

#menu a.level2:hover span.bg { color:  #2B5891; }

 
#menu li.level2 a.current span.bg { font-weight: bold; } 

 
#menu a.level2 span.subtitle,
#menu span.level2 span.subtitle {
	margin-top: -10px;
	font-size: 10px;
	font-weight: normal;
	text-transform: none;
}

 
#menu a.level2 span.icon,
#menu span.level2 span.icon {
	min-height: 45px;
	padding-left: 50px;
	line-height: 45px;
}
#menu a.level2 span.icon span.title,
#menu span.level2 span.icon span.title { line-height: 33px; }
#menu a.level2 span.icon span.subtitle,
#menu span.level2 span.icon span.subtitle { line-height: 12px; }

 
#menu .sub { padding: 5px 0px 5px 0px; }

#menu ul.level3 { padding: 0px 3px 0px 3px; }

#menu a.level3 span.bg,
#menu span.level3 span.bg {
	padding-left: 15px;
	background: url(../images/menu_level3_item.png) 0px 20px no-repeat;
	line-height: 20px;
	font-size: 11px;
	color: #323232;
	text-shadow: 0px 1px 0px rgba(255,255,255,1);
}

#menu a.level3:hover span.bg {
	color: #2B5891;
	background: #ffffff url(../images/menu_level3_item.png) 0px 0px no-repeat;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

 
 
 
 

#menu .columns2 ul.level2,
#menu .columns3 ul.level2,
#menu .columns4 ul.level2 { float: left; }

#menu .columns2 ul.level2 {	width: 50%; }

#menu .columns3 ul.level2 { width: 34%; }
#menu .columns3 ul.first,
#menu .columns3 ul.last { width: 33%; }

#menu .columns4 ul.level2 { width: 25%; }

/*
 * sub menus
 */
 
 
div.mod-menu ul {
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	list-style: none;
}

div.mod-menu ul.menu li {
	margin: 0px;
	padding: 0px;
}

div.mod-menu ul.menu a,
div.mod-menu ul.menu span { display: block; }
div.mod-menu ul.menu a { text-decoration: none; }

 
div.mod-menu ul.menu span.icon {
	background-repeat: no-repeat;
	background-position: 5px 50%;
	text-indent: 35px;
}

 
div.mod-menu ul.menu li.parent span.separator { cursor: pointer; }

 
div.mod-menu ul.menu span.subtitle { display: none; }


/*
 * sub menu: mod-rounded
 */

div.mod-rounded ul.menu {}

div.mod-rounded ul.menu span.bg {
	height: 30px;
	line-height: 30px;
	text-indent: 10px;
	color: #515252;
	font-size: 14px;
	text-shadow: 0px 1px 0px rgba(255,255,255,1);
}

 
div.mod-rounded ul.menu a.current span.bg { font-weight: bold; }

 
div.mod-rounded ul.menu a:hover span.bg,
div.mod-rounded ul.menu span:hover span.bg { color: #3489c8; }

 
div.mod-rounded ul.menu li.level1 { margin-bottom: 5px;}
div.mod-rounded ul.menu li.level1.last { margin-bottom: 0px;}

div.mod-rounded ul.menu li.level1 { 
	border: 1px solid #ffffff;
	border-right-color: #D3D4D5;
	border-bottom-color: #D3D4D5;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #ebeced;
	overflow: hidden;
}

div.mod-rounded ul.menu li.level1:hover { 
	border: 1px solid #AFAFB0;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
}

div.mod-rounded ul.menu li.parent a.level1 span.bg,
div.mod-rounded ul.menu li.parent span.level1 span.bg { background: url(../images/submenu_level1_parent.png) 100% 0 no-repeat; }

div.mod-rounded ul.menu li.parent a.level1.active span.bg,
div.mod-rounded ul.menu li.parent span.level1.active span.bg { background-position: 100% -30px; }

div.mod-rounded ul.menu li.level1:hover span.bg { text-shadow: 0px 1px 0px rgba(255,255,255,0.5); }

div.mod-rounded ul.menu a.current.level1 span.bg  { font-weight: normal; }

 
div.mod-rounded ul.menu ul.level2 { padding: 0px 10px 10px 10px; }

div.mod-rounded ul.menu li.level2 { }

div.mod-rounded ul.menu li.level2 a:hover { 
	background: #F5F6F7;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

div.mod-rounded ul.menu li.level2 span.bg {
	height: 20px;
	line-height: 20px;
	text-indent: 15px;
	font-size: 11px;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.8);
	background: url(../images/submenu_level2_item.png) 0px 50px no-repeat;
}
div.mod-rounded ul.menu li.level2 a:hover span.bg { color: #3489c8; }
div.mod-rounded ul.menu a.level2:hover span.bg { background-position: 0px 0px; }

 
div.mod-rounded ul.menu a.level3 span.bg { text-indent: 25px; }
div.mod-rounded ul.menu a.level3:hover span.bg { background-position: 10px 0px; }

 
div.mod-rounded ul.menu a.level4 span.bg { text-indent: 35px; }
div.mod-rounded ul.menu a.level4:hover span.bg { background-position: 20px 0px; }