/* $Id: nice_menus.css,v 1.27.2.1 2008/07/11 16:05:10 add1sun Exp $ */
/*
  This file contains the basic logic for nice menus, and should not be
  edited.  To customize the menus, it's recommended to create a custom CSS
  file using nice_menus_default.css as a template, then configure the module
  to use your custom CSS file (this is done in the global settings tab of
  the theme administration.)
*/

/* Below should fix menu being a few pixels away in some themes, and menus disappearing behind other stuff. */
div.block-nice_menus {
	width: auto;
	float: left;
	margin-bottom: 0px;
}

.block-nice_menus {
  line-height: normal;
  z-index: 10;
}

.block ul.nice-menu {
	padding: 0;
}

ul.nice-menu,
ul.nice-menu ul {
  z-index: 5;
  position: relative;
  list-style-type: none;
  font-size: 0.90em;
  text-align: left;
  padding-left: 0;
}

ul.nice-menu li {
  width: auto;
  float: left;
  position: relative;
  border-right: #01409E solid 1px; /*  mellomrom mellom menyen*/
  line-height: 25px;
}

ul.nice-menu li:hover {
	color: #FFFFFF;
	background: #000099 url(images/bt_test2m.gif) repeat-x scroll 0 0;
}

ul.nice-menu a {
  display: block;
  padding: 0 20px 0 20px;
  text-decoration: none;
  color: White;
}

ul.nice-menu a:link {
	color: White;
}

ul.nice-menu a:visited {
	color: White;
}

ul.nice-menu a:hover {
	color: #FFE866;
}

ul.nice-menu a:active {
	color: White;
}
ul.nice-menu ul,
/* For Garland header. */
#header-region ul.nice-menu ul {
  position: absolute;
  visibility: hidden;
}

ul.nice-menu li.over ul {
  visibility: visible;
}

ul.nice-menu ul li {
  display: block;
}

ul.nice-menu:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.nice-menu li.menuparent {
	background: url(images/bullet_a.png) no-repeat scroll right center;
}

.nice-menu ul {
	padding: 0;
	border-bottom: #000099 solid 0px;
}

li.menuparent li {
	display: block;
	border-right: #000099 solid 0px;
	border-left: #000099 solid 0px;
	width: 140px;
    height: 25px;
}

ul.nice-menu-right li.menuparent,
ul.nice-menu-right li li.menuparent {
  background: url(images/arrow-right.png) right center no-repeat;
}
/* Show submenus when over their parents. */
ul.nice-menu li:hover ul,
ul.nice-menu li.menuparent li:hover ul,
ul.nice-menu li.menuparent li.menuparent li:hover ul,
ul.nice-menu li.menuparent li.menuparent li.menuparent li:hover ul,
ul.nice-menu li.over ul,
ul.nice-menu li.menuparent li.over ul,
ul.nice-menu li.menuparent li.menuparent li.over ul,
ul.nice-menu li.menuparent li.menuparent li.menuparent li.over ul,
/* Repeat all this stuff just for Garland headers. */
#header-region ul.nice-menu li:hover ul,
#header-region ul.nice-menu li.menuparent li:hover ul,
#header-region ul.nice-menu li.menuparent li.menuparent li:hover ul,
#header-region ul.nice-menu li.over ul,
#header-region ul.nice-menu li.menuparent li.over ul,
#header-region ul.nice-menu li.menuparent li.menuparent li.over ul {
  visibility: visible;
  background: #073677; /* Bakgrunnsfarge */
}

/* Hide sub-menus initially. */
ul.nice-menu li:hover ul ul,
ul.nice-menu li:hover ul ul ul,
ul.nice-menu li:hover li:hover ul ul,
ul.nice-menu li:hover li:hover ul ul ul,
ul.nice-menu li:hover li:hover li:hover ul ul,
ul.nice-menu li:hover li:hover li:hover ul ul ul,
ul.nice-menu li.over ul ul,
ul.nice-menu li.over ul ul ul,
ul.nice-menu li.over li.over ul ul,
ul.nice-menu li.over li.over ul ul ul,
ul.nice-menu li.over li.over li.over ul ul,
ul.nice-menu li.over li.over li.over ul ul ul,
/* Repeat all this stuff just for Garland headers. */
#header-region ul.nice-menu li:hover ul ul,
#header-region ul.nice-menu li:hover ul ul ul,
#header-region ul.nice-menu li:hover li:hover ul ul,
#header-region ul.nice-menu li:hover li:hover ul ul ul,
#header-region ul.nice-menu li:hover li:hover li:hover ul ul,
#header-region ul.nice-menu li:hover li:hover li:hover ul ul ul,
#header-region ul.nice-menu li.over ul ul,
#header-region ul.nice-menu li.over ul ul ul,
#header-region ul.nice-menu li.over li.over ul ul,
#header-region ul.nice-menu li.over li.over ul ul ul,
#header-region ul.nice-menu li.over li.over li.over ul ul,
#header-region ul.nice-menu li.over li.over li.over ul ul ul {
  visibility: hidden;
}

/***************
 IE 6 Fixes
***************/

/* Iframe to fix z-index bug when menu hovers over <select> fields. */
ul.nice-menu li.menuparent ul,
/* For Garland header. */
#header-region ul.nice-menu li.menuparent ul {
	overflow: visible !important;
	/* overflow: hidden; */
}

ul.nice-menu li.menuparent ul iframe,
/* For Garland header. */
#header-region ul.nice-menu li.menuparent ul iframe {
	display: none;
	display/**/: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	filter: mask();
	width: 20px;
	height: 20px;
}

  block-menu-menu-navbar-top > block-inner > content > ul.menu
  {
	  list-style-type: none;
  }

  #navbar-top-wrapper {
  }

  #navbar-top {
	  background: #073677 url(images/bt_testm.gif) repeat-x scroll 0 0;
	  margin-left: 0px;
	  margin-right: 0px;
  }

  #adbar-top-wrapper {
  }

  #adbar-top {
	  padding-top: 1px;
  }

/******************************
HORIZONTAL (downdown) menus
******************************/

ul.nice-menu-downdown {
  width: 140px; /* width of the 1st level menu horizontal line */
  height: auto;
  float: left;
  left: 140px;
  top: 0px
}

ul.nice-menu-downdown li {
  width: 140px;
  display: block;
  text-align: left;
  position: static;
}

ul.nice-menu-downdown ul {
  width: 140px;  /* width of the 2nd level menu horizontal line */
  left: 0em; /* change if you want the 2nd level menu to be shifted to the right/left */
}

ul.nice-menu-downdown ul  li {
  width: 100px;  /* width of each 2nd level list item */
}

ul.nice-menu-downdown ul ul {
  width: 140px;  /* width of the 3rd level menu horizontal line */
  left: 0em; /* change if you want the 3rd level menu to be shifted to the right/left */
  top: 1.8em; /* height of the 2st menu level and also margin after which 3rd level starts */
}

ul.nice-menu-downdown ul  ul li {
  width: 100px;  /* width of each 3rd level list item */
}


ul.nice-menu-downdown li.menuparent,
ul.nice-menu-downdown li li.menuparent {
  background: #eee url(images/arrow-right.png) right center no-repeat;
}

ul.nice-menu-downdown li.menuparent:hover,
ul.nice-menu-downdown li.over,
ul.nice-menu-downdown li li.menuparent:hover,
ul.nice-menu-downdown li li.over {
  background: #ccc url(images/arrow-right.png) right center no-repeat;
}