/* -----------------------------------
Navigation
----------------------------------- */

#nav
{
	padding: 0;
	background: #fff;
}

#nav ul
{
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1;
}

#nav li
{
	display: inline;
	padding: 0;
	background: none;
}

#nav a
{
	display: block;
	padding: .7em 20px;
	border-bottom: 1px solid #fff;
	color: #000;
	background-color: #9BD5E0;
	text-decoration: none;
	line-height: 1.2;
}

#nav a.special
{
	color: #fff;
	background: #364E9B;
	padding: 1.4em 20px;
}

#nav-toggle
{
	display: block;
	padding: .7em 20px .7em 50px;
	color: #000;
	background-color: #9BD5E0;
	background-image: url(../img/responsive-nav.png);
	background-repeat: no-repeat;
	background-position: 20px 50%;
	border-bottom: 1px solid #fff;
	text-decoration: none;
	text-transform: uppercase;
}

#nav a:hover,#nav a.special:hover,#nav-toggle:hover
{
	color: #000;
	background-color: #63B342;
}

#nav a:focus,#nav a.special:focus,#nav-toggle:focus
{
	color: #fff;
	background-color: #000;
}

#nav a:active,#nav a.special:active,#nav-toggle:active
{
	color: #fff;
	background-color: #A71E22;
}

/* -----------------------------------
Predefined
----------------------------------- */

.js #nav
{
	clip: rect(0 0 0 0);
	max-height: 0;
	position: absolute;
	display: block;
	overflow: hidden;
	zoom: 1;
}

#nav.opened { max-height: 9999px; }

/* -----------------------------------
Navigation wide screen
----------------------------------- */

@media (min-width: 900px)
{
	.js #nav { position: relative; }
	.js #nav.closed { max-height: none; }
	#nav-toggle { display: none; }
	
	#nav
	{
		overflow: hidden;
		zoom: 1;
		background-color: #9BD5E0;
		background-image: url(../img/nav2.png);
		background-repeat: repeat-x;
		border-bottom: 12px solid #DAF0F4;
	}
	
	#nav a
	{
		float: left;
		padding: 10px 15px;
		border-right: 1px solid #fff;
		border-bottom: none;
		line-height: 50px;
		background-image: url(../img/nav.png);
		background-repeat: repeat-x;
	}
	
	#nav a.special
	{
		height: 50px;
		padding: 10px 15px;
		color: #fff;
		background: #364E9B;
		line-height: 1.1;
	}
	
	.break { display: block; }
}
