/* system Styles */

	body, form, img, p, ul, ol, li, h1, h2, h3, input, select {margin:0px; padding:0px;}
	p, ul, td, div			{}
	p				{margin-bottom:1.0em;}
	/* commented out styles
	UL				{margin-left:-15px; margin-top:0.5em; margin-bottom:0.001pt; list-style:outside square url (../images/li.gif);}
	OL				{margin-left:-15px; margin-top:0.5em; margin-bottom:0.001pt; }
	.noborder			{border:none !important;}
	*/

/* Top Drop Down Menu Styles */
/* These styles are used globally by the top drop down menu. Colour specific styles are defined else where.

	/* style for the containing div for the menu */
	/* note, the font size of 83% gives a very similar font-size in IE and Mozilla. feel free to change it, but appreciate the impact cross-browser */
	#topdropmenu
	{
		padding-top:2px;
	}

	/* default ul tag style for this menu - you probably won't need to change this */
	div#topdropmenu ul 
	{
        line-height:1.0em;
		list-style:none;
		margin:0px;
		padding:0px;
	}
	
	/* style for the actual menu links. display and height are important to the operation of the menu. change the others if you like (note:colour changes should probably go in the colour style sheets */
	div#topdropmenu a 
	{
		margin:0px;
		height:100%;
		text-decoration:none;
	}

	/* default li tag style for this menu - you probably won't need to change this */
	/* the postion:relative and float:left are critical to the correct operation of the menu */
	div#topdropmenu ul li	{position:relative; float:left; margin:0px}
	
	/* this style is essential to the correct operation of the menu. it ensures correct positioning of the "leaves". */
	div#topdropmenu ul ul {
		position:absolute;
	}

	/* The following 2 groups of styles handle making the menu leaves appear and disappear on mouseover*/
	/* if want extra levels of drop downs, you need to add extra styles here for each level*/
	/* There are sufficient styles here for a 3 level menu. for a 4th level add a new css selector with an additional*/
	/* ul tag before the li:hover. eg div#topdropmenu ul ul ul ul li:hover ul ul/*
	/* please read the ImmSample documentation for more details */
	div#topdropmenu ul ul, 
	div#topdropmenu ul li:hover ul ul,
	div#topdropmenu ul ul li:hover ul ul,			
	div#topdropmenu ul ul ul li:hover ul ul
	{
		display:none;
	}
	
	div#topdropmenu ul li:hover ul,
	div#topdropmenu ul ul li:hover ul,
	div#topdropmenu ul ul ul li:hover ul,
	div#topdropmenu ul ul ul ul li:hover ul
	{
		display:block;
	}
	
	/* This next block of styles controls the appearance of the top menu bar and also contains styles to override the level 0 styles for lowers levels where necessary */
	/* it is this section which really differentiates the top drop down menu from a side flyout menu */

	/* We have found that using px units (rather than say em units) is more reliable across different browsers implementations of the CSS2 box model.*/
	/* CSS2 is seriouly flawed in how it handles dimensions of content elements, but we're stuck with it until CSS3 is widely adopted */
		
	/* This section defines the width of the menu items at different levels */
	div#topdropmenu ul.L0		{width:100%} /* defines the total width of the top menu */
	div#topdropmenu ul.L1		{width:100%;} /* width of level 1 leaves */
	/* div#topdropmenu ul.L2		{width:200px;} /* width of level 2 leaves */


	/* defines position of drop down leaves */
	div#topdropmenu ul.L0 ul	{top:23px; left:0;} /* position of first leaf */
	div#topdropmenu ul.L1 ul	{top:-1px; left:100%;} /* position of second leaf */
	/* div#topdropmenu ul.L2 ul	{top:-1px; left:100%;} /* position of third leaf - if there is one*/

	/* defines width of menu items */
	div#topdropmenu ul.L0 li	{height:28px;} /* level 0 items */
	div#topdropmenu ul.L1 li	{width:100%; height:auto;} /* level 1 items */
	/* div#topdropmenu ul.L2 li	{width:100%; height:auto;} /* level 2 items */
	
	/* defines height and width of a tags within the above li tags*/
	/* note that padding-left, padding-right and width must add up to the values above. mozilla seems to have a bit of problem in the sample site here in the for the top level only, we had to add 4 more pixels in order to get the borders to show properly on the menu */
	/* padding-top and padding bottom styles are useful for netscape which doesn't seem to handle "filling" the LI tag to 100% height */
	/* change the padding styles, but exercise some caution with different browsers*/
	div#topdropmenu ul.L0 li a	{             height:27px; padding-left:12px; padding-right:25px;}
	div#topdropmenu ul.L1 li a	{width:200px; height:auto; padding-left:10px; padding-right:10px; padding-top:.5em; padding-bottom:.5em; display:block; }
	/* div#topdropmenu ul.L2 li a	{width:100%;  height:auto; font-size:90%; font-weight:normal; padding-left:5px; padding-right:15px; padding-top:.20em; padding-bottom:.20em;}*/
	

/* mobile styles===================================================================== */

@media screen and (max-device-width: 480px) {
    #topdropmenu
	{
		display:none;
	}

    div#topdropmenu ul 
	{
        line-height:2.2em;
        margin-left:-30px;
        margin-top:22px;
	}
	
 	/* this style is essential to the correct operation of the menu. it ensures correct positioning of the "leaves". */
	div#topdropmenu ul ul {
        position:relative;
	}

	/* The following 2 groups of styles handle making the menu leaves appear and disappear on mouseover*/
	/* if want extra levels of drop downs, you need to add extra styles here for each level*/
	/* There are sufficient styles here for a 3 level menu. for a 4th level add a new css selector with an additional*/
	/* ul tag before the li:hover. eg div#topdropmenu ul ul ul ul li:hover ul ul/*
	/* please read the ImmSample documentation for more details */
	div#topdropmenu ul ul, 
	div#topdropmenu ul li:hover ul ul,
	div#topdropmenu ul ul li:hover ul ul,			
	div#topdropmenu ul ul ul li:hover ul ul
	{
		display:block;
	}
	
    	/* This section defines the width of the menu items at different levels */
	div#topdropmenu ul.L0		{width:104.6%;} /* defines the total width of the top menu */
	div#topdropmenu ul.L1		{width:102.6%; margin-top:0.1em;} /* width of level 1 leaves */


    	/* defines position of drop down leaves */
	div#topdropmenu ul.L0 ul	{top:-1px; left:0;} /* position of first leaf */
	div#topdropmenu ul.L1 ul	{} /* position of second leaf */

	/* defines width of menu items */
	div#topdropmenu ul.L0 li	{height: 100%; width:100%; } /* level 0 items */
	div#topdropmenu ul.L1 li	{width:100%; } /* level 1 items */
	
	/* defines height and width of a tags within the above li tags*/
	/* note that padding-left, padding-right and width must add up to the values above. mozilla seems to have a bit of problem in the sample site here in the for the top level only, we had to add 4 more pixels in order to get the borders to show properly on the menu */
	/* padding-top and padding bottom styles are useful for netscape which doesn't seem to handle "filling" the LI tag to 100% height */
	/* change the padding styles, but exercise some caution with different browsers*/
	div#topdropmenu ul.L0 li a	{height: 100%; width:auto; padding-left:0.9em; display:block}
	div#topdropmenu ul.L1 li a	{width:auto; padding-left:2.4em; padding-top:0.0em; padding-bottom:0.0em;}

}