: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%);
}

/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Typography & Colors & Main element & Buttons
   ========================================================================== */

html {font-size: 100%;} /*18px*/

body {
  background: #F0F0F0;
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: #000000;
}

p {margin-bottom: 1rem;}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

h2 {font-size: 2.441rem;}
h2 u, h3 u {
  border-bottom: 10px solid #B71B1B;
  text-decoration: none;
  font-size: 2.441rem;
}
.content-txt h3 {
  border-top: 10px solid #B71B1B;
}

h3, .list-desc {font-size: 1.953rem;}

h4 {font-size: 1.563rem;}

h5 {font-size: 1.25rem;}

.news-list-item h3 {font-size: 1.25rem;}

small, .text_small {font-size: 0.8rem;}

#sciezka-naviUl li:last-child {display:none;}
#sciezka-naviUl li a {color:#000; text-decoration:none;}
.site-title-medium {font-weight:700;}


.single-statement a {
  color: #000;
  text-decoration:initial;
}
.single-statement a h5 {
  font-weight:700;
} 

a {
  color:#000;
  text-decoration:initial;
  transition: 0.3s;
}
a:hover {
  text-decoration:underline;
  color:#B71B1B;
}
.txt p {font-size:21px;}
.txt ul {font-size:21px;}


/* LISTY */
.content-txt li {
  list-style: disc;
  padding: 0.75rem 0;
}


/* PRZYCISKI */
.btn-red {
  background-color: #B71B1C;
  color:#fff;
  text-decoration:none;
}
.btn-red:hover {
  background-color: #671213;
  text-decoration:underline;
  color:#fff;
}

.btn-white {
  background-color: #fff;
  color:#B71B1;
  text-decoration:none;
}
.btn-white:hover {
  background-color: #000;
  text-decoration:underline;
  color:#fff;
}

blockquote {
  border: #B71B1C solid 2px;
  box-shadow: 15px 15px 0 0 #B71B1C;
  padding: 20px 30px 20px 30px;
}

ul, ol {
  margin-left:20px;
  list-style-position: inside;
}

ul ::marker, ol ::marker {
  color: #B71B1C;
}

button:focus { outline: orange auto 5px }
/* ==========================================================================
   Header
   ========================================================================== */
.menu {
    height: 150px;
        display: flex;
    justify-content: flex-end;
    align-items: center;
}
/* Menu */
.menu {
  font-size: calc(10px + 6 * ((100vw - 320px) / 680));
  font-weight: 700;
}
.menu a {
  padding:0 10px;
  color:#000;
  text-decoration:initial;
}
.menu a:hover {
 color: #B71B1C;
}
.menu li {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    line-height: 1.1em;
    
}
.sociale{
  white-space: nowrap;
}
/* End Menu */
.logo {
  background-color: #B71B1C;
  max-width:300px;
}
.logo img {
height:150px;
}

/* Every page header */
.gray-header {
  background-color: #E3E3E3;
  padding:25px 0;
}
.every-page-header {
  background-color: #E3E3E3;
  padding: 3rem;
}
.breadcrumbs {
  text-align:right;
  font-size:1em;
}
#sciezka-naviUl {margin:0 !important;}
#sciezka-naviUl ul {
  display:inline-block;
  margin:0 !important;
  padding:0;
}
#sciezka-naviUl li {
  display:inline-block;
  margin:0;
  padding:0;
  list-style-type:none;
  font-weight:400;
}
#sciezka-naviUl li:not(:last-child):after {
  content: " >";
}


.every-page-header .sociale a {
  font-size:calc(10px + 6 * ((100vw - 320px) / 680));
  padding-left: 15px;
}

/* end Every page header */


/* hero image */
.intro-header {
    width: 100%;
    background-image: url("https://centrala.ipn.gov.pl/dokumenty/szablonyimg/90-header2.jpg");
    background-size: cover;
  padding-top:9rem;
  padding-bottom:9rem;
}
.site-motto {
  font-size: 4.052rem;
  line-height:1em;
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
  text-align:center;
}
.hero-button {
  background-color: #B71B1B;
  padding:15px;
  color:#fff;
}

/* Mobile menu */


  
.topnav {
  overflow: hidden;
  background-color: #333;
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.icon {
  background: #333;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
        height: 100%;
    line-height: 100px;
    padding: 0 50px;
    margin: 0;
}

.topnav a:hover {
  background-color: #671213;
  color: #fff;
}

.active {
  background-color: #B71B1B;
  color: white;
}


#myLinks .sociale li a {
  color:#fff;
  font-size:2em;
}
#myLinks .sociale .openBtn {
  padding: 14px 16px;
  margin-left:0;
  font-size:2em;
  color:#fff;
}

@media (max-width: 768px) {
  .header {display:none !important;}
  .every-page-header {padding:1rem;}
  .header  {display:none;}
  .every-page-header .sociale {display:none !important;}
}
@media (min-width: 768px) {
  .topnav {display:none;}
}
/* ==========================================================================
   Front
   ========================================================================== */



.content-80 {
    max-width: 80%;
    margin: 0 auto;
}
.content-txt {
  max-width:800px;
  margin:0 auto;
}
.big-header {font-weight: 800;}
.big-header u {
    text-decoration: none;
    border-bottom: 10px solid #B71B1C;
}
.front-single-news {
    background-color: #E3E3E3;
    padding: 30px;
    flex: 1; 
}
.featured-img {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
.featured-img img {
    min-height: auto;
    width: 100%;
}
.featured-date {
    padding: 20px 0 10px 0;
    text-decoration: none;    
    border-bottom: 10px solid #B71B1C;
}
/* FRONT ANNIVERSARY */
.front-anni {
  background-color:#B71B1C;
  color:#fff;
}
.front-anni h2 {
  margin:0 0 1rem 0;
  padding:0;
}

@media screen and (max-width:769px) {
  .content-txt {
    padding:0 32px;
  }
}

/* FRONT PROMO */
.front-promo {
    background-image: url("../img/Component 1 – 1@2x.jpg");
    background-size: cover;
    background-position: center;
    height: 600px;
    width: 100%;
}
.promo-content {
    width: 60%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}
.promo-content h4 {
  font-size: calc(40px + 6 * ((100vw - 20px) / 680));
  margin:0;
  padding:0;
}
.promo-content span {
  display:block;
  font-size: calc(20px + 6 * ((100vw - 20px) / 680));
}


/* FRONT STATEMENT */
.single-statement {
    min-height: 250px;
    border-top: 10px solid #B71B1C;
}
.single-statement h5 {
    font-size: calc(20px + 6 * ((100vw - 120px) / 1680));
}

/* FRONT FROM HISTORY */

.left-img {
    background-image: url("../img/2-20439@2x.jpg");
    min-height: 700px;
    background-size: cover;
    background-position: center;
}
.right-txt {
    background-color: #333333;
    min-height: 700px;
    color: #fff;
    text-align: center;
}
.right-txt h5 {font-size: 3em;}

.front-history-promo a {
  text-decoration:none;
  color:#fff;
}
.front-history-promo a:hover {
  text-decoration:underline;
}
.front-history-promo a span {
  text-transform:uppercase;
}
.front-history-promo a p {
  font-size:21px;
}

/* FRONT Digital */
.digital-list {
    margin: 5% 0;
}
.digital-element {
    text-align:center;
    height:400px;
  background-color:#E3E3E3;
}
.digital-element h5 {
    font-size: calc(30px + 6 * ((100vw - 120px) / 680));
}

/* FOOTER */
footer {
    background-color: #333333;
}
/* ==========================================================================
   News page
   ========================================================================== */
.article-element {
    background-color: #E3E3E3;
    margin-bottom: 16px;
    height: 800px;
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.news-list-item {
    background-color: #E3E3E3;
    padding: 30px;
    flex: 1;
  min-height:300px;
  margin: 5% 0;
}
.news-header {
  font-weight:800;
  margin:0;
  padding:0;
}



/* SINGLE NEWS */


.txt h3 {
  margin-top:0;
  margin-bottom:0;
}
.txt h4 {
  color:#b71b1c;
  font-weight:400;
  margin:0;
  padding:0;
}

/* Załączniki */
.attachement-inside {
  background-color:#E3E3E3;
  font-weight:800;
}
.attachement-inside span {
  font-weight:400;
  display:block;
}
.attachement-inside i {
  display:block;
  font-size:2.5rem;
  padding-bottom:50px;
}

.page-footer {border-top: 10px solid #B71B1B;}
.drukuj ul li {
  display:inline-block;
}

/* bxslider */ 

.bx-wrapper {
  border:none;
  background:none;
}
.bx-wrapper img {min-width:100%; height:auto;}
.bx-wrapper .bx-controls-direction a {z-index:99;}
.bx-wrapper .bx-caption, .bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus  {background:#B71B1C;}


/* ==========================================================================
   For Media
   ========================================================================== */
.additional-menu li {
    display: inline-block;
    margin: 0;
    padding: 0 0 0 20px;
    list-style-type: none;
    font-weight: 700;
}
.additional-menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.additional-menu {
    font-size: 2em;
}
.fact {
    background-color: #E3E3E3;
}
.fact-icon {
  max-width: 30%;
  margin-bottom:1rem;
}
.fact p span {
  display:block;
  font-size: 2.441rem;
  line-height: 1.2em;
}
/* ==========================================================================
   About Institute page
   ========================================================================== */
.list-element {
    margin-bottom: 10%;
}
.right-list-img {
    margin-top: 10%;
}
.hightlight {
  width:100% !important;
}
.hightlight .right-list-img {
  margin-top:0;
}
.hightlight .person-img {
  float:right
}
.hightlight .title-role {
  height:auto;
}
.hightlight .title-role {
  margin:0;
  float:left;
}
.role {
  font-size: calc(15px + 6 * ((100vw - 120px) / 680));
}
.title-role {
  height:200px;
  margin: 10% 0 0 0;
}
.title-role h2 {
  margin:0;
  padding;0;
  font-size: calc(26px + 6 * ((100vw - 620px) / 680));
  font-weight: 900;
}

.red-section {
  background-color: #B71B1C; 
  color:#fff; 
  font-size:21px;
}
.red-section strong {color:#fff;}

@media (max-width: 768px) {
  .right-list-img {margin:0;}
}

/* ==========================================================================
   Quick Facts + Promo
   ========================================================================== */
.quick-facts-promo {
  background-color:#B71B1C;
  text-align:center;
  color:#fff;
}
.qucik-facts-promo a {
  color:#fff;
}
.quick-facts-promo h2 {
  margin:0;
  padding:0;
}
/* ==========================================================================
   Branches
   ========================================================================== */
.branch div i {
  display:block;
  color:#B71B1C;
  font-size:2em
}

/* ==========================================================================
   Linia czasu
   ========================================================================== */
.faq-topic {
  background-color: #E3E3E3;
  padding:50px;
  text-align:center;
}
/* ==========================================================================
   Linia czasu
   ========================================================================== */
section {
  padding: 2em 0;
}


/*
 * 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: 1.5em;
  }
  .timeline section:first-child time {
    top: 0.2em;
  }
}
/* ==========================================================================
   Galeria w tekście
   ========================================================================== */
.galeria_embed .zdjecia ul li figcaption {display:none;}

.zdjecia ul  {
  display: flex;
  flex-wrap: wrap;
}
.zdjecia ul li {
    flex: none;
    width: 33%;
  list-style:none;
  padding:20px;
}
.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:link:after {content:"";position:absolute;top:50%;left:50%;width:1%;height:1%;opacity:0;z-index:0;background:#000;transition-duration:0.5s;}
/* ==========================================================================
   Zajawka okładki/exhibitions i inne
   ========================================================================== */
.cover-item {
  background-color:#E3E3E3;
}
.third-imgwraper {
  height:400px;
  width:100%;
  background-size:cover;
  background-position:center;
}
.third-caption {
  background-color:#333333;
  text-align:center;
  padding:25px 0;
}
.third-caption h3 {
  color:#fff;
  margin:0;
  padding:0;
}
/* ==========================================================================
   search
   ========================================================================== */
.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.95); /* Black with a little bit see-through */
}

/* The content */
.overlay-content {
  position: relative;
  top: 46%;
  width: 80%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}

/* Close button */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
  color: white;
}

.overlay .closebtn:hover {
  color: #ccc;
}

/* Style the search field */
.overlay input[type=text] {
  padding: 15px;
  font-size: 17px;
  border: none;
  float: left;
  width: 80%;
  background: white;
}

.overlay input[type=text]:hover {
  background: #f1f1f1;
}

/* Style the submit button */
.overlay button {
  float: left;
  width: 20%;
  padding: 15px;
  background: #B71B1C ;
  font-size: 17px;
  border: none;
  cursor: pointer;
  color:#fff;
}

.overlay button:hover {
  background: #bbb;
}
.openBtn {
  	background: none;
	color: inherit;
	border: none;
	padding: 0;
	cursor: pointer;
	outline: inherit;
  margin-left:30px;
}
.openBtn i:hover {
  color: #B71B1C;
}

#szukaj-zaawansowana {display:none}
#wyszukiwarka_cms fieldset legend, #filtr_cms fieldset legend, #search .search-item legend {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

#wyszukiwarka_cms, #filtr_cms {
  background-color:#E3E3E3;
  padding:3rem;
  margin-top:3rem;
  margin-bottom:3rem;
}

#filtr_cms {
  text-align:center;
}
#filtr_cms .all {
  width: 100%;
display: block;
margin-bottom: 3rem;
}
#filtr_cms .left {
  width:33% !important;
  display: block;
float: left;
}
#filtr_cms .left:last-of-type {
  float:none;
}

#filtr_cms .submit input, #szukaj-zaawansowana-rozwin-button a, .submit input  {
  margin-top:3rem;
      background-color: #B71B1C ;
    color: #fff;
    text-decoration: none;
    border-color: #dbdbdb;
    border-width: 1px;
    cursor: pointer;
    justify-content: center;
    padding-bottom: calc(.5em - 1px);
    padding-left: 1em;
    padding-right: 1em;
    padding-top: calc(.5em - 1px);
    text-align: center;
    white-space: nowrap;
}

#wyszukiwarka_cms .form_input #szukaj {
  width:100%;
  padding: 1.25rem;
  margin-bottom:3rem;
}

#szukaj-zaawansowana-rozwin-button {text-align:center;}

.szukaj-button-checkbox-Off {
  display:none;
}
#wyszukiwarka_cms fieldset {
  text-align: center;
  width: 100%;
  display: block;
  margin: 1.25rem 0;
}
#szukajw1, #szukajw2, #szukajw3 {
  display: inline-block;
  margin-right: 20px;
}

#wynikiSearch ol {
  margin:0 !important;
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
}
#wynikiSearch ol li {
  width:49%;
  background-color:#E3E3E3;
  padding:3rem;
  margin: 1% 0;
}
#wynikiSearch ol li h3 {
  border-bottom: 10px solid #B71B1C;
}

@media screen and (max-width:769px) {
  #wynikiSearch ol li {
    width:100%:
  }
}
/* ==========================================================================
   Pagination
   ========================================================================== */
#meni_strony { position:relative; display:table; overflow:hidden; font-size:1em; padding:0; margin:1em auto; min-height:25px; text-align:center; }
#meni_strony ul { padding:0; margin:0; text-align:left; list-style-type:none; list-style-image:none; width:auto; }
#meni_strony ul li { position:relative; margin:0 0.5em 0.2em 0; border:0; padding:0; float:left; display:block; display:inline; overflow:hidden; list-style:none; }
#meni_strony ul li.noActive { background:#F0F0F0; color:#000; text-transform:lowercase; border:1px solid #F0F0F0; padding:1em; }
#meni_strony ul li.selectbox { white-space:nowrap; padding:0; }
#meni_strony ul li.selectbox .forms  select { width:auto; padding:0.75em 2em 0.75em 0.5em; }
#meni_strony ul li.selectbox .iloscStron { position:relative; display:inline; padding:0.5em; font-weight:bold;}
#meni_strony a,#meni_strony a:visited { display:block; background:#ededed; border:1px solid #ededed; height:auto !important; height:1%;  color:#000000;  line-height:1em; padding:1em; font-size:1em; text-decoration:none; font-weight:normal; text-transform:lowercase; overflow:hidden;
    -webkit-transition: all 0.4s ease-in;-moz-transition: all 0.4s ease-in;-o-transition: all 0.4s ease-in;transition: all 0.4s ease-in; }
#meni_strony a:hover,#meni_strony a:active,#meni_strony a:focus,#meni_strony a.check {background:#b71b1b; color:#ffffff; text-decoration:none; transition: all 0.2s ease-in;}
#meni_strony span { position:absolute; top:-100em; left:-100em; width:1px; height:1px; text-indent:-1000em; }
.numeracja #meni_strony { background:#f6f7f9; padding:1em; margin:0 0 2em 0;}
.numeracja #meni_strony ul li { margin:0; display:inline-block;}
.numeracja #meni_strony a:link,.numeracja #meni_strony a:visited { background:#ffffff; border:0; color:#000000; padding:0.3em 0.38em; font-size:0.9em; text-decoration:underline; font-weight:normal; overflow:hidden;  }
.numeracja #meni_strony a:hover,.numeracja #meni_strony a:active,.numeracja #meni_strony a:focus,.numeracja #meni_strony a.check {color:#fdb813; text-decoration:none; transition: all 0.2s ease-in;}

/* ==========================================================================
   Footer
   ========================================================================== */
footer, footer a {color:#fff;}
.footer-menu {font-weight:800;}
.footer-menu .footer-submenu li {font-weight:400 !important;}
.footer-menu .footer-submenu li a {text-decoration:none;}
.footer-submenu .column, .footer-submenu {
  margin:0;
  padding:0;
}

.footer-section {border-bottom: 10px solid #B71B1B;}

.newsletter-panel {
  background-color:#222;
  width:100%;
}
.opcje li {
  display:inline-block;
  margin-right:15px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.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, .hide {
  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: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !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;
  }
}


/* WCAG */

.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;
}

/* Newsletter box */
.newsletter-info-box {
  background-color:#B71B1B;
  color:#fff;
  padding:50px 15%;
}
.nib-container {
  display:flex;
  justify-content:center;
  align-items;center;
}
.half {
  width:50%;
  text-align:center;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
}
.half h3 {
  font-size:2em;
  margin:0;
  padding:0;
  font-weight:800;
  color:#fff;
}
.half p {
  font-size:21px;
  line-height:1em;
}
.newsletter-white-button {
  padding:30px 45px;
  background-color:#fff;
  font-weight:800;
  font-size:21px;
  color:#B71B1B !important; 
  text-decoration:none;
}
.newsletter-white-button:hover {
  text-decoration:underline;
}
.newsletter-white-button:hover {
  color:orange;
}


/* 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); }

/*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; }
	

/*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; }

