/*
Theme Name: Room 34 Baseline
Theme URI: http://room34.com/downloads/wppi
Description: A simple baseline WordPress theme built with HTML 5 and Blueprint CSS.
Version: 1.5
Author: Scott Anderson
Author URI: http://room34.com/
Tags: white, silver, light, two-columns, fixed-width

	This is a barebones, yet elegantly designed theme written in valid (X)HTML 5
	and using the Blueprint CSS framework.  It works well on its own and is also
	an excellent starting point for custom theme development.
	
	The theme is suitable for use with a standard WordPress blog, but is also
	designed for sites that use WordPress as a CMS, with a horizontal navigation
	bar in the header area, with drop-down menus for secondary navigation.
	Secondary navigation also appears in a sidebar menu when viewing appropriate
	primary and secondary pages.
	
Credits and license:

Uses the Blueprint CSS framework:
http://www.blueprintcss.org/

Design, CSS and HTML are released under LGPL version 3:
http://www.gnu.org/licenses/lgpl-3.0-standalone.html

Last update: August 20, 2009
*/

/* STANDARD HTML TAGS */

body {
	color: #111;
	font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, sans-serif;
}

ul, ol {
	margin:0;
}

p {
	font-size:11px;
	letter-spacing:1px;
	line-height:154%;
	margin:0 0 20px;
	text-align:justify;
}

.home #content p,
.home #content strong,
.home #content a {
	font-weight: normal !important;
	text-align: left !important;
}

.page p,
.single p {
	font-size:13px;
	letter-spacing:0px;
}

a, a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active, a:focus {
	outline: none;
}

a.more-link  {
	position:absolute;
	display:block;
	bottom:10px;
	margin:4px 4px 0 0;
	padding:2px 5px;
	width:60px;
	color:#FFFFFF;
	background:none repeat scroll 0 0 #009EE0;
	font-size: 11px;
}

a.more-link:hover  {
	color:#000;
	text-decoration: none;
}

blockquote {
	border-left: 0.5em solid #ccc;
	font-size: 0.9em;
	font-style: normal;
	padding: 0 0 0 1em;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2em;
	font-weight: bold;
}

hr {
	background: #fff;
	color: #fff;
	margin:0 0 1em;
}

small {
	color: #555;
	font-size: 0.9em;
}

th {
	background: #eee !important;
}

ul.inline {
	display: block;
	margin: 1em 0;
	padding: 0;
}

	ul.inline li {
		display: inline;
		margin: 0 0.5em 0 0;
	}

/* CUSTOM CSS CLASSES */

.alignleft {
	float: left; display: inline; /* IE6 fix */
	padding: 0 1em 0.5em 0;
	text-align: left;
}

.aligncenter {
	display: block;
	margin: 1em auto;
	text-align: center;
}

.alignright {
	float: right; display: inline; /* IE6 fix */
	padding: 0 0 0.5em 1em;
	text-align: right;
}

.alignjustify {
	text-align: justify;
}

.commentlist {
	clear: both;
	list-style: none;
	margin: 1em 0;
	padding: 0;
}

	.commentlist li {
		border-bottom: 1px solid #eee;
		margin: 0.5em 0;
	}

	.commentlist cite {
		font-size: 1.2em;
		font-style: normal;
	}

	.commentlist img {
		border: 1px solid #eee;
		float: left; display: inline; /* IE6 fix */
		margin: 0 1em 0.5em 0;
		padding: 4px;
		text-align: left;
	}

	.commentlist p {
		clear: both;
	}
	
	.commentlist .bypostauthor {
		background: #eee;
		border-left: 0.5em solid #ccc;
		border-color: #ccc;
		padding-left: 1em;
	}
		
.commentmetadata {
	color: #555;
	font-size: 0.9em;
}

.entry {
}

.input label {
	display: block;
	font-size: 0.9em;
	font-weight: normal;
}

.post {
	margin: 0 0 1em 0;
}

.post-wrapper {
	border-bottom:1px solid #6E6E6E;
	border-top:1px solid #6E6E6E;
	padding-top:1em;
	padding-bottom: 34px;
	position:relative;
}

#content .post-wrapper h1,
#content .post-wrapper h2,
#content .post-wrapper h3,
#content .post-wrapper h4,
#content .post-wrapper h5 {
	color: #000;
	border-bottom: none !important;
	font-size:12px;
	padding-bottom:1em;
	/*font-weight: bold;*/
}

#content .post-wrapper h1 a,
#content .post-wrapper h2 a,
#content .post-wrapper h3 a,
#content .post-wrapper h4 a,
#content .post-wrapper h5 a {
	color: #000;
	/*font-weight: bold !important;*/
}

.postmetadata {
	clear: both;
	color: #555;
	font-size: 0.9em;
}

.wp-caption {
	background: #eee;
	border: 1px solid #ccc;
	padding: 0.5em;
}

	.wp-caption img {
		border: 0;
		margin: 0;
		padding: 0;
	}
	
	.wp-caption p.wp-caption-text {
		margin: 0;
		padding: 0;
	}

/* DOM ELEMENTS */

#page {
	margin-top: 10px;
}

	#header {
		height: 180px;
		overflow: hidden;
	}
	
		#header * {
			color: #555;
			line-height: 1.3em;
			text-decoration: none;
		}
		
		#headerimg {
			background: transparent;
		}
		
		#lang_sel_list a, #lang_sel_list a:visited {
			background:none repeat scroll 0 0 #FFFFFF;
			border:none;
		}
		
		#language-selector {
			list-style-type: none;
		}
		
		#lang_sel_list {
			width: 100%;
		}
		
		#lang_sel_list ul {
			border-top: none;
			width: inherit;
		}
		
		#lang_sel_list li {
			width: inherit;
			float: right;
			text-align: right;
		}
				
		.pl .icl-pl {
			display: none;
		}
		.en .icl-en {
			display: none;
		}

		#lang_sel_list .icl-en a,
		#lang_sel_list .icl-pl a {
			height: 11px;
			float: right;
			padding: 0;
			margin: 0;
		}
		
		#lang_sel_list .icl-en a span,
		#lang_sel_list .icl-pl a span {
			padding-left: 3333px;
		}

		#lang_sel_list .icl-en a {
			width: 50px;
			background: url(images/lang_en.gif) no-repeat 100% 0;
		}

		#lang_sel_list .icl-pl a {
			width: 40px;
			background: url(images/lang_pl.gif) no-repeat 100% 0;
		}
		
		#header h1 {
			margin: 0.2em 0 0 0;
		}
				
	#nav {
		border-top: 1px solid #000;
		border-bottom: 1px solid #000;
	}
	
		#nav ul {
			list-style: none;
			margin: 0;
			padding: 0;
		}
		
		#nav ul li {
			float: left; display: inline; /* IE6 fix */
			margin: 0;
			position: relative;
		}
		
		.pl #nav ul li {
			padding:16px 1.5em;
		}
		
		.en #nav ul li {
			padding:16px 2.1em;
		}			
			.pl #nav ul li ul li a,
			.en #nav ul li ul li a {
				background-image: none;
			}
		
			.pl #nav ul li a,
			.en #nav ul li a {
 				text-indent:-9999px;
				padding: 0 4px;				
			}
		
			#nav ul li a {
				display: block;
				padding: 0 0.3em;
				height: 14px;
				line-height: 14px;
				letter-spacing: 1px;
				font-size: 9px !important;
				text-decoration: none;
				background-position: 0 0;
				background-repeat: no-repeat;
			}
			
			.pl #nav ul li a {
				background-image: url(images/menu_pl.gif);
			}
			
			#nav ul li.page-item-92,
			#nav ul li.page-item-118 {
				padding-left: 0;
			}
			
			#nav ul li.page-item-102,
			#nav ul li.page-item-125 {
				padding-right: 0;
			}
			
			#nav ul li.page-item-92 a {
			 	background-position: -7px -11px;
				width:75px;
			}
			
			#nav ul li.current_page_item a#page-item-92,
			#nav ul li.current_page_ancestor a#page-item-92,
			#nav ul li a#page-item-92:hover {
			 	background-position: -7px -38px;
			}

			#nav ul li.page-item-97 a {
			 	background-position:-122px -11px;
				width:95px;
			} 

			#nav ul li.current_page_item a#page-item-97,
			#nav ul li.current_page_ancestor a#page-item-97,
			#nav ul li a#page-item-97:hover {
			 	background-position:-122px -38px;
			}
			
			#nav ul li.page-item-98 a {
			 	background-position:-268px -11px;
				width:75px;
			} 

			#nav ul li.current_page_item a#page-item-98,
			#nav ul li.current_page_ancestor a#page-item-98,
			#nav ul li a#page-item-98:hover {
			 	background-position:-268px -38px;
			}
			
			#nav ul li.page-item-99 a {
			 	background-position:-396px -11px;
				width:180px;
			} 

			#nav ul li.current_page_item a#page-item-99,
			#nav ul li.current_page_ancestor a#page-item-99,
			#nav ul li a#page-item-99:hover {
			 	background-position:-396px -38px;
			}
			
			#nav ul li.page-item-101 a {
			 	background-position:-616px -11px;
				width:44px;
			} 

			#nav ul li.current_page_item a#page-item-101,
			#nav ul li.current_page_ancestor a#page-item-101,
			#nav ul li a#page-item-101:hover {
			 	background-position:-616px -38px;
			}
			
			#nav ul li.page-item-100 a {
				background-position:-707px -11px;
				width:135px;
			}

			#nav ul li.current_page_item a#page-item-100,
			#nav ul li.current_page_ancestor a#page-item-100,
			#nav ul li a#page-item-100:hover {
			 	background-position:-707px -38px;
			}
			
			#nav ul li.page-item-102 a {
			 	background-position:-868px -11px;
				width:72px;
			} 

			#nav ul li.current_page_item a#page-item-102,
			#nav ul li.current_page_ancestor a#page-item-102,
			#nav ul li a#page-item-102:hover {
			 	background-position:-868px -38px;
			}
			
			.en #nav ul li a {
			 	background-image: url(images/menu_en.gif);
			}  

			#nav ul li.page-item-118 a {
			 	background-position: -3px -11px;
				width:90px;
			}
			
			#nav ul li.current_page_item a#page-item-118,
			#nav ul li.current_page_ancestor a#page-item-118,
			#nav ul li a#page-item-118:hover {
			 	background-position: -3px -38px;
			}

			#nav ul li.page-item-119 a {
			 	background-position:-122px -11px;
				width:59px;
			} 

			#nav ul li.current_page_item a#page-item-119,
			#nav ul li.current_page_ancestor a#page-item-119,
			#nav ul li a#page-item-119:hover {
			 	background-position:-122px -38px;
			}
			
			#nav ul li.page-item-120 a {
			 	background-position:-268px -11px;
				width:85px;
			} 

			#nav ul li.current_page_item a#page-item-120,
			#nav ul li.current_page_ancestor a#page-item-120,
			#nav ul li a#page-item-120:hover {
			 	background-position:-268px -38px;
			}
			
			#nav ul li.page-item-121 a {
			 	background-position:-392px -11px;
				width:180px;
			} 

			#nav ul li.current_page_item a#page-item-121,
			#nav ul li.current_page_ancestor a#page-item-121,
			#nav ul li a#page-item-121:hover {
			 	background-position:-392px -38px;
			}
			
			#nav ul li.page-item-124 a {
			 	background-position:-616px -11px;
				width:44px;
			} 

			#nav ul li.current_page_item a#page-item-124,
			#nav ul li.current_page_ancestor a#page-item-124,
			#nav ul li a#page-item-124:hover {
			 	background-position:-616px -38px;
			}
			
			#nav ul li.page-item-123 a {
			 	background-position:-702px -11px;
				width:59px;
			} 

			#nav ul li.current_page_item a#page-item-123,
			#nav ul li.current_page_ancestor a#page-item-123,
			#nav ul li a#page-item-123:hover {
			 	background-position:-702px -38px;
			}
			
			#nav ul li.page-item-125 a {
			 	background-position:-868px -11px;
				width:72px;
			} 

			#nav ul li.current_page_item a#page-item-125,
			#nav ul li.current_page_ancestor a#page-item-125,
			#nav ul li a#page-item-125:hover {
			 	background-position:-868px -38px;
			}
			
			#nav ul li ul {
				background: url(images/submenu-bottom.png) left bottom no-repeat;
				display: none;
				position: absolute;
				z-index: 99;
				padding-bottom: 13px;	
			}
	
			#nav ul li:hover ul {
				display: block;
				left: 0;
				min-width: 198px; /* - padding*/
				width: 198px;
				top: 2.1em;
				white-space: nowrap;
				color: #fff;
				padding-top: 30px;
			}

			#nav ul li:hover li {
				background: url(images/submenu-bg.png) left top repeat-y;
				display: block;
				float: none;
				font-size: 0.9em;
				color: #fff;
				margin: 0;
				padding: 0 14px 0 7px;
			}

			
			.pl #nav ul li ul li a:hover,
			.en #nav ul li ul li a:hover,
			.pl #nav ul li ul li.current_page_item a,
			.en #nav ul li ul li.current_page_item a {
				color: #000;
			}
			
			#nav ul li:hover li a {
				color: #fff;			
				border-top: 1px solid #fff;
				padding: 0.3em 0em;
 				text-indent: 0;
				width: 100%;
			}
			
			#nav ul li:hover ul li:first-child a {		
				border-top: none;
			}
			
			/* sub sub menu*/
			#nav ul li:hover ul li ul {
				position: relative;
				display: block;
				top: 0;
				padding-bottom: 0.2em;
				padding-top: 0px;
				background: none;
			}
			
			#nav ul li:hover ul li ul li {
				background: none;
				padding: 0;
			}
			
			#nav ul li:hover ul li ul li a,
			#nav ul li:hover ul li.current_page_item ul li a {
				border: none;
				color: #fff;
				padding: 0.2em 0 0.2em 3em;
				font-size: 1em;
				background: url(images/submenu-submenu-a.gif) no-repeat left center;
			}
			
			#nav ul li:hover ul li ul li a:hover,
			#nav ul li:hover ul li ul li.current_page_item a {
				color: #000;
				background: url(images/submenu-submenu-a-hover.gif) no-repeat left center;
			}
			
			/* wyłączony kontakt w menu głównym */
			#nav .page-item-158,
			#nav .page-item-159 {
				display: none !important;
			}


	#colors {
		margin-top: 7px;
		margin-bottom:5px;
	}
	
	#content {
		/*margin: 1.5em 0;
		width: 730px;
		padding-left: 20px;*/
		overflow: hidden;
		margin-top: 5px;
	}
	
	.single #content {

	}
	
	.home #content {
		padding-right: 20px;
		padding-left: 20px;
	}
	
	.home #content .post {
		padding-right: 20px;
		padding-left: 20px;
		width: 190px;
	}
	
		#content h1 {
			font-size: 1.4em;
			margin:0 0 1em;
			border-bottom: 1px solid #808080;
			text-transform:uppercase;
		}
	
		#content h2 {
			font-size: 1.3em;
			margin: 0 0 0.2em 0;
			border-bottom: 1px solid #808080;
			padding-bottom:0.4em;
		}
	
		#content h3 {
			font-size: 1.2em;
			margin: 1em 0 0.2em 0;
			border-bottom: 1px solid #808080;
		}
		
		#content h1 a,
		#content h2 a,
		#content h3 a {
			color: #000;
		}
		
		#content h1 a:hover,
		#content h2 a:hover,
		#content h3 a:hover {
			text-decoration: none;
		}
	#sidebar {
		font-size: 0.9em;
		/*margin: 1em 0 0 1em;*/
		overflow: hidden;
	}
	
		#sidebar ul {
			list-style: none;
			margin: 0 0 1.5em 0;
			padding: 0;
		}
		
		#sidebar li {
			margin: 0 0 0.5em 0;
		}
		
		#sidebar h2 {
			font-size: 1.2em;
			margin: 0.5em 0;
		}
		
		#sidebar h2 a {
			color: #111;
			text-decoration: none;
		}
		
		#sidebar form {
			margin-bottom: 1.5em;
		}
		
		#sidebar div {
			line-height: 1.5em;
			margin: 0 0 0 0;
		}

		#sidebar div a {
			padding: 0 0.5em 0 0;
			white-space: nowrap;
		}

		#sidebar div a:hover {
			color: #036 !important;
		}
	
	#searchform label,
	#searchform input#searchsubmit {
		display: none;
	}

	#newsletter div,
	#searchform div {
		padding:16px 0 12px;
	}
	
	.en #searchform div {
		background: url(images/search_en.gif) no-repeat 0 0;
	}	
	
	.pl #searchform div {
		background: url(images/search_pl.gif) no-repeat 0  0;
	}
	
	.en #newsletter div {
		background: url(images/newsletter_en.gif) no-repeat 0 0;
	}	
	
	.pl #newsletter div {
		background: url(images/newsletter_pl.gif) no-repeat 0  0;
	}
	
	#sidebar #newsletter {
		margin-bottom: 2em;
	}
	
	#newsletter input#nText,
	#searchform input#s {
		border-color:#808080 -moz-use-text-color;
		border-left: none;
		border-right: none;
		height: 14px;
		line-height: 14px;
		padding: 3px 0;
		width: 100%;
	}

	/* events calendar */
	#wp-calendar {
		margin: 0 !important;
	}
	
	#wp-calendar td,
	#wp-calendar th {
		background-color: #fff !important;
		font-weight: bold;
	}
	
	#wp-calendar td {
		color: #000 !important;
		margin: 0px !important;
		padding: 0px !important;
		border: none !important;
		text-align: center;
	}
	
	#wp-calendar th {
		border-top: 1px solid #808080;
		height: 24px;
		line-height: 24px;
		vertical-align: middle;
	}
	
	#wp-calendar th.week-day {
		color: #009ee0;
		text-transform:uppercase;
	}
	
	#calendar-month {
		text-transform:uppercase;
		font-size: 1.3em;		
		color: #000 !important;
	}
	
	#wp-calendar .month th {
		padding: 0;
	}
		
	#wp-calendar .week th {
		padding: 8px 0 3px 0;
		text-align: center;
		font-size:13px;
	}
	
	#wp-calendar .padday {
		background-color: #fff !important;
	}

	#wp-calendar .dayHasEvents,
	#wp-calendar #todayWidget span {
		display: block;
		margin: 0 !important;
		-moz-border-radius: 0 0 0 0 !important;
		background-color: #009ee0 !important;
		border:2px solid #FFFFFF !important;
		color: #fff;
		cursor: pointer;
	}
	
	#wp-calendar #todayWidget span {
		color: #000 !important;
	}
	
	#wp-calendar #EC_previousMonth {
		text-indent: -9999px;
		display: block;
		width: 21px;
		height: 14px;
		background: url(images/arrow-left.gif) no-repeat center center;
	}

	#wp-calendar #EC_nextMonth {
		text-indent: -9999px;
		display: block;
		width: 21px;
		height: 14px;
		background: url(images/arrow-right.gif) no-repeat center center;
	}

	#tooltip.blue {
		background: url(images/tooltip-bottom.png) no-repeat 0 bottom !important;
		width: 193px;
		border: none !important;
		padding:0 0 3px !important;
	}
	
	#tooltip.blue h3 {
		background: url(images/tooltip-top.png) no-repeat 0 0 !important;
		width: 193px;
		padding-top:9px !important;
	}

	#tooltip.blue ul {
		width: 193px;
		list-style-type:none;
	}


	#tooltip.blue .EC-tt-widget-day-event {
		background: url(images/tooltip-bg.png) repeat-y 0 0 !important;
	}

	#tooltip .body {
		background: url(images/tooltip-bg.png) repeat-y 0 0 !important;
		padding: 0 10px 5px 10px;
		color: #fff;
	}

	#tooltip .body .EC-tt-widget-day-event-title {
		margin: 15px 0 0 0;
	}

	#tooltip.blue li {
		border-bottom:1px solid #fff;
		padding-bottom: 0.4em;
		list-style: none;
	}
	
	#tooltip.blue li.last {
		border-bottom: none;
	}
	
	#tooltip.blue li.clickdate {
		border-bottom:none;
	}
	
	#tooltip .EC-tt-widget-clickdate,
	#tooltip .EC-tt-widget-day-event {
		color: #fff;
	}

	#tooltip .EC-tt-widget-clickdate {
		/*margin: 0 10px;
		background: url(images/tooltip-bg.png) repeat-y 0 0 !important;
		width: 193px;
		display: block;*/
	}	

	#tooltip .EC-tt-widget-day-event .EC-tt-widget-day-event-detail {
		display: none;
	}
	
	/* popup via events calendar */
	#TB_overlay {
		background: transparent !important;
		opacity:0;
	}
	
	#TB_window {
		-moz-box-shadow:2px 2px 12px #AAAAAA !important;
		background: transparent !important;
		border: none !important;	
	}
	
	div#TB_title {
		background: transparent url(images/popup-top.png) no-repeat center -8px !important;
		background-color: transparent !important;
		height: 71px !important;
	}
	
	#TB_ajaxWindowTitle {
		background: #099EE0;
		font-size:1.2em;
		font-weight:bold;
		margin-left:20px;
		margin-top:40px;
		padding:2px 3px !important;
	}	
	
	#TB_closeAjaxWindow {
		padding: 8px 8px 0 !important;
	}

	#TB_closeWindowButton {
		
	}
	
	#TB_closeWindowButton img {
		
	}

	#TB_load{
		background-color: #fff !important;
		border: 1px solid #fff !important;
	}

	#TB_iframeContent {
		background: #fff !important;
		width: 540px;
	}
	
	#footer {
		border-top: 1px solid #6e6e6e;
		border-bottom: 1px solid #6e6e6e;
		color: #6e6e6e;
		font-size: 0.9em;
		margin: 0 0 1.5em 0;
		overflow: hidden;
	}
	
		#footer a {
			font-size:12px;
			color: #6e6e6e;
		}
	
		#footer ul {
			list-style: none;
			margin: 0;
			padding: 0;
			height:35px;
			line-height:35px;
		}
		
		#footer ul li {
			display: inline;
		}
		
		.pl #footer ul li a {
			margin:1em 1.6em !important;
		}		
		.en #footer ul li a {
			margin:1em 2.1em !important;
		}
		
	#kamikaze {
		text-align: right;
	}

