  body {
    background:url(../images/bg.jpg) repeat-x; /* zakomentowac w celu osadzania zewnetrznego tla */
    width:100%;
    margin:0px;
    text-align:center;
	line-height: 105%;
  }
  a {
    color:#CE130D;
  }
  img {
    border:0;
  }
  #top_bar {
    width:960px;
    font-family:Arial;
    color:#636363;
    font-size:11px;
    margin:0 auto;
    /*margin-top:87px;*/
	margin-top: 17px;
  }
  .flags {
  	float: right;
  	padding: 0px 5px 0px 25px;
  }
  .hor_menu1 {
    margin:0px;
    padding:0px;
    display:inline;
    float:right;
	padding-bottom: 10px;
  }
  .hor_menu1 li{
    display:inline;
    list-style-type:none;
    margin:0px;
  }
  .hor_menu1 li a{
    display:block;
    float:left;
    padding-left:6px;
    background:url(../images/arr_small.gif) no-repeat 0 0.5em;
    font-family:Arial;
    color:#b9b9b9;
    font-size:11px;
    text-decoration:none;
  }
  .hor_menu1 li a:hover{
    background:url(../images/arr_small_h.gif) no-repeat 0 0.5em;
    color:#cd130d;
  }
  .hor_menu1 .div {
    margin: 0px 10px;
    margin-top:-2px;
  }
  #content { /* glowny blok z tresci - w im content2 - logo i content3 - tresc glowna strony */
	width: 100%;
	text-align: center;
	background: #f2f2f2 url(../images/bg2.png) repeat-x; /* zakomentowac w celu osadzania zewnetrznego tla kolor bylo f2f2f2*/
	margin-top: 2px;
}
  #content2 { /* logo NBI w naglowku strony */
    width:960px;
    padding-top:15px;
    text-align:left;
    margin:0 auto;
  }
  .fleft {
    float:left;
  }
  .fright {
    float:right;
  }
  #hor_menu2 {
    width:960px;
    margin:0 auto;
    margin-top:15px;
  }
  #hor_menu2 img {
    float:left;
    margin-top:1px; /* ie issues */
  }
  #hor_menu2 a {
    float:left;
    margin-top:1px; /* ie issues */
  }
  a#men1 {
    width:133px;
    height:43px;
    background:url(../images/menu1.png);
  }
  a#men2 {
    width:87px;
    height:43px;
    background:url(../images/menu2.png);
  }
  a#men3 {
    width:62px;
    height:43px;
    background:url(../images/menu3.png);
  }
  a#men4 {
    width:150px;
    height:43px;
    background:url(../images/menu4.png);
  }
  a#men5 {
    width:79px;
    height:43px;
    background:url(../images/menu5.png);
  }
  a#men6 {
    width:69px;
    height:43px;
    background:url(../images/menu6.png);
  }
  a#men7 {
    width:86px;
    height:43px;
    background:url(../images/menu7.png);
  }
  a#men8 {
    width:156px;
    height:43px;
    background:url(../images/menu8.png);
  }
  a:hover#men1{
    background:url(../images/menu1h.png);
  }
  a:hover#men2{
    background:url(../images/menu2h.png);
  }
  a:hover#men3{
    background:url(../images/menu3h.png);
  }
  a:hover#men4{
    background:url(../images/menu4h.png);
  }
  a:hover#men5{
    background:url(../images/menu5h.png);
  }
  a:hover#men6{
    background:url(../images/menu6h.png);
  }
  a:hover#men7{
    background:url(../images/menu7h.png);
  }
  a:hover#men8{
    background:url(../images/menu8h.png);
  }
  
  #Preload {
    background:url(../images/menu1h.png);
    background:url(../images/menu2h.png);
    background:url(../images/menu3h.png);
    background:url(../images/menu4h.png);
    background:url(../images/menu5h.png);
    background:url(../images/menu6h.png);
    background:url(../images/menu7h.png);
    background:url(../images/menu8h.png);
  }
  #hor_menu3 {
    width:950px;
    margin:0 auto;
  }
  .hor_menu4 {
    float:left;
    width:940px;
    height:26px;
    background:url(../images/menu2_2.png);
    margin:0px;
    padding:0px;
  }
  .hor_menu4 li{
    float:left;
    display:inline;
    list-style-type:none;
    margin:0px;
    height:26px;
  }
  .hor_menu4 li a{
    display:block;
    float:left;
    padding-left:8px;
    margin-top:5px;
    background:url(../images/arr_small2.gif) no-repeat 0 0.5em;
    font-family:Arial;
    color:#636363;
    font-size:11px;
    font-weight:bold;
    text-decoration:none;
  }
  .hor_menu4 li a:hover{
    background:url(../images/arr_small2_h.gif) no-repeat 0 0.5em;
    color:#cd130d;
  }      
  .hor_menu4 .div {
    margin: 0px 15px;
  }
  #login_box {
    width:700px;
    height:51px;
    background:url(../images/login_box.png);
    float:left;
  }
  #content3 {
    width:950px;
    margin:0 auto;
    padding-top:10px;
    text-align:left;
    font-family:Arial;
    font-size: 12px;
	color: #404040 /*#636363*/ /* dodano nowa definicje */
  }
  #content_main {
    background:#fff;
  }
  .cont {
    width:100%;
    text-align:center;
  }
  .cont p {
    padding-left: 10px;
  }
  .cont h2 {
    margin:10px 0 30px
  }
  
 #tresc { text-align: justify !important; }

 /*#tresc img, #tresc div img, #tresc p img { margin: 5px 10px 5px 10px !important;}*/

  .banner {
    margin-top:8px;
  }
#banner_layer {margin: 10px 0 10px 0}

  .breadcrumbs {
    margin: 10px 0;
  }

  .partners {
	margin:0px auto;
	padding:0;
	width: 950px;  
    background: #fff;
	text-align: center;	
  }
  .partners li {
  	margin: 0px 6px 0px 6px;
    display: inline	
  }
  .partners img { vertical-align: middle; }

  .pasek {
    margin: 50px 0;
  }
  .redbar {
    float:left;
    margin:10px 5px;
    width:465px;
  }
  .redbar2 {
    float:left;
    width:453px;
    height:30px;
    background:url(../images/redc.png) repeat-x;
  }
  .redbar3 {
    float:left;
    margin:10px 5px;
    width:940px;
  }
  .redbar4 {
    width:928px;
    height:30px;
    background:url(../images/redc.png) repeat-x;
  }
  .redmore {
  	background:url(../images/arr.png) no-repeat left 4px;
    margin: 0px;
    padding: 0px 0px 0px 12px;
    color: #CE130D;
    text-decoration: none;
  }
  .yellowbar {
    float:right;
    margin:10px 5px;
    width:465px;
  }
  .yellowbar2 {
    width:453px;
    height:30px;
    background:url(../images/yellowc.png) repeat-x;
  }
  .lbar {
    float:left;
    color:#fff;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    margin-top:6px;
    /*padding-left:5px;*/
    overflow: hidden;
    line-height: 20px;
  }
  .rbar {
    float:right;
    color:#fff;
    font-family:Arial;
    font-size:11px;
    font-weight:bold;
    margin-top:8px;
    background:url(../images/arr.gif) 0 50% no-repeat;
    padding-left:5px;
    padding-right:5px;
  }
  .rbar a{
    color:inherit !important;
    text-decoration:none;
  }
  .lbar .small {
    margin-left:10px;
    font-size:11px;
    font-weight:normal;
  }
  .contcont {
    margin:10px 5px;
  }
  .contcont2 {
    margin:10px 0px;
  }
  .nomargintop {
    margin-top:0px;
  }
  .advs {
    float:left;
    text-align:center;
    width:100%;
  }
  .advs a img {
  	margin: 0px 5px 0px 5px;
  }
  #CiekaweLinki{
    width:950px;
    height:90px;
    background: url(../images/ciekawe_linki.jpg) center;
    color:#ce130d;
    margin: 3px 0px;
  }
  .CLinki {
    float:left;
    margin-top:12px;
    margin-left:125px;
    display:inline;
    list-style-type: none;
  }
  .CLinki li { 
  	display: inline;
    width:auto; /*80px;*/
    /*background:url(../images/arr.png) 100% 55% no-repeat;
    margin-right:20px; */
    text-align:right;
    padding-right:12px;
  }
  .CLinki li a {
  	color: #CE130E;
  	text-decoration: none;
  }
  
  #content_bottom {
    padding:10px;
    color:#aaa;
	font-size:11px;
	margin-left:-8px;
  }
  
  #KontaktBottom {
    padding:10px;
    color:#aaa;
	margin-bottom:20px
  }
  #KontaktBottom b {
    color:#000;
  }
  #KontaktBottom .b {
    color:#aaa;
  }
  #KontaktBottom a {
    color:#ce130d;
    text-decoration:none;
  }
  #Breadcrumbs {
    color:#636363;
  }
  #Breadcrumbs span {
    color:#000;
  }
  #Breadcrumbs a {
    color:#cd130d;
    font-weight:bold;
  }
  
  
  .redbar5 {
background:transparent url(../images/redc.png) repeat-x scroll 0 0;
float:left;
height:30px;
width:240px;

}

.bg_arch {
    float:left;
    width:695px;
    height:30px;
    background:url(../images/arch_bg.png) no-repeat;
}

.more{
  background:transparent url(../images/arrrev.gif) no-repeat scroll 0 60%;
  color:#cd130d;
  float:right;
  font-family:Arial;
  font-size:11px;
  font-weight:bold;
  margin-top:8px;
  padding-left:10px;
  padding-right:10px;
}

.archive_bg {
  width:250px;
  background: url(../images/archive_bg.png) repeat-y;
}

.arch_element img {
  float:left;
  margin:10px;
}

.arch_desc {
  float:left;
  background:url(../images/arch_arr.png) no-repeat 0 3px;
  text-align:left;
  color:#fff;
  padding-left:8px;
  margin-top:10px;
  width:140px;
  overflow:hidden;
}

h2 {
  color:#ce130d;
  font-size:18pt;
  margin:0px;
  line-height:100%
}


h3 {
  color:#000;
  font-size:16px;
  margin:0px;
}
.gallery_bg {
  width:230px;
  background: url(../images/archive_bg.png) repeat-y;
  color:#fff;
  padding:5px 10px;
  text-align:left;
}

.gallery_bg img{
  margin-left:0px;
}

.gallery_bg a{
  text-decoration:none;
  color:#FFFFFF;
  font-family:Arial;
  font-size:12px;
}

.gallery_bg .highlight {
  font-weight:bold;
  color:#ffc000;
}


.fotogal {
  font-size:12px;
}

.fotogal2 {
  margin-left:15px;
  font-size:12px;
}

.fotogal3 {
  margin-top:10px;
  font-size:12px;
}

.fotogal4 {
  margin-top:10px;
  margin-left:15px;
  font-size:12px;
}

.block {
  display:block;
}
.adsflash {
	width: 100px; float: left;
}
.tagcloud,.tagcloud a {
	font-size: 18px; 
	color: black; /*#FF9908;*/
	text-decoration: none;
	/*text-transform: capitalize;*/
	line-height:125%;
}
.galleryTitle {
	display: block; color: #CE130D; font-weight: bold; text-decoration: none;
}
.galleryIcon {
	margin: 0px; border: 0px;
}
.homeTab {
	width: 940px; margin: 0px; padding: 0px; font-size: 12px;
}
.homeTab td {
	width: 50% !important; padding: 10px; text-align: left; vertical-align:top;
}
.homeTab td a {
	color: #CE130D; text-decoration: none; font-weight: normal;
}
.homeTab td.bord {
	border-bottom: 1px solid #E1E1E1;
}
.homeTab td div.bordp {
	border-right: 1px solid #E1E1E1; padding: 10px;
}
.homeTab td h2 {
	font-size: 16px; text-align: left; font-weight: bold;
}
.curNumText {
	float:right;width:250px;text-align:left;margin-left:5px;
}

#login_box .ent{
  width:87px;
  height:18px;
  background:url(../images/zaloguj_bg.png);
  border:0px;
  padding:2px;
}

#login_box .ent2{
  width:150px;
  height:20px;
  background:url(../images/szukaj_bg.png);
  border:0px;
}

#SearchForm_SearchForm fieldset {
  border:0px;
  padding:0px;
  margin-left:50px;
  margin-top:-18px;
}

#SearchForm_SearchForm legend {
display:none;
}

#SearchForm_SearchForm input {
  width:150px;
  height:20px;
  background:url(../images/szukaj_bg.png);
  border:0px;
}


.fourAdv {
	background: url(../images/adverts.png) no-repeat top center; padding-top: 15px;
}
.fourAdv a {
	width: 100px; margin-right: 5px;
}

#SearchForm_SearchForm_action_results {
  background:url(../images/bgbg.png) !important;
  width:20px !important;
  height:21px !important;
  
}

.loginsubmit {
  background:transparent url(../images/bgbg.png) repeat scroll 0 0 !important;
height:21px !important;
width:20px !important;
border:0px;
cursor:pointer;
}
#Search {
  display:inline;
}

#KontaktBottomLinks a{
	white-space : nowrap;
}

#menu_bottom {
	text-align:center;
	padding-top:10px;
	padding-bottom:10px;
}

.img_bottom_line {
	clear:both;
	margin: 15px 0 15px -10px;
}


#pasek_bottom {
	width:100%;
	height:30px;
	position: fixed;
		bottom:0px; 
		left:0px;
	z-index:1000
}

#pasek_bottom  div{
margin-top:5px;
padding-left:10px;
background:url('/themes/nbi/images/pasekarr.png') no-repeat 0 50%;
}

#pasek_bottom  div a{
  color:#fff;
  font-size:18px;
  font-weight:bold;
  text-decoration:none;
}

/*Credits: CSSplay */
/*URL: http://www.cssplay.co.uk/menus/pro_drop2 */
.menu2 {list-style:none; position:relative;}
.menu2 li.top {display:block; float:left; position:relative;}
.menu2 li a.top_link {display:block; float:left; height:26px; padding:0 0 0 12px; cursor:pointer;}
.menu2 li a.top_link span {float:left; display:block; padding:0 24px 0 12px; height:26px;}
.menu2 li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:26px; /*background:url(prodrop2/down.gif)*/ no-repeat right top;}


.menu2 table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

.menu2 a:hover {visibility:visible;}
.menu2 li:hover {position:relative; z-index:200;}

/* keep the 'next' level invisible by placing it off screen. */
.menu2 ul, 
.menu2 :hover ul ul, 
.menu2 :hover ul :hover ul ul,
.menu2 :hover ul :hover ul :hover ul ul,
.menu2 :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

.menu2 :hover ul.sub {left:2px; top:26px; background: #d0d0d0; padding:0px 0px;  white-space:nowrap; width:140px; height:auto;}
.menu2 :hover ul.sub li {display:block; height:23px; position:relative; float:left; width:190px;background:transparent;}
.menu2 :hover ul.sub li a {display:block; font-size:11px; font-weight:normal;height:23px; width:190px; line-height:20px;background:url(../images/bg_menu_1.png); text-indent:5px; color:#000; text-decoration:none; padding:0px;}
.menu2 :hover ul.sub li a:hover {background:url(../images/bg_menu_2.png);color:#ca1407}

.menu2 :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul :hover ul
{left:90px; top:-4px; padding:3px 0; border:1px solid #4ab; white-space:nowrap; width:93px; z-index:200; height:auto;}

.reports img {
	float: left; margin: 10px;
}
.katbranz {
	width: 250px; height: 110px; padding: 0px; color: #fff; background: url(../images/katalog_branzowy.png) no-repeat center; margin: 0px;
}
.katbranz div {
	margin: 0px 20px 0px 0px !important; text-align: right;
}
.katbranz div a {
	color: #fff; text-decoration: none; font-size: 10px; padding-right: 10px; background: url(../images/arr_trans.png) no-repeat right;
}
.katbranzSG {
	width: 465px; height: 141px; padding: 0px; color: #fff; background: url(../images/katalog-branzowy.jpg) no-repeat center; margin: 0px;
}
.katbranzSG div {
	margin: 0px 30px 0px 0px !important; text-align: right;
}
.katbranzSG div a {
	color: #fff; text-decoration: none; font-size: 12px; padding-right: 14px; background: url(../images/arr_trans.png) no-repeat right; font-weight: bold; line-height: 20px;
}
.nbipolContent {
	margin: 0px; padding: 0xp;
}
.nbipolRight {
	float: right; width: 330px;
}
.nbipolLeft {
	float: left; width: 280px; padding-left: 10px; margin-right: 5px;
}
.nbipolRight  p {
	text-align: left !important; padding: 10px !important;
}
.nbipolLeft .bord img {
	float: left; margin: 0px 10px 10px 10px; padding: 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #DADADA;
}
.nbipolRight h4 {
	text-align: left; color: #D4140F;
}
.nbipolComm {
	height: 11px; background: url(../images/reklama_firmy.png) no-repeat center;
}
.nbipolArts {
	padding: 5px; text-align: left;
}
.leftContent {
	color:#666;width:635px;font-size:9pt;padding: 0px 10px;
}
.textLeft {
	text-align: left !important;
}
.textLeft p img, .textLeft div img, .textLeft img {
	margin: 0px 10px 5px 0px;
}
div.hpGallery {
	padding: 1px 3px; width: 140px !important; overflow: hidden !important; float: left;
}
.hpNBIbooks {
	width: 205px; float: left; font-size: 11px;
}
.FirmaRight {
	float: right; width: 330px;
}
.FirmaRight h4 {
	color: #D4140F;
}
.FirmaRight a {
	color:#ff9c00; text-decoration: none; font-weight: normal;
}
.FirmaRight p {
	padding: 2px;
}
.FirmaLeft {
	float: left; width: 280px; padding-left: 10px; margin-right: 5px;
}
.FirmaLeft .smallArticle {
	padding: 3px; clear: left; border-bottom: 1px solid #DFDDDE; margin: 3px;
}
.FirmaLeft .smallArticle a {
	color:#ff9c00; text-decoration: none; font-weight: bold;
}
.FirmaLeft .smallArticle img {
	background: #DFDDDE; padding: 2px; float: left; margin: 0px 5px 5px 0px;
}
.FirmaLeft .smallArticle p {
	font-size: 10px;
}
.FirmaLeft .smallArticle a.amore {
	font-weight: normal; font-size: 10px;
}
.FirmaLeft .smallArticle a.amore img {
	padding: 0px; float: none; margin: 0px; vertical-align: middle;
}

.firmaHold {
	width: 300px; padding: 0px; float: left; margin: 10px 10px 20px 0px;
}
.firmaHold .firmaHead {
	line-height: 10px; margin-bottom: 10px;
}
.firmaHold .firmaHead a {
	font-weight: bold; color: #000; text-decoration: none; font-size: 13px;
}
.firmaHold .firmaHead a:hover {
	text-decoration: underline;
}
.rounded {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border: 1px solid #E3E3E3;
	padding: 10px;
}
.subcat {
	background: #F8F8F8; padding: 10px 10px 5px 10px;
}
.subcat .subcatHead a {
	color: #D64F3F; font-weight: bold; text-decoration: none; line-height: 10px;
}
.subcat .subcatHead a:hover {
	text-decoration: underline;
}
.subcat .subcatContent {
	font-size: 10px; color: #C8C8C8;
}
.subcatWhite {
	background: #fff;
}
.subline {
	height: 1px !important; background: #F1F1F1; border:0px; padding: 0px; margin: 0px; 
}
