@charset "utf-8";
/* CSS Document */

nav_nm {    
    display: block;
    text-align: center;
  }
  nav_nm ul {
    margin: 0;
    padding:0;
    list-style: none;
  }
  .nav_nm a {
	display:block;
	background: #ccff99;
	color:#000;
	text-decoration: none;
	padding: 10px 23px;	/* Vertical ---- Horizontal*/
	text-transform: uppercase;
	font-size: 80%;
	letter-spacing: normal;
/*	text-shadow: 0 -1px 0 #000;*/
	position: relative;
	font-weight: bold;
  }
  .nav_nm{  
    vertical-align: top; 
    display: inline-block;
/*    box-shadow: 1px -1px -1px 1px #000, -1px 1px -1px 1px #fff, 0 0 6px 3px #fff;
    border-radius:6px;*/
  }
  .nav_nm li{position: relative;}
  .nav_nm > li { 
    float:left; 
/*    border-bottom: 4px #aaa solid; */		/*For the line under the main menu items*/
    margin-right: 0px; 
  } 
  .nav_nm > li > a { 
    margin-bottom:-1px;		/*(Main menu items) setting this to -1 makes it work for firefox.*/
/*    box-shadow:inset 0 2em .33em -.5em #555;*/ 		/*This is for the gradient of the main menu items*/
  }
  .nav_nm > li:hover , .nav_nm > li:hover >a{
	border-bottom-color:orange;
	background-color: #00763c;		/* main menu items color on hover*/
}
  .nav_nm li:hover > a {
	color:white;
}
  .nav_nm > li:first-child  { border-radius: 4px 0 0 4px;} 
  .nav_nm > li:first-child>a{border-radius: 4px 0 0 0;}
  .nav_nm > li:last-child  { 
    border-radius: 0 0 4px 0; 
    margin-right: 0;
  } 
/*  .nav_nm > li:last-child >a{border-radius: 0 4px 0 0; }*/
  .nav_nm li li a {
	margin-top:0px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000;
	background-color: #00763c;
}
  
  
  
    .nav_nm li a:first-child:nth-last-child(2):before { 
     content:""; 
     position: absolute; 
     height:0; 
     width: 0; 
     border: 5px solid transparent; 
     top: 50% ;
     right:5px;  
   }
   
   
   
   
   
   /* submenu positioning*/
.nav_nm ul {
  	position: absolute;
  	white-space: nowrap;
  	border-bottom: 5px solid  #ccff99;
  	z-index: 99;		/* Set at 99 so it will overlap Bootstrap Carousel*/
  	left: -99999em;
}
.nav_nm > li:hover > ul {
	left: auto;
	padding-top: 0px;
	min-width: 100%;
	background-color: #ccff99;
}
.nav_nm > li li ul {  
	border-left:1px solid #fff;		/*This is the line that separates the left and right submenus*/
}


.nav_nm > li li:hover > ul { 
 /* margin-left: 1px */       /*separates each top level menu item by 1px*/
  left: 100%;
  top: -1px;
}
/* arrow hover styling */
.nav_nm > li > a:first-child:nth-last-child(2):before {	/*main menu items arrow when NOT hovered*/ 
  border-top-color: #000; 
}
.nav_nm > li:hover > a:first-child:nth-last-child(2):before {	/*main menu items arrow when hovered*/
  border: 5px solid transparent; 
  border-bottom-color: #ccff99; 
  margin-top:-5px
}
.nav_nm li li > a:first-child:nth-last-child(2):before {	/*Initial color of the arrows in submenu*/
  border-left-color: #00a354; 
  margin-top: -5px
}
.nav_nm li li:hover > a:first-child:nth-last-child(2):before {	
  border: 5px solid transparent; 
  border-right-color: #ccff99;
  right: 10px; 
}
