/* Global hover fix — prevent layout shift on all links */
a:hover,
a:visited:hover {
  text-decoration: none;
}

/* Dodanie czcionki Exo jako domyślnej */
body, html {
  font-family: 'Exo', Verdana, sans-serif;
}
a {
    color: #cc5200; /* Kolor brązowy dla zwykłego stanu */
    text-decoration: none;
    transition: all 0.3s ease; /* Płynne przejście dla efektu hover */
}

/* Styl dla linków przy najechaniu */
a:hover {
    background-color: #cc5200; /* Tło takie jak oryginalny kolor tekstu */
    color: #FFFFFF; /* Biały kolor tekstu */
    text-decoration: none; /* Usunięcie podkreślenia, jeśli było */
    padding: 2px 4px; /* Dodanie lekkiego paddingu dla lepszego efektu */
    border-radius: 3px; /* Opcjonalnie: zaokrąglenie rogów */
}

/* Jeśli potrzebne, dostosuj styl dla konkretnych linków, np. w bloku "Podobne informacje" */
.views-field-title a:hover {
    background-color: #cc5200;
    color: #FFFFFF;
}
/* Zastosowanie czcionki do wszystkich elementów */
* {
  font-family: inherit;
}
.view-content {
    background-color: #f5f5f5;
    padding: 10px;
    padding-top: 5px; /* Zmniejszony górny padding, aby zrównoważyć margines nagłówka */
}
.image-style-media-thumbnail {
    background-color: #fff;
    border: thin solid #aaa;
    padding: 3px;
    max-width: 50%;
    float: left;
    height: auto;
    margin-right: 5px;
}

.image-style-media-library {
    background-color: #fff;
    border: thin solid #aaa;
    padding: 3px;
    max-width: 50%;
    float: left;
    height: auto;
    margin-right: 5px;
}


.image-style-max-325x325 {
    background-color: #fff;
    border: thin solid #aaa;
    padding: 3px;
    max-width: 50%;
    float: left;
    height: auto;
    margin-right: 5px;
}

.image-style-large {
    background-color: #fff;
    border: thin solid #aaa;
    padding: 3px;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.image-style-_40szerokosc {
    background-color: #fff;
    border: thin solid #aaa;
    padding: 3px;
    max-width: 100%;
    width: 100%;
    height: auto;
}

img.media-element.file-default {
    background-color: #fff;
    border: thin solid #aaa;
    padding: 3px;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.field-label-inline .field__items, .field-label-inline .field__item {
    font-size: 1.1em;
}

h1.title-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

h1.title-slide a:link,
h1.title-slide a:visited,
h1.title-slide a:hover {
    position: absolute;
    font-size: 4vw; /* Mniejszy rozmiar czcionki */
    color: #ffffff;
    line-height: 1.2; /* Zwiększenie linii tekstu */
    letter-spacing: 1px;
    margin: 0;
    padding: 10px;
    text-shadow: 1px 0 2px rgba(0, 0, 0, 0.85);
    text-align: left;
    background-color: rgba(86, 171, 203, 0.9); /* Przezroczyste tło */
    width: 90%; /* Szerokość tekstu */
    height: auto; /* Wysokość tekstu */
    overflow: hidden; /* Ukryj tekst, który wychodzi poza kontener */
    box-sizing: border-box;
    top: 10%; /* Pozycjonowanie od góry */
    left: 5%; /* Pozycjonowanie od lewej */
}

h1.title-slide a:hover {
    background-color: rgba(242, 149, 159, 0.9); /* Zmiana koloru tła na hover */
    text-decoration: none;
}

/* Media queries dla mniejszych ekranów */
@media (max-width: 1200px) {
    h1.title-slide a:link,
    h1.title-slide a:visited,
    h1.title-slide a:hover {
        font-size: 3.5vw;
    }
}

@media (max-width: 768px) {
    h1.title-slide a:link,
    h1.title-slide a:visited,
    h1.title-slide a:hover {
        font-size: 3vw;
    }
}

@media (max-width: 480px) {
    h1.title-slide a:link,
    h1.title-slide a:visited,
    h1.title-slide a:hover {
        font-size: 2.5vw;
    }
}

h1.title-slide {
    position: absolute;
    left: 1%;
    top: 10px;
    z-index: 55;
    max-width: 95%;
}


/* Styl nagłówka */
.header {
    background-color: #003300 !important; /* Zielone tło */
    color: #ffffff; /* Biały tekst */
    padding: 10px; /* Dodanie paddingu dla lepszego wyglądu */
}

/* Styl nagłówka na poziomie wyższym specyficzności */
div.header {
    background-color: transparent;
    color: #ffffff; /* Biały tekst */
    padding: 10px; /* Dodanie paddingu dla lepszego wyglądu */
}
/* Zmiana kolorów dla .pr-header */

/* Dodatkowe dostosowanie dla linków w nagłówku */

.pr-header {
  color: #363636;
  background-color: transparent;
}

.pr-header a {
    color: #ffffff; /* Biały tekst dla linków */
    text-decoration: none;
}

.pr-header a:hover {
    color: #ffcc00; /* Żółty tekst po najechaniu */
}
.pr-main__rw {
    /* border: 2px solid #003300;  */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Lekki cień */
    padding: 10px; /* Dodanie paddingu dla lepszego wyglądu */
    margin: 10px 0; /* Dodanie marginesu nad i pod elementem */
}

.page.js-layout {
  background: url("../images/12247587_m.jpg") no-repeat center center fixed;
  background-size: cover;
  background-color: #000;
}


/* Styl menu */
.pr-navbar {
    background-color: #333; /* szare tło */
    color: #ffffff; /* Biały tekst */
}

.pr-navbar a {
    color: #ffffff; /* Biały tekst dla linków */
    padding: 10px;
    text-decoration: none;
}

.pr-navbar a:hover {
    background-color: #ff8533; /* Jaśniejszy pomarańczowy po najechaniu */
}

/* Styl stopki */
.footer {
    background-color: #ff8533; /* Zielone tło */
    color: #ffffff; /* Biały tekst */
    text-align: center;
    padding: 10px;
}

/* Styl strony */


/* Styl bocznej kolumny */
.sidebar {
    background-color: #f1f1f1; /* Jasne tło bocznej kolumny */
    color: #333333; /* Ciemny tekst */
    padding: 10px;
}

.block__title, .block-menu__title, .pane__title {
    font-weight: 700;
    font-size: 160%;
    color: #000000; /* Zmiana koloru tekstu na biały */
    line-height: 1.2; /* Dostosowanie line-height */
    letter-spacing: normal;
    margin: 0;
    padding: 5px 10px;
    border-bottom: medium solid red;
}

/* Główne tło i styl ramki dla komentarzy */
.comment {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

/* Nagłówek komentarza */
.comment .comment-title {
    font-weight: bold;
    color: #e74c3c; /* Czerwony kolor dla tytułu */
    margin-bottom: 5px;
}

/* Stylizowanie autora komentarza */
.comment .comment-author {
    color: #555;
    font-size: 0.9em;
}

/* Treść komentarza */
.comment .comment-body {
    margin-top: 10px;
}

/* Stylizowanie przycisków akcji */
.comment .comment-actions {
    margin-top: 10px;
}

.comment .comment-actions a {
    color: #007bff;
    text-decoration: none;
    margin-right: 10px;
}

.comment .comment-actions a:hover {
    text-decoration: underline;
}

/* Stylizowanie głosowania */
.comment .comment-vote {
    margin-top: 10px;
}

.comment .comment-vote .vote {
    display: inline-block;
    margin-right: 10px;
}

.comment .comment-vote .vote-count {
    font-weight: bold;
    margin-left: 5px;
}


h1.node__title {
    /* background-color: #82654B;  Pomarańczowe tło */
    color: #cc5200; /* Biały tekst dla lepszego kontrastu */
    padding: 5px; /* Dodanie paddingu dla lepszego wyglądu */
    border-radius: 3px; /* Dodanie zaokrąglonych rogów */
    display: inline-block; /* Sprawienie, że tło obejmuje tylko tekst */
    font-size: 2.8em; /* Adjust the size as needed */
   /* line-height: 3.2;  This will help with readability */

}

.field-node-field-kategorie {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.field-node-field-kategorie .field__item {
  margin-right: 5px;
  margin-bottom: 5px;
}

.field-node-field-kategorie .field__item a {
  background-color: #135DB1;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-block;
  font-size: 0.9em;
  white-space: nowrap;
}

.field-node-field-kategorie .field__item a:hover {
  background-color: red;
  transform: translateY(-2px);
}
/* Default link color */
a {
    color: #cc5200; /* Pomarańczowy tekst */
    text-decoration: none; /* Usuń podkreślenie */
    transition: color 0.3s, background-color 0.3s; /* Płynne przejście koloru tła i tekstu */
}

/* Visited link color */
a:visited {
    color: #cc5200; /* brown tekst dla odwiedzonych linków */
}

/* Hover effect */
a:hover {
    background-color: #cc5200; /* Zielone tło na hover */
    color: white; /* Biały tekst na hover */
}

/* Existing styles for menu links */
.ms-dropmenu .rm-block__content .menu__link {
    position: relative;
    display: block;
    padding: 0.5rem 1.25rem;
}

/* Add font size adjustment */
.ms-dropmenu .rm-block__content .menu__link {
    font-size: 1.25rem; /* Adjust this value as needed */
}
.field-node--field-field-zrod-obr {
  font-size: 0.8em; /* lub inna wartość, którą uznasz za odpowiednią */
  color: #333333; /* lub inny kolor, który pasuje do Twojego projektu */
}
.field-node--body {
    font-size: 1.2em; /* Adjust the size as needed */
    line-height: 1.5; /* This will help with readability */
}

.pr-leaderboard {
  background-color: rgba(0, 0, 0, 0.7); /* 70% przezroczystości */
}

.pr-leaderboard__rw {
background-color: transparent;
}

/* Change the color of the links to white */
ul.menu-level-1 li a.menu__link {
    color: #ffffff; /* White color for links */
}

/* Change the color to orange on hover */
ul.menu-level-1 li a.menu__link:hover {
    color: #ff6600; /* Orange color on hover */
}

/* Optionally, if you want the visited links to stay white */
ul.menu.menu-level-1 li a.menu__link:visited {
    color: #ffffff; /* White color for visited links */
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #003300; /* Zielone tło */
  padding: 10px;
}

.block-acpartners-logo {
  flex: 1;
}

.block-search__content {
  flex: 1;
  text-align: right;
}

.block-search__content form {
  display: inline-block;
  margin: 0;
}

/* Domyślne tło dla wszystkich wierszy */
.views-row {
  background-color: white;
}

/* Tło dla parzystych wierszy */
.views-row:nth-child(even) {
  background-color: #f0f0f0; /* Przykładowy kolor tła */
}


/* Kontener paginacji */
.pager {
  text-align: center;
  margin: 20px 0;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

/* Elementy listy paginacji */
.pager__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
}

/* Poszczególne elementy paginacji */
.pager__item {
  margin: 0 2px;
}

/* Linki w paginacji */
.pager__item a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #dddddd;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hover na linkach */
.pager__item a:hover,
.pager__item--active a {
  background-color: #cc5200;
  color: #ffffff;
  border-color: #cc5200;
}

/* Aktywna strona */
.pager__item--active a {
  font-weight: bold;
}

/* Strzałki "następna" i "poprzednia" */
.pager__item--next a,
.pager__item--prev a,
.pager__item--first a,
.pager__item--last a {
  background-color: #e0e0e0;
  color: #333333;
}

/* Hover na strzałkach */
.pager__item--next a:hover,
.pager__item--prev a:hover,
.pager__item--first a:hover,
.pager__item--last a:hover {
  background-color: #4a90e2;
  color: #ffffff;
}

/* Ukryj tekst "następna strona" itp., ale zachowaj dostępność */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  word-wrap: normal;
}

#flexslider-1.flexslider {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.view-content.view-rows {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.view-dom-id-1c26540fedd922ca9d49493889ab51dd859d1561ce2f262c2fbbeb284775eaf {
    margin-bottom: 0 !important;
}

/* Jeśli pomarańczowy pasek pod sliderem jest niepotrzebny, usuń go: */
#flexslider-1.flexslider::after {
    display: none !important;
}

/* Jeśli chcesz zachować pomarańczowy pasek, ale zmniejszyć jego wysokość: */
#flexslider-1.flexslider::after {
    height: 5px !important; /* dostosuj wartość według potrzeb */
}
/* D11 Fix: pelna szerokosc layoutu + sidebary po bokach */
.l-rw, .layout-container { max-width: 100% !important; width: 100% !important; }
.l-rw { padding-left: 2% !important; padding-right: 2% !important; }

/* One sidebar: content 75%, sidebar 25% */
.pr-main__rw:has(.pr-main__sidebar-second):not(:has(.pr-main__sidebar-first)) .pr-main__content { flex: 1 1 75% !important; max-width: 75% !important; }
.pr-main__rw:has(.pr-main__sidebar-first):not(:has(.pr-main__sidebar-second)) .pr-main__content { flex: 1 1 75% !important; max-width: 75% !important; }

/* Sidebars 25% */
.pr-main__rw .l-r.region.pr-main__sidebar-first,
.pr-main__rw .l-r.region.pr-main__sidebar-second { flex: 0 0 25% !important; max-width: 25% !important; }

/* Two sidebars: content 50%, sidebars 25% each */
.pr-main__rw:has(.pr-main__sidebar-first):has(.pr-main__sidebar-second) .pr-main__content { flex: 1 1 50% !important; max-width: 50% !important; }

/* arc--2 column widths */
.pr-main__rw.arc--2.hr--1-3 .l-r:first-child { width: 75% !important; }
.pr-main__rw.arc--2.hr--1-3 .l-r:last-child { width: 25% !important; }
.pr-main__rw.arc--2.hr--3-1 .l-r:first-child { width: 25% !important; }
.pr-main__rw.arc--2.hr--3-1 .l-r:last-child { width: 75% !important; }

/* Mobile: stack */
@media (max-width: 768px) {
  .pr-main__rw { flex-wrap: wrap !important; }
  .pr-main__rw .l-r.region.pr-main__sidebar-first,
  .pr-main__rw .l-r.region.pr-main__sidebar-second,
  .pr-main__rw .l-r.region.pr-main__content { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* Mobile: smaller logo */
@media (max-width: 768px) {
  .site-branding__logo-img {
    width: 160px;
    height: 50px;
    max-height: 50px;
  }
}

/* Reserve space for branding block to prevent layout shift */
.block-plugin-id--system-branding-block {
  min-height: 70px;
}
@media (max-width: 768px) {
  .block-plugin-id--system-branding-block {
    min-height: 50px;
  }
}

