/*--- NAV ---*/

.nav {
	list-style:none;
	float: left;
	background-color: #000000;
	width: 100%;
	margin: 0px;
}

.nav li {
	position:relative;
	float: left;
	
	
}

.nav a {
	display:block;
	text-decoration: none;
	background-color: #333333;
	color:#FF0;
	font-size: 1.2em;
	line-height: 128%;
	font-weight: bold;
	padding-top: 1em;
	padding-right: 1.2em;
	padding-bottom: 1em;
	padding-left: 1.2em;
	text-align: center;	
	
}

.nav a:hover {
	
	background-color: #FF0;
	color:#333333;
	-webkit-transition: color 0.3s, margin-top 0.3s;  /* Saf3.2+, Chrome */
	-moz-transition: color 0.3s, margin-top 0.3s;  /* FF4+ */
	-ms-transition: color 0.3s, margin-top 0.3s;  /* IE10 */
	-o-transition: color 0.3s, margin-top 0.3s;  /* Opera 10.5+ */
	transition: color 0.3s, margin-top 0.3s;
}


 

/*--- NAV DROPDOWN ---*/

.nav ul{	
	list-style:none;
	position:absolute;
	display:block;
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;  /* Saf3.2+, Chrome */
	-moz-transition: opacity 0.2s linear; /* FF4+ */
	-ms-transition: opacity 0.2s linear; /* IE10 */
	-o-transition: opacity 0.2s linear; /* Opera 10.5+ */
	transition: opacity 0.2s linear;

}
.nav ul li{
	padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
	margin-left: -40px;
	width: 250px;
	
}
.nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	
}
.nav li:hover ul{ /* Display the dropdown on hover */
	display:block;
	opacity: 1;
	z-index: 100;	
	
 
}
