
/*
using background color is important to cover the menu
position absolute isset to cover the whole viewport
*/
#content {
    background-color: #fff;
    padding: 52px 10px 10px 10px;
    position: relative;
    width: auto;
    height: 100%;
}


/* 
general styles for both wide and narrow headers
*/
#wideHeader, #narrowHeader	{
	/*position:fixed;*/
	top:0 !important;
	left:0;
	background-color:#eee;
    width: 100%;
	}

#wideHeader, #dropdownMenu	{
	border-bottom:1px dotted #666;
	z-index: 1000;
	}

#wideHeader ul.index	{
	margin:5px 0 1px 5px;
	border-top:1px dotted #ccc;
	padding-top:5px;
	/* turn it off */
	display:none;
	}

#wideHeader ul.index li	{
	padding:5px 5px 0 5px;
	margin-top:0;
	border-right:1px dashed #ccc;
	color:#999;
	}

p.twc	{
	padding:3px 0 0 0;
	}

/*#wideHeader ul.index*/ li.twc, p.twc	{
	/*padding-left:15px;*/
	font-weight:bold;
	color:#000;
	}

#list ul.index li span.title, #list ul.index li a span.title,
#wideHeader ul.index li span.title, #wideHeader ul.index li a span.title,
span.hamburger	{
	display:none;
	}

/* 
#header comes withthe narrow menu and hamburger button 
*/
div#header {
    background-color: #eee;
	border-bottom:1px dotted #999;
    position: fixed;
    width: 100%;
    z-index: 50;

}

/*
the hamburger button 
*/
#hamburger {
    border: 1px dotted #374C77;
    border-radius: 3px 3px 3px 3px;
    cursor: pointer;
    display: block;
    height: 24px;
    padding: 3px 4px 3px;
    position: relative;
    width: 25px;
    margin-right:10px;
	float:left;
}
	
span.hamburger img	{
	width:24px;
	height:auto;
	margin-right:10px;
	vertical-align:middle;
	}


/*
The navigation container in the background
*/
div.narrowHeader {
    opacity: 0;
    left: 0px;
    top: 0px;
    position: fixed;
    z-index: 0;
    width: 70%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}



/*
The Layer that will be layed over the content
so that the content is unclickable while menu is shown
*/
#contentLayer {
    display: none;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    z-index: 500;
}

/*
Turns off initial hamburger heading
*/
div#header	{
	display:none;
	}
	
/* show menu span */
span#showMenu	{
cursor:crosshair;
}

/* --- dropdown menu --- */

ul#dropdownMenu	{
	padding: 0;
	list-style: none;
	background-color: #eee !important;
}
div#dropdownMenu	{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	background-color: #eee !important;
	text-align:left !important;
}
ul li{
	background-color: #eee !important;
	display: inline-block;
	position: relative;
	line-height: 2em;
	text-align: left;
	border-right:1px dotted #aaa;
}
ul li ul.dropdown li{
	border-bottom:1px dotted #aaa;
	border-right-width:0;
}
ul li a, ul li span.noLink{
	display: block;
	padding: 3px 7px;
	color: #333;
	text-decoration: none;
}
ul li span.noLink{
	color: #999;
}
ul li a:hover{
	color: #fff;
	background: #aaa;
}
ul li ul.dropdown{
	background: #f2f2f2;
	display: none;
	position: absolute;
	z-index: 999;
	white-space:nowrap;
}
ul li img{
	margin-left:5px;	/* pad the arrow */
}
ul li:hover ul.dropdown{
	display: block;	/* Display the dropdown */
}
ul li ul.dropdown li{
	display: block;
}