
.navbg {
	background-color: #F2F0DB;
	background: url('../images/noise.png'), #F2F0DB;
}


#nav {
	margin: 0 0 0 10px;
	position: relative;
	letter-spacing: 0.04em;
	position: relative;
	z-index: 20;
}

#nav > a {
	display: none;
}

#nav li {
	position: relative;
}

#nav li a {
	display: block;
	font-family: edwardian_script_itcregular;
	font-weight: bold;
	color: #81431C;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-in-out;
}

#nav li a:active {
		background-color: #F2F0DB;
		background: #F2F0DB;
}

#nav li a:hover {
	color: #D41D22;
	text-decoration: none;
		background-color: #F2F0DB;
		background: #F2F0DB;
}

/* #nav li a:hover:after {
	width: 0;
	height: 0;
	border: 7px solid transparent;
	border-right: none;
	border-left-color: #000000;
	content: '';
	display: block;
	position: relative;
	margin-top: -22px;
	z-index: 10;
	left: -8px;
} */

#nav span:after {
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-bottom: none;
	border-top-color: #FFFFFF;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -5px;
}


/* first level */

#nav > ul {
	border-left: 2px solid #333333;
	border-right: 2px solid #333333;
}

#nav > ul > li {
	float: left;
}

#nav > ul > li > a {
	padding: 5px 10px 5px 10px;
	height: 100%;
	font-size: 30px;
	line-height: 30px;
}


/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {

	#nav > ul > li > a {
		font-size: 23px;
		line-height: 23px;
	}

}


/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {


}


/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

	#nav {
		position: relative;
		top: auto;
		left: auto;
	}

	#nav > a {
		width: 50px;
		height: 50px;
		text-align: left;
		text-indent: -9999px;
			background-color: #F2F0DB;
			background: url('../images/noise.png'), #F2F0DB;
		position: relative;
	}

	#nav > a:before, #nav > a:after {
		position: absolute;
			border: 2px solid #000000;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}

	#nav > a:after {
		top: 60%;
	}

	#nav:not( :target ) > a:first-of-type, #nav:target > a:last-of-type {
		display: block;
	}


	/* first level */

	#nav > ul {
			background-color: #F2F0DB;
			background: url('../images/noise.png'), #F2F0DB;
		margin-left: -10px;
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
	}

	#nav:target > ul {
		display: block;
	}

	#nav > ul > li {
		width: 100%;
		float: none;
	}

	#nav > ul > li > a {
		height: auto;
		text-align: left;
		padding: 0 0.833em;
		border-top: 2px solid #333333;
		border-left: 0px solid #333333;
		border-right: 0px solid #333333;
		border-bottom: 0px solid #333333;
	}

	#nav > ul > li > a {
		border-right: 0px solid #333333 !important;
		font-size: 35px;
		line-height: 40px;
	}

	#nav > ul > li:last-child > a {
		border-bottom: 2px solid #333333;
	}

}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {


	#nav {
		position: relative;
		top: auto;
		left: auto;
	}

	#nav > a {
		width: 50px;
		height: 50px;
		text-align: left;
		text-indent: -9999px;
			background-color: #F2F0DB;
			background: url('../images/noise.png'), #F2F0DB;
		position: relative;
	}

	#nav > a:before, #nav > a:after {
		position: absolute;
			border: 2px solid #000000;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}

	#nav > a:after {
		top: 60%;
	}

	#nav:not( :target ) > a:first-of-type, #nav:target > a:last-of-type {
		display: block;
	}


	/* first level */

	#nav > ul {
			background-color: #F2F0DB;
			background: url('../images/noise.png'), #F2F0DB;
		margin-left: -10px;
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
	}

	#nav:target > ul {
		display: block;
	}

	#nav > ul > li {
		width: 100%;
		float: none;
	}

	#nav > ul > li > a {
		height: auto;
		text-align: left;
		padding: 0 0.833em;
		border-top: 2px solid #333333;
		border-left: 0px solid #333333;
		border-right: 0px solid #333333;
		border-bottom: 0px solid #333333;
	}

	#nav > ul > li > a {
		border-right: 0px solid #333333 !important;
	}

	#nav > ul > li:last-child > a {
		border-bottom: 2px solid #333333;
	}

	/* second level */

	#nav li ul {
		background: #4E4E4E;
		padding: 1.25em;
		padding-top: 0;
	}

	#nav li ul li:first-child a {
		border-top: 0px solid #333333;
	}

}


/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {


}
