/* Kvalitest.sk main style sheet */

* {
	border:none;margin:0;padding:0;
}

html {
	font-size: 62.5%;
	font-family: Verdana, Geneva, sans-serif;
	background: #485d80 url('img/kvalitest/nav_shadow.gif') left top repeat-x;
	color: #404040;
}


/* Header */

h1 {
	display: block;
	height: 143px;
	font-size: 1.5em;
	background: url('img/kvalitest/header.png') center top no-repeat;
}

	h1 span {
		display: none;
	}
	
	h1 a {
		display: block;
		width: 600px;
		height: 30px;
		margin: 0 auto;
		padding-top: 84px;
		color: #fff;
		text-decoration: none;
	}
	
	h1 a:hover, 
	#navigation li a:hover {
		text-decoration: underline;
		color: #FFFF88;
	}
	
	#navigation li.current a {
		color: #FFFF88;
	}
	
		#navigation li.current li a {
			color: #fff;
		}


/* Navigation */

#navigation {
	background: url('img/kvalitest/navigation_bg.png') left top repeat-x;
	list-style: none;
}

	#navigation ul {
		width: 600px;
		margin: 0 auto;
		height: 40px;
	}
	
		#navigation ul ul {
			display: none;
			position: absolute;
			width: 260px;
			margin: 0;
			padding: 0;
			margin-top: 40px;
			margin-left: -12px;
		}
		
		#navigation ul ul li,
		#navigation ul ul li a {
			display: block;
			float: none;
			background: #3C4D6B;
			height: 2.6em;
		}
		
		#navigation ul ul li a {
			padding: 4px 12px;
		}
		
			#navigation ul ul li a:hover {
				background: #6D7A91;
			}
		
		#navigation li:hover ul {
			display: block;
		}
		
	#navigation li {
		display: block;
		float: left;
		height: 40px;
	}
	
	#navigation li a {
		display: block;
		float: left;
		height: 28px;
		padding: 12px 16px 0 0;
		font-size: 1.3em;
		color: #fff;
		font-weight: normal;
		letter-spacing: 1px;
		text-decoration: none;
	}
	

/* Content */

h2 {
	clear: both;
}

#wrap {
	margin: 0 auto;
	width: 745px;
	background: #fff url('img/kvalitest/wrap_bg.gif') left top repeat-y;
}

	#wrap a {
		color: #002e81;
	}
	
	#wrap a:hover {
		background: #FFFF88;
		color: inherit;
	}

#wraptop {
	padding: 0 70px 40px 70px;
	background: url('img/kvalitest/wraptop_bg.gif') left top no-repeat;
}

	#wrap p, 
	#wrap ul,
	address {
		font-size: 1.4em;
		line-height: 1.5;
		margin: 1em 0;
	}
	
	#wrap ul {
		padding-left: 2em;
		list-style: square;
	}

q {
	float: left;
	clear: both;
	width: 150px;
	padding: 8px 0;
	font-size: 0.9em;
	margin: 0 1em 1em 0;
	border: 2px solid #6f6f6f;
	border-left: none;
	border-right: none;
	line-height: 1.3;
	font-style: italic;
	text-align: center;
}

h2,
h3,
h4 {
	font-size: 2.6em;
	font-family: Georgia, serif;
	font-weight: normal;
	padding: 42px 0 22px 0;
}

h3,
h4 {
	font-size: 2.1em;
	margin: 1.2em 0;
	height: auto;
	padding: 0;
}

h4 {
	font-size: 1.8em;
}

/* Footer */

#footer {
	margin: 0 auto;
	width: 665px;
	padding: 20px 40px;
	background: #596c8b;
	color: #e8e8e8;
}

	#footer p {
		font-size: 1.1em;
		line-height: 1.2;
	}
	
	#footer a {
		color: #fff;
	}
	
	#footer a:hover {
		background: #758aab;
	}


/* Tabulka referencii */

table {
	border-collapse: collapse;
	border: 1px solid #bbb;
	margin: 1em 0;
}

th,
td {
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 0.4em;
	font-size: 1.2em;
	text-align: left;
}

th {
	background: #fff;
	padding: 1em 0.4em;	
}

.even {
	background: #f5f7fa url('img/kvalitest/row_shadow_even.gif') left top repeat-x;
}

tr {
	background: url('img/kvalitest/row_shadow.gif') left top repeat-x;
}

/* Cennik */

table .odbor {
	border-right: 1px solid #bbb;
	background: #fff url('img/kvalitest/row_shadow.gif') left top repeat-x;
}

/* CMS Stuff */

.page {
    position: relative;
}

.edit-page {
    position: absolute;
	top: 40px;
	right: 0;
	display: none;
}

    .page:hover .edit-page {
	   display: block;
	}

    .edit-page:hover {
	   background-color: transparent !important;
	}

    .subpages .current {
	   list-style: circle;
	}
	
	#wrap .subpages .current a {
	   text-decoration: none;
	   color: #404040;
	}

