/**** NAV ****/

nav{
	width:100%;
	height:40px;	
	background: #444444;
	z-index:999999;
	position: fixed;
    top: 0;
}

/*Strip the ul of padding and list styling*/
nav ul {
	margin:0;
    list-style-type:none;
    padding:0;
    position: absolute;
	z-index:999999;
    display: block;
}

/*Create a horizontal list with spacing*/
nav li {
    display: inline-block;
    float: left;
}

/*Style for menu links*/
nav li a {
    display: block;
    min-width:100px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fff !important;
    background: #444444;
    text-decoration: none;
}

/*Hover state for top level links*/
nav li:hover a {
    background: #777777;
}

/*Style for dropdown links*/
nav li:hover ul a {
    background: #555555;
    color: #2f3036;
    height: 40px;
    line-height: 40px;
}

/*Hover state for dropdown links*/
nav li:hover ul a:hover {
    background: #777777;
    color: #fff;
}

/*Hide dropdown links until they are needed*/
nav li ul {
    display: none;
	z-index:999999;
}

/*Make dropdown links vertical*/
nav li ul li {
    display: block;
    float: none;
}

/*Prevent text wrapping*/
nav li ul li a {
    width: auto;
    min-width: 100px;
   	padding: 0 20px;
	
	font-size:12px !important;
}

/*Display the dropdown on hover*/
nav ul li a:hover + .hidden, .hidden:hover {
    display: block;
}

/*Style 'show menu' label button and hide it by default*/
nav .show-menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background: #888888;
    text-align: center;
    padding: 10px 0;
    display: none;
}

/*Hide checkbox*/
nav input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
nav input[type=checkbox]:checked ~ #menu{
    display: block;
}



/* This is new for RESPONSIVE WEBSITE */
@media screen and (max-width:960px)
{
	

	/******* NAV BAR *******/

	nav{
		width:100%;
		height:40px;
		font-size:1.15em;
		background-color:#666666;
	}
	
	#menu{
		display:none;
	}
	
    /*Make dropdown links appear inline*/
    nav ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
   	nav  li {
        margin-bottom:0px;
    }
    /*Make all menu links full width*/
    nav ul li, nav li a {
        width: 100%;
		background:#555555;
    }
	
	
	/*Prevent text wrapping*/
	nav li ul li a {
		padding: 0;
	}
	
	.sub-menu-title{
		font-size:16px; font-weight:bold;
		
	}
	
    /*Display 'show menu' link*/
    nav .show-menu {
		line-height:20px;
		padding-left:20px;
		padding-right:20px;
        display:block;
		background:#0091D2;
    }	
	
	nav li ul li {
		float: left;
		width:33.33%;
	}

		
	
	
}
