/* CSS RESET */
body,div,h1,h2,h3,h4,h5,h6,dl,dt,dd,ul,ol,li,table,form,fieldset,legend,p,blockquote,th,td,img{margin:0;padding:0;border:0;}
input{margin:0;text-indent:0}
address,caption,em,strong,th{font-style:normal;font-weight:normal;}
caption,th{text-align:left;}
abbr,acronym{border-width:0;font-variant:normal;}
table,input,textarea,select,span{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:1em;}

li{list-style: disc;}
ol li{list-style: decimal;}
em {font-style: italic;}
strong {font-weight: bold;}
abbr, acronym {cursor: help; border-bottom-width: 1px; border-style: dotted;}

/* FONTS */
#main, h1, h2, h3, h4 { font-family: "Tahoma MS", Tahoma, "Verdana CE", Verdana, "Arial CE", Arial, "Lucida Grande CE", "Helvetica CE", lucida, sans-serif; }
#foot, #content { font-family: "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif; }

/* ELEMENTS */
body, html { height: 100%; }

body {
	font-size: 78%;
	text-align: center;
	color: #fff;
	background: #7f7f7f;
}

a { color: #fe0000; text-decoration: underline; }
a:hover { text-decoration: none; }
#menu a { color: #000; text-decoration: none; }
#menu a:hover { color: #fe0000; }
#submenu a { color: #d9d9d9; text-decoration: none; }
#submenu a:hover { color: #eee; }

h1, h2, h3, h4 {
	margin: 0.5em 10px 0.25em 20px;
	font-size: 1.4em;
	font-weight: normal;
	text-transform: uppercase;
	color: #fa0000;
}

h2 {
	color: #000;
}

h3 {
	font-weight: bold;
	font-size: 1.2em;
	text-transform: none;
	color: #7b8080;
}

h4 {
	font-size: 1em;
	font-weight: bold;
	color: #333;
}

p {
	margin: 0.33em 10px 0.33em 20px;
	text-indent: 2em;
	font-size: 0.98em;
	line-height: 1.305em;
}
p.perex {
	margin: 0.33em 10px 0.33em 96px;
	padding-left: 10px;
	text-indent: 0;
	background: url('./default/perex_bg.png') 0 0 repeat-y;
}

ul {
	margin: 0.33em 10px 0.33em 20px;
	line-height: 1.305em;
}
li {
	margin-left: 10px;
	list-style: none;
	padding-left: 10px;
	background: url('./default/perex_bg.png') 0 0 no-repeat;
}
ul.perex { margin: 0.33em 10px 0.33em 96px; }
ul.perex li { margin-left: 0; }

table {
	margin: 0.5em 10px 0.75em 20px;
	line-height: 1.305em;
	color: #333;
}
table td, table th {
	margin: 0;
	padding: 0 10px;
}
table th {font-weight: bold; }
table.border, table.border td, table.border th {
	padding: 0.25em 5px;
	border-collapse: collapse;
	border: 1px solid #d9d9d9;
}
table.th_tar th { text-align: right; }

table.contact {
	margin: 0.33em 10px 20px 86px;
	font-size: 0.9em;
	line-height: 1.4em;
	color: #000;
}
table.contact td, table.contact th {
	margin: 0;
	padding: 0 10px;
}
table.contact th {
	padding: 0 10px 1em 10px;
}

img.contact-logo {
	display: block;
	position: relative;
	left: 15px;
	margin-top: -78px;
}

#main {
	position: relative;
	margin: 0 auto;
	width: 770px;
	height: 100%;
	min-height: 100%;
	text-align: left;
	color: #333;
	background: #fff;
}
#main[id] { height: auto; }

#head {
	position: relative;
	height: 118px;
	background: url('./default/header_bg.png') 0 100% no-repeat;
}

#logo, #logo span {
	position: absolute;
	left: 30px;
	bottom: 50px;
	width: 220px;
	height: 40px;
	font-weight: bold;
	font-size: 1.4em;
	cursor: pointer;
	color: #000;
	background: #ddd;
	text-transform: uppercase;
	overflow: hidden;
}
#logo small {
	color: #7b8080;
	font-size: 0.48em;
}
#logo span {
	left: 0;
	bottom: 0;
	background: url('./default/petricek.png');
}

#menu {
	position: absolute;
	left: 0;
	margin: 0;
	bottom: 18px;
	font-size: 0.9em;
}
#menu li {
	position: absolute;
	bottom: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
}
#menu li.first { left: 283px; width: 95px; }
#menu li.second { left: 379px; width: 65px; }
#menu li.thrid { left: 445px; width: 113px; }
#menu li.fourth { left: 559px; width: 65px; }
#menu li.fifth { left: 625px; width: 72px; }
#menu li.sixth { left: 697px; width: 72px; }

#menu a {
	display: block;
	padding-left: 5px;
	padding-bottom: 2px;
	font-size: 0.9em;
	line-height: 1.2em;
	text-transform: lowercase;
	border-left: 1px solid #fff;
}
#menu a:hover, #menu li.active a { border-color: #fe0000; }

#subhead_v1, #subhead_v2, #subhead_v3,
#subhead_v4, #subhead_v5, #subhead_v6,
#subhead_v7, #subhead_v8, #subhead_v9,
#subhead_v10, #subhead_v11, #subhead_v12,
#subhead_v13, #subhead_v14 {
	height: 95px;
	min-height: 95px;
	background: #7f7f7f;
	background-position: 100% 0;
	background-repeat: no-repeat;
}
#subhead_v1[id], #subhead_v2[id], #subhead_v3[id],
#subhead_v4[id], #subhead_v5[id], #subhead_v6[id],
#subhead_v7[id], #subhead_v8[id], #subhead_v9[id],
#subhead_v10[id], #subhead_v11[id], #subhead_v12[id],
#subhead_v13[id], #subhead_v14[id] { height: auto; }

#subhead_v1 { background-image: url('./default/subhead_1.jpg'); }
#subhead_v2 { background-image: url('./default/subhead_2.jpg'); }
#subhead_v3 { background-image: url('./default/subhead_3.jpg'); }
#subhead_v4 { background-image: url('./default/subhead_4.jpg'); }
#subhead_v5 { background-image: url('./default/subhead_5.jpg'); }
#subhead_v6 { background-image: url('./default/subhead_6.jpg'); }
#subhead_v7 { background-image: url('./default/subhead_7.jpg'); }
#subhead_v8 { background-image: url('./default/subhead_8.jpg'); }
#subhead_v9 { background-image: url('./default/subhead_9.jpg'); }
#subhead_v10 { background-image: url('./default/subhead_10.jpg'); }
#subhead_v11 { background-image: url('./default/subhead_11.jpg'); }
#subhead_v12 { background-image: url('./default/subhead_12.jpg'); }
#subhead_v13 { background-image: url('./default/subhead_13.jpg'); }
#subhead_v14 { background-image: url('./default/subhead_14.jpg'); }

#submenu {
	margin: 0;
	padding-top: 5px;
	width: 107px;
	text-align: right;
}
#submenu li {
	margin: 0 5px 0 0;
	padding: 0;
	font-size: 0.8em;
	list-style: none;
	background: none;
}

#content{
	padding-top: 11px;
	background: url('./default/hr_bg.png') 0 0 no-repeat;
}

#foot {
	clear: both;
	background: url('./default/foot_bg.png') 100% 100% no-repeat;
}

#contact_flash {
	display: inline-block;
	margin: 5px 0 10px 10px;
	width: 510px;
	height: 150px;
	min-height: 150px;
}
#contact_flash[id] { height: auto; }

#contact_flash h2 {
	margin: 0.5em 10px 0.25em 10px;
}

#sign_pad {
	padding-bottom: 1.5em;
}
#sign {
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 0.9em;
	color: #ccc;
}
#sign p {
	margin: 0;
	padding: 5px 10px;
	text-indent: 0;
	text-align: right;
}
#sign a { color: #ccc; }
#sign a:hover { color: #fe0000; }

/* CLASSES */

.lcol {
	float: left;
	width: 510px;
}

.thumb {
	display: inline;
	float: right;
	margin: 5px 10px 5px 10px;
}
.thumb img {
	margin-bottom: 10px;
}

.hr {
	display: block;
	height: 16px;
	font-size: 1px;
	background: url('./default/hr_bg.gif') 0 0 no-repeat;
	color: #fff;
	border: 0;
}

.flash {
	margin: 10px 20px;
	padding: 3px;
	border: 1px solid #CCC;
	background: #eee;
}

.gallery {
	margin: 10px 20px;
}
.gallery img {
	margin: 2px 5px;
}
.gallery a img {
	border: 1px solid #000;
}
.gallery a:hover img {
	border: 1px solid #f00;
}

/* ADMIN */
#admin * {
	text-indent: 0;
}

#admin ul li h3 {
	display: inline;
}

#admin .pictureWrapper {
	margin: 10px 20px;
	text-align: center;
}

/* HELPERS */
.mtm { margin-top: 2em; }

.error { color: red; }
.notice { color: orange; }
.success { color: green; }

.ns, hr { display: none; }
.ni { text-indent: 0 !important; }
.cb { clear: both; }
.cl { clear: both; }
.cr { clear: both; }
.center { margin-left: auto; margin-right: auto; text-indent: 0 !important; text-align: center !important; }
.fl { float: left; }
.fr { float: right; }
.tar { text-align: right !important; }
.tal { text-align: left !important; }

