#body h1 {color: red;font-size: 1.4em;}
#body h2 {color: red;font-size: 1.2em;font-weight: normal;}


/*naglowek*/
#header em{text-align: center;} 
#header em{display:none;}
#header a.pl {background-image: url(../img/pic/fuw_pl.jpg);}
#header a.en {background-image: url(../img/pic/fuw_en.jpg);}
#header a {margin: 0 auto; display:block; background-repeat:no-repeat; background-position:center center; width: 768px; height: 123px;}

/*menu*/
#menu{position:absolute;top:0;left:0;height:29px;border-top:1px solid white;
      width:100%;background:url(../img/pic/menu.png) repeat-x #797;min-width:768px}
#menu ul{margin:0 auto;padding: 1px 4em;width:768px;list-style:none}
#menu li{list-style:none;float:left;height:29px;line-height:29px;overflow:hidden;}

/*menu jezykowe*/

#menu em{text-align: center;}
#menu em{display:none;}
#menu li.en a {margin: 0 auto; display:block;background: url(../img/icon/en.gif) no-repeat center; width: 27px; height: 14px;}
#menu li.pl a {margin: 0 auto; display:block;background: url(../img/icon/pl.gif) no-repeat center; width: 27px; height: 14px;}

#menu li.en{float:right; margin-right:-1ex; margin-left: 1ex;} 
#menu li.pl{float:right; margin-right:-1ex; margin-left: 1ex;}
 
#menu li.about{float:right; margin-right:-1ex; margin-left: 1ex;} 
#menu li.cl{margin-left:1ex;}
#menu li.link{float:right;margin-right:-1ex;margin-left:1ex;}
#menu li.ent+li{margin-right:-1ex}
#menu li a{color:white;padding:0.5em 1ex;text-decoration:none;height:29px;line-height:29px;
           border:transparent solid;border-width:0 1px;text-shadow:#141 0 1px 4px}
#menu li.item a:hover{background:#686;border-color:#565;text-shadow:black 0 1px 2px}

/*podmenu pierwszego zagłębienia*/


#menu li ul {display:none;list-style:none;overflow:hidden;}
#menu li ul li {float:none;width:180px;background:url(../img/pic/menu.png) repeat-x #797;
                margin-left:-4em;/*padding:0;*/}
#menu li ul li a {display:block;font-size: 0.9em;line-height:18px; width:180px;}
#menu ul li.scroll:hover ul{display:block;position:absolute; top:27px;}

/*trzymanie zapalonego menu głównego
#menu li.item a:hover li#sc a{background:#686;border-color:#565;text-shadow:black 0 1px 2px}
*/

/*jezykowe*/
/*#menu li.en a:hover{}*/


/*identyfikatory pierwszego zagłębienia*/
.page-Main #menu li.ent a{color:yellow;}
   .page-Main #menu li.sub a{color:white;}


.page-Science #menu li.sc a{color:yellow;}
   .page-Science #menu li.sub a{color:white;}

.page-Lectures #menu li.cl a{color:yellow;}
   .page-Lectures #menu li.sub a{color:white;}
  
.page-Photo #menu li.photo a{color:yellow;}
   .page-Photo #menu li.sub a{color:white;}

.page-About #menu li.about a{color:yellow;}
.page-Contact #menu li.link a{color:yellow;}
/**/
/*kolejne stopnie*/

.Analysis2 #menu li.cl_an a{color:yellow;}
.Analysis3 #menu li.cl_an3 a{color:yellow;}
.Solids #menu li.cl_sol a{color:yellow;}
.Mathematics2 #menu li.cl_mat2 a{color:yellow;}
.PM #menu li.ent_pm a{color:yellow;}
.JSciDraw #menu li.cl_jsci a{color:yellow;}



