:root {
 --color-main: #000;
 --color-grey: #888;
 --color-dark-grey: #313131;
 --color-light-grey: #efefef;
 --color-text: #111;
 --color-light-text: #7e7c7d;
 --color-green: #267c01;
 --color-red: #ca0000;
 --color-black: #111;
 --color-white: #fff;
 --color-yellow: #ffcc33;
 --color-facebook: #3a559f;
 --color-youtube: #ea412c;
 --color-twitter: #50abf1;
 --color-linkedin: #0077b5;
 --color-instagram: #555;
 --gradient: linear-gradient(180deg, rgba(31,75,148,1) 0%, rgba(0,111,53,1) 100%);
 --gradient-left: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
 --gradient-right: linear-gradient(270deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
 --gradient-top: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
 --gradient-bottom: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
 --gradient-light: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
 --gradient-light-left: linear-gradient(90deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
 --gradient-light-right: linear-gradient(270deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
 --border-radius: 1px;
 --border-radius-button: 1px;
 --box-shadow: 0 0 10px rgba(160,160,160,0.2);
 --box-shadow-hover: 0 0 10px rgba(160,160,160,0.6); 
 --text-shadow: 0 0 20px rgba(255,255,255,1), 0 0 15px rgba(255,255,255,0.8), 1px 1px 0px rgba(255,255,255,0.9);
 --text-dark-shadow: 0 0 20px rgba(0,0,0,1), 0 0 15px rgba(0,0,0,0.8), 1px 1px 0px rgba(0,0,0,0.9);
 --vcenter: translate(0,-50%);
 --hcenter: translate(-50%,0);
 --center: translate(-50%,-50%);
}

/* muli-300 - latin_latin-ext */
@font-face {
    font-family: 'Muli';
    font-style: normal;
    font-weight: 300;
    src: url('/ftp/font/Muli/muli-v13-latin_latin-ext-300.eot'); /* IE9 Compat Modes */
    src: local('Muli Light'), local('Muli-Light'),
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-300.woff') format('woff'), /* Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-300.svg#Muli') format('svg'); /* Legacy iOS */
}
/* muli-regular - latin_latin-ext */
@font-face {
    font-family: 'Muli';
    font-style: normal;
    font-weight: 400;
    src: url('/ftp/font/Muli/muli-v13-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
    src: local('Muli Regular'), local('Muli-Regular'),
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-regular.woff') format('woff'), /* Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-regular.svg#Muli') format('svg'); /* Legacy iOS */
}
/* muli-600 - latin_latin-ext */
@font-face {
    font-family: 'Muli';
    font-style: normal;
    font-weight: 600;
    src: url('/ftp/font/Muli/muli-v13-latin_latin-ext-600.eot'); /* IE9 Compat Modes */
    src: local('Muli SemiBold'), local('Muli-SemiBold'),
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-600.woff') format('woff'), /* Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-600.svg#Muli') format('svg'); /* Legacy iOS */
}
/* muli-700 - latin_latin-ext */
@font-face {
    font-family: 'Muli';
    font-style: normal;
    font-weight: 700;
    src: url('/ftp/font/Muli/muli-v13-latin_latin-ext-700.eot'); /* IE9 Compat Modes */
    src: local('Muli Bold'), local('Muli-Bold'),
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-700.woff') format('woff'), /* Modern Browsers */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/ftp/font/Muli/muli-v13-latin_latin-ext-700.svg#Muli') format('svg'); /* Legacy iOS */
}


html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  background-color: #F0F0F0;
  font-family: 'Muli', sans-serif;
}
body {
  font-family: 'Muli', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}
/* ==========================================================================
   WCAG search / SR-ONLY
   ========================================================================== */
ul.wcag-nav { position:absolute; top:2px; left:2px; margin:0; padding:0; list-style:none outside none; }
ul.wcag-nav a {position:absolute; left:-9000em; padding:5px 10px; display:inline; font-size: 1.2em; text-align:center; text-decoration:none; width:150px; z-index:2;}
ul.wcag-nav a:hover, ul.nav a:focus, ul.nav a:active { position:absolute; top:0; left:0; background:#d20a2b; border:2px solid #ffffff; color:#ffffff; }

.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;  /* 2 */
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;            /* 3 */
}

/*
	Use in conjunction with .sr-only to only display content when it's focused.
	@note Useful for skip links 
	@see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
	@note Based on a HTML5 Boilerplate technique, included in Bootstrap
	@note Fixed a bug with position: static on iOS 10.0.2 + VoiceOver
		@author Sylvain Pigeard
		@see https://github.com/twbs/bootstrap/issues/20732
*/
.sr-only-focusable:focus,
.sr-only-focusable:active {
	clip: auto !important;
	-webkit-clip-path: none !important;
		clip-path: none !important;
	height: auto !important;
	margin: auto !important;
	overflow: visible !important;
	width: auto !important;
	white-space: normal !important;
}

/* ==========================================================================
    typography
   ========================================================================== */
   h1, h2, h3, h4, h5 {
     font-family: 'Playfair Display', serif;
   }
.promo-content h2, .featured-categories h2, .newest-content h2, .bn h2, .pnu h2 {
  font-size: calc(30px + 6 * ((100vw - 320px) / 680));
}

a {
  text-decoration:none;
  color:#9f1717;
}
a:hover {
  text-decoration:underline;
  color: #640E0F;
}

/* ==========================================================================
    header
   ========================================================================== */
header {
  padding: 100px 0;   
}
header h1 {
  color: #000;
  font-weight: 400;
  font-size: calc(36px + 6 * ((100vw - 320px) / 680));
  margin: 0;
  padding: 0;
  text-align: center;
}
header h1:hover {
  background-color: #fff;
color: #9f1717;
}
.logo img {
  max-width: 200px;
}
.title {
  text-align: center;
}
.tools {
  text-align: right;
}
.tools ul {
  list-style-type:none;
  margin:0;
  padding:0;
}
.tools li {
  display:inline-block;
}
.main-menu {
   text-align: center;
   padding: 40px 0 0 0;
  font-size: 21px;
}
.main-menu li {
  list-style-type:none;
  margin:0;
  padding:0 15px 0 15px;
  display:inline-block;
}
main-menu ul {
  margin:0;
  padding:0;
  display: inline-block;
  font-size: calc(26px + 6 * ((100vw - 320px) / 680));
}
.main-menu li a {
  color:#fff;
  text-decoration:none;
}
.main-menu li a:hover {
  text-decoration:underline;
}
/* ==========================================================================
    front page
   ========================================================================== */
.front-page-item {
    height: 70vh;
    min-height:600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-bottom: 3%;
    width: 100%;
}

.page-description {
    width: 50%;
    color: #fff;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}
.page-description h2 {
    font-weight: 700;
    font-size: calc(36px + 6 * ((100vw - 320px) / 680));
}
.page-description p {
    font-size: 21px;    
}

/* ==========================================================================
    WCAG nav 
   ========================================================================== */
.wcag-nav a {
	display:inline;
  padding:5px 10px;
  text-align:center;
  text-decoration:none;
  width:150px;
  position:absolute;
  left:-9000em;
  z-index:100;
}
.wcag-nav a:hover, .wcag-nav a:focus, .wcag-nav a:active {
  background: #666;
  border: 2px solid #000;
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
}
/* ==========================================================================
    every page header
   ========================================================================== */
.every-page-header {
  background-color: #9f1717;
  padding: 50px 50px 30px 50px;  
}
.every-page-header h1, .every-page-header h2 {
  color:#fff;
}
/* ==========================================================================
    breadcrumbs
   ========================================================================== */
#sciezka-naviUl {
  text-align:center;
  padding:25px 0 25px 0;
  margin:0;
}
#sciezka-naviUl ul {
  list-style-type:none;
  margin:0;
  padding:0;
}
#sciezka-naviUl li {
  display:inline-block;
}
#sciezka-naviUl li a {
  color:#000;
  font-weight:800;
}
#sciezka-naviUl li::after {
  content: " / ";
}
#sciezka-naviUl::before {
  content: "Jesteś tu:";
}
/* ==========================================================================
    main content - front page
   ========================================================================== */
.content, .featured-categories-content, .newest-content, .bnpnu-content, .bn, .pnu, .promo-content, .single-person-biography, .special-event {
  max-width:90%;
  margin: 0 auto;
  margin-bottom:3%;
}
   section {
  	 padding: 25px 0;
  	
   }
   /* promo content */
   section h2 {
     text-align: left;
     font-weight: 900;
  	 padding:0;
   }
   .person-img {
     height: 550px;
     background-color: gray;
     overflow: hidden;

   }
   .person-img img {
     min-height:100%;
     object-fit: cover;
   }
   .person-title {
     text-align: center;
     background-color: #E3E3E3;
     padding: 20px 0;
   }

   /* featured categories */
   .featured-categories {
     background-color: #333333;
     padding: 50px 0;
   }
   .featured-categories h2 {
     color: #fff;
     text-align: center;
   }
   .category {
     height: 500px;
     background-color: #000000a1;
  background-size: cover;
background-position: center;
  background-blend-mode: overlay;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
   }
.category span {
  background-color: white;
  padding: 10px 20px;
  font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  font-weight: 900;
  font-family: 'Playfair Display', serif;
}
/* ==========================================================================
   Front page BN / PNU
   ========================================================================== */
.bn-content, .pnu-content {
    background-color: #E3E3E3;
    display: flex;
    align-items: center;
    padding: 5% 0;
}
.bn, .pnu {
  text-align: center;
}
.bn p, .pnu p {font-size:21px;}
.bn-covers {
    display: flex;
    justify-content: space-between;
}
.bn-covers-content {
  min-width:100%;
}
.bn-covers img {
    width: 100%;
  height: auto;
}
.ref-ph {
  text-align:center;
  background-color:#9f1717;
  padding:15px 30px;
  font-size:21px;
  margin:50px 0;
  display: inline-block;
  color: #fff;
}
.ref-ph:hover {
  background-color:#fff;
}
.ref-ph a:hover {
  background-color:#9f1717;
}
/* ==========================================================================
   Single BIO page
   ========================================================================== */
.single-person-header {
    margin-top:0;
    padding:0 !important;
}
.single-person-img {
    height: 600px;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.single-person-menu {
  margin:0;
}
.single-person-info {
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: column;
  padding:0 10%;
  text-align:center;
}

.single-person-info h3 {
    margin: 2% 0 0 0;
    padding: 0;
    font-size: calc(33px + 12 * ((100vw - 320px) / 680));
    font-family: 'Playfair Display', serif;
  text-align:center;
}
.single-person-info p {
    margin: 0 0 50px 0;
    padding: 0;
    font-size: calc(16px + 6 * ((100vw - 320px) / 680));
    text-align: center;
}
.single-person-menu {
    text-align: center;
  padding:50px 0;
}
.single-person-menu h3 {
    margin: 0 0 20px 0;
    padding: 0;
}
.single-person-menu li {
    list-style-type: none;
    margin: 5px;
    display: inline-block;
    font-size: calc(10px + 6 * ((100vw - 320px) / 680));
    color: #B71B1C;
}
.single-person-menu ul {
    margin: 0;
    padding: 0;
    
}
.single-person-biography h3 {
    font-family: 'Playfair Display', serif;
    font-size: calc(18px + 6 * ((100vw - 320px) / 680));
}
.single-person-biography p {
    font-size: 21px;
}
.img-gallery img {
  max-width:100%;
}
/* ==========================================================================
   All biograms list
   ========================================================================== */
.person-list {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #fff;
  margin: 8px 0 8px 0;
  text-align: center;
  background-color:#000;
}
.person-list:hover {
  background-color: #9f1717;
  background-blend-mode: darken;
}
.person-list h4 {
  padding:15px;
  font-size: calc(12px + 12 * ((100vw - 320px) / 1280));
}
.icon-lupa {
  	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}
.content #search {
  margin: 2% 0;
}
.content #szukajg {
  width: 100%;
  padding: 20px;
}
.content .icon-lupa {
  padding: 20px 0;
  text-align: center;
  width: 100%;
  background-color: #9f1717;
  margin-bottom: 50px;
}
/* ==========================================================================
   tags - bio list
   ========================================================================== */
#tag-list {
  margin:1% 0;
}
#tag-list ul {
  display:inline-block;
  list-style-type:none;
  margin:0;
  padding:0;
  text-align:center;
  width:100%;
}
#tag-list li {
  padding:15px 10px;
  margin:1%;
  display:inline-block;
  background-color:#9f1717;
  text-align:center;
  font-size:21px;
}
#tag-list a {
  color:#fff;
}
/* ==========================================================================
   tags on page
   ========================================================================== */
.tags-profile {
  padding-bottom: 30px;
}
.tags-profile a { 
    border: 3px solid #9f1717;
    padding: 5px 10px;
    border-radius: 15px;
  margin:0 15px;
  font-size: 1.5em;
}
.tags-profile a:hover {
  border: 3px solid #000;
  color:#000;
}

/* ==========================================================================
	Zajawka - miejscowości
	========================================================================== */
.city-list ul {
  list-style-type:none;
  margin:0;
  padding:0;
}
.city-list li {
  list-style-type:none;
  text-align:center;
  padding: 25px 0;
  border-bottom: 2px solid  #808080;
}

/* ==========================================================================
	Zdjęcie w tekście
	========================================================================== */
.zdjecia { position:relative; padding:0; margin:2em 0 2em 0; border:0; width:100%; text-align:center; background:transparent; }
.zdjecia ul { position:relative; padding:0; margin:0 -5px; text-align:center; list-style-type:none; list-style-image:none; width:auto; }
.zdjecia ul li { width:25%; margin:0; padding:0; float:none; display:inline-block; list-style:none; background:transparent; line-height:0; vertical-align:top; }
.zdjecia.foto_right ul li { width:100% }
.zdjecia.threeRow ul li { width:33%; height:9em; overflow:hidden; }
.zdjecia ul li.naglowek { margin:1em 5px 1em; padding:0; border:0; background:none !important; float:none; display:block !important; display:inline; list-style:none; width:100%; }
.zdjecia ul li.naglowek h4 {  font-size:1.6em;line-height:1em; font-weight:bold; }
.zdjecia ul li.clear { margin:0; padding:0; border:0; clear:both; width:100%; list-style:none; height:10px; visibility:hidden; }
.zdjecia ul li figure {position:relative; text-align:center; padding:0; margin:0 5px 10px 5px; border:0;}
.zdjecia ul li figcaption { position:absolute; bottom:0; left:0; display:block; width:100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing:border-box; color:#fff; font-size:0.8em; line-height:1em; padding:0.5em 0.7em; text-align:center; text-shadow: 0px 1px 2px rgba(0, 0, 0, 1); opacity:0; transition-duration:0.6s; z-index:2; }
.zdjecia ul li figure img { width:100%; }
.zdjecia ul li a:link,.zdjecia ul li a:visited { color:#ffffff; text-decoration:none; display:block; padding:0; margin:0; border:0; }
.zdjecia ul li a:hover,.zdjecia ul li a:focus { color:#ff6600; -moz-box-shadow:0 0 3px #565656; -webkit-box-shadow:0 0 3px #565656; box-shadow:0 0 3px #565656;
    -moz-transition-duration:0.6s; -webkit-transition-duration:0.6s; -o-transition-duration:0.6s; -ms-transition-duration:0.6s; transition-duration:0.6s; }
.zdjecia ul li a:hover img,.zdjecia ul li a:focus img { transition-duration:2s;}
.zdjecia ul li:hover figcaption,.zdjecia ul li:focus figcaption {opacity:1; transition-duration:0.4s;}
/*lupa*/
.zdjecia ul li a:link:before { font-size:1em; font-family:ipn; /*content:"\e107";*/ color:#fff; line-height:1em; opacity:0; position:absolute; top:30%; transform: translate(0, -50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%); left:0; transform:rotate(0); width:100%; text-align:center; z-index:2; transition-duration:1s; }
.zdjecia ul li a:hover:before,.zdjecia ul li a:focus:before  { font-size:5em; opacity:1; transform:rotate(95deg)}
.zdjecia ul li a:link:after { content:""; position:absolute; top:50%; left:50%; width:1%; height:1%; opacity:0; z-index:0; background:#000; transition-duration:0.5s;}
.zdjecia ul li a:hover:after {width:100%; height:100%; top:0; left:0; opacity:0.5; transition-duration:0.2s;}
/* link do multimediów */
.zdjecia ul li.all { position:relative; text-align:center; height:125px;border:6px solid #b71b1b; vertical-align:middle; overflow:visible; }
.zdjecia ul li.all a:after { position:absolute; top:-6px; left:10%; width:80%; display:block; height:110%; background:#fff; content:""; z-index:0; }
.zdjecia ul li.all a { position:relative; width:100%; height:100%; display:block; color:#000; text-align:center; z-index:2; }
.zdjecia ul li.all a span { position:absolute; top:50%; left:0; width:100%; height:100%; display:block; color:#000; text-align:center; z-index:2;  }

/* ==========================================================================
   Mapa + popup mapy
   ========================================================================== */
#map, #mapIn {
  min-height:500px;
}
.MapaPozioma .search {
  display:block;
  margin: 50px 0;
  text-align:center;
}
.map-box-podsumowanie {
  background-color:#E3E3E3;
  text-align:center;
  width:100%;
  padding:50px 0;
}

.grid-item i {font-size:3em;}

.map-object {
  text-align:center;
}
.map-object img {display:block; width:100%; height: auto}
.map-object strong {
  font-size: 1.5em;
  font-weight: bold;
}
.map-object .button {
  border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
  color: #fff!important;
    background-color: #000!important;
}
.map-object .button:hover {
  color: #fff!important;
    background-color: #009688!important;
}
/* ==========================================================================
   Side image gallery
   ========================================================================== */

.side-img {
  color:#fff;
  font-size:21px;
}
.side-img-img {
  min-width:100%;
}
.side-img figcaption {
  background-color:rgba(183, 27, 27, .99);
  padding:20px;
  margin-bottom:5%;
}
.side-img figcaption:hover {background-color:#fff;}

/* ==========================================================================
   Single page header
   ========================================================================== */

.single-page-header {
    margin-top:0;
    background-color: #E3E3E3;
    max-height: 600px;
    padding:0 !important;
}
.single-page-info {
    max-height: 500px;
    display:flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: column;
  padding:0 50px;
}
.single-page-info h3 {
  padding:3% 0;
  font-size: calc(36px + 6 * ((100vw - 320px) / 680));
}


/* ==========================================================================
   Category block
   ========================================================================== */
.category-card {
      border: 0.2em solid #989898;
    margin: 8px 0;
    text-align: center;
    padding: 50px 0;
}

/* ==========================================================================
   Short content page
   ========================================================================== */
.short-txt {
  max-width:70%;
  margin:0 auto;
}
/* ==========================================================================
   Single Page gallery
   ========================================================================== */

.grid:after, .grid-links:after {
  display: block;
  content: '';
  clear: both;
}

.grid-col {
  float: left;
  width: 49%;
  margin-right: 2%;

}

.grid-col--4 { margin-right: 0; }

/* hide two middle */
.grid-col--2, .grid-col--3 { display: none; }

@media ( min-width: 768px ) {
  .grid-col { width: 32%; }
  .grid-col--2 { display: block; }
}

@media ( min-width: 1200px ) {
  .grid-col { width: 23.5%; }
  .grid-col--2, .grid-col--3 { display: block; }
}

.grid-item {
  min-height: 100px;
  margin-bottom:5%;
}

.grid-item-content {
  background-color:#E3E3E3; 
  padding:50px; 
  text-align:center;
  height: 380px;
  box-shadow: 1px 1px 8px 4px #c3c3c3;
}

.grid-item img {
  display: block;
  width: 100%;
}

.caption {
  background-color:#9f1717; 
  padding:10px;
  color:#fff
}
.caption a {color:#fff;}

/* ==========================================================================
	Powiązane atrybut
   ========================================================================== */
.special-event {
  font-family: 'Playfair Display', serif;
  font-size:1.5em;
  background-color:#E3E3E3;
  padding:20px;

}  

/* ==========================================================================
   Page list
   ========================================================================== */
#meni_strony {
  text-align:center;
  margin:3% 0;
}
#meni_strony ul {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}
#meni_strony li {
  display:inline-block;
  padding:0 15px;
}
/* ==========================================================================
   Opcje strony
   ========================================================================== */
.opcje-strony {
  background-color:#6e1515;
  text-align:center;
  padding:5% 0;
}
.opcje-buttons {
  max-width:40%;
  margin:0 auto;
}
.opcje-strony a {color:#fff;
}
.opcje-strony button {
  	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  	color:#fff;
}
.opcje-strony a, .opcje-strony button {color:000; font-size: calc(36px + 6 * ((100vw - 320px) / 680));}
.opcje-strony button:hover, .opcje-strony a:hover {color:#FBDB48 !important;}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}
/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-container {
  max-width: 480px;
  margin: auto;
  background-color: #555;
  height: 500px;
  color: white;
  border-radius: 10px;
}

.topnav {
  overflow: hidden;
  background-color: #333;
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a, .topnav button {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav button.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.active {
  background-color: #580e0e;
  color: white;
}

#myLinks ul {
  margin:0;
  padding:0;
}
#myLinks li {
  list-style-type:none;
  margin:0;
  padding:0;
}
/* ==========================================================================
   Search page
   ========================================================================== */


/* ==========================================================================
   Search overlay & contrast
   ========================================================================== */

#search-btn, #contrast{
  background-color: rgba(255, 255, 255, 1);
  padding: 10px;
  border-radius: 2px;
  color: #9f1717;
  margin:0 5px;
}

#search-btn:hover, #contrast:hover{
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  
}
#search-overlay{
  display:none;
}
.search-item a {
  background-color: #fff;
  padding: 15px 30px;
}
.block {
  position: fixed;
  top: 0;
  right: 0;
  bottom:0 ;
  left: 0;
  overflow: auto;
  text-align: center;
  background: rgba(0, 0, 0, 0.9);
  border: #a0a0a0 solid 1px;
  margin: 0;
}

.block:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: 0;
  /* Adjusts for spacing */
  /* For visualization 
  background: #808080; width: 5px;
  */
}

.centered {
  display: inline-block;
  vertical-align: middle;
  width: 50%;
  padding: 10px 15px;
  color: #FFF;
  border: none;
  background: transparent;
}

#search-box {
  position: relative;
  width: 100%;
  margin: 0;
}

#search-form {
  height: 4em;
  border: 1px solid #999;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background-color: #fff;
  overflow: hidden;
}

#search-text {
  font-size: 14px;
  color: #ddd;
  border-width: 0;
  background: transparent;
}

#search-box input[type="text"] {
  width: 100%;
  padding: 20px;
  color: #333;
  outline: none;
  font-size: 1.4em;
}

#search-button {
  position: absolute;
  top: 0;
  right: 0;
  height: 4.7em;
  width: 100px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 42px;
  border-width: 0;
  background-color: #4d90fe;
  -webkit-border-radius: 0 2px 2px 0;
  -moz-border-radius: 0 2px 2px 0;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
}
#close-btn{
  position: fixed;
  top: 1em;
  right: 1em;
}
#close-btn:hover{
  color: #777;
  cursor: pointer;
}
.search-item label {
  text-align:center;
}


/*dialog alert */
.alerts { position:relative; display:flex; align-items:center; justify-content:flex-start; padding:1em; margin:2em auto; text-align:left; font-size:1.4em; line-height:1.1em; color:var(--color-black); font-family:var(--font); border:1px solid var(--color-grey); border-radius:var(--bordr-radius); z-index:1; }
.alerts._warn { color:var(--color-black); background-color:var(--color-yellow); border:1px solid var(--color-yellow); border:0; }
.alerts._alert { color:var(--color-white); background-color:var(--color-red); border:1px solid var(--color-red); border:0; }
.alerts._ok { color:var(--color-white); background-color:var(--color-green); border:1px solid var(--color-green); border:0; }
.alerts i.element { position:relative; display:block; padding:10px; width:60px; height:60px; text-align:center; font-style:normal; border:1px solid var(--color-light-grey); }
.alerts i.element:before { content:"\26A0"; font-size:3em; line-height:60px; }
.alerts div.content { padding:1em; font-size:1em; line-height:1em; font-weight:normal; text-align:left; }

/* LoginBox */
.forms.loginBox { position:relative; display:block; margin:0; } 
.forms.loginBox input[type=text], .forms.loginBox input[type=password] { width:100%; height:100%; box-sizing:border-box; padding-left:30px }
.forms.loginBox .loginFiled:before, .forms.loginBox .passField:before, .forms.loginBox .emailField:before { position:absolute; top:50%; left:5px; transform: translate(0,-50%); -webkit-transform: translate(0,-50%); -ms-transform: translate(0,-50%); display:block; width:20px; height:20px; overflow:hidden; font-family:var(--font-icon); font-size:20px; line-height:20px; font-weight:normal; }
.forms.loginBox .loginFiled:before { content:"\e101"; }
.forms.loginBox .passField:before { content:"\e101"; }
.forms.loginBox .emailField:before { content:"\e101"; }

/*fast LoginBox */
.forms.loginBox.quick fieldset { display:flex; }
.forms.loginBox.quick .emailField { width:100%; }

/* Pass strenth */
.passStrength { position:relative;margin:0.3em 0; }
.passStrength.bar { display:block; height:0.6em; }
.passStrength.hint { margin:0.2em 0 0 0; font-size:0.9em; color:var(--color-light-text); }


/*payment */
.payment {display:block;}
.payment span[class^="i-"],.payment span[class*=" i-"] { display:inline-block; padding:0.3em; margin:0; font-size:1em; line-height:1em; }
.payment .i-error { background-color:var(--color-red); color:var(--color-white);}
.payment .i-ok { background-color:var(--color-green); color:var(--color-white); }
.payment .i-normal { background-color:var(--color-grey); color:var(--color-black); }
.payment .i-alert { background-color:var(--color-yellow); color:var(--color-black); }

/*index*/
.index { position:relative;}
.index h3 { position:relative; padding:0.5em 0; font-size:3em; line-height:1.2em; color:var(--color-black); text-align:left; font-weight:700; text-decoration:none; text-transform:uppercase; }
.index .box { position:relative; background-color:var(--color-light-grey); padding:1.5em; margin:0; text-align:left; font-size:1em; line-height:1em; color:var(--color-black); }
.index ul { padding:0; margin:0; text-align:left; list-style-type:none; list-style-image:none;}
.index ul li { margin:0; border:0; padding:0; list-style:none; position:relative; }
.index ul li a:link,.index ul li a:visited { position:relative; padding:0.4em; display:inline-block; text-decoration:none; font-size:1.3em; line-height:1.2em; color:var(--color-black); }
.index ul li a:hover,.index ul li a:focus { background-color:var(--color-main); color:var(--color-white); }
.index ul li a span { font-size:0.6em; padding:0.2em; margin:0 0.5em; background-color:var(--color-main); color:var(--color-white); }


/* MAPS */
.maps { position:relative; padding:0; margin:0; } 
.maps .map, article .map { display:block; width:100%; height:650px; }
.maps #objectList { display:block; margin:2em 0; }
.maps #drukuj-ikonki { position:relative; text-align:right; padding:0; margin:1em 0; } 
.maps .box-podsumowanie { position:relative; display:flex; justify-content:space-between; align-items:stretch; flex-direction:row; border:0; padding:0; margin:0 0 1em 0; box-sizing:border-box; } 
@media only screen and (max-width:768px) { .maps .box-podsumowanie { flex-direction:column; } }
/* maps - search */
.maps .search { text-align:left; margin-bottom:1em;}
.maps .search form { border:1px solid var(--color-light-grey); width:100%; margin:0; box-sizing:border-box;}
.maps .search legend, .maps .search label { position:absolute; top:0; left:-10000em; width:1px; height:1px;}
.maps .search input[type=text] { width:85%; border:0;}
.maps .search button { position:absolute; top:0; right:0; display:block; width:50px; height:100%; padding:0; margin:0; border:0; overflow:hidden; text-indent:-100em; cursor:pointer; background:transparent; color:var(--color-dark-grey); }
.maps .search button:before { position:absolute; top:50%; transform:var(--vcenter); left:0; width:100%; text-indent:0; font-size:1.4em; line-height:50px; font-family:var(--font-icon); content:"\e106"; color:var(--main-color); }
.maps .search button:hover,.maps .search button:focus { color:var(--color-black); } 
/* maps - legend and options */
.maps .legenda, .maps .opcje { position:relative; padding:2em; margin:0; width:50%; }
.maps .legenda .forms, .maps .opcje .forms { overflow:visible; background:transparent;}
.maps .legenda legend, .maps .opcje legend { padding:0; margin:0 0 1em 0;}
.maps .legenda ins,.maps .legenda .ins,
.maps .legenda ins,.maps .legenda .ins, .maps .opcje ins,.maps .opcje .ins { position:relative; display:block; overflow:visible; height:auto; padding:0; margin:0.5em; text-align:left; background:transparent; border-bottom:1px solid var(--color-light-grey); }
.maps .legenda .marker { display:inline-block; vertical-align:middle; border:0; border-left:1px solid var(--color-light-grey); width:20px; height:20px; padding:0; margin:0 0.5em 0 0; box-sizing:border-box; background-position:center top; background-repeat:no-repeat; background-size:80% 100%; }
/* maps - dsc */
.maps .opis { position:relative; padding:2em; margin:0; width:50%; }
.maps .opis strong { display:block; font-weight:bold; font-size:1.4em; line-height:1em; text-align:left; margin:0 0 1em 0; }
.maps .opis p { display:block; margin:1em 0; text-align:left; font-size:1.2em; line-height:1.1em; }
/* mapy - image */
.maps .image { position:relative; padding:2em; margin:0; width:44%; }
/* mapy - hint */
.map-object { position:relative; padding:1em; margin:0; width:auto; height:auto; box-sizing:border-box; }
.map-object strong { display:block; margin:0 0 0.8em 0; font-family:var(--font); text-align:left; font-size:1.2em; line-height:1em; }
.map-object p { font-family:var(--font); text-align:left; font-size:1em; line-height:1.2em; margin:0; }
.map-object a.button:link, .map-object a.button:visited { padding:1em; margin:1em 0; }
.map-object .forms { width:350px; }
 /* maps - fix horizontal view */
.MapaPozioma .maps .map height:750px; }
.MapaPozioma .maps .box-podsumowanie { flex-direction:column; }
.MapaPozioma .maps .legenda,.MapaPozioma .maps .opcje { width:100%; box-sizing:border-box; text-align:center; }
.MapaPozioma .maps .legenda ins, .MapaPozioma .maps .legenda .ins,
.MapaPozioma .maps .opcje ins, .MapaPozioma .maps .opcje .ins { display:inline-block; border-bottom:0; }
.MapaPozioma .maps .legenda legend,.MapaPozioma .maps .opcje legend { margin:0 auto 1em; }
 /* maps - popup if not exist */
.map-popup { position:absolute; top:20%; left:50%; transform:var(--center); min-width:30%; height:auto; padding:15px 15px 0 0; z-index:10; }
.map-popup-content { border:1px solid var(--color-grey); background-color:var(--color-white); box-shadow:var(--box-shadow-hover); }
.map-popup .usun { position:absolute; top:0; right:0; width:30px; height:30px; }



/* ==========================================================================
   rekord
   ========================================================================== */
.record-content i {font-size:calc(33px + 12 * ((100vw - 320px) / 680));}
.record-content-link {
  font-size:calc(13px + 3 * ((100vw - 320px) / 680));
  text-align:center;
}

.pole_ins {
  background-color:#E3E3E3;
  margin:2% 0;
  padding:5% 0;
}
.rekord {
  font-weight:800;
}
.pole, .rekord {
  text-align:center;
  font-size:21px;
}
.rekord-list {
  margin:0;
  padding:0;
}
.rekord-single {
  list-style-type:none;
  text-align:center;
  margin:20px 0;
  padding:0;
  background-color:#E3E3E3;
}
.rekord-single h3 {
  font-size: calc(36px + 6 * ((100vw - 320px) / 680));  
}
.rekord-search .szukaj, .rekord-search .usunFiltr {
  border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
  background-color:#000;
  color:#fff !important;
  margin:5px;
}
.rekord-search .szukaj:hover, .rekord-search .usunFiltr:hover {
  color: #fff!important;
  background-color: #009688!important;
}


.menu-alphabet #meni_strony li {
  font-weight:800;
  display: inline-block;
  background-color: #9f1717;
  padding: 10px 15px;
  font-size: 21px;
  margin: 1%;
  font-weight: 900;
}
.menu-alphabet #meni_strony li a {
  color:#fff;
}
.iloscRekordow {
  text-align:center;
  border-top:2px solid #303030;
  border-bottom:2px solid #303030;
  padding:25px 0;
  margin-top:40px;
}
.iloscRekordow h4 {
  margin:0;
  padding:0;
}

.rekord-search {
  display:block;
}
.rekord-search .forms .twoRows:first-of-type input  {
  width:100%;
}
.rekord-search  .forms .twoRows:first-of-type {
  width:100%;
}
.rekord-search  .forms .twoRows {
  float:left;
  width:50%;
  padding:25px;
  font-size:21px;
}
.rekord-search .forms .twoRows input, .rekord-search .forms .twoRows select  {
  width:100%;
  height: 33px;
}
.submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top:40px;
}
}
.record-search .forms .form_input {
  display:none;
}
/* ==========================================================================
   zalaczniki
   ========================================================================== */
.zalaczniki ul {
  margin:0;
  padding:0;
  list-style-type:none;
}
.zalaczniki li {
  min-height:30px;
}
.zalaczniki-inside {
  padding:20px;
  background-color:#E3E3E3;
  
}
.zalaczniki img {
  display:block;
}
.zalaczniki .naglowek h3 {font-size:calc(18px + 6 * ((100vw - 320px) / 680));}
/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color:#242424;
  color:#fff;
}
footer a {
  color:#fff;
  text-decoration:underline;
}

#footer-opcje-dol {text-align:center;}

.footer-adres {
  width:50%;
  margin: 0 auto;
  padding-top:5%;
}
#footer-opcje-dol {
  margin:5% 0;
}
.opcje {
  margin:0;
  padding:0;
}
.opcje li {
  list-style-type: none;
    margin: 5px;
    display: inline-block;
}

.footer-img {
  max-width:200px;
  float:right;
}
.sociale {
  text-align:center; 
  padding: 5% 0;
  background-color:#141414;
  font-size: calc(36px + 6 * ((100vw - 320px) / 680));
}
.sociale a:hover {
  color:#FBDB48 !important;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 768px) {
  .grid-item-content {
    padding:25px;
  }
  .grid-item-content h3 {
    font-size:1em;
  }
  .rekord-search .forms .twoRows {
    width:100%;
    float:none;
    text-align:center;
  }
  .tools, .main-menu, .logo {
    display:none;
  }
  header {
    background-color:inherit;
  }
  header h1 {
    color:#000;
  }
  .tags-profile {
    padding-bottom: 30px;
    font-size: calc(10px + 6 * ((100vw - 320px) / 680));
  }
  .tags-profile a {
    display:block;
    margin:20px 0;
    text-align:center;
  }
  .single-person-info h2 {
    font-size: calc(36px + 6 * ((100vw - 320px) / 680))
  }
  .single-person-info {
    padding:0 25px;
  }
    .front-page-item {
    background-color: #2d0b0b !important;
    background-blend-mode: darken;
  }
  .page-description {
    width:100%;
    padding:50px;
    text-align:center; 
  }
  .page-description h2 {text-align:center;}
  .page-description p, .single-person-biography p {font-size:1em;}
  .short-txt {max-width:100%;}
}

@media only screen and (min-width: 768px) {
  .topnav {
    display:none;
  }
}
@media only screen and (max-width: 1200px) {
  .content, .featured-categories-content, .newest-content, .bnpnu-content {
    width:90%;
  }
  
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Reklama portalu
   ========================================================================== */
.direct-link {
  padding:100px 30px;
  background-color:#E3E3E3;
  text-align:center;
}
.direct-link-title {font-size:calc(36px + 6 * ((100vw - 320px) / 680));}

/* ==========================================================================
   Audiodeskrypcja - odtwarzacz
   ========================================================================== */
.mp3player {
  background-color:#E3E3E3; 
  padding:2%; 
  margin:2%;
}
.mp3player .w3-half h3 {
  font-size:calc(36px + 6 * ((100vw - 320px) / 680));
}
.mp3player #player {
  width:100%;
}
/* ==========================================================================
   Blok - Kalendarz
   ========================================================================== */
.calendar-intro {text-align:center;}
.cal-inside, .more-triangle {min-height:300px;}
.cal-inside {
  background-color:#E3E3E3; 
  padding:50px; 
}
.morebox {
  display: flex;
  justify-content:center;
  align-items:center;
  font-size: calc(16px + 6 * ((100vw - 320px) / 680));  
}
.wiecejAll {
  text-align:center;
  margin:2% 0;
}
.3inrow-bloc h2 {
  text-align:center;
  margin:1% 0;
}
/* ==========================================================================
   Rekord - Osoby internowane
   ========================================================================== */
.int-places li {
  display:inline-block;
  margin-right:20px;
  margin-bottom: 20px;
}

.int-places {
  padding:0;
}


/* Lista rekordów internowanych */
.form_input #archiwums, .form_input label {display:none}

#pole4748 {
  height:150px;
}

.int-single {
  border-bottom: 2px solid #303030;
  padding:25px 0;
}
.int-single h3 {
  margin:0;
  padding:0;
}
.lista-rekordow ul {
  list-style-type:none;
  margin:0;
  padding:0;
}
.int-single img {
  width:90%; 
  height:auto
}

@media only screen and (max-width: 768px) {
	.int-single img {width:50%;}
  .int-single .w3-quarter, .int-single .w3-threequarter {
    text-align:center;
  }
}
/* ==========================================================================
   Linia czasu
   ========================================================================== */
section {
  padding: 2em 0;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/*
 * How to use .timeline
 * 
 * * add the class to a the section.
 * * And put each "new piece" of content in a new <section></section>"
 * * If you include a <time> tag, this will build the lines for you.
 *
 * * $timeline-breakpoint is called in the media queries for easy adjustment if necessary 
 *
 * * You can adjust the thickness of the lines with the $timeline-size var
 * * and it will keep it's proportions
 * 
*/
.timeline {
  padding: 7em 0 4em 1em;
}
.timeline:last-child {
  padding: 7em 0 4em 1em;
}
.timeline .wrapper {
  padding-left: 2em;
  border-left: 0.4em solid #B71B1C;
  position: relative;
}
.timeline .wrapper:before {
  content: '';
  padding: 0;
  margin: 0;
  background-color: #B71B1C;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  position: absolute;
  top: -0.5714285714em;
  left: -0.7142857143em;
}
.timeline .wrapper:after {
  content: '';
  padding: 0;
  margin: 0;
  height: 6em;
  width: 1em;
  position: absolute;
  bottom: 0;
  left: -1em;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e8e8e8+0,e8e8e8+100&0+0,0.65+49,1+100 */
  background: -moz-linear-gradient(top, rgba(232, 232, 232, 0) 0%, rgba(232, 232, 232, 0.65) 49%, #F0F0F0 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(232, 232, 232, 0) 0%, rgba(232, 232, 232, 0.65) 49%, #F0F0F0 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(232, 232, 232, 0) 0%, rgba(232, 232, 232, 0.65) 49%, #F0F0F0 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00e8e8e8', endColorstr='#F0F0F0',GradientType=0 );
  /* IE6-9 */
}
.timeline section {
  position: relative;
  border-bottom: 1px solid #a8a8a8;
}
.timeline section:first-child {
  padding: 0 0 2em 0;
  margin-top: -2em;
}
.timeline section:last-child {
  border-bottom: none;
}
.timeline section h2, .timeline section h3, .timeline section h4, .timeline section h5, .timeline section h6 {
  padding-top: 0;
}
.timeline section p:last-child {
  margin-bottom: 0;
}
.timeline time {
  position: relative;
  font-size: 1.875em;
  margin-top: -1em;
  display: inline-block;
}
.timeline time:before {
  content: '';
  display: inline-block;
  width: 0.6666666667em;
  height: 0.125em;
  background-color: #B71B1C;
  position: absolute;
  left: -1.2em;
  top: 50%;
  transform: translateY(-50%);
}
.timeline time:after {
  content: '';
  padding: 0;
  margin: 0;
  background-color: #B71B1C;
  height: 0.3333333333em;
  width: 0.3333333333em;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -0.6666666667em;
}
.timeline h2 {
    margin: 0;
    padding: 0;
}
@media (min-width: 600px) {
  .timeline .wrapper {
    padding-left: 14em;
  }
  .timeline time {
    font-size: 2.25em;
    margin-top: 0;
    display: inline-block;
    position: absolute;
    top: 0.5em;
    left: -3.1em;
  }
  .timeline time:before {
    content: '';
    width: 2.4em;
    height: 0.0833333333em;
    left: -3.2em;
  }
  .timeline time:after {
    left: -1em;
  }
  .timeline section time {
    top: 1em;
  }
  .timeline section:first-child time {
    top: 0.2em;
  }
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  #printHeader {text-align:center;}
  #printer {margin-top: 2em;}
  .single-person-header {
    background-color:none;
    max-height: auto;
    padding: auto;
  }
  .single-person-img, .tags-profile {display:none;}
  . single-person-info {
    height:auto;
    display:inherit;
  }
  .single-person-biography .w3-twothird  {
    width: 65%;
    float: left;
  }
  .single-person-biography .w3-third {
 	width: 25%;
    float: right;
    margin-top: 2em;
  }
  .opcje-strony {
    display:none;
  }
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
.sr-only, .hide {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;  /* 2 */
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;            /* 3 */
}

/*
	Use in conjunction with .sr-only to only display content when it's focused.
	@note Useful for skip links 
	@see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
	@note Based on a HTML5 Boilerplate technique, included in Bootstrap
	@note Fixed a bug with position: static on iOS 10.0.2 + VoiceOver
		@author Sylvain Pigeard
		@see https://github.com/twbs/bootstrap/issues/20732
*/
.sr-only-focusable:focus,
.sr-only-focusable:active {
	clip: auto !important;
	-webkit-clip-path: none !important;
		clip-path: none !important;
	height: auto !important;
	margin: auto !important;
	overflow: visible !important;
	width: auto !important;
	white-space: normal !important;
}

/*==  SPRAWY =================================================*/

.case-person .outsipPage {
        min-height: 500px;
}
.case-person .outNaglowek {
        clear: left;
        font-size: 12px;
        margin-bottom: 15px;
        text-align: right;
}
.case-person .outMenu {
        clear: left;

}
.case-person .outOpcje {
        float: left;
        font-family: Arial, Verdana;
        font-size: 14px;
        margin-top: 15px;
}
.case-person .outFind {
        float: right;
}
.case-person .outAlfabet {
        font-family: Arial, Verdana;
        font-size: 14px;
        clear: left;
}
.case-person .outLiterka {
        margin-top: 10px;
        width: 20px;
        float: left;

}
.case-person .outListaOsob {
        font-family: Arial, Verdana;
        font-size: 12px;
        margin-top: 10px;
        clear: left
}
.case-person .outListaSpraw {
        clear: left;
        font-family: Arial, Verdana;
        font-size: 10px;
}
.case-person .outListaSprawNaglowek {
        font-family: Arial, Verdana;
        font-size: 1em;
        text-align: left;
        margin-left: -7px;
}
.case-person .ols {
        margin-top: 10px;
        margin-bottom: 10px;
        clear: left;
        font-size: 1em;
        text-align: left;
        margin-left: -7px;
}
.case-person a {
        text-decoration: none;
}
.case-person .ons {
        float: left;
        margin-left: 7px;
        margin-right: 7px;
        width: 15%;
}
.case-person .onp {
        float: left;
        margin-left: 7px;
        margin-right: 7px;
        width: 15%;
}
.case-person .onl {
        float: left;
        margin-left: 7px;
        margin-right: 7px;
        width: 15%;
}
.case-person .ouo {
        float: left;
        margin-left: 7px;
        margin-right: 7px;
        width: 45%;
        margin-bottom: 10px;
}
.case-person .outSprawa {
        clear: left;
        font-family: Arial, Verdana;
}
.case-person .outdaneWyszukanejOsoby {
        font-family: Arial, Verdana;
        font-weight: bold;
        font-size: 14px;
        margin-bottom: 20px;
}
.case-person .outlinkPowrotu {
        clear: left;
        margin-top: 10px;
        font-size: 12px;
}
.case-person .sss {
        float: left;
        width: 25%;
        padding-top: 10px;
        padding-bottom: 10px;
}
.case-person .outSprawaSygnaturaProkuratorska {
        width: 25%;
        float: left;
        padding-top: 10px;
        padding-bottom: 10px;
}
.case-person .outSprawaSygnaturaSledcza {
        width: 25%;
        float: left;
        padding-top: 10px;
        padding-bottom: 10px;
}
.case-person .outSprawaSygnatury {
        clear: left;
        text-align: left;
        font-size: 16px;
        border-top: 1px solid #7b0b0b;
}
.case-person .outSygnaturyIPN {
        width: 120px;
        float: left;
        padding-top: 10px;
        padding-bottom: 10px;
}
.case-person .outSygnatura {
        width: 20px;
        display: block;
        border-style: none;
}
.case-person .obo {
        clear: left;
        font-size: 1em;
}
.case-person .ol {
    	width: 33%;
    	float: left;
    	font-size: 20px;
}
.case-person .or {
        float: left;
        width: 67%;
}
.case-person .obo:nth-child(2) .ol{
  		font-size: 50%;
}
.case-person .os {
        padding-top: 20px;
        clear: left;
        font-size: 16px;
}
.case-person .outSedziowie {
        padding-top: 20px;
        clear: left;
        font-size: 16px;
}
.case-person .ool {
        clear: left;
        width: 30%;
        float: left;
        border-top: #dddee3 1px solid;
  		margin-bottom: 5px;
  		margin-top: 5px;
}
.case-person .oop {
        width: 70%;
        float: left;
        border-top: #dddee3 1px solid;
  		margin-bottom: 5px;
  		margin-top: 5px;
}
.case-person .outWstep {
        font-family: Arial, Verdana;
        font-size: 12px;
}
.case-person a div {
        color: #b50000;
  		cursor: pointer;
}
.case-person {
		margin-bottom: 300px;
}
.case-list .iloscRekordow .inner div,
.case-list .iloscRekordow .inner h4 {
	display: inline;
    padding: 10px 10px 10px 0;
    font-size: 1.5em;
    line-height: 2em;
}
.case-list .iloscRekordow {
	padding: 0;
    margin: 0em 0 2em;
    border-left: none;
}
.case-list .forms .all {
    display: none;
}
.case-list .forms .twoRows ins{
    padding: 0;
    margin: 1em 0 0 0;
}

.case-list .okno strong {
    margin: 0;
    padding: 0;
    font-size: 1.4em;
    line-height: 1.4em; 
    border-bottom: none;
}
.case-list .okno ul li.strz {
    padding: 1em 0 1em 4em;
    margin: 0;
    text-align: left;
    border-bottom: none; 
}
.case-list .okno ul li.strz a:before {
    font-size: 1.4em;
}
.case-list .okno ul li:hover {
	background-color: #EFEFEF;
}
.case-list .okno ul li a:hover{
	color: #b00000
}
.left {text-align:left;}

/*==  SPRAWY =================================================*/
