* {
  margin: 0;
  padding: 0;
}

h1 {
  margin: 0 0 10px 10px;
  font-size: 28px;
  font-weight: bold;
  font-variant: small-caps;
}

h2 {
  margin: 10px 0 8px 10px;
  font-size: 22px;
  font-weight: bold;
  font-variant: small-caps;
  line-height: 1.2em;
}

h3 {
  margin: 10px 0 8px 10px;
  font-size: 20px;
  font-weight: bold;
  font-variant: small-caps;
}

li {
  margin-left: 2em;
}

table {
  border-collapse: collapse;
}

a {
  font-weight: bold;
  color: #008866;
  text-decoration: none;
}

a:hover {
  color: #22aa88;
}

img.tytul {
  margin: 8px 0 0 11px;
}

.wyrozn {
  color: #0022cc;
}

.uwaga {
  color: #ff2222;
}



html {
  scrollbar-base-color: #779977;
}

body {
  background-color: #336644;
  background-color: #779977;
  font-family: "trebuchet ms", sans-serif;
  text-align: center;
}

#ramka {
  width: 900px;
  min-height: 550px;
  margin: 16px auto;
  padding-bottom: 16px;
  border: 2px solid #ffffff;
  background-color: #ccddcc;
  background-image: url(grafika/tlo.jpg);
  background-repeat: no-repeat;
  text-align: left;
}

#ramka-bez-tla {
  width: 900px;
  min-height: 550px;
  margin: 16px auto;
  padding-bottom: 16px;
  border: 2px solid #ffffff;
  background-color: #ccddcc;
  text-align: left;
}



/* Wstępne załadowanie obrazków
body::after {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index:-1;
  content: url(grafika/naglowek/naglowek-1.jpg) url(grafika/naglowek/naglowek-2.jpg) url(grafika/naglowek/naglowek-3.jpg) url(grafika/naglowek/naglowek-4.jpg) url(grafika/naglowek/naglowek-5.jpg);
}
*/

#naglowek {
  height: 200px;
  position: relative;
}

#naglowek1, #naglowek2, #naglowek3, #naglowek4, #naglowek5 {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

#naglowek1 { opacity: 1; }
#naglowek2 { animation: ruch2 30s ease-in-out infinite; }
#naglowek3 { animation: ruch3 30s ease-in-out infinite; }
#naglowek4 { animation: ruch4 30s ease-in-out infinite; }
#naglowek5 { animation: ruch5 30s ease-in-out infinite; }

@keyframes ruch2 {
    0% { opacity: 0; }
   15% { opacity: 0; }
   20% { opacity: 1; }
   40% { opacity: 1; }
   45% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes ruch3 {
    0% { opacity: 0; }
   35% { opacity: 0; }
   40% { opacity: 1; }
   60% { opacity: 1; }
   65% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes ruch4 {
    0% { opacity: 0; }
   55% { opacity: 0; }
   60% { opacity: 1; }
   80% { opacity: 1; }
   85% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes ruch5 {
    0% { opacity: 0; }
   75% { opacity: 0; }
   80% { opacity: 1; }
   95% { opacity: 1; }
  100% { opacity: 0; }
}

/* Metoda prostsza, w 2.2017 działa pod Chromem, pod Firefoxem nie
@keyframes ruch {
    0% { background-image: url(grafika/naglowek/naglowek-1.jpg); }
   15% { background-image: url(grafika/naglowek/naglowek-1.jpg); }
   20% { background-image: url(grafika/naglowek/naglowek-2.jpg); }
   35% { background-image: url(grafika/naglowek/naglowek-2.jpg); }
   40% { background-image: url(grafika/naglowek/naglowek-3.jpg); }
   55% { background-image: url(grafika/naglowek/naglowek-3.jpg); }
   60% { background-image: url(grafika/naglowek/naglowek-4.jpg); }
   75% { background-image: url(grafika/naglowek/naglowek-4.jpg); }
   80% { background-image: url(grafika/naglowek/naglowek-5.jpg); }
   95% { background-image: url(grafika/naglowek/naglowek-5.jpg); }
  100% { background-image: url(grafika/naglowek/naglowek-1.jpg); }
}
*/



#menu {
  width: 220px;
  float: left;
}

#menu ul {
  list-style-type: none;
}

#menu ul li {
  margin: 0 0 10px 0;
  padding: 0 0 0 15px;
  border-bottom: 2px solid #ffffff;
  background-image: url(grafika/naroznik.gif);
  background-repeat: no-repeat;
  background-position: top right;
  font-size: 24px;
  font-variant: small-caps;
}

#menu a {
  font-weight: normal;
  color: #000000;
}

#menu a.wybrana {
  color: #aa2200;
}



#dodatki {
  width: 200px;
  float: right;
  font-size: 14px;
}

#dodatki div.bloczek {
  margin-top: 16px;
}

#dodatki div.tytul {
  padding: 2px 8px;
  border-bottom: 2px solid #ffffff;
  background-color: #779977;
  font-weight: bold;
  color: #ffffff;
}

#dodatki div.tresc {
  padding: 2px 8px 4px;
  border-bottom: 2px solid #ffffff;
  background-color: #bbccbb;
}

#dodatki p {
  font-size: 14px;
}

#dodatki p.odstep {
  margin-top: 6px;
}

#dodatki p.licznik {
  margin: 10px 20px;
  color: #ccddcc;
  text-align: right;
}

#dodatki div.najnowsze p {
  margin-top: 6px;
}

#dodatki div.najnowsze p:first-child {
  margin-top: 0;
}

#dodatki img {
  margin-top: 6px;
  margin-bottom: -2px;
  border-width: 0;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}



#tresc {
  width: 620px;
  margin-left: 240px;
}

#tresc-srodek {
  width: 440px;
  margin-left: 230px;
}

#tresc div.blok,
#tresc-srodek div.blok {
  margin-bottom: 10px;
  padding: 5px 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background-color: #eeeecc;
  background-image: url(grafika/cien-zolty.jpg);
  background-repeat: no-repeat;
  background-position: bottom right;
  font-size: 15px;
  line-height: 1.3em;
}

#tresc p,
#tresc-srodek p,
#tresc ol,
#tresc-srodek ol,
#tresc ul,
#tresc-srodek ul {
  margin-bottom: 6px;
}

#tresc p.podpis {
  margin-right: 50px;
  text-align: right;
}

#tresc img.logo,
#tresc-srodek img.logo {
  float: right;
  margin: 12px 20px;
  border-top: none;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-left: none;
}



#tresc table.rodzaje-zajec {
  margin: 4px 0 8px 0;
}

#tresc table.rodzaje-zajec td {
  padding: 2px 30px 0 16px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.1em;
  vertical-align: top;
}

#tresc table.rodzaje-zajec td.linia {
  border-left: 2px solid #ffffff;
}

#tresc p.zajecia {
  margin: -5px 0 12px 10px;
  font-size: 14px;
}

#tresc p.uwaga {
  color: #ee2233;
}

#tresc p.dopisek {
  margin: 6px 0 0 8px;
  font-size: 14px;
}

#tresc table.zajecia {
  width: 100%;
  margin-bottom: 10px;
}

#tresc table.zajecia td {
  padding: 4px 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background-color: #dfefdf;
  font-size: 14px;
  line-height: 1.1em;
  vertical-align: top;
}

#tresc table.srodek td {
  text-align: center;
  vertical-align: middle;
}

#tresc table.zajecia td.cwierc {
  width: 25%;
}

#tresc table.zajecia tr.naglowek td {
  padding: 6px 8px;
  background-color: #eeeecc;
}



#tresc p.galerie {
  float: right;
  margin-top: 12px;
  font-size: 14px;
}

#tresc table.galerie {
  width: 550px;
}

#tresc table.galerie td {
  padding-bottom: 16px;
  text-align: right;
  line-height: 1.3em;
}

#tresc table.galerie td.zdjecie {
  width: 220px;
  text-align: center;
}

#tresc table.galerie img {
  border-width: 0;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

#tresc table.galerie a {
  font-weight: normal;
  color: #000000;
}

#tresc table.galerie a:hover {
  color: #22aa88;
}

#tresc table.galerie i {
  font-size: 10px;
}



#tresc div.galeria h2 {
  margin-left: 20px;
  font-size: 20px;
  font-variant: normal;
}

#tresc div.galeria h3 {
  margin-left: 20px;
  font-size: 16px;
  font-variant: normal;
}

#tresc div.galeria table {
  margin: 0 0 8px 13px;
}

#tresc div.galeria table td {
  padding: 5px 8px;
  text-align: center;
}

#tresc div.galeria img {
  border-width: 0;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}



#zdjecie img.naglowek {
  margin: 0;
  border-bottom: 2px solid #ffffff;
}

#zdjecie img.zdjecie {
  display: block;
  margin: 4px auto 16px;
  border: 2px solid #ffffff;
}

#zdjecie table {
  width: 100%;
}

#zdjecie td {
  padding: 6px 14px;
  font-size: 14px;
  vertical-align: top;
}

#zdjecie td#nawigacja {
  width: 460px;
  padding-top: 12px;
  font-size: 16px;
  text-align: right;
}

#zdjecie td#nawigacja input {
  width: 90px;
  padding: 2px 0;
  background-color: #eeeecc;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 12px;
}

#zdjecie td#nawigacja input#powrot {
  width: 120px;
  margin-left: 12px;
}



#map {
  width: 590px;
  height: 450px;
  margin: 20px auto;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

#map h1 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  font-variant: small-caps;
  line-height: 1.3em;
}

#map p {
  margin: 10px 0 0 0;
  font-weight: bold;
}



@keyframes ruch-miniatury {
    0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

tr.anim-miniatury td img {
  animation: ruch-miniatury 0.5s ease-out 0s 1 both;
  animation-play-state: paused;
}

tr.anim-miniatury td:nth-child(1) img { animation-delay: 0.25s; }
tr.anim-miniatury td:nth-child(2) img { animation-delay: 0s; }
tr.anim-miniatury td:nth-child(3) img { animation-delay: 0.25s; }

.zyczenia {
  margin: 10px 0 10px 20px;
  font-style: italic;
}