* {
    margin:0px;
    padding:0px;  
}

body  {
    background:url('img/bg2.png') repeat-x;
    background-color:#eeeeee;
    text-align:center;
    font-family:'Trebuchet MS';
    font-size:13px;
}

table {
	border:1px solid #EBEBEB;
}

table td, table th {
	font-size:0.8em;
	padding:1px;
}

table th {
	background:#FEDED6;
	padding:4px;
}

#stred  {
    position:relative;
    margin:auto;
    width:849px;    
}

#head {
    position:relative;
    width:849px;
    height:176px;
    background:url('img/head.png') no-repeat;
    margin-top:25px;
}

#head img {
    position:relative;
    top:80px;
    left:-293px;
    border:0px;      
}

#stredbg  {
    position:relative;
    width:849px;
    background:url('img/mainbg.png') repeat-y;
}

#footertop {
    position:relative;
    width:849px;
    height:29px;
    background:url('img/vrsek-footer.png') no-repeat;
}

#footerstred  {
    position:relative;
    width:849px;
    background:url('img/footer-bg.png') repeat-y;
    color:white;
    font-size:0.9em;
}

#footerstred a  {
    color:white;
}

#footerstred a:hover  {
    text-decoration:none;
}

#footerbottom {
    position:relative;
    width:849px;
    height:22px;
    background:url('img/footer-bottom.png') no-repeat;
}

#lmenu  {
    position:relative;
    width:187px;
    margin-left:30px;
    margin-top:15px;
    text-align:left;
    float:left;
}

#lmenu ul li {
    position:relative;
    width:187px;
    height:25px;
    background:url('img/li.png') no-repeat;
    list-style:none;
    cursor:hand;
}


#lmenu ul li a  {
    position:relative;
    top:2px;
    margin-left:15px;
    color:#656565;
    text-decoration:none;
}

#lmenu ul li:hover, #lmenu ul li.hover  {
    background:url('img/lihover.png') no-repeat;
    color:white;
}

#lmenu ul li.hover a {
	color:white;
}

#lmenu ul li:hover a  {
    color:white;
}

#lmenu ul li a:hover  {
    color:white;
}

#main {
    position:relative;
    width:580px;
    float:right;
    margin-right:30px;
    margin-top:15px;
    text-align:left;
}

#main p {
    padding-top:5px;
    padding-bottom:5px;
    padding-right:5px;
    padding-left:5px;
    border-left:5px solid #ffe8dc;
    margin:5px 5px 5px 20px;
    text-indent: 20px;
}

h1,h2,h3,h4,h5  {
    /*display:inline;*/
    padding:4px;
    color:#E42F01;
    text-decoration:underline;
    font-size:1.6em;
}

h4 {
	font-size:1em;
	padding:1px;
	margin:1px;
	margin-top:-10px;
}

#main a {
    color:#E42F01;
}

#main input {
	margin-top:2px;
}

#main td input {
	margin-top:0px;
}

.button {
	padding:3px;
	margin-top:5px;
}

.lf input {
	width:120px;
	margin-top:3px;
}

#main a:hover {
    text-decoration:none;
    color:#E42F01;
}

#main li {
	list-style-position:inside;
	list-style-type:square;
	padding:2px;
}

code {
	font-size:0.9em;
	width:97%;
}

code.code {
	padding:3px;
	margin:5px;
}

.lmenutop {
    position:relative;
    width:209px;
    height:15px;
    background:url('img/lmenu-top.png') center bottom no-repeat;
}

.lmenustred {
    position:relative;
    width:185px;
    padding-left:15px;
    padding-top:7px;
    background:url('img/lmenu-bg.png') repeat-y;
}

.lmenubottom {
    position:relative;
    width:209px;
    height:14px;
    background:url('img/lmenu-bottom.png') center top no-repeat;
}

#lmenu ul {
    margin-left:10px;
}

textarea, input {
	font-family:Trebuchet MS;
}

.povinne {
	border:2px solid red;
}


input, option {
	padding:1px;
}


.tar {
	width:540px;
	height:125px;
	margin:10px;
}

input.c.odesl {
	width:200px;
}

table.rf td input {
	width:90%;
}

table.rf td input.ni {
	width:20px;
}

.c {
	text-align:center;
}

.l {
	text-align:left;
}

.r {
	text-align:right;
}

.b {
	font-weight:bold;
}

#main p.true {
	background:#D2FDC8;
	border-top:2px dotted #32DA07;
	border-bottom:2px dotted #32DA07;
	border-left:5px solid #32DA07;
}

.lmenustred a {
	color:#E42F01;
}

.lmenustred a:hover {
	text-decoration:none;
}

#main p.warn {
	background:#FFE8E8;
	border-top:2px dotted #FF4F4F;
	border-bottom:2px dotted #FF4F4F;
	border-left:5px solid #FF4F4F;
}

table.tbl {
	border:1px solid #748B9C;
	text-align:center;
	margin:auto;
	padding:1px;
	background:#EBEBEB;
}

table.tbl td, table.tbl th {
	border:1px solid #748B9C;
	padding:3px;
	background:white;
}

td.tbg, tr.tbg td, table.tbl tr.tbg td {
	background-color:#D6FED8;
}

td.wbg, tr.tbg td, table.tbl tr.wbg td {
	background:#FFD9D9;
}

table.tbl th {
	background:#FFE0D9;
}

table.ctbl {
	text-align:center;
	margin:auto;
	border:1px solid #EBEBEB;
}

table.at td {
	vertical-align:top;
}

table.gr td img {
	padding-top:3px;
}

table.gr td {
	vertical-align:top;
}

table.gr td a img {
	border:0px solid;
}

table.tbl td.l {
	text-align:left;
}

strong.nb {
	font-weight:normal;
}

.small {
	font-size:0.8em;
	color:#888888;
}

.small a {
	color:#FE8C70;
}

#lmenu ul li /* IE:hover */ {
  background-color: expression(
    this.onmouseover = function() { this.className += ' hover'; },
    this.onmouseout = function() { this.className = this.className.replace(' hover', ''); }
  );
}