@charset "UTF-8";

/*******************************************************************************

 LAYOUT INFORMATION: describes box model, positioning, z-order

 *******************************************************************************/

/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	font-size: 11px;
	cursor: default;
	width: auto;
	background-color:#013A58;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
	z-index: 1000;
}
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	font-size: 11px;
	position: relative;
	cursor: pointer;
	width: 110px;
	line-height:1.0;
	float: left;
	z-index: 4;
	/*left: 316px;
	top: 264px;*/



}

ul.MenuBarHorizontal li a, ul.MenuBarHorizontal li a:visited
{
	font-weight: normal;
}
ul.MenuBarHorizontal li a:hover
{
	font-weight: normal;
}


/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-100em) */
ul.MenuBarHorizontal ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	z-index: 1020;
	cursor: default;
	/*height: 28px;*/
	width: 12.0em;
	/*width: 100%;*/
	position: absolute;
	left: -100em;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
	left: auto;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li {
	/*width: 10.0em;*/
	width:12.0em;
	/*width: 100%;*/
	background-color:#FFFFFF;
	border-top: 1px solid #013A58;
	color: #013A58;
}

ul.MenuBarHorizontal ul:hover li:hover ul:focus li:focus
{
	/*width: 10.0em;*/
	width:12.0em;
	/*width:auto;*/
	background-color:#013A58;
	border-top: 1px solid #013A58;
	/*color:#ffffff;*/
}


/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
{
	position: absolute;
	margin: -5% 0 0 100%;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
	left: auto;
	top: 0;
}

/*******************************************************************************

 DESIGN INFORMATION: describes color scheme, borders, fonts

 *******************************************************************************/

/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
{
	border-top: 0px solid #013A58;
	border-right: 1px solid #013A58;
	border-bottom: 1px solid #013A58;
	border-left: 1px solid #013A58;
	width: 12em;
	background-color: #FFF;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a, ul.MenuBarHorizontal a:visited
{
	/*border-top: 0px none #013A58;*/
	display: block;
	cursor: pointer;
	/*height: 27px;*/
	/*background-color: #013A58;*/
	padding: 0.4em 0.4em 0.4em 1.2em;
	margin: 0.0em 0.0em 0.0em 0.0em;
	/*color: #000000;*/
	text-decoration: none;
	vertical-align: middle;
	/*text-align: center;*/
	font-weight: normal;
	white-space: nowrap;
}

ul.MenuBarHorizontal ul li a, ul.MenuBarHorizontal ul li a:visited {
	color: #000000;
	text-align: left;
	font-weigth: normal;
}

/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus, ul.MenuBarHorizontal ul li a:hover
{
	background-color: #013A58;
	color: #fff;
	font-weigth: normal;
	text-decoration: none;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
{
	/*background-color: #ffffff;*/
	color: #FFF;
	text-decoration: none;
}

/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
{
	background-image: url(valikkovaempaan2.gif);
	background-repeat: no-repeat;
	background-position: 0% 100%;
	color: #ffffff;
}
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
{
	background-image: url(valikkovaempaan2.gif);
	background-repeat: no-repeat;
	background-position: 0% 100%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
{
	background-image: url(valikkovaempaan2.gif);
	background-repeat: no-repeat;
	background-position: 0% 100%;
}
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
{
	background-image: url(SpryMenuBarRightHover.gif);
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
/******************************************************************************
  OMAT TYYLIT
 *****************************************************************************/
#ylavalikko.MenuBarHorizontal {
	display:inline;
	f\loat: left;
}
#ylavalikko a{
	/*background-color:#FF6A22;*/
	color: #ffffff;
	/*font-weight: 500;*/
	padding: 3px 13px 3px 13px;
}

#ylavalikko ul{
	/*display:inline; */
	width:auto;
	background-color:#013A58;
	padding: 0 3px 0 3px;
}
#ylavalikko li{
	/*display:inline; */
	width:auto;
	background-color:#013A58;
	padding: 0 3px 0 3px;
	border-left: 1px solid #ffffff; 
	text-align:center;
}


#ylavalikko ul li a{
	background-color:#FFA87D;
}
#ylavalikko ul li ul li a{
	background-color:#FFCEB7;
}



/*******************************************************************************

 BROWSER HACKS: the hacks below should not be changed unless you are an expert

 *******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
{
	position: absolute;
	z-index: 1010;
	Filter: Alpha(Opacity=0);
}
/*#valikko iframe
{
	position: absolute;
	z-index: 1010;
	Filter: Alpha(Opacity=100);
	visibility:none;
}*/
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
 /* ei otettu pois testausta varten */
	ul.MenuBarHorizontal li.MenuBarItemIE
	{
		display: inline;
		f\loat: left;
		background: #FFF;
	}
}
