#cssmenu { /*width:1000px;*/ text-align: center!important; padding: 0 20px;}

#cssmenu a { 
    padding: 13px 18px; /*Space between top level menu link items*/}

#cssmenu ul{
        /* positioning */
        	position:relative;
            z-index:1000;
			display: inline-block;
        /* remove the dots next to list items: */
            list-style:none; 
			
        /* get rid of any default or inherited margins and padding: */
            margin:0; 
            padding:0; 
            
        /* styling: */
            font-weight: normal;
            font-size: 13px;
        }
        
        /* we're using the direct descendant selectors > to ONLY affect the main menu items */
        #cssmenu > ul > li { 
        /* positioning */ 
            position: relative;
            float: left;
        /* styling: */
            margin-right: 10px; margin-bottom: 0;
			background: none; padding: 0; }
			
#cssmenu ul li:not(:last-child)  { /*border-right:1px #ccc solid;  divider*/}
#cssmenu ul li ul li:not(:last-child)  {  /*border-right: none;remove divider from drop down menu*/}			
		
		
        #cssmenu > ul > li > a {
        /* positioning */ 
            display:inline-block;
        /* styling: */
            text-decoration:none; }
			
        #cssmenu > ul > li > a:hover{
        /* styling: */
            background:#E88307; 
            color:#fff; 
        }
		
/* secondary menu */

#cssmenu ul ul{padding: 0; margin: 0; display: block;
			text-align: left;
            width:350px; /* you need a width to accommodate tertiary menus */
            
            position:absolute;
            z-index:100;
            
            height: 0;
            overflow: hidden;
			-webkit-transition: height 0.3s ease-in;
            -moz-transition: height 0.3s ease-in;
            -o-transition: height 0.3s ease-in;
            -ms-transition: height 0.3s ease-in;
            transition: height 0.3s ease-in;
        }
     

        /* don't display tertiary box yet */

#cssmenu > ul > li:hover ul ul, #cssmenu > ul > li > a:hover ul ul{
            height:0; 
            
        }
/* tertiary drop-down box */
#cssmenu ul ul ul{ 
            left:160px;
            width:160px;
        }
        
        #cssmenu > ul > li:hover ul, #cssmenu > ul > li > a:hover ul,
        #cssmenu ul ul li:hover > ul, #cssmenu ul ul li a:hover > ul{
            height:320px; /* need a height to accommodate any tertiary menus */
        }
        
        /* drop-down item styles */
        /* if you want different styling for tertiary menus, just copy the 4 rules below and insert an additional ul: for example: "#cssmenu ul ul li", becomes: "#cssmenu ul ul ul li" */
        
        #cssmenu ul ul li{margin: 0;padding: 0; border: 1px #f8f8f8 solid;
            background-color:#fff; background-image: none; 
            width:160px;
			-webkit-transition: background-color 0.3s ease;
            -moz-transition: background-color 0.3s ease;
            -o-transition: background-color 0.3s ease;
            -ms-transition: background-color 0.3s ease;
            transition: background-color 0.3s ease;
        }
        

        
        #cssmenu ul ul li a {
            display:block;
            text-decoration:none;
            margin:0;
            padding:3px 5px;
            color:#666!important; 
			font-size: 13px;
			text-transform: none;
			background-color:#fff!important;
        }
        #cssmenu ul ul li a:hover, #cssmenu ul ul li:hover > a {
            color:#000!important; background-color:#eee!important; text-transform: none;
        }
		

		