/* HORIZONTAL NAV  */

#horizontal-nav {
	height: 70px;
	position: absolute;
	top: 73px;
	padding-left: 10px;
}		
	
#horizontal-nav ul {
}		

#horizontal-nav li {
	display: block;
	float: left;
	padding: 0 0 0 0px;
	margin: 0 0 0 0;
}		

#horizontal-nav li:first-of-type {
	border-left: none;
}		

#horizontal-nav li:last-of-type {
	border-right: none;
}		

#horizontal-nav li a {
	color: #000;
	display: block;
	font-weight: bold;
	padding: 0px 10px 0px 10px;
	height: 70px;
	line-height: 90px;
	text-decoration: none;
	text-shadow: none;
	border-left: none;
	border-right: none;
}		

#horizontal-nav li.current_page_item a {
	color: #F1B82D;
	border-left: none;
}		

#horizontal-nav li a:hover {
	color: #F1B82D;
}

/* TABBED NAV */

.tabbed-nav ul { 
	clear: both; 
	list-style:none;
}

.tabbed-nav ul li { 
	display: inline;
	float: left;
	margin: 0 0 0 0px;
	padding:0 0 0 0px;	
	border-left: 1px solid #EDEBD5;
	border-right: 1px solid #CAC8B5;
}

.tabbed-nav ul li a {
	color: #6D6D62; 
	display: block;
	font-weight: bold;
	height: 34px;
	margin: 0 0 -10 0;
	line-height: 45px;
	padding: 0 20px 10px 20px;
	text-decoration: none;
	
	text-shadow: 0px 1px 0px #EDEBD5;
	background: #CAC8B5 url(../images/buttons/tabbed-nav-off.png) top right no-repeat;		
	background-image: linear-gradient(bottom, rgb(186,184,167) 0%, rgb(237,235,213) 100%);
	background-image: -o-linear-gradient(bottom, rgb(186,184,167) 0%, rgb(237,235,213) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(186,184,167) 0%, rgb(237,235,213) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(186,184,167) 0%, rgb(237,235,213) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(186,184,167) 0%, rgb(237,235,213) 100%);
	
	background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0, rgb(186,184,167)),
	color-stop(1, rgb(237,235,213))
	);		
}

.home-slider-nav.tabbed-nav ul li a {
	padding-left: 10px;
	padding-right: 10px;
}

.tabbed-nav ul li:nth-child(1) a,
.home-slider-nav.tabbed-nav ul li:nth-child(1) a {
	padding-left: 20px;
}

.tabbed-nav ul li a:hover {
	color: #222;
}

.tabbed-nav .current_page_item a,
.tabbed-nav ul li a.current_page_item,
.tabbed-nav .current_page_ancestor a {
	color: #222;
	text-shadow:none;
	background: url(../images/buttons/tabbed-nav.png);
	background-image: linear-gradient(bottom, rgb(237,235,213) 0%, rgb(255,255,255) 100%);
	background-image: -o-linear-gradient(bottom, rgb(237,235,213) 0%, rgb(255,255,255) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(237,235,213) 0%, rgb(255,255,255) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(237,235,213) 0%, rgb(255,255,255) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(237,235,213) 0%, rgb(255,255,255) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(237,235,213)),
		color-stop(1, rgb(255,255,255))
	);	
}

/* DARK NAV */


#dark-nav {
	margin-bottom: 14px;
	border-top: 1px solid #555;
	border-bottom: 1px solid #000;
	-moz-box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
	box-shadow: 0px 0px 5px #000;
	background: url(../images/audience-bar.png) top center repeat-x;
	background-image: linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -o-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(34,34,34)),
		color-stop(1, rgb(67,67,67))
	);
}

#dark-nav ul {
	margin: 0px 0 0 0px;
	width: 100%;
}

#dark-nav li {
	margin: 0 0 0 0;
	border-left:1px solid #777;
	border-right:1px solid #000;
	float: left;
	display: block;
}

#dark-nav li:nth-child(1) {
	border-left: none;
}

#dark-nav li:nth-last-child(1) {
	border-right: none;
}

#dark-nav li ul {
    background: none repeat scroll 0 0 #f2f2f2;
    display: none;
    font-size: 86%;
    position: absolute;
    width: 300px;
    z-index: 999999999;
}

#dark-nav li ul li {
	border: none;
	float: none;
	margin-bottom: 7px;
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: block;
}

#dark-nav li ul li a,
#dark-nav li.current-menu-item ul li a,
#dark-nav li ul li.current-menu-item a,
#dark-nav li ul li.current-page-ancestor {
	font-weight: normal;
	background: #222;
	text-shadow: none;
	padding: 4px 10px 4px 10px;
	color: #ccc;
	border: none;
	margin: 0 0 5px 0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: block;
}

#dark-nav li ul li a:hover {
	background: #f2f2f2;
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#dark-nav li:hover ul { 
	display: block; 
	position: absolute; 
	z-index: 3000;
	padding: 10px 10px 5px 10px;
	-moz-box-shadow: 0px 0px 5px #000;
	-webkit-box-shadow: 0px 0px 5px #000;
	box-shadow: 0px 0px 5px #000;
}

#dark-nav a {
	text-decoration: none;
	display: block;
	color: #eee;
	font-weight: bold;
	padding: 10px 20px 10px 20px;
	text-shadow: 0px -2px 0px #000;
	background-image: linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -o-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(34,34,34)),
		color-stop(1, rgb(67,67,67))
	);		
}

#dark-nav .current-menu-item a {
	color:#ffcc33;
	background: url(../images/audience-bar.png) top center repeat-x;
}

#dark-nav a:hover {
	color:#ffcc33;
	background: url(../images/audience-bar.png) top center repeat-x;
}

#dark-nav .current_page_item a {
	color:#ffcc33;
}

/* CHILD NAV */

#content .child-nav {
	font-size: 90%;
	padding-bottom: 4px;
}

#content .child-nav ul {
	margin: 0 0 0px 0px;
	padding: 0px;
}

#content .child-nav li,.child-nav li {
	list-style: none;
	float:  left;
	display: block;
	margin: 0 0 0px 0px;
	padding: 0px;
}

#content .child-nav a,
.child-nav a {
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #b8b8b8;
    border-color: #fff #b8b8b8 #b8b8b8 #fff;
    border-image: none;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    color: #000;
    display: block;
    font-size: 86%;
    font-weight: bold;
    line-height: 43px;
    margin: 0;
    min-height: 25px;
    padding: 0 7px;
    text-decoration: none;
    text-shadow: none;
}

#content .child-nav .current_page_item a,
#content .child-nav a:hover {
	color: #7b2e00;
	background: #CAC8B5 url(../images/buttons/tabbed-nav.png) bottom left repeat-x;
	background-image: linear-gradient(bottom, rgb(238,238,238) 0%, rgb(254,254,254) 100%);
	background-image: -o-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(254,254,254) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(254,254,254) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(254,254,254) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(254,254,254) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(238,238,238)),
		color-stop(1, rgb(254,254,254))
	);
}

/* CATEGORY NAV */

#content .category-nav .subcategory li.exit-button,
#content .category-nav li ul li.back {
	height: 0px; 
 	text-indent: -9999px; */
}

#content .category-nav,
.category-nav  {
	margin-right: 0px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-bottom: 20px;
}

#content .category-nav ul,
.category-nav ul {
	margin: 0;
	padding: 0;
}
				
#content .category-nav li,
.category-nav li {
	list-style: none;
	display: block;
	margin: 0px;
	padding: 10px 0 12px 0;
	font-weight: bold;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #BAB8A7;
}

#content .category-nav a,
.category-nav a {
	color: #333;
	display: block;
	text-decoration: none;
	padding: 0px 10px 0px 0px;
	text-shadow: 0px 1px 0px #EDEBD5;
}

#content .category-nav a.arrow {
	cursor: default !important;
}
	
#content .category-nav a.arrow:hover {
	color: #333;
}
				
#content .category-nav a:hover,
.category-nav a:hover {
	color: #6D6D62;
}
		
#content .category-nav li:first-of-type,
.category-nav li:first-of-type {
	border-top: none;
	padding-top: 4px;
	border-top:1px red;
}
				
#content .category-nav li:last-of-type,
.category-nav li:last-of-type {
	border-bottom: none;
	padding-bottom: 4px;
}
			
#content .category-nav li ul,
.category-nav li ul {
	max-height: 0px;
 	overflow: hidden;
	margin: 0px 10px 0px 0px;
	-webkit-transition: all 20s ease-in-out;
	-moz-transition: all 20s ease-in-out;
	-o-transition: all 20s ease-in-out;
	transition: all 20s ease-in-out;
}

#content .category-nav.current a ,
.category-nav.current a{
	font-size: 86%;
	font-weight: normal;
}

#content .category-nav li:hover ul,
.category-nav li:hover ul {
	max-height: 500px; 
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

			
#content .category-nav li ul li,
.category-nav li ul li { 
	margin: 0px;
	padding: 0px 0 0px 0;
}

			
#content .category-nav li ul li a,
.category-nav li ul li a {
	font-weight: normal;
	padding: 7px 5px 7px 10px;
	font-size: 86%;
	color: #333;
}

#content .inthiscat li {
	list-style: none;
	margin-left : 0px;
	padding: 0px;
}

/* ENGINEERING NAV */
#engineering-nav {
	background-color: rgba(0, 0, 0, 0.85);
	font-size: 100%;
	padding: 5px 0 0 0;
}

#engineering-nav a, #sub-nav a {
	color: #fff;
	text-decoration: none;
	display: block;
}

#engineering-nav a {
	color: #fff;
	padding: 3px 0 3px 6%;
}

#engineering-nav li {

}

#engineering-nav  li:nth-last-child(1) {
	border-bottom:none;
}

#engineering-nav  li:nth-child(1) {
	border-top:none;
}

#engineering-nav li {
	margin: 0 0px 0 0px;
	padding: 0 0 0 0px;
	list-style:none;
}

#engineering-nav a:hover{
	background-color: rgba(0, 0, 0, 1.00);
}

#engineering-nav a:hover, 
#sub-nav a:hover,
#nav-base a:hover,
#engineering-nav .current-menu-item a,
#engineering-nav .current-page-ancestor a,
#sub-nav .current-menu-item a,
#sub-nav .current-page-ancestor a {
	color: #F1B82D;		
}

/* SUB NAV */

#sub-nav li {

}

#sub-nav  li:nth-last-child(1) {
	border-bottom:none;
}

#sub-nav  li:nth-child(1) {
	border-top:none;
}

#sub-nav a {
	color: #fff;
	padding: 3px 0;
	text-shadow: 0px -1px 0px #000;
	font-weight: bold;
}

#sub-nav a:hover {
	background-color: rgba(0, 0, 0, 0.0);
}

#sub-nav {
	background-color: rgba(0, 0, 0, 0.0);
	font-size: 100%;
}

/* NAV BASE NAV */

#nav-base {
	font-size: 80%;
	height: 20px;
	margin: 0 0 8% 0px;
	padding: 4% 0 2% 0%;
	background: #181818; /* fallback color */
	border-top: 1px solid #444;
}

#nav-base li {
	list-style: none;
	float: left;
	width: 30%;
	margin-left: 2%;
	text-align: center;
}

#nav-base a {
	font-weight: bold;
	text-transform:uppercase;
	color: #eee;
	text-decoration: none;
	text-shadow: 0px -1px 0px #000;
}

/* MAGAZINE ISSUE NAV */
/* PREVIOUS NEXT BUTTONS FOR MAGAZINE POSTS */

#content .issue-nav {
	background: #333 url(../images/audience-bar.png) center center repeat-x;
	background-image: linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -o-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(34,34,34) 0%, rgb(67,67,67) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(34,34,34)),
		color-stop(1, rgb(67,67,67))
		);		
	text-shadow: 0px -1px 0px #000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-top:20px;
	margin-bottom: 20px;
	-moz-box-shadow: 0px 0px 4px #444;
	-webkit-box-shadow: 0px 0px 4px #444;
	box-shadow: 0px 0px 4px #444;
	position: relative;
	z-index: 99;
	height: 40px;
}


#content .issue-nav ul {
	margin: 0px !important;
	padding:0px !important;
	position: relative;
	width: 100%;
}

#content .issue-nav li {
	margin: 0px !important;
	float: left;
	display:block;
	text-align: center;
}

.issue-button {
	position: relative;
}

#content .issue-nav li:first-of-type { 
	border-left: none;
}
#content .issue-nav li:last-of-type { 
	border-right: none;
}

#content .issue-nav li a {
	display: block;
	text-decoration:none;
	font-weight: bold;
	color: #fff;
	text-shadow: 0px -1px 0px #000;
	text-align: center;
	width: 100%;
}

#content .issue-nav li a:hover {
	color: #F1B82D;	
}

.previous-post {
	width: 37%;
	display: block;
	height: 40px;
	line-height: 40px;
}

.previous-post a {
	display: block;
}

.issue-button {
	width: 30%;
	height: 40px;
	line-height:40px;
	border-left: 1px solid #222;
	border-right: 1px solid #444;
}

.issue-button a {
	border-left: 1px solid #444;
	border-right: 1px solid #222;
}

.next-post {
	width: 30%;
	position: absolute;
	right: 0px;
}

.next-post a {
	height: 40px;
	line-height:40px;
	width: 100%;
}

#content .issue-nav li:hover ul {
	display:block;
}

#content .issue-nav li ul  {
	display: none;
	position: absolute; 
	margin-left: 100%;
	background: #333;
	text-shadow: 0px -1px 0px #000;
	width: 300%;
	left: -100%;
	-moz-box-shadow: 0px 0px 4px #000;
	-webkit-box-shadow: 0px 0px 4px #000;
	box-shadow: 0px 0px 4px #000;
}

#content .issue-nav li ul li  {
	border-right: none;
	border-left: none;
	float: none; 
}

#content .issue-nav li ul li a {
	text-decoration:none;
	color: #fff;
	display: block;
	width: 96%;
	text-shadow: none;
	font-size: 100%;
	font-weight: normal;
	line-height:140%;
	padding: 1% 2% 1% 2%;
	border-bottom: 1px dotted #000;
	border-top: 1px dotted #444;
	border-left: none;
	border-right: none;
	text-align: left;
}

#content .issue-nav .current-menu-item a {
	color: #F1B82D;
}