/* Start of CMSMS style sheet 'Podstawowy' */
/* CSS Document */
* { margin:0; padding:0; border:0;}

body {
	font-family: Tahoma, Verdana, "Trebuchet MS", Trebuchet, sans-serif;
	font-size: 12px;
	color:#000;
	background: #fff url(../img/bg.jpg);
}

li {list-style: none;}
h4 {color: #0d6f62; font-size: 95%; font-weight: bold; padding: 15px 0px 5px 5px;text-decoration: underline;}
table {padding-bottom: 10px;}
td{border: 1px solid #afd6d1; padding: 4px 8px;}
span {color: #d90523; font-size: 85%;}
a.menuactive {text-decoration: underline;}
img { border:0; display: block; padding: 5px 10px 5px 0px; float: left;}
.leftPicture {float: left !important; padding: 5px 10px 5px 0px;}
.rightPicture {float: right !important; padding: 5px 0px 5px 10px;}

ul li.currentpage {text-decoration: underline; color: #485A6E;}
a {color: #485A6E; text-decoration: none;}
a:hover {text-decoration: underline;}
a.more {float: right; color: #49586B; font-size: 85%; padding-left: 16px; background: url(uploads/images/more.jpg) no-repeat left 3px;}
a.back {float: right; color: #49586B; font-size: 85%; padding-left: 16px; background: url(uploads/images/back.jpg) no-repeat left 3px;}

p {color: /*#485A6E*/ #000; font-size: 85%; text-align: justify; line-height: 1.5em; padding-bottom: 5px;}

h1 {float: left; font-size: 0px; width: 260px; height: 177px; margin: 0 40px 0 0;}
h1 a {display: block; width: 260px; height: 177px; background: url(uploads/images/logo.jpg) no-repeat center;}
h1 a span, #top h2 span {text-indent: -4096px; position: absolute;}

.sub h2, #main h2 {height: 20px; margin: 10px 5px; border-left: 12px #a9d2cc solid; padding-top: 7px; padding-left: 5px; color: #485A6E; font-family: verdana; font-size: 120%;}
#main h2 {margin-bottom: 10px;}
#top h2 {width: 245px; height: 78px; background: url(uploads/images/slogan.png); float: left; margin: 50px 0 0 0;}

h3 {color: #485A6E; font-family: verdana; font-size: 100%; padding-left: 15px; margin-bottom: 20px;}

.clear {clear: both;}

.nomrg {margin: 0px !important;}
.nobrd {border: none !important;}
.nobg {background: none !important;}

.hr {clear: both; width: 100%; height: 2px; font-size: 0px; background: url(uploads/images/dot.gif);}
hr {display: none;}

#container {width: 880px; margin: 12px auto;}

#AS {display:block; margin:0 auto 5px;}


#up {height: 59px; margin: 0 auto; background: url(uploads/images/sh_top.png);}

#primary-nav {width: 786px; padding: 7px 0px; background: #fff; z-index: 100;}
#primary-nav li {float: left; width: 130px; border-right: 1px #D3D6DB solid; line-height: 22px; text-align: center; font-family: verdana; font-weight: bold; padding: 5px 0;}
#primary-nav li a {float: none !important; color: #485A6E; display: block !important; text-align: center;}
#primary-nav li a:hover {text-decoration: underline;}

#top {height: 177px; padding: 1px 0px; border-top: 11px #a9d2cc solid; border-bottom: 11px #EAEAEA solid; background: #fff url(uploads/images/top.jpg) no-repeat right 1px;}


#menu li {}
#menu li ul li {width: auto;padding:5px; border:0}
#menu li.currentpage a {font-weight: bold;}
#menu ul {float: none; background: #fff; border-bottom: 1px solid #D3D6DB;}
#menu ul li {border-left: 1px solid #D3D6DB !important; border-right: 1px solid #D3D6DB !important; border-top: 1px solid #D3D6DB !important;}

#menu ul {
  position: absolute;
  top: auto;
  display: none;
  zoom:1;
  z-index:50;
}

#menu li:hover ul {
  display: block;
}
#menu li:hover ul li{
  width: 140px !important; clear: left; height: auto !important; line-height: 20px;
}
#menu li:hover ul li a{
display: block;
}


#content {width: 786px; padding: 0px 47px; margin: 0 auto; position: relative; background: url(uploads/images/cont.jpg) repeat-y top; overflow: hidden; position: relative;}
#content.kontakt {background: url(uploads/images/cont_ktk.jpg) repeat-y top;}

#sh_right {width: 37px; height: 1234px; background: url(uploads/images/sh_right.png); position: absolute; top: 0px; right: 0px;}
#sh_left {width: 37px; height: 1234px; background: url(uploads/images/sh_left.png); position: absolute; top: 0px; left: 0px;}

.sub {float: left; width: 232px;  z-index: 2;  padding: 0px 20px 10px 10px;}
.sub img {margin: 0 auto 20px;}
.sub p {}

#main {float: left; width: 494px; background: url(uploads/images/bg_main.gif) repeat-x top; padding: 0px 20px 10px 10px;}

.sub ul, #main ul, dl {color: #000; font-size: 85%; padding-left: 37px; padding-bottom: 13px; z-index: 2; position: relative;}
.sub li, #main li {padding-left: 12px; background: url(uploads/images/li.gif) no-repeat left 6px; padding-bottom: 7px;}
dl {clear: both;}
dt {font-weight: bold;}
dt, dd {padding-bottom: 7px;}
dd.mail a {color: #B9B88A; text-decoration: underline;}

#bg {width: 161px; height: 246px; background: url(uploads/images/photo4.jpg) no-repeat; position: absolute; right: 50px; bottom: 15px; z-index: 1;}

#bottom {clear: both; height: 11px;  background: #a9d2cc;}

#footer {height: 58px; padding: 1px 47px 0px; background: url(uploads/images/sh_bot.png);}
#footer p {float: left; color: #bbbbbc; line-height: 24px; width: 240px; height: 24px; padding: 0px 0px 0px 26px; font-size: 85%; background: #485A6E;}
#footer a.netart {color: #838F9D;}
#footer a.netart:hover, #footer li a:hover {color: #B9B88A; text-decoration: underline;}
#footer ul {float: right; padding: 6px 10px; background: #485A6E; line-height: 24px;}
#footer li {float: left; list-style: none;  font-size: 85%; border-right: 1px #838F9D solid; padding: 0px 5px; color: #bbbbbc; overflow: hidden;}
#footer li a {color: #bbbbbc;}
#footer li.currentpage a {font-weight: bold;}
#footer ul ul {float: none;}

#footer ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
#footer ul ul {
  position: absolute;
  top: auto;
  display: none;
  zoom:1;
}

#footer li:hover ul,
#footer ul li:hover ul {
  display: block;
}

#footerBg {background: #485A6E; height: 24px;}
#footerBg a {color: #BBBBBC;}
div.NewsSummaryPostdate {font-size: 85%; color: #000; font-weight: bold;}
div.NewsSummaryLink {margin: 5px 0px;color: #000; font-size: 95%;  font-weight: bold;}
div.NewsSummaryLink a {color: #000;font-weight: bold;}
div.NewsSummarySummary {color: #000; font-size: 85%; margin-bottom: 10px;line-height:1.5em;text-align:justify;}
* html #up, #footer, #sh_left, #sh_right, #top h2 {behavior: url(uploads/ie/iepngfix.htc);}

.NewsSummaryContent {margin-bottom:10px;}
/* End of 'Podstawowy' */

/* Start of CMSMS style sheet 'menu rozwijane' */
{* #primary-nav li ul li {width:129px; height:15px !important; background:#405A71 !important; text-align:center; padding-top:5px;}
#primary-nav li ul li a {color:#485A6E;}
#primary-nav li ul li a:hover {background-color:#fff !important; color:#485A6E;}  *}

#primary-nav li ul li {width:130px; background:#FFF !important; text-align:center; padding: 0 !important; margin: 0 !important;}
#primary-nav li ul li a {background: #fff !important; display: block; float: none !important; color: #485A6E; height: auto !important; border-left: 1px solid #D3D6DB; border-top: 1px solid #D3D6DB; border-right: 1px solid #D3D6DB; line-height: 1.2em !important; padding: 4px 0;}
#primary-nav li ul li a:hover {background: #fff !important; text-decoration: underline  !important;}
#primary-nav ul {border-bottom: 1px solid #D3D6DB; background: #FFF;}

#primary-nav ul a img {float: none; display: inline;}

#top_menu {}
    #primary-nav li {position: relative; float:left;}
    #primary-nav > li > a { display: block;}

/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert {
 margin-left: 1px;
 margin-right: 1px;
 zoom:1;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
 /* Fix for Opera 8 */ 
 /*   overflow: hidden;  */ 
width:768px;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
 list-style: none; 
 margin: 0px; 
 padding: 0px; 
}
#primary-nav ul { 
 position: absolute; 
 top: 100%; left: 0px;
 display: none;
 zoom:1; 
}
#primary-nav ul ul { 
 margin-top: 0px;
 margin-left: 0px;

 top: 0px; left: 130px;
 zoom:1;
}

#primary-nav ul li {display:inline;}
   
#top #primary-nav li li { 
 margin-left: 0px;
 margin-top: -1px;
 float: none; 
 position: relative;
 line-height:2.0em;
 font-size:90%;
 display:block;

}

/* Styling the basic apperance of the menu elements */

{*

#primary-nav a { 
 display: block; 
 margin: 0px; 
 padding: 5px 10px; 
 text-decoration: none; 
}



#primary-nav li a { 
 
}



#primary-nav li li a {

}   
#primary-nav li, #primary-nav li.menuparent { 

}

*}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 

}

* html  #primary-nav  li {position:relative !important;}
* html  #primary-nav li ul {}
* html  #primary-nav  li a {float: left;}
* html  #primary-nav  li li a {float: none; display inline;}

*:first-child+html #primary-nav  li {position:relative !important;}
*:first-child+html #primary-nav li ul {}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
 background-image: url(images/cms/arrow.gif); 
 background-position: center right; 
 background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
 background-color: #FFF; 
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
 display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
 display: block; 
}

/* IE Hacks */
#primary-nav li li { 
 float: left; 
 clear: both; 
}
#primary-nav li li a { 
 height: 1%; 
}

/* End of 'menu rozwijane' */

