/************************************************************************************
GENERAL
*************************************************************************************/

.navbar {float:left}




/************************************************************************************
NAV
*************************************************************************************/
#nav-wrap {
	/* margin-top: 20px; */
}

/* menu icon */
#menu-icon {
	
display: none;margin-top:0px; /* hide menu icon initially */
	color:#fff; z-index:2000000;
	


}
/*
#menu-icon:after {
	
	content: '   MENU';
	
}*/

ul.classmain, ul.classmain ul {
  width: 100%;                 /* sets the size of the menu blocks */
  border: none;      /* puts a black border around the menu blocks */
  background-color:#none;      /* makes the menu blocks mint green - a bg-color MUST be included for IE to work properly! */
  padding:0;           /* stops the usual indent from ul */
  cursor: default;             /* gives an arrow cursor */
  margin: 0px 0px;            /* Opera 7 final's margin and margin-box model cause problems */
  border-top:;
  z-index:50000;
}
ul.classmain li {
	list-style-type: none;       /* removes the bullet points */
	margin:0px;                 /* Opera 7 puts large spacings between li elements */
	position: relative;          /* makes the menu blocks be positioned relative to their parent menu item
                                  the lack of offset makes these appear normal, but it will make a difference
                                  to the absolutely positioned child blocks */
	color: #000;                 /* sets the default font colour to white */
	font:bold .97em "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding:5px 0 5px 10px;
	border:none;
	border-top:none;
	border-bottom:1px solid #fff;

}

ul.classmain *.dir { 

background-image: url(http://www.mediate.com/mpdimages/lg_carat.gif);
 background-position: 95% 50%;
 background-repeat: no-repeat;

 }



ul.classmain li > ul {          /* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
  display: none;               /* hides child menu blocks - one of the most important declarations */
  position: absolute;          /* make child blocks hover without leaving space for them */
  top: 0px;                    /* position slightly lower than the parent menu item */
  left: 212px;                  /* this must not be more than the width of the parent block, or the mouse will
                                  have to move off the element to move between blocks, and the menu will close */
}
ul.classmain li:hover, ul.classmain li.CSStoHighlight {
  background-color: #BBB082;      /* gives the active menu items a yellow background */
  color: #000;                 /* makes the active menu item text black */ 
}
ul.classmain ul.CSStoShow {     /* must not be combined with the next rule or IE gets confused */
  display: block;              /* specially to go with the className changes in the behaviour file */
   
}
ul.classmain li:hover > ul {    /* one of the most important declarations - the browser must detect hovering over arbitrary elements
                                  the > targets only the child ul, not any child uls of that child ul */
  display: block;  background-color:#E9E9E9;           /* makes the child block visible - one of the most important declarations */

}
/* and some link styles */
ul.classmain li a { color:#000; display: block; width: 100%; text-decoration: none; }
ul.classmain li a:hover, ul.classmain li a.CSStoHighLink { color: #fff; }
ul.classmain li:hover > a { color:#000 } /* supports links in branch headings - should not be display: block; */
ul.classmain ul li a {color:#000}
ul.classmain ul li a:hover {color:#000}

/************************************************************************************
MOBILE
*************************************************************************************/
@media screen and (max-width: 600px) {


/**********************************************************

CLEAR THE VERT DROP DOWN VALUES BEFORE TRYING TO DO FANCY MOBILE DROPDOWN

**********************************************************/


ul.classmain li {
  list-style-type: none;       /* removes the bullet points */
  margin:0px;                 /* Opera 7 puts large spacings between li elements */
  position: relative;         /* makes the menu blocks be positioned relative to their parent menu item
                                  the lack of offset makes these appear normal, but it will make a difference
                                  to the absolutely positioned child blocks */
  color: #333;                 /* sets the default font colour to white */
  font:10pt normal Arial, Helvetica, sans-serif;
  padding:0;
  border:none;
  z-index:55000;

}
	
	
	ul.classmain li:hover, ul.classmain li.CSStoHighlight {
  background-color: #f8f8f8;      /* gives the active menu items a yellow background */
  color: #000;                 /* makes the active menu item text black */ 
}
	
	
ul.classmain *.dir { 

background-image: none;


 }
/**********************************************************

////// VALUES NOW CLEARED

**********************************************************/



	/* nav-wrap */
	#nav-wrap {
		position: relative;
		left:0;
		top:-3px;
	}

	/* menu icon */
	#menu-icon {
		color: #000;
		height: 40px;
		background: url(http://www.mediate.com/KKovach/images/menu_icon.gif) 0px 0px no-repeat;
		width:150px;
		padding: 8px 10px 5px 5px;
		cursor: pointer;
		display: block; /* show menu icon */
		z-index:1050000;
	}
	#menu-icon:hover {
		background-color: ;
	}
	#menu-icon.active {
		background-color: none;
	}
	
	/* main nav */
	#nav {
		clear: both;
		position:relative;
		top: -5px;
		width: 160px;
		z-index: 10000;
		padding:0 5px 5px 5px;
		background: #f8f8f8;
		border: solid 1px #999;
		display: none; /* visibility will be toggled with jquery */
	}
	#nav li {
		clear: both;
		float: none;
		margin: 5px 0 5px 10px;
	
	}
	#nav a, 
	#nav ul a {
		font: inherit;
		background: none;
		display: inline;
		padding: 0;
		color: #666;
		border: none;
	}
	#nav a:hover, 
	#nav ul a:hover {
		background: none;
		color: #000;
	}
	
	/* dropdown */
	#nav ul {
		width: auto;
		position: static;
		display: block;
		border: none;
		background: inherit;
		margin-top:5px
	}
	#nav ul li {
		margin: 3px 0 3px 15px;
		border-bottom:none;
			
	}
	
	

	#nav ul li a{
	
background-color:#f8f8f8;

}

	

}

@media screen and (min-width: 600px) {

	/* ensure #nav is visible on desktop version */
	#nav {
		display: block !important;
	}

}
