/*----------------------------------------------------------------------------------------------------------
|
|	 Last Update: 11-4-2009 3:30pm										
|    Author     : Luke Luchkan
|
|	 NOTE:  This latest version corrects the alignment of the Topic menu for all browsers
|			Markup such preceeded by either an asterisc (*) or underscore (_) is for browser compatibility
|			Ex. *display: inline; _height: 10px;
|	
|----------------------------------------------------------------------------------------------------------*/

.topic .ekflexmenu
{
	display: none;
	margin-bottom: 0pt;
	vertical-align: top;
	width: 145px;	/* This should be 20px greater than the size of image in container to work for all browsers */
}
											
.topic div.ekflexmenu_show
{
	/* DIV; wraps the entire menu */
	/* (the outer-most non-user container element) */
	float: right;
	width: inherit;
	display: block;
	*display: inline;
	display: inline;
	vertical-align: top;
}

.topic .ekflexmenu_submenu,
.topic .ekflexmenu_submenu_hover,
.topic .ekflexmenu_submenu_parent,
.topic .ekflexmenu_submenu_parent_hover
{
	/* DIV; holds submenu items, such as a submenu title and links. */
	top: 0px;
	left: 0px;
	width: 100%;
}

.topic .ekflexmenu_submenu_items 
{
	/* DIV; container for menu lists. */
    overflow: hidden; /* truncate what cannot fit */
    margin: 0pt;
    width: 100%;
}

.topic .ekflexmenu_submenu_items_hidden 
{
	/* DIV; normally hidden container for menu lists (becomes visible if */
	/* user clicks on related submenu button, or if Javascript/CSS not supported). */
	display: none;
	clear: both;
	margin: 0pt;
	overflow: hidden;
}

/* Nested menu items */
/*.topic .ekflexmenu_menu_level_3 .ekflexmenu_submenu_items, */
.topic LI.ekflexmenu_startlevel,
.topic .ekflexmenu_submenu_items .ekflexmenu_submenu_items_hidden, 
.topic .ekflexmenu_submenu_items_hidden .ekflexmenu_submenu_items_hidden
{
	/* Rule is applied to nested submenus. Hidden included in-case */
	/* Javascript is not supported and hidden submenus are made visible. */
    border-bottom-width: 0px; /* prevents bottom border from accumulating, with each level of nesting */
    margin-bottom: 12px;
}

.topic ul
{
	/* UL; a container for menu list items (useful for non-graphical browsers). */
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.topic ul.ekflexmenu_border
{
	float: right;
	width: auto;
	height: auto;
	padding-left: 6px;
	padding-right: 6px;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-left: 5px;
	margin-right: 4px;
	margin-bottom: 5px;
	border-top-width:1px;
	border-top-style: solid;
	border-top-color: #336699;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #336699;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #336699;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #336699;
	display: block;
	display: inline;
	*display: inline;
	text-align: center;
}

.topic li
{
/* LI; container for menu items (typically either links or sub-menus). */
	font-family: "Trebuchet MS";
	font-size: 10pt;
	list-style: none;
	color: #336699;
	/* line-height: 12pt; */
	display: block;
	display: inline;
	*display: inline;
	width: 100%;
	_width: 100%;
	text-align: center;
}

/* Button menu items, controls visibility of associated sub-menus */
.topic .ekflexmenu_button
{
	/* A; holds the title of the associated submenu, and typically acts as a */
	/* button (or folder) for the submenu. Can also hold images (background, etc). */
    display: block;
    *display: inline-block;
    padding: 0px 0px 0px 0px;
    font-weight: bold;
    color: rgb(51, 102, 153);
    background: (255, 255, 255); /* color specified in case image unavailable */
    width: 100%; /* capture on-click for entire row that the button occupies */
    text-align: center;
}

.topic .ekflexmenu_button:focus,
.topic .ekflexmenu_button:hover,
.topic .ekflexmenu_button_hover
{
	/* A; hovered version of .ekflexmenu_button, see above... */
    display: block;
    padding: 0px 0px 0px 0px;
    font-weight: bold;
    color: rgb(153, 204, 255);
    background: rgb(255, 255, 255); /* color specified in case image unavailable */
    width: 100%; /* capture on-click for entire row that the button occupies */
}
.topic .ekflexmenu_button_selected
{
	/* A; selected version of .ekflexmenu_button, see above... */
    display: block;
    padding: 0px 0px 0px 0px;
    font-weight: bold;
    color: rgb(51, 102, 153);
    background: rgb(255, 255, 255); /* color specified in case image unavailable */
    width: 100%; /* capture on-click for entire row that the button occupies */
    text-decoration: underline;
}
.topic .ekflexmenu_button_selected_hover
{
	/* A; hovered version of .ekflexmenu_button_selected, see above... */
    display: block;
    padding: 0px 0px 0px 0px;
    font-weight: bold;
    color: rgb(153, 204, 255);
    background: rgb(255, 255, 255); /* color specified in case image unavailable */
    width: 100%; /* capture on-click for entire row that the button occupies */
    text-decoration: underline;
}

/* images */
.topic .ekflexmenu_submenu_items a img, 
.topic .ekflexmenu_submenu_items_hidden a img, 
.topic ekflexmenu_link a img,
.topic ekflexmenu_link:link a img, 
.topic ekflexmenu_link_selected a img
{
	/* IMG; menu-item image, selected by CMS, can be used */
	/* with or in place of the textual title of the link. */
	border-width: 0px;
	padding-bottom: 12px;
	text-align: center;
}

/* Link menu items */
.topic a.ekflexmenu_link, 
.topic a.ekflexmenu_link:link, 
.topic a.ekflexmenu_link:visited 
{
	/* A; link for individual menu items (CMS quicklink, external link, etc.). */
    padding: 0px 0px 0px 0px;
    color: rgb(51, 102, 153);
    background: rgb(255, 255, 255);
    display: block; /* force one link per row */
    width: 100%; /* fill entire row with link */
    line-height: 12pt;
	margin-bottom: 12pt;
}
/*.ekflexmenu_submenu_items a:hover */
.topic a.ekflexmenu_link:hover, 
.topic a.ekflexmenu_link:active, 
.topic a.ekflexmenu_link:focus  
{
	/* A; hovered version of ekflexmenu_link, see above... */
    padding: 0px 0px 0px 0px;
    color: rgb(153, 204, 255);
    background : rgb(255, 255, 255);
	display: block; 
	width: 100%;
	line-height: 12pt;
	margin-bottom: 12pt;
}

.topic a.ekflexmenu_link_selected 
{
	/* A; selected version of ekflexmenu_link, see above... */
    padding: 0px 0px 0px 0px;
	color: rgb(51, 102, 153);
    background: rgb(255, 255, 255);
	display: block; 
	width: 100%;
	line-height: 12pt;
	margin-bottom: 12pt;
    text-decoration: none;
	font-weight: bold;
	cursor: default;
}
.topic a.ekflexmenu_link_selected:hover 
{
	/* A; selected and hovered version of ekflexmenu_link, see above... */
    padding: 0px 0px 0px 0px;
	color: rgb(51, 102, 153);
    background: rgb(255, 255, 255);
	display: block; 
	width: 100%;
}

.topic a.ekflexmenu_link img,
.topic a.ekflexmenu_link_selected img
{
	padding-bottom: 12px;
}
