html, body {
	margin: 0;
	background: url('shadowbg.png') center top repeat-y;
	height: 100%;
	min-height: 100%;
	font-family: Georgia, Times, Helvetica, Serif;
	font-size: 13px;
	color:#000;
}

p {
	padding: 0px;
	margin: 0px 0px 5px 0px;
}

p.homepageb, p.emailb, p.roomb, p.phoneb, p.datesw {
	padding: 0px 0px 0px 20px;
	min-height: 16px;
	_height: 16px;
	line-height: 16px;
}

p.homepageb {
	background: url('picons/homeb.gif') no-repeat;
}

p.emailb {
	background: url('picons/mailb.gif') no-repeat;
}

p.roomb {
	background: url('picons/roomb.gif') no-repeat;
}

p.phoneb {
	background: url('picons/phoneb.gif') no-repeat;
}

p.datesw {
	background: url('picons/clockb.gif') no-repeat;
}


p.homepagew, p.emailw, p.roomw, p.phonew, p.datesb{
	padding: 0px 0px 0px 20px;
	min-height: 16px;
	_height: 16px;
	line-height: 16px;
}

p.homepagew {
	background: url('picons/homew.gif') no-repeat;
}

p.emailw {
	background: url('picons/mailw.gif') no-repeat;
}

p.roomw {
	background: url('picons/roomw.gif') no-repeat;
}

p.phonew {
	background: url('picons/phonew.gif') no-repeat;
}

p.datesw {
	background: url('picons/clockw.gif') no-repeat;
}

h1, h2, h3, h4, h5 {
	margin: 0px;
	padding: 0px;
	font-weight: normal;	
}

h1
{
	font-size: 1.75em;
}

h2
{
	font-size: 1.5em;
}

h3
{
	font-size: 1.25em;
}
h4
{
	font-size: 1.15em;
}

a img {
	border: 0;
}

table {
	margin: 0px;
	padding: 5px;
	width: 100%;
	border-spacing: 0px;
	border-collapse:collapse;
}

th, td {
	padding: 3px;
	margin: 0;
}

th {
	font-weight: bold;
	background: #0661B1;
	color: #fff;
}

tr {
	text-align: left;
	background: #fff;
	padding: 0;
	margin: 0;
}

tr:hover{
	background: #dae6f3;
}

td {
	border-bottom: 1px solid #0661B1;	
}


a {
	color: #0855AC;
	text-decoration: underline;
}

img.ramka {
	float: left;
	border: 5px solid #fff;
	margin: 0px 5px 5px 0px;
}

div#main {

	width:958px;
	_width: 956px;
	margin: 0px auto;
	border-left: 1px #0661B1 solid;
	border-right: 1px #0661B1 solid;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	position: relative;
	overflow: visible;
	_overflow-x: hidden;
	background: url('bottombg.png') center bottom no-repeat #fff;
}

/* Header */

div#header
{
	background-image: url('topbg1.png');	
}

div#top {
	color: #fff;
	width: 926px;
	height: 100px;
	padding: 0 16px;
	overflow: hidden;
}

div#top div#logo {
	padding: 17px 10px 0px 0px;
	height: 100px;
	float: left;
}

div#top div#logo a{
	line-height: 100px;
}

div#top div#title {
	height: 100%;
	float: left;
}

div#top h1 {
	font-size: 28px;
}

div#top h2 {
	margin-top: 24px;
	font-size: 18px;
}

/* Menu */

ul#menu {
	height: 32px;
	padding: 0;
	margin: 0;
	overflow:hidden;
	width:960px;
}

ul#menu li {
	padding: 0;
	_background: url('inactivetab.png');
	display: block;
	float:left;
	overflow:hidden;
	width: 158px;
	height: 32px;
	margin: 0 2px 0 0;
	font-size: 14px;
}

ul#menu li a{
	background: url('inactivetab.png');
	display: inline-block;
	display: -moz-inline-block;
	width: 158px;
	height: 31px;
	_height: 31px;
	border-bottom: 1px solid #0661B1;
	text-decoration: none;
	position: relative;
	z-index: 1;
}

ul#menu li a:hover {
	background: url('hovertab.png');
	width: 158px;
	_height: 32px;
	border-bottom: 1px solid #fff;
	position: relative;
	z-index: 1;
	}

ul#menu li a.active {
	background: url('activetab.png');
	border-bottom: 1px solid #fff;
	position: relative;
	z-index: 1;
}

ul#menu li a span{
	background: no-repeat;
	display: -moz-inline-block;
	width: 116px;
	height: 31px;
	display: inline-block;
	line-height: 31px;
	padding: 0 0 0 42px;
	text-decoration: underline;
	cursor: hand;
}


div#content
{
	background: url('topbg2.png') center top no-repeat;
	margin: 0px;
	padding: 0px 0px 32px 0px;
	min-height: 152px;
	overflow: hidden;
}

div#content h2 {
	min-height: 24px;
	_height: 24px;
	padding: 0px 0px 0px 10px;
	background: url('newsTitle.png') no-repeat;
}

 div#content h1{
	min-height: 27px;
	_height: 27px;
	background: url('pageTitle.png') no-repeat;
	padding: 0 0 0 15px;
}

/* Prawa Koloumna */

div#rightColumn {
	float:right;
	width: 286px;
	padding: 0 16px 0 0;
	margin: 16px 0 16px 0;
	color: #fff;
}

div#rightColumn a {
	color: #fff;	
}
div#subpagesList ul {
	margin: 0px;
	_margin: -8px 0 0 0;
	padding: 0px;
}

div#subpagesList li {
	margin: 0px;
	display: block;
}

div#subpagesList li.active a{
	background-color: #dae6f3;
	color: #0855ac;
}

div#subpagesList li a{
	padding: 2px 10px;
	width: 266px;
	display: block;
	height: 100%;
}

div#subpagesList li a:hover{
	background-color: #dae6f3;
	color: #0855ac;
}

div#subpagesList ul li ul{
	margin: 0;
	_margin: 4px 0 4px 0;
	padding: 0px;
}

div#subpagesList ul li ul li ul{
	margin: 0;
	_margin: 8px 0 4px 0;
	padding: 0px;
}

div#subpagesList ul li ul a {
	padding: 2px 10px 2px 20px ;
	width: 256px;
	display: block;
}

div#subpagesList ul li ul li ul a {
	padding: 2px 10px 2px 40px ;
	width: 236px;
	display: block;
}

div#subpagesList li.active ul li a{
	background-color: transparent;
	color: #fff;
}

div#subpagesList li.active ul li a:hover{
	background-color: #dae6f3;
	color: #0855ac;
}

div#rightColumn .header, div#rightColumn .content, div#rightColumn .footer{
	padding: 0px;
	margin: 0px;
}


div#rightColumn .header{
	background: url('rightbgh.png') no-repeat;
	height: 8px;
}

div#rightColumn .content{
	background: url('rightbg.png');
	background-repeat: no-repeat;
	background-color: #0855AC;
	overflow: hidden;
}

div#rightColumn .footer{
	background: url('rightbgf.png') no-repeat;
	height: 8px;
}

/* Lewa Kolumna */

div#mainColumn {
	height: 100%;
	min-height: 100%;
	margin: 16px 0px 16px 15px;
	width: 607px;
	padding: 0px 16px 0px 0px;
	border-right: 1px #0661B1 solid;
}

div#pageTitle {
	margin: 0 0 10px 0;
	border-bottom: solid 1px #0661B1;
	overflow: hidden;
	_oveflow-x: hidden;
}

div#subtitle{
	width: 547px;
}

div#fontSize {
	text-align: right;
	width: 50px;
	float: right;
}

div#fontSize a.small {
	font-size: 11px;	
}

div#fontSize a.normal {
	font-size: 13px;	
}

div#fontSize a.big {
	font-size: 16px;	
}

div#pageContent a img {
	border: 0;
	margin: 0px 0px 10px 10px;
}

div#warning
{
	border: 1px solid #ec1c24;
	background: url('warningIco.png') 5px no-repeat #fff100;
	padding: 5px 5px 5px 40px;
	min-height: 22px;
	margin: 0px 0px 10px 0px;
}

/* News */

div.news {
	margin: 0px 0px 15px 0px;
	min-height: 160px;
	_height: 160px;
	background: url('newsBg.png') no-repeat;
	border-bottom: 1px solid #dae6f3;
	}

div.news .header{
	padding: 5px 10px;
	}

div.news .header h2 {
	border-bottom: 1px solid #0661B1;
}

div.news .header h3 {
	text-align: right;
}

div.news .content{
	padding: 10px 15px;
	border-left: 1px solid #dae6f3;
	border-right: 1px solid #dae6f3;
}

div.news .footer{
	height: 25px;
	padding: 5px 10px;
	border-left: 1px solid #dae6f3;
	border-right: 1px solid #dae6f3;
}

div.news .footer h3{
	text-align: right;
	border-top: solid 1px #0661B1;
}

div#pagination {
	text-align: center;
}

/* Stopka */

div#footer {
	position: absolute;
	clear: both;
	bottom: 0;
	height: 32px;
	padding: 0px 11px;
	color: #fff;
	width: 936px;
}

div#footer a {
	color: #fff;
	margin: 0;
	padding: 0 5px;
	border-right: 1px #fff solid;
}

div#footerMenu
{
	float: left;
	line-height: 32px;
}

div#copyright {
	font-size: 12px;
	float:right;
	margin: 10px 5px 0 0;
	line-height: 12px;
}

/* Onas->Kadra + Onas->Nasze Książki */

table.employee, table.book {
	width: 607px;
	min-height: 160px;
	_height: 160px;
	padding: 5px 10px;
	margin: 0 0 15px 0;
	background: url('newsBg.png') no-repeat;
	border-collapse: separate;
}

table.employee p img {
	vertical-align: middle;
}

table.employee img.photo{
	width: 100px;
	height: 100%;
	border: 5px solid #fff;
}

table.employee tr, table.employee td, table.employee tr:hover, table.book tr, table.book td, table.book tr:hover{
	background: none;
	vertical-align: top;
}

table.book .cover{
	float: left;
	width: 125px;
	border: 5px solid #fff;
	margin: 0px 5px 5px 0px;
}

table.book h4 {
	text-align: right;
}

/* Profil */

div#rightColumn .content{
	background: url('rightbg.png');
	background-repeat: no-repeat;
	background-color: #0855AC;
	overflow: hidden;
}

div#rightColumn div#photo .content, div#rightColumn div#Infos .content{
	padding: 2px 10px;
}

div#rightColumn div#photo  .content {
	text-align: center;
}

div#rightColumn div#photo img {
	border: 5px solid #fff;
}

form#frmPublications
{
	color: #000;
}