/**************************************************************************
	Site: bstankowski.pl
	File: main.css
	Author: Bartek Stankowski
	Update: 26.11.2009

***************************************************************************/


/* = 1. BASE
   -----------------------------------------------------------------------*/


/* = 1.1 CSS Reset
   -----------------------------------------------------------------------*/

html, body, div, span, applet, object,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, cite, code,
del, dfn, em, img, ins, kbd, q,
strong, sub, sup,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
legend { display: none; }
a { text-decoration: none; }
blockquote, q { quotes: none;}
ul li { list-style: none; }
table { border-collapse: collapse; border-spacing: 0;}


/* = 1.2 Accessibility Nav
   ------------------------------------------------------------------------*/

#a11y { position: absolute; }

#a11y a {
	position: absolute;
	left: -999em;
}

#a11y a:focus { left: 1em; }


/* = 1.3 Globals
   -----------------------------------------------------------------------*/

@font-face {
	font-family: 'BonvenoCF Light';
	src: local('BonvenoCF Light'),
	     local('BonvenoCF-Light'),
	     url('http://bstankowski.pl/fonts/BonvenoCF-Light.otf') format('opentype');
}

body {
	font: medium/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #333;
	background: #f5f5f5 url(../i/bgtop1.gif) 0 40px repeat-x;
}

h1, h2, h3, h4, h5, h6,
#promo dt,
#promo dt a:link,
#sub-nav li {
	font-family: "BonvenoCF Light", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arial, sans-serif;
	font-weight: 100;
	color: #0a82bc;
	text-shadow: 1px 1px 1px #888;
}

a { border-bottom: 1px solid }

a:link { color: #00acff; } 

a:visited { color: #087bb2; }

a:hover,
a:focus {
	color: #df431c;
	border-bottom: none;
}

a:active { color: #DF431C }

h2,
#promo dt {
	margin-bottom: .5em;
	font-size: 260%;
	line-height: 1em;
}

h2 { margin-bottom: .7em }

h3,
h6,
#content .excerpt h2 { 
	margin-bottom: .5em;
	font-size: 160%;
}

#content .excerpt h2 { line-height: 1.4em }

#content h3,
h4, h5 { margin: .5em 0; }

#page-dlaczegoja #content h3 { 
	margin: .5em 0; 
	font-size: 150%
}

h4 { font-size: 145%; }

h5 { font-size: 130%; }

h2 a,
h3 a,
h4 a,
dt a,
#footer a,
#categories a,
#archive a,
#breadcrumbs a { border: none }

#footer a:hover, #footer a:focus,
dt a:hover, dt a:focus,
h2 a:hover, h2 a:focus,
h3 a:hover, h3 a:focus,
h4 a:hover, h4 a:focus,
#sub-nav a:hover, #sub-nav a:focus,
#breadcrumbs a:hover, #breadcrumbs a:focus { border-bottom: 1px solid }

#content p { margin-bottom: .3em; }

img {
	padding: 1px;
	background-color: #fff;
	border: 1px solid #000;
}

em {
	font-weight: bold;
	font-style: normal;
	color: #084f60
}

strong {
	font-weight: bold;
	color: #222;
}

del { text-decoration: line-through; }

abbr[title] { border-bottom: 1px dotted #888; }


/* = 2. LAOUT PARTS
   -----------------------------------------------------------------------*/


/* = 2.1 Header
   -----------------------------------------------------------------------*/

#header {
	position: relative;
	width: 940px;
	height: 160px;
	margin: 42px auto 0;
	padding-right: 20px;
	background-color: #000;
}

h1 {
	float: left;
	margin-top: 17px;
}

h1, 
h1 a, 
h1 span {
	display: block;
	width: 670px;
	height: 130px;
	cursor: pointer;
}

h1 a { 
	position: relative; 
	font: 100%/1.5 "BonvenoCF Light", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	color: #00acff;
	text-align: center;
	border: none;
}

h1 span {
	position: absolute;
	top: 0;
	left: 0;
	background: transparent url(../i/bstankowski-top.png) 0 0 no-repeat;
}

#page-portfolio h1 span { background: transparent url(../i/bstankowskiportfolio-top.png) 0 0 no-repeat; }

#f-search {
	position: absolute;
	top: 0;
	right: 20px;
	width: 100%;
	height: 40px;
	visibility: hidden;
}

#f-search fieldset {
	width: 940px;
	margin: 0 auto;
	line-height: 40px;
	text-align: right;
}

#f-search #search {
	width: 15em;
	padding: .5em .6em;
	color: #fff;
	background-color: #000;
	border: none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

#f-search .submit {
	width: 26px;
	height: 22px;
	margin: 0;
	text-indent: -1000em;
	background: transparent url(../i/search.gif) 0 0 no-repeat;
	border: none;
	cursor: pointer;
}

#f-search label { display: none; }


/* = 2.2 Nav
   -----------------------------------------------------------------------*/

#nav {
	float: right;
	width: 128px;
	margin: 20px 0 0 0;
}

#nav li { list-style: none; }

#nav a,
#nav span {
	display: block;
	height: 32px;
	width: 122px;
	color: #fff;
}

#nav a {
	position: relative;
	font: 100%/1 "BonvenoCF Light", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	color: #00acff;
	text-align: right;
	border: none;
	overflow: hidden;
}

#nav span {
	position: absolute;
	top: 0;
	left: 0;
	background: transparent url(../i/nav.png) 0 0 no-repeat;
}

#nav #home span { background-position: 0 0; }

#nav #home:hover span,
#nav #home:hover span { 
	background-position: -122px 0; 
}

#page-home #nav #home span { background-position: -244px 0; }

#nav #portfolio {margin-top: 2px}

#nav #portfolio span { background-position: 0 -32px; }

#nav #portfolio:hover span,
#nav #portfolio:focus span {
	background-position: -122px -32px;
}

#page-portfolio #nav #portfolio span { background-position: -244px -32px; }

#nav #blog span { background-position: 0 -66px; }

#nav #blog:hover span,
#nav #blog:focus span { 
	background-position: -122px -66px;
}

#page-blog #nav #blog span { background-position: -244px -66px; }

#nav #contact span { background-position: 0 -97px; }

#nav #contact:hover span,
#nav #contact:focus span { 
	background-position: -122px -97px;
}

#page-contact #nav #contact span { background-position: -244px -97px; }

#page-home #nav #home,
#page-portfolio #nav #portfolio,
#page-blog #nav #blog,
#page-contact #nav #contact {
	cursor: default;
}


/* = 2.3 Promo
   ----------------------------------------------------*/
   
#promo {
	padding: 40px 0 5px;
	background: transparent url(../i/entry-intro-b.gif) left bottom repeat-x;
	border-bottom: 1px solid #000;
	overflow: hidden;
}

#promo ul,
#promo ul li,
#promo-wrap {
	width: 920px;
	margin: 0 auto 1em;
	padding: 0;
	overflow: hidden;
}

#promo-wrap {
	position: relative;
	margin-bottom: 0; 
}

.js #promo ul {
	position: relative;
	margin-bottom: 0 
}

.js #promo ul li {
	float: left;
	margin: 0;
	padding: 0; 
}

.js #promo dl { overflow: hidden; }

#promo dt,
#promo dd {
	float: right;
	width: 440px;
}

#promo .img {
	float: left;
	width: 440px;
	margin-bottom: 50px;
}

#page-home #promo .img { height: 255px }

#promo .img a {
	display: block;
	width: 440px;
	height: 244px;
	border: none; 
	-moz-box-shadow: 3px 4px 5px #a9a9a9;
	-webkit-box-shadow: 3px 4px 5px #a9a9a9;
	box-shadow: 3px 4px 5px #a9a9a9;
}

#promo .img a span {
	position: absolute;
	bottom: 10px;
	right: 10px;
	display: block;
	width: 49px;
	height: 40px;
	background: transparent url(../i/zoom.png) 0 0 no-repeat;
}

#promo .project .img a { margin-bottom: 1em; }

#promo dd.excerpt { margin-bottom: 50px; }

#promo dd.info {
	clear: both;
	width: 920px;
	height: 35px;
	line-height: 35px;
	margin: 0 auto 0;
	font-size: 1em;
	color: #fff;
	background: #000;
}

#promo .info span {
	float: left;
	display: block;
}

#promo .info .date { width: 40% }

#promo .info .tags { 
	width: 60%;
	text-align: right;
}

.info a {
	border: none; 
	margin-left: 3px; 
}

.info a:hover,
.info a:focus {
	border-bottom: 1px solid;
}

.info em { 
	color: #0a70a1;
	font-weight: normal;
}

#content .inner {
	width: 920px;
	margin: 0 auto;
	padding-top: 10px;
	overflow: hidden;
}

#pager {
	position: absolute;
	left: 50%;
	top: 525px;
	display: block;
	height: 10px;
	z-index: 300;
}

#pager a {
	display: block;
	float: left;
	width: 10px;
	height: 10px;
	background: transparent url(../i/dots.gif) 0 0 no-repeat;
	text-indent: -1000em;
	border: none;
}

#pager a.current { background-position: -11px 0 }   


/* = 2.4 Content
    ----------------------------------------------------*/

#content {
	clear: both;
	background: #f5f5f5 url(../i/bg2.gif) 0 0 repeat-x;
}

.inner {
	width: 920px;
	margin: 0 auto;
	padding: 0 20px;
}

#content ul,
#content ol { margin-bottom: 1em; }


/* HOME content */

#page-home #content { padding-top: 15px; }

.page-info #content ul li,
#page-home #content ul li { 
	list-style: square;
	margin-left: 17px; 
}

.page-info #content ol li,
#page-home #content ol li {
	margin-left: 22px;
}

.page-info #content {
	margin-bottom: 30px;
	padding-top: 20px
}

#page-portfolio #content { margin-bottom: 0 }

.col.left {
	float: left;
	width: 640px;
	padding-right: 60px;
	background: transparent url(../i/excerpt-separator.gif) 100% 0 repeat-y;
}

.col.right {
	float: left;
	width: 210px;
}

.col.right h6 { font-size: 125%; }

#content #sub-nav li {
	list-style: none;
	font-size: 130%;	
	text-align: right;
}

#sub-nav li {  margin-bottom: 1px }

#sub-nav a {
	border: none;
	display: block;
	background: #000;
	padding-right: 10px;
	color: #fff;
}

#sub-nav a:hover,
#sub-nav a:focus {
	color: #00acff;
	border: none;
}

#page-omnie #omnie,
#page-oferta #oferta,
#page-dlaczegoja #dlaczegoja,
#page-faq #faq {
	color: #00ACFF;
	cursor: default;
}

#content .excerpt {
	clear: left;
	position: relative;
	float: left;
	width: 440px;
	margin-bottom: 30px;
	padding: 0 20px 4em 0;
	background: transparent url(../i/excerpt-separator.gif) 100% 0 repeat-y;
}

#content .excerpt.entry2 { 
	clear: right;
	float: right; 
	padding: 0 0 4em 20px;
	background: none;
}

#content .excerpt:hover p:first-of-type { color: #000 }

#content .excerpt .info {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 420px;
	padding: .4em .7em;
	font-size: .9em;
	color: #fff;
	background-color: #000;	
}

#content .excerpt.entry2 .info { left: 20px }


/* PORTFOLIO content */

#breadcrumbs {
	width: 920px;
	margin: -0.5em auto 0;
	padding-bottom: .3em;
	font-size: .85em;
	border-bottom: 1px solid #aaa;
}

#content .inner #breadcrumbs {
	width: 98%;
	margin: 0 0 2em 0;
}

#breadcrumbs span { color: #777; }
   
#page-portfolio #content .inner { background: none }

#page-portfolio #promo {
	padding-top: 20px;
	background: none 
}

#page-portfolio #promo dl {
	width: 920px;
	margin: 0 auto 1em;
	padding: 2em 0 0;
	overflow: hidden;
}

#page-portfolio #promo dt { clear: both; }

#page-portfolio #promo .tags,
#page-portfolio #promo .madefor {
	width: 410px;
	margin-top: .5em;
	padding: .4em 15px;
	font-size: .9em;
	color: #fff;
	background-color: #000;	
}

#page-portfolio #promo .tags { margin-top: 1em }

#page-portfolio #promo .madefor { background-color: #000128  }

#page-portfolio #promo strong {
	display: block;
	color: #48B6DF;
}

#portfolio-nav {
	width: 920px;
	margin: 0 auto 1em;
	overflow: hidden
}

#portfolio-nav a {
	float: left;
	display: block;
	width: 45%;
	padding: .4em 13px;
	color: #fff;
	background-color: #0f0f0f;
	border: none;
}

#portfolio-nav a:hover,
#portfolio-nav a:focus {
	color: #DF431C
}

#portfolio-nav #next {
	float: right;
	text-align: right;
}

.ask-for-more {
	width: 920px;
	margin: 0 auto;
}

.ask-for-more p {
	float: right;
	width: 410px;
	padding: 0.4em 15px;
	color: #fff;
	text-align: center;
	background-color: #000128;	
}


/* = 2.5 Footer
    ----------------------------------------------------*/ 

#footer {
	padding: 60px 0 0;
	background: #eaeaea url(../i/bg3.gif) 0 0 repeat-x
}

#footer .section {
	float: left;
	width: 220px;
	color: #3C4145;
}

#categories ul { width: 200px; }

#footer li {
	float: left;
	margin: 0 10px 0 0;
	font-size: .9em;
	list-style: square inside;
}

#archive { margin-right: 20px }

#archive .year {
	display: block;
	line-height: 2em;
	text-align: center;
	color: #000;
	background-color: #48b6df;
	border: none;
}

#archive .months {
	width: 80%;
	margin: 0 auto 10px;
	text-align: center
}

#archive strong { display: block; }

#footer #archive li {
	float: none;
	margin: 0;
	font-size: 1em;
}

#footer #archive .js li { list-style: none }

#archive .months li { display: inline; }

#archive .months a {
	padding: .2em;
	border: none
}

#archive .months a:visited { color: #0a70a1 }

#archive .months a:hover,
#archive .months a:focus,
#archive ul > li:hover .year {
	color: #fff;
	background: #0a70a1;
	border-bottom: none;
}

#archive p { font-size: .9em }

#owner p,
#about p {
	padding-right: 20px;
	font-size: .9em;
	line-height: 1.4em
}

#owner,
#delicious,
#offer { margin-left: 20px; }

#twitter div {
	padding-bottom: 113px;
	background: transparent url(../i/twitter.jpg) left bottom no-repeat;
}

#footer #twitter p {
	margin-bottom: 0;
	padding: .5em;
	font-size: .9em;
	color: #000;
	background-color: #48b6df;
}

#twitter p a { color: #df431c; }

#delicious li,
#offer li {
	float: none;
	list-style-position: outside;
	margin-left: 15px;
}

#copy {
	position: relative;
	clear: both;
	margin-top: 20px; 
	padding: 2.8em 0;
	line-height: 2em;
	font-size: .9em;
	background: transparent url(../i/footer.gif) 0 0  repeat-x;
	border-bottom: 1px solid #646464
}

#copy p {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 920px;
	margin-left: -460px;
	overflow: hidden;
}

#copy span {
	float: left;
	width: 460px;
}

#copy #copyrights { text-align: right; }

#page-blog #copy #poweredby,
#copy #sitemap {
	float: right;
	width: 280px;
	padding-right: 40px;
	text-align: right;
	background: transparent url(../i/jogger.gif) 100% 2px no-repeat; 
}

#copy #sitemap {
	padding-right: 0;
	background: none;
}

#copy a { color: #092232 }

#footer h6 span {
	font-size: 60%;
	color: #7f7f7f;
}


/* = 2.6 Contact Forms
   ----------------------------------------------------*/
   
.contact label,
.contact .text {
	display: block;
	color: #555;
}

.contact .text:focus {
	color: #000;
	border-color: #000;
}

.contact .text.error:focus { border-color: #aa0b11 }

.contact label.focus { color: #000 }

.contact label {
	font-size: 1.2em; 
	line-height: 30px;
}

.contact .text {
	width: 500px;
	margin: .2em 0 1em; 
	padding: 7px;
	border: 1px solid #a3a3a3;
	font: 1em/1.2 Helvetica, Arial, sans-serif;
}

#page-contact .col.right { float: right; }

#page-contact .col.right ul { width: 90% }

.message {
	width: 414px;
	margin: 1.2em 0;
	padding: .5em 50px .5em 50px;
	border: 1px solid;
}

.error { color: #aa0b11; }

.ok { color: #67932e; }

p.message.error { background: transparent url(../i/ico-err.png) 10px 50% no-repeat; }

p.message.ok { background: transparent url(../i/ico-ok.png) 10px 50% no-repeat;  }

.text.error { border: 1px solid #aa0b11; }

#sending {
	display: block;
	height: 24px;
	padding-left: 30px;
	line-height: 24px;
	background: transparent url(../i/ajax-loader.gif) 0 0 no-repeat;
}

.submit { margin-top: 1em; }

#page-contact .fn { display: none; }
