/******************************************************************************
Tomáš Jindřich - www.dragit.cz
Hlavni CSS Document - vystup pro obrazovku
projekt: opc-havirov.cz
******************************************************************************/

.imglink {
	display: block;
	border: 1px solid silver;
	margin: 10px 0;	
	background: #fff;
}

.imglink img {
	padding: 5px;
}

/* begin: obecne deklarace */
* {
	padding: 0;
	margin: 0;
	border: 0; 
}

p {
	padding: 0.5em 0; 
}

ul {
	margin: 0;
	padding: 0 0 0 1.5em;
}

abbr, acronym {
	border-bottom: 1px dotted;
	cursor: help;
}

/*strong {
	background: #fff6df;
	font-weight: normal;
	color: #db340d;
}*/
/* end: obecne deklarace */



/* begin: body */
body {
	font-size: medium; /* pro standardní i nestandardní */
	font-size: "small"; /* standardní nechápe a ignoruje, nestandardní bere, protože to dostal později */
	font-size: 90%;
	font-family: arial, tahoma, verdana, sans-serif;
	text-align: center;
	color: #494949;
	background: #ffffff;
}
/* end: body */



/* begin: specialni deklarace*/
.noscreen {
	display: none;
}

.overspace {
	margin-top: 2em;
}

.underspace {
	margin-bottom: 2em;
}

.highlight {
	border: 1px solid #f0e8ca;
	padding: 0.5em;
	margin: 0.5em 0;
	font-size: large;
	background: #fff9e3;
	color: #d63903;
}

.bold {
	font-weight: bold;
}
/* end: specialni deklarace*/



/* begin: odkazy */
a {
	color: #FF4800;
}

a:link, a:visited, a:active {
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a.local { /* ikonka u textoveho odkazu na misti stranku (mistni web) */
	padding: 0 0 0 12px;
	background: url("../design/link-local.gif") no-repeat 0 0.3em;
}

a.out { /* ikonka u textoveho odkazu na cizi stranku (jiny web) */
	padding: 0 0 0 12px;
	background: url("../design/link-out.gif") no-repeat 0 0.3em;
}
/* end: odkazy */



/* begin: nadpisy */
h2 {
	margin: 0 0 0.5em 0;
	font-size: 160%;
	color: #FF6000;
	font-weight: normal;
}

h3 {
	margin: 1em 0 0.5em 0;
	font-size: 160%;
	color: #FF6000;
	font-weight: normal;
}

h4 {
	margin: 1em 0 0.5em 0;
	font-size: 120%;
	font-weight: bold;
}

h2 span, h3 span {
	font-weight: bold;
}

h2.category {
	position: relative;
	left: 0;
	height: 56px;
	overflow: hidden;
	padding: 0 0 0 1.5em;
	color: white;
	font-size: 200%;
	line-height: 56px;
}

h2.category span {
	display: block;
	width: 100%;
	height: 56px;
	font-weight: normal;
}

h2.c1 {
	background: #84CB08 url("../design/header-left-c1.gif") no-repeat;
}

h2.c1 span {
	background: url("../design/header-right-c1.gif") top right no-repeat;
}

h2.c2 {
	background: #ECB700 url("../design/header-left-c2.gif") no-repeat;
}

h2.c2 span {
	background: url("../design/header-right-c2.gif") top right no-repeat;
}

h2.c3 {
	background: #EC6A00 url("../design/header-left-c3.gif") no-repeat;
}

h2.c3 span {
	background: url("../design/header-right-c3.gif") top right no-repeat;
}

h2.c4 {
	background: #0876CB url("../design/header-left-c4.gif") no-repeat;
}

h2.c4 span {
	background: url("../design/header-right-c4.gif") top right no-repeat;
}
/* end: nadpisy */



/* begin: tabulky */

table {
	width: 540px;
	margin-bottom: 20px;
	border: 1px solid #C0C0C0;
	font-size: 100%;
}

caption {
	margin: 10px 0 0 0;
	text-align: left;
	padding-bottom: 0.5em;
}

td, th {
	padding: 0.2em 0.5em;
	vertical-align: top;
	background: #FAFAFA;
}

th {
	vertical-align: bottom;
	text-align: center;
	background: #EFEFEF;
}

tr.summary {
	font-weight: bold; 
}

td.summary {
	background: #EFEFEF;
}

td.strong {
	background: #9E9E9E;
	color: white;
}

/* end: tabulky */



/* begin: seznamy */
#content ul {
	margin-bottom: 20px;
}
/* end: seznamy */



/* begin: zarovnani a obtekani*/
.toleft {
	text-align: left;
}

.tocenter {
	text-align: center;
}

.toright{
	text-align: right;
}

.floatleft {
	float: left;
}

.floatright {
	float: right;
}

.cleaner {
	clear: both;
	line-height: 0px;
	font-size: 0px;
}
/* end: zarovnani */



/* begin: struktura */
#page, #header, #footer, #content-wide, #content-widehome {
	width: 760px;
}

#page {
	margin: 0 auto;
	padding: 0;
	text-align: left;
}

#header {
	line-height: 121px;
}

#sidebar, #content {
	padding: 20px 0;
}

#sidebar {
	float: left;
	width: 185px;
}

#content {
	float: right;
	width: 540px;
	text-align: justify;
}

#content-wide {
	padding: 20px 0;
}

#content-widehome {
	padding: 0 0 20px 0;
}


#footer {
	padding: 0 0 20px 0;
	clear: both;
	height: 50px;
	background: url("../design/footer.gif") repeat-x;
}

#footer p {
	padding: 10px;
	text-align: center;
	font-size: 90%;
}

#footer a, #footer a:hover, #footer p {
	color: #879598;
}

#footer span {
	padding: 0 1em;
	color: #B2C2C5;
}
	
#header h1 { /* logo */
	position: relative;
	overflow: hidden;
	font-size: 150%;
	text-align: center;
}

#header h1, #header h1 span, #header h1 a {
	display: block;
	width: 760px;
	height: 121px;
}

#header h1 span { /* logo - image replacement*/
	position: absolute;
	left: 0;
	top: 0;
	background: url("../design/header.jpg") no-repeat 0 0;
	_cursor: hand;
}
/* end: struktura */



/* begin: menu */
#menu {
	width: 760px;
	height: 35px;
	padding: 0;
	list-style-type: none;
	background: #025EF5 url("../design/menu-right-bcg.jpg") no-repeat top right;
}

#menu li {
	list-style-type: none;
	display: inline;
}

#menu a {
	line-height: 35px;
	margin: 0 1em;
	color: white;
}

#menu a:hover {
	color: white;
}

#menu a.selected {
}
/* end: menu */



/* begin: specificke*/

#introbox-banner {
	width: 760px;
	height: 250px;
	margin-bottom: 15px;
}

#introbox-content {
	float: left;
	margin-left: 7px;
	width: 370px;
	height: 268px;
	background: url("../design/home-img.jpg") no-repeat;
}

#introbox-content-in {
	padding: 15px;
}

#introbox-content p {
	text-align: justify;
}

#categoryies h3 {
	float: left;
	margin: 0;
	margin-right: 6px;
	padding: 0;
	position: relative;
	overflow: hidden;
	text-align: center;
}

#categoryies h3, #categoryies h3 span, #categoryies h3 a {
	display: block;
	width: 185px;
	height: 300px; 
}

#categoryies h3 span {
	position: absolute;
	left: 0;
	top: 0;
}

.c1 {
	background: url("../design/category-1.jpg") no-repeat;
}

.c2 {
	background: url("../design/category-2.jpg") no-repeat;
}

.c3 {
	background: url("../design/category-3.jpg") no-repeat;
}

.c4 {
	background: url("../design/category-4.jpg") no-repeat;
}

#categoryies h3.last {
	margin: 0;
}

#categoryies-footer {
	clear: both;
	display: block;
	margin-bottom: 20px;
	height: 23px;
	background: url("../design/categoryies-footer.gif") repeat-x;
}

#news {
	float: left;
	width: 360px;
}

#news p {
	border-bottom: 1px solid #EDF3F5;
}

#news p span {
	display: block;
	padding: 0 0 0.75em 20px;
	color: #FF6000;
	font-weight: bold;
	background: url("../design/news-iko.gif") no-repeat 0 0;
}

#contact {
	float: right;
	margin-bottom: 10px;
	width: 380px;
	background: url("../design/shadowbox-middle.gif") repeat-y;
	color: #47616F;
}

#contact p {
	margin: 0 10px;
}

#contact-in {
	padding-bottom: 10px; 
	background: url("../design/shadowbox-bottom.gif") bottom center no-repeat;
}

#contact h2 {
	padding: 10px 10px 0 10px;
	background: url("../design/shadowbox-top.gif") top center no-repeat;
}

.imgbox {
	display: block;
	margin: 0 0 10px 0;
	padding: 5px;
	border: 1px solid #BFBFBF;
	text-align: center;
	
}

.imgbox img {
	display: block;
	
	margin-bottom: 3px; 
	
}

.imgbox, .imgbox a, .imgbox a:hover {
	font-size: x-small;
	color: #9D9D9D;
}

.imgboxgroup {
	text-align: left;
}

.imgboxgroup img {
	margin: 5px;
	display: inline;
}

.category-main {
	margin-bottom: 40px;
}

#other-cat img {
	margin: 0 0 30px 0;
}

#other-cat h3 {
	padding: 0 0 0 30px;
	margin: 0 0 15px 0;
	font-size: 145%;
	color: #656565;
	background: url("../design/header-arrow.gif") 0 75% no-repeat;
}

#other-cat h3 sup {
	font-size: 50%;
}

.important {
	font-weight: bold;
}

#button {
	float: left;
	display: block;
	position: relative;
}

#button, #button span {
	display: block;
	width: 200px;
	height: 60px; 
}

#button span {
	position: absolute;
	left: 0;
	top: 0;
	background: url("../design/button-nabidka.gif");
}

#button-doc {
	float: right;
	display: block;
	position: relative;
}

#button-doc, #button-doc span {
	display: block;
	width: 140px;
	height: 60px; 
}

#button-doc span {
	position: absolute;
	left: 0;
	top: 0;
	background: url("../design/button-doc.gif");
}

/* end: specificke */

