#f1 a, #f2 a, #f3 a, #f4 a{
  text-decoration:none;
}

#f1 dd, #f2 dd, #f3 dd, #f4 dd {
  margin: 0;
}

#f1 dt, #f2 dt, #f3 dt, #f4 dt{
	cursor: pointer;
	margin: 0;
    font-weight: normal;
}

#f1 dt.dt1, #f2 dt.dt1, #f3 dt.dt1, #f4 dt.dt1 {
	cursor: pointer;
	margin: 0;
    font-weight: bold;
}

dt.dtb0 {
	margin: 0;
	cursor: pointer;
}
/* podmenu */
#f1 a:hover, #f1 dt:hover, #f2 a:hover, #f2 dt:hover, #f3 a:hover, #f3 dt:hover, #f4 a:hover, #f4 dt:hover {
  color: black;
}

/* fabryki */
#f1, #f2, #f3, #f4, #f5{
  margin: 0px;
  padding-top: 0px;
  height: 166px;
  float: left;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  line-height: 1.5em;
}

#f1, #f1 a{
  color: #f79239;
}

#f2, #f2 a{
  color: #9dba3b;
}

#f3, #f3 a{
  color: #ada2cf;
}

#f4, #f4 a{
  color: #d4525e;
}


/* rozpychacz linku na fabryce */
div.ff{
  height: 30px;
  width: 90%;
  margin: auto;
  padding-top: 136px;
}

/* tekst na przyciskach-fabrykach */
#f1 dt.dtb0:hover, #f1 dt.dtb0:hover a, #f2 dt.dtb0:hover, #f2 dt.dtb0:hover a, #f3 dt.dtb0:hover, #f3 dt.dtb0:hover a, #f4 dt.dtb0:hover, #f4 dt.dtb0:hover a {
  color: white;
}

#f1 dt.dtb0, #f1 dt.dtb0 a, #f2 dt.dtb0, #f2 dt.dtb0 a, #f3 dt.dtb0, #f3 dt.dtb0 a, #f4 dt.dtb0, #f4 dt.dtb0 a {
  color: gray;
  font-weight: bold;
}

#f1 {
  width: 147px;
}

#f2 {
  width: 146px;
}

#f3 {
  width: 145px;
}

#f4 {
  width: 146px;
}

#f5 {
  width: 138px;
  background-image: url(/images/f5.png);
}


#f1:hover {
  background-image: url(/images/f1h.png);
}

#f1{
  background-image: url(/images/f1.png);
}

#f2:hover {
  background-image: url(/images/f2h.png);
}
#f2{
  background-image: url(/images/f2.png);
}

#f3:hover {
  background-image: url(/images/f3h.png);
}
#f3{
  background-image: url(/images/f3.png);
}

#f4:hover {
  background-image: url(/images/f4h.png);
}
#f4{
  background-image: url(/images/f4.png);
}





