/*
Theme Name:     PSMK
Description:    Layout witryny Polskiego Stowarzyszenia Miłośników Kolei. Do wyłącznego użytku PSMK.
Author:         Paweł Adamowicz &copy; 2012/2013
Author URI:     http://blendit.xaa.pl/
Version:        1.0.0
*/

/* -------------------------------------------------------------- 
  
   Reset default browser CSS.
   
   Based on work by Eric Meyer:
   http://meyerweb.com/eric/tools/css/reset/index.html
   
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
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;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a img { border: none; }

/* ------------------------------------------------------------------ */

/* Links */
a {
	color: #C1272D;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}

/* Headings */
h1,h2,h3,h4,h5,h6, 
h1 a{
	clear: both;
	padding: 10px 5% 10px 2%;
	margin: 0px -3.2% 8px -2%;
	font-weight: normal;
	color: #888;
}

h1 a:hover{
	color: #C1272D;
	text-decoration: none;
}

h1{
	font-size: 185%;
	font-weight: bold;
}

h2{
	font-size: 185%;
}

h3{
	font-size: 148%;
}

h4{
	font-size: 111%;
	font-weight: bold;
}

h5{
	font-size: 111%;
	text-transform: uppercase; 
}

h6{
	font-size: 111%;
	font-style: italic;
}

h1.highlight,
h2.highlight,
h3.highlight,
h4.highlight,
h5.highlight,
h6.highlight
{
	background-color: #A63941;
	background-image: url('img/bg_margin_right.png');
	background-position: right;
	background-repeat: repeat-y;
	color: #EEE;
}

h1.widgettitle,
h2.widgettitle,
h3.widgettitle,
h4.widgettitle,
h5.widgettitle,
h6.widgettitle
{
	padding-left: 16px;
}

.menu h1,
.menu h2,
.menu h3,
.menu h4,
.menu h5,
.menu h6 {
	padding: 10px 16px;
	margin: 0px;
}

hr {
	background-color: #CCC;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	clear: both;
}

/* Text elements */
p {
	text-align: justify;
	margin-bottom: 1em;
	padding: 0px;
	line-height: 1.625em;
}
ul{
	margin-bottom: 1em;
	padding-left: 16px;
	list-style-image: url('img/red_dot.png');
}
ol {
	margin-bottom: 1em;
	padding-left: 24px;
	list-style-type: decimal;
}

li {
	line-height: 1.625em;
}

ol ol {
	list-style: lower-alpha;upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: upper-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 1.625em;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.625em;
}
strong {
	font-weight: bold;
}

table {
	width: 100%;
	margin-bottom: 1em;
	border-spacing: 2px;
}

th,td {
	text-align:left;
	padding: 8px;
	vertical-align: top;
}

td {
	border: 1px solid #A63941;
}

th{
	color: #EEE;
	background-color: #A63941;
	margin: 0px 0px 1px 1px;
	border: 1px solid #FFF;
}

table.no-border {
	border-spacing: 0;
}

.no-border th,
.no-border td {
	border: none;
	padding: 0px 0px 8px 0px;
	background:transparent;
	margin: 0px;
}

.no-border th{
	width: 20%;
	padding: 0px 10px 8px 0px;
}

.no-border td h1,
.no-border td h2,
.no-border td h3,
.no-border td h4,
.no-border td h5,
.no-border td h6 {
	padding-top: 0;
}

table.eo-events {
	border-spacing: 0;
	border-top: 1px solid #A63941;
}
/*
.eo-events tr {
	border-bottom: 1px solid #B76167;
	border-bottom: 1px solid #B76167;
}*/

tr.hoverable:hover td{
	/*background-color: #EEE;*/
	background-image: url('img/bg_hash.png');
	
}

tr.event-row td{
	border-bottom: 1px solid #A63941;
	/*border-bottom: 1px solid #C65961;*/
}

.eo-events td {
	border: none;
	padding: 12px 8px;
}

.eo-events h1,
.eo-events h2,
.eo-events h3,
.eo-events h4,
.eo-events h5,
.eo-events h6 {
	padding: 0;
	margin: 0;
}

.eo-events p {
	padding: 8px 0 0 0;
	margin: 0;
	line-height: 1.1em;
}

.eo-events hr {
	margin: 0.5em 0;
}

td.event-content {
	padding-left: 8px;
	min-height: 48px;
}

td.event-type{
	background: #A63941;
	background-position: center center;
	background-repeat: no-repeat;
}

tr.hoverable:hover td.event-type{
	background-color: #C65961;
}

.eo-event-cat-dni-otwarte td.event-type,
.eo-event-cat-dni-otwarte:hover td.event-type
{
	background-image: url('img/ev_bg_tour.png');
}

.eo-event-cat-wydarzenia td.event-type,
.eo-event-cat-wydarzenia:hover td.event-type {
	background-image: url('img/ev_bg_event.png');
}

.eo-event-cat-dni-otwarte-dla-szkol td.event-type,
.eo-event-cat-dni-otwarte-dla-szkol:hover td.event-type  {
	background-image: url('img/ev_bg_school.png');
}

.eo-event-cat-spotkania td.event-type,
.eo-event-cat-spotkania:hover td.event-type  {
	background-image: url('img/ev_bg_meeting.png');
}

.eo-event-cat-renowacje td.event-type,
.eo-event-cat-renowacje:hover td.event-type  {
	background-image: url('img/ev_bg_renov.png');
}

ul.eo-events{
	padding: 0px;
	list-style-image: none;
	border-top: 1px solid #A63941;
}

ul.eo-events li {
	padding: 8px 0px 8px 16px;
	border-bottom: 1px solid #A63941;
}

ul.eo-events li:hover{
	/*background-color: #EEE;*/
	background-image: url('img/bg_hash.png');
}

cite, em, i {
	font-style: italic;
}

blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd, samp, var {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
	background: #fafafa;
	border: 1px solid #ddd;
	color: #888;
}
input[type=text]:focus,
textarea:focus {
	color: #373737;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}
input#s {
	background: url(images/search.png) no-repeat 5px 6px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
input#searchsubmit {
	display: none;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #0E9948;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}

warning{
	display: block;
	margin: 0px;
	padding: 8px;
	background-color: #FAA;
	color: #D00;
	border: #D00 1px solid;
}

img.wp-post-image {
	display: block;
	float: right;
	padding: 2px;
	margin-left: 10px;
	border: 1px solid #CCC;
	background: #FFF;
}
/* ------------------------------------------------------------------ */

body {
	background-color: #D1D1D1;
	font-family: "lucida grande","lucida sans unicode",sans-serif; /*Arial,Helvetica,sans-serif*/
	font-size: 75%; /*12pt*/
	color: #333;
}

div.header {
	background-color: #75272E;
	background-image: url('img/bg_header.png');
	background-position: bottom;
	background-repeat: repeat-x;
	padding-bottom: 9px;
}

div.header-area {
	max-width: 1024px;
	min-height: 214px;
	padding: 0px 18px;
	margin: 0px auto;
	background-image: url('img/bg_header_shadow.png');
	background-position: center;
	background-repeat: repeat-y;
}

div.logo-area {
	background-color: #3B2625;
	float: left;
	max-height: 214px;
	width: 24%;
	overflow: hidden;
}

.logo-area img {
	width: 100%;
	max-width: 247px;
}

div.banner-area {
	min-height: 104px;
	width: 76%;
	padding-top: 110px;
	background-image: url('img/site_banner.jpg');
	background-position: top center;
	background-repeat: no-repeat;
	float: right;
}

div.title-area {
	padding: 18px 3.3% 8px 3.3%;
	min-height: 72px;
	background-image: url('img/bg_black_alpha.png');
	background-repeat: repeat;
	vertical-align: bottom;
}

div.title-part {
	float: left;
	width: 60%;
}

.title-part h1 {
	font-size: 300%;
	color: #D2D2D2;
	background-image: none;
	padding: 0px;
	margin: 0px;
	font-weight: bold;
	text-shadow: -1px 1px 8px #000, 1px -1px 8px #000;
}

.title-part h1 a,
.title-part h1 a:hover{
	color: #D2D2D2;
	text-decoration: none;
}

div.widget-part {
	float: right;
	width: 40%;
	text-align: right;
}

.widget-part > li {
	padding: 0px;
	margin: 0px;	
}

.widget-part ul{
	margin: 0px;
	padding: 0px 0px 16px 0px;
	width: 100%;
}

.widget-part ul li{
	display: inline;
}

div.clear {
	clear:both;
}

div.main {
	background-image: url('img/bg_main.jpg');
	background-position: top;
	background-repeat: repeat-x;
}

div.content-area {
	max-width: 1022px;
	margin: 0px auto;
	background-color: #FFF;
	border-left: #301D1D 1px solid;
	border-right: #301D1D 1px solid;
	border-bottom: #301D1D 1px solid;
	background-image: url('img/bg_shadow.png');
	background-position: top;
	background-repeat: repeat-x;
}

div.menu {
	float: left;
	width: 24%;
	padding: 8px 0px 16px 0px;
}

div.content-part {
	float: right;
	width: 71.4%;
	padding: 8px 2.3% 16px 0.8%;
	margin-left: 1.5%;
	min-height: 529px;
	background-image: url('img/bg_content.jpg');
	background-position: top right;
	background-repeat: no-repeat;
	font-size: 108%;
}

div.separator {
	height: 19px;
	background-image: url('img/bg_content_foot.png');
	background-position: top center;
	background-repeat: no-repeat;
}

div.footer {
	max-width: 1022px;
	margin: 0px auto;
	background-color: #FFF;
	border: #301D1D 1px solid;
	font-size: 90%;
}

div.footer-column {
	float: left;
	width: 30%;
	padding: 0px 1% 16px 1%;
	margin-right: 2%;
}

.footer-column img{
	max-width: 100%
}

div.footer-column-last {
	margin: 0%;
}


.footer-column h1,
.footer-column h2,
.footer-column h3,
.footer-column h4,
.footer-column h5,
.footer-column h6 {
	font-size: 120%;
	background-image: none;
	padding: 8px 0px;
	margin: 0px;
	font-weight: normal;
	color: #333;
}

.footer-column h1{
	font-weight: bold;
	margin: 0px -3.3% 8px -3.3%;
	padding: 16px 3.3%;
	background-color: #A63941;
	color: #EEE;
}

.footer-column h1{
	margin-right: -5%;
	padding-right: 5%;
}

.footer-column .entry-title, 
.footer-column .widgettitle {
display: none;
}

div.footer-remarks {
	max-width: 1022px;
	margin: 0px auto;
	padding: 20px 0px;
	background-image: url('img/bg_footer_foot.png');
	background-position: top center;
	background-repeat: no-repeat;
	text-align: center;
	line-height: 1.3em;
}

/* ------------------------------------------------------------------ */
ul.menu{
	margin: 0px;
	padding: 0px 0px 16px 0px;
	width: 100%;
	list-style-type: none;
	list-style-image: none;
}

ul.menu li{
	display: block;
	background-image: url('img/bg_margin.png');
	background-position: -39px 0;
	background-repeat: repeat-y;
	background-color: #A63941;
	line-height: 1em;
	margin-bottom: 8px;
}

ul.menu li a{
	display: block;
	color: #EEE;
	text-decoration: none;
	font-weight: bold;
	padding: 6px 24px;
}

ul.menu li:hover a{
	color: #FFF;
}

ul.menu li.highlight-percent-link,
ul.menu li.highlight-big-link,
ul.menu li.highlight-link{
	background-color: #75272E;
}

ul.menu li.highlight-percent-link a{
	background-image: url('img/bg_percent_white.png');
	background-position: right;
	background-repeat: no-repeat;
}

ul.menu li.highlight-percent-link:hover a{
	background-image: url('img/bg_percent.png');
}

ul.menu li.highlight-percent-link a,
ul.menu li.highlight-big-link a{
	font-size: 150%;
	padding: 16px 24px;
}

ul.menu li.highlight-link a{
	font-size: 117%;
	padding: 10px 24px;
}

ul.menu li:hover{
	background-color: #C65961;
}

ul.menu li.highlight-percent-link:hover,
ul.menu li.highlight-big-link:hover,
ul.menu li.highlight-link:hover{
	background-color: #95474E;
}

div.media-div {
	margin-bottom: 1em;
	background-position: 0px 5px;
	background-repeat: no-repeat;
	min-height: 54px;
	line-height: 1.625em;
	vertical-align: top;
	font-size: 90%
}

div.media-div a{
	display: block;
	font-size: 112%
}

div.image-media {
	padding-left: 54px;
	background-image: url('img/img_ico.png');
}

div.pdf-media {
	padding-left: 54px;
	background-image: url('img/pdf_ico.png');
}

div.other-media {
	padding-left: 54px;
	background-image: url('img/file_ico.png');
}

div.external-post {
	padding-left: 54px;
	background-image: url('img/www_ico.png');
}

div.internal-post {
	padding-left: 54px;
	background-image: url('img/psmk_www_ico.png');
}

/* ------------------------------------------------------------------ */
.subpage-banner img {
	width: 100%;
}

div.subpage-menu {
	margin-bottom: 1em;
	background-color: #A63941;
	min-height: 33px;
	clear: both;
}

div.subpage-menu ul{
	display: block;
	margin: 0px;
	padding: 0px;
	width: 100%;
	list-style-type: none;
	list-style-image: none;
}

div.subpage-menu ul li{
	margin: 0px;
	padding: 0px;
}

div.subpage-menu ul li a{
	float: left;
	color: #EEE;
	text-decoration: none;
	font-weight: bold;
	padding: 6px;
	border-right: solid 1px #FFF;
}

div.subpage-menu ul li a:hover {
	color: #FFF;
	background-color: #C65961;
}
/* ------------------------------------------------------------------ */

div.page-children-list ul {
	list-style-image: none;
	padding-left: 0;
}

div.page-children-list ul li{
	display: block;
	width: 100%;
	margin-bottom: 1.5em
}

div.page-children-list a h5{
	padding: 0;
	margin: 0;
}

div.page-children-list a:hover h5,
div.page-children-list ul li:hover a h5{
	color: #C1272D;
	text-decoration: none;
}

div.page-children-list ul li:hover{
	background-image: url('img/bg_hash.png');
}

div.page-children-list ul li img{
	float: none;
	margin: 0;
}

/* ------------------------------------------------------------------ */
.nav-previous {
	display: block;
	padding: 12px 0;
	float: left;
	width: 24%;
}

.nav-archive {
	display: block;
	padding: 12px 0;
	float: left;
	text-align: center;
	width: 50%;
}

.nav-next {
	display: block;
	padding: 12px 0;	
	float: right;
	text-align: right;
	width: 24%;
}

.arch-nav {
	width: 100%;
}

.arch-nav ul{
	margin: 0px;
	padding-left:50px;
	min-height: 30px;
	list-style-type: none;
	list-style-image: none;
	background-repeat: no-repeat;
	background-image: url('img/loco_ico.png');
	background-position: left top;
}

.arch-nav ul li {
	display: inline;
}

.arch-nav ul li a,
.arch-nav ul li span.current{
	display: block;
	float: left;
	width: 52px;
	height: 24px;
	background-repeat: no-repeat;
	background-image: url('img/nav_ico.png');
	background-position: 0px 2px;
	text-align: center;
	line-height: 18px;
	text-decoration: none;
	padding-top: 0px;
	margin: 0px;
	color: #FFF;
}

.arch-nav ul li span.current,
.arch-nav ul li:hover a {
	background-position: -52px 2px;
}

/* ------------------------------------------------------------------ */
@media (max-width: 1059px) {
	div.header-area {
		padding: 0px;
	}
	
	div.likebox {
		display:none;
	}
	
	div.flash-div {
		display:none;
	}
	
}

/* ------------------------------------------------------------------ */
@media (max-width: 600px) {
	div.header-area {
		min-height: 214px;
		padding: 0;
		margin: 0px;
		background-image: none;
		min-height: 0;
	}

	div.logo-area {
		display: none;
		/*width: 100%;
		text-align: center;*/
	}

	div.banner-area {
		width: 100%;
		padding: 8px 0;
		background-image: none;
		float: none;
		min-height: 0;
	}

	div.title-area {
		padding:0;
		background-image: none;
	}

	.title-area h1 {
		padding-top: 0;
		text-shadow: none;
		font-size: 180%;
		font-weight: bold;
	}

	div.title-part {
		padding-top: 0;
		float: none;
		width: 100%;
		text-align: center;
	}

	div.widget-part {
		padding-top: 14px;
		float: none;
		width: 100%;
		text-align: center;
	}
	
	.widget-part ul {
		padding: 0;
		float: left;
		width: 48%;
	}
	
	.widget-part div.text-widget {
		display: inline;
	}
	
	div.menu {
		float: none;
		width: 100%;
		background-color: #A63941;
		padding-bottom: 8px;
		margin-bottom: 8px;
	}
	
	div.menu ul {
		padding: 0 4%;
		width: 90%
	}
	
	ul.menu li,
	ul.menu li:hover,
	ul.menu li.highlight-percent-link,
	ul.menu li.highlight-big-link,
	ul.menu li.highlight-link,
	ul.menu li.highlight-percent-link:hover,
	ul.menu li.highlight-big-link:hover,
	ul.menu li.highlight-link:hover{
		display: block;
		float: left;
		line-height: 1.5em;
		margin-bottom: 0px;
		margin-right: 6px;
		padding: 0 6px 0 0;
		min-height: 0;
		background-image: none;
		background-color: transparent;
		font-size: 100%;
		border-right: 1px solid #EEE;
	}

	ul.menu li a,
	ul.menu li:hover a,
	ul.menu li.highlight-percent-link a,
	ul.menu li.highlight-big-link a,
	ul.menu li.highlight-link a{
		display: inline;
		color: #EEE;
		font-weight: normal;
		padding: 0;
		font-size: 1em;
		background-image: none;
	}
	
	ul.menu li.highlight-percent-link a:hover {
		background-image: none;
	}
	
	ul.menu li.highlight-percent-link a,
	ul.menu li.highlight-big-link a,
	ul.menu li.highlight-link a{
		font-weight: bold;
	}

	ul.menu li:hover a{
		color: #FFF;
		text-decoration: underline;
	}

	div.sidebar-widget-area {
		display: none;
	}
	
	div.content-part {
		float: none;
		width: 92%;
		padding: 0px 4%;
		margin: 0px;
		background-image: none;
		min-height: 0px;
	}
	
	h1,h2,h3,h4,h5,h6 {
		clear: both;
		padding: 16px 5.4%;
		margin: 0px -5.4% 16px -5.4%;
	}
	
	div.footer-column {
		float: none;
		width: 98%;
		padding: 0px 2% 16px 2%;
		margin: 0px;
	}
	
	td.event-type {
		display: none;
		width: 0;
	}
}