/*===============

File Name: Beth - Mobile-First Responsive Menu;
Version: 1.0;
Author: Tiberiu Alexander;
Author URL: http://codecanyon.net/user/tiberiualexander/portfolio ;
E-mail: tiberiu.alexander@gmail.com ;
Created: 10/02/2013;

=================*/

/* Some stylesheet reset */
#nav, #nav ul {
	list-style: none;
	padding: 0;
	
	margin:0 auto;
}

#nav #toggleMenu, #nav #hideMenu {
	display: none;
}

/* The main navigation bar */
#nav {
	position: relative;
	display: block;
	height: 40px;
	width:960px; /* The menu will take the width of its container */
	border-radius: 3px;
	background-color: #000;
	background-image: url(../images/binding_dark.png);
	background-repeat: repeat;
}

#nav>li {
	display: block;
	float: left;
	position: relative;
	margin-bottom: 0px;
	line-height: 25px;
}

/* The main navigation links */
#nav>li>a {
	/* Layout */
	display: block;
	padding: 10px 21px;
	border-color: #aaa;
	/* Typography */
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #aaa;
	text-transform: uppercase;
	text-decoration: none;
	/* Transitions */
	-webkit-transition: color .2s ease-in, border-top-color .2s ease-in;
	-ms-transition: color .2s ease-in, border-top-color .2s ease-in;
	-moz-transition: color .2s ease-in, border-top-color .2s ease-in;
	-o-transition: color .2s ease-in, border-top-color .2s ease-in;
	transition: color .2s ease-in, border-top-color .2s ease-in;
	letter-spacing: .08em;
}

/* The hover state of the links */
#nav>li:hover>a {
	color: #fff;
	background-color:#BC0000;
	border-top-color: #fff;
	background-image: url(../images/redglow.png);
	background-repeat: no-repeat;
	background-position: top;
}

#nav>li.dropdown>a {
	padding-right: 28px;
}

/* The arrow indicating a dropdown menu */
.dropdown>a::after {
	position: absolute;
	display: block;
	content: "";
	height: 0;
	width: 0;
	border: 4px solid transparent;
	border-top-color: inherit;
	right: 11px;
	top: 21px;
}

/*  The submenus */
#nav ul {
	display: block;
	position: absolute;
	top: 43px;
	left: -9999px;
	opacity: 0;
	background: #272727;
	cursor: pointer;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	-webkit-transition: opacity .22s ease-in;
	-ms-transition: opacity .22s ease-in;
	-moz-transition: opacity .22s ease-in;
	-o-transition: opacity .22s ease-in;
	transition: opacity .22s ease-in;
}

#nav ul li {
	display: block;
	position: absolute;
	height: 0px;
	-webkit-transition: height .15s ease-in;
	-ms-transition: height .15s ease-in;
	-moz-transition: height .15s ease-in;
	-o-transition: height .15s ease-in;
	transition: height .15s ease-in;
}

/* The submenu appears when its parent is hovered */
#nav>li:hover>ul {
	left: 0px;
	opacity: 1;
}

#nav li:hover>ul>li {
	position: relative;
	height: 31px;
}

/* The submenu links */
#nav ul li a {
	/* Layout */
	display: block;
	padding: 7px 12px 7px 22px;
	width: 130px;

	/* Typography */
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	text-decoration: none;
	color: #aaa;
	font-weight: 400;
	
	/* Background & effects */
	background: #272727;
	-webkit-transition: color .2s ease-in, border-left-color .2s ease-in;;
	-ms-transition: color .2s ease-in, border-left-color .2s ease-in;;
	-moz-transition: color .2s ease-in, border-left-color .2s ease-in;;
	-o-transition: color .2s ease-in, border-left-color .2s ease-in;;
	transition: color .2s ease-in, border-left-color .2s ease-in;;
}

/* Rounded corners for the last submenu link */
#nav ul>li:last-child>a {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

/* Changing the link color on hover */
#nav ul li:hover>a {
	color: #fff;
}

.nav ul ul {
	display: none;
}
nav.primary select {
			display: none;
			width:  100%;
			height: 28px;
			border: none;
			margin: 10px 0;
		}

/* #Media Queries
================================================== */

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

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		/* The main navigation bar */
#nav {
	position: relative;
	display: block;
	height: 40px;
	width:960px; /* The menu will take the width of its container */
	border-radius: 3px;
	background-color: #000;
	background-image: url(../images/binding_dark.png);
	background-repeat: repeat;
}

#nav>li {
	display: block;
	float: left;
	position: relative;
	margin-bottom: 0px;
	line-height: 25px;
}

/* The main navigation links */
#nav>li>a {
	/* Layout */
	display: block;
	padding: 10px 17px;
	border-color: #aaa;
	/* Typography */
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #aaa;
	text-transform: uppercase;
	text-decoration: none;
	/* Transitions */
	-webkit-transition: color .2s ease-in, border-top-color .2s ease-in;
	-ms-transition: color .2s ease-in, border-top-color .2s ease-in;
	-moz-transition: color .2s ease-in, border-top-color .2s ease-in;
	-o-transition: color .2s ease-in, border-top-color .2s ease-in;
	transition: color .2s ease-in, border-top-color .2s ease-in;
	letter-spacing: .082em;
}

	
	
	}
		
		

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
	
					nav.primary select {
						display: block;
					}
						
					#nav {
						display: none;
					}
		  
		}

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

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