/***************************************
 Main definitions
***************************************/

*
{
	margin: 0;
	padding: 0;
}	


body, p, td
{
	font: 100%/1.5em 'trebuchet ms', verdana, arial, 'Bitstream Vera Sans', helvetica, sans-serif;
}
	
body
{
	font-size: 75%;
	padding: 0;
	margin: 0;
	background: url(gfx/bkg.gif) left top repeat-y #8CAA4D;
	color: #fff;
	position: relative;
}


h1, h2, h3, h4, h5, h6
{
	line-height: normal;
}

a:link
{
	color: #fff;
	background-color: #8CAA4D;
	text-decoration: underline;
}

a:visited
{
	color: #F5F8EF;
	background-color: #8CAA4D;
	text-decoration: underline;
}

a:hover,
a:active
{
	background-color: #D00303;
	color: #fff;
	text-decoration: none;
}



/***************************************
  Basic structure
***************************************/

#sidebar
{
	float: left;
	display: inline;
	width: 280px;
}

#content
{
	width: 430px;
	padding: 0 20px;
	margin: 0 10px;
	float: left;
	display: inline;
	background: #F5F8EF;
	color: #444;
	padding-bottom: 20px;
}

#decoration
{
	background: url(gfx/sdb-bottom.gif) center top no-repeat transparent;
	width: 280px;
	height: 240px;
	position: absolute;
	bottom: 0px;
	left: 0;
	z-index: 99;
}

.access
{
	display: none;
}



/***************************************
  Branding 
***************************************/
#branding h1,
#branding h1 span
{
	display: block;
	width: 280px;
	height: 65px;
	font-size: 200%;
}

#branding h1,
#branding h2
{
	position: relative;
}
#branding h1 span,
#branding h2 span
{
	position: absolute;
	top: 0;
	left: 0;
	background: url(gfx/branding.gif) left top no-repeat;
}

#branding h1 span
{
	background: url(gfx/branding.gif) left top no-repeat;
	cursor: pointer;
}

#branding h2 span
{
	background: url(gfx/tagline.gif) left top no-repeat;
}

#branding h2,
#branding h2 span
{
	display: block;
	width: 280px;
	height: 40px;
	font-size: 150%;
}




/***************************************
  main Navigation
***************************************/

#nav-main
{
	margin: 30px 0 30px 20px;
	font-size: 130%;
	list-style: none;
}

#nav-main li,
#nav-main li a,
#nav-main li a span
{
	display: block;
	height: 30px;
	width: 250px;
	background: #8CAA4D;
	color: #fff;
}

#nav-main li a
{
	position: relative;
	width: 210px;
	padding: 0 20px;
}

#nav-main li a span
{
	background-color: transparent;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
}


#nav-main li a:link,
#nav-main li a:visited
{
	color: #fff;
	text-decoration: underline;
	background-color: #8CAA4D;
}

#nav-main li a:hover
{
	color: #fff;
	text-decoration: underline;
	background-color: #6A8A26;
}

#nav-main li a:active
{
	color: #6A8A26;
	text-decoration: underline;
	background-color: #fff;
}

#nav-main li a:link span,
#nav-main li a:visited span
{
	background-position: 0 0;
}

#nav-main li a:hover span
{
	background-position: -250px 0px;
}

#nav-main li a:active span
{
	background-position: -500px 0px;
}


.body-MainPage #nav-main li#nav-mainpage a:link span,
.body-MainPage #nav-main li#nav-mainpage a:visited span,
.body-cczz #nav-main li#nav-cczz a:link span,
.body-cczz #nav-main li#nav-cczz a:visited span,
.body-css #nav-main li#nav-css a:link span,
.body-css #nav-main li#nav-css a:visited span,
.body-przezejyczenia #nav-main li#nav-przezejyczenia a:link span,
.body-przezejyczenia #nav-main li#nav-przezejyczenia a:visited span,
.body-o-stronie #nav-main li#nav-o-stronie a:link span,
.body-o-stronie #nav-main li#nav-o-stronie a:visited span,
.body-autor #nav-main li#nav-autor a:link span,
.body-autor #nav-main li#nav-autor a:visited span
{
	background-position: -750px 0;
}

.body-MainPage #nav-main li#nav-mainpage a:hover span,
.body-cczz #nav-main li#nav-cczz a:hover span,
.body-css #nav-main li#nav-css a:hover span,
.body-przezejyczenia #nav-main li#nav-przezejyczenia a:hover span,
.body-o-stronie #nav-main li#nav-o-stronie a:hover span,
.body-autor #nav-main li#nav-autor a:hover span
{
	background-position: -500px 0;
}




#nav-main li#nav-mainpage a span
{
	background-image: url(gfx/nav-main.gif);
}

#nav-main li#nav-cczz a span
{
	background-image: url(gfx/nav-cczz.gif);
}

#nav-main li#nav-kontakt a span
{
	background-image: url(gfx/nav-kontakt.gif);
}

#nav-main li#nav-css a span
{
	background-image: url(gfx/nav-css.gif);
}

#nav-main li#nav-przezejyczenia a span
{
	background-image: url(gfx/nav-przezejyczenia.gif);
}

#nav-main li#nav-o-stronie a span
{
	background-image: url(gfx/nav-o-stronie.gif);
}

#nav-main li#nav-autor a span
{
	background-image: url(gfx/nav-autor.gif);
}



/***************************************
  external Navigation
***************************************/

.nav-section
{
	width: 253px;
	margin:  30px 0 30px 20px;
}

.nav-section h3 span,
.nav-section h3
{
	display: block;
	width: 253px;
	height: 33px;
}

.nav-section h3
{
	position: relative;
}

.nav-section h3 span
{
	position: absolute;
	top: 0;
	left: 0;
}

#nav-friends h3 span
{
	background: url(gfx/czytam.gif);
}

#nav-jobs h3 span
{
	background: url(gfx/realizacje.gif);
}

#nav-recommend h3 span
{
	background: url(gfx/polecam.gif);
}


.nav-section ul
{
	list-style: none;
	width: 250px;
}

.nav-section ul li
{
	width: 250px;
}

.nav-section ul li a:link,
.nav-section ul li a:visited,
.nav-section ul li a:hover,
.nav-section ul li a:active
{
	width: 210px;
	display: block;
	padding: 2px 20px;
	text-decoration: none;
	background-image: url(gfx/nav-external.gif);
	background-repeat: no-repeat;
	background-position: 150% 50%;
}

.nav-section ul li a:hover
{
	background-position: 100% 50%;
}



/***************************************
  general Content rules
***************************************/
#content a:link
{
	color: #d00303;
	background-color: #F5F8EF;
	text-decoration: none;
	background: url(gfx/a-bkg.gif) left bottom repeat-x;
}

#content a:visited
{
	color: #d00303;
	background-color: #F5F8EF;
	text-decoration: none;
	background: url(gfx/a-bkg.gif) left bottom repeat-x;
}

#content a:hover,
#content a:active
{
	background-color: #D00303;
	color: #fff;
	text-decoration: none;
}



#content h2
{
	height: 38px;
	margin-top: 67px;
	margin-bottom: 30px;
}

#content h2 a:link,
#content h2 a:visited,
#content h2 a:hover,
#content h2 a:active
{
	height: 38px;
	width: 430px;
	display: block;
	background: #F5F8EF;
	color: #d00303;
	position: relative;
}

#content h2 a span
{
	position: absolute;
	top: 0;
	left: 0;
	height: 38px;
	width: 430px;
	display: block;
	background-color: transparent;
}

#content h2#h-cczz span
{
	background-image: url(gfx/h2-cczz.gif);
}

#content h2#h-css span
{
	background-image: url(gfx/h2-css.gif);
}

#content h2#h-przezejyczenia span
{
	background-image: url(gfx/h2-przezejyczenia.gif);
}

#content h2#h-kontakt span
{
	background-image: url(gfx/h2-kontakt.gif);
}

#content h2#h-o-stronie span
{
	background-image: url(gfx/h2-o-stronie.gif);
}

#content h2#h-autor span
{
	background-image: url(gfx/h2-autor.gif);
}


#content h2 a:link span,
#content h2 a:visited span
{
	background-position: 0 0;
}

#content h2 a:hover span,
#content h2 a:active span
{
	background-position: -430px 0;
}



#content h3
{
	color: #6A8A26;
	font-size: 160%;
	font-weight: normal;
	margin: 20px 0;
}

#content h4
{
	color: #6A8A26;
	font-size: 120%;
	font-weight: bold;
	margin: 20px 0;
}


#content h5
{
	color: #6A8A26;
	font-size: 100%;
	font-weight: bold;
	margin: 20px 0;
}


#content p
{
	line-height: 1.5em;
	margin: 1.5em 0;
}

#content blockquote
{
	line-height: 1.5em;
	margin: 1.5em 1em;
	padding: 0 1em;
	border-left: 2px solid #CBD7B2;
}

#content blockquote cite
{
	display: block;
}

#content pre
{
	overflow: auto;
	background: #fff;
	padding: 10px;
	margin: 20px 0;
}

#content ul,
#content ol
{
	margin-left: 20px;
}


#content ul.pages
{
	padding: 0;
	margin: 0;
	list-style: none;
}

#content ul.pages li
{
	float: left;
	margin: 0;
}
#content ul.pages li.next
{
	float: right;
	margin: 0;
}
#content ul.pages li a, 
#content ul.pages li strong
{
	display: block;
	padding: 3px 5px;
}

/**************************
  forms
**************************/

fieldset
{
	border: 1px solid #CBD7B2;
	padding: 20px;
	margin: 10px 0;
}

legend
{
	padding: 0 5px;
}

input, textarea
{
	border-left: 1px solid #8CAA4D;
	border-top: 1px solid #8CAA4D;
	border-bottom: 1px solid #CBD7B2;
	border-right: 1px solid #CBD7B2;
	margin-bottom: 5px;
}

input.button
{
	background: #8CAA4D;
	color: #fff;
	border-bottom: 1px solid #6A8A26;
	border-right: 1px solid #6A8A26;
	border-left: 1px solid #CBD7B2;
	border-top: 1px solid #CBD7B2;
	padding: 3px 5px;
}

label
{
	display: block;
}

label.required span
{
	color: #6A8A26;
}



/**************************
  post entry
**************************/

#content h3.post-title
{
	margin-bottom: 0;
}

#content p.post-date
{
	margin-top: 5px;
}

#content .post-nav
{
	padding-bottom: 50px;
	border: 0;
	margin-bottom: 15px;
	background: url(gfx/news-spacer.gif) center bottom no-repeat transparent;
}

#content p.last
{
	padding-bottom: 0px;
	border: 0;
	margin-bottom: 20px;
	
	background: transparent;
}

#content ul.post-nav
{
	padding-left: 0px;
	margin-left: 0px;
}

#content ul.post-nav li
{
	margin: 3px 0px 3px 20px;
}

#content h3.post-title a:link,
#content h3.post-title a:visited
{
	color: #6A8A26;
	text-decoration: none;
	background: none;
}

#content h3.post-title a:hover,
#content h3.post-title a:active
{
	color: #fff;
	text-decoration: none;
	background: #d00303;
}



/**************************
  post comments
**************************/

ol.comments
{
	list-style-position: outside;
	margin: 0 20px;
}

#content .comments h4.comment-author
{
	font-size: 120%;
	margin: 0;
	font-weight: normal;
}

#content .comments p.comment-date
{
	display: block;
	margin-top: 5px;
}

.comments h4 a:link span,
.comments h4 a:visited span
{
	display: none;
}

.comments h4 a:hover span,
.comments h4 a:active span
{
	display: inline;
}

.comments li
{
	border-bottom: 1px solid #CBD7B2;
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
}

.comments li.last
{
	border: 0;
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
}


ul #praca
{
	position: absolute;
	left: -9999px;
	width: 3px;
}