body {margin: .5em; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1em; font-style: normal; font-weight: normal; font-variant: normal; color: #000; background: #999; line-height: 140%;}
a {text-decoration: none; color: #000;}
strong {font-weight: bold;}
em {font-style: italic;}
table {
   margin: .5em;
   border: 1px solid #666;
   border-collapse: collapse;
   font-size: .9em;
}
table th, table td {
   border: 1px solid #666;
   padding: 2px 4px;
}
table th {background: #EEE; font-weight: bold;}
.clr {clear: both;}


#page {background: #FFF; padding: 1em; border-radius: .5em;
}

header {
  margin: 0 0 .5em 0; padding: 0 0 .25em 0; border-bottom: 2px #CCC solid;
}
header h1 {
  font-size: 1.5em; line-height: 110%; font-weight: normal; letter-spacing: 1px; text-shadow: 1px 1px #CCC;
}
header p.bip {
  float: right; margin: 0;
}
header nav {
  display: table;
  font-size: .9em;
  border: 0px #00C solid;
  margin: 0 0 .25 0;
  border-spacing: .8em 0;
  border-collapse: separate;
}
header nav ul {
  z-index: 100; display: table-row;
}
header nav ul li {
  display: table-cell;
  border: 0px #c0C solid;
  text-align: center;
  font-size: .9em;
  vertical-align: middle; 
}
header nav ul li a, header nav ul li a:visited {
  display:block; padding: 0 .5em; 
}
header nav ul li:hover a,
header nav ul li a:hover {
  color: #999; 
}
footer {
  margin: .5em 0 0 0; padding: .25em 0 0 0; border-top: 2px #999 solid; font-size: .8em; color: #666;
}
footer a {color: #666;}
footer p {line-height: 140%;}
footer p.links {
  float: right; margin: 0 0 8px 8px;
}
div.content {display: table; width: 100%;}
div.content div {display: table-row;}
div.content div div {display: table-cell;}
div.content div div:first-child {padding: 0 8px 0 0; width: 15em;}
div.content div div:last-child h1 {
  margin: 0 2px 16px 0; padding: 8px 4px; background: #EEE; border: 1px #CCC solid; border-radius: 4px; font-size: 1em; font-weight: bold; box-shadow: 2px 2px 4px #999; text-shadow: 1px 1px #FFF; letter-spacing: 1px;
}
div.content div div:last-child p {
  margin: 6px 0; text-align: justify;
}
div.content div div:last-child p.center {text-align: center;}
div.content div div:last-child p a {color: #333;}
section {
  clear: both; margin: 32px 0 0 0; padding: 8px; border-top: 1px #999 dashed; color: #333; font-style: italic; font-size: .9em; background: #EEE; line-height: 120%;
}

.content div div nav ul {}
.content div div nav ul li p {
  margin: 0 2px 4px 0; padding: 8px 4px; background: #EEE; border: 1px #CCC solid; border-radius: 4px; font-size: 1em; font-weight: bold; box-shadow: 2px 2px 4px #999; text-shadow: 1px 1px #FFF; letter-spacing: 1px;
}
.content div div nav ul li ul {  
}
.content div div nav ul li ul li {
  padding: 6px 4px; border-bottom: 1px #CCC dotted; font-size: 1em; font-weight: normal; 
}
.content div div nav ul li ul li a {display:block;}
.content div div nav ul li ul li:hover {
  background: #EEE;
}
.content div div nav ul li ul li:last-child {
  border: none;
}

p.archiwum {
  margin: 16px 0; padding: 16px 4px; text-align: center; border: 1px #CCC solid; border-radius: 4px; font-size: 1em; font-weight: bold; box-shadow: 2px 2px 4px #999; text-shadow: 1px 1px #FFF; letter-spacing: 1px;
}
p.archiwum a {color: #C00;}

p.tools {
  float: right; margin: 0 0 4px 8px;
}

.fsize70{font-size:.7em;}
.fsize80{font-size:.8em;}
.fsize90{font-size:.9em;}
.fsize110{font-size:1.1em;}
.fsize120{font-size:1.2em;}
.fsize130{font-size:1.3em;}
.font-readable{-moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased !important;
  -moz-font-smoothing: antialiased !important;
  text-rendering: optimizelegibility !important;
  letter-spacing: .05em;}
  
#page-settings{display:flex;justify-content:center;padding:0;}
#page-settings ul{display:flex;align-items:center;list-style-type: none;margin: 0;padding: 0;}
#page-settings ul li.contrast, #page-settings ul li.resizer{display:none;}
#page-settings ul li.label{display:none;margin:.2em;padding:.5em; font-size:.8em;}
#page-settings ul ul {margin:0 .1em;padding:.1em;}
#page-settings button{border:1px #000 solid;margin:.2em;padding:.5em .7em;background:white;cursor:pointer;}
#page-settings button.wcag{color:white;background:blue;border:1px blue solid;margin:.4em;}
#page-settings button.highcontrast-by{color:yellow;background:black;}

.highcontrast div.content div div:last-child p a{color:yellow;}

.highcontrast table {border: 1px solid yellow;}
.highcontrast table th, .highcontrast table td {border: 1px solid yellow;}
.highcontrast table th {background: black; font-weight: bold;}

.highcontrast, .highcontrast #page, .highcontrast a, .highcontrast footer{background:black;color:yellow;}

.highcontrast header {border-bottom: 2px yellow solid;}
.highcontrast header h1 {text-shadow: none;}

.highcontrast header nav ul li:hover a,
.highcontrast header nav ul li a:hover {
  color: yellow; 
}

.highcontrast footer {border-top: 2px yellow solid;color: yellow;}

.highcontrast div.content div div:last-child h1 {background: black; border: 1px yellow solid; box-shadow: none; text-shadow: none;}

.highcontrast section {border-top: 1px yellow dashed; color: yellow; background: black;}

.highcontrast .content div div nav ul li p {background: black; border: 1px yellow solid; box-shadow: none; text-shadow: none;}

.highcontrast .content div div nav ul li ul li {border-bottom: 1px yellow dotted;}

.highcontrast .content div div nav ul li ul li:hover {background: none;}

.highcontrast p.archiwum {border: 1px yellow solid; box-shadow: none; text-shadow: none;}

.highcontrast p.archiwum a {color: yellow;}

/*
.highcontrast, .highcontrast #page, .highcontrast a, .highcontrast footer, .highcontrast main div.main .articles article h2,.highcontrast main div.main .articles article .data{background:black;color:yellow;}

.highcontrast nav, .highcontrast header, .highcontrast main, .highcontrast main div.main .articles article h2, .highcontrast footer{border-top:1px yellow solid;}

.highcontrast footer .bottom_menu{background:black;border-bottom:1px yellow solid;}

.highcontrast nav .contact a{color:yellow;}


*/
.highcontrast #page-settings button{border:1px yellow solid;margin:.2em;padding:.5em .7em;background:black;color:yellow;cursor:pointer;}
.highcontrast #page-settings button.wcag{color:white;background:blue;border:1px blue solid;margin:.4em;}
.highcontrast #page-settings button.highcontrast-by{color:black;background:yellow;}