#menu-wrap {
	width:auto; 
	height:30px; 
	position:absolute; 
	z-index:100;
	right:4px;
	top:83px;
	background:#fff;
}
/* hack to correct IE5.5 faulty box model */
* html #menu-wrap {
	width:auto; 
	w\idth:auto;
}

/* remove all the bullets, borders and padding from the default list styling */
#menu-wrap ul {
		background-color: #fff;
		font-size:1.4em;
	}
	
	#menu-wrap ul ul {
		background:#f0f7fa;
		border-bottom:1px solid #d3d3d3;
		border-right:1px solid #d3d3d3;
		font-size:.8em;
	}
	
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#menu-wrap ul li {
	float:left;
	position:relative;
	margin-left:10px;
	}
	
#menu-wrap ul ul li {
	width:100%;
	float:none;
	margin:0;
}

/* style the links for the top level */
#menu-wrap ul a, #menu-wrap ul a:visited {
    display:block;
    text-decoration:none; 
    color:#464646; 
    line-height:30px;
    padding-left:10px;
	padding:0 10px;
    border-right:none;
}

#menu-wrap ul li:hover a, #menu-wrap ul a:focus, #menu-wrap ul a:active{    
    background:none;   
	color:#464646;
}

#menu-wrap ul li:hover a:hover, #menu-wrap ul li:hover a { color:#21759b; }

/* a hack so that IE5.5 faulty box model is corrected */
* html #menu-wrap a, * html #menu-wrap a:visited {
	width:10px;
	w\idth:10px;
	padding-right:20px;
	white-space:nowrap;
}

/* style the second level background */
#menu-wrap ul ul a, #menu-wrap ul ul a:visited, #menu-wrap ul li:hover li a {
    border:none;
	color:#2f2f2f;
}

#menu-wrap a.trigger, #menu-wrap a.trigger:hover, #menu-wrap a.trigger:visited {
    background:none;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#menu-wrap ul ul {
	visibility:hidden;
	position:absolute;
	height:auto;
	top:30px;
	left:0;
	width:249px;
}

/* another hack for IE5.5 */
* html #menu-wrap ul ul {
	top:30px;
	t\op:30px;
}

/* expand last sub level to the left if screen width is lower than 1360px */
@media only screen and (max-width: 1360px) {
	#menu-wrap ul li:last-child ul,
	body.rtl #menu-wrap ul li:first-child ul {
		left: auto;
		right: -10px;
	}

	body.rtl #menu-wrap ul li:last-child ul {
		left: 0;
		right: auto;
	}
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#menu-wrap table {
	position:absolute;
	top:0;
	left:0;
	border-collapse:collapse;
}

/* style the second level links */
#menu-wrap ul ul a, #menu-wrap ul ul a:visited {
    color:#2f2f2f;
	height:auto; 
	line-height:15px; 
	padding:5px 10px; 
	width:229px;
}
/* yet another hack for IE5.5 */
* html #menu-wrap ul ul a, * html #menu-wrap ul ul a:visited {
	width:150px;
	w\idth:128px;
	}

/* style the top level hover */
#menu-wrap a:hover, #menu-wrap ul ul a:hover{
	color:#21759b; 
	background:none;
	border:none;
	}
	
#menu-wrap :hover > a, #menu-wrap ul ul :hover > a {
	color:#000;
	background:none;
	}
          
/* style the second level hover */
#menu-wrap ul ul a:hover, #menu-wrap ul li.selected_page li a:hover{background:#e2edf2 !important; color:#21759b;}
#menu-wrap ul ul :hover > a {background:#e2edf2;}
                                  
/* make the second level visible when hover on first level list OR link */
#menu-wrap ul li:hover ul,
#menu-wrap ul a:hover ul{visibility:visible; }


#menu-wrap li.selected_subpage {    
    background:#e2edf2;
	color:#21759b;
    border-right:none;
    padding:5px 10px;
    width: 229px; 
    line-height:normal;
}

#menu-wrap ul li.selected_page {   
    background: url(images/tabright.jpg) no-repeat 100% 0;
}

#menu-wrap ul li.selected_page a {   
    background: url(images/tableft.jpg) no-repeat 0 0 !important;
}

#menu-wrap ul li.selected_page li a {
	background-image:none !important;
}

#menu-wrap ul ul li a.selected, #menu-wrap li ul li.current-cat a{ 
    color: #464646;
}

.cms-nav-clearit {
    clear: both;
    height: 0;
    line-height: 0.0;
    font-size: 0;
}
.cms-nav-sub-section{    
    font-weight:bold;
    font-size: 110%;
    list-style-type: none;
}
ul li.cms-nav-sub-section:before{
    content: '' !important;
}

.cms-nav-left-menu ul, .cms-nav-left-menu li, .cms-nav-left-menu a{
    padding:0;
    margin:0;    
}
.cms-nav-left-menu{
    list-style: none;
    padding:0;
    margin:0;
}
.cms-nav-left-menu li{
    position: relative;
    margin:4px 8px 2px 8px;
}

#menu-wrap li.section{
  width:92%;
  display:block;
  background-color:#ededed;
  color:#333;
}


.menu-toggle-open {
	cursor: pointer;
	position: absolute;
	right: 0;
	bottom: 10px;
	display: none;
	font-size: 24px;
	padding: 20px 15px 20px 20px;
	z-index: 100;
}

/* Media Queries */
@media only screen and (max-width: 1024px) {

	/** MENU **/
	#cms-nav-top-menu {
		display:    block;
		background: none;
	}

	#menu-wrap {
		display: none;
		position: fixed;
		height: 100%;
		width: 100%;
		background: #fff;
		top: 133px;
		left: 0;
		overflow-y: scroll;
		overflow-x: hidden;
		z-index: 110;
	}

	#menu-wrap ul li,
	#menu-wrap ul li.selected_page {
		background: none;
		float: none;
		margin-left: 0;
		margin-bottom: 10px;
	}

	#menu-wrap ul {
		box-sizing: border-box;
		position: relative;
		width: 100%;
		padding: 10px 20px;
		background: #fff;
	}

	#menu-wrap ul ul {
		box-sizing: border-box;
		visibility: visible;
		position: relative;
		top: auto;
		width: 100%;
		font-size: 13px;
		padding: 0;
		background: none;
		border: none;
		border-left: 2px solid #d3d3d3;
		margin-bottom: 20px;
	}

	#menu-wrap ul ul li,
	#menu-wrap li.section,
	#menu-wrap li.selected_subpage {
		box-sizing: border-box;
		margin: 0;
		width: 100%;
	}

	#menu-wrap a {
		box-sizing: border-box;
	}

	#menu-wrap > ul > li > a,
	#menu-wrap > ul > li > a:visited {
		margin-left: -10px;
		color: #d54e21;
	}
	#menu-wrap ul ul a,
	#menu-wrap ul ul a:visited {
		line-height: 140%;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	#cms-nav-top-menu li {
		width: 100%;
	}

	#menu-wrap ul li.selected_page a {
		background: none !important;
	}

	.menu-toggle-open {
		display: block;
	}
}

@media only screen and (max-width: 680px) {

	.menu-toggle-open {
		bottom: 2px;
	}
}