
#content {  
  height: 100%;
  min-height: 100%;

  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 920 ? "920px" : "94%");  
  max-width: 920px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}

#content {
	
	}


#pagex {
	border-right: 8px solid #fff;
	border-left: 8px solid #fff;
	border-bottom: 8px solid #fff;
	}
#header1x {
	border-top: 8px solid #fff;
  	border-right: 8px solid #fff;
	border-left: 8px solid #fff;
	}
/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/
#header1 {
	margin-top: 18px;
	background-color: #decddd;
	height: 140px;
	width: 94%;
	padding-right: 1em;
  padding-left: 1em;
  	
	background-color: #A52A2A;
	background: url(../images/bg/head1.jpg) repeat-x 0px -12px;
	}
#header {
  position: relative;
  height: 140px;
  
 
}

/* Holds the site title and subtitle */
#header #titled {
  position: absolute;
  z-index: 3;
  top: 4px;
  right: 40px;

  padding: 5px;
  text-align: right;
}

#header h1 {
  margin: 0;
  padding: 0;

  
   font: 700 1.4em "trebuchet ms", serif;
  color: #008575;
}
#header h1.he1 {
	font: 800 3em times new roman, georgia, serif;
	line-height: 70%;
	letter-spacing: 1px;
 	position: absolute;
	top: 44px;
  	left: 0px;
}
#header h1.he2 {
	font: 700 1.5em times new roman, georgia, verdana, arial, "trebuchet ms", sans-serif;
	line-height: 200%;
	letter-spacing: 0px;
	color: #C78F27;
	position: absolute;
	top: 70px;
  	left: 3px;
}
#header h1.he2 .data {
	color: #654400;
}
#header h1.he3 {
	font: 700 1.6em times new roman, georgia, verdana, arial, "trebuchet ms", sans-serif;
	 font: 700 1.4em "trebuchet ms", serif;
	line-height: 110%;
	letter-spacing: 0px;
	position: absolute;
	top: 6px;
  	right: 0px;
  	color: #664703;
}
#header h2 {
  position: absolute;
  top: 113px;
  right: 0px;

  margin: 0;
  padding: 0;

  font: 700 1.4em "trebuchet ms", serif;

  color: #664703;
  
}
#header .t1 {
position: absolute;
top: 114px;
left: 0px;
color: #5C4414;
font: 700 1.1em "trebuchet ms", serif;
}



/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1;

  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;

  top: 0;
  right: 0;
}

#header img.balloons {
  position: absolute;
  z-index: 2;

  top: 70px;
  right: 400px;
}







/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/

ul.sideMenu {
  margin: 0 20px 0 0;
  padding: 0;
}

.sideMenu li {
  display: inline;
  
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif);
  font: 400 1.3em "trebuchet ms", serif;
}

.sideMenu li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 5px;    
  
  text-decoration: none;
  color: #00918f;
  border-bottom: 1px dashed #D4CCB1;
} 

.sideMenu li a:hover {
  color: #960000;
  
  
}

/* Active menu item */
.sideMenu li.here {
  display: block;  
  padding: 5px;
  color: #5d4b33;
  
}

/* Submenu of active menu item */
.sideMenu li.here ul {
  margin: 0;
  padding: 0;
}

.sideMenu li.here ul li a {
  padding-left: 35px;
  font: 400 0.55em verdana, arial, sans-serif; 
  color: #00918f;  
  background: url(../images/bg/bullet.gif) no-repeat 10px 0px;
}

.sideMenu li.here ul li a:hover {
  color: #960000;
  
}



/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 94%;
  clear: both;
  padding-top: 3em;
  margin-bottom: 4em;
  background-color: #FDFBF3;
  padding-right: 1em;
  padding-left: 1em;
  
 
  
 /*	*/
}




/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;
  
  margin-top: -3.8em;
  background: url(../images/bg/footx.jpg) repeat-x top left;
  
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 27px;
}

#footer, #footer a {
	color: #604C1A;
	}
#footer a:hover {
  color: #960000;
}
/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 74%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}



/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}



/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  margin-bottom: 2em;
  background: #FFF url(../images/bg/gradientXX.jpg) repeat-x bottom left; 
  padding-bottom: 0.6em;
  border: 2px solid #f6f3ea;
}

/**************************************************************
  formularze
 **************************************************************/
 .tableform {
 	padding-left: 30px;
 	}
 .tableform td.labe{
 	width: 150px;
	}
.tableform .sub {
	padding-top: 15px;
	border-width: 2px;
	}
.tableform h5 {
	margin-left: 0;
	padding-left: 0;
	}
 
 
/**************************************************************
  
 **************************************************************/
.logoimg {
text-align: center;
padding: 40px 0 0 0;
}
.logoimg img{
border: 2px solid #f6f3ea;
} 
.logoimg img a:hover {
border: 2px solid #DCD1B0;
}
