.chromestyle{
width: 99%;

}

.chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}

.chromestyle ul{
width: 100%; overflow:hidden;
padding:0;
margin: 0 0 0 20px;
text-align: center; /*set value to "left", "center", or "right"*/
}

.chromestyle ul li{
display: inline;
}

.chromestyle ul li a{
color:#fff;
margin: 0;
text-decoration: none;
float:left;
display:block;
height:43px;
}
.chromestyle ul li a:hover{
text-decoration:underline; color:#fff;
}

.chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
}

/* ######### Style for Drop Down Menu ######### */

.dropmenudiv{
position:absolute;
top: 0;
border-right: 1px solid #BBB;
border-left: none;
border-bottom: 1px solid #BBB;
line-height:14px;
z-index:900;
background-color: white;
width:234px;
overflow:hidden;
visibility: hidden;
margin-top:-4px; 
filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=4); /*Add Shadow in IE. Remove if desired*/
}

*html .dropmenudiv {margin-left:1px;}
#dropmenu1 {width:914px; margin-left:2px;}
*html #dropmenu1 {width:914px; margin-left:3px;}

.dropmenudiv a{
width: auto;
display: block;
text-indent: 3px;
padding: 2px 0;
text-decoration: none;
color: black;
}

* html .dropmenudiv a{ /*IE only hack*/
width: 100%;
}

.dropmenudiv a:hover{ /*THEME CHANGE HERE*/

}


.m_tab1 {width:172px;}
.m_tab2 {width:158px;}
.m_tab3 {width:170px;}
.m_tab4 {width:144px;}

.m_tab1 a {width:172px;}
.m_tab2 a {width:158px;}
.m_tab3 a {width:170px;}
.m_tab4 a {width:144px;}


.chromestyle ul li.m_tab1 a
 { background:url(../img/m_bg.gif) 0 0 no-repeat;}
.chromestyle ul li.m_tab1 a:hover, .chromestyle ul li.m_tab1 a.selected
 { background:url(../img/m_bg.gif) 0 -43px no-repeat;}
 
 .chromestyle ul li.m_tab2 a
 { background:url(../img/m_bg.gif) -172px 0 no-repeat;}
 .chromestyle ul li.m_tab2 a:hover, .chromestyle ul li.m_tab2 a.selected
 { background:url(../img/m_bg.gif) -172px -43px no-repeat;}

 .chromestyle ul li.m_tab3 a
 { background:url(../img/m_bg.gif) -330px 0;}
 .chromestyle ul li.m_tab3 a:hover, .chromestyle ul li.m_tab3 a.selected
 { background:url(../img/m_bg.gif) -330px -43px;}
 
  .chromestyle ul li.m_tab4 a
 { background:url(../img/m_bg.gif) -500px 0;}
 .chromestyle ul li.m_tab4 a:hover, .chromestyle ul li.m_tab4 a.selected
 { background:url(../img/m_bg.gif) -500px -43px;}
 
 .dropmenudiv ul {width:214px; overflow:hidden; margin:0 0 0 12px;}
*html .dropmenudiv ul {margin:0 0 0 5px;}
.dropmenudiv h3 {font-size:1em; color:#435776; margin:12px 0 6px 0;}
.dropmenudiv li {margin:0; padding:0;}
.dropmenudiv li a {background:url(../img/km_menu_a_bg.gif) left no-repeat; padding-left:14px; display:block; color:#435776;}
.dropmenudiv li a:hover {text-decoration:underline;}

*html .dropmenudiv ul li {margin:0; padding:0; height:12px;}


.m_ramka {border:4px solid #334263; overflow:hidden; margin:0 1px 1px 1px; padding-bottom:10px;}
*html .m_ramka {float:left; margin:0 0 0 0; width:auto; width:256px; }
*html #dropmenu2 .m_ramka {float:left; margin:0 0 0 0; width:auto; width:262px; }
*html #dropmenu3 .m_ramka {float:left; margin:0 0 0 0; width:auto; width:226px; }
*html #dropmenu4 .m_ramka {float:left; margin:0 0 0 0; width:auto; width:226px; }

.m_ramka1 {border:4px solid #334263; overflow:hidden; margin:0 1px 1px 1px; padding-bottom:10px;}
*html .m_ramka1 {float:left; margin:0 0 0 0; width:auto; width:906px;}
.m_ramka1 li a {margin:0 0 0 0; padding:0 0 0 8px;}
.m_ramka1 h3 {margin-bottom:3px;}
.m_ramka1 ul {margin-bottom:5px;}



#km_submenu {clear:both;
float:left;
margin:-3px 0pt 0pt 32px;
overflow:hidden;
width:522px;}
*html #km_submenu {margin: -3px 0 0 18px; }
#km_submenu ul {overflow:hidden;}
#km_submenu li {float:left; background:url(../img/km_submenu_sep.gif) right no-repeat;}
#km_submenu a {color:#2e3751; text-decoration:none; display:block; margin:0 8px 0 8px; padding:6px 0 5px 0;}

#km_submenu a:hover {text-decoration:underline;}
#km_submenu li.last {background:none; margin:0; padding:0;}
#km_submenu li.wiecej_dzialow {border:0; }


#chromemenu2 {background:url(../img/km_menu_wiecej_dzialow.gif) repeat-x; float:right; 
width:98px; height:21px; margin:0 347px 0 0; padding:0 0 0 0;}
#chromemenu2 ul, #chromemenu2 li {margin:0; padding:0;}
#chromemenu2 li.wiecej_dzialow a {
width:88px; background:url(../img/km_menu_wiecej_dzialow_arr.gif) right no-repeat; 
padding-right:12px; display:block;color:#2e3751; padding:3px 3px 0 0; margin:0; height:21px;}
#chromemenu2 ul, #chromemenu2 li {margin:0; padding:0;}

#dropmenu99 {margin-top:-4px; border-left:0; padding:0; background:#f4f5f7 url(../img/wiecej_dzialow_bg.gif) left top no-repeat; margin-left:0;}
*html #dropmenu99 {margin-top:0;}

#dropmenu99 ul {overflow:hidden; padding:8px 0 8px 0;}