/* Tvorcza for Warsaw home */
 
/* Fonty   */

h3, h4, h5 {
  font-family: "LT Superior, sans-serif";
  line-height: 102%;
}

/* footer */
.footer-heading {
  font-size: 12px;
}

footer a, footer p {
  font-size: 14px;
}

footer li {padding-bottom: 12px;}

/* Img - obrazki */
a img:hover {
  opacity: 0.65;
}
a img {opacity: 1;
  transition: opacity 0.7s ease;}

/* Scrollbar*/

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #dedede;
}

::-webkit-scrollbar-thumb {
  background: #c3c3c3;
}

::-webkit-scrollbar-thumb:hover {
  background: #272727;
}

/* Stale klasy */

@media (min-width:768px) {
  .d-none {
      display: none!important;
  }
  .d-hidden {
      visibility: hidden;
  }
  .d-centered {margin: auto;}
}

@media (max-width:767px) {
  .m-none {
      display: none!important;
  }
  .m-hidden {
      visibility: hidden;
  }

  .m-centered {margin: auto;}
}

*,
:after,
:before {
  background-repeat: no-repeat;
  box-sizing: border-box
}

:after,
:before {
  text-decoration: inherit;
  vertical-align: inherit
}

:where(:root) {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  cursor: default;
  line-height: 1.5;
  tab-size: 4
}

:where(body) {
  margin: 0
}

:where(hr) {
  color: inherit;
  height: 0
}

:where(nav) :where(ol, ul) {
  list-style-type: none;
  padding: 0
}

:where(pre) {
  font-family: monospace, monospace;
  font-size: 1em;
  overflow: auto
}

:where(button, [type=button i], [type=reset i], [type=submit i]) {
  appearance: button
}

:where(textarea) {
  margin: 0;
  resize: vertical
}

:where([type=search i]) {
  appearance: textfield;
  outline-offset: -2px
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto
}

::input-placeholder {
  color: inherit;
  opacity: .54
}

::-webkit-search-decoration {
  appearance: none
}

::-webkit-file-upload-button {
  appearance: button;
  font: inherit
}

:where(details>summary:first-of-type) {
  display: list-item
}

:where([aria-busy=true i]) {
  cursor: progress
}

:where([aria-disabled=true i], [disabled]) {
  cursor: not-allowed
}

:where([aria-hidden=false i][hidden]) {
  display: initial
}

:where([aria-hidden=false i][hidden]:not(:focus)) {
  clip: rect(0, 0, 0, 0);
  position: absolute
}

@media(prefers-reduced-motion:reduce) {
  *,
  :after,
  :before {
      animation-delay: -1ms !important;
      animation-duration: 1ms !important;
      animation-iteration-count: 1 !important;
      background-attachment: initial !important;
      scroll-behavior: auto !important;
      transition-delay: 0s !important;
      transition-duration: 0s !important
  }
}

a:focus,
button:focus,
div[tabindex]:focus,
input:focus,
select:focus,
textarea:focus {
  opacity: 1;
  outline:none;
}




hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}


code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}


small {
  font-size: 80%;
}


sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}


button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}


button,
input { /* 1 */
  overflow: visible;
}


button,
select { /* 1 */
  text-transform: none;
}


button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}


button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}


fieldset {
  padding: 0.35em 0.75em 0.625em;
}

figure {
  margin-inline-start: 0px; 
  margin-inline-end: 0px;
  margin-block-end: 0px;
  margin-block-start: 0px;}

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

progress {
  vertical-align: baseline;
}


textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}



[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}


[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}


details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}


[hidden] {
  display: none;
}

#top {visibility: hidden;}

header p {margin-top: 0px; margin-bottom:0px;}

.hamburger {
flex-shrink: 0;
position: relative;
}

body:not(.js-nav-active) .nav-toggle .hamburger::after,body:not(.js-nav-active) .nav-toggle:focus .hamburger::after {
width: 80%;
}

body:not(.js-nav-active) .nav-toggle:hover .hamburger::after {
width: 100%;
}

.js-nav-active .hamburger::after,.js-nav-active .hamburger::before {
left: 0;
top: 0;
}

  /* close */

#nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(-45deg);
  background-color: #212121;
}

#nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(45deg);
  background-color: #212121;
  }

  #nav-toggle[aria-expanded="true"] .hamburger {
      background-color:transparent;
      }

.js-nav-active .hamburger {
background-color: transparent;
}

.nav-toggle {
z-index: 9999; 
align-items: center;
background-color: transparent;
border: 0;
cursor: pointer;
display: flex;
height: 1.25rem;
justify-content: center;
margin: 0;
opacity: 1;
overflow: visible;
padding: 0;
text-decoration: none;
-webkit-user-select: none;
      user-select: none;
}

/* Menu mobile */
@media only screen and (max-width: 767px) {
.menu-items ul {
display: none;
}
ul .sub-menu.toggled-on {
display: block;
}
}

@media screen and (max-width: 767px) {
.site-header {
background-color: inherit;
}
.menu-item a {
color: #191919;
opacity: 0.85;
display: block;
    font-size: 10vw;
  letter-spacing:-0.02em;
font-weight: 300;
margin-left: 0;
margin-right: 0;
position: relative;
text-decoration: none;
z-index: 0;
}
.menu-item.current-menu-item > a,.menu-item.current-menu-parent > a {
color: inherit;
opacity: 1;
font-weight:300;
}

.site-header a,.site-header li,.site-header ul {
position: relative;
}
.js-nav-active {
overflow: hidden;
}
.js-nav-active .menu-items-wrapper {
background-color: #e8e6e2;
opacity: 1;
pointer-events: all;
visibility: visible;
height: 100dvh!important;
}

.menu-items-wrapper {
  position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100dvh;
backface-visibility: hidden;
height: auto;
overflow: visible;
pointer-events: none;
visibility: hidden;
width: 100%;
z-index: 5;
display: flex;
flex-wrap: wrap;
align-items: center;
  padding: 30px;
}


.menu-items {
margin: 0;
width:100%;
}

#nav-toggle {
z-index: 9; 
position: relative; 
}

.site-branding {align-self:baseline;}
  
#nav-toggle[aria-expanded="true"] ~ .menu-items-wrapper .site-branding {
  filter: none;
}
}

/* Menu mobile - wrapper */
.menu-items-wrapper .bottom {
margin-top: auto;
display: flex;
justify-content: space-between;
width: 100%;
max-width: 600px;
font-size: 15px;
color: inherit;
opacity: 0;
flex-wrap: wrap;
gap: 30px;
}

.menu-items-wrapper .bottom .left,
.menu-items-wrapper .bottom .right {
display: flex;
flex-direction: column;
gap: 0.3rem;
}

.menu-items-wrapper .bottom .right {
padding-right: 30px;
box-sizing: border-box;
}

.left a, 
.left , 
.right a,
.right p {text-decoration: none; color: inherit; font-weight: lighter;}

/* Sub menu */
@media screen and (max-width: 767px) {
.sub-menu a {
color: rosybrown;
font-size: 16px;
font-weight: 200;
padding-bottom: 11px;
padding-left: 8px;
padding-top: 9px;
}
.sub-menu {
margin-left: 0;
padding-left: 0;
}
.sub-menu .sub-menu a {
padding-left: 47px;
}
.menu-item a:focus,.menu-item a:hover {
color: inherit;
}
.dropdown-toggle {
align-items: center;
background-color: hotpink;
border: 0;
color: floralwhite;
display: inline-flex;
height: 100%;
left: auto;
margin-top: 0;
overflow: hidden;
padding: 10px 11px 12px 13px;
position: absolute;
right: 0;
top: 2px;
z-index: 100;
}
.dropdown-toggle svg {
background-image: url('data:image/svg+xml, %3Csvg xmlns="http://www.w3.org/2000/svg" style="width: var(--dropdown-toggle-size); height: var(--dropdown-toggle-size);" width="10" height="10" viewBox="0 0 10 10"%3E%3Cpath fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5 1.5v7M1.5 5h7"/%3E%3C/svg%3E%0A');
background-size: 100%;
height: 17px;
pointer-events: none;
position: relative;
transform: rotate(0);
transition: all 150ms;
width: 17px;
z-index: -1;
}
.dropdown-toggle svg path {
display: none;
}
.dropdown-toggle.toggled-on svg {
background-image: url('data:image/svg+xml, %3Csvg xmlns="http://www.w3.org/2000/svg" style="width: var(--dropdown-toggle-size); height: var(--dropdown-toggle-size);" width="10" height="10" viewBox="0 0 10 10"%3E%3Cpath fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M1.5 5h7"/%3E%3C/svg%3E%0A');
transform: rotate(-180deg);
}
.dropdown-toggle:hover {
cursor: pointer;
}
.dropdown-toggle:focus {
cursor: pointer;
z-index: 100;
}
.sub-menu .dropdown-toggle {
color: palevioletred;
}
}

.site-header ul {
list-style: none;
}

/* Menu desktop */

@media only screen and (min-width: 768px) {

.nav-toggle {
display: none;
}
.nav-primary {
line-height: 0;
padding-bottom: 0;
padding-top: 0;
}

.menu-item,
.menu-items {
margin: 0;
position: relative;
}

/* Submenu dektop */
.menu-item .sub-menu a {
align-items: center;
color: powderblue;
display: inline-flex;
font-size: 16px;
font-weight: 300;
line-height: 1.5;
padding: 10px 20px;
white-space: normal;
width: 100%;
}
.menu-item.current-menu-item > a,.menu-item.current-menu-parent > a {
color: #212121;
font-weight: 300;
}
.menu-item.menu-item-has-children a {
transition: background-color 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.menu-item > a:focus,.menu-item > a:hover {
color: inherit;
opacity: 0.7;
}
.menu-item .sub-menu a:focus,.menu-item .sub-menu a:hover {
color: green;
}
.menu-item.menu-item-has-children.hover-intent .sub-menu a,.menu-item.menu-item-has-children:focus .sub-menu a {
padding-bottom: 65px;
padding-top: 99px;
}
.menu-item.menu-item-has-children.hover-intent .sub-menu,.menu-item.menu-item-has-children:focus .sub-menu {
padding-bottom: 63px;
padding-top: 19px;
}
.nav-primary > ul:first-of-type > .menu-item-has-children:focus::before,.nav-primary > ul:first-of-type > .menu-item-has-children:hover::before {
transform: scale(1);
transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.no-js .sub-menu {
display: none;
left: unset;
right: 0;
}
.no-js .sub-menu .sub-menu {
left: unset;
right: 100%;
}
.no-js .menu-item-has-children:focus > .sub-menu,.no-js .menu-item-has-children:focus-within > .sub-menu,.no-js .menu-item-has-children:hover > .sub-menu {
display: block;
}
.js .sub-menu {
margin-top: 23px;
opacity: 0;
visibility: hidden;
}
.js .sub-menu .sub-menu {
margin-top: 21px;
}
.sub-menu {
background-color: white;
left: 0;
margin-left: 0;
padding: 0;
position: absolute;
top: 100%;
transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
width: 351px;
z-index: 9;
}
.sub-menu.is-out-of-viewport {
left: unset;
right: 0;
}
.sub-menu .sub-menu.is-out-of-viewport,.sub-menu.is-out-of-viewport .sub-menu {
left: unset;
right: 100%;
}
.sub-menu .sub-menu {
left: 100%;
margin-left: 0;
top: 0;
}
.sub-menu li {
padding: 0;
}
.menu-item-has-children.hover-intent > .sub-menu,.menu-item-has-children:focus > .sub-menu {
opacity: 1;
transform: translateY(0%);
visibility: visible;
z-index: 12;
}
.menu-item-has-children.hover-intent .sub-menu .sub-menu,.menu-item-has-children:focus .sub-menu .sub-menu {
margin-top: 20px;
top: 0;
z-index: 10;
}
.menu-item.menu-item-has-children {
align-items: center;
display: flex;
gap: 20px;
justify-content: space-between;
position: relative;
}
.menu-item.menu-item-has-children::after {
content: "";
display: block;
height: 100px;
max-width: 200px;
position: absolute;
top: 100%;
visibility: hidden;
width: 100%;
}
.menu-item.menu-item-has-children.hover-intent::after {
visibility: visible;
z-index: 100;
}
.dropdown-toggle svg {
height: 20px;
transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
width: 20px;
}
.hover-intent > .dropdown-toggle svg {
transform: rotateX(180deg);
}
.dropdown-toggle {
align-items: center;
background-color: #0000;
border: 0;
color: pink;
display: inline-flex;
justify-content: center;
padding: 0;
pointer-events: none;
}
.sub-menu .dropdown-toggle {
width: 1.875rem;
}
.sub-menu .dropdown-toggle svg {
transform: rotate(-90deg) rotateX(0deg);
}
.sub-menu .hover-intent > .dropdown-toggle > svg {
transform: rotate(-90deg) rotateX(180deg);
}
.sub-menu .menu-item-has-children::after {
display: none;
}
.menu-item.menu-item-has-children.hover-intent > .dropdown-toggle svg,.menu-item.menu-item-has-children:focus > .dropdown-toggle svg {
transform: translateY(0%) rotate(180deg);
}
.menu-item.menu-item-has-children .menu-item.menu-item-has-children.hover-intent > .dropdown-toggle svg,.menu-item.menu-item-has-children .menu-item.menu-item-has-children:focus > .dropdown-toggle svg {
transform: translateY(0%) rotate(90deg);
}
}

@media only screen and (min-width: 768px) and (max-width: 768px) {
ul li:focus > ul,ul li:hover > ul {
display: block;
}
}

/*Custom list*/

.custom-list {
list-style: none;
}

.custom-list li {
position: relative;
padding-left: 20px;
padding-bottom: 10px;
}

.custom-list li::before {
content: "+";
position: absolute;
left: 0;
top: 0;
color: inherit;
font-weight: light;
}

.single-content ul, 
.single-content ol {padding-left: 0px!important;}

/* Tabele */
.wp-block-table td, .wp-block-table th {padding-left: 0px!important;}
.custom-table {margin-left:-5px; font-size:1.1em;}

@media (max-width: 1024px) {
.wp-block-table.custom-table table {
    display: flex;
    flex-wrap: wrap;
}

.wp-block-table.custom-table table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.wp-block-table.custom-table table td {
    width: 50%; 
}
}

/* Usuwanie domyślnego markera w Safari */
details summary {
  list-style: none;
  -webkit-appearance: none; /* Specyficzne dla Safari */
  appearance: none;
  cursor: pointer;
}

/* Ukrywanie markera w Safari */
details summary::-webkit-details-marker {
  display: none;
}

/* Dodanie uniwersalnego markera dla otwartych i zamkniętych szczegółów */
details[open] summary::after {
  content: "-";
  font-size: 20px;
  font-weight: 200 !important;
}

details summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 200 !important;
  display: inline-block;
  line-height: 0;
}

details summary::after:hover {cursor: pointer;}

/* Stylizacja kontenera szczegółów */
.wp-block-details {
  border-bottom: none;
  padding-bottom: 30px;
}

/* Ostatni element szczegółów */
.wp-block-details:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Dopasowanie układu szczegółów */
details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  line-height: 1.15;
}

