/* 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: #f1f227;
  font-size: 1em;
  line-height: 1.4;
  background-color: #000;
  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: #f1f227;
  text-shadow: none;
}

::selection {
  background: #f1f227;
  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:underline;
  color:#f1f227;
}
a:hover {
  text-decoration:underline;
  color: #f1f227;
}

/* ==========================================================================
    header
   ========================================================================== */
header {
  padding: 100px 0;   
}
header h1 {
  color: #f1f227;
  font-weight: 400;
  font-size: calc(36px + 6 * ((100vw - 320px) / 680));
  margin: 0;
  padding: 0;
  text-align: center;
}
header h1:hover {
  background-color: #f1f227;
color: #000;
}
.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:#000;
  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: #f1f227;
    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;
}
/* ==========================================================================
    WCAG special menu
   ========================================================================== */
.wcag-menu-nav {
  text-align:center;
  margin:0;
  padding 0;
  list-style-type:none
}
.wcag-menu-nav li {
  display:inline-block;
  padding:10px;
  margin:15px;
  background-color:#f1f227;
  color:#000
}
.wcag-menu-nav li a {
  color:#000;
}
/* ==========================================================================
    every page header
   ========================================================================== */
.every-page-header {
  background-color: #F1F227;
  padding: 50px 50px 30px 50px;  
}
.every-page-header h1, .every-page-header h2 {
  color:#000;
}
/* ==========================================================================
    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:#f1f227;
  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 {
    display:flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: column;
  padding:0 10%;
  text-align:center;
}

.single-person-info h2 {
    margin: 2% 0 0 0;
    padding: 0;
    font-size: calc(66px + 6 * ((100vw - 320px) / 680));
    font-family: 'Playfair Display', serif;
  text-align:center;
}
.single-person-info p {
    margin: 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(56px + 6 * ((100vw - 320px) / 680));
}
.single-person-biography p {
    font-size: 21px;
}
.img-gallery img {
  max-width:100%;
}
/* ==========================================================================
   All biograms list
   ========================================================================== */
.person-list {
  min-height: 700px;
  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 h3 {
  padding:15px;
  font-size: calc(30px + 6 * ((100vw - 320px) / 680));
}
.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 20px 0;
  text-align: center;
  width: 100%;
}
/* ==========================================================================
   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;
}

/* ==========================================================================
	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;  }


/* ==========================================================================
   Side image gallery
   ========================================================================== */

.side-img {
  color:#fff;
  font-size:21px;
}
.side-img-img {
  min-width:100%;
}
.side-img figcaption {
  background-color:rgba(241, 242, 39, 1);
  padding:20px;
  margin-bottom:5%;
  color:#000;
}
.side-img figcaption:hover {background-color:#fff;}

/* ==========================================================================
   Single page header
   ========================================================================== */

.single-page-header {
    margin-top:0;
    background-color: rgba(241, 242, 39, 1);
    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;
}
.single-page-info h2 {
  color:#000;
  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
   ========================================================================== */
.full-width-gallery {
  margin: 8px 0; 
  min-height:500px;
}
.full-width-gallery-img {
  width:100%; 
  min-height:400px; 
  background-size:cover;
}
.full-width-gallery-caption {
  min-height:100px; 
  background-color:#F1F227; 
  padding:25px 25px 0 25px; 
  text-align:center;
  color:#000;
}

/* ==========================================================================
	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:#f1f227;
  text-align:center;
  padding:5% 0;
}
.opcje-buttons {
  max-width:40%;
  margin:0 auto;
}
.opcje-strony a {color:#000;}
.opcje-strony button {
  	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  	color:#fff;
}
.genpdf {color:#000;}
.opcje-strony a, .opcje-strony button {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: #4CAF50;
  color: white;
}

/* ==========================================================================
   Search page
   ========================================================================== */
#szukaj-zaawansowana, #szukaj-zaawansowana-rozwin-button {
  display:none;
}
#wynikiSearch ol {
  margin: 0;
  padding: 0;
}
#wynikiSearch li {
  background-color: #ebebeb;
  padding: 50px;
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}
#button_szukajw1, #button_szukajw2, #button_szukajw3 {
  display:none;
}
#wyszukiwarka_cms .form_input {
  display: flex;
  justify-content: center;
}

/* formularz */
.forms { position:relative; display:block; overflow:hidden; border:0; margin:0; padding:0; }
.forms .required { font-weight:normal; color:#ff0000; font-size:0.9em; }
.forms br { clear:both; margin:0; padding:0; overflow:hidden; }
.forms img { border:0; vertical-align:middle; }
.forms form { height:auto; margin:0 auto; background:transparent; padding:0; color:#020202;}
.forms fieldset { position:relative; display:block; z-index:1; height:auto; padding:0; margin:0; border:0; overflow:visible; }
.forms legend{ position:relative; top:0; left:0; margin:0; padding:0.5em; overflow:hidden; width:100%;  font-size:1.6em; line-height:1.3em; text-align:left; border-bottom:1px solid #f8f8f8; color:#010101;  font-weight:bold;}
.forms legend.subtitle { position:relative; display:block; top:0; z-index:1; width:auto; overflow:hidden; padding:0.8em; text-align:left; font-size:1em; font-weight:bold;}
.forms ins, .forms .ins { position:relative; display:block; overflow:visible; height:1%; text-align:left; margin:0.5em 1em; background:transparent; font-size:1em; text-decoration:none; }
.forms .box_error { border:1px solid #ff0000; }
.forms .submit { padding:1em 0; text-align:center; }
.forms .title { padding:0.5em; font-weight:normal; font-size:1.6em; line-height:1.1em; }
.forms .subtitle { font-weight:bold; }
.forms .all { padding:0.8em !important; }
.forms label,.forms .label { position:relative; top:50%; left:0; transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%); padding:0; width:37%; border:0; text-align:right; font-size:1.1em; line-height:1em; font-weight:normal;}
.forms label span.error { position:absolute; top:-100em; left:-100em; width:1px; height:1px; text-indent:-1000em;}
.forms div.form_input { position:relative; padding:0; width:auto; margin:0; background:transparent; text-align:left; color:#000000; font-size:1em;}
.forms div.form_input label,.forms div.form_input .label { position:relative; top:0; left:0; padding:0 0.5em; width:auto; border:0; text-align:left; font-size:1em; font-weight:normal;}
.forms div.form_text { position:relative; padding:0.3em 0 0 0; width:auto; margin:0; text-align:left; color:#565656; font-size:1em; line-height:1em;}
.forms div.form_text p {margin-top:0;}
/* ustawienie dwa w rzedzie */
.forms .twoRows{ float:left; width:50%; }
.forms .twoRows ins,.forms .twoRows .ins { padding:0.2em; white-space:nowrap; }
.forms .twoRows label,.forms .twoRows .label { position:relative; top:auto; left:auto; transform:translate(0,0);-webkit-transform:translate(0,0);-ms-transform:translate(0,0); padding:0 0.5em 0.5em 0; float:none; width:auto; border:0; text-align:left; }
.forms .twoRows .reset label,.forms .twoRows .reset .label {display:block; padding:0 0 0.5em 0; float:none; width:100%; text-align:left; box-sizing:border-box;}
.forms .twoRows .reset .left label,.forms .twoRows .reset .left .label { position:relative; top:auto; transform:translate(0,0);-webkit-transform:translate(0,0);-ms-transform:translate(0,0); left:auto; display:inline; vertical-align:middle; padding:0 0.5em 0 0; float:none; width:auto; border:0; text-align:left;}
.forms .twoRows .form_input { position:relative; display:inline; float:none; padding:0; width:auto; margin:0; text-align:left; font-size:0.9em;}
.forms .twoRows .reset .form_input {float:none; width:100%; }
.forms .twoRows input[type=text],.forms .twoRows input[type=file],.forms .twoRows input[type=password] { width:90%; }
.forms .twoRows select { width:90%; }
.forms .twoRows input[type=text].data {width:50%;}
.forms .twoRows input.data{ width:50%; font-size:0.9em; padding:0.6em 0; }
.forms ins img {width:auto !important; height:auto !important;}

/* wyszukiwarka dzialowa */
.forms.page { text-align:left; margin:0 0 1em;}
.forms.page form { width:30%; margin:0; box-sizing:border-box; }
.forms.page form fieldset { border:1px solid #b5bec4; box-sizing:border-box; }
.subLeft .forms.page form { width:100%; }
.forms.page form .szukaj-dzial { position:absolute; top:8px !important; width:190px; overflow:hidden; color:#b3b3b3; font-size:0.9em; font-weight:normal; text-align:left; }
.forms.page input[type=text] { width:85%; border:0;}
.forms.page input[type=submit],.forms.page button { position:absolute; top:0; right:0; display:block; width:30px; height:30px; padding:0; margin:0; border:0; overflow:hidden; text-indent:-100em; cursor:pointer; background:transparent; color:#fcc133; }
.forms.page input[type=submit]:before ,.forms.page button:before{ position:absolute; top:0.2em; left:0; width:100%; text-indent:0; font-size:1.2em; line-height:1.3em; font-family:ipn; content:"\e107"; color:#b71b1b; }
.forms.page input[type=submit]:hover,.forms.page input[type=submit]:focus,.forms.page button:hover,.forms.page button:focus { color:#000000; }
.forms.archiwum .lupa:after  { position:absolute; top:50%; transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%); right:3%; text-indent:0; font-size:1.2em; line-height:1.3em; font-family:ipn; content:"\e107"; color:#b71b1b;}

/* ==========================================================================
   Search overlay & contrast
   ========================================================================== */

#search-btn, #contrast{
  background-color: rgba(0, 0, 0, 1);
  padding: 10px;
  border-radius: 2px;
  color: #F1F227;
  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: #000;
  padding: 15px 30px;
}
#search-overlay #szukajg {
  margin:5% 0;
}
.block {
  position: fixed;
  top: 0;
  right: 0;
  bottom:0 ;
  left: 0;
  overflow: auto;
  text-align: center;
  background: rgba(241, 242, 39, 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: 90%;
  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;
}
/* ==========================================================================
   rekord
   ========================================================================== */

.pole_ins {
  background-color:#E3E3E3;
  margin:2% 0;
  padding:5% 0;
}
.rekord {
  font-weight:800;
}
.pole, .rekord {
  text-align:center;
  font-size:21px;
}
.rekord-single {
  list-style-type:none;
  text-align:center;
  margin:0;
  padding:0
}
.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;
}
.record-search #archiwumws {display:none;}

.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;
}
.iloscRekordow .inner div {
  background-color:#9f1717;
  font-size:21px;
  color:#fff;
  padding:15px 10px;
}
/* ==========================================================================
   zalaczniki
   ========================================================================== */
.zalaczniki ul {
  margin:0;
  padding:0;
  list-style-type:none;
}
.zalaczniki li {
  min-height:300px;
}
.zalaczniki-inside {
  padding:20px;
  background-color:#f1f227;
  color:#000;
  
}
.zalaczniki img {
  display:block;
}
/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color:#000;
  color:#f1f227;
}
footer a {
  color:#f1f227;
  text-decoration:underline;
}

#footer-opcje-dol {text-align:center;}

.footer-adres {
  width:50%;
  height:200px;
  margin: 0 auto;
  padding-top:5%;
}
ul.opcje {
  display:inline-block;
  margin:5% 0;
  padding:0;
}
.opcje li {
  padding:20px 25px;
  display:inline-block;
  list-style-type:none;
  margin:20px;
  background-color:#f1f227;
}
.opcje li a {
  color:#000;
}
.footer-img {
  max-height:200px;
  float:right;
}
.sociale {
  text-align:center; 
  padding: 5% 0;
  background-color:#f1f227;
  font-size: calc(36px + 6 * ((100vw - 320px) / 680));
}
.sociale a {
  color:#000
}
.sociale a:hover {
  color:#000 !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) {
  .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:25px;
  }
}
@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));}


/* ==========================================================================
   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 #F1F227;
  position: relative;
}
.timeline .wrapper:before {
  content: '';
  padding: 0;
  margin: 0;
  background-color: rgba(241, 242, 39, 1);
  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%, #000 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(232, 232, 232, 0) 0%, rgba(232, 232, 232, 0.65) 49%, #000 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(232, 232, 232, 0) 0%, rgba(232, 232, 232, 0.65) 49%, #000 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F1F227', endColorstr='#000',GradientType=0 );
  /* IE6-9 */
}
.timeline section {
  position: relative;
  border-bottom: 1px solid #F1F227;
}
.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: #F1F227;
  position: absolute;
  left: -1.2em;
  top: 50%;
  transform: translateY(-50%);
}
.timeline time:after {
  content: '';
  padding: 0;
  margin: 0;
  background-color: #F1F227;
  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 {
	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;
}