/* Wlasne zmienne - tekst*/
:root {
  --pure: #D9D9D6;
  --orange: #F2A900;
  --hope: #808C24;
  --sun: #F3D54E;
  --humble: #75787B;
  /*grafit */
  --white: #ffffff;
}

html {
  font-size: 16px;
  /* Set the root font size */
}

body {
  font-family: "Open Sans";

}

.post li {
  font-size: 1.1rem!important;
  line-height: 1.8rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Alegreya Sans SC';
}

/*h2{
	 font-size: 3.5rem;
	 font-weight: 500;
	 letter-spacing: .5rem;
 }*/
p {
  font-size: .9rem;
  line-height
}

a {
  color: var(--humble);
}

a:hover {
  color: var(--humble);
}

.a-humble {
  text-decoration: none;
  color: var(--humble) !important;

}

.a-hope {
  text-decoration: none;
  color: var(--hope) !important;
}

.a-orange {
  text-decoration: none;
  color: var(--orange);

}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  color: var(--humble);
  /* Szary domek i linki */
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--orange);
  /* Pomarańczowy po najechaniu */
  text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  color: var(--humble);
  padding: 0 0.5rem;
}

.breadcrumb-item.active {
  color: var(--pure);
}

/* Rozmiar ikony domku */
.breadcrumb svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.blockquote p {
  font-size: 1.1rem;
  line-height: 1.8rem;
}

.blockquote-footer::before {
  content: "-\00A0" !important;
}






.big {
  text-transform: uppercase;
  font-family: 'Alegreya Sans SC';
  font-size: 1.25rem;
  font-weight: 500;
}

.odstep a {
  margin-right: 20px;
  /* Ustaw odstęp między linkami */
}

.odstep a:last-child {
  margin-right: 0;
  /* Ostatni link bez marginesu, żeby nie było za dużo odstępu */
}

.link-hover:hover {
  text-decoration: underline;
}

/*
a:hover {
    color: inherit !important;  Zapobiega zmianie koloru     
}*/

.outline-text {
  color: white;
  text-shadow:
    -1px -1px 7px #000000,
    1px -1px 7px #010101,
    -1px 1px 7px #343037,
    1px 1px 7px #343037;
}

.card {
  border: 0px !important;
  border-radius: 0;
}

.col-sm-4 {
  padding-right: 20px !important;
  padding-left: 20px !important;
  padding-bottom: 50px !important;
}

.punkt {
  width: 10px;
  height: 10px;
  background-color: #808C24;
}

.czytelnie * {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-white-transparent {
  background: rgba(255, 255, 255, 0.7);
  /* Białe tło z 70% kryciem */
}

.bg-hope {
  background-color: #808C24;
}

.bg-sun {
  background-color: #F3D54E;
}

.bg-humble {
  background-color: #75787B;
}

.bg-pure {
  background-color: #D9D9D6;
}

.bg-orange {
  background-color: #F2A900;
}

.text-humble {
  color: #75787B;
}

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  word-wrap: normal !important;
  border: 0;
  clip-path: inset(50%);
}

.jumbotron {
  height: 520px;
  /*480*/
}

@media (min-width: 992px) {

  .u-hero {
    /*padding: 50 0 175px;*/
    /*background-image: url('../images/top-bg.jpg');*/
    background-position: 65% 5%;
    /*50*/
    background-repeat: no-repeat;
  }

  .navbar-brand img {
    content: url('../images/logo_name.png');
  }

  .navbar-brand-sticky img {
    content: url('../images/logo_name_dark.png');
  }

}

@media (max-width: 992px) {
  .u-hero {
    /*padding: 50 0 175px;*/
    /*background-image: url('../images/top-bg.jpg');*/
    background-position: 30% 50%;
    background-repeat: no-repeat;
  }

  .navbar-brand img {
    content: url('../images/logo_ico_dark.png');
  }

  .navbar {
    background-color: rgb(255, 255, 255, 0.5);
  }

  .nav-link {
    color: #75787B !important;
  }

  .nav-link:hover {
    color: #F3D54E !important;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

}

/**end of: max 992**/
@media (min-width: 576px) {
  h1.u-hero-header1 {
    font-size: 4.75rem;
    /* Domyślny rozmiar czcionki */
    margin-bottom: 2.25rem;
  }

  .u-hero-header {
    font-size: 2.75rem;
  }
}

@media (max-width: 576px) {

  /* Na ekranach md i większych */
  h1.u-hero-header1 {
    font-size: 3.25rem;
    /* Zmniejsz rozmiar czcionki na sm */
    margin-bottom: 1.25rem;
  }

  .u-hero-header {
    font-size: 2.25rem;
  }
}

/********* Navbar - MENU stale style *********/
#logo {
  height: 60px;
}

.navbar .navbar-nav .nav-item {
  text-transform: uppercase;
  font-family: "Alegreya Sans SC", sans-serif;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.navbar-brand {
  padding: 1px 0 0 0;
}

.nav-link {
  color: #fff;
}

.nav-link:hover {
  color: #F3D54E !important;
  text-decoration: underline;
  text-decoration-style: solid;
  /*animation: underline 0.8s ease-in-out;*/
}

.nav-link:active {
  color: #F2A900 !important;
}

/*********** Animacja zmiany koloru menu ***********/
.sticky {
  background-color: rgb(255, 255, 255, 0.7);
  transition: all 0.5s;
  text-transform: uppercase;
  font-family: "Alegreya Sans SC", sans-serif;
  font-weight: 500;
}

.nav-link-sticky {
  color: #75787B !important;
  /*font-weight: bold;*/
}

.nav-link-sticky:hover {
  color: #F2A900 !important;
}

.nav-link-sticky:active {
  color: #F2A900 !important;
}

.u-social-ico {
  display: flex;
  margin-left: 10px;
  justify-content: center;
  gap: 10px;
}

/****************** CYTATY *********************/
.cytat {
  position: relative;
  margin-left: 2rem;
  padding-left: 3rem;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cytat::before {
  content: '\201d';
  font-size: 10rem;
  position: absolute;
  left: -2.5rem;
  top: -1.5rem;
  color: white;
  -webkit-text-stroke: 1px #F2A900;
  text-shadow:
    -1px -1px 0px #F2A900,
    1px -1px 0px #F2A900,
    -1px 1px 0px #F2A900,
    1px 1px 0px #F2A900;
  font-family: georgia, serif;
  line-height: 1;
}

.cytat-autor {
  margin-top: 0rem;
  margin-left: 2rem;
  padding-left: 3rem;
  margin-bottom: 2rem;
  text-align: left;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  color: #666;
}

.cytat-autor::before {
  content: "-\00A0" !important;
}

@media (max-width: 576px) {
  .cytat::before {
    font-size: 8rem;
    left: -2rem;
    top: -1.25rem;
  }

  .cytat {
    margin-left: 1.7rem;
    padding-left: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
  }

}

/*********************HERO UNIT ***********************/
.u-hero-content {
  align-items: center;
  padding: 9em 0;
}


.u-hero-header1 {}

.u-hero-subheader {
  height: 2.5rem;
}

.u-hero-subheader_u {
  height: 2.1rem;
}

/*************____________page _____________***********************/
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

.left-page {
  display: flex;
  /**/
}

@media(max-width: 767px) {
  .left-page {
    flex-direction: column;
    align-items: center;
  }
}


.u-page {
  margin-top: 15px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);

}

.u-sidebar {
  text-align: justify;
  min-width: 320px;
  width: 320px;
  margin: 15px 15px 0 15px;
}

.u-sidebar .tile {
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(250, 250, 250, .9);
  margin: 0px 0px 10px 0px;
  padding: 15px 0 15px 0;
  overflow: hidden;
}

li {
  font-size: .9rem !important;
  line-height: 1rem;
}


/*************____________ strefa stron zewnętrznych _____________***********************/
.inoutside {
  border: 1px solid #eee;
  padding: 10px;
  margin: 10px 0;
}

.inoutside h3 {
  color: var(--orange);
  text-align: center;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 10px;
  margin-top: 20px;
}

.inoutside li {
  marker-start: none;
  text-align: left;
  line-height: 20px;
  border-bottom: 1px dotted #aaa;
  font-size: .9em;
  padding: 5px;
}

/************ ________ STOPKA ________ ****************/
a.u-footer-link {
  color: white !important;
}

.site-footer {
  padding: 30px 20px !important;
  background-color: #75787B
    /*808C24*/
  ;
  font-size: 1.1rem;
}

.footer-first-col li {
  padding: .6rem 0;
  font-family: 'Alegreya Sans SC' !important;
}

.footer-second-col li {
  padding: .8rem 0;

  border-bottom: 0.3px solid #F3D54E;
}

.footer-second-col li:last-child {
  border-bottom: none;
}


.stopka-ul {
  margin-bottom: 0px !important;
}


.footer-spacja {
  margin-right: 4px;
}

.footer-email {
  font-family: "Open Sans" !important;
  font-size: 0.8rem;
}

.fa {
  margin-right: 2px;
}

.stopka-social {
  color: #F3D54E;
  margin: 20px;
}

.stopka-social-ico {
  padding: 10px;
}

/** Copyright **/
.copyright {
  padding: 10px 0;
  background-color: #363636;
}

.copyright-designed {
  font-size: .9rem;
}

/************kolejne podstrony***************/
.baner-container {
  position: relative;
  /* Pozycjonowanie względne dla nagłówka */
  overflow: hidden;
  /* Ukrywa nadmiarowe części obrazu */
}

.baner-container img {

  width: 100%;
  display: flex;
  object-fit: cover;
}

.baner-text {
  position: absolute;
  left: 0;
  margin-left: 5vw;
  color: white;
}

@media (max-width: 577px) {
  .baner-text {
    bottom: 3px;
  }

  h1.naglowek {
    /*font-family: Open Sans !important;*/
    margin-bottom: 0 !important;
    text-transform: lowercase;
    font-size: 2.9rem !important;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
  }

  p.pod-naglowek {
    font-size: 1.1rem !important;
  }

  p.comment-page {
    font-size: .75rem !important;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .baner-text {
    bottom: 5px;
  }

  h1.naglowek {
    /*font-family: Open Sans !important;*/
    margin-bottom: 0 !important;
    text-transform: lowercase;
    font-size: 3.75rem !important;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0rem;
  }

  p.pod-naglowek {
    font-size: 1.2rem !important;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .baner-text {
    bottom: 8px;
  }

  h1.naglowek {
    /*font-family: Open Sans !important;*/
    margin-bottom: 0 !important;
    text-transform: lowercase;
    font-size: 4.25rem !important;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0rem;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .baner-text {
    bottom: 10px;
  }

  h1.naglowek {
    /*font-family: Open Sans !important;*/
    margin-bottom: 0 !important;
    /*text-transform: lowercase;*/
    font-size: 4.5rem !important;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .125rem;
  }
}

@media (min-width: 1201px) {
  .baner-text {
    bottom: 10px;
  }

  h1.naglowek {
    /*font-family: Open Sans !important;*/
    margin-bottom: 0 !important;
    /*text-transform: lowercase;*/
    font-size: 4.8rem !important;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .125rem;
  }
}

/*************** AKTUALNOŚCI Z WPISAMI *****************************/
.full-height {
  height: 100%;
}

.ak-hero {
  padding: 60px;
  padding-bottom: 0px;
  background-image: url('../images/krzyzyk.jpg');
  background-size: cover;
  height: 35vh;
  background-position: 25% 50%;
  background-repeat: no-repeat;
}

.ak-header {
  font-family: "Alegreya Sans SC", sans-serif;
  font-size: 4.75rem;
  font-weight: 700;
  line-height: 2;
}

/**end of: max 992**/
@media (min-width: 576px) {
  h1.ak-header {
    font-size: 4.75rem;
    /* Domyślny rozmiar czcionki */
    margin-bottom: 2.25rem;
  }

  .ak-header {
    font-size: 2.75rem;
  }
}

@media (max-width: 576px) {

  /* Na ekranach md i większych */
  h1.ak-header {
    font-size: 3.25rem;
    /* Zmniejsz rozmiar czcionki na sm */
    margin-bottom: 1.25rem;
  }

  .ak-header {
    font-size: 2.25rem;
  }
}

.ak-header {
  font-family: "Alegreya Sans SC", sans-serif;
  font-size: 4.75rem;
  font-weight: 700;
  line-height: 2;
}

.u-card-img-overlay {
  position: absolute;
  bottom: 0 !important;
  top: auto;
  left: 0;
  width: 100%;
  padding: 10px;
  /*background-image: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 90%);*/
  z-index: 1;
}

/*****.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease; /* Dodaj płynne przejście przezroczystości /
    opacity: 1;  //* Początkowo widoczne /
}*****/

/******** zoomowanie card* +js **************/
.card {
  position: relative;
  /* Umieść zdjęcie w pozycji względnej */
  overflow: hidden;
  /* Ukryj przepełnienie */
  margin: 0;
  padding: 0;
}

.ak-card-img-top {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  max-height: 260px;
  transition: transform 0.8s ease;
  /* Dodaj animację */
  display: block;
  object-position: top;
}

.card:hover .ak-card-img-top {
  transform: scale(1.1);
  transform-origin: center;
}

.card-img-top {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  max-height: 200px;
  transition: transform 0.8s ease;
  /* Dodaj animację */
  display: block;
  object-position: top;
}

.card:hover .card-img-top {
  transform: scale(1.1);
  /* Powiększ o 10% */
  transform-origin: center;
  /* Zachowaj rozmiar zdjęcia */
}

.news-image {
  transition: transform 0.8s ease-in-out;
  /* działa w obu kierunkach */
  transform-origin: center;
}

.card:hover .news-image {
  transform: scale(1.1);
}

.card:hover .image-overlay {
  opacity: 0;
}


.nr-page {
  color: #75787B !important;
  border: 0px;
  width: 55px;
  height: 40px;
  background: #fff;
  border-radius: unset;
  display: flex;
  /* Make the element a flex container */
  justify-content: center;
  /* Center content horizontally */
  align-items: center;
  /* Center content vertically */

}

.nr-page.active {
  /*border-color: #F2A900;*/
  color: #F2A900 !important;
}

.page-item {
  display: block;
  padding: 0 2px;
}






.p-cat-info {
  display: inline-flex;
  font-family: "Open Sans";
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  z-index: 4;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  flex-grow: 1;
  padding: 0 12px 12px 12px;
  gap: 10px;
}

.cat-info-el {
  color: white !important;
  line-height: 1;
  align-items: center;
}


.ak-card-zdj {
  position: relative;
  display: block;
  margin-bottom: 15px;
}

.ak-card-img-top {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.ak-card-title {
  color: #808C24
    /*#75787B*/
  ;
}

.ak-card-text {
  font-size: .8rem;
}

.ak-info-wpis {
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  flex-grow: 1;
  letter-spacing: .0215rem;
  color: #666666;
  gap: 10px;
}

.meta-info-autor {
  font-weight: 700;
  color: black;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-info-data:before {
  width: 0;
  height: 6px;
  padding-right: 4px;
  content: '';
  letter-spacing: 0;
  opacity: .3;
  border-left: 1px solid;
}

.card:hover .ak-card-title {

  text-decoration-color: #808C24;
  text-decoration: underline;
  /**color: black!important;
	transition: background-size 0.15s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
  background-image: linear-gradient(to right, #F3D54E 10%, #F2A900 90%);
	display: inline-flex ;
 	
 	text-underline-position: under baseline;
 	font-size: 1.25em; 
  line-height: 1.1;**/
}






/* Pginajca na archive: aktualnosci i wydarzenia */
/* Zmiana koloru tekstu w paginacji */
.page-numbers,
.prev,
.next {
  color: #75787B !important;
}

/* Kolor przycisku paginacji przy najechaniu */
.page-numbers:hover,
.prev:hover,
.next:hover {
  color: #F2A900 !important;
  /* Możesz wybrać inny kolor na hover */
}

/* Single: aktualności, wydarzenia, CSS, aby wyświetlić przyciski w jednej linii: */
/* Ustawienie przycisków nawigacji obok siebie */
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Stylowanie pojedynczego przycisku */
.post-navigation .nav-previous,
.post-navigation .nav-next {
  display: inline-block;
}

/* Kolor domyślny linków */
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  color: #75787B;
  /* Kolor domyślny */
  text-decoration: none;
  /* Brak podkreślenia */
  transition: color 0.3s ease;
  /* Łagodne przejście kolorów */
}

/* Kolor linku po najechaniu */
.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  color: #F2A900;
  /* Kolor po najechaniu */
}

/* Opcjonalne, aby kontrolować marginesy między przyciskami */
.post-navigation .nav-previous {
  margin-right: 15px;
}

.post-navigation .nav-next {
  margin-left: 15px;
}

/* Możesz dodać inne style, aby dostosować wygląd */
.post-title {
  font-size: 1rem;
  font-weight: normal;
}

/* Wyśrodkowanie zawartości do prawej - podpis pod wpisem: autor */
.blockquote-footer {
  text-align: right;
  /* Wyśrodkowanie tekstu do prawej */
  padding-right: 10px;
  /* Opcjonalne, dodaje przestrzeń od prawej krawędzi */
}

/* "SEARCH" - obsługa lupki w grónym prawym rogu */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  cursor: pointer;
  /*font-size: 20px;*/
  padding: 10px;
  transition: color 0.3s;
}

/* Ukryta domyślnie z animacją */
.search-bar {
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border: 1px solid #ccc;
  padding: 0px 0px 0px 0px;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Widoczna wersja */
.search-bar.active {
  opacity: .9;
  transform: translateY(0);
  pointer-events: auto;
}

.search-bar form {
  position: relative;
}

.search-bar input[type="search"] {
  width: 190px;
  padding: 5px 5px;
  font-size: 14px;
  border: 1px solid #D9D9D6;
}

#searchClose {
  position: absolute;
  right: 5px;
  top: 15%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #75787B;
}


/** CZYTNIK **/
#pdf-render {
  border: 1px solid #ccc;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#pdf-selector {
  max-width: 280px;
  max-height: 28px;
  margin-bottom: .5rem;
  border-radius: 0rem;
  padding: 0rem 0.75rem;
  border: 1px solid #ced4da;
  font-size: .9rem;
  display: inline-block;
}

.pdf-selector {
  /*********do sortowania po włascicielu********** */
  width: 320px;
  max-height: 28px;
  margin-bottom: .5rem;
  border-radius: 0rem;
  padding: 0rem 0.75rem;
  border: 1px solid #ced4da;
  font-size: .9rem;
  display: inline-block;
}

#page-num-input {
  max-height: 22px;
  width: 48px;
  padding: .5px;
  border: .8px solid var(--pure);
  text-align: center;
}

.icon-button {
  background: none;
  border: none !important;
  color: var(--humble);
  font-size: 1.2rem;
  cursor: pointer;
  margin: 0 5px;
}

.icon-button:hover {
  color: var(--humble);
  border: none;
}

.icon-button:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(236, 237, 237, 0.5);
  /* subtelna ramka */
}


.library-page .card {
  transition: transform .2s;
}

.library-page .card:hover {
  transform: translateY(-5px);
}

.library-page .btn {
  width: 100%;
}