@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&family=Raleway:ital,wght@0,200;0,300;0,400;1,200&display=swap");

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font: 14px "Montserrat", sans-serif;
  font-weight: 400;
  background-color: white;
}

:root {
  --header-height: 100px;
  --sub-header-height: 70px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 900;
  display: none;
}

.site-wrapper {
  display: grid;
  width: 100vw;
  height: 100vh;
  background-color: #f7f7f7;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header"
    "main"
    "footer";
}

text {
  font-size: 10px;
  fill: black;
  text-anchor: left;
}

/* GIF ładujący stronę */
#loader {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.spinner {
  border: 14px solid #f3f3f3;
  border-top: 14px solid #aac811;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Back to TOP */
#backToTop {
  position: fixed;
  bottom: 115px;
  right: 60px;
  display: none;
  background-color: #aac811;
  opacity: 0.7;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 9999;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#backToTop:hover {
  display: block !important;
  background-color: #99b40f;
  transform: scale(1.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}

#backToTop:hover svg .cls-2 {
  fill: #99b40f;
}

#backToTop:hover svg .cls-1 {
  fill: #000000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nawigacja manualna */
#page-nav {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  gap: 2rem;
  z-index: 1002;
}

#page-nav a {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#page-nav a:hover {
  opacity: 1;
  transform: scale(1.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

#page-nav a.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.nav-arrow {
  width: 100%;
  height: 100%;
}

#prev-page .cls-1,
#next-page .cls-1 {
  fill: #aac811;
}

/* Tabelka dla wykresu 20 */
.category-table-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.category-table {
  border-collapse: collapse;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-align: right;
  height: 100%;
  border: none !important;
  background-color: transparent;
  table-layout: fixed;
}

.category-table tr {
  height: calc(100% / 6);
}

.category-table td {
  /* height: calc(100% / 6); */
  vertical-align: middle;
  border: none !important;
  background-color: transparent;
}

.category-icon {
  width: 100%;
  height: 65px;
  display: block;
  margin: 0 auto;
  pointer-events: auto;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1002;
  background: #ffffff;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  box-sizing: border-box;
  height: var(--header-height);
  border-bottom: 1px solid #cccccc;
  flex-shrink: 0;
  grid-area: header;
}

.header-left {
  display: flex;
  align-items: left;
  margin-right: auto;
  flex-grow: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  text-decoration: none;
  font: 18px "Montserrat", sans-serif;
  font-weight: 400;
  color: #ffffff;
}

.header-right a {
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  align-items: center;
  text-decoration: none;
  font: 18px "Montserrat", sans-serif;
  font-weight: 400;
  color: #000000;
  padding: 10px 15px;
  gap: 30px;
}

.header-right .eng-text {
  display: block;
  font-size: 0.9em;
  color: #808080;
  font-weight: 400;
}

.header-right a:not(:has(svg)):not(:has(object))::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e6e6e6;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 2.25rem;
}

.header-right a:not(:has(svg)):not(:has(object)):hover::before {
  opacity: 1;
}

.header-right a:not(:has(svg)):hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  font-weight: 400;
}

/* przycisk domyślnie ukryte */
#changeColorBtn1 {
  display: none;
}

.sub-header {
  width: 100%;
  height: var(--sub-header-height);
  position: fixed;
  top: var(--header-height);
  left: 0;
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000000;
  background-color: #f7f7f7;
  padding: 10px 20px;
  font: 20px "Montserrat", sans-serif;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.5s ease;
  flex-shrink: 0;
}

.sub-header-left,
.sub-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sub-header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px !important;
}

#hamburger,
.hamburger2,
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1003;
  color: #676c6e;
}

#hamburger:hover,
.hamburger2:hover,
.footer-toggle:hover {
  color: #aac811;
  transform: scale(1.2);
}

.footer-toggle {
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1003;
  color: #676c6e;
  margin-bottom: 20px;
}

.home svg {
  width: 45px;
  height: 35px;
  transition: transform 0.3s ease;
}

.home svg path {
  fill: #676c6e;
  transition: fill 0.3s ease;
}

.home:hover svg {
  transform: scale(1.2);
}

.home:hover path {
  fill: #aac811;
}

#index.html,
#page2.html,
#page3.html,
#page4.html,
#page5.html,
#page6.html,
#page7.html,
#page8.html,
#page9.html,
#page10.html,
#page11.html,
#page12.html,
#page13.html,
#page14.html,
#page15.html,
#page16.html,
#page17.html,
#page18.html,
#page19.html,
#page20.html,
#page21.html,
#page22.html,
#page23.html,
#page24.html {
  padding: 15px;
  font-weight: 600;
  flex-grow: 1;
  text-align: center;
  font-size: 24px;
}

#printBtn {
  top: 120px;
  background-color: transparent;
  color: black;
  padding: 10px 15px;
  font: 14px "Montserrat", sans-serif;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2.25rem;
  border: none;
}

#printBtn:hover,
#printBtn:hover .eng-text {
  transform: scale(1.05);
  background-color: #001e78;
  border-radius: 2.25rem;
  border: none;
  color: white;
  font-weight: 500;
}

.print-only {
  display: none;
}

#downloadExcelBtn {
  top: 120px;
  background-color: transparent;
  color: black;
  padding: 10px 15px;
  font: 14px "Montserrat", sans-serif;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2.25rem;
  margin-right: 50px;
  border: none;
}

#downloadExcelBtn:hover,
#downloadExcelBtn:hover .eng-text {
  transform: scale(1.05);
  background-color: #aac811;
  border-radius: 2.25rem;
  border: none;
  color: white;
  font-weight: 500;
}

.container {
  display: grid;
  grid-template-columns: 0 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "sidebar main";
  align-items: stretch;
  background-color: #f7f7f7;
  width: 100%;
  height: auto;
  margin-top: calc(var(--header-height) + var(--sub-header-height) + 20px);
  gap: 20px;
  transition: grid-template-columns 0.3s ease;
  /* overflow-y: auto; */
}

.container.sidebar-collapsed {
  grid-template-columns: 0 1fr;
}

.container.sidebar-expanded {
  grid-template-columns: 23% 1fr;
}

.sidebar {
  grid-area: sidebar;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(0);
  transition: transform 0.5s ease;
  z-index: 1000;
  background-color: #ffffff;
}

.sidebar.active+.overlay,
.sidebar.expanded+.overlay {
  display: block;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

.sidebar-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateX(0);
}

.sidebar.collapsed .sidebar-content {
  opacity: 0;
  transform: translateX(-30px);
  pointer-events: none;
}

.sidebar,
.sidebar button {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.container:hover,
.sidebar:hover {
  scrollbar-width: thin;
}

/* dla przeglądarek: Chrome, Safari i Opera */
.sidebar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  transition: width 0.3s, height 0.3s;
}

.sidebar::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.sidebar:hover::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.sidebar:not(.collapsed):hover::-webkit-scrollbar {
  width: 8px;
}

.sidebar ul {
  list-style: none;
  padding-left: 10px;
}

.sidebar li {
  width: 100%;
  border-bottom: 1px solid #cccccc;
  padding: 0;
}

.sidebar ul li:first-of-type {
  border-top: none;
  margin-top: 0;
}

.sidebar ul li:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.sidebar ul li::before {
  display: none;
}

.sidebar .button button {
  display: block;
  text-align: left;
  padding: 10px;
  border: none;
  background: none;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar .button button .pl {
  font-weight: 550;
  color: #000;
  transition: color 0.2s ease;
}

.sidebar .button button .en {
  color: #4d4d4d;
  font-size: 0.9em;
  transition: color 0.2s ease;
}

.sidebar button:hover,
.sidebar button.active {
  background-color: #999999;
  transform: scale(1.02);
}

.sidebar button:hover .pl,
.sidebar button:hover .en,
.sidebar button.active .pl,
.sidebar button.active .en {
  color: #ffffff;
}

@media print {

  .container,
  .main-content,
  .grid-container {
    position: static !important;
    overflow: visible !important;
    display: block !important;
    width: 100% !important;
  }

  .modal-logo {
    display: block !important;
    max-height: 60px;
    margin-bottom: 20px;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  header> :not(.sub-header),
  #printBtn,
  #downloadExcelBtn,
  #hamburger,
  .home,
  .sidebar,
  .no-print-footer,
  .no-print {
    display: none !important;
  }

  .chart-container {
    page-break-before: auto;
    break-before: auto;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-top: 100px;
    margin-bottom: 20px;
  }

  h3,
  h4 {
    text-align: left;
    padding-left: 10px;
    background-color: #ffffff;
    color: #000000;
  }

  h3 {
    margin: 10px 0;
  }

  h4 {
    font-size: 14px;
  }

  p,
  ul,
  li {
    font-size: 14px;
    color: #4d4d4d;
    text-align: left;
  }

  .c3-chart-arcs-title {
    font-size: 15px !important;
    font-weight: 500;
  }
}

.eng-text {
  color: #4d4d4d;
  font-weight: 400;
}

.eng-text {
  fill: #4d4d4d;
  font-weight: 400;
}

.eng-text8,
.eng-text13,
.eng-text19 {
  fill: #4d4d4d;
  font-weight: 400;
}

#chart4 .eng-text {
  font-size: 0.9em;
  fill: #4d4d4d;
  writing-mode: horizontal-tb;
}

#chart15 .eng-text {
  fill: #4d4d4d;
  font-weight: 500;
}

.eng-text20 {
  color: #ffffff;
  font-weight: 450;
}

#cover-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #cad5da;
  color: #676c6e;
  font-size: 2vh;
  font-family: "Montserrat", sans-serif;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  transition: opacity 0.5s ease-in-out;
}

#cover-page a {
  position: absolute;
  top: 20px;
  right: 20px;
  display: block;
}

#cover-page svg {
  width: 160px;
  height: auto;
}

.top-right-logo {
  position: absolute;
  top: 40px;
  right: 60px;
  height: 6%;
  width: auto;
  z-index: 2100;
}

.year-label {
  position: absolute;
  top: 70px;
  right: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 3em;
  font-weight: bold;
  color: #000;
  z-index: 2100;
}

#cover-page h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  padding: 0.2em 1.5em;
  color: #333;
}

#cover-page button {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  padding: 0.2em 1.2em;
  background-color: #bed000;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#cover-page button:hover {
  background-color: #676c6e;
  font-weight: 550;
  color: white;
}

#cover-page button:hover .eng-text {
  color: #cccccc;
  font-weight: 600;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.main-content {
  grid-area: main;
  overflow: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

h4 {
  margin-bottom: 5px;
  text-align: left;
}

.grid-container-base {
  display: grid;
  grid-template-areas: "chart1 map1";
  grid-template-columns: 1fr 1fr;
  align-items: start;
  justify-content: center;
  justify-items: center;
  align-content: start;
  gap: 50px;
  z-index: 998;
  width: 100%;
  max-width: 2000px;
  height: 100%;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.grid-containerPage2 {
  grid-template-areas: "chart2 chart3";
}

.grid-containerPage3 {
  grid-template-areas: "chart4 table1";
}

.grid-containerPage4 {
  grid-template-areas: "table2";
  grid-template-columns: 1fr;
}

.grid-containerPage5 {
  grid-template-areas: "table3 chart5";
}

.grid-containerPage6 {
  grid-template-areas: "chart6 chart7";
}

.grid-containerPage7 {
  grid-template-areas: "chart8 chart9";
}

.grid-containerPage8 {
  grid-template-areas: "chart10 chart11";
}

.grid-containerPage9 {
  grid-template-areas: "table4 map2";
}

.grid-containerPage10 {
  grid-template-areas: "table5 map3";
}

.grid-containerPage11 {
  grid-template-areas: "chart12 map4";
}

.grid-containerPage12 {
  grid-template-areas: "chart13 chart14 chart15";
}

.grid-containerPage13 {
  grid-template-areas: "chart16 map5";
}

.grid-containerPage14 {
  grid-template-areas: "table6 chart17";
}

.grid-containerPage15 {
  grid-template-areas: "chart18 chart19";
}

.grid-containerPage16 {
  grid-template-areas: "chart20 map6";
}

.grid-containerPage17 {
  grid-template-areas: "chart21 chart22 chart23";
}

.grid-containerPage18 {
  grid-template-areas: "chart24 chart25";
}

.grid-containerPage19 {
  grid-template-areas: "chart26 chart27 chart28";
}

.grid-containerPage20 {
  grid-template-areas: "chart29 chart30 chart31";
}

.grid-containerPage21 {
  grid-template-areas: "table7";
  grid-template-columns: 1fr;
}

.grid-containerPage22 {
  grid-template-areas: "chart32 chart33";
}

.grid-containerPage23 {
  grid-template-areas: "chart34 map7";
}

.grid-containerPage24 {
  grid-template-areas: "chart35 chart36";
}

[id^="chart"][id$="-container"] {
  position: relative;
  width: 100%;
  max-width: 100%;
  grid-area: chart1;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.4s ease, font-size 0.4s ease;
  transform-origin: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 30px;
}

[id$="-container"] {
  grid-area: var(--grid-area);
  width: 100%;
  max-width: 100%;
  height: auto;
}

[id^="chart"] {
  width: 100%;
  height: auto;
}

.grid-container::-webkit-scrollbar {
  display: none;
  width: 8px;
  height: 8px;
  transition: width 0.3s, height 0.3s;
}

.grid-container::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.grid-container:hover {
  scrollbar-width: thin;
}

.grid-container:hover::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* MAPY */
[class^="map"][class$="-container"] {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  margin: 0 auto;
}

[class^="map"][class$="-figure"] {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

[class^="map"][class$="-figure"] object,
[class^="map"][class$="-figure"] iframe,
[class^="map"][class$="-figure"] svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map1-figure {
  grid-area: map1;
  min-height: 400px;
}

.map2-figure {
  grid-area: map2;
  min-height: 400px;
}

.map3-figure {
  grid-area: map3;
  min-height: 400px;
}

.map4-figure {
  grid-area: map4;
  min-height: 400px;
}

.map5-figure {
  grid-area: map5;
  min-height: 400px;
}

.map6-figure {
  grid-area: map6;
  min-height: 400px;
}

.map7-figure {
  grid-area: map7;
  min-height: 400px;
}

[class^="map"][class$="-figure__caption"] {
  text-align: left;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 14px;
}

[id^="map"][id$="-object"] {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

strong {
  color: #676c6e;
}

.svg-wrapper {
  width: 100% !important;
}

/* STOPKA */
footer {
  flex-shrink: 0;
  width: 100vw;
  box-sizing: border-box;
  background: #ffffff;
  z-index: 1001;
  font: 14px "Montserrat", sans-serif;
  text-align: center;
  padding-left: 10px;
  border-top: 1px solid #cccccc;
  grid-area: footer;
}

.no-print-footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.socialMedia {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-bottom,
.license {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

.footer-content-collapsible {
  display: block;
}

.tableLogoFooter {
  content: url("logo/logo_GUS_pion_kolor.svg");
  width: auto;
  height: 70px;
  display: block;
}

footer .license {
  justify-content: flex-end !important;
}

footer .no-print-footer svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  fill: #808080;
}

footer .socialMedia svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  fill: #808080;
}

footer .license svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  fill: #808080;
}

footer a {
  color: #000000;
  font: 14px "Montserrat", sans-serif;
  text-decoration: none;
  font-weight: 400;
}

footer a:hover {
  text-decoration: underline;
  color: #000000;
}

footer a:active {
  color: #676c6e;
}

/* POPUPs */
.modal {
  display: none;
  position: fixed;
  z-index: 1003;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 80vw;
  width: 60%;
  max-height: 60vh;
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0px 0px 10px #000;
  text-align: left;
  font: 18px "Montserrat", sans-serif;
}

.modal-content:hover {
  scrollbar-width: thin;
}

.modal-content h2 {
  text-align: center;
  font-weight: 400;
  font: 28px "Montserrat", sans-serif;
}

.modal-text {
  width: 80%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.modal-content table {
  border: none;
  border-collapse: collapse;
}

.modal-content table td,
.modal-content table th {
  border: none;
  line-height: 1.2;
  padding: 5px;
}

.modal-content table tr:hover {
  background-color: transparent !important;
  font-weight: normal !important;
  color: inherit !important;
}

.modal-content p {
  max-width: 80%;
  line-height: 1.5;
  text-align: left;
}

.modal-content span,
.modal-content p {
  max-width: 80%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-bottom: 1em;
}

ul {
  list-style: none;
  padding-left: 1em;
}

ul:not(ul ul)>li {
  position: relative;
  padding-left: 1em;
}

ul:not(ul ul)>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.3em;
  height: 0.3em;
  background-color: black;
  border-radius: 50%;
}

ul ul li {
  position: relative;
  padding-left: 1.2em;
}

ul ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1em;
  line-height: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 1% auto;
  padding-bottom: 1em;
  border-bottom: 1px solid #cccccc;
}

.modal-logo {
  content: url("Logo/logo_GUS_pełne_color.svg");
  width: 200px;
  height: auto;
  display: block;
}

.tableLogo {
  content: url("Logo/logo_GUS_pion_kolor.svg");
  width: auto;
  height: 80px;
  display: block;
}

.modal-header>* {
  margin: 0 0.5em;
}

.modal-header .close {
  cursor: pointer;
  font-size: 2em;
  line-height: 1;
}

.modal #lang-switcher {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  padding: 10px 30px 10px 10px;
  border: 1px solid #b3b3b3;
  border-radius: 6px;
  background-color: #ffffff;
  color: #000000;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 24px 24px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

p+ul {
  margin-top: 0.1em;
}

.close {
  color: #f0ab04;
  top: 5px;
  right: 10px;
  font-size: 42px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  display: inline-block;
  padding: 5px 10px;
}

.close:hover {
  color: #676c6e;
  font-weight: 600;
  transform: scale(1.2);
}

#printExplanationsPl,
#printExplanationsEn,
#printPrivacyPl,
#printPrivacyEn,
#printAboutPl,
#printAboutEn,
#printAccessPl,
#printAccessEn,
#printRodoPl,
#printRodoEn {
  position: relative;
  padding: 10px;
  bottom: 10px;
  background-color: #676c6e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  font: 14px "Montserrat", sans-serif;
}

#printExplanationsPl:hover,
#printExplanationsEn:hover,
#printPrivacyPl:hover,
#printPrivacyEn:hover,
#printAboutPl:hover,
#printAboutEn:hover,
#printAccessPl:hover,
#printAccessEn:hover,
#printRodoPl:hover,
#printRodoEn:hover {
  font-weight: 600;
  transform: scale(1.1);
  transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

.hamburger2,
.footer-toggle {
  display: none;
}

.footer-content-collapsible {
  display: block;
}

/* Responsywność */
@media (max-width: 64em) {
  .grid-container-base {
    grid-template-areas:
      "chart1"
      "map1";
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .chart-container {
    max-width: none !important;
    width: 100% !important;
    transform: none !important;
    /* transform: scale(0.8);
    width: 100% !important;
    max-width: 100% !important; */
    height: auto !important;
    display: block;
    padding: 0 !important;
  }

  [id^="chart"] svg {
    width: 100% !important;
    height: auto !important;
  }

  [id^="chart"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  [id^="chart"][id$="-container"] {
    max-width: none !important;
    width: 100% !important;
    transform: none !important;
    padding: 0 !important;
  }

  [class^="map"][class$="-container"] {
    padding-bottom: 100%;
  }

  [class^="map"][class$="-figure"] {
    min-height: 300px;
  }

  #legend {
    transform: scale(1) !important;
  }

  #legend text.legend-label,
  #legend tspan {
    font: 12px "Montserrat", sans-serif !important;
  }

  .header-right {
    display: none;
    position: absolute;
    top: 180px;
    right: 0;
    background: white;
    opacity: 0.9;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .header-right.active {
    display: flex;
  }

  .hamburger2 {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .footer-toggle {
    display: block;
    width: 100%;
    font-size: 1.5rem;
    background-color: none;
    border: none;
    cursor: pointer;
    color: #676c6e;
    margin-bottom: 10px;
    z-index: 1003;
  }

  .footer-toggle:hover {
    color: #aac811;
    transform: scale(1.2);
  }

  .footer-content-collapsible {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 10px 20px;
  }

  .footer-content-collapsible.active {
    display: flex !important;
  }

  .no-print-footer,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .license {
    justify-content: flex-start;
    text-align: left;
  }

  .license a {
    flex: 1 1 100%;
  }

  .socialMedia {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }

  .container {
    grid-template-columns: 0 1fr;
    grid-template-areas: "sidebar main";
    flex-direction: column;
  }

  .sidebar {
    display: block !important;
    transform: translateX(0) !important;
    position: relative;
  }

  .container.sidebar-expanded {
    grid-template-columns: 60% 1fr;
  }

  .container.sidebar-collapsed {
    transform: translateX(-100%);
  }

  .overlay {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
    order: 1;
  }

  #cover-page h1 {
    font-size: 2rem;
  }

  #cover-page button {
    font-size: 1rem;
  }

  #table2-container table th:first-child,
  #table2-container table td:first-child,
  #table7-container table th:first-child,
  #table7-container table td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #e0e0e0;
  }

  .scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .scroll-wrapper table {
    width: auto;
    min-width: 100%;
  }

  .scroll-wrapper th:nth-child(n + 5),
  .scroll-wrapper td:nth-child(n + 5) {
    display: table-cell;
  }

  .scroll-wrapper th:first-child,
  .scroll-wrapper td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
  }

  .scroll-wrapper thead th:first-child {
    z-index: 3;
  }

  .scroll-wrapper::-webkit-scrollbar {
    height: 8px;
  }

  .scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  .grid-containerPage2 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart2", "chart3";
  }

  .grid-containerPage3 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart4", "table1";
  }

  .grid-containerPage4 {
    grid-template-areas: "table2" !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .grid-containerPage5 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "table3", "chart5";
  }

  .grid-containerPage6 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart6", "chart7";
  }

  .grid-containerPage7 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart8", "chart9";
  }

  .grid-containerPage8 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart10", "chart11";
  }

  .grid-containerPage9 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "table4", "map2";
  }

  .grid-containerPage10 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "table5", "map3";
  }

  .grid-containerPage11 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart12", "map4";
  }

  .grid-containerPage12 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart13", "chart14", "chart15";
  }

  .grid-containerPage13 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart16", "map5";
  }

  .grid-containerPage14 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "table6", "chart17";
  }

  .grid-containerPage15 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart18", "chart19";
  }

  .grid-containerPage16 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart20", "map6";
  }

  .grid-containerPage17 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart21", "chart22", "chart23";
  }

  .grid-containerPage18 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart24", "chart25";
  }

  .grid-containerPage19 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart26", "chart27", "chart28";
  }

  .grid-containerPage20 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart29", "chart30", "chart31";
  }

  .grid-containerPage21 {
    grid-template-areas: "table7" !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .grid-containerPage22 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart32", "chart33";
  }

  .grid-containerPage23 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart34", "map7";
  }

  .grid-containerPage24 {
    grid-template-columns: 1fr !important;
    width: 100%;
    grid-template-areas: "chart35", "chart36";
  }
}

.hidden {
  display: none !important;
}

/* TABLICE */
.scroll-wrapper {
  min-width: 100%;
  position: relative;
  overflow-x: auto;
}

.scroll-wrapper table {
  width: auto;
  min-width: 100%;
  border-collapse: collapse;
}

.scroll-wrapper th:first-child,
.scroll-wrapper td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}

.scroll-wrapper thead th:first-child {
  background-color: #e0e0e0 !important;
  z-index: 15;
  position: sticky;
  left: 0;
}

.scroll-wrapper::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.scroll-wrapper::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.05);
}

#table2-container .scroll-wrapper thead th:first-child,
#table7-container .scroll-wrapper thead th:first-child {
  background-color: #e0e0e0 !important;
  z-index: 15;
  position: sticky;
  left: 0;
}

.table-container {
  text-align: center;
  width: 100%;
  max-width: 650px;
  box-sizing: border-box;
  margin-left: 0;
  display: block;
  background-color: none;
}

.table-container table {
  width: 100%;
  text-align: left;
}

table {
  max-width: 100%;
  font: 14px "Montserrat", sans-serif;
  border-collapse: collapse;
  margin: 0 auto;
}

#table2-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: auto;
  box-sizing: border-box;
  grid-area: "table2";
  -webkit-overflow-scrolling: touch;
}

#table7-container {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  grid-area: "table7";
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

#table2-container table tbody tr:nth-child(odd),
#table7-container table tbody tr:nth-child(odd) {
  background-color: #e6e6e6;
}

#table2-container table tbody tr:nth-child(even),
#table7-container table tbody tr:nth-child(even) {
  background-color: #ffffff;
}

#table2-container table tbody tr:hover,
#table7-container table tbody tr:hover {
  background-color: #e6e6e6;
}

#table2-container table tbody tr:first-child,
#table7-container table tbody tr:first-child {
  font-weight: bold;
  background-color: #e6e6e6;
}

#table2-container table thead th,
#table7-container table thead th {
  background-color: #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 10;
}

#table2-container table tbody td:first-child,
#table7-container table tbody td:first-child {
  background-color: #ffffff;
  position: sticky;
  left: 0;
  z-index: 5;
}

#table2-container table tbody tr:nth-child(odd) td:first-child,
#table7-container table tbody tr:nth-child(odd) td:first-child {
  background-color: #e6e6e6;
}

/* zebra nieparzystych wierszy*/
tbody tr:nth-child(odd):not(:last-child) {
  background-color: #e0e0e0;
}

tbody tr:nth-child(odd):not(:last-child):hover {
  background-color: #e0e0e0;
  color: black;
}

.table-container table tbody tr:hover td:last-child {
  color: black;
  font-weight: bold;
}

tbody tr:last-child:hover {
  background-color: transparent;
  color: inherit;
}

caption {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: left;
  color: black;
}

.highlight‑row {
  color: #aac811;
  font-weight: bold;
}

.table-container table tbody tr:not(:last-child):hover {
  background-color: #e6e6e6;
  font-weight: bold;
}

.table-container th {
  padding: 8px;
  border: 1.5px solid #ccc;
  text-align: center;
}

.table-container td {
  padding: 8px;
  border: 1.5px solid #ccc;
}

.table-container th,
.table-container tr {
  background-color: transparent;
  text-align: center;
}

.table-container th:first-child,
.table-container td:first-child {
  width: auto;
  min-width: 150px;
  border-left: none;
  border-right: none;
  white-space: normal;
}

.table-container td:first-child {
  text-align: left;
}

.table-container th:nth-child(2) {
  text-align: center;
  padding: 10px;
}

.table-container td:nth-child(2) {
  text-align: right;
  border-right: none;
}

.table-container th:last-child {
  border-right: none;
  text-align: center;
  border-left: 1.5px solid #ffffff;
}

.table-container th.left-border {
  border-left: 1.5px solid #fff;
}

.table-container td:last-child {
  border-right: none;
  text-align: right;
}

.table-container td.indent {
  text-indent: 25px;
}

.table-container td.indent-2 {
  text-indent: 50px;
}

.table-container td.indent-3 {
  text-indent: 75px;
}

table td {
  text-align: right;
}

.table-container sup {
  font-size: 0.8em;
  vertical-align: super;
}

.table-footnote {
  font-size: 14px;
  padding-left: 10px;
  text-align: left;
  width: 650px;
  margin-top: 10px;
  color: black;
}

.table2-footnote,
.table7-footnote {
  font-size: 12px;
  padding-left: 10px;
  text-align: left;
  width: 100%;
  max-width: 1800px;
  margin-top: 10px;
  color: black;
}

/* OBRAZKI SVG */
#babka-object,
#facet-object,
#dziewczynka-object,
#chlopczyk-object,
#dziewczyna-object,
#chlopak-object,
#babcia-object,
#dziadek-object,
#dom-object,
#klos-object,
#ziemniaki-object,
#burak-object,
#jablko-object,
#pig-object,
#bydlo-object {
  position: absolute;
  z-index: 1000;
  pointer-events: auto;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
  transform-origin: center bottom;
  width: auto;
  bottom: 90px;
}

#babka-object:hover,
#facet-object:hover,
#dziewczynka-object:hover,
#chlopczyk-object:hover,
#dziewczyna-object:hover,
#chlopak-object:hover,
#babcia-object:hover,
#dziadek-object:hover,
#dom-object:hover,
#klos-object:hover,
#ziemniaki-object:hover,
#burak-object:hover,
#jablko-object:hover,
#pig-object:hover,
#bydlo-object:hover {
  transform: translateX(-50%) scale(1.1);
  transform-origin: center bottom;
  transition: transform 0.3s ease;
}

#babka-object {
  left: 58%;
  height: 190px;
}

#facet-object {
  left: 67%;
  height: 200px;
}

#dziewczynka-object {
  left: 8%;
  height: 95px;
}

#chlopczyk-object {
  left: 16%;
  height: 95px;
}

#dziewczyna-object {
  left: 33%;
  height: 160px;
}

#chlopak-object {
  left: 42%;
  height: 170px;
}

#babcia-object {
  left: 81%;
  height: 150px;
}

#dziadek-object {
  left: 92%;
  height: 160px;
}

#table1-container table,
#table1-container th,
#table1-container td,
#table3-container table,
#table3-container th,
#table3-container td,
#table4-container table,
#table4-container th,
#table4-container td,
#table5-container table,
#table5-container th,
#table5-container td,
#table6-container table,
#table6-container th,
#table6-container td {
  border: none !important;
  background-color: transparent;
  border-collapse: collapse;
}

thead svg {
  stroke: #4d4d4d;
  fill: white;
}

.tableSVG td {
  text-align: center !important;
  background-color: transparent !important;
}

.svg-cell {
  text-align: center;
  padding: 0;
  vertical-align: bottom;
}

/* WYKRESY RADAROWE */
.stroke-UE {
  stroke: #001e78;
  /* UE */
  stroke-width: 3px;
}

.stroke-KrajeUE {
  stroke: #aac811;
  /* Kraje UE */
  stroke-width: 3px;
}

.legend-marker {
  stroke-width: 3;
}

.legend-marker.UE {
  stroke: #001e78;
}

.legend-marker.KrajeUE {
  stroke: #aac811;
}

.legend8Text,
.legend13Text,
.legend19Text {
  font: 14px "Montserrat", sans-serif;
  fill: #000;
  cursor: pointer;
  transition: fill 0.3s;
}

.legend8:hover .legend8Text,
.legend13:hover .legend13Text,
.legend19:hover .legend19Text {
  fill: #999999;
}

.legend8 .hidden,
.legend13 .hidden,
.legend19 .hidden {
  opacity: 0.3;
}

.labelGroupBox {
  fill: #ffffff;
  opacity: 0.75;
}

.gridCircle {
  fill: none;
  stroke: #b3b3b3;
  fill-opacity: 0.1;
}

.chart8Circle,
.chart13Circle,
.chart19Circle {
  fill-opacity: 0.8;
  opacity: 0;
}

.series-KrajeUE {
  fill: transparent;
  stroke: #aac811;
  stroke-width: 2px;
}

.series-UE {
  fill: #001e78;
}

.axisLine {
  stroke: #b3b3b3;
  stroke-width: 1px;
}

.axisLinePL {
  stroke: #808080;
  stroke-width: 1.5px;
}

.axisLabel {
  font-size: 14px;
  fill: #000;
}

.tooltip8,
.tooltip13,
.tooltip19 {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 12px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  color: #000;
}

.tooltip8 .tooltip-row,
.tooltip13 .tooltip-row,
.tooltip19 .tooltip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.tooltip8 .tooltip-row:last-child,
.tooltip13 .tooltip-row:last-child,
.tooltip19 .tooltip-row:last-child {
  margin-bottom: 0;
}

.tooltip8 .tooltip-line,
.tooltip13 .tooltip-line,
.tooltip19 .tooltip-line {
  width: 12px;
  height: 10px;
}

.tooltip8 .tooltip-label,
.tooltip13 .tooltip-label,
.tooltip19 .tooltip-label {
  font-weight: bold;
}

.tooltip8 .tooltip-sub,
.tooltip13 .tooltip-sub,
.tooltip19 .tooltip-sub {
  color: #808080;
}

.tooltip-line-KrajeUE {
  stroke: #aac811;
  stroke-width: 2.5;
}

.tooltip-line-UE {
  stroke: #001e78;
  stroke-width: 2.5;
}

/* WYKRESY */
.c3-chart line.chart-line {
  stroke: #999999;
  stroke-width: 0.8;
}

.c3-chart-bars .c3-shape {
  stroke: white !important;
  stroke-width: 1 !important;
}

.c3-shapes,
.c3-line {
  stroke-width: 2.5px;
}

.c3-point {
  opacity: 1 !important;
}

/* etykiety */
.c3-axis.c3-axis-x path,
.c3-axis.c3-axis-x line {
  stroke-width: 1.2px;
  stroke: #000000;
}

#chart2 .c3-axis.c3-axis-x path,
#chart2 .c3-axis.c3-axis-x line,
#chart14 .c3-axis.c3-axis-x path,
#chart14 .c3-axis.c3-axis-x line,
#chart17 .c3-axis.c3-axis-x path,
#chart17 .c3-axis.c3-axis-x line,
#chart32 .c3-axis.c3-axis-x path,
#chart32 .c3-axis.c3-axis-x line,
#chart33 .c3-axis.c3-axis-x path,
#chart33 .c3-axis.c3-axis-x line,
#chart35 .c3-axis.c3-axis-x path,
#chart35 .c3-axis.c3-axis-x line {
  display: none;
}

.c3-axis-x text,
.c3-axis-x .tick text {
  font: 14px "Montserrat", sans-serif;
  line-height: 1.5em;
  white-space: normal;
  display: inline-block;
  fill: black;
}

#chart14 .c3-axis-x text {
  font-size: 12px !important;
  white-space: normal;
}

#chart1 .c3-axis-x .tick text {
  transform: translateY(110px);
}

#chart25 .c3-axis-x .tick text {
  font-weight: bold;
}

.bar-PL,
.bar-PL1 {
  fill: #aac811 !important;
  fill: var(--pl-good) !important;
}

.bar-EU {
  fill: #001e78 !important;
  fill: var(--eu-good) !important;
}

:root {
  /*chart5 */
  --eu-good: #001e78;
  --eu-average: #6678ae;
  --eu-bad: #ccd2e4;

  --pl-good: #aac811;
  --pl-average: #ccde70;
  --pl-bad: #eef4cf;

  /* Chart25 PL colors */
  --chart25-przemysl: #97a616;
  --chart25-transport: #bdd01b;
  --chart25-uslugi: #cad949;
  --chart25-gospodarstwa: #d7e376;
  --chart25-rolnictwo: #e5eca4;
  --chart25-pozostale: #f2f6d1;

  /* Chart25 UE colors */
  --chart25a-przemysl: #001860;
  --chart25a-transport: #001e78;
  --chart25a-uslugi: #334b93;
  --chart25a-gospodarstwa: #6678ae;
  --chart25a-rolnictwo: #99a5c9;
  --chart25a-pozostale: #ccd2e4;
}

/* Odstęp linii tekstu etykiet na osi X */
.c3-axis-x tspan:not(:first-child) {
  dy: 1.5em;
}

.c3-axis.c3-axis-y path,
.c3-axis.c3-axis-y2 path,
.c3-axis.c3-axis-y line,
.c3-axis.c3-axis-y2 line {
  opacity: 1;
  stroke-width: 1;
  display: none;
  fill: none;
  stroke: black;
  shape-rendering: crispEdges;
}

.c3-axis-y text,
.c3-axis-y .tick text,
.c3-axis-y2 text,
.c3-axis-y2 .tick text {
  font: 14px "Montserrat", sans-serif;
  line-height: 1.5rem;
  white-space: normal;
  display: inline-block;
  fill: black;
}

#chart4 .c3-axis-y .custom-y-label {
  line-height: 1.5rem;
  fill: black;
}

.c3-chart-arcs-title {
  font-family: "Arial", sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.c3-chart-arc text {
  font: 14px "Montserrat", sans-serif;
  font-weight: bold;
}

.c3-legend-item {
  margin-right: 10px;
}

.c3-legend-item text {
  font: 14px "Montserrat", sans-serif;
}

.c3-axis-y text,
.c3-axis-x text {
  font: 14px "Montserrat", sans-serif;
}

.year-label {
  font: 14px "Montserrat", sans-serif;
  font-weight: bold;
  fill: #000;
}

.x-axis-side-labels>div {
  transform: rotate(-90deg);
  transform-origin: left center;
  white-space: nowrap;
  margin-bottom: -20px;
  padding-right: 4px;
}

.custom-line {
  display: flex;
  align-items: center;
  width: 20px;
  height: 2px;
}

.custom-line svg {
  width: 100%;
  height: 2px;
}

.marker.custom-line,
.marker.custom-line svg,
.marker.custom-line svg line {
  background: none !important;
  fill: none;
}

.c3-grid line {
  stroke: #b3b3b3;
  stroke-width: 0.8px;
  stroke-dasharray: 0;
}

#chart1 .c3-grid line {
  display: none;
}

.c3-ygrid-line.grid100 line {
  stroke: black;
  stroke-width: 1.2px;
}

.c3-ygrid-line.grid100blue line {
  stroke: #001e78;
  stroke-width: 1.5px;
}

.c3-circle._expanded_ {
  opacity: 1 !important;
  stroke-width: 1px;
  stroke: #000000;
  fill: none;
}

.legend-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
}

.tick line {
  display: none;
  stroke-width: 0.8px;
  stroke: #999999;
}

.axis-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font: 14px "Montserrat", sans-serif;
}

.axis-labels .left {
  align-self: flex-start;
  margin-left: 10px;
}

.axis-labels .right {
  align-self: flex-end;
  margin-right: 5px;
}

.container1 {
  display: flex;
  height: 1vh;
  padding: 0.5vh;
  font: 14px "Montserrat", sans-serif;
}

.container2 {
  text-align: left;
  height: 1vh;
  margin-left: 0.8%;
  margin-top: 2%;
  font: 12px "Montserrat", sans-serif;
}

.container3 {
  display: flex;
  height: 0.5vh;
  margin-left: 0.3%;
  font: 0.8em "Montserrat", sans-serif;
}

.container4 {
  display: flex;
  font: 12px "Montserrat", sans-serif;
  height: 0.2vh;
  margin-left: 2%;
  margin-top: 2%;
}

.y-axis-measure {
  position: absolute;
  left: 0;
  top: 40px;
  padding-top: 0.5vh;
  font: 14px "Montserrat", sans-serif;
  color: #000;
}

.right {
  text-align: right;
}

.chart {
  flex: 1;
  margin: 0 5px;
  width: 275px;
  max-height: 350px;
}

#categories-container {
  width: 120px;
  text-align: center;
}

.chart-labels-row {
  display: flex;
  justify-content: space-between;
}

.chart-container1 {
  position: relative;
  display: inline-block;
  width: 49%;
  flex: 1;
  font: 14px "Montserrat", sans-serif;
}

.chart-container2 {
  position: relative;
  display: inline-block;
  width: 49%;
  flex: 1;
  font: 14px "Montserrat", sans-serif;
}

.chart-container3 {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  height: 1vh;
  flex: 1;
  font: 14px "Montserrat", sans-serif;
  max-width: 100%;
}

.chart-container4 {
  width: 100%;
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 650px;
  box-sizing: border-box;
}

.chart-label {
  text-align: center;
  font: 14px "Montserrat", sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
}

.chart-label1 {
  text-align: right;
  font: 14px "Montserrat", sans-serif;
  font-weight: bold;
  margin-bottom: 5px;
}

.chart-label2 {
  text-align: left;
  font: 14px "Montserrat", sans-serif;
  font-weight: bold;
  margin-bottom: 5px;
}

.text-container {
  width: 100px;
  text-align: center;
  font: 14px "Montserrat", sans-serif;
}

.text-container2 {
  width: 20px;
  text-align: center;
  font: 14px "Montserrat", sans-serif;
}

.text-container3 {
  width: 10px;
  text-align: center;
}

.text-container4 {
  width: 150px;
  text-align: center;
  font: 14px "Montserrat", sans-serif;
}

#charts-container {
  display: flex;
  flex-direction: row;
  height: 80%;
  align-items: center;
  justify-content: space-between;
}

#charts-container2 {
  display: flex;
  height: 60%;
  align-items: center;
  justify-content: space-between;
}

#categories-container {
  display: flex;
  font: 14px "Montserrat", sans-serif;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#categories-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
  height: 100%;
}

#categories-list li {
  margin-bottom: 4vh;
}

/* LEGENDA: */
.legend-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  line-height: 1rem;
  text-align: left;
  padding: 8px 8px;
  border-radius: 6px;
}

.legend-container20,
.legend-container32 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  line-height: 1rem;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 6px;
}

/* numer na kafelku Chart20 */
.legend-number20 {
  position: absolute;
  top: 18px;
  left: 55%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: white;
  z-index: 1002;
}

.miejsce-label {
  font-size: 18px !important;
  font-weight: 600;
  fill: white;
}

.miejsce-label-bg {
  width: 35px;
  height: 35px;
  fill: #001e78;
  opacity: 0.8;
}

.legend-inner {
  width: 350px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.legend-container table {
  margin-left: 0;
}

.legend {
  display: flex;
  align-items: center;
  font: 14px "Montserrat", sans-serif;
  fill: #000;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-right: 10px;
  margin-top: 0;
  margin-bottom: 2px;
  width: auto;
  white-space: wrap;
  cursor: pointer;
  font: 14px "Montserrat", sans-serif;
  background: none !important;
  user-select: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.legend .table-footnote {
  margin: 0;
  padding: 0;
  line-height: normal;
  fill: black;
  font: 14px "Montserrat", sans-serif;
}

.marker {
  margin-right: 5px;
}

.marker-container {
  display: flex;
  align-items: center;
  width: 15px;
  justify-content: left;
  padding-top: 3px;
}

.marker-container20 {
  display: flex;
  align-items: center;
  width: 25px;
  justify-content: left;
  padding-top: 3px;
}

.marker-containerLine {
  display: flex;
  align-items: center;
  width: 15px;
  justify-content: left;
  padding-top: 0.6vh;
}

.legend-item .marker {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.legend-item:hover .marker {
  opacity: 0.7;
  cursor: pointer;
  transform: scale(1.2);
}

.legend:hover .legend-item:not(:hover) {
  opacity: 0.5;
}

.legend-item.disabled {
  color: #b3b3b3;
}

.legend-disabled {
  opacity: 0.5;
  pointer-events: auto;
}

.legend-item.disabled .marker {
  filter: grayscale(100%) brightness(80%);
  opacity: 0.7;
}

.legend-item:not(.disabled) .marker {
  opacity: 1;
  filter: none;
}

.c3-legend-item.inactive,
.legend-item.inactive {
  opacity: 0.5;
  color: #b3b3b3;
  cursor: pointer;
}

.legend-item.inactive .marker {
  background-color: #808080 !important;
  opacity: 0.5;
}

.legend-item.hover-hidden {
  opacity: 0.5;
}

.custom-legend {
  display: flex;
  flex-wrap: nowrap;
  font: 14px "Montserrat", sans-serif;
  color: #000;
}

.legend-group {
  margin-right: 30px;
  padding: 2px;
}

.legend-marker {
  display: inline-block;
  width: 12px;
  height: 2px;
  margin-right: 5px;
  vertical-align: middle;
  background: none !important;
}

.legend-text {
  display: inline-block;
  font: 14px "Montserrat", sans-serif;
  vertical-align: middle;
  text-align: left;
}

.legend-group-title {
  font-weight: 550;
  padding: 1px;
  margin-bottom: 5px;
  font: 14px "Montserrat", sans-serif;
  color: #000;
}

.legend-text div {
  line-height: 1.2;
}

.rectangle {
  /*100%*/
  width: 10px !important;
  height: 10px !important;
  margin-right: 5px;
  background-color: #001e78;
}

.rectangle1 {
  /*90%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #1a3586;
}

.rectangle2 {
  /*80%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #334b93;
}

.rectangle3 {
  /*70%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #4d62a1;
}

.rectangle4 {
  /*60%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #6678ae;
}

.rectangle5 {
  /*50%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #808fbc;
}

.rectangle6 {
  /*40%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #99a5c9;
}

.rectangle7 {
  /*30%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #b3bcd7;
}

.rectangle8 {
  /*20%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #ccd2e4;
}

.rectangle9 {
  /*10%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #e6e9f2;
}

.rectangle10 {
  /*120%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #001860;
}

.rectangle11 {
  /*100%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #001e78;
}

.rectangle12 {
  /*80%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #334b93;
}

.rectangle13 {
  /*60%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #6678ae;
}

.rectangle14 {
  /*40%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #99a5c9;
}

.rectangle15 {
  /*20%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #ccd2e4;
}

.rectangle16 {
  /*40% black*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #999999;
}

.rectangle17 {
  /*30% black*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #b3b3b3;
}

.rectangle18 {
  /*20% black*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #cccccc;
}

.rectangle19 {
  /*10% black*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #e6e6e6;
}

.rectangle20 {
  /*100%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #bdd01b;
}

.rectangle21 {
  /*90%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #c4d532;
}

.rectangle22 {
  /*80%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #cad949;
}

.rectangle23 {
  /*70%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #d1de5f;
}

.rectangle24 {
  /*60%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #d7e376;
}

.rectangle25 {
  /*50%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #dee88d;
}

.rectangle26 {
  /*40%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #e5eca4;
}

.rectangle27 {
  /*30%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #ebf1bb;
}

.rectangle28 {
  /*20%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #f2f6d1;
}

.rectangle29 {
  /*10%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #f8fae8;
}

.rectangle30 {
  /*120%*/
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-color: #97a616;
}

.rectangle31 {
  /*100%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #bdd01b;
}

.rectangle32 {
  /*80%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #cad949;
}

.rectangle34 {
  /*100%*/
  width: 12px;
  height: 2.5px;
  margin-right: 5px;
  background-color: #001e78;
}

.rectangle35 {
  /*100% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #bdd01b;
}

.rectangle35a {
  /*100% kolor PL*/
  width: 20px !important;
  height: 20px !important;
  margin-right: 6px;
  background-color: #bdd01b;
  border-radius: 10%;
}

.rectangle36 {
  /*90% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #c4d532;
}

.rectangle37 {
  /*80% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #cad949;
}

.rectangle38 {
  /*70% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #d1de5f;
}

.rectangle39 {
  /*60% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #d7e376;
}

.rectangle40 {
  /*50% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #dee88d;
}

.rectangle41 {
  /*40% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #e5eca4;
}

.rectangle42 {
  /*30% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #ebf1bb;
}

.rectangle43 {
  /*20% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #f2f6d1;
}

.rectangle44 {
  /*120% PL*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #97a616;
}

.rectangle45 {
  /*100% UE*/
  width: 24px !important;
  height: 12px !important;
  margin-right: 10px;
  background-color: #001e78;
}

.rectangle45a {
  /*100% UE*/
  width: 20px !important;
  height: 20px !important;
  margin-right: 6px;
  background-color: #001e78;
  border-radius: 10%;
}

.rectangle46 {
  /*90% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #1a3586;
}

.rectangle47 {
  /*80% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #334b93;
}

.rectangle48 {
  /*70% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #4d62a1;
}

.rectangle49 {
  /*60% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #6678ae;
}

.rectangle50 {
  /*50% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #808fbc;
}

.rectangle51 {
  /*40% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #99a5c9;
}

.rectangle52 {
  /*30% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #b3bcd7;
}

.rectangle53 {
  /*20% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #ccd2e4;
}

.rectangle54 {
  /*120% UE*/
  width: 24px;
  height: 12px;
  margin-right: 10px;
  background-color: #001860;
}

.break-line::after {
  content: "";
  display: block;
}

.circle1 {
  width: 10px;
  height: 10px;
  background-color: #808080;
  border-radius: 50%;
  margin-right: 5px;
}

.circle2 {
  width: 10px;
  height: 10px;
  background-color: #f5a800;
  border-radius: 50%;
  margin-right: 5px;
}

.line1,
.line2,
.line3,
.line4,
.line5,
.line6,
.line7 {
  width: 15px;
  margin-right: 5px;
}

.line1 {
  border: 1.5px solid #808080;
}

.line2 {
  border: 1.5px solid #ffdba2;
}

.line3 {
  border: 1.5px solid #f5a800;
}

.line4 {
  border: 1.5px solid #999999;
}

.line5 {
  border: 1.5px solid #ffa600;
}

.line6 {
  border: 1.5px solid #d9002b;
}

.line7 {
  border: 1.5px solid #d8e36d;
}

/* TOOLTIP */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

.custom-tooltip {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
  white-space: wrap;
  border: 0.5px solid #b3b3b3;
  font: 14px "Montserrat", sans-serif !important;
  font-weight: normal;
  max-width: 300px;
  position: absolute !important;
  z-index: 9999 !important;
  pointer-events: none;
}

.custom-tooltip table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.tooltip-title {
  white-space: normal;
  word-wrap: break-word;
}

.c3-tooltip {
  text-align: left !important;
}

.c3-tooltip .c3-tooltip-title {
  font: 14px "Montserrat", sans-serif !important;
  width: auto !important;
  white-space: nowrap;
}

.c3-tooltip th,
.c3-tooltip td {
  white-space: normal;
  word-break: break-word;
  width: auto !important;
  text-align: left !important;
}

.c3-tooltip td.value {
  width: auto !important;
  display: table-cell !important;
  text-align: right !important;
}

.custom-tooltip th {
  background-color: rgba(179, 179, 179, 0.9);
  border: 1px solid #ccc;
  padding: 3px;
  text-align: left;
  color: white;
  font: 14px "Montserrat", sans-serif !important;
}

.custom-tooltip td {
  border: 1px solid #ccc;
  padding: 3px;
  font: 14px "Montserrat", sans-serif !important;
  text-align: left;
}

.tooltip {
  transition: opacity 0.2s ease-in-out;
  white-space: pre-line;
}

.square1,
.square2,
.square3,
.square4,
.square5,
.square6,
.square7,
.square8,
.square9,
.square10,
.square11,
.square12,
.square13,
.default-shape {
  display: inline-block;
  vertical-align: middle;
}

.square1 {
  width: 10px;
  height: 10px;
  background-color: #999;
}

.square2 {
  width: 12px;
  height: 2px;
  background-color: #808080;
}

.square3 {
  width: 12px;
  height: 2px;
  background-color: #8d98eb;
}

.square4 {
  width: 12px;
  height: 2px;
  background-color: #f5a800;
}

.square5 {
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  background-color: #808080;
}

.square6 {
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  background-color: #f5a800;
}

.square7 {
  width: 12px;
  height: 2px;
  background-color: #999999;
}

.square8 {
  width: 10px;
  height: 10px;
  background-color: #ffdba2;
}

.square9 {
  width: 10px;
  height: 10px;
  background-color: #b3b3b3;
}

.square10 {
  width: 10px;
  height: 10px;
  background-color: #ffdba2;
}

.square11 {
  width: 10px;
  height: 10px;
  background-color: #fcb843;
}

.square12 {
  width: 12px;
  height: 2px;
  background-color: #d8e36d;
}

.square13 {
  width: 12px;
  height: 2px;
  background-color: #ffa600;
}

.square14 {
  width: 10px;
  height: 10px;
  background-color: #cccccc;
}

.square15 {
  width: 10px;
  height: 10px;
  background-color: #ffc975;
}

.circle1 {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #808080;
}

.circle2 {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f5a800;
}

.default-shape {
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  background-color: #808080;
}