#mainNav {
	position: relative;
	display: table;
	margin:0 auto 4px auto;
	width: 848px;
	background: #444;
    height: auto;
    border: 1px solid #000;
    /*border-radius: 0 0 5px 5px;*/
}
#mainNav ul {
    list-style:none;

    margin: 0;
    padding: 0;
    float: left;
    height: 100%;
    /* Bring the nav above everything else--uncomment if needed. */
    position:relative;
    z-index:5;
    /**/
}
#mainNav ul li{
    float:left;
    position:relative;
    border-right: 1px solid #000;
    height: 100%;
    transition: background-color 300ms;
}
#mainNav ul li:last-child{
    border-right: none;
}

#mainNav ul a {
    display:block;
    text-decoration:none;

	text-align: center;
    font-family: sans-serif;
	font-size: 14px;
	font-weight: normal;

	text-decoration: none;
	color: #fff;
    padding: 8px 0;
    text-shadow: 0 0 10px #000, 0 0 5px #000;
    transition: all 500ms;
}

#bcp_link, #touring_link, #rdm_link {
    width: 171px;
}

#home_link, #downloads_link, #contact_link {
    width: 110px;
}

#contact_link {
    width: 109px;
}

#mainNav ul a:hover {
    text-shadow: 0 0 20px #fff;
}

/*--- DROPDOWN ---*/
#mainNav ul ul {
    background:#eee; /* 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). */
    list-style:none;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;

    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
#mainNav ul ul li {
    border-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float:none;
}
#mainNav ul ul a {
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#mainNav ul li:hover ul { /* Display the dropdown on hover */
    left:-1px; /* Bring back on-screen when needed */
}
#mainNav ul li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    text-shadow: 0 0 20px #fff, 0 0 5px #fff;
    background: #333;
}
#mainNav ul 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;
}
#mainNav ul li:hover ul li a:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    text-decoration: underline;
}

#mainNav .logo {
    height: 50px;
}
