.ham {
    width: 35px;
    height: 4px;
    background-color: #0d5e89;
    margin: 4px 0;
	display:block;
}
#content p
{
	padding:5px 10px; text-align:justify;
}
#content .c
{
	padding:5px 0 0 10px; color:#003B55;
	font-size:16px; font-weight:bold;
}
.pimg
{
	padding:10px;
	float:left;
	width:250px;
}
.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	border-bottom:solid 1px #6699cc; background:#FBFF85; z-index:1000000;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	}

/* Styling the links */
nav a {
	display:block;
	padding:4px 4px;	
	font-size:12px;
	text-decoration:none; font-weight:bold;
}


nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #6699cc; 
	color:#fff; text-decoration:none;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute;  background:url(../img/sidebg.jpg) repeat-x #fff;
	/* has to be the same number as the "line-height" of "nav a" */
	top: 20px; border:solid 1px #6699cc;  z-index:1000000;
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:200px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:170px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
nav li > a:after { content:  ' \25BC'; }
nav li > a:only-child:after { content: ''; }
nav li > label:after { content:  ' \25BC'; }
nav li > label:only-child:after { content: ''; }

/* Media Queries
--------------------------------------------- */

@media screen and (max-width: 700px),(max-width: 863px) {
	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menutop {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background:#FBFF85;
		padding:2px 5px;	
		color: #013354;
		font-size:12px; font-weight:bold;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #fff;
	}

	/* Display Dropdown when clicked on Parent Lable */
[id^=drop]:checked + ul { display: block; }

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;background:#FBFF85; 
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 4px;color:#fff;
	}

	nav ul ul ul a {
		padding: 0 8px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #000000;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:4px 20px;	
		font-size:12px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #013354; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}