/* styl resetujący */
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;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* ustawienia ogólne */
body {
	background: white;
	color: black;
	width: 800px;
	margin: 0.5em auto;
	font-family: sans-serif;
	font-size: 11pt;
	line-height: 1.5em;
}

.hidden, #menu h2, #footer hr {
	display: none;
}

/* nagłówek */
h1 a {
	display: block;
	height: 162px;
	margin: 0.25em 0;
	background: url('https://media.wandystan.eu/graf/naglowki/mw_heads_new.png') no-repeat center center;
}

h1 a span {
	display: none;
}

/* górna linijka */
.bellca {
	line-height: 1em;
	font-size: 90%;
	color: #bbb;
}

.bellca.right {
	float: right;
	margin-top: -2em;
	text-align: right;
}

/* treść strony */
#content {
	width: 100%;
	float: left;
}

#content > * {
	width: 64.5%;
	margin-left: 33%;
	padding: 0.4em 1.25%;
}

/* menu strony */
#menu {
	float: left;
	width: 30.5%;
	margin-left: -100%;
	padding: 0.4em 1.25%;
	font-size: 90%;
}

#menu ul {
	margin-left: 1.5em;
}

/* stopka */
address {
	clear: both;
	padding: 0.5em;
	font-size: 75%;
}

/* style nagłówków */
h1 {
	font-size: 2.5em;
	font-weight: normal;
	line-height: 200%;
	text-align: center;
}

h2 {
	padding: 0.28em 0;
	font-size: 1.8em;
	font-weight: normal;
}

h3 {
	padding: 0.34em 0;
	font-size: 1.5em;
	font-weight: normal;
}

h4 {
	padding: 0.42em 0;
	font-size: 1.2em;
	font-weight: normal;
}

h5 {
	padding: 0.5em 0;
	font-size: 1em;
	font-weight: bold;
}

h6 {
	padding: 0.625em 0;
	font-size: 0.8em;
	font-weight: bold;
}

/* style elementów blokowych */
address, dl, ol, p, pre, table, ul {
	padding: 0.5em 0;
}

address, p {
	text-align: justify;
}

ul p, ol p, dl p {
	text-align: left;
}

figure {
	margin: 0;
	padding: 0.5em 2em;
}

figure img,
figure audio,
figure video {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}

figure figcaption {
	text-align: center;
	padding: 0.5em 0;
	font-size: 90%;
	font-style: italic;
}

/* listy i cytaty */
ul {
	list-style: square;
	margin-left: 2em;
	text-align: left;
}

ol {
	list-style: decimal;
	margin-left: 2em;
	text-align: left;
}

dd {
	margin-left: 2em;
	text-align: left;
}

blockquote {
	margin-left: 2em;
}

/* styl małego i dużego tekstu */
big {
	font-size: 110%;
}
small {
	font-size: 90%;
}

/* kolory */
address {
	border-top: solid 1px #DADADA;
}

a:link {
	color: #E20800;
	text-decoration: none;
}

a:visited {
	color: #A3007B;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.notExist:not([href$="::"]) {
	text-decoration: line-through #bbb;
}


/* Wandea, gierek, bieruty */

ul.tabs{ float: right;}
ul.tabs li { display: inline-block; margin: 0; padding: 0 !important;}
ul.tabs li a img { height: 30px; border: 2px solid #FFFFFF;	border-radius: 50%;}
ul.tabs li a:hover img {border: 2px solid #DDDDDD;}
ul.tabs li.active a img {border: 2px solid #555555;}
div#news div {margin-top: 20px;}
div#bierut li {font-size: 0.9em; line-height: 125%;}

.ac-main #news ul,
.ac-main #news ul li {
	margin-left: 0;
}

.ac-main #pagetext ul li {
	background-repeat: no-repeat;
	background-position: 5px 6px;
	list-style: none;
	padding: 3px 5px 4px 1em;
	min-height: 40px;
}
.ac-main #pagetext ul li.big {
	font-size: 110%;
	min-height: 0;
	background: none;
}

.ac-main #wandea li:nth-child(odd) {background-color: #F9F3F3;}

.ac-main #bierut li:nth-child(odd) {background-color: #F9F3F9;}
.ac-main #bierut a:link {color: #AD37CC;}
.ac-main #bierut a:visited {color: #580073;}
.ac-main #bierut img {max-height: 11pt; vertical-align: middle;}

.ac-main #gierek li:nth-child(odd) {background-color: #F9F6F3;}
.ac-main #gierek a:link {color: #EF5F00;}
.ac-main #gierek a:visited {color: #AC4311;}

.ac-main #lastchanges li:nth-child(odd) {background-color: #F3F9F3;}
.ac-main #lastchanges a:link {color: #008C00;}
.ac-main #lastchanges a:visited {color: #004D00;}

.ac-main #ldmw li:nth-child(odd) {background-color: #F4F7F9;}
.ac-main #ldmw a:link {color: #337AB7;}
.ac-main #ldmw a:visited {color: #00316E;}

.obwie {
    margin: 0 0 0.5em 2em; 
    padding: 1px 1em; 
    background:#FFDD77;
}

.obwie ul {padding-left: 0; margin-left: 0; text-align:center;}

.obwie ul li { padding: 0 !important; min-height: 0 !important; text-transform: uppercase; list-style-type: square; font-weight: bold; margin-left: 0; padding-left: 0;}

/* wypierdalać!
#wprd {
	padding: 5px; 
	border: 2px solid #DA231D; 
	border-radius: 5px; 
	vertical-align: middle; 
	text-decoration: none;
	font-weight: bolder;
	color: white;
	background: #DA231D;
}

#wprd:hover {
	background: rgb(177, 25, 20);
} */

/* żałoba style
h1 a {
  background-image: url('https://media.wandystan.eu/graf/naglowki/mw_heads_new_zaloba.png');
}
a {
  color: #555 !important;
}
#wraptab img {
  filter: grayscale(100%) !important;
}
.ac-main #news li:nth-child(odd) {
  background-color: #F4F4F4 !important;
} */