/*************************************************************************
* This is the SKIN style definition for the CSS menu.                    *
* Feel free to customize this section.                                   *
*************************************************************************/

/*
 * Menu container settings
 * Applies to the first level menu container
 */
.master_menu {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 14px;
 	font-weight: bold;
}

/*
 * Menu container settings
 * Applies to second (or more) level menu containers
 */
.master_menu ul {
	border: 1px solid #afafaf;
	}

/*
 * Menu items settings
 * Applies to all menu items in all menu containers
 */
.master_menu li {
	border: none none;
	margin: 0px ;
	background: url(../images/menu_bg.gif) no-repeat right top;
}

/*
 * Menu items settings
 * Applies to second (or more) level menu items
 */
.master_menu ul li {
	background-image: none;
	background-color: #E0E0E0;
 	width: 162px;
 	border: none;
}

/*
 * Menu link settings
 * Applies to links that are to be found within the menu items, no matter the menu level
 */
.master_menu a {
	text-decoration: none;
	color: #000000;
	line-height: 29px;
	padding: 0px 12px 0px 12px;
	/*border-top: solid 1px #ffffff;*/
	/*border-bottom: solid 1px #c0c0c0;*/
	cursor: pointer;
}

/*
 * Menu link settings
 * Applies to links located in the second (or more) level menu items
 */
.master_menu ul a {
 	border: none;
 	border-bottom: 1px solid silver;
 	color: #215CAB;
	line-height: 14px;
	padding: 4px 4px 4px 6px ;
}

/***************************************************************************
* In this section, we will define what happens when mouse-overing an item  *
***************************************************************************/
/*
 * Mouse over on menu items
 * Applies to all menu items in all menu containers
 */
.master_menu li.hover {
	background-position: 0px 0px !important;
	background: url(../images/menu_bg.gif) no-repeat right top;
}
  
/*
 * Mouse over on menu items
 * Applies to second (or more) level menu items
 */
.master_menu ul li.hover {
  	background-color: #215CAB;
  	background-image: none;
}

/*
 * Mouse over on links
 * Applies to all links in all menu items
 */
.master_menu a.hover {
	color: #0099FF;
	background: url(../images/menu_bg.gif) no-repeat right top;
}

/*
 * Mouse over on links
 * Applies to links located in the second (or more) level menu items
 */
.master_menu ul a.hover {
  	color: #FFFFFF !important;
	background-image: none;
}
/*****************************************************************************
* In this section, we will define what happens when a menu item is selected  *
*****************************************************************************/
/*
 * Selected menu item
 * Applies to selected menu items in all menu containers
 */
.master_menu li.selected {
	background-position: 0px 0px;
	background-position: right top;
}

/*
 * Selected menu item
 * Applies to second (or more) level selected menu items
 */
.master_menu ul li.selected {
}

/*
 * Selected links
 * Applies to selected links in all menu items
 */
.master_menu a.selected {
	color: #0099FF;
}

/*
 * Selected links
 * Applies to selected links located in the second (or more) level menu items
 */
.master_menu ul a.selected {
	color: #555555;
}
/******************************************************************************
* In this section, we will define the menu arrows behavior                    *
* An arrow is inserted next to the menu item when the menu item has sub-menus *
******************************************************************************/

/* 
 * Define the arrow
 * Applies to all menu items that have sub-menus
 */
.master_menu .arrow {
	/*background-image: url(img/arrow.gif);*/
	background-repeat: no-repeat;
	background-position: right center;
}

/* 
 * Define the arrow
 * Applies to all menu items that have sub-menus located in the second (or more) level
 */
.master_menu .hover ul .arrow,
.master_menu ul .arrow {
	/*background-image: url(img/arrow.gif);*/
	background-repeat: no-repeat;
	background-position: right center;
}

/* 
 * Define the arrow on mouse over
 * Applies to all menu items that have sub-menus on mouse over
 */
.master_menu .hover .arrow {
	/*background-image: url(img/arrow_hover.gif);*/
}

/* 
 * Define the arrow on mouse over
 * Applies to all menu items that have sub-menus located in the second (or more) level on mouse over
 */
.master_menu ul .hover .arrow {
	background-image: url(../images/arrow.gif);
}

/*************************************************************************
* This is the LAYOUT style definition for the CSS menu                   *
* DO NOT alter this section, unless you know what you're doing           *
*************************************************************************/
div.horizontal {
	clear: both;
}
div.horizontal br {
	clear: both;
}
div.horizontal ul {
	margin: 0px;
	padding: 0px;
	display: block;
	float: left;
	clear: both;
}
div.horizontal li {
	list-style-type: none;
	display: block;
	float: left;
	clear: none;
	text-align: left;
    position: static;
}
div.horizontal li img {
	border: none;
}
div.horizontal a {
	clear: both;
	display: block;
	margin: 0px;
}
div.horizontal ul li ul {
	position: absolute;
	left: -5000px;
	top: -5000px;
	visibility: hidden;
	clear: both; 
}
div.horizontal ul li ul li {
	clear: both; 
}
div.horizontal ul li ul li a {
	clear: both;
}
.hasImg,
.hasImg a {
	padding: 0px !important;
	margin:	0px	!important;
	border:	none !important;
	outline: none !important;
	background:	transparent !important;
	width: auto !important;
}
