/********************************************************* SciTE: coding=utf-8

  WSAD (Web Site Administration Database) v4.0
  (c) 2012 Adam Banaszek <abanaszek@gmail.com>

  Systemowe style używane w treści dokumentu. Jeśli musisz coś zmienić,
  zrób to w pliku 'themes/local.css' przez nadpisanie.

*****************************************************************************/
/* Tylko dwa rodzaje wielkości */
h1, h2, h3, h4, h5, h6 { margin-top:1.5em;margin-bottom:0.25em; }
h1, h4 { border-bottom:1px dotted #cbbda2;padding-bottom:2px; }
h1, h2, h3 { font-size:130%;line-height:1.3; }
h4, h5, h6 { font-size:100%; }
h2, h5 { text-align:center; }

.WDcnt > p,
.WDcnt > dl,
.WDcnt > ol,
.WDcnt > ul {
	margin-top:0;
}

/* Tak wydaje mi się logiczniej */
.WDcnt > dl, .WDcnt > ol, .WDcnt > ul { padding-left:3em; }
.WDcnt > dl > dt { margin-left:-3em; }
.WDcnt > dl > dd { margin-left:0; }
.WDcnt > dl > dt + ol, .WDcnt > dl > dt + ul { margin-left:-3em; }

.WDcnt ul > ul, .WDcnt ul > ol, .WDcnt ul > dl,
.WDcnt ol > ul, .WDcnt ol > ol, .WDcnt ol > dl,
.WDcnt dl > ul, .WDcnt dl > ol, .WDcnt dl > dl {
	margin-bottom:0;
}

.WDcnt dl[mmrg="5"] > *,
.WDcnt ol[mmrg="5"] > *,
.WDcnt ul[mmrg="5"] > * {
	margin-bottom:0.5em;
	margin-top:0.5em;
}
.WDcnt dl[mmrg="10"] > *,
.WDcnt ol[mmrg="10"] > *,
.WDcnt ul[mmrg="10"] > * {
	margin-bottom:1em;
	margin-top:1em;
}

/* na razie tylko IE10 obsługuje dzielenie wyrazów po polsku
p {
	-webkit-hyphens:auto;
	-moz-hyphens:auto;
	-ms-hyphens:auto;
	hyphens:auto;
}
*/

img { border:0; }


/* Media container */
.WDcnt div.WDmc {
	-webkit-user-select:none;
	-moz-user-select:none;
	text-align:center;
	margin-right:auto;
	margin-left:auto;
	max-width:100%;
	min-width:100px;
	cursor:default;
	line-height:0;
}
/*
@media only screen and (max-width: 960px) and (max-device-width: 960px) {
/*
	/* responsive video */
	.WDcnt div.WDmc.rv {
		padding-bottom:56.25%;
		position:relative;
		/*overflow:hidden;*/
		/*height:0;*/
	}
/*
}
*/
.WDcnt div.WDmc.fl {
	/* margin:0.4em 1em 0.6em 0 !important;
	max-width:280px !important; */
	/* max-width:280px; */
	max-width:50%;
	margin-right:1em;
	margin-left:0;
	float:left;
}
.WDcnt div.WDmc.fr {
	/* margin:0.4em 0 0.6em 1em !important;
	max-width:280px !important; */
	/* max-width:280px; */
	max-width:50%;
	margin-right:0;
	margin-left:1em;
	float:right;
}
.WDcnt div.WDmc.fl,
.WDcnt div.WDmc.fr {
	margin-bottom:0.6em;
	margin-top:0.4em; /* Żeby górna krawędź img była wyrównana z górną krawędzią tekstu */
}
.WDcnt h1 + div.WDmc,
.WDcnt h2 + div.WDmc,
.WDcnt h3 + div.WDmc,
.WDcnt h4 + div.WDmc,
.WDcnt h5 + div.WDmc,
.WDcnt h6 + div.WDmc,
.WDcnt div.WDmc + div.WDmc {
	padding-top:0.4em; /* Żeby górna krawędź img była wyrównana z górną krawędzią tekstu */
}
.WDcnt > div.WDmc:not(.fl):not(.fr) {
	/* margin-top:1em; */
	margin-bottom:1em;
}

/* To dla h? tylko jest, ale * skraca zapis */
/*
.WDcnt > *:first-child:not(.fl):not(.fr),
.WDcnt > div.fl:first-child + *:not(div):first-of-type,
.WDcnt > div.fr:first-child + *:not(div):first-of-type {
	margin-top:0 !important;
}
*/
/*
.WDcnt > div.fl:first-child,
.WDcnt > div.fr:first-child {
	margin-top:0.4em !important;
}
*/


.WDgac div[caption]:after, /* To powinno być w doc.css, ale bez sensu dublować */
.WDcnt div.WDmc:not(.rv)[caption]:after {
	/* background-color:#ddd;
	border:1px solid #ccc;
	padding:3px; */
	content:attr(caption);
	font-style:italic;
	margin-top:3px;
	line-height:1.125rem;
/*
	font-size:90%;
*/
	display:block;
	color:black;
}
.WDcnt div.WDmc.rv[caption]:after {
	/* background-color:#ddd;
	border:1px solid #ccc;
	padding:3px; */
	content:attr(caption);
	display:block;
	color:black;
	position:relative;
	/*
	-webkit-transform:translate(0,-100%);
	transform:translate(0,-100%);
	*/
	background-color:rgba(226,226,226,0.7);
	min-height:34px;
	line-height:17px;
	padding:0.25rem 0.5rem;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.25);
	pointer-events: none;
}
.WDcnt div.WDmc > a,
.WDcnt div.WDmc > img,
.WDcnt div.WDmc > a > img,
.WDcnt div.WDmc > audio,
.WDcnt div.WDmc > video,
.WDcnt div.WDmc > embed,
.WDcnt div.WDmc > object,
.WDcnt div.WDmc > iframe {
	max-width:100% !important;
	display:inline-block;
	margin:0;
}
/*
@media only screen and (max-width: 960px) and (max-device-width: 960px) {
*/
	/* responsive video */
	.WDcnt div.WDmc.rv > embed,
	.WDcnt div.WDmc.rv > object,
	.WDcnt div.WDmc.rv > iframe {
		position:absolute;
		height:100%;
		width:100%;
		left:0;
		/*top:0;*/
		bottom:0;
	}
/*
}
*/
.WDcnt.IE11 div.WDmc > img,
.WDcnt.IE11 div.WDmc > a > img {
	width:100%;
}
.WDcnt.IE10 div.WDmc > img,
.WDcnt.IE10 div.WDmc > a > img {
	width:100%;
}
.WDcnt.IE9 div.WDmc > img,
.WDcnt.IE9 div.WDmc > a > img {
	width:100%;
}
/*
.WDcnt.IE11 div.WDmc > audio,
.IE11 audio {
	margin:-4px 0;
}
.WDcnt.IE10 div.WDmc > audio,
.IE10 audio {
	margin:-4px 0;
}
.WDcnt.IE9 div.WDmc > audio,
.IE9 audio {
	margin:-7px 0;
}
*/
@media \0screen { /* IE8 hack */
	.WDcnt div.WDmc[caption]:after {
		text-align:center;
	}
	.WDcnt div.WDmc > a {
		display:block;
	}
}

.WDcnt div.WDmc > object > embed {
	max-width:100% !important;
}

/* hhmm */
.WDcnt dl > dd[hhmm] {
	padding-left:1em;
	position:relative;
}
.WDcnt dd[hhmm*="."]:before {
	display:inline-block;
	content:attr(hhmm);
	position:absolute;
	text-align:right;
	max-width:3em;
	min-width:3em;
	left:-3.5em;
	width:3em;
}
.WDcnt.Win dd[hhmm*="."]:before {
	letter-spacing:-1px; /* Verdana jest za szeroka... */
}
.WDcnt dd[hhmm*="."]:after {
	display:inline-block;
	position:absolute;
	border:none;
	content:"»";
	color:#777;
	padding:0;
	left:0;
	top:0;
}

@media print {
	body { margin:0;background-color:#fff; }
	p, div#WDaut { font-family:"Palatino Linotype","Book Antiqua","Georgia",serif; }
	p { text-indent:1.5em; margin:0;widows:2;orphans:2; }
	h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { text-indent:0; }
	h1, h2, h3, h4, h5, h6 { page-break-after:avoid; }
}