html
{
	height:100%;
}
body
{
	background: url('./img/bg.png') repeat;
	height:100%;
}
/*** head and menu ***/
#main
{
	background:  url('./img/top_bg_02.jpg') repeat-x top;
	margin: 0;
	padding: 0;
	height: auto;
	width:100%;
	min-height: 100%; 
	height: 100%; /* IE */
	position: relative;
}
body>#main 
{
	height: auto;
}
#page
{
	width:1019px;
	margin:0 auto;
}
#top_line
{
	
	height: 134px;
}
#logo img
{
	border: none;
}
a#logo
{
	display: block;
	float:left;
	
}

ul#menu
{
	margin:0 0 0 160px;
	height:30px;
	padding:0;
	list-style:none;
	text-align: center;
}
ul#menu li
{
	float:left;
	height: 20px;
	margin: 0 0 0 0;
	padding: 0;
	background:none;
	display:inline;
	font-size:12px;
	*margin-top:2px;
}
ul#menu li a
{
	margin:3px 0 0 0;
	padding: 0 0 0 22px;
	display: block;
	height:20px;
}

ul#menu .active
{
	background:  url('./img/menu_active.png') no-repeat left bottom;
}
a:link#rahatlukum, a:visited#rahatlukum
{
	background:  url('./img/menu_rl.jpg') no-repeat center center;
	width: 125px;
	
}
a:link#kurzy, a:visited#kurzy
{
	background:  url('./img/menu_ka.jpg') no-repeat center center;
	width: 120px;
	text-decoration: none;
}
a:link#galerie, a:visited#galerie
{
	background:  url('./img/menu_g.jpg') no-repeat center center;
	width: 75px;
}
a:link#reference, a:visited#reference
{
	background:  url('./img/menu_r.jpg') no-repeat center center;
	width: 95px;
}
a:link#forum, a:visited#forum
{
	background:  url('./img/menu_f.jpg') no-repeat center center;
	width: 75px;
}
a:link#kontakty, a:visited#kontakty
{
	background:  url('./img/menu_k.jpg') no-repeat center center;
	width: 95px;
}
/*** active menu ***/
a:hover#rahatlukum, a:active#rahatlukum, li.active a:link#rahatlukum, li.active a:visited#rahatlukum
{
	background:  url('./img/menu_a_rl.jpg') no-repeat center center;
	width: 125px;
}
a:hover#kurzy, a:active#kurzy, li.active a:link#kurzy, li.active a:visited#kurzy
{
	background:  url('./img/menu_a_ka.jpg') no-repeat center center;
	width: 120px;
}
a:hover#galerie, a:active#galerie, li.active a:link#galerie, li.active a:visited#galerie
{
	background:  url('./img/menu_a_g.jpg') no-repeat center center;
	width: 75px;
}
a:hover#reference, a:active#reference, li.active a:link#reference, li.active a:visited#reference
{
	background:  url('./img/menu_a_r.jpg') no-repeat center center;
	width: 95px;
}
a:hover#forum, a:active#forum, li.active a:link#forum, li.active a:visited#forum
{
	background:  url('./img/menu_a_f.jpg') no-repeat center center;
	width: 75px;
}
a:hover#kontakty, a:active#kontakty, li.active a:link#kontakty, li.active a:visited#kontakty
{
	background:  url('./img/menu_a_k.jpg') no-repeat center center;
	width: 95px;
}
/*** left menu ***/
ul#menu_left
{
	margin: 20px 0 0 5px;
	padding:0;
	list-style:none;
}
ul#menu_left li
{
	height: 20px;
	margin: 0;
	padding: 0;
	background:none;
	font-size:12px;
}
ul#menu_left li a
{
	margin:0;
	padding: 0 0 0 25px;
	display: block;
}
ul#menu_left li a:link, ul#menu_left li a:visited
{
	color: #000;
	font-weight:bold;
	text-decoration:none;
}
ul#menu_left li a:hover, ul#menu_left li a:active, ul#menu_left li.active a:link, ul#menu_left li.active a:visited
{
	color: #ecd4c0;
	background:  url('./img/menu_icon.png') no-repeat left center;
}
/*** right menu ***/
ul#menu_right
{
	margin: 20px 10px 0 0;
	padding:0;
	list-style:none;
}
ul#menu_right li
{
	height: 20px;
	margin: 0;
	padding: 0;
	background:none;
	font-size:12px;
	text-align: right;
}
ul#menu_right li a
{
	margin:0;
	padding: 0 0 0 25px;
	display: block;
}
ul#menu_right li a:link, ul#menu_right li a:visited
{
	color: #000;
	font-weight:bold;
	text-decoration:none;
}
ul#menu_right li a:hover, ul#menu_right li a:active
{
	color: #ecd4c0;
}
/*** content ***/
#content
{
	width: 644px; 
	background: #ae8066;
	float:left;
	margin: 0;
	padding: 10px 20px;
	padding-bottom:70px;
}
#left
{
	
	width:180px;
	float: left;
}
#right
{
	
	width: 155px;
	float: left;
}
#news
{
	width: 350px;
}
#news p
{
	margin: 2px 0 10px 40px; 
}
#news h2
{
	background: url('./img/hl_icon.jpg') no-repeat left center;
	padding: 10px 0 10px 40px;
}
/*** footer ***/
#footer
{
	background: url('./img/foot_bg.jpg') repeat-x top #ae8066;
	width:100%;
	position:absolute;
	bottom:0;
	left:0;
	/*height: auto; 
	min-height: 100%; 
	_height: 100%; /* IE */*/

}
#footer_content
{
	width: 600px;
	text-align: center;
	font-size: 11px;
	color: #d1b38b;
	padding: 15px 0;
	margin: 0 auto;
}
/*** message board ***/
.message
{
	padding: 20px;
	
}
.mes_date
{
	float: right;
}
.message_body
{
	border-bottom: 1px solid #000;
}
/***other***/

div.cleaner
{
	clear:both;
	height:0px;
	overflow: hidden;
}
form
{
	padding:0;
	margin:0;
}
fieldset
{
	min-width: 20em;
	max-width: 55em;
	border: none;
	padding-left: 10px;
}
legend
{
	padding: 0.1em 2em;
}
label,input,select,.formfield,.smallinput
{
	display: block;
	width: 120px;
	float: left;
	margin-bottom: 1em;
}
input
{
	width: 200px;
}
label span
{
	color: #c83713;
}
br
{
	clear: left;
}

