body {
  font-family: Arial;
  background: #dddbdb;
  color: #0c0674;
  font-size: 12px;
}

#main_top {
  background: #ececec;
  width: 100%;
  height: 285px;
}

#top {
  width: 800px;
  margin: auto;
}

#logo {
  width: 345px;
  height: 106px;
  display: block;
  float: left;
}

#topprawa {
  float: right;
  background-image: url('../img/topprawa.png');
  width: 455px;
  height: 285px;
  display: block;
}

#toplewa {
  float: left;
  background-image: url('../img/toplewa.png');
  width: 345px;
  height: 179px;
  display: block;
}

#mainpage {
  width: 700px;
  margin: auto;
  background-image: url('../img/bg.png');
  background-repeat: repeat-x;

}

#menu {
  width: 700px;
  height: 26px;
  display: block;
}

ul.menu, ul.menu li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;

}

ul.menu {
	float: left;
	}

ul.menu li {
	float: left;

}

ul.menu li.li1 {
  width: 89px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) no-repeat;
}

ul.menu li.li2 {
  width: 35px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -197px 0px no-repeat;
}

ul.menu li.li3 {
  width: 30px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -288px 0px no-repeat;
}

ul.menu li.li4 {
  width: 34px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -406px 0px no-repeat;
}

ul.menu li.li5 {
  width: 33px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -503px 0px no-repeat;
}

ul.menu li.li6 {
  width: 98px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -602px 0px no-repeat;
}

ul.menu li a.ahome {
  width: 108px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -89px 0px no-repeat;
}

ul.menu li a.ahome:hover, ul.menu li a.active {
  width: 108px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -89px -26px no-repeat;
}
ul.menu li a.amy {
  width: 56px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -232px 0px no-repeat;
}

ul.menu li a.amy:hover, ul.menu li a.activemy {
  width: 56px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -232px -26px no-repeat;
}
ul.menu li a.anews {
  width: 88px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -318px 0px no-repeat;
}

ul.menu li a.anews:hover, ul.menu li a.activenews {
  width: 88px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -318px -26px no-repeat;
}
ul.menu li a.agaleria {
  width: 63px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -440px 0px no-repeat;
}

ul.menu li a.agaleria:hover, ul.menu li a.activegal {
  width: 63px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -440px -26px no-repeat;
}
ul.menu li a.akontakt {
  width: 66px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -536px 0px no-repeat;
}

ul.menu li a.akontakt:hover, ul.menu li a.activekontakt {
  width: 66px;
  height: 26px;
  display: block;
  background: url(../img/menu.png) -536px -26px no-repeat;
}

#page {
  padding-top: 16px;
}

#tresc {
  float: left;
  width: 485px;
}

#infoprawa {
  width: 215px;
  float: right;
  margin-bottom: 0px;
}

#infotext {
  background-image: url('../img/bginfo.png');
  margin-bottom: 0px;
  color: #0c0674;
  font-family: Arial;
  font-size: 12px;
  text-align: center;
  line-height: 15px;
  padding-bottom: 10px;
  margin-bottom: -5px;
}

#stopka {
  margin-top: 30px;
  clear: both;
  width: 700px;
  height: 23px;
  display: block;
  background-image: url('../img/stopka.png');
  float: left;
  color: #ffffff;
  font-family: Arial;
  font-size: 11px;
  margin-bottom: 10px;
}

#stopka div.lewa {
  margin-left: 13px;
  margin-top: 6px;
  float: left;
}

#stopka div.prawa {
  margin-top: 6px;
  margin-right: 13px;
  float: right;
}

ul.stopka, ul.stopka li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;

}

ul.stopka {
	float: left;
	}

ul.stopka li {
	float: left;
	margin-left: 5px;
}

#stopka ul.stopka a {
  color: #ffffff;
  text-decoration: none;
}

#stopka ul.stopka a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#text {
  line-height: 1.5em;
  float: left;
  margin-right: 20px;
}

#a1 {
    margin-top: 15px;
    width: 700px;
    height: 37px;
    background-image: url('../img/a1.png');
    float: left;
}

#a2 {
    width: 685px;
    background-image: url('../img/a2.png');
    float: left;
    padding-left: 15px;
    line-height: 1.5em;
  float: left;
  margin-right: 20px;
}

#a3 {
    width: 700px;
    height: 16px;
    background-image: url('../img/a3.png');
    float: left;
}

input {
    background: #ececec;
    border: 1px solid #bab8ca;
    width: 400px;
    height: 20px;
    margin-bottom: 10px;
}

textarea {
    background: #ececec;
    border: 1px solid #bab8ca;
    width: 400px;
    height: 200px;
}

#button_save, #button_login {
    margin-top: 10px;
    height: 25px;
    width: 100px;
    color: #0c0674;
}

#button_login {
    margin-top: 0px;
}

dt {
    margin-bottom: 3px;
    
}

ul.errors li {
    margin-top: -9px;
    margin-bottom: 10px;
    color: red;
    font-size: 10px;
}

div.buttonBg {
    cursor: pointer;
}

#text span.title {

    font-size:13px;
    font-weight: bold;
}

#text span.date {

    font-size:11px;

}

#text span.text {

    font-size:12px;

}

ul.galery, ul.galery li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;

}

ul.galery {
	float: left;
	}

ul.galery li {
	float: left;
    width: 110px;
    height: 82px;
    margin-right: 5px;
   text-align: center;
   
   margin-top: 5px;
}

