html {
	margin: 0;
	padding: 0;
	background: #252525;
	width: 100%;
	height: 100%;
	color: #cecece;
}
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font: .75em/1.3 MS Sans Serif,Verdana,Arial,sans-serif;
}

#vertical {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 800px;
	min-height: 600px;
	height: 100%;
	background: url('../img/line.jpg') 200px 0 repeat-y;
	border-top: 1px solid #2f2f2f;
	margin-top: -1px;
	z-index: 2;
}
#mid {
	position: relative;
	width: 800px;
	height: 600px;
	margin: -300px 0 0 0;
	padding: 0;
	top: 50%;
}
#horizontal {
	position: absolute;
	min-width: 800px;
	_width: 800px;
	width: 100%;
	min-height: 300px;
	height: 50%;
	margin: 0;
	padding: 0 0 134px 0;
	top: 0;
	border-bottom: 1px solid #4b4b4b;
	background: #2f2f2f;
	z-index: 1;
}

#head {
	position: absolute;
	_position: relative;
	margin: 0;
	padding: 0;
	width: 800px;
	height: 165px;
	left: 0;
	top: 394px;
	overflow: hidden;
	z-index: 2;
}
#head h1 {
	position: relative;
	_position: static;
	margin: 0;
	padding: 0;
	width: 200px;
	height: 79px;
	z-index: 3;
	top: 41px;
	_padding-top: 42px;
	visibility: hidden; 
	overflow: hidden;
}
#head h1 span {
	visibility: visible;
	position: absolute;
	margin: 0;
	padding: 0;
	left: 0;
	top: 0;
	_top: 42px;
	width: 200px;
	height: 79px;
	background: url('../img/logo.jpg') left top no-repeat;
	z-index: 4;
	cursor: pointer;
}
#head p, #head #lang {
	display: none;
}
#head div {
	position: absolute;
	_position: static;
	_float: right;
	left: 0px;
	top: 0px;
	margin: 40px 0 0 200px;
	_margin-top: -38px;
	padding: 12px 0 0 12px;
	list-style-type: none;
	width: 588px;
	height: 205px;
}
#head div h2 {
	position: relative;
	color: white;
	font-weight: normal;
	margin: 7px 0 1px 0;
	#top: 8px;
	_top: 2px;
	_margin-top: -38px;
	padding: 0;
	font-size: 18px;
	width: 452px;
	height: 18px;
	overflow: hidden;
}
#head div h2 span {
	position: absolute;
	margin: 0;
	padding: 0;
	width: 452px;
	height: 18px;
	left: 0;
	top: 0;
	background: url('../img/Nadpis.jpg') left top no-repeat;
}
#head div p {
	position: relative;
	display: block;
	margin: 0;
	#top: 6px;
	_top: 0;
	padding: 0;
	z-index: 3;
}
#head div p a {
	text-decoration: none;
	color: #999999;
}
#head select {
	position: absolute;
	_position: relative;
	_float: left;
	margin: 0;
	padding: 0;
	left: 10px;
	top: 0;
	width: 180px;
	border: 1px solid #5e5e5e;
	background: #2f2f2f;
	color: white;
}
#head select option {
	border: 0;
}
#head #go {
	display: block;
	position: absolute;
	left: 213px;
	top: 0;
	margin: 0;
	padding: 0;
	width: 20px;
	height: 23px;
	overflow: hidden;
}
#head #go a {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	width: 20px;
	height: 23px;
	overflow: hidden;
	z-index: 2;
}
#head #go a span {
	display: block;
	position: absolute;
	margin: 0;
	padding: 0;
	width: 20px;
	height: 23px;
	z-index: 3;
	left: 0;
	top: 0;
	background: #2f2f2f url('../img/go.jpg') center center no-repeat;
	cursor: pointer;
}

#main {
	position: relative;
	margin: 0;
	padding: 0 30px 0 12px;
	float: right;
	width: 558px;
	height: 390px;
	overflow: hidden;
	_top: -170px;
	
	scrollbar-track-color: #2f2f2f;
	scrollbar-face-color: #252525;
	scrollbar-highlight-color: #2f2f2f;
	scrollbar-3dlight-color: #252525;
	scrollbar-darkshadow-color: #2f2f2f;
	scrollbar-shadow-color: #252525;
	scrollbar-arrow-color: #2f2f2f;
}
#main h2, #main .h2 {
	color: #999999;
	font-size: 1.2em;
	font-weight: normal;
	margin: 0 0 9px 0;
	padding: 0;
}
#main .big {
	font-size: 1.2em;
}
#main p {
	margin: 0 0 9px 0;
	text-align: justify;
}
#main .gray {
	color: #999999;
}
#main strong {
	font-weight: normal;
	color: #999999;
}
#main .leftbox {
	clear: both;
	float: left;
	width: 265px;
}
#main .rightbox {
	float: right;
	width: 265px;
}
#main .contactbot {
	float: left;
}

#main a.pdflink:link, #main a.pdflink:visited {
	text-decoration: none;
	margin: 0;
	padding: 0 0 0 22px;
	line-height: 26px;
	background: url('../img/pdf.jpg') left center no-repeat;
}
#main a.pdflink:hover, #main a.pdflink:active {
	text-decoration: underline;
}

#main ul {
	list-style-type: square;
	margin-top: 2px;
	margin-bottom: 8px;
	line-height: 1.4;
}
#main a:link, #main a:visited {
	color: #cecece;
	text-decoration: underline;
}
#main a:hover, #main a:active {
	color: #cecece;
	text-decoration: none;
}
#main strong a:link, #main strong a:visited, #main strong a:hover, #main strong a:active {
	color: #999999;
}
#main img {
	border: 0;
}
#main img.icq {
	margin: 0 0 0 5px;
	padding: 0;
	position: absolute;
}
#main a img {
	border: 1px solid #5e5e5e;
	margin: 0;
	padding: 0;
}
#main #paging {
	position: absolute;
	top: 0;
	right: 0px;
}

#main #paging a {
	text-decoration: none;
	color: #ff9934;
}
#main #paging a:link, #main #paging a:visited {
	text-decoration: none;
	color: #cecece;
}
#main #paging a:hover, #main #paging a:active {
	text-decoration: none;
	color: #ff9934;
}

#main #fotogal {
	margin: 0;
	padding: 0;
	width: 585px;
}
#main #fotogal a {
	margin: 0;
	padding: 0;
}
#main #fotogal img {
	margin: 5px;
	padding: 0;
}

form {
	float: right;
	width: 300px;
	margin-top: -350px;
	margin-right: -10px;
	_margin-right: -10px;
}
fieldset {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	_margin-top: -20px;
}
legend {
	font-weight: bold;
	margin: 0;
	padding: 0;
	color: #cecece;
}
label {
	display: block;
	width: 170px;
	clear: both;
	float: right;
	margin: 0;
	padding: 0 0px;
	color: #999999;
	font-family: MS Sans Serif,Verdana,Arial,sans-serif;
}
label.text {
	width: 300px;
	#width: 290px;
}
form br {
	display: none;
}
input, textarea {
	clear: both;
	float: right;
	background: #2f2f2f;
	border: 1px solid #5e5e5e;
	color: #CCCCCC;
	padding: 2px;
	font-size: 1em;
}
input {
	width: 170px;
	margin: 2px 0;
	font-size: .95em;
}
input.button {
	width: 58px;
	text-align: right;
	margin: -32px 0 0 0;
	color: #ff9900;
	border: 0;
	font-family: MS Sans Serif,Verdana,Arial,sans-serif;
}
textarea {
	overflow: auto;
	font-family: MS Sans Serif,Verdana,Arial,sans-serif;
	width: 300px;
	#width: 290px;
}
form #code {
	clear: both;
	margin: 0;
	padding: 5px;
	float: left;
}
form #code input {
	width: 80px;
	float: left;
	clear: none;
}
form #code img {
	float: left;
}

.no {
	display: none;
}

#menu {
	position: absolute;
	_position: static;
	_float: right;
	left: 0px;
	top: 0px;
	margin: 0 0 0 200px;
	_margin-top: -119px;
	padding: 0;
	list-style-type: none;
	width: 600px;
	height: 205px;
}
#menu li {
	position: relative;
	margin: 0;
	padding: 0;
	width: 120px;
	height: 205px;
	overflow: hidden;
	float: left;
}
#menu li a {
	display: block;
	margin: 0;
	padding: 0 0 0 2px;
	width: 117px;
	height: 120px;
	border-left: 1px solid #999999;
	overflow: hidden;
	_overflow: scroll;
	text-decoration: none;
	color: #cecece;
	background-position: 0 40px;
	background-repeat: no-repeat;
}
#menu li#m1 a {
	background-image: url('../img/Onas.jpg');
}
#menu li#m2 a {
	background-image: url('../img/Guma.jpg');
}
#menu li#m3 a {
	background-image: url('../img/Kov.jpg');
}
#menu li#m4 a {
	background-image: url('../img/Ozubeni.jpg');
}
#menu li#m5 a {
	background-image: url('../img/Kontakt.jpg');
}

#menu li a:link, #menu li a:visited {
	height: 120px;
	overflow: hidden;
	text-decoration: none;
	color: #cecece;
}
#menu li a:hover, #menu li a:active {
	height: 165px;
	overflow: hidden;
	text-decoration: none;
	color: #cecece;
	background-color: #252525;
}
#menu li a.active {
	background-color: #252525;
}
#menu li a span {
	position: relative;
	display: block;
	margin: 0;
	left: -1px;
	padding: 0 0 0 1px;
	top: 105px;
	color: #252525;
	line-height: 1.1;
}
#menu li a:hover span {
	color: #cecece;
}


#left {
	position: relative;
	float: left;
	margin: 0;
	padding: 0px 13px 15px 0;
	list-style-type: none;
	width: 187px;
	text-align: right;
	_top: -170px;
}
#left li {
	margin: 0;
	padding: 0;
}
#left li a {
	margin: 0;
	padding: 0 12px 0 20px;
	color: #999999;
	text-decoration: none;
	display: block;
	background: url('../img/li2.gif') right 6px no-repeat;
	letter-spacing: 1px;
	width: 155px;
}
#left li a:link, #left li a:visited {
	color: #ff9934;
	text-decoration: none;
	background: url('../img/li.gif') right 6px no-repeat;
}
#left li a:hover, #left li a:active, #left li a.active {
	color: #999999;
	text-decoration: none;
	background: url('../img/li2.gif') right 6px no-repeat;
}
#left li ul {
	margin: 0;
	padding: 15px 0;
	list-style-type: none;
}

.red{
  color:red;
  text-align: left;
}
.green{
  color:green;
  text-align: right;
}
