/* =================== Main Nav Bar Styling =================== */
#nav_block {
        display: inline-block;
	position: absolute;
	top: 75px;
	right: 20px;
        padding: 0;
	margin: 0;
}
/* Special placement for home page */
.home_page #nav_block {
	position: relative;
	top: 632px;
	left: 20px;
}

/* Style overrides for links in the menus */
#nav_block a {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	letter-spacing: -0.03em;
	color: #FFFFFF;
        text-decoration: none;
	display: block;	
	transition: background-color 0.2s ease-in-out;
}
/* Styling for all menu text */
#nav_block li {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	text-align: left;
	color: #FFFFFF;
}
#nav_block li:hover {
        background-color: #000000;
	border: 1px solid #fc9c6d;
}
/* Top level menu item styling */
#nav_block > li {
	font-size: 1.2em; /* Font size of top-level items */
        text-transform: uppercase;
	display: inline; 
	float: left;
        padding-top: 2px;
        padding-bottom: 1px;
        padding-left: 6px;
        padding-right: 5px;
	margin-right: 4px; /* Controls the spacing between elements */
	background-color: transparent;
	border: 1px solid #FFFFFF;
        transition: background-color 0.2s ease-in-out; /* Set this the same as the transition above */
        transition: border 0.2s ease-in-out;
}
/* Pull-down menu styling */
#nav_block ul {
	visibility: hidden; /* Use this instead of "display:none;" when adding a transition to the menu.*/
        /* Create the animated "pull-down" effect. */
        opacity: 0;
        max-height: 0;
        overflow-y: hidden;
        transition: opacity 0.3s ease-in-out;
        transition: max-height 0.6s ease-in-out;
        /* /Create the animated "pull-down" effect. */
	position: absolute;
	list-style-type: none;
	margin-left: -8px; /* This offsets the padding-left used in top level item styling. */
	margin-top: 2px; /* This offsets the padding-bottom used in the top level item styling. */
        padding-top: 4px;
        padding-bottom: 4px;
        z-index: 100; /* Make sure it's on top of anything below on the page. */
	background-color: #000000;
}
/* Pull-down menu item styling */
#nav_block ul li {
	font-size: 14pt; /* Font size of pull-down menu items */
	letter-spacing: 0em;
        text-transform: none;
        margin-left: -40px; /* To remove the li indenting */
        margin-right: 0px;
	/* These control the spacing of the items in the menu */
        padding-top: 2px; 
        padding-bottom: 2px;
        padding-left: 6px;
        padding-right: 8px;
	border: 1px solid transparent;
        transition: border 0.2s ease-in-out; /* Set this the same as the two transitions above */
}
/* Style 2nd level pull-down menus differently than first-level menus. */
#nav_block > li:hover > ul > li:hover > ul {
	left: 100%;
	margin-top: -15px; /* To move ul up to where it's even with parent */
	margin-left: 0px;
        border: 1px solid #890505;
        border-left: none;
        z-index: 101; /* Make sure it's on top of the first-level menu. */
}
/* Hover actions. This is what makes the pull-downs appear */
#nav_block > li:hover > ul, #nav_block > li:hover > ul > li:hover > ul {
	visibility: visible; /* Use this instead of "display:block;" when adding a transition to the menu.*/
        /* Create the animated "pull-down" effect. */
        opacity: 1;
        max-height: 600px; /* Make this larger than any pull-down menu length */
        /* /Create the animated "pull-down" effect. */
}
/* =================== /Main Nav Bar Styling =================== */
