/*
Theme Name: ZDCH
Theme URI: http://zdch.pielach.net/
Description: Projekt wykonano dla ZDCH.
Version: 1.0
Author: Piotr Pielach
*/

* {
	margin: 0;
	padding: 0;
}
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Georgia','Gentium', times;
	background-image: url('_img/bg.png');
	color: #2C4356;
	text-align: center;
}
a {
	color: #3B5A73;
}
a:hover {
	color: #333;
}
a img{
	border-width: 0;
}
h1 {
	font-size: 1.5em;
}
h2 {
	font-size: 1.3em;
}
h2, h2 a, h2 a:visited {
	padding-top: 1em;
	color: #333;
	text-decoration: none;
}
h2 a:hover {
	color: #3B5A73;
}
li {
	list-style: none;
}
#container {
	width: 100%;
	background-image: url('_img/nagright.png');
	background-repeat: repeat-x;
}
#page {
	text-align: left;
	margin: 0 auto;
	width: 715px;
}
#container>#page {
	background-image: url('_img/cbg.png');
	background-repeat: repeat-y;
	background-position: right;
}
#header {
	height: 178px;
	width: 100%;
	cursor: pointer;
}
#headerleft {
	float: left;
	width: 209px;
	height: 178px;
	background-image: url("_img/nagleft.png");
	background-repeat: no-repeat;
	background-position: left;
}
#headerright {
	float: right;
	width: 506px;
	height: 178px;
	background-image: url("_img/nagcent.png");
	background-repeat: no-repeat;
	background-position: right;
}
#content {
	float: right;
	width: 460px;
	height: 100%;
	padding: 23px;
	font-size: 1.2em;
}
* html #content { /* IE only trick */
	background-image: url('_img/cbg.png');
	background-repeat: repeat-y;
	background-position: right;
	height: 300px;
}
* html #content p{
	width: 99%;
}
#content p {
	padding-top: .7em;
	font-size: 1.1em;
	text-align: justify;
	line-height: 1.3em;
}
#content li {
	font-size: 1.1em;
	list-style: square outside;
	margin-left: 2em;
}
#sidebar {
	float: left;
	padding-top: 60px;
	background-image: url('_img/menuatop.png');
	background-repeat: no-repeat;
	width: 209px;
}
#menu {
	background-image: url('_img/menubottom.png');
	background-repeat: no-repeat;
	background-position: bottom;
	padding-bottom: 44px;
	font: 1.2em 'Georgia','Gentium', times;
	font-weight: bold;
}
#menu li {
	background-image:  url('_img/menubg.png');
	background-repeat: repeat-y;
}
#menu a {
	display: block;
	width: 150px;
	border-top: 1px solid #ccc;
	margin-left: 8px;
	padding: 10px;
	padding-top: 11px;
	padding-bottom: 11px;
	padding-left:40px;
	background-image: url('_img/mmoff.png');
	background-position: 10px;
	background-repeat: no-repeat;
	color: #3B5A73;
	text-decoration: none;
}
#menu a:hover {
	width: 151px;
	background-color: #EAEAEA;
	border-top: 1px solid #3B5A73;
	border-bottom: 1px solid #3B5A73;
	padding-bottom: 10px;
	background-image: url('_img/mmon.png');
	background-position: 10px;
	background-repeat: no-repeat;
	color: black;
}
#menu li.page_item ul li.page_item a{
	background-image: url('_img/mm2.png');
	background-position: 10px;
	background-repeat: no-repeat;
}
#menu li.page_item ul li.page_item a:hover{
	
}
#footer {
	background-image: url('_img/footer.png');
	background-repeat: no-repeat;
	color: #eee;
	width: 760px;
	clear: both;
	padding: 20px 0;
	text-align: center;
}
#page>#footer {
	background-color: #506984;
}
#footer p {
	margin-left: 170px;
}

#logoback {
	margin-top: 120px;
	background: url("_img/bgtop.png") repeat-x;
}
#langs {
	position: relative;
	text-align: center;
}
#langs a{
	color: white;
	text-decoration: none;
	font-size: 1.3em;
	padding: 5px;
	padding-top: 30px;
}
#langs a:hover {
	text-decoration: underline;
}
#langs div {
	width: 100px;
	float: left;
	padding: 10px;
}
#langs img {
	padding-bottom: 10px;
}
#error p {
	margin-left: 50px;
	margin-top: 4em;
	color: white;
	font-size: 1.8em;
}
form#contact {
	width: 400px;
	padding: 1em;
	text-align: left;
}
form#contact p {
	padding-bottom: .5em;
}
form#contact input, form#contact textarea {
	width: 400px;
}
form#contact .submit {
	width: 150px;
}