﻿/* HORIZONTAL MENU LAYOUT */

#header {
/*
 background-image: url(../images/header2.jpg);
 background-repeat:no-repeat;

 height:115px;
 vertical-align:bottom;
*/
}

#menu_horizontal {
/* margin-top:10px; */
 padding-top:20px;

/* padding-left:5px; */
/* border-top:1px solid red;*/
  
}

/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
 font-size:12px;
/* font-family:Century Gothic, Verdana, Tahoma, Arial, Sans-serif; */
/* font-weight:bold; */
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;

 top:22px;
/* left: -1px; */
/* width: 155px; */

 font-size:0.9em;
 font-weight:normal;
 
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: 0px; margin-top: 0px;
 left: 155px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
 float: left;
 display: block;
 position: relative;

/* border-right: 1px solid #99bcda; */

/*
 background-image: url(../images/menu_button.gif);
 background-repeat:no-repeat;
*/

 margin-right:-1px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 clear:both;
 float: none;

 background:none;
 margin: 0;
 margin-top:-1px;
/* border: 1px solid #99bcda; */
}













/* default link color */
#menu_horizontal a {
 color: #000000;
 background: #F6FAFD;

 padding-top:3px;
 padding-bottom:3px;
 
}

/* Links inside the menu */
.menulist li a {
 display: block;

 text-decoration: none;
/* width: 120px; /* najlepiej okresla szerokosc elementu menu - cross browser */
 
/* text-align:center; */
 padding-left:16px;
 padding-right:16px;

 border:solid 1px #0095DA;
}

/* links in submenus */
.menulist ul li a {
 width: 155px;
 padding-left:7px;
 padding-right:0px;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
#menu_horizontal a:hover, #menu_horizontal a.highlighted:hover, #menu_horizontal a:focus {
 color:#ffffff;
 background: #0095DA;
}
#menu_horizontal a.highlighted {
 color:#ffffff;
 background: #0095DA;
}















/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display: none;
}
.menulist ul a .subind {
 display: block;
 float: right;
}


/* ---------------- HACKS --------------- */

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist ul li {
 float: left;
 width: 100%;
}

* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}

/* Mozilla fix */
.menulist ul>li:last-child {
 margin-bottom: 1px;
}

/* End Hacks */