body {margin: 0; padding: 0; font-family: verdana, helvetica, arial; font-size: 12px; background-color: #f9f9f9}
#wrapper {width: 860px; margin: 0 auto;}
#header {height: 23px; background: #0b96c2 url(img/header.jpg) no-repeat; padding: 102px 0 0 0; text-align: center}
#header #navigation {width: auto; margin: 0 auto; text-align: center; background-color: #28166f; border-top: 4px solid #495677; border-bottom: 4px solid #495677;}
#header ul {width: 60%; margin: 0 auto; padding: 0; height: 18px; color: #fff;}
#header ul li {float: left; margin: 0; list-style: none; width: auto; display: inline; }

#header ul li a, #header ul li p {display: inline-block; height: 15px; width: auto; padding: 2px 5px; margin: 0; text-decoration: none; color: #fff; float: left;}

html>body #header ul li a, html>body #header ul li p {display: block; }

#header ul li a:hover, #header ul li a.selected{background-color: #495677}

#content {margin-top: 18px; background: #fff url(img/content-background.gif) repeat-x 0 50%; height: 480px}
#content p {color: #006; }
#content p.onas {padding: 110px 274px 0 181px;}
#content p.podpis {text-align: center; size: 1.2em; font-weight: bold}
#content img.onas {float: right; margin: 67px 116px 0px 0px}

#content h1.kontakt {padding: 110px 0 0 0; text-align: center}
#content p.kontakt, #content h1.kontakt {text-align: center}
#content h1.kontakt {font-size: 1.3em; display: block; color: #006;}

#content div.homeAnimator {border: solid 1px #000;}

#content div.gallery {padding: 18px 38px}
#content div.gallery ul, #content div.gallery ul li {margin:0; padding: 0;}
#content div.gallery ul li {list-style: none; width: 32%; float: left; text-align: center; background: url(img/shadow.png) 50% 50% no-repeat; }
#content div.gallery ul li img {margin: 46px 0; border: solid 4px #595f62}
#content div.gallery ul li a:hover {position: relative; top: 3px; left: 3px;}
#content div.gallery ul li { behavior: url(css/iepngfix.htc) } 

#content #gallery_canvas_positioner  {height: 0px; z-index: 100; position: relative; left: 200px; top: 50px;}
#content #gallery_canvas { z-index: 200; width: 400px; background-color: gray; padding: 0 5px 5px; position: absolute; display: none}
#content #gallery_canvas #closer {height: 1.5em; text-align: right; clear: both; padding: 5px;}
#content #gallery_canvas #closer a {color: white; text-decoration: none; font-weight: bold}