
* {
	margin: 0; padding: 0;
}
html{
	height:100%;
}

body {
	font-size: 11px;
	font-family: Tahoma, sans-serif;
	height:100%;
	margin:none;
	border:none;
	padding:none;
	display:block;	
}

select{
	font-size: 11px;
	font-family: Tahoma, sans-serif;	
}
select option{
	margin-left:5px;
}


.clear {
	clear: both;
}

.Info{
	width:100%;
	text-align:center;	
}
.Info p{
	width:100%;
	height:50px;
	margin-top:30px;	
}

.Info2{
	width:440px;
	text-align:center;	
}
.Info2 p{	
	height:50px;
	width:440px;
	margin-top:30px;	
}





#Container {
	width: 915px;
	margin: 0 auto;
	background-color: #fff;
	border:0px solid #ff0000;
	/*border:1px solid #000000;
	min-height:1400px;*/
	
}

#Top {
	width: 740px;
	height: 50px;
	margin: 0 auto;
	color: #f58345;
	font-size: 14px;
	font-weight: bold;
	vertical-align: bottom;

	padding-left:175px;
	border-top : solid #f58345;
	border-width : 10px;
	clear:both;

}
#Top #Header {        
        float: left;
        height : 50px;
        width : 495px;        
        text-align: left;
        border: 0px solid #ff0000; 

}

#Top #Header.active{        
        border-bottom: 1px solid #F58345;
}


#Top #Header p {        

    color: #f58345;
    font-size: 12px;
    font-weight: bold; 
    margin-top:30px;
    
}

#Top #Search {        
        float: left;
        height : 50px;
        width : 220px;
        
        background-color: #ffe8d4;
        text-align: center;      
        border: 0px solid #ff0000;  
        border-bottom: 1px solid #f58345;
}
#Top #Search #Search_Panel{

	margin-top: 10px;
	height:40px;
	width : 220px;
	border: 0px solid #ff0000;
}



#Top #Search form{
	margin-left:10px;
	margin-top:15px;
}
#Top #Search form .btn{	
	margin-top:3px;
}

#Top #Search p{
	margin-top:2px;
	margin-right:4px;
	margin-left:3px;
	font-size: 11px;
	float: left;        
}
#Top #Search input.text {
	display: block;
	float: left;
	height: 12px;
	width: 110px;
	border: 1px solid #f58345;
	color: #aeab8e;
	font-size: 11px;
	margin-top:3px;
}
#Top #Search input.btn {
	display: block;
	float: left;
	height: 14px;	
	
}


#Left {
	width: 175px;
	float: left;    
	height:100%;
    padding-top : 15px;  
    
}
#Left a img{
	border:none;
}

#Left #Logo {
      text-align: center;
      margin-bottom:30px;:
}

#Left_img {
	width: 175px;
	float: left;
	display: block;	    
}

#Left_img a img{
	border:none;
}
#Left #Menu {
	text-align:left;
	margin-top:122px;
	margin-bottom:20px;
}
#Left #Menu ul{
	list-style-type: none;
}

#Left #Menu ul li a{
	font-size: 12px;
	font-weight: bold;
	color: #f58345;
	text-decoration: none;

}

#Left #Menu ul li a.active{
 color:#000000;
 text-decoration: none;
 
}
#Left #Menu ul li ul{
 padding:2px 0px 5px 10px;
}

#Left #Menu ul li ul li a
{
 font-size: 12px;
}

#Left #Menu ul li ul li a.active
{
 color:#000000;
}



/*Boxy*/
#Content {	
    width: 740px;
	float: left;	
	height:auto;	
}
#Content_bottom{
    width: 740px;
	float: left;
}

#Center {	
    width: 495px;
	float: left;		
	height:100%;
	/*margin-right:45px;*/
	min-height:200px;
}
#Center_bottom {	
    width: 700px;
    height:100px; 
	float: left;		
}

#Center2 {	
    width: 450px;
	float: left;		
	margin-right:45px;
	margin-bottom:45px;
}

#Center2 p.content{	
	font-size:11px;
}
#Center2 p.content p{	
	font-size:11px;
}


#Center2 h1{
	width:100%;
	height:20px;
	background-color: #ffffff;
	border-bottom: 1px solid #f58345;
    color: #f58345;
    font-size: 12px;
    font-weight: bold; 
}

#Center2 h2{
    color: #f58345;
    font-size: 12px;
    font-weight: bold; 
    margin-bottom:3px;
}

#Center2 span.data{
    color: #f58345;
    font-size: 11px;
    font-weight: bold; 
}

#Center2 #print{
	width:100%;
	height:20px;	    
}
#Center2 #print a{
	float:right;
	margin-top:3px;
}


#Center3 {	
    width: 715px;
	float: left;		
}
#Center3 h1{
	width:100%;
	height:20px;
	background-color: #ffffff;
    color: #f58345;
    font-size: 12px;
    font-weight: bold; 
}
#Center3 #print{
	width:440px;
	height:20px;	    
	float:left;	
	border-top: 1px solid #f58345;
}

#Center3 #break{
	width:220px;
	height:20px;	    
	float:left;	
	border-top: 1px solid #f58345;
	margin-left:55px;
}

#Center3 #print a{
	float:right;
	margin-top:3px;
}

/*Lista Centralna*/
.Center_List2 ul {	
	list-style-type:none;

}
.Center_List2 ul li div.d1{	
	border-top: 1px solid #f58345;
	
}

.Center_List2 ul li a{	
    color: #f58345;
    font-size: 11px;    
    text-decoration:none;
}
.Center_List2 ul li p{	
	font-size: 11px;
}

.Center_List2 ul li p.content{	
	margin-top:11px;
}
.Center_List2 ul li p.content p{	
	
}

.Center_List2 ul li  a.more{	
	font-size: 8px;
	
}



.List3 ul li div.d1{		
	width:440px;
	float:left;	
	padding-top: 10px;
 }
 .List3 ul li div.first {	
	border: none;
	padding-top: 0px;
	
}

 
 
 .List3 ul li div.d1 span.data{		
 	font-weight:700;
    color: #f58345;
	
 }

 
 
.List3 ul li div.d1 a{			
	margin-top: 5px;
	font-size: 12px;
	font-weight:700;
 } 

 .List3 ul li div.d1 a.more{			
	font-size: 8px;
 } 

 
.List3 ul li div.d2{		
	float:right;
	margin-left:18px;
	padding:0;
	height:215px;
	width:220px;
	
 }

.List3 ul li div.d22 {		
	border:0px;
	margin-bottom:8px;
 } 
 
.List3 ul li div.d2 span{		
	font-size: 11px;
 } 
.List3 ul li div.d2 a{		
	font-size: 11px;
	font-weight:700;
 } 
 
 
.table1{
	height:100%;
}
#Main_Table
{
	height:100%;
}



#Main_Table #td2 
{
vertical-align:top;
}
 
#Main_Table .td2
{
	
	background:url(/images/prawa_tlo1.jpg) right repeat-y;
}


/*Koniec lista centralna*/







/*Strony statyczne*/
#Center2 .content{
	margin-top:15px;
}
#Center2 #Files, #Center #Articles{	
	width:100%;
	margin:10px;
}
#Center2 #Files h2 , #Center2 #Articles h2{		
	font-size: 11px;
	font-family: Tahoma, sans-serif;
	font-weight:700;
}

#Center2 #Files ul,#Center2 #Articles ul {		
	list-style-type:none;
}
#Center2 #Files ul li a,#Center2 #Articles ul li a {		
	 color: #f58345;
	 text-decoration:none;
}



#Right {       
      width: 220px;
      /*min-height:550px;       */
      float: left;      
      background-color: #ffe8d4;    
      height:100%;    
      margin-bottom:10px;          
      
}
#Right_bottom {       
      width: 220px;
      height:100px;      
      float: left;      
      background-color: #ffe8d4;                  
}

#Right h1{
	width:100%;
	height:20px;
	background-color: #ffffff;
	border-bottom: 1px solid #f58345;
    color: #f58345;
    font-size: 12px;
    font-weight: bold; 
}
#Right span.data{
    color: #f58345;
    font-weight: bold; 
}

#Right h3{
	width:100%;
	margin-left:25px;
	font-size: 11px;
}



/*Panel kryteriow szukania w liscie*/
.SearchPanel{
	width:100%;
	height:30px;	
}

.SearchPanel p{
	float:left;
	margin-top:3px;
	margin-right:3px;
}
.SearchPanel select{
	float:left;
}

/**/

/*Lista Centralna*/
.Center_List ul {	
	list-style-type:none;
	margin-top:15px
}
.Center_List ul li{	
	margin-bottom:20px;	
	
}

.Center_List ul li a{	
    color: #f58345;
    font-size: 11px;    
    text-decoration:none;
}
.Center_List ul li p{	
	font-size: 11px;
}

.Center_List ul li p.content{	
	margin-top:11px;
}
.Center_List ul li p.content p{	
	
}

.Center_List ul li  a.more{	
	font-size: 8px;
	
}

/*Koniec lista centralna*/

.List1 ul li{
	border-top: 1px solid #f58345;
	padding-top:10px;
}

.List1 ul li:first-child{
	border-top: 0px;
	padding-top:0px;
}
.List1 ul li a {
    color: #f58345;
    font-size: 12px;
    font-weight: bold; 
    margin-bottom:5px;
}

.List1 ul li p {
     font-size: 11px;
}

.List1 ul li span .textb {
    color: #f58345;
}

/*Lista obrazow np patroni*/
.Images_List {
	margin-top: 20px;
	width:100%;
	height:100px;
}
.Images_List ul{
	list-style-type:none;	
	width:100%;
}
.Images_List ul li{
	float:left;	
	width:33%;
	text-align:center;
}
/*koniec lista obrazow*/

/*Stronicowanie*/
#Pager {	
	text-align:center; 
	line-height:1.55em;
	border: 0px solid #000000;
	width:100%;
	padding-bottom:20px;
}
#Pager ul li a {
	padding:0 4px;
	color: #c9c9c9;
	text-decoration:none;
}
#Pager ul  {
	list-style-type: none;
}
#Pager ul li {
	float:left;
}

#Pager ul li a.active {
	border:1px solid #d3d3d3; 
	color:#f58345;
	text-decoration:none;
}

#Pager ul li a.prev {
	padding:0 0 1px 22px; 
	background:url(/images/arrow_left.gif) left no-repeat; 
	float:left;
}
#Pager ul li a.next {
	padding:0 21px 1px 0; 
	background:url(/images/arrow_right.gif) right no-repeat; 
	float:left;
}

/*koniec stronicowanie*/


/*Prawa lista*/
.Right_List ul, .Right_List div.div1 {	
	margin-bottom:30px;
	margin-left:25px;
	margin-right:19px;
	margin-top:19px;
	margin-bottom:19px;
	
}

.Right_List ul.List1{
	list-style-type:none;
	margin-bottom:10px;	
	margin-top:0px;	
	
}

.Right_List h3{
	margin-bottom:5px;	
}


.Right_List ul.List1 li img{
	
	margin-right:3px;	
	float:left;	
}
.Right_List ul.List1 li h2{
	
	float:left;
}

.Right_List ul li a.right{
	
	font-size:11px;
}
.Right_List ul.List1 li a.right{
	
	font-size:11px;
}



.Right_List div.inlist {
	margin-top:0px;
	margin-bottom:0px;
	margin-left:5px;
	float:left;
	width:77px;
}


.Right_List ul li{
	margin-bottom:10px;
	font-size: 11px;
}

.Right_List ul li h2 a{
    color: #f58345;
    font-size: 11px;
    font-weight: bold;	
    text-decoration:none;
}
.Right_List ul li a{
    color: #f58345;
    font-size: 8px;
    font-weight: bold;	
    text-decoration:none;
}
.Right_List ul li  a.more{	
	font-size: 8px;
}

.Right_List h1{
	width:100%;
	height:20px;
	background-color: #ffffff;
	border-bottom: 1px solid #f58345;
    color: #f58345;
    font-size: 12px;
    font-weight: bold;              
	
}
.Right_List ul li p{
 	font-size: 11px;
}



.Right_List span.small{
 	font-size: 10px;
}

/*koniec prawa lista*/


/*Kalendarz*/
.Calendar{
	/*margin-left:25px;
	margin-right:19px;
	margin-top:10px;
	margin-bottom:19px;
	*/
}

.Calendar h2{	
    color: #f58345;
    font-size: 12px;
    font-weight: bold;                     
    text-align:left;	
    margin-bottom:10px;
}

.calOne {width:100%; font-size: 8px; text-align:center;}
.calH {height:34px; margin: 0 0 -3px 0; font-size:1em; position:relative;}

.cal {background-color: #ffe8d4; color:#000000;}
.cal p{font-size: 11px;}
.cal_navig{ font-size: 8px; color:#f58345; margin:3px; text-decoration: none; font-weight: 700;}
#month{padding:0;margin:0;

	font-size: 12px;
	font-weight: bold;
	color: #f58345;


} 
 #year{margin-left:5px;padding:0;

	font-size: 12px;
	font-weight: bold;
	color: #f58345;

}
.cal table {width:173px; margin:0; border: 1px;background-color: #fff;}
.cal td {width: 23px; height: 23px;  text-align:center; background-color:#f4e8db; text-align:right;font-size:11px;}
.cal td a {display:block; width:15px;margin-left: 3px;margin-top: 4px;margin-right: 3px; height:17px; text-decoration:none; color:#ffffff;}
.cal td span {margin: 3px;}
.cal .past {color:#6f6f6f;}
.cal .today {background-color:#c0c0c0;}
.cal .event {background-color:#f58345; color:#fff;}
.cal .event_past {background-color:#f9bf9f; color:#fff;}

.tip {display:none;}
.active .tip {display:block;}
.tip, .tip2 {width:160px; text-align:left; position:absolute; bottom:8px; left:-11px; z-index:1;}
.tipTop {height:4px; font-size:0; background:#ff0000;}
.tipBottom {height:11px; font-size:0; background:#ff0000;}
.tipInn {padding:6px 19px 9px 13px; background:#ff0000;}
.tipInn h4 {margin:0; font-size:0.91em;}
.tipPos {position:relative; z-index:1;}

/*koniec kalendarz*/


/*Galeria pionowa*/

.GalleryVertical{
	width:220px;
	margin-top:20px;
	margin-bottom:40px;
}


.GalleryVertical ul{
	list-style-type: none;	
}

.GalleryVertical  ul li {
	background-color: #ffe8d4;
	margin-top:	10px;
	margin-right:	0px;
	margin-bottom:	0px;
	margin-left:	0px;		
}

.GalleryVertical ul li:first-child{
	margin-top:0px;
}

.GalleryVertical ul li a { 	
    text-decoration: none;
	color: #f58345;
	padding: none; border: none; margin:none;
	font-size:11px;
}

.GalleryVertical ul li a img {
	border:	 none;
}

.GalleryVertical ul li p.title {	
	color: #000000;
	margin-left:5px;
	font-size:11px;
}


.GalleryVertical ul li p.title a {	
	text-decoration: none;	
	color: #000000;
	font-weight:700;
	font-size:11px;
}


.GalleryVertical ul li p.date {	
	color: #f58345;
	font-weight:700;
	margin-left:5px;
	font-size:11px;
}

.GalleryVertical div{
	text-align:	center;
}
.GalleryVertical div a img{
	border:0px;
}
.GalleryVertical #gallery_next_container span{
	display: block;	
}
.GalleryVertical #gallery_prev_container span{
	display: block;	
}


/*koniec galeria pionowa*/


/*Galeria pozioma*/

.GalleryHorizontal{
	width:739px;
	height:200px;
	display:block;
	position:relative;
	margin-top:15px;
	margin-bottom:20px;
}

.GalleryHorizontal ul li{
	list-style-type: none;		
}



.GalleryHorizontal ul li {	
	margin-top:	0px;
	margin-right:	0px;
	margin-bottom:	10px;
	margin-left:	14px;	
	float:left;			
}
.GalleryHorizontal div{
	width: 8px;
	float:left;
	border: 0px solid #ff0000;
	margin-top:80px;
}
.GalleryHorizontal div#prev{
	margin-left:3px;
	margin-right: 2px;
}
.GalleryHorizontal div#next{
	margin-left:1px;
	margin-right: 0px;
}

.GalleryHorizontal ul li:first-child{
	margin-left:0px;
}
.GalleryHorizontal ul li.first{
	margin-left:0px;
}

.GalleryHorizontal ul li span a  {
	width:8px;
	font-size: 11px;
}
.GalleryHorizontal ul li span a img {
	margin-top:80px;
}


.GalleryHorizontal ul li a img {
	border:	 none;
	margin-right:0px;
}


.GalleryHorizontal ul li p.title {	
	color: #000000;
	font-size: 11px;
}


.GalleryHorizontal ul li p.title a {	
	text-decoration: none;	
	color: #000000;
	font-weight:700;
	font-size: 11px;
}


.GalleryHorizontal ul li p.date {	
	color: #f58345;
	font-weight:700;
	font-size: 11px;
}


.GalleryHorizontal ul li h2 a {	
	font-size: 11px;
	font-family: Tahoma, sans-serif;
	text-align: left;
}

.GalleryHorizontal div{
	text-align:	center;
}
.GalleryHorizontal div a img{
	border:0px;
}

.GalleryHorizontal #gallery_next_container{

	/*height: 30px;
	background-repeat: no-repeat;
	background-image: url(images/hover_next.png);
	background-position: 21px 35px;
	padding: none;	
	left: 715px;
	width: 20px;
	top: 60px;
	z-index: 1000;
	border: 1px solid #ffff00;
	position:absolute;*/
	float:left;	
}

.GalleryHorizontal #gallery_next_container span{
	display: block;	
}

.GalleryHorizontal #gallery_prev_container{

	height: 30px;
	background-repeat: no-repeat;
	background-image: url(images/hover_next.png);
	background-position: 21px 35px;
	padding: none;	
	left: 0px;
	width: 20px;
	top: 60px;
	z-index: 1000;
	border: 0px solid #ffff00;
	position:absolute;	
	margin-left: -16px;
	margin-top: 17px;
}

.GalleryHorizontal #gallery_prev_container span{
	display: block;	
}

/*koniec galeria pozioma*/

#Container2{
	margin: none;
	padding:none;
}

#Center4{

	vertical-align:bottom;
	width: 915px;
	height: 70px;
	margin: 0 auto;	
	background:url(/images/prawa_tlo.jpg) right repeat-y;
	width:915px;
	height:155px; 
	border: 0px solid #000000;
	vertical-align:bottom;

}

#Center40{

	vertical-align:bottom;
	width: 915px;
	height: 0px;
	margin: 0 auto;	
	border: 0px solid #ff0000;
}
#Center4_1{
	width:670px; 
	border: 0px solid #ff0000;
	float:left;
	vertical-align:bottom;
	
}

/*Stopka*/
#Footer {
	vertical-align:bottom;
	width: 915px;
	height: 58px;
	margin: 0 auto;	
	background-color: #f58345;
	background-repeat: no-repeat;
	color: #fff;	
	font-size: 11px;
	line-height: 12px;
	border: 0px solid #ff0000;
}

#Footer #Footer_Left{
	width: 170px;
	float:left;	
	height: 50px;
	padding-top:5px;
	padding-bottom:0px;
}

#Footer #Footer_Left img{
	margin-left:10px;
	margin-top:5px;
}


#Footer #Footer_Center{
	width: 493px;
	float:left;	
	text-align:left;
	height: 50px;
	padding-top:5px;
}
#Footer #Footer_Right{
	width: 247px;
	float:left;	
	height: 50px;
	font-size: 10px;
}

#Footer #Footer_Right p{
	margin-left: 7px;
	margin-top: 5px;	
}

/*Koniec stopka*/

/*Mapa serwisu*/
.tree ol {margin:0; padding:0; list-style:none;}
.tree {margin:-7px 0 20px; border-bottom:0px solid #dedede; color:#242424;}
.tree li {padding:10px 3px 3px;}
.tree li.first {border-top:none;}
.tree ul {margin:3px -6px -2px; border-top:0px solid #dedede;list-style:none;}
.tree ul li {padding:2px 6px; font-weight:normal; border-top:none;}
.tree ul ul {margin:2px 0 -2px; border-top:none;}
.tree ul ul li {margin:0 -6px;}


.tree a {color:#000;}
.tree li img {margin:-4px 0 -4px;}

.tree ul li  img {margin:-2px 0; }
.tree img.end {margin-left:-1px; margin-right:1px;}

/*Koniec mapa serwisu*/


/*Tooltip*/
#cluetip-close img {
  border: 0;
}
#cluetip-title {
  overflow: hidden;
}
#cluetip-title #cluetip-close {
  float: right;
  position: relative;
}
#cluetip-waitimage {
  width: 43px;
  height: 11px;
  position: absolute;
  background-image: url(wait.gif);
}
.cluetip-arrows {
  display: none;
  position: absolute;
  top: 0;
  left: -11px;
  height: 22px;
  width: 8px;
  background-repeat: no-repeat;
  background-position: 0 0;
}
#cluetip-extra {
  display: none;
}


.cluetip-default {
  background-color: #F58345;
  border: 1px solid #000000;
  
}
.cluetip-default #cluetip-outer { 
  position: relative;
  margin: 0;
  background-color: #F58345;
  font-size:18px;
  color:black;
  
}
.cluetip-default h3#cluetip-title {
  margin: 0 0 5px;
  padding: 8px 10px 4px;
  font-size: 1.1em;
  font-weight: normal;
  background-color: #F58345;
  color: #fff;
}
.cluetip-default #cluetip-title a {
  color: #ffffff;
  font-size: 12px;
  
}  
.cluetip-default #cluetip-inner {
  padding-left: 5px;
  padding-bottom: 5px;
}
#cluetip-inner ul{	
	list-style-type:none;
}
#cluetip-inner ul li a{	
	color: #fff;
	font-size:12px;
	text-decoration:none;
}
#cluetip-inner ul li span{	
	color: #fff;
	font-size:12px;
	
}


.cluetip-default div#cluetip-close { 
  text-align: right;
  margin: 0 5px 5px;
  color: #900;
}

/* default arrows */

.clue-right-default .cluetip-arrows {
  background-image: url(/images/arrow_left.gif);
}
.clue-left-default .cluetip-arrows {
  background-image: url(/images/arrow_right.gif);
  left: 100%;
  margin-right: -11px;
}
.clue-top-default .cluetip-arrows {
  background-image: url(/images/arrow_down.gif);
  top: 100%;
  left: 50%;
  margin-left: -11px;
  height: 11px;
  width: 15px;  
}  
.clue-bottom-default .cluetip-arrows {
  background-image: url(/images/arrow_up.gif);
  top: -11px;
  left: 50%;
  margin-left: -11px;
  height: 11px;
  width: 15px;
}

/* stupid IE6 HasLayout hack */
.cluetip-rounded #cluetip-title,
.cluetip-rounded #cluetip-inner {
  zoom: 1;
}

/*Galeria */
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
  font: 12px Arial, Helvetica, sans-serif;
  color: #333333;
}
#TB_secondLine {
  font: 10px Arial, Helvetica, sans-serif;
  color:#666666;
}
#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
  position: fixed;
  z-index:100;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}
.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
  background-color:#000;
  filter:alpha(opacity=75);
  -moz-opacity: 0.75;
  opacity: 0.75;
}
* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_window {
  position: fixed;
  background: #ffffff;
  z-index: 102;
  color:#000000;
  display:none;
  border: 4px solid #525252;
  text-align:left;
  top:50%;
  left:50%;
}
* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_window img#TB_Image {
  display:block;
  margin: 15px 0 0 15px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #666;
  border-left: 1px solid #666;
}
#TB_caption{
  height:25px;
  padding:7px 30px 10px 25px;
  float:left;
}
#TB_closeWindow{
  height:25px;
  padding:11px 25px 10px 0;
  float:right;
}
#TB_closeAjaxWindow{
  padding:7px 10px 5px 0;
  margin-bottom:1px;
  text-align:right;
  float:right;
}
#TB_ajaxWindowTitle{
  float:left;
  padding:7px 0 5px 10px;
  margin-bottom:1px;
}
#TB_title{
  background-color:#e8e8e8;
  height:27px;
}
#TB_ajaxContent{
  clear:both;
  padding:2px 15px 15px 15px;
  overflow:auto;
  text-align:left;
  line-height:1.4em;
}
#TB_ajaxContent.TB_modal{
  padding:15px;
}
#TB_ajaxContent p{
  padding:5px 0px 5px 0px;
}
#TB_load{
  position: fixed;
  display:none;
  height:13px;
  width:60px;
  z-index:103;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}
* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_HideSelect{
  z-index:99;
  position:fixed;
  top: 0;
  left: 0;
  background-color:#fff;
  border:none;
  filter:alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  height:100%;
  width:100%;
}
* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_iframeContent{
  clear:both;
  border:none;
  margin-bottom:-1px;
  margin-top:1px;
  _margin-bottom:1px;
}