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

/*------------------------------------*\
	NAV
\*------------------------------------*/
#nav{
	list-style:none;
	/* Clear floats */

	/* Bring the nav above everything else--uncomment if needed.
	position:relative;
	z-index:5;
	*/
}

ul#nav {}
	
#nav li{
	float:left;
	position:relative;
	width:33%;
    padding:.5% 0 0 0;
}

#nav li.middle{margin: 0 .5% 0 .5%;
}

#nav li img {width:98%; margin: 1% 1% 0 1%;}

#nav h2 {
	width: 100%;
	margin:1% 0 .5% 1%;
	color: #fff;
	font-size: 20px;
    font-family: 'Oswald', sans-serif;
	font-weight:lighter;
	letter-spacing: 0px;	
}

#nav p {margin:.75% 2% .75% 4%;}

#nav a{
	display:block;
	width:100%;
	padding:0px;
	color:#fff;
	text-decoration:none;
	  border: 1px solid;	
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.58);
-moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.58);
box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.58);

background: rgba(159,87,87,1);
background: -moz-linear-gradient(top, rgba(159,87,87,1) 0%, rgba(112,4,4,1) 39%, rgba(75,3,3,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(159,87,87,1)), color-stop(39%, rgba(112,4,4,1)), color-stop(100%, rgba(75,3,3,1)));
background: -webkit-linear-gradient(top, rgba(159,87,87,1) 0%, rgba(112,4,4,1) 39%, rgba(75,3,3,1) 100%);
background: -o-linear-gradient(top, rgba(159,87,87,1) 0%, rgba(112,4,4,1) 39%, rgba(75,3,3,1) 100%);
background: -ms-linear-gradient(top, rgba(159,87,87,1) 0%, rgba(112,4,4,1) 39%, rgba(75,3,3,1) 100%);
background: linear-gradient(to bottom, rgba(159,87,87,1) 0%, rgba(112,4,4,1) 39%, rgba(75,3,3,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9f5757', endColorstr='#4b0303', GradientType=0 );

}




#nav a:hover{
	color:#fff;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 1);
	box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 1);
	background: rgba(87,97,112,1);
	background: -moz-linear-gradient(top, rgba(87,97,112,1) 0%, rgba(5,20,42,1) 89%, rgba(5,20,42,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(87,97,112,1)), color-stop(89%, rgba(5,20,42,1)), color-stop(100%, rgba(5,20,42,1)));
	background: -webkit-linear-gradient(top, rgba(87,97,112,1) 0%, rgba(5,20,42,1) 89%, rgba(5,20,42,1) 100%);
	background: -o-linear-gradient(top, rgba(87,97,112,1) 0%, rgba(5,20,42,1) 89%, rgba(5,20,42,1) 100%);
	background: -ms-linear-gradient(top, rgba(87,97,112,1) 0%, rgba(5,20,42,1) 89%, rgba(5,20,42,1) 100%);
	background: linear-gradient(to bottom, rgba(87,97,112,1) 0%, rgba(5,20,42,1) 89%, rgba(5,20,42,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#576170', endColorstr='#05142a', GradientType=0 );
}


@media only screen and (max-width: 767px) {
	#nav li{
	float:none;
	position:relative;
	width:98%;
		padding:.5% 0 .5% 0;
		margin:.5% auto;
		clear:both;
}

#nav li.middle{ 		margin:.5% auto;
}


#nav a{
height:auto;
}

#nav h2 {font-size: 22px; margin:2.4% 0 2.4% 5%;}

#nav p {margin:.75% 2% .75% 4%; line-height:1.2; font-size:90%;}

#nav li img.big {width:33%; margin: 1% 1% 0 1%; display:none;}


}

	#nav li img.small {width:33%; margin: 1% 1% 0 1%; float:left;}


@media only screen and (min-width: 767px) {
	#nav li img.small {width:33%; margin: 1% 1% 0 1%; display:none;}

	
}


@media only screen and (max-width: 607px) {
	#nav li img.small {width:39%; margin: 1% 1% 0 1%;}
	
	#nav h2 {	font-size: 18px;

	}

	
}


/*--- DROPDOWN ---*/
#nav ul{
	background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	
	z-index:1005;
}
#nav ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
	width:auto;
}
#nav ul a{
	white-space:nowrap; padding: 2.5% 4%;     border-radius: 0px; font-size:90%; 

}
#nav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background-color: #F00;
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:#333;
}
