@charset "UTF-8";

nav {
	display: block;
	}

	nav {
	padding: 0;margin: 0;
	}
	
nav a:link {color:#ffffff;}      /* unvisited link */
nav a:visited {color:#ffffff;}  /* visited link */
nav a:hover {color:#ffffff;}  /* mouse over link */
nav a:active {color:#ffffff;}  /* selected link */ 	
	
/* First of all we need to style our nav element. You do this exactly the same way as styling a div in CSS CHANGE THE NAVIGATION BACKGROUND COLOR HERE */	
	
	nav {
	background-image: url("nav.png");
	border: 1px solid #000000;
	border-radius: 0px;

	color: #FFFFFF;font-weight: bold;text-align: center;
	display: block;
	margin: 0px 0px 0px 0px;
	overflow: hidden;
	width: 1050;
}
	
/* inline blocks and transitions LINE-HEIGHT HERE */
	
nav ul {
	margin: 0;
	padding: 0;
}

	nav ul li {
		display: inline-block;
		list-style-type: none;
		
		-webkit-transition: all 0.2s;
		-moz-transition: all 0.2s;
		-ms-transition: all 0.2s;
		-o-transition: all 0.2s;
		transition: all 0.2s; 
	}
	
		nav > ul > li > a {
			background-image: url("button1.png");
			display: block;
			line-height: 24px;
			padding: 0 56px;
			text-decoration: none;
		}	
		

		
/* Creating a CSS triangle

CSS allows us to create different shapes by changing the size of different borders. This means that we can create a drop-down icon / down arrow by purely using CSS */	
		
		
nav > ul > li > a > .caret {
	border-top: 4px solid #ffffff;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
	display: inline-block;
	height: 0;
	width: 0;
	vertical-align: middle;
	
	-webkit-transition: color 0.1s linear;
	-moz-transition: color 0.1s linear;
	-o-transition: color 0.1s linear;
	  transition: color 0.1s linear; 
}
			
		
		
		
		
		
/* Below are our basic hover states for the list items in our 1st tier navigation */	
		
 nav > ul > li:hover {
          background-color: #0A3f69;
        }

        nav > ul > li:hover > a {
          color: #ffffff;font-weight: bold;
        }

        nav > ul > li:hover > a > .caret {
          border-top-color: #FFFFFF;
        }
			
		
/* drop-down menu css CHANGE BOX WIDTH HERE */

nav > ul > li > div {
	background-color: #0A3F69;
	border-top: 0;
	border-radius: 0px 0px 0px 0px;
	box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
	display: none;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 190px;
	visibility: hidden;
	z-index: 100;
	
	-webkit-transiton: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-ms-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
	-transition: opacity 0.2s;
}

	nav > ul > li > div ul > li {
		display: block;
	}
	
		nav > ul > li > div ul > li > a {
			color: #ffffff;
			display: block;
			padding: 12px 24px;
			text-decoration: none;
		}
	
	nav > ul > li > div ul > li:hover > a {
		background-color: #000000;color: #ffffff;
	}		
		
		
		
		
/* make the drop-down menu appear */

nav > ul > li:hover > div {
	display: block;
	opacity: 1;
	visibility: visible;
}
			