/* SciTE: coding=utf-8 */
/*! WSAD (Web Site Administration Database) v4.0
*** (c) 2012 Adam Banaszek <abanaszek@gmail.com>
!*/

body {
	margin:0;
	color:#222;
}

#dwp-wrapper {
	/* Safari 4, Chrome 1-9, iOS 3.2-4.3, Android 2.1-3.0 */
	/* background-image:-webkit-gradient(linear, left top, left bottom, from(#c82e30), to(#c82e30)), -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#e2e2e2)), -webkit-gradient(linear, left bottom, left top, from(#e2e2e2), to(#e2e2e2)); */
	/* Safari 5.1, iOS 5.0-6.1, Chrome 10-25, Android 4.0-4.3 */
	background-image:-webkit-linear-gradient(top, #c82e30, #c82e30), -webkit-linear-gradient(top, #e2e2e2, #e2e2e2), -webkit-linear-gradient(bottom, #e2e2e2, #e2e2e2);
	/* Opera 15+, Chrome 25+, IE 10+, Firefox 16+, Safari 6.1+, iOS 7+, Android 4.4+ */
	background-image:linear-gradient(to bottom, #c82e30, #c82e30), linear-gradient(to bottom, #e2e2e2, #e2e2e2), linear-gradient(to top, #e2e2e2, #e2e2e2);
	background-repeat:no-repeat;
}

a, a:hover { text-decoration:none; }
a { color:#c82e30; }
a:hover { color:#c00; }

img {
	image-rendering:optimizeQuality;
}

table td {
	padding:0;
}

header {
	position:relative;
	z-index:1;
}
header::before {
	position:absolute;
	z-index:-1;
	content:'';
	height:100%;
	width:100%;
}
header.mbz::before {
	background:transparent url(../images/MBZ-winieta.png) 0 0 no-repeat;
	background-image:-webkit-image-set(url(../images/MBZ-winieta-1x.png) 1x, url(../images/MBZ-winieta-2x.png) 2x, url(../images/MBZ-winieta-3x.png) 3x);
	background-size:auto 100%;
	left:-15px;
	top:0;
}
header.dwp::before {
	font-size:66px;
	color:#fff;
	left:10px;
	top:10px;
}
header > div {
	height:inherit;
}
header > div:first-child {
	display:table;
	color:#fff;
}
header.mbz > div:first-child {
	text-align:center;
}
header > div > * {
	vertical-align:middle;
	display:table-cell;
}
header > div:first-child > a {
	color:#fff;
}
header.mbz > div:first-child > a {
	font-family:'PT Sans Narrow';
	text-transform:uppercase;
	word-spacing:0.3ex;
	font-weight:bold;
	padding:0 10px;
}
header.dwp > div:first-child > a {
	vertical-align:bottom;
	white-space:pre-line;
	font-weight:normal;
	padding-bottom:7px;
	text-indent:-2px;
}
header.mbz > div:first-child > a > span {
	font-weight:normal;
	white-space:nowrap;
}
header.dwp > div:first-child > a > span {
	font-weight:bold;
	white-space:nowrap;
}
header > div:first-child + div {
	position:absolute;
	right:0;
	top:0;
}
header > div:first-child + div > span {
	white-space:nowrap;
	font-size:17px;
	padding:0 10px;
	color:#c82e30;
}
header > div:first-child + div > span > a {
	display:inline-block;
}
[class^='icon-'].circle:before, [class*=' icon-'].circle:before {
	background-color:#fff;
	border-radius:50%;
	text-align:center;
	line-height:33px;
	padding-top:3px;
	width:36px;
}
@supports (-moz-appearance:meterbar) {
	[class^='icon-'].circle:before, [class*=' icon-'].circle:before {
		line-height:35px;
		padding-top:1px;
	}
}
@media (-moz-touch-enabled) {
	[class^='icon-'].circle:before, [class*=' icon-'].circle:before {
		line-height:36px;
		padding-top:0;
	}
}
header > div:first-child + div > span > * + * {
	margin-left:10px;
}
footer {
	position:relative;
	height:150px;
	z-index:1;
}
footer::before {
	background:transparent url(../images/MBZ-stopka.png) 0 0 no-repeat;
	background-image:-webkit-image-set(url(../images/MBZ-stopka-1x.png) 1x, url(../images/MBZ-stopka-2x.png) 2x, url(../images/MBZ-stopka-3x.png) 3x);
	background-size:auto 100%;
	position:absolute;
	z-index:-1;
	content:'';
	height:100%;
	width:100%;
	left:-33px;
	top:0;
}
footer > nav {
	line-height:36px;
	text-align:right;
}

/* min 320 */
@media screen and (max-width: 359px) {
	#dwp-wrapper {
		background-size:100% 63px, 100% 38px, 100% 150px;
		background-position:0 0, 0 63px, 0 bottom;
	}
	header {
		height:63px;
	}
	header.mbz {
		padding-left:99px;
	}
	header.dwp {
		padding-left:54px;
	}
	header.mbz::before {
		left:-9px;
	}
	header.dwp::before {
		font-size:44px;
	}
	header.mbz > div:first-child > a {
		line-height:27px;
		font-size:25px;
		padding:0 10px 1px 6px; /* ff */
	}
	header.dwp > div:first-child > a {
		line-height:17px;
		font-size:17px;
		padding-bottom:8px;
		text-indent:-1px;
	}
	header.mbz > div:first-child > a:not(*:root) {
		padding:1px 10px 0 6px; /* webkit */
	}
	header.dwp > div:first-child > a:not(*:root) {
		padding-bottom:7px; /* webkit */
	}
}

@media screen and (min-width: 360px) and (max-width: 399px) {
	#dwp-wrapper {
		background-size:100% 70px, 100% 38px, 100% 150px;
		background-position:0 0, 0 70px, 0 bottom;
	}
	header {
		height:70px;
	}
	header.mbz {
		padding-left:109px;
	}
	header.dwp {
		padding-left:61px;
	}
	header.mbz::before {
		left:-11px;
	}
	header.dwp::before {
		font-size:50px;
	}
	header.mbz > div:first-child > a {
		line-height:30px;
		font-size:28px;
		padding:0 10px 2px 10px; /* ff */
	}
	header.dwp > div:first-child > a {
		line-height:19px;
		font-size:19px;
		text-indent:-1px;
	}
	header.mbz > div:first-child > a:not(*:root) {
		padding:0 10px 0 8px; /* webkit */
	}
	header.dwp > div:first-child > a:not(*:root) {
		padding-bottom:8px; /* webkit */
	}
}

@media screen and (min-width: 400px) and (max-width: 449px) {
	#dwp-wrapper {
		background-size:100% 79px, 100% 38px, 100% 150px;
		background-position:0 0, 0 79px, 0 bottom;
	}
	header {
		height:79px;
	}
	header.mbz {
		padding-left:123px;
	}
	header.dwp {
		padding-left:71px;
	}
	header.mbz::before {
		left:-13px;
	}
	header.dwp::before {
		font-size:60px;
	}
	header.mbz > div:first-child > a {
		line-height:34px;
		font-size:32px;
		padding:0 10px 2px 9px; /* ff */
	}
	header.dwp > div:first-child > a {
		line-height:24px;
		font-size:24px;
	}
	header.mbz > div:first-child > a:not(*:root) {
		padding:0 8px 1px 6px; /* webkit */
	}
	header.dwp > div:first-child > a:not(*:root) {
		padding-bottom:6px; /* webkit */
	}
}

@media screen and (min-width: 450px) {
	#dwp-wrapper {
		background-size:100% 86px, 100% 38px, 100% 150px;
		background-position:0 0, 0 86px, 0 bottom;
	}
	header {
		height:86px;
	}
	header.mbz {
		padding-left:133px;
	}
	header.dwp {
		padding-left:77px;
	}
	header.mbz::before {
		left:-15px;
	}
	header.mbz > div:first-child > a {
		line-height:38px;
		font-size:36px;
		padding:0 10px 2px 10px; /* ff */
	}
	header.dwp > div:first-child > a {
		line-height:26px;
		font-size:26px;
	}
	header.mbz > div:first-child > a:not(*:root) {
		padding:0 10px 0 10px; /* webkit */
	}
}

@media screen and (min-width: 480px) {
	header.mbz > div:first-child > a {
		padding-left:15px;
		padding-right:15px;
	}
}

#dwp-menu {
	background-color:#e2e2e2;
	position:relative;
	line-height:32px;
	z-index:200;
}
#dwp-menu > div > span,
#dwp-menu > a:first-child {
	line-height:38px;
}
@supports (-moz-appearance:meterbar) {
	#dwp-menu > a:first-child {
		line-height:37px;
		padding-bottom:1px;
	}
	#dwp-menu li > a:not([class=icon-calendar]) {
		line-height:31px;
		padding-bottom:1px;
	}
}
@media (-moz-touch-enabled) {
	#dwp-menu > a:first-child {
		line-height:38px;
		padding-bottom:0;
	}
	#dwp-menu li > a:not([class=icon-calendar]) {
		line-height:32px;
		padding-bottom:0;
	}
}

#dwp-menu > div {
	position:absolute;
	line-height:0;
	z-index:201;
	right:0;
	top:0;
}
#dwp-menu > div > span {
	display:inline-block;
	text-align:right;
}
#dwp-menu a[class^='icon-']:before {
	font-size:17px;
}
#dwp-menu > div > span {
	margin-left:20px;
}
#dwp-menu > div > span > a {
	display:inline-block;
	padding:0 10px;
}
#dwp-menu > div > span > a:before {
	line-height:35px;
	padding-top:3px;
}
nav > a:first-child {
	color:#c82e30;
}
nav a.active {
	background-color:#c82e30;
	color:#fff;
}
body:not(.touch) #dwp-menu li:hover {
	background-color:#c82e30;
}
body:not(.touch) #dwp-menu li:hover > a {
	color:#fff;
}
body:not(.touch) #dwp-menu > ul > li[aria-haspopup=true]:hover > ul,
body:not(.touch) #dwp-menu > ul > li[aria-haspopup=true]:hover > ul > li:hover > ul,
body:not(.touch) #dwp-menu > ul > li[aria-haspopup=true]:hover > ul > li:hover > ul > li:hover > ul,
body.touch #dwp-menu > ul > li > ul[aria-hidden=false],
body.touch #dwp-menu > ul > li > ul[aria-hidden=false] > li > ul[aria-hidden=false],
body.touch #dwp-menu > ul > li > ul[aria-hidden=false] > li > ul[aria-hidden=false] > li > ul[aria-hidden=false] {
	display:block;
}

/* Menu pionowe */
@media screen and (max-width: 679px) {
	#dwp-menu > ul {
		-webkit-box-shadow:0px 6px 6px rgba(50, 50, 50, 0.2);
		box-shadow:        0px 6px 6px rgba(50, 50, 50, 0.2);
		background-color:#f3f3f3;
		padding:3px 0 1px 0;
		position:absolute;
		z-index:200;
		width:100%;
	}
	#dwp-menu > ul:after {
		/* Taki hack, żeby ico (float) nie wychodziło za kontener */
		visibility:hidden;
		display:block;
		content:'.';
		clear:both;
		height:0;
	}
	#dwp-menu ul ul {
		padding:0 10px;
	}
	#dwp-menu > ul ul a {
		padding:0;
	}
	#dwp-menu a,
	#dwp-menu > ul > li {
		clear:both;
	}
	#dwp-menu li {
		line-height:30px;
	}
	#dwp-menu > a:first-child,
	#dwp-menu > ul > li > a {
		display:inline-block;
	}
	#dwp-menu > ul > li > a {
		font-weight:bold;
		margin-top:2px;
		font-size:120%;
	}
	#dwp-menu > ul > li:first-child > a {
		display:none;
	}
	#dwp-menu > ul > li > a.angle-double-right::after {
		margin-left:4px;
		content:'»';
	}
	#dwp-menu > ul > li > a > span {
		color:#b0b0b0;
	}
	#dwp-menu > ul > li > ul {
		position:relative;
	}
	#dwp-menu > ul > li:not(:first-child) > ul::before {
		border-bottom:2px solid #d1d1d1;
		position:absolute;
		display:block;
		content:'';
		right:10px;
		left:10px;
		top:-4px;
	}
	#dwp-menu > ul > li > ul > li {
		float:left;
	}
	#dwp-menu > ul[aria-hidden=true] {
		display:none;
	}
	#dwp-menu > ul[aria-hidden=false] {
		display:block;
	}
	#dwp-menu.open > a:first-child {
		font-weight:bold;
	}



	#dwp-menu > ul > li.cal > ul > li:first-child {
		position:absolute;
		width:auto;
		right:10px;
		top:-30px;
	}
	#dwp-menu > ul > li.cal > ul > li:first-child > a > span {
		display:none;
	}

}
@media screen and (max-width: 479px) {
	#dwp-menu:not(.open) > div > span:first-child + span {
		display:none;
	}
	#dwp-menu.open > div > span {
		display:block;
	}
	#dwp-menu.open > div > span:first-child + span {
		margin-top:30px;
		float:none;
	}
}
@media screen and (max-width: 359px) {
	#dwp-menu > ul > li:first-child > ul > li,
	#dwp-menu > ul > li:first-child + li > ul > li {
		width:33.33333%;
	}
	#dwp-menu > ul > li:first-child + li ~ li > ul > li {
		width:50%;
	}
}
@media screen and (min-width: 360px) and (max-width: 479px) {
	#dwp-menu > ul > li:first-child > ul > li,
	#dwp-menu > ul > li:first-child + li > ul > li {
		width:25%;
	}
	#dwp-menu > ul > li:first-child + li ~ li > ul > li {
		width:33.33333%;
	}
}
@media screen and (min-width: 480px) and (max-width: 679px) {
	#dwp-menu > ul > li:first-child > ul > li,
	#dwp-menu > ul > li:first-child + li > ul > li {
		width:33.33333%;
	}
	#dwp-menu > ul > li:first-child + li ~ li > ul > li {
		width:50%;
	}
	#dwp-menu > ul > li:not(:first-child) {
		display:inline-block;
		width:50%;
	}
}
@media screen and (min-width: 480px) {
	#dwp-menu > div > span {
		white-space:nowrap;
		float:right;
	}
}
/* Menu poziome */
@media screen and (min-width: 680px) {
	#dwp-menu {
		margin:0 auto;
	}
	#dwp-menu ul {
		background-color:#e2e2e2;
	}
	#dwp-menu > ul {
		display:block;
	}
	#dwp-menu ul ul {
		padding-left:20px;
	}
	#dwp-menu > a:first-child,
	#dwp-menu > ul > li > a > span > i.fa-angle-double-right {
		display:none;
	}
	body.touch #dwp-menu li.open {
		background-color:#c82e30;
	}
	body.touch #dwp-menu li.open > a {
		color:#fff;
	}
	#dwp-menu > ul > li,
	#dwp-menu > ul > li > ul > li,
	#dwp-menu > ul > li > ul > li > ul > li {
		position:relative;
	}
	#dwp-menu > ul > li {
		border-width:3px 3px 3px 0;
		border-color:#e2e2e2;
		border-style:solid;
		display:inline-block;
	}
	#dwp-menu > ul > li > ul,
	#dwp-menu > ul > li > ul > li > ul,
	#dwp-menu > ul > li > ul > li > ul > li > ul {
		position:absolute;
		display:none;
	}
	#dwp-menu > ul > li > ul {
		border-top:3px solid #c82e30;
		padding:3px 0 0 0;
	}
	#dwp-menu > ul > li > ul > li > ul,
	#dwp-menu > ul > li > ul > li > ul > li > ul {
		border-left:3px solid #c82e30;
		padding:0 0 0 3px;
		margin-left:100%;
		left:-3px;
		top:0;
	}
	#dwp-menu > ul > li > ul {
		z-index:100;
	}
	#dwp-menu > ul > li > ul > li > ul {
		z-index:101;
	}
	#dwp-menu > ul > li > ul > li > ul {
		z-index:102;
	}
	#dwp-menu > ul > li > ul li[aria-haspopup=true] > a {
		position:relative;
	}
	#dwp-menu > ul > li > ul li[aria-haspopup=true] > a::after {
		border-bottom:0.35em solid transparent;
		border-top:0.35em solid transparent;
		border-left:0.35em solid #c82e30;
		margin-top:-0.3em;
		position:absolute;
		content:'';
		right:10px;
		height:0;
		width:0;
		top:50%;
	}
	#dwp-menu > ul > li > ul li[aria-haspopup=true] > a {
		padding-right:26px;
	}

	#dwp-menu > ul > li.cal > ul > li:first-child > a:before {
		margin-right:6px;
	}
}

@media screen and (max-width: 767px) {
	header > div:first-child + div {
		display:none;
	}
}
@media screen and (min-width: 768px) {
	header > div:first-child + div {
		display:table;
	}
}
@media screen and (min-width: 768px) and (max-width: 919px) {
	#dwp-menu > div > span:first-child + span {
		display:none;
	}
}
@media screen and (max-width: 919px) {
	header > div:first-child + div > span:first-child + span {
		display:none;
	}
}
@media screen and (min-width: 920px) {
	header > div:first-child + div > span:first-child {
		display:table-cell;
	}
	#dwp-menu > div > span {
		display:none;
	}
}
@media screen and (min-width: 581px) {
	footer {
		clear:both;
	}
	footer > nav li {
		display:inline-block;
	}
}



/* Wersja testowa */
/*
#dwp-menu > div {
	min-height:38px;
	min-width:10px;
}
#dwp-menu > div:before {
	-webkit-transform:translate(-100%,0);
	transform:translate(-100%,0);
	display:inline-block;
	text-align:center;
	position:absolute;
	font-weight:bold;
	color:#c0c0c0;
	top:0;
	left:0;
}
@media screen and (max-width: 767px) {
	#dwp-menu > div:before {
		content:"Wersja\atestowa";
		line-height:15px;
		padding-top:4px;
		white-space:pre;
		height:34px;
	}
}
@media screen and (min-width: 768px) {
	#dwp-menu > div:before {
		content:"Wersja testowa";
		line-height:38px;
		white-space:nowrap;
		font-size:17px;
		height:38px;
	}
}
*/



#dwp-layout,
#wd-srt > div {
	max-width:1160px;
	margin:0 auto;
}
#dwp-layout {
	padding:0;
}
#dwp-middle {
	padding-bottom:10px;
}
#dwp-main > div:first-child {
	padding:0 10px;
}

/* Kafelki + wydarzenia jeśli są */
#dwp-middle > div:last-child {
	padding-top:10px;
}

/* Kafelki */
#dwp-kafle {
	line-height:0;
}
#dwp-kafle > div {
	display:inline-block;
}
#dwp-kafle > div > a,
#dwp-relacje > div > a:first-child {
	background-position:center center;
	image-rendering:optimizeQuality;
	background-repeat:no-repeat;
	background-color:transparent;
	background-size:cover;
	padding-bottom:56.25%; /* proporcje HD */
	display:block;
	width:100%;
	height:0;
	/* overflow:hidden; */
}
#dwp-kafle > div > a[caption] {
	position:relative;
}
#dwp-kafle > div > a[caption]:after {
	/* background-color:rgba(226,226,226,0.7); */
	/* background-color:rgba(200,46,48,0.6); */
/*
	background-image:-webkit-linear-gradient(top, rgba(200,46,48,0.75), rgba(200,46,48,0.5));
	background-image:linear-gradient(to right, rgba(200,46,48,0.75), rgba(200,46,48,0.5));
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
	min-height:36px;
	padding:4px 8px;
	bez fon-size
*/
	background-image:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.25));
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	font-family:'PT Sans Caption',sans-serif;
	padding:27px 10px 7px 10px;
	content:attr(caption);
/*
	line-height:22px;
	font-size:17px;
*/
	line-height:20px;
	font-size:16px;
/*
	-moz-hyphens:auto;
	hyphens:auto;
*/
	position:absolute;
	/* font-weight:bold; */
	display:block;
	color:#fff;
	bottom:0;
	right:0;
	left:0;
}
#dwp-kafle > div > a[caption]:after {
}
#dwp-kafle + div > div > a > span:last-child,
#dwp-third > div > div > a > span:last-child {
	color:#404040;
}

/* Wydarzenia */
#dwp-relacje:not(:empty) {
	background-color:#e2e2e2;
}
#dwp-relacje > a:first-child,
#dwp-kafle + div > a:first-child,
#dwp-third > div > a:first-child {
	text-overflow:ellipsis;
	white-space:nowrap;
	position:relative;
	line-height:34px;
	font-weight:bold;
	max-height:34px;
	overflow:hidden;
	font-size:19px;
	display:block;
	height:34px;
}
#dwp-relacje > a:first-child,
#dwp-third > div > a:first-child {
	border-bottom:2px dotted #c0c0c0;
	margin-bottom:10px;
}
#dwp-third > div > a:first-child:after {
	right:0;
}
#dwp-kafle + div > a:first-child:after,
#dwp-third > div > a:first-child:after {
	position:absolute;
	font-weight:bold;
	content:"»";
}
#dwp-third > div > div > a > span {
	display:block;
}
#dwp-third > div > div > a > span:first-child > span {
	font-size:24px;
}
#dwp-third > div > div > a > span:first-child > span:first-child + span:not(:empty):before {
	vertical-align:1px;
	content:" | ";
}
/* Relacje */
#dwp-relacje > div > a {
	display:block;
}
#dwp-relacje > div > a + a {
	font-weight:bold;
	margin-top:4px;
}
@media screen and (max-width: 480px) {
	#dwp-kafle > div {
		max-width:85%;
		width:85%;
	}
}
@media screen and (min-width: 481px) and (max-width: 767px) {
	#dwp-kafle > div {
		max-width:44.5%;
		width:44.5%;
	}
}
@media screen and (max-width: 767px) {
	#dwp-kafle {
		white-space:nowrap;
		overflow-y:hidden;
		overflow-x:scroll;
		font-size:0; /* bez tego webkit nie reaguje na overflow-y... */
	}
	#dwp-kafle > div > a[caption]:after {
		white-space:normal;
/*
		text-overflow:ellipsis;
		overflow:hidden;
*/
	}
}
@media screen and (min-width: 768px) {
	/* Webkit zostawia jednopixelowe miejsca pod zdjęciami jak mu nie wyjdzie z obliczeń dobrze */
	#dwp-kafle > div:first-child > a[caption]:after {
		padding:36px 20px 16px 20px;
	}
	#dwp-kafle {
		position:relative;
		overflow:hidden;
	}
	#dwp-kafle > div:first-child {
		vertical-align:bottom;
		width:66.66666%;
		/*float:left;*/
	}
	#dwp-kafle > div:not(:first-child) {
		position:absolute;
		/* width:33.33333%; */
		left:66.66666%;
		right:0;
	}
	#dwp-kafle > div:last-child {
		bottom:0;
	}
}

/* 604 - Nexus 7 */
@media screen and (max-width: 604px) {
	/* Main */
	#dwp-main > div:first-child {
		padding-right:10px;
	}
	/* Relacje */
	#dwp-relacje:not(:empty) {
		padding:0 15px 10px 15px;
		margin-top:20px;
	}
	#dwp-relacje:not(:empty) > a:first-child {
		margin-right:-5px;
		margin-left:-5px;
	}
	#dwp-relacje > div {
		display:inline-block;
		vertical-align:top;
		width:50%;
	}
	#dwp-relacje > div:nth-of-type(odd) {
		margin-left:-5px;
	}
	#dwp-relacje > div:nth-of-type(even) {
		margin-right:-5px;
		margin-left:10px;
	}
	#dwp-relacje > div + div ~ div{
		margin-top:20px;
	}
	/* Kalendarz, reorder */
	/*
	#dwp-third {
		display:table;
		width:100%;
	}
	#dwp-third > div:first-child {
		display:table-footer-group;
	}
	#dwp-third > div:last-child {
		display:table-header-group;
	}
	*/
	#dwp-kafle + div:before {
		left:2px;
		top:-8px;
	}
	#dwp-kafle + div > div {
		display:table;
		padding:8px 10px;
	}
	#dwp-kafle + div > div > a {
		display:table-row;
		line-height:20px;
	}
	#dwp-kafle + div > div > a:before {
		display:none;
	}
	#dwp-kafle + div > div > a > span {
		white-space:nowrap;
		display:table-cell;
	}
	#dwp-kafle + div > div > a > span:first-child {
		padding-right:10px;
		font-weight:bold;
		text-align:right;
	}
	#dwp-kafle + div > div > a > span:first-child > span {
		display:inline-block;
	}
	#dwp-kafle + div > div > a > span:first-child > span:first-child + span {
		padding-left:0.5em;
	}
	#dwp-kafle + div > div > a > span:last-child {
		padding-right:10px;
		position:relative;
		width:100%;
	}
	#dwp-kafle + div > div > a > span:last-child > span {
		text-overflow:ellipsis;
		white-space:nowrap;
		position:absolute;
		overflow:hidden;
		right:0;
		left:0;
		top:0;
	}
	#dwp-third > div > div > a {
		width:50%;
	}
	#dwp-third > div:not(:first-child),
	#dwp-third > div > div > a + a ~ a {
		margin-top:16px;
	}
}
@media screen and (max-width: 604px), screen and (min-width: 960px) {
	#dwp-kafle + div {
		position:relative;
		overflow:hidden;
		z-index:0;
	}
	#dwp-kafle + div:before {
		-webkit-transform:rotate(15deg); /* Chrome<36, Safari, Opera<25 */
		transform:rotate(15deg);
		position:absolute;
		font-size:5.6rem;
		color:#d2d1d1;
		z-index:-1;
	}
}
@media screen and (min-width: 605px) {
	#dwp-relacje:not(:empty) {
		padding:0 10px 10px;
	}
	#dwp-relacje > div ~ div {
		margin-top:20px;
	}
	#dwp-main {
		table-layout:fixed;
		display:table;
		width:100%;
	}
	#dwp-main > div {
		box-sizing:border-box;
		vertical-align:top;
		display:table-cell;
	}
	#dwp-main > div:first-child {
		min-width:66.66666%;
		width:66.66666%;
	}
	#dwp-kafle + div > div > a {
		position:relative;
		z-index:0;
	}
	#dwp-kafle + div > div > a:before {
		-webkit-transform:rotate(15deg); /* Chrome<36, Safari, Opera<25 */
		transform:rotate(15deg);
		position:absolute;
		font-size:3.5rem;
		color:#d2d1d1;
		z-index:-1;
	}
}

/* Kalendarz, 855 (570/285) */
@media screen and (min-width: 605px) and (max-width: 959px) {
/*
	#dwp-third {
		table-layout:fixed;
		display:table;
		width:100%;
	}
	#dwp-third > div {
		box-sizing:border-box;
		vertical-align:top;
		display:table-cell;
	}
	#dwp-third > div:first-child {
		background-color:#e2e2e2;
		width:66.66666%;
	}
*/
	div.WDsrt.fixed > div > div > div {
		width:66.66666%;
	}
	#dwp-kafle + div:before {
		display:none;
	}
	#dwp-kafle + div > div {
		display:table;
		width:100%;
	}
	#dwp-kafle + div > div > a {
		display:table-cell;
		width:33.33333%;
		overflow:hidden;
		padding:10px;
	}
	#dwp-kafle + div > div > a:not(:last-child) {
		border-right:1px solid #fff;
	}
	#dwp-kafle + div > div > a:before {
		top:-4px;
		left:1px;
	}
	#dwp-kafle + div > div > a > span {
		display:table-cell;
	}
	#dwp-kafle + div > div > a > span:first-child {
		padding-right:10px;
	}
	#dwp-kafle + div > div > a > span:first-child > span {
		white-space:nowrap;
		text-align:center;
		font-weight:bold;
		display:block;
	}
	#dwp-kafle + div > div > a > span:last-child {
		width:100%;
	}
	#dwp-third > div > div > a {
		width:33.33333%;
	}
	#dwp-third > div:not(:first-child),
	#dwp-third > div > div > a + a + a ~ a {
		margin-top:16px;
	}
}
@media screen and (max-width: 959px) {
	#dwp-kafle {
		margin-bottom:10px;
	}
	#dwp-kafle + div {
		background-color:#e2e2e2;
	}
	#dwp-kafle + div > a:first-child {
		display:none;
	}
	#dwp-third {
		margin-top:10px;
		padding:0 10px;
	}
	#dwp-third > div > div {
		vertical-align:top;
		margin:0 -5px;
	}
	#dwp-third > div > div > a {
		box-sizing:border-box;
		display:inline-block;
		vertical-align:top;
		padding:0 5px;
	}
}
@media screen and (min-width: 960px) {
	#dwp-middle {
		padding-right:10px;
		padding-left:10px;
	}
	#dwp-middle > div:not(:last-child) {
		margin-top:10px;
	}
	#dwp-middle > div {
		table-layout:fixed;
		display:table;
		width:100%;
	}
	#dwp-middle > div > div {
		vertical-align:top;
		display:table-cell;
	}
	#dwp-middle > div > div:first-child {
		width:75%;
	}
	#dwp-main > div:first-child {
		padding-left:0;
	}
	div.WDsrt.fixed > div > div > div {
		width:50%;
	}
	/* reorder kalendarz */
	/*
	#dwp-third {
		display:table;
	}
	#dwp-third > div:first-child {
		display:table-footer-group;
	}
	#dwp-third > div:last-child {
		display:table-header-group;
		background-color:#e2e2e2;
	}
	*/
	#dwp-third,
	#dwp-kafle + div {
		border-left:10px solid transparent;
		background-clip:padding-box;
	}
	#dwp-kafle + div {
		background-color:#e2e2e2;
		position:relative;
		overflow:hidden;
	}
	#dwp-kafle + div:before {
		bottom:-8px;
		right:-10px;
	}
	#dwp-kafle + div > a:first-child {
		background-color:#c82e30;
		padding:0 10px;
		color:#fff;
	}
	#dwp-kafle + div > a:first-child:after {
		right:10px;
	}
	#dwp-kafle + div > div {
		position:absolute;
		padding:10px;
	}
	#dwp-kafle + div > div > a,
	#dwp-third > div > div > a {
		display:block;
	}
	#dwp-kafle + div > div > a:before,
	#dwp-third > div > div > a:before {
		display:none;
	}
	#dwp-kafle + div > div > a:not(:last-child) {
		border-bottom:2px dotted #c0c0c0;
		padding-bottom:4%;
	}
	#dwp-kafle + div > div > a:not(:first-child) {
		padding-top:4%;
	}
	#dwp-third > div:not(:first-child),
	#dwp-third > div > div > a:not(:first-child) {
		margin-top:8%;
	}
	#dwp-kafle + div > div > a > span {
		display:block;
	}
	#dwp-kafle + div > div > a > span:first-child > span {
		font-size:24px;
	}
	#dwp-kafle + div > div > a > span:first-child > span:first-child + span:not(:empty):before {
		vertical-align:1px;
		content:" | ";
	}
}



/* WSAD pole 'Zostało znaków' formularzu komentarza */
input.WDkzz {
	background-color:transparent;
}
/* wyróżnik tytułu dokumentu */
div.WDdoc > div:first-child > a > span {
	color:#404040;
}
div.WDinf {
	line-height:19px;
}
div.WDsec > div:first-child + div + div, /* podsekcje */
div.WDsec > div:first-child > div,
div.WDpth {
	font-weight:bold;
	line-height:17px;
	font-size:13px;
}
body.touch div.WDlst,
body.touch div.WDsec > div:first-child + div + div { /* podsekcje */
	line-height:20px;
}
.WDcnt.Win dd[hhmm*="."]:before {
	letter-spacing:normal;
}
::-moz-selection {
	background-color:rgba(200,46,48,0.75);
	color:#fff;
}
::selection {
	background-color:rgba(200,46,48,0.75);
	color:#fff;
}
img.DWPfot {
	border:1px solid #e2e2e2;
	margin:5px 0 10px 10px;
	max-width:30%;
	padding:1px;
	float:right;
}


/* Śródtytuły */
div.WDlst[caption]:before {
	font-family:'PT Sans Narrow',sans-serif;
}


div.LSTsec {
	margin-bottom:0.25em;
	font-weight:bold;
	margin-top:1em;
	font-size:17px;
}

div.WDpth,
div.WDsec,
div.WDbtm,
div.WDsec > div:first-child > div {
	border-color:#e2e2e2;
}


/* Pokaż więcej/mniej */
div.DWPmore:not(.open) > div:nth-child(n+6):not(.DWPbtn) {
	display:none;
}
div.DWPmore > div.DWPbtn {
	text-align:right;
	margin-top:4px;
}
div.DWPmore.open > div.DWPbtn > a::after {
	content:' mniej';
}
div.DWPmore:not(.open) > div.DWPbtn > a::after {
	content:' więcej';
}

div.DWPrys.open > div:first-child,
div.DWPrys:not(.open) > div:first-child + div {
	display:none;
}
div.DWPrys:not(.open) > div:first-child,
div.DWPrys.open > div:first-child + div {
	display:block;
}
/*
div.DWPrys > div:first-child ~ div > p {
	margin:0.75em 0;
}
div.DWPrys > div:first-child ~ div > p:first-child {
	margin-top:0;
}
*/
div.DWPrys > div > p {
	margin:0.75em 0;
}
div.DWPrys > div > p:first-child {
	margin-top:0;
}

div.DWPdpn > div > span.ulice {
	color:#999;
}
div.DWPdpn > div span.zakres {
	font-style:italic;
}


#dwp-msze-bfr ~ div > div.before {
	display:none;
}
#dwp-msze-bfr:checked ~ div > div.before {
	display:block;
}
#dwp-msze-bfr:not(:checked) ~ div {
	margin-top:0.5em;
}
#dwp-msze-bfr,
#dwp-msze-bfr + label {
	vertical-align:middle;
	margin:0 0.33em 0 0;
}
#dwp-msze-bfr.hidden,
#dwp-msze-bfr.hidden + label {
	display:none;
}
#dwp-msze-geo {
	line-height:22px;
}
#dwp-msze-geo > a:empty::before {
	content:"";
	margin:0;
}
#dwp-msze-cmp {
	position:relative;
}
#dwp-msze-map {
	background-color:#fff; /* żeby controli nie było widać przy inicjalizowaniu mapy */
	height:400px;
	margin:0;
}
#dwp-msze-pac {
	box-shadow:0 2px 6px rgba(0, 0, 0, 0.3);
	border:1px solid transparent;
	text-overflow:ellipsis;
	padding:0 11px 0 11px;
	margin:10px 0 0 10px;
	border-radius:2px;
	outline:none;
	height:32px;
	position:absolute;
	z-index:-1; /* żeby controli nie było widać przy inicjalizowaniu mapy */
	left:0px;
	top:0px;
}
#dwp-msze-pac:focus {
	border-color: #4d90fe;
}
@media screen and (max-width: 400px) {
	#dwp-msze-pac {
		font-family:'PT Sans Narrow',sans-serif;
		width:52%;
	}
}
@media screen and (min-width: 401px) {
	#dwp-msze-pac {
		width:62%;
	}
}
#dwp-msze > div {
	width:100%;
}
#dwp-msze > div[caption]:before {
	background-color:#f3f3f3;
	box-sizing:border-box;
	display:table-caption;
	margin-bottom:6px;
	letter-spacing:0;
	line-height:18px;
	padding:2px 5px;
	min-width:100%;
	color:#333;
	width:100%;
}
a.DWPbtn {
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	white-space:nowrap;
	cursor:pointer;
	outline:none;
}
a.DWPbtn:not(:empty), span.DWPbtn {
	border:1px solid #e2e2e2;
	border-radius:3px;
	padding:1px 3px;
}
#dwp-msze > div > div > a:first-child {
	display:inline-block;
	line-height:16px;
}
#dwp-msze-geo > a.open:not(:empty),
#dwp-msze > div > div.open > a:first-child {
	background-color:#eee;
	border-color:#eee;
}
#dwp-msze > div > div > a:first-child:after {
	content:" km";
	color:#333;
}
#dwp-msze > div > div > span:last-child {
	padding:0 0 2px 2px;
	line-height:16px;
	width:100%;
}
#dwp-msze > div > div > span:last-child > span {
	box-sizing:border-box;
	display:block;
	width:100%;
}
#dwp-msze > div > div:not(.open) > span:last-child > span.DWPbtn {
	border-color:#fff;
}
#dwp-msze > div > div > span:last-child > span > span {
	font-style:italic;
	color:#444;
}

#dwp-msze-dir {
	background-color:#eee;
	margin:3px 0 2px 0;
	border-radius:3px;
	line-height:20px;
	padding:3px 6px;
	display:none;
	color:#444;
}
#dwp-msze > div > div.open #dwp-msze-dir {
	display:block;
}

#dwp-msze-inf.err, #dwp-msze-inf.err:before {
	color:red;
}

@media screen and (-moz-images-in-menus:0) {
	#dwp-msze {
		line-height:0px;
	}
	#dwp-msze > div[caption]:before {
		padding-bottom:3px;
		padding-top:1px;
	}
	#dwp-msze-dir {
		padding:2px 6px 4px 6px;
		margin-bottom:1px;
	}
	a.DWPbtn:not(:empty), span.DWPbtn {
		padding-bottom:2px;
		padding-top:0px;
	}
}

/* Google Maps InfoWindow */
div.googft-info-window {
	display:table;
}
div.googft-info-window > div {
	display:table-row;
}
div.googft-info-window > div > dvi {
	display:table-cell;
}
div.googft-info-window > div:first-child > div {
	white-space:nowrap;
	font-weight:normal;
}
div.googft-info-window > div:first-child + div {
	margin-top:0.5em;
	/*max-width:20em; */
}