html, body {
padding: 0;
margin: 0;
height: 100%;
border: 0 none;
background-color: #2A0000;
cursor: default;
}
html>body {
min-width: 990px;
}
* html body {
/*overflow: auto;*/
text-align: center;
}

body {
	behavior: url(csshover.htc);	
}

/*div#rama {
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 0;
text-align: center;
background-color: Fuchsia;
}
* html body div#rama {

}
#ramaIE {
position: relative;
display: block;
margin: -320px auto 0;
width: 990px;
height: 680px;
border: 0 none;
}

* html body div#ramaIE {
margin: -300px auto 0;	
}*/

div {
	border: 0px solid #DBCEA4;
	padding: 0px;
	margin: 0px;
	vertical-align: top;
/*	background-color: #DBCEA4;*/
	word-break: break-all;
	overflow: visible;
	overflow-x: hidden;
}

h1 {
	color: Maroon;
	text-align: center;
	border: 0px solid white;
	padding: 10px;
	margin: 0px;
	margin-bottom: 3px;
}

a {
	color: Aqua;
}

a:hover {
	color: Green;
	text-decoration: underline;
}

	/* The Menu */

#menu,li ul,li li,li a {
	display:block;
	margin:0;
	padding:0;
	border:0;	
}

li ul {
	width: 150px;
	border: 0px solid #9d9da1;
	background: transparent;
	list-style: none;
}

#menu li,li li {
	position: relative;
	padding: 1px;
	padding-left: 0px;
	background: url(../image/button.gif) no-repeat;
	z-index: 9;
}
	li.folder	{
	background: url(../image/button.gif) no-repeat;
	min-height: 30px;
}		
	li.folder ul {
		position:relative;
		left:10px; /* IE */
		top:10px;
		margin-bottom: 10px;
	}		
		li.folder>ul { left:20px; } /* others */

li a {
	padding:2px;
	border:px solid white;
	text-decoration:none;
	text-align:center;
	color:black;
	font-weight:bold;
	font-size: 20px;
	width:120px; /* IE */
	height:30px;		
}
	li>a { width:120px; } /* others */

li a.submenu {
	background:url("") right no-repeat;
	color: black;
}

    #menu li li {
	background: url(../image/button_pod.gif) no-repeat;
	}

	 li li {
	background: url(../image/button_pod.gif) no-repeat;
	}

	/* regular hovers */

li a:hover {
	background: url("") no-repeat;
	color: Black;
	text-decoration: underline;
}
	li.folder a:hover {
		/*background-color:#bbb7c7;*/
	}

	/* hovers with specificity */
	
li.folder:hover { z-index:10; }		
		
ul ul, li:hover ul ul {
	display:none;
}

li:hover ul, li:hover li:hover ul {
	display:block;
}


	/* End of Menu*/

#rama {
	width: 990px;
	height: 680px;
	text-align: left;
	padding-right: 0px;
	padding-left: 0px;
	margin: 0 auto; /* można zapisać krócej: margin: 0 auto; */
	background-color: #2A0000;
	overflow: visible;
/*	vertical-align: middle;
 	display: table-cell;	*/
}

#gorna {
	border: 0px solid #CCCCFF;
	background-color: #CCCCFF;
	float: left;
	width: 711px;
	height: 137px;
	text-align: left;
	background: url(../image/banery/aktualnosci.jpg);
	background-repeat: no-repeat;
}

#lewa {
	border: 0px solid #CCCCFF;
	background-color: transparent;
	float: left;
	width: 278px;
	height: 670px;
	text-align: left;
	overflow: hidden;
	background-image: url(../image/tlo.jpg);
	background-position: left;
	background-repeat: repeat-y;	
}

#lewa_lewa {
	position: relative;
	left: 0px;
	top: 0px;
	float: left;
	width: 150px;
	overflow: hidden;
}

#lewa_prawa {
	position: relative;
	left: 0px;
	top: 0px;
	float: left;
	width: 128px;
	overflow: visible;
}

#srodek {
	position: relative;
	border: 0px solid #CCCCFF;
	background-color: #2A0000;
	margin: 0px 0px 0 0px;
	padding: 0px 0px 0 10px;
	width: 674px;
	height: 533px;
	float: left;
	color: White;
	word-break: keep-all;
	overflow: auto;
	scrollbar-base-color: Black;
	scrollbar-arrow-color: #2A0000;
	scrollbar-face-color: #2A0000;
}

#srodek div {
	border: 0px;
	margin: 0px 0px 0px 20px;
	word-break: keep-all;
	padding-right: 10px;
}

#srodek div p {
	text-indent: 25px;
}

#srodek div p:first-letter {font-size: 100%;}

#prawa {
	background-color: transparent;
	float: right;
	width: 25px;
	height: 533px;
	background-image: url(../image/rogd.jpg);
	background-repeat: repeat-y;
	background-position: right top;
}

#stopka_lewa {
	margin: 0px 0px 0 0px;
	padding: 0px 0px 0 10px;
	width: 269px;
	height: 30px;
	float: left;
	border: 0px solid #CCCCFF;
	color: White;
	background: url(../image/doll.jpg) top;
}

#stopka {
	margin: 0px 0px 0 0px;
	padding: 0px 0px 0 10px;
	background-color: transparent;
	width: 701px;
	min-height: 30px;
	float: left;
	color: White;
	background: url(../image/dolp.jpg) repeat-x top;
}

#baner {
	border: 0px solid #CCCCFF;
	border: 0px;
	font-size: 40px;
	font-weight: bold;
	font-family: monospace;
	position: relative;
	left: 0px;
	top: 0px;
	filter: ;
	visibility: visible;
}

#menu {
	border: 0px solid #9999CC;
	position: relative;
	left: 15px;
	top: 30px;
	float: left;
	overflow: hidden;
	width: 148px;
	padding: 0px;
	text-align: left;
	background-color: transparent;
}

#szczyt {
	position: relative;
	left: 0px;
	top: 0px;
	border-width: 0px;
	width: 270px;
	height: 35px;
	float: none;
	visibility: visible;
	background-image: url(../image/szczyt.jpg);
	background-repeat: no-repeat;
}

#logo {
	position: relative;
	left: 25px;
	top: 7px;
	border-width: 0px;
	width: 120px;
	height: 115px;
	float: left;
	visibility: visible;
	background-image: url(../image/logo.jpg);
}

#waga {
	position: relative;
	right: 10px;
	top: 32px;
	border-width: 0px;
	width: 65px;
	height: 217px;
	float: right;
	background-repeat: no-repeat;
	visibility: visible;
	background-image: url(../image/napis.gif);
}

#newslettler {
	position: relative;
	color: White;
	left: 22px;
/*	top: 80px;*/
	bottom: -40px;
	border-width: 0px;
	width: 130px;
	height: 120px;
	float: left;
	background-repeat: no-repeat;
	visibility: visible;
	background-image: url(../image/newsletter.gif);
	overflow: visible;
}

#newslettler #newslet_input {
	position: relative;
	top: 32px;
	left: 14px;
	width: 95px;
	height: 10px;
	background-color: Black;
	color: White;
}

* html body #newslettler #newslet_input {
	top: 30px;
}

#newslettler #newslet_b {
	position: relative;
	left: 0px;
	top: 40px;
	visibility: visible;
	background-image: url(../image/tlo.jpg);
	background-position: right;
	color: White;
}

#rudeboyban {
	position: relative;
	color: White;
	left: 20px; /*	top: 80px;*/
	bottom: -10px;
	border-width: 0px;
	width: 130px;
	height: 120px;
	float: left;
	background-repeat: no-repeat;
	visibility: visible;
	background-image: url(../image/rudeboyban.gif);
	overflow: visible;
}

#reklama {
	position: relative;
	right: 8px;
	top: 70px;
	border-width: 0px;
	width: 106px;
	height: 200px;
	float: right;
	background-repeat: no-repeat;
	visibility: visible;
	background-image: url(../image/reklamy.gif);
}

#sa_znami {
	position: relative;
	right: 8px;
	top: 60px;
	border-width: 0px;
	width: 95px;
	height: 15px;
	float: right;
	text-align: center;
	font-size: 15px;
	font-family: sans-serif;
	font-weight: bold;
	color: #DCDCDC;
	visibility: visible;
}

#guest_b {
	position: absolute;
	left: 850px;
	top: 190px;
	display: none;
}

.budowa {
	font: italic 20pt "Times New Roman", Times, serif;
	color: Navy;
	position: relative;
	top: 20px;
	text-align: center;
	text-decoration: underline;
	font-weight: bold;
	font-style: italic;
}



textarea#txtedit {
	background-color: #FAEBD7; 
}

fieldset {
	border: 1px solid #A52A2A;
	text-align: center;
	width: 590px;
}

h2 {
	color: #A52A2A;
}

div.table{
	display: table;	
}

div.tr {
	display: table-row;
	float: none;
}

* html body div.table div.tr {
	width: 100%;
}

div.td {
	display: table-cell;
	float: left;
		margin: 1px 1px 1px 1px;
}

div.form_podpis {
	float: left;
	width: 100px;
}

DIV.adm, .form_podpis {
	color: White;
}

div#srodek img {
	margin-bottom: -10px;
}

div#migacz {
	height: 80px;
	width: 115px;
	position: relative;
	right: 0px;
	top: 80px;
	float: right;
	background-image: url(../image/migacz.gif);
	border: 3px double Yellow;
}

div#tip {
	position: absolute;
	left: 400px;
	top: 110px;
	width: 436px;
	height: 400px;
	background-image: url(../image/tip.jpg);
	background-repeat: no-repeat;
	text-align: center;
	display: none;
	padding: 70px 30px;
}



div#tip div {
	position: relative; 
	left: 430px;
	top: 180px; 
	width: 376px;
	height: 250px;
	overflow: auto;
	margin: 0 auto;
	/*	color: Green;
	font-family: serif;
	font-style: normal;
	font-weight: bold;
	font-size: 25px;
	text-align: center;*/
	vertical-align: middle;
	display: table-cell;
}

div#tip_ramka {
	position: relative;
	width: 276px;
	height: 250px;
	display: block;
}

* html body div#tip {
	position: absolute;
	left: 400px;
	top: 110px;
	width: 436px;
	height: 400px;
	background-image: url(../image/tip.jpg);
	background-repeat: no-repeat;
	text-align: center;
	display: none;
	padding: 70px 0px;
}

* html body div#tip div {
	position: fixed;
	left: 430px;
	top: 180px;
	width: 376px;
	height: 250px;
	overflow: visible;
	margin: 0 auto;
/*	color: Green;
	font-family: serif;
	font-style: normal;
	font-weight: bold;
	font-size: 25px;
	text-align: center;*/
	vertical-align: middle;
	display: block;
}

* html body div#tip_ramka {
	position: fixed;
	width: 276px;
	height: 250px;
	display: block;
}

/****************************************************************/
/*                            GALERY                            */
/****************************************************************/

div#galery_menu {
	color: White;	
	margin-bottom: 20px;
	float: none;
	width: 600px;
	display: inline-block;
}

div#galery_menu div.katalogi {

	list-style: none;
	margin-bottom: 20px;
	margin-top: 10px;
	width: 100%;
	height: 100%;
}

div#galery_menu a {

	color: #663311;
	font-weight: bold;
	word-break: keep-all;
	display: block;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

div#galery_menu div a {
	border: 2px groove #6B3510;
	background-image: url(../image/migacz.gif);
	color: White;

	text-align: center;
	padding: 0 10px;
	font-weight: normal;
	word-break: keep-all;
}

div#galery_srodek {
	position: relative;
	color: White;
	text-align: center;
	float: none;
	
}

div#galery_srodek div.table {
	position: relative;
	margin: 0 auto;
}

div#galery_srodek div.tr {
	height: 150px;
}

div#galery_srodek div.td {
	width: 110px;
	height: 220px;
	margin: 5px;
	text-align: center;
}

div#galery_srodek div.td img {
	float: none;
	cursor: pointer;
}

div#galery_srodek div.galery_podpis {
	
}

LEGEND {COLOR: #FFF}
FIELDSET{
	border-color: White;
	margin: 30px 0 0 0;
}

/****************************************************************/
/*                       MOD MODE BBCODE                        */
/****************************************************************/

DIV.inform  {

}

.blockform {
	margin-top: 50px;
}

DIV.box {
/*	position: relative;*/
}

DIV.txtarea  {
/*	min-width: 650px;*/
	width: 585px;
}

DIV.toolbar {
	word-break: keep-all;
	overflow-x: hidden;
}

DIV.toolbar a.tool_btn, DIV.toolbar a.dropdown, DIV.toolbar a.dropdown_opened {
	float: left;
	padding: 0px 1px;
	margin: 2px 3px 2px 4px;
	text-decoration: none;
	text-transform: uppercase;
	display: block;
	font-family: sans-serif;
	font-weight: normal;
	text-align: justify;
	overflow: hidden;
	font-size: 90%;
}

DIV.toolbar a.tool_btn:hover, DIV.toolbar a.tool_btn:visited , DIV.toolbar a.dropdown:hover, DIV.toolbar a.dropdown:visited, DIV.toolbar a.dropdown_opened:hover, DIV.toolbar a.dropdown_opened:visited{
	float: left;
	padding: 0px 1px;
	margin: 2px 3px 2px 4px;
	text-decoration: none;
	text-transform: uppercase;
	display: block;
	font-family: sans-serif;
	font-weight: normal;
	text-align: justify;
	overflow: hidden;
	font-size: 90%;
	color: Black;
}

DIV.toolbar a.tool_btn:link , DIV.toolbar a.dropdown:link, DIV.toolbar a.dropdown_opened:link, DIV.toolbar a.tool_btn:visited , DIV.toolbar a.dropdown:visited, DIV.toolbar a.dropdown_opened:visited {
	color: Green;
	text-decoration: underline;
}

DIV.toolbar a.tool_btn:hover , DIV.toolbar a.dropdown:hover, DIV.toolbar a.dropdown_opened:hover {
	color: Purple;
	text-decoration: underline;
}

DIV.toolbar #inctxt, DIV.toolbar #dectxt, DIV.toolbar #help {
	float: right;
	margin-right: 4px;
	outline: none;
	word-break: keep-all;
}

/****************************************************************/
/* MOD MODERN BBCODE: POPUP PALETTE INDICATORS */
/****************************************************************/

/* 0. Common popup panel indicators */

#colorpalette #colorbtn, #sizepanel #sizebtn, #imgpanel #imgbtn, #listpanel #listbtn, #akapitpanel #akapitbtn {
	float: left;
	clear: left;
	height: 4px;
	padding: 0px 7px 0px 7px;
	margin: 0;
	text-decoration: none;
	text-transform: uppercase;
	border-bottom: 0;
	border-top: 0;
	margin-bottom: -1px;
	outline: none;
	padding-right: 2px;
}

#colorpalette, #sizepanel, #imgpanel, #listpanel, #akapitpanel {
	position: absolute;
	display: none;
	margin-top: 40px;
	word-break: keep-all;
	background-color: #FFE4C4;
}

#colorpalette #colorcontent, #smilescontent, #akapitpanel #akapitcontent, #sizepanel #sizecontent, #imgpanel #imgcontent, #listpanel #listcontent {
	padding: 1px;
}

.popupcontent_ie {
	float: left;
}


/* 2. Colors popup panel indicators */

#colorpalette {
	width: 40%;
	height: 70px;
	background-color: transparent;
	border: 0px;
	margin-top: 20px;
	margin-left: -50px;
}


#colorpalette #colorcontent {
	padding: 2px 1px 1px 2px;
}

#colorpalette #colorcontent a {
	float: left;
	width: 12px;
	height: 12px;
	margin: 0 1px 1px 0;
	padding: 0;
}

/* 2. Font-sizes, Images and Lists popup panel indicators */

#sizepanel, #listpanel, #imgpanel, #akapitpanel {
	width: 120px;
	background-color: transparent;	
}

#imgpanel {
	width: 120px;
}

#sizepanel #sizecontent a, #imgpanel #imgcontent a, #listpanel #listcontent a, #akapitpanel #akapitcontent a {
	float: left;
	clear: left;
	margin: 0 0 0 0;
	width: 100%;
	padding: 2px 2px 0 0;
	display: inline;
	text-decoration: underline;
	border: 0px solid #FFF;
	color: Green;
	background: #FFF;
	word-break: keep-all;
	border: 1px solid Black;
}

#sizepanel #sizecontent a:hover, #imgpanel #imgcontent a:hover, #listpanel #listcontent a:hover, #akapitpanel #akapitcontent a:hover {
	font-weight: bold;
}

#imgpanel #imgcontent a {
/*	width: 96%;	*/
}

#sizepanel #sizecontent a:hover, #imgpanel #imgcontent a:hover, #listpanel #listcontent a:hover  {
	padding: 2px 2px;
	
}

div.autor {
	text-align: right;
	text-decoration: none;
}
