/* zapozyczone z jQuery UI */
.ui-helper-clearfix:after {
	content: ".";
	display: block;
	height: 0;
	font-size:0;
	clear: both;
	visibility: hidden;
}
/* szablon */
html, body {
	margin: 0;
	padding: 0;
}
fieldset, img {
	margin: 0;
	padding: 0;
}
body {
	color: #303030;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 11px;
	line-height: 1.5em;
}
p {
	text-align:justify;  /*ja*/
}
a{
	outline-style: none;
	color: #303030;
	text-decoration: none;
}
a img{
	border: none;
}
.presentations{
	text-decoration:none;
	color:#000;
	font-size:12px;
}
/* do podstrony ijpest*/
a.nav, a.nav:link, a.nav:visited {display:block; width:200px; height:50px; background:#ffffff; border:1px solid #810792; text-align:center; text-decoration:none; font-weight:bold; font-family:verdana, arial, sans-serif; font-size:15px; color:#00000; line-height:50px; overflow:hidden; float:left; margin-right:5px;} 
a.nav:hover {color:#fff; background:#810792;} 
a.nav:active {color:#fff; background:#810792;} 
a.active { display:block; width:200px; height:50px; background:#810792; border:1px solid #810792; text-align:center; text-decoration:none; font-family:verdana, arial, sans-serif; font-weight:bold;   font-size:15px;  color:#ffffff; line-height:50px; overflow:hidden; float:left; margin-right:5px;
}
a.back{display:block; width:100px; height:50px; background:#ffffff; border:1px solid #810792; text-align:center; overflow:hidden;text-decoration:none;font-weight:bold; font-family:verdana, arial, sans-serif; font-size:10px; color:#00000;  float:left; }
a.back:hover {color:#fff; background:#810792;}


/* do podstrony ijpest*/

#middle{
	
	width: 960px;
	margin: 0 auto 5px;
/*text-align: left;*/
	border-right: 1px solid #adadad;
	border-left: 1px solid #adadad;
	
	font-size: 12px;
	
}
#middle_ijpest{
	padding: 40px 20px 0 38px;
}
#middle a{
	color: #810792;
	text-decoration: none;
}

/* koniec do podstrony ijpest*/
img.photo{    /*do zdięć pracowników*/
	margin-left:5px;
	float:right;	
}	
h2{
	font-size: 16px;
	color: #810792;
	font-weight: bold;
}
h3{
	font-size:14;
	color:#810792;
	font-weight:bold;
	text-align: left;
	margin-left: 5%;

}
ul.pub{
	list-style-type: decimal;
	text-align:justify;
}

#top_container{
	height: 170px;
	width: 100%;
	border-bottom: 1px solid #810792;
	text-align: center;
}
#top{
	text-align: left;
	width: 960px;
	border-top: 5px solid #810792;
	margin: 0 auto;
	position: relative;
}
#logo{
	background-color: #e9edf0;
	border-left: 1px solid #adadad;
	border-right: 11px solid #810792; 
	width: 275px;
	height: 165px;
	float: left;
	line-height: 165px;
	text-align: center;
}
#logo img{
	margin:  45px auto;
	vertical-align: middle;
}
#header_img{
	border-right: 1px solid #abadac;
	height: 165px; 
	width: 672px; 
	float: right;
	margin:inherit;
	background-image: url('../gfx/bg_top.jpg');
	/*background-repeat: no-repeat;*/
}
#header_img_i{
	border-right: 1px solid #abadac;
	height: 165px;
	width: 672px;
	float: left;
	background-image: url('../gfx/bg_top_index.jpg');
	background-repeat: no-repeat;
}
#language_bar{
	position: absolute;
	top: 0;
	left: 830px;
	width: 47px;
	/* padding-bottom: 8px;*/ /* Ja*/
	background-image: url('../gfx/bg_button.gif');
	background-repeat: no-repeat;
	background-position: bottom;
}
/*#language_bar a{
	display: block;
	color: white;
	text-decoration: none;
	width: 100%;
	padding-bottom: 8px;
	padding-top: 10px;                       ja
	text-align: center;
	background-color: #810792;
}*/
#middle_container{
	width: 990px;
	margin: 0 auto;
	text-align: left;
}
#middle_right_container{
	float: right;
	border-right: 1px solid #adadad;
	width: 677px;
}
#gallery_title{
	background-color: #810792;
	height: 184px;
	font-weight: bold;
	font-size: 14px;
	border: 1px solid #adadad;
	width: 129px;
	float: left;
}	
#gallery_title div a{
	color: white;	
}
#gallery_title div{
	margin-top: 75px;
	margin-left: 10px;
}
#gallery_content img{
	border: 1px solid #adadad;	
	margin-left: 11px;
}
.line_separator{
	background-color: #adadad;
	height: 1px;
	width: 100%;
	margin-top: 10px;
}
.bg_blue{
	background-color: #e9edf0;
}
.article{
	padding: 7px 5px;
}
span.title{
	color: #810792;
	font-size: 13px;
}
#content_holder{
	border-left: 1px solid #adadad;
	margin: 17px 15px 60px 0;
	padding: 44px 0 0 38px;
	min-height: 600px;
	font-size: 12px;
}
#content_holder a{
	color: #810792;
	text-decoration: none;
}
#content_holder a:hover {
	color: #810792;
	text-decoration: underline;
}
/* do publikacji*/
#content_holder_pub{
	border-left: 1px solid #adadad;
	margin: 17px 15px 60px 0;
	padding: 44px 0 0 38px;
	min-height: 600px;
	font-size: 12px;
}
#content_holder_pub a{
	color: #F00;
	text-decoration: none;
}
#content_holder_pub a:hover {
	color: #F00;
	text-decoration: underline;
}
/*do publikacji*/
#middle_holder{
	float: right;
	width: 990px;
	position: relative;
	background-image: url('../gfx/bg_gray_bottom.gif');
	background-repeat: no-repeat;
	background-position: 0 100%
}
#middle_margin_right{
	width: 15px;
	height: 50px;
	float: right;
}
#middle_left_container{
	float: left;
	width: 280px;
}
#bg_bottom{
	position: absolute;
	bottom: -2px;
	left: 0px;
	background-image: url('../gfx/bg_bottom.jpg');
	width: 109px;
	height: 110px;
}
/* menu gorne*/
#menu_top{
	padding: 35px 40px 0 0;
	background-image: url('../gfx/bg_gray.gif');
	background-repeat: repeat-y;
	background-position: 15px;
}
#menu_top ul{
	list-style: none;
	margin: 0;
	font-size: 11px;
	line-height: 12px;
	padding: 0;	
}
#menu_top ul:first-child{
	padding: 0 0 60px 0;
	background-image: url('../gfx/dot.gif');
	background-repeat: no-repeat;
	background-position: 12px 100%;
}
#menu_top ul li a{
	color: #810792;
	text-decoration: none;
	padding: 6px 8px;
	margin-left: 15px;
	display: block;
}
#menu_top ul > li a{
	border: none;
}
#menu_top ul li + li a{
	border-top: 1px solid #adadad;
}
#menu_top ul li a:hover{
	text-decoration: underline;
}
/* aktywny element menu lvl1 */
#menu_top ul li.active{
	background-color: #810792;
}
#menu_top ul li.active a{
	color: white;
	padding: 6px 8px;
	display: block;	
	border:p none;
}
/* menu gorne lvl2 */
#menu_top ul li ul{
	display: none;
}
#menu_top ul li.active ul{
	background-color: white;
	display: block;
}
#menu_top ul li.active ul li a{
	color: #767676; 
	padding: 4px 20px;	
	background-image: url('../gfx/dot.gif');
	background-position: 8px 50%;	
	background-repeat: no-repeat;
	margin-left: 15px;
	border-left: 1px solid #adadad;

}
#menu_top ul li.active ul li.active{
  background-color: #ffffff;   /*ja*/
  color: #810792;
  text-decoration: underline;  /*ja*/
} 


/* menu dolne */
#menu_bottom{
	font-size: 16px;
	font-weight: bold;
	color: #810792;
}
#menu_bottom ul{
	list-style: none;
	margin: 0;
	font-size: 11px;
	line-height: 12px;
	padding: 0;	
	font-weight: normal;
}
#menu_bottom ul li a{
	color: #810792;
	text-decoration: none;
	padding: 6px 20px;
	margin-left: 15px;
	display: block;
	font-size: 13px;
	border-bottom: 1px solid #adadad;
	background-image: url('../gfx/dot.gif');
	background-position: 8px 50%;
	background-repeat: no-repeat;
}
#menu_bottom ul li a:hover{
	text-decoration: underline;
}
#menu_bottom ul > li a{
	border-top: 1px solid #adadad;
}
#menu_bottom ul li + li a{
	border-top: none;
}	
#menu_bottom ul li.active {    /*ja*/
  background-color: #ffffff;   /*ja*/
  color: #810792;
  text-decoration: underline;  /*ja*/
} 
#menu_bottom div{
	padding-left: 22px;
	padding-bottom: 15px;
	padding-top: 37px;
}
