* { font-family: Verdana, Arial, Helvetica, sans-serif;}

body { background-color: #002147; background-repeat: repeat-x; background-image: url('./gfx/bg.png'); background-position: center top; margin: 0; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }

div.header { width: 940px; background-image: url('./gfx/03.png'); background-repeat: no-repeat; background-position: 0 0; height: 108px; margin: 18px auto 26px auto; padding-left: 0px; }
div.header a.logo { display: block; float:left; width: 600px; height: 127px; color: white; text-decoration: none; }
div.header div.box { vertical-align: middle; float: left; background-image: url('./gfx/vbar.gif'); background-repeat: no-repeat; background-position: left top; font-size: 10px; color: white; padding: 5px 20px; height: 98px; }

div.header div.box a { color: white; display: block; background-image: url('./gfx/arrow.gif'); background-repeat: no-repeat; background-position: 0 4px; padding-left: 10px; margin-bottom: 3px; }

div.header div.b2 div.arrowy { white-space: nowrap; background-image: url('./gfx/arrow.gif'); background-repeat: no-repeat; background-position: 0 4px; padding-left: 10px; margin-bottom: 3px; }
div.header div.b2 input.textbox { background-color: rgb(217, 217, 217); border: 1px solid black; padding: 2px; width: 100px; font-size: 10px; margin: 8px 0; }

div.s1 { width: 1034px; background-image: url('./gfx/.16.png'); background-repeat: no-repeat; background-position: left -7px; margin: 0px auto 0 auto; }
div.s2 { width: 980px; background-image: url('./gfx/.16.png'); background-repeat: no-repeat; background-position: right -7px; padding: 0 27px; }
div.m { width: 980px; background-color: #002147; padding-bottom: 0px; padding-top: 0px; }
div.m div.imagebar { margin-left: 20px; width: 940px; background-image: url('./gfx/05.png'); background-repeat: repeat-x; height: 220px; }
div.m div.imagebar div.ajaxbox { float: left; width: 250px; height: 200px; padding: 10px; color: white; font-size: 11px; }
div.m div.imagebar div.image1 { float: right; background-position: right top; background-repeat: no-repeat; height: 220px; width: 668px; }
div.m div.imagebar div.image1 div.image2 { background-position: right top; background-repeat: no-repeat; height: 220px; width: 668px; }
div.m div.menu1 { margin-left: 20px; margin-top: 3px; margin-bottom: 20px; width: 940px; background-image: url('./gfx/10-11.png'); background-repeat: repeat-x; }
div.m div.menu1 div.menul { background-image: url('./gfx/09.png'); background-repeat: no-repeat; background-position: left top; }
div.m div.menu1 div.menul div.menur { background-image: url('./gfx/14.png'); background-repeat: no-repeat; background-position: right top; }
div.m div.menu1 div.menul div.menur div.menuinner { height: 45px; margin: 0 10; }
div.m div.menu1 div.menul div.menur div.menuinner a { float: left; display: block; font-size: 12px; color: white; text-decoration: none; margin: 0 5px; background-image: none; background-repeat: repeat-x; height: 45px; } 
div.m div.menu1 div.menul div.menur div.menuinner a span.l { display: block; background-image: none; }
div.m div.menu1 div.menul div.menur div.menuinner a span.l span.r { display: block; padding: 15px 10px 18px 10px; background-image: none; }
div.m div.menu1 div.menul div.menur div.menuinner a:hover, div.m div.menu1 div.menul div.menur div.menuinner a.active { background-image: url('./gfx/22.png'); } 
div.m div.menu1 div.menul div.menur div.menuinner a:hover span.l, div.m div.menu1 div.menul div.menur div.menuinner a.active span.l { display: block; background-image: url('./gfx/30.png'); background-position: 0 0; background-repeat: no-repeat; }
div.m div.menu1 div.menul div.menur div.menuinner a:hover span.l span.r, div.m div.menu1 div.menul div.menur div.menuinner a.active span.l span.r { display: block; padding: 15px 10px 18px 10px; background-image: url('./gfx/24.png'); background-position: right 0; background-repeat: no-repeat; }
div.m div.menu1 div.menul div.menur div.menuinner span.menupartners { position:relative; display:table-cell; width:110px; height:45px; padding:0; background-image:url('./gfx/partnerzy.jpg'); background-repeat:no-repeat; background-position:left top; cursor:pointer; }

div.m div.c table.m { border-collapse: collapse; width: 100%; }
div.m div.c table.m tbody tr td { padding: 0; vertical-align: top; }
div.m div.c table.m tbody tr td.sidemenu { width: 240px; padding-left: 5px; height: 620px; }

div.m div.c table.m tbody tr td.sidemenu a, div.m div.c table.m tbody tr td.sidemenu a.active { display: block; background-image: url('./gfx/43.png'); background-position: center bottom; background-repeat: no-repeat; color: #c0d5ee; padding: 7px 10px 7px 20px; font-size: 10px; }
div.m div.c table.m tbody tr td.sidemenu a span { background-image: url('./gfx/arrow2.gif'); background-position: 2px center; background-repeat: no-repeat; padding: 0 5px 0 14px; }
div.m div.c table.m tbody tr td.sidemenu a.active { font-weight: bold; }
div.m div.c table.m tbody tr td.sidemenu a:hover { text-decoration: none; color: #5576a3; }

div.m div.c table.m tbody tr td.content { color: #c0d5ee; background-image: url('./gfx/40.png'); background-repeat: no-repeat; background-position: left top; padding: 0 20px 5px 35px; font-size: 9pt; }
div.m div.c table.m tbody tr td.content a { color: #5576a3; }
div.m div.c table.m tbody tr td.content h1 { font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color: #5576a3; padding: 5px 0; margin: 0 0 20px 0; font-size: 22px; font-weight: normal; background-image: url('./gfx/43.png'); background-position: -20px bottom; background-repeat: no-repeat; }
div.m div.c table.m tbody tr td.content div.facebook { width:96px; padding:7px; margin:0; background-color:#FFFFFF; border:1px solid #A9A9A9; }

div.m div.c table.m tbody tr td.column1 { width:33%; color: #c0d5ee;  padding: 0 0px 5px 35px; font-size: 9pt; }
div.m div.c table.m tbody tr td.column1 a { color: #5576a3; }
div.m div.c table.m tbody tr td.column1 h1 { font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color: #5576a3; padding: 5px 0; margin: 0 0 5px 0; font-size: 22px; font-weight: normal; background-image: url('./gfx/43.png'); background-position: -20px bottom; background-repeat: no-repeat; }
div.m div.c table.m tbody tr td.column1 h2 { background-image: url('./gfx/arrow2.gif'); background-repeat: no-repeat; background-position: left 7px; margin: 0; padding: 0 0 5px 10px; font-size: 10pt; font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color: rgb(85, 118, 163); }
div.m div.c table.m tbody tr td.column1 div.newsentry div.newsevent { margin: 5px 0; color: black }
div.m div.c table.m tbody tr td.column1 div.newsentry div.newsevent span.date { font-weight: bold; }
div.m div.c table.m tbody tr td.column1 div.newsentry div.date { height:20px; background-image: url('./gfx/43.png'); background-position: -40px bottom; background-repeat: no-repeat; margin-top: 20px; margin-bottom: 20px; text-align: right; font-size: 10px; color: rgb(200, 200, 200); }
div.m div.c table.m tbody tr td.column1 div.newsentry div.newsurl { margin: 10px 0; background-image: url('./gfx/arrow2.gif'); background-repeat: no-repeat; background-position: left 5px; padding: 0 0 5px 10px;  }

div.m div.c table.m tbody tr td.column2 { width:34%; color: #c0d5ee; background-image: url('./gfx/40.png'); background-repeat: no-repeat; background-position: left top; padding: 0 0px 5px 35px; font-size: 9pt; }
div.m div.c table.m tbody tr td.column2 a { color: #c0d5ee; }
div.m div.c table.m tbody tr td.column2 h1 { font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color: #5576a3; padding: 5px 0; margin: 0 0 5px 0; font-size: 22px; font-weight: normal; background-image: url('./gfx/43.png'); background-position: -20px bottom; background-repeat: no-repeat; }
div.m div.c table.m tbody tr td.column2 h2 { background-image: url('./gfx/arrow2.gif'); background-repeat: no-repeat; background-position: left 7px; margin: 0; padding: 0 0 5px 10px; font-size: 10pt; font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color: rgb(85, 118, 163); }
div.m div.c table.m tbody tr td.column2 div.calentry { min-height:80px; background-image: url('./gfx/55.png'); background-repeat: no-repeat; background-position: left top; margin: 0; padding-right:60px; }
div.m div.c table.m tbody tr td.column2 div.calentry div.calmonth { position:absolute; width:60px; margin-top:1px; display:table-cell; text-align:center; font-size:11px; color:#000000; }
div.m div.c table.m tbody tr td.column2 div.calentry div.calday { position:absolute; width:60px; margin-top:15px; display:table-cell; text-align:center; font-family:"Trebuchet MS", Helvetica, Arial, sans-serif; font-size:36px; font-weight:bold; color:#000000; }
div.m div.c table.m tbody tr td.column2 div.calentry div.caltext { height:60px; display:table-cell; text-align:left; vertical-align:middle; padding-left:65px; font-weight: normal; }

div.m div.c table.m tbody tr td.column3 { width:33%; color: #c0d5ee; background-image: url('./gfx/40.png'); background-repeat: no-repeat; background-position: left top; padding: 0 0px 5px 35px; font-size: 9pt; }
div.m div.c table.m tbody tr td.column3 a { color: #AAAAAA; }
div.m div.c table.m tbody tr td.column3 h1 { font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color: #5576a3; padding: 5px 0; margin: 0 0 5px 0; font-size: 22px; font-weight: normal; background-image: url('./gfx/43.png'); background-position: -20px bottom; background-repeat: no-repeat; }
div.m div.c table.m tbody tr td.column3 h2 { background-image: url('./gfx/arrow2.gif'); background-repeat: no-repeat; background-position: left 7px; margin: 0; padding: 0 0 5px 10px; font-size: 9pt; font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color:#CCCCCC; }
div.m div.c table.m tbody tr td.column3 div.boxentry { min-height:41px; background-repeat: no-repeat; background-position: left top; margin: 0; padding-right:60px; }
div.m div.c table.m tbody tr td.column3 div.boxentry div.boxtitle { position:absolute; width:220px; margin:7px 5px 0px 25px; display:table-cell; text-align:left; font-size:14px; color:#FFFFFF; }
div.m div.c table.m tbody tr td.column3 div.boxentry div.boxtext { position:absolute; width:220px; margin:23px 10px 10px 25px; display:table-cell; text-align:left; font-family:"Trebuchet MS", Helvetica, Arial, sans-serif; font-size:10px; font-weight:normal; color:#CCCCCC; }

div.m div.c table.m tbody tr td.content div.newsentry { border-bottom: 1px solid rgb(220, 220, 220); padding: 10px 0; margin-bottom: 20px; }
div.m div.c table.m tbody tr td.content div.newsentry div.newsevent { margin: 5px 0; color: black }
div.m div.c table.m tbody tr td.content div.newsentry div.newsevent span.date { font-weight: bold; }
div.m div.c table.m tbody tr td.content div.newsentry div.date { margin-top: 10px; text-align: right; font-size: 10px; color: rgb(200, 200, 200); }
div.m div.c table.m tbody tr td.content div.newsentry div.newsurl { margin: 10px 0; background-image: url('./gfx/arrow2.gif'); background-repeat: no-repeat; background-position: left 5px; padding: 0 0 5px 10px;  }
div.m div.c table.m tbody tr td.content h2 { background-image: url('./gfx/arrow2.gif'); background-repeat: no-repeat; background-position: left 7px; margin: 0; padding: 0 0 5px 10px; font-size: 10pt; font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; color: rgb(85, 118, 163); }

div.m div.p { width:898px; margin:20px auto; padding:20px; font-size:10px; font-weight:normal; background-color:#CCCCCC; border:1px solid #000000; display:none; }
div.m div.p table.p { border-collapse:collapse; width:100%; }
div.m div.p table.p tbody tr td { padding:0; text-align:center; vertical-align:top; }

div.m div.footer { margin: 20px 20px 0 20px; background-image: url('./gfx/ft.png'); background-repeat: repeat-x; color: white; padding: 20px; font-size: 10px; height: 25px; }
div.m div.footer a { color: white; }

div.s2 div.fshadow { width: 980px; height: 22px; margin-bottom: 20px; }

img.firstimage { width: 300px; height: 200px; float: right; margin-left: 20px; margin-bottom: 20px; margin-right: 0px; }
div.attachments { margin-top: 20px; }
div.attachments a { background-image: url('./gfx/point.png'); background-repeat: no-repeat; background-position: left 3px; margin: 0; padding: 0 0 5px 16px; }
/* BI3 menus engine */
div.popupmenu { position: absolute; display: none; }
div.popupmenu img.m_trs { width: 3px; height: 3px; position: absolute;  }
div.popupmenu img.m_rs { width: 3px; position: absolute; }
div.popupmenu img.m_brs { width: 3px; height: 3px; position: absolute; }
div.popupmenu img.m_bs { height: 3px; position: absolute; }
div.popupmenu img.m_bls { width: 3px; height: 3px; position: absolute; }

div.popupmenu div.popupmenuinner { border: 1px solid rgb(164, 199, 231); background-color: #7798c5; text-align: left; }
div.popupmenu div.popupmenuinner a { display: block; text-decoration: none; color: white; padding: 4px 8px; font-size: 11px; white-space: nowrap; background-repeat: no-repeat; background-position: 5px center; }
div.popupmenu div.popupmenuinner a:hover { background-color: #a4c7e7; margin: 0; color: white; }
div.popupmenu div.popupmenuinner div.separator { border-bottom: 1px solid rgb(100, 100, 100); margin: 4px 5px; }
div.popupmenu div.popupmenuinner a img { vertical-align: middle; border: 0; margin-right: 2px; }

div.searchresult { margin-bottom: 10px; }
div.searchresult div.title { font-weight: bold; background-image: url('./gfx/point.png'); background-repeat: no-repeat; background-position: left 3px; margin: 0; padding: 0 0 5px 16px; }
div.searchresult span.foundphrase { text-transform: uppercase; font-weight: bold; }

/* gallery mod */
div.g { text-align: center; }
a.g img { border: 1px solid #C0C0C0; background-color: white; padding: 10px; margin: 10px; }
a.g:hover img { border: 1px solid rgb(129, 13, 1); background-color: rgb(240, 240, 240); }

a.gallink * { vertical-align: middle; border: 0; margin-right: 10px; text-align: left; }
a.gallink { text-align: left; display: block; text-decoration: none; font-size: 12px; font-weight: bold; margin-right: 10px; padding: 6px; color: rgb(0, 152, 50); }
a.gallink:hover { border: 1px solid rgb(85, 118, 163); padding: 5px; }

div.fsbg { position: absolute; background-color: #C0C0C0; display: none; }
div.imgwindow { background-color: white; border: 1px solid black; position: fixed; }
div.imgwindow div.ld { text-align: center; font-size: 10px; color: rgb(52, 172, 254); }
div.closeim { background-color: white; position: absolute; font-size: 11px; display: inline; padding: 0 0 5px 5px; top: 10px; }
div.closeim a { text-decoration: none; background-repeat: no-repeat; display: block; width: 24px; height: 24px; background-image: url('./gfx/close.gif'); }
div.closeim a:hover { text-decoration: none; background-image: url('./gfx/closehv.gif'); }

/* gallery mod 3 */
div.galinner { position: fixed; }
div.galinner table.gal { border-collapse: collapse; }
div.galinner table.gal tbody tr td { padding: 0; }
div.galinner table.gal tbody tr td.lt, div.galinner table.gal tbody tr td.rt, div.galinner table.gal tbody tr td.lb, div.galinner table.gal tbody tr td.rb { background-repeat: no-repeat; background-position: 0 0; overflow: hidden; font-size: 1px; }
div.galinner table.gal tbody tr td.l, div.galinner table.gal tbody tr td.r { background-repeat: repeat-y; overflow: hidden; font-size: 1px; }
div.galinner table.gal tbody tr td.t, div.galinner table.gal tbody tr td.b { background-repeat: repeat-x; overflow: hidden; font-size: 1px; }

div.galinner table.gal tbody tr td.rt, div.galinner table.gal tbody tr td.rb, div.galinner table.gal tbody tr td.r { width: 31px; }
div.galinner table.gal tbody tr td.lt, div.galinner table.gal tbody tr td.lb, div.galinner table.gal tbody tr td.l { width: 20px; }

div.galinner table.gal tbody tr td.lt, div.galinner table.gal tbody tr td.rt, div.galinner table.gal tbody tr td.t { height: 21px; }
div.galinner table.gal tbody tr td.lb, div.galinner table.gal tbody tr td.rb, div.galinner table.gal tbody tr td.b { height: 25px; }

div.galinner table.gal tbody tr td.lt { background-image: url('./gfx/gallerymod/lt.png'); }
div.galinner table.gal tbody tr td.rt { background-image: url('./gfx/gallerymod/rt.png'); }
div.galinner table.gal tbody tr td.lb { background-image: url('./gfx/gallerymod/lb.png'); }
div.galinner table.gal tbody tr td.rb { background-image: url('./gfx/gallerymod/rb.png'); }
div.galinner table.gal tbody tr td.t { background-image: url('./gfx/gallerymod/t.png'); }
div.galinner table.gal tbody tr td.b { background-image: url('./gfx/gallerymod/b.png'); }
div.galinner table.gal tbody tr td.r { background-image: url('./gfx/gallerymod/r.png'); }
div.galinner table.gal tbody tr td.l { background-image: url('./gfx/gallerymod/l.png'); }

div.galinner table.gal tbody tr td.c { background-color: white; background-repeat: no-repeat; background-position: center center; background-image: url('./gfx/gallerymod/loader.gif'); }
div.galinner table.gal tbody tr td.c table { border-collapse: collapse; width: 100%; }
div.galinner table.gal tbody tr td.c table tbody tr td { padding: 0; }
div.galinner table.gal tbody tr td.c table tbody tr td a, div.galinner table.gal tbody tr td.c table tbody tr td a:hover { text-decoration: none; font-size: 1px; }
div.galinner table.gal tbody tr td.c table tbody tr td.lbtn, div.galinner table.gal tbody tr td.c table tbody tr td.rbtn { width: 28px; }
div.galinner table.gal tbody tr td.c table tbody tr td.lbtn a, div.galinner table.gal tbody tr td.c table tbody tr td.rbtn a { display: block; background-repeat: no-repeat; filter:alpha(opacity=70); -moz-opacity:0.7; opacity:0.7; -khtml-opacity: 0.7; height: 35px; width: 27px; }
div.galinner table.gal tbody tr td.c table tbody tr td.lbtn a:hover, div.galinner table.gal tbody tr td.c table tbody tr td.rbtn a:hover { filter:alpha(opacity=100); -moz-opacity:1; opacity:1; -khtml-opacity:1; }
div.galinner table.gal tbody tr td.c table tbody tr td.lbtn a { background-image: url('./gfx/gallerymod/previmg.png'); }
div.galinner table.gal tbody tr td.c table tbody tr td.rbtn a { background-image: url('./gfx/gallerymod/nextimg.png'); }
div.galinner table.gal tbody tr td.c table tbody tr td.desc { color: rgb(200, 200, 200); padding-left: 10px; vertical-align: top; text-align: center; }
div.galinner table.gal tbody tr td.c table tbody tr td.desc span.galname { font-weight: bold; color: rgb(85, 118, 163); display: block; }
div.galinner table.gal tbody tr td.c table tbody tr td.desc span.desc { font-style: oblique; color: black; }

a.closebtn { width: 24px; height: 24px; position: absolute; display: block; overflow: hidden; font-size: 10px; background-image: url('./gfx/gallerymod/close.gif'); background-repeat: no-repeat; background-color: white; background-position: center center; }
a.closebtn:hover { background-image: url('./gfx/gallerymod/closehv.gif'); text-decoration: none; }