* { margin: 0; padding: 0; }
body { font: 12px arial; background: url(../lay-gfx/body.jpg); behavior:url(js/csshover.htc); }
img { border: none; }
ul { list-style-type: none; }
a { text-decoration: none; color: black; }
p { text-align: justify; }
.clr { clear: both; font-size: 1px; height: 1px; overflow: hidden; }
#menu-a11y { position: absolute; text-indent: -9999px; overflow: hidden; }

h1 { width: 978px; height: 119px; text-indent: -9999px; overflow: hidden; }
.cmsgrey h1 { background: none; width: 300px}

textarea,input.text{padding:0.1em 5px 0.1em;}
input.text{height:1.25em;}
input,select,textarea{font:1em/1.4 Arial,sans-serif;}

#wrap { width: 946px; margin: 0 0 0 32px; }



#archive-art-x2 table td, #archive-art-x2 table td p, #archive-art-x2 table td span {
font-size: 11px
}

#archive-art-x2 table td p {
display: inline;
}

#archive-art-x2 table td {
padding-left: 3px;
padding-right: 3px;
}


#archive-art-x2 table {
width: 392px;
}

h2.strona { background: url(../lay-gfx/red/header1.jpg) no-repeat; color: white; font-size: 14px; line-height: 27px; text-align: center; margin-bottom: 10px;}
h2.strona b { background: url(../lay-gfx/red/header3.jpg) no-repeat 100% 0; margin-left: 4px; display: block; }
h2.strona i { background: url(../lay-gfx/red/header2.jpg) repeat-x; margin-right: 4px; display: block; height: 27px; }



/* ------------------------------------------------------------------------------ */

#top { height: 97px; position: relative; }

#top-menu { float: left; display: inline; width: 550px; height: 67px; margin-left: 20px; position: relative; }
#top-menu li { float: left; padding-right: 1px; }
#top-menu li a { float: left; display: block; height: 40px; line-height: 40px; color: white; font-style: italic; text-transform: uppercase; background: url(../lay-gfx/menu1.gif) no-repeat; cursor: pointer; }
#top-menu li a b { float: left; background: url(../lay-gfx/menu2.gif) 100% 0 no-repeat; padding: 0 9px 0 5px; margin-left: 4px; }
#top-menu ul li div { display: inline; }

#top-menu ul li a { background-image: url(../lay-gfx/menu1.gif); }
#top-menu ul li a b { background-image: url(../lay-gfx/menu2.gif); }
#top-menu ul:hover li.active a { background-image: url(../lay-gfx/menu1.gif); }
#top-menu ul:hover li.active a b { background-image: url(../lay-gfx/menu2.gif); }

#top-menu li ul, #top-menu ul:hover li ul, #top-menu ul:hover li.active ul { display: none; }
#top-menu ul:hover li.white:hover ul, #top-menu ul:hover li.green:hover ul, #top-menu ul:hover li.yellow:hover ul, #top-menu ul:hover li.yellow2:hover ul, #top-menu ul:hover li.red:hover ul, #top-menu ul li.active ul { display: inline; }

#top-menu li ul { position: absolute; left: -20px; top: 40px; padding: 5px 0 0 20px; width: 926px; height: 35px; }
#top-menu li.white ul { background: url(../lay-gfx/white/menubar.jpg) no-repeat; }
#top-menu li.green ul { background: url(../lay-gfx/green/menubar.jpg) no-repeat; }
#top-menu li.yellow ul { background: url(../lay-gfx/yellow/menubar.jpg) no-repeat; }
#top-menu li.yellow2 ul { background: url(../lay-gfx/yellow/menubar.jpg) no-repeat; }
#top-menu li.red ul { background: url(../lay-gfx/red/menubar.jpg) no-repeat; }

#top-menu li li { margin-right: 10px; padding-right: 10px; }
#top-menu li li.last { margin-right: 0; padding-right: 0; border-right: none !important; }
#top-menu li li a { float: none; display: inline; height: 18px; line-height: 18px; color: white !important; font-style: normal; text-transform: none; background: none !important; cursor: pointer; }
#top-menu li li a b { float: none; background: none; padding: 0; margin: 0; }

#top-menu ul li a { background-image: url(../lay-gfx/menu1.gif); }
#top-menu ul li a b { background-image: url(../lay-gfx/menu2.gif); }

/*
#top-menu ul:hover li.white.active a, #top-menu ul:hover li.green.active a, #top-menu ul:hover li.yellow.active a, #top-menu ul:hover li.yellow2.active a, #top-menu ul:hover li.red.active a { background-image: url(../lay-gfx/menu1.gif); color: white; }
#top-menu ul:hover li.white.active a b, #top-menu ul:hover li.green.active a b, #top-menu ul:hover li.yellow.active a b, #top-menu ul:hover li.yellow2.active a b, #top-menu ul:hover li.red.active a b { background-image: url(../lay-gfx/menu2.gif); }
*/

#top-menu ul li.white:hover a, #top-menu ul li.white-active div:hover a, #top-menu ul li.white-active a { background-image: url(../lay-gfx/white/menu1.gif); color: black;}
#top-menu ul li.white:hover a b, #top-menu ul li.white-active div:hover a b, #top-menu ul li.white-active a b { background-image: url(../lay-gfx/white/menu2.gif); }
#top-menu li.white li { border-right: 1px solid white; }

#top-menu ul li.green:hover a, #top-menu ul li.green-active div:hover a, #top-menu ul li.green-active a { background-image: url(../lay-gfx/green/menu1.gif); color: white; }
#top-menu ul li.green:hover a b, #top-menu ul li.green-active div:hover a b, #top-menu ul li.green-active a b { background-image: url(../lay-gfx/green/menu2.gif); }
#top-menu li.green li { border-right: 1px solid #9acd86; }

#top-menu ul li.yellow:hover a, #top-menu ul li.yellow-active div:hover a, #top-menu ul li.yellow-active a { background-image: url(../lay-gfx/yellow/menu1.gif); color: white; }
#top-menu ul li.yellow:hover a b, #top-menu ul li.yellow-active div:hover a b, #top-menu ul li.yellow-active a b { background-image: url(../lay-gfx/yellow/menu2.gif); }
#top-menu li.yellow li { border-right: 1px solid #eeda66; }

#top-menu ul li.yellow2:hover a, #top-menu ul li.yellow2-active div:hover a, #top-menu ul li.yellow2-active a { background-image: url(../lay-gfx/yellow/menu1.gif); color: white; }
#top-menu ul li.yellow2:hover a b, #top-menu ul li.yellow2-active div:hover a b, #top-menu ul li.yellow2-active a b { background-image: url(../lay-gfx/yellow/menu2.gif); }
#top-menu li.yellow2 li { border-right: 1px solid #eeda66; }

#top-menu ul li.red:hover a, #top-menu ul li.red-active div:hover a, #top-menu ul li.red-active a { background-image: url(../lay-gfx/red/menu1.gif);  color: white; }
#top-menu ul li.red:hover a b, #top-menu ul li.red-active div:hover a b, #top-menu ul li.red-active a b { background-image: url(../lay-gfx/red/menu2.gif); }
#top-menu li.red li { border-right: 1px solid #ea6666; }
ul.sub a.active {font-weight: bold}


#top-search { position: absolute; right: 0; top: 10px; /* float: right; margin-top: 10px;*/ height: 42px;  }
#top-search .search { font-size: 11px; color: #a4a4a3; float: left; margin: 7px 0px 0 0; }
#top-search input.s  { border: 1px solid #d3d3d3; font-size: 11px; color: #a4a4a3; padding: 1px 0 2px 0; height: 17px;}
#search_l {display: none}
#top-search select { border: 1px solid #d3d3d3; font-size: 11px; width: 100px; color: #a4a4a3; float: left; margin: 11px 5px 0 0; height: 17px; }
#top-search div { float: left; font-size: 11px; color: #373737;  margin: 5px 5px 0 0; }
#top-search div input { height: 12px; }
#top-search-submit { background: url(../lay-gfx/top-search-ok.jpg); width: 62px; height: 27px; overflow: hidden; margin: 7px 10px 0 0; border: none; text-indent: -1000px; cursor: pointer; }

#top-buttons { display: inline; float: right; margin: 78px 20px 0 0; height: 10px; }
#top-buttons a { float: left; width: 13px; height: 15px; overflow: hidden; text-indent: -9999px; }
#top-buttons-contact { background: url(../lay-gfx/button-contact.gif) no-repeat; }
#top-buttons-sitemap { background: url(../lay-gfx/button-sitemap.gif) no-repeat; margin-left: 14px; }

/* ------------------------------------------------------------------------------ */

#main-x1 { height: 3px; overflow: hidden; }
#main-x2 { margin: 7px 10px 7px 10px; }
#main-x3 { height: 4px; overflow: hidden; }

#main-content { float: left; width: 616px; }
.documentEditable #main-content { float: none; width: 906px; }
#main-adv1 { float: right; }
#main-adv2 { margin-top: 8px; margin-bottom: 10px;  }

#main-buttons { height: 38px; margin-top: 10px; background: url(../lay-gfx/buttons.jpg) no-repeat; padding-right: 5px; margin-right: 0}
#main-buttons a { display: block; float: right; height: 20px; margin: 9px 5px 0 0; text-indent: -9999px; overflow: hidden; background-repeat: no-repeat; }
#main-buttons-bookmark { width: 130px; }
#main-buttons-friend { width: 131px; }
#main-buttons-print { width: 112px; }

/* ------------------------------------------------------------------------------ */

#footer { height: 39px; background: url(../lay-gfx/footer.jpg); }
#footer p { margin: 0; padding: 10px 0 0 30px; color: #9c9c9c; }
#footer p a { color: white; }

/* ------------------------------------------------------------------------------ */

#pagesel { margin: auto; }
#pagesel td { padding: 0 2px 0 2px; font-size: 11px; }
#pagesel .first, #pagesel .prev, #pagesel .next, #pagesel .last, #pagesel .back { display: block; text-indent: -9999px; overflow: hidden; width: 12px; height: 12px; }
#pagesel .first { background-image: url(../lay-gfx/pagesel-first.jpg); }
#pagesel .prev { background-image: url(../lay-gfx/pagesel-prev.jpg); }
#pagesel .next { background-image: url(../lay-gfx/pagesel-next.jpg); }
#pagesel .last { background-image: url(../lay-gfx/pagesel-last.jpg); }
#pagesel .back { background-image: url(../lay-gfx/pagesel-back.jpg); }
#pagesel .spacer { width: 80px; }

/* ------------------------------------------------------------------------------ */

#news .new_hl { background: #439203; width: 389px; float: left; }
#news .new_hl p { color: white; margin: 5px; float: left; }
#news .new_hl .ts { color: white;}
#news .new_hl span.seemore { display: block; text-align: right; margin-right: 10px; padding-bottom: 10px; }
#news .new_hl span.seemore a { padding-left: 25px; background: url(../lay-gfx/arrow-white.gif) 0 50% no-repeat; color: white; }

#news #news-list { width: 217px; float: right; margin-left: 10px; }
#news #news-list-x1 { height: 4px; background: url(../lay-gfx/green/news-list1.jpg); overflow: hidden; }
#news #news-list-x2 { padding: 4px 8px 3px 8px; background: url(../lay-gfx/green/news-list2.jpg) repeat-y; }
#news #news-list-x3 { height: 5px; background: url(../lay-gfx/green/news-list3.jpg); overflow: hidden; }

#news #news-list h2 { background: url(../lay-gfx/green/header1.jpg) no-repeat; color: white; font-size: 15px; line-height: 27px; text-align: center; }
#news #news-list h2 b { background: url(../lay-gfx/green/header3.jpg) no-repeat 100% 0; margin-left: 4px; display: block; }
#news #news-list h2 i { background: url(../lay-gfx/green/header2.jpg) repeat-x; margin-right: 4px;  display: block; height: 27px; }

#news #news-list ul li { border-bottom: 1px solid #d0d0d0; margin-top: 10px; padding-bottom: 10px; }
#news #news-list ul li span { font-weight: bold; font-size: 12px; font-style: italic; display: block; float: left; width: 43px; }
#news #news-list ul li span.green { color: #458a2b; }
#news #news-list ul li span.blue { color: #13679c; }
#news #news-list span.seemore { display: block; margin: 10px 0 5px 15px; }
#news #news-list span.seemore a { padding-left: 25px; background: url(../lay-gfx/arrow-red.gif) 0 50% no-repeat; }

/* ------------------------------------------------------------------------------ */

#gallery { text-align: center; margin-left: 0px}

#gallery #gallery-header { margin-left: auto; margin-right: auto; border-spacing: 0; border-collapse: collapse; background: url(../lay-gfx/yellow/header1.jpg) no-repeat 0 0;  }
#gallery #gallery-header tr { background: url(../lay-gfx/yellow/header3.jpg) 100% 0 no-repeat; }
#gallery #gallery-header td { padding: 0 4px 0 4px; }
#gallery #gallery-header h2 { font-size: 16px; color: white; font-weight: bold; font-style: italic; background: url(../lay-gfx/yellow/header2.jpg) repeat-x; height: 27px; line-height: 27px; padding: 0 50px 0 50px; }

#gallery ul li { float: left; margin: 10px 6px 10px 0; width: 167px }
#gallery ul li div { padding: 3px; border: 5px solid #fff099; margin-bottom: 3px; }
#gallery ul li span a { font-weight: bold; text-decoration: underline;}

.gallery_im .i { float: left; margin: 10px 6px 10px 0; width: 167px }
.gallery_im .i div { padding: 3px; border: 5px solid #fff099; margin-bottom: 3px; }
.gallery_im .i span a { font-weight: bold; text-decoration: underline;}

#gallery #gallery-big { border: 5px solid #fff099; margin: 10px; }

/* ------------------------------------------------------------------------------ */

#archive-list .col1 { width: 307px; float: left; border-right: 1px solid #cfcfcf; position: relative; }
#archive-list .col2 { width: 308px; margin-left: -1px; float: right; border-left: 1px solid #cfcfcf; position: relative; }
#archive-list div div { margin: 10px; }
#archive-list .col1 div { margin-right: 15px; }
#archive-list .col2 div { margin-left: 15px; }

#archive-list .x1, #archive-list .x2 { position: absolute; width: 10px; height: 25px; background: white; z-index: 1; }

#archive-list .col1 .x1 { top: -15px; right: -21px; }
#archive-list .col2 .x1 { top: -15px; left: -21px; }
#archive-list .col1 .x2 { bottom: -15px; right: -21px; }
#archive-list .col2 .x2 { bottom: -15px; left: -21px; }

#archive-list img { float: left; margin: 5px 10px 0 0; }
#archive-list h2 { font-size: 12px; }
#archive-list h2 span { color: #eb0b0b; font-size: 14px; font-style: italic; margin-right: 5px; }
#archive-list a.seemore { float: right; background: url(../lay-gfx/arrow-red.gif) 0 50% no-repeat; padding-left: 25px; margin-top: 10px; }

#archive-list .spacer { border-bottom: 1px solid #eb0b0b; clear: both; height: 10px; margin: 0 30px 10px 30px; }
#archive-list .col1 .spacer { margin-right: 35px; }
#archive-list .col2 .spacer { margin-left: 35px; }

#archive .x3 { text-align: center; }

#archive #archive-sidebar { width: 200px; float: left; }
#archive #archive-sidebar h3 { background: url(../lay-gfx/red/caption.jpg); display: block; xheight: 27px; margin-top: 10px;  color: white; font-size: 16px; font-style: italic; text-align: center; line-height: 27px;  }
#archive #archive-sidebar .x1 { background: url(../lay-gfx/red/sidebar.jpg) no-repeat; height: 99px; margin-left: 1px; padding-top: 10px; padding-left: 10px } 

#archive #archive-art { float: left; margin-left: 10px; width: 403px; }

#archive #archive-art-x1 { height: 4px; background: url(../lay-gfx/red/article1.jpg) no-repeat; overflow: hidden; }
#archive #archive-art-x2 { background: url(../lay-gfx/red/article2.jpg) repeat-y; padding: 1px 5px 0px 5px; }
#archive #archive-art-x3 { height: 5px; background: url(../lay-gfx/red/article3.jpg) no-repeat; overflow: hidden; }

#archive #archive-art h2 { background: url(../lay-gfx/red/header1.jpg) no-repeat; color: white; font-size: 14px; line-height: 27px; text-align: center; margin-bottom: 10px; width: 100%}
#archive #archive-art h2 b { background: url(../lay-gfx/red/header3.jpg) no-repeat 100% 0; margin-left: 4px; display: block; }
#archive #archive-art h2 i { background: url(../lay-gfx/red/header2.jpg) repeat-x; margin-right: 4px; display: block; height: 27px; }
#archive #archive-art h3, #archive #archive-art p { font-size: 12px; padding-bottom: 10px; }



#login_form div.w1{background:#efede6; padding:10px 20px 10px 20px;}
#login_form div.w2{text-align:left;padding:0.5em 0;}
#login_form div.w2 p{margin:0;}
#login_form input.text{font-size:0.91em;width:80px;margin:3px 0; float: left}
#login_form .w1 label{overflow:hidden;text-indent:-9999px;position:absolute;float:left;}
#login_form .but{width:30px;height:20px;background:url('../lay-gfx/but.png') no-repeat; border: 0; margin-left: 5px; margin-top: 2px}

.gallery_main{text-align:center;padding:0 0 0;margin:0; border:0; margin-left: 50px}
.gallery_main div.g{float:left; padding:10px 0 0 0;margin-right:10px; border:0; vertical-align: top; }
.gallery_main div.g div {padding: 3px; border: 5px solid #fff099; width: 150px}
.gallery_main div.g span {width: 150px}
.g a {display:block; height: 100%; }

