/* Special styles for the main menu */
a.droplink {} /* applied directly to the drop down menu text */
.main_menu_text {font-weight:bold} /* applied directly to the top level main menu text*/
#main_current {background-color:#011C77;color:white} /* applied to the current main menu item */


/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	line-height:	1.0;
	margin:		0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
	border:solid <tv_mainmenu_dropdownmenu_border_color> 1px;   /* adds a border around the entire drop down menu */
}

/* These to options control the right margin on the main menu items for spacing */
.sf-menu li {margin-right:<tv_mainmenu_itemspacing>px}
.sf-menu li li {margin-right:0}

.sf-menu ul li {
	width:			100%;
	margin-left:	-0px;
}
.sf-menu li:hover {
	visibility:		inherit;
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			23px; /* top offset for the drop down menu to match with mainmenu height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sf-menu li {
	background:		<tv_mainmenu_background_color>;	/* Main menu background color */
	xmargin-right:15px;	/* add some margin to the right of each item to give it some more space */
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			<tv_mainmenu_foreground_color>;
}
.sf-menu {
	float:		left;
	margin-bottom:	1em;
	margin:		0;
	padding:0;
}
.sf-menu a {
	border-left:	0px solid #fff;
	border-top:	0px solid #CFDEFF;
        padding: 	6px 6px;
	text-decoration:none;
	font-family: 	arial;
	font-size:	<tv_mainmenu_fontsize>px;
}

.sf-menu li li {
	background:		<tv_mainmenu_dropdownmenu_background_color>; 
	left-margin:-10px;
}
.sf-menu li li li {
	background:		<tv_mainmenu_dropdownmenu_background_color>;
}

/* Left padding for the drop down items */
/*
.sf-menu li li a {
	padding-left:7px;
}
.sf-menu li li li a {
	padding-left:7px;
}
*/

/* hover for the main menu */
.main_item:hover {
	background:		<tv_mainmenu_hover_background_color>;	
	color: 			<tv_mainmenu_hover_foreground_color>;
	outline:		0;
}

/* hover for the drop down menu*/
.droplink:hover {
	background:		<tv_Mainmenu_Hover_Background_Color>;
	color: 			<tv_mainmenu_hover_foreground_color>;
	outline:		0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	margin-top: 	-3px;		/* used position the main menu arrow vertically based on the height of the menu */
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('images/arrows.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('../images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}


/******************************************************* VERTICAL MENU STYLING *******************************************************/
/*** ESSENTIAL STYLES ***/
.sf-vmenu, .sf-vmenu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-vmenu {
	line-height:	1.0;
	margin:		0;
}
.sf-vmenu ul {
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
	border:solid <tv_mainmenu_dropdownmenu_border_color> 1px;   /* adds a border around the entire drop down menu */
}
.sf-vmenu ul li {
	width:			100%;
	margin-left:	-0px;
}
.sf-vmenu li:hover {
	visibility:		inherit;
}
.sf-vmenu li {
	float:			left;
	position:		relative;
}
.sf-vmenu a {
	display:		block;
	position:		relative;
}
.sf-vmenu li:hover ul,
.sf-vmenu li.sfHover ul {
	left:			0;
	top:			24px; /* top offset for the drop down menu to match with mainmenu height */
	z-index:		99;
}
ul.sf-vmenu li:hover li ul,
ul.sf-vmenu li.sfHover li ul {
	top:			-999em;
}
ul.sf-vmenu li li:hover ul,
ul.sf-vmenu li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.sf-vmenu li li:hover li ul,
ul.sf-vmenu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-vmenu li li li:hover ul,
ul.sf-vmenu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sf-vmenu li {
	background:		<tv_vertical_mainmenu_background_color>;	/* Main menu background color */
}
.sf-vmenu a, .sf-vmenu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			<tv_vertical_mainmenu_foreground_color>;
}
.sf-vmenu {
	float:			left;
	margin-bottom:	1em;
	margin:			0;
	padding:0;
}
.sf-vmenu a {
        /*border not needed if using image rollovers */
	xxxborder-left:	1px solid #fff;
	xxxborder-top:		1px solid #CFDEFF;
	padding-top: 		6px;
	padding-bottom: 	6px;
	padding-left:	7px;
	text-decoration:none;
	font-family: 	arial;
	font-size:		11px;
}


/* potential background color for drop down menus if un-comented

.sf-vmenu li li {
	background:		#AABDE6;
}
.sf-vmenu li li li {
	background:		#9AAEDB;
}

*/

.sf-vmenu li:hover, .sf-vmenu li.sfHover,
.sf-vmenu a:focus, .sf-vmenu a:hover, .sf-vmenu a:active {
	background:		<tv_vertical_dropdownmenu_hover_background_color>;	/* hover background/foreground color */
	color: 			<tv_vertical_dropdownmenu_hover_foreground_color>;
	outline:		0;
}

/*** arrows **/
/*
.sf-vmenu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
*/
.sf-sub-indicator {
	margin-top: 	-3px;		/* used position the main menu arrow vertically based on the height of the menu */
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('images/arrows.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-vmenu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-vmenu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-vmenu ul a:focus > .sf-sub-indicator,
.sf-vmenu ul a:hover > .sf-sub-indicator,
.sf-vmenu ul a:active > .sf-sub-indicator,
.sf-vmenu ul li:hover > a > .sf-sub-indicator,
.sf-vmenu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('../images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}
