:where(body .is-layout-flex) {
  gap: 48px;
}

/*PARKIECIK W TLE*/
/* 
#page .block-shortcuts.wp-block-columns::after,
#page .block-shortcuts-two-columns::after,
#page .b-left-text-button-right.wp-block-columns::after,
#page .newsletter-blue::after,
#page .b-top-text-bot-tiles-links::after,
#page .content-404 {
  background: url(/wp-content/uploads/2023/10/mniejszy-parkiet.svg) no-repeat
      center center,
    #192878;
  background-origin: content-box;
} */
/* 
#page .content-404.wp-block-cover span.wp-block-cover__background {
  display: none;
}

@media (max-width: 781px) {
  #page .block-shortcuts.wp-block-columns,
  #page .block-shortcuts-two-columns,
  #page .b-top-text-bot-tiles-links {
    background-repeat: repeat;
  }
} */

/*BLOK 14*/

#page .block-contact {
  margin-left: -160px !important;
  margin-right: -160px !important;
  padding-right: 160px !important;
  padding-left: 160px !important;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-contact h2 {
  margin-bottom: 40px;
}

#page .block-contact p {
  color: #343434;
}

#page .block-contact p:first-of-type,
#page .block-contact p:nth-of-type(2) {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

#page .block-contact .wp-block-columns:first-of-type {
  margin-bottom: 40px;
}

#page .block-contact .wp-block-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#page .block-contact .wp-block-columns p {
  font-size: 16px;
  margin-bottom: 16px;
}

#page .block-contact .wp-block-columns p:nth-of-type(2) {
  font-weight: 400;
}

#page .block-contact .wp-block-columns .wp-block-column {
  background: white;
  box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.06);
  padding: 24px;
  flex-basis: 32.5%;
}

#page .block-contact .wp-block-columns .wp-block-column a:hover {
  text-decoration: none;
}

@media (min-width: 1600px) {
  #page .block-contact {
    margin-left: -200px !important;
    margin-right: -200px !important;
    padding-right: 200px !important;
    padding-left: 200px !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-contact {
    margin-left: -30px !important;
    margin-right: -30px !important;
    padding: 40px 30px !important;
    gap: 2em 100px;
  }

  #page .block-contact .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 781px) {
  #page .block-contact {
    margin: 40px -20px !important;
    padding: 40px 20px !important;
    gap: 2em 40px;
  }

  #page .block-contact .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (min-width: 2500px) {
  #page .block-contact {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }
  #page .block-contact > .wp-block-column {
    max-width: 1600px;
    margin: auto;
  }
}

/*BLOK 15 (lista odnośników i stron)*/

#page .block-link-list {
  margin: 40px 0 100px 0 !important;
}

#page .block-link-list li::marker {
  font-size: 0;
}

#page .block-link-list li {
  position: relative;
  padding: 0;
  border-bottom: solid 1px #afe1fa;
  line-height: 1.5em;
  padding-right: 32px;
}

#page .block-link-list a {
  color: #343434;
  text-decoration: none;
  width: 100%;
  display: flex;
  min-height: 72px;
  align-items: center;
}

#page .block-link-list li:hover a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page .block-link-list a::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Buttons.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  padding: 9px;
  position: absolute;
  right: 0;
  top: 33%;
}

#page .block-link-list li:hover a::after {
  background: url(/wp-content/uploads/2023/10/Arrow-hover.svg);
  background-size: 24px;
  width: 24px;
  height: 24px;
}

#page .block-page-list .wp-block-navigation__submenu-container {
  display: none;
}

#page .block-page-list {
  margin: 40px 0 100px 0 !important;
}

#page .block-page-list a {
  color: #343434;
  text-decoration: none;
  width: 100%;
  display: flex;
  min-height: 72px;
  align-items: center;
}

#page .block-page-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page .block-page-list li::marker {
  font-size: 0;
}

#page .block-page-list a::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Buttons.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  padding: 9px;
  position: absolute;
  right: 0;
  top: 33%;
}

#page .block-page-list li:hover a::after {
  background: url(/wp-content/uploads/2023/10/Arrow-hover.svg);
  background-size: 24px;
  width: 24px;
  height: 24px;
}

#page .block-page-list li {
  position: relative;
  padding: 0;
  border-bottom: solid 1px #afe1fa;
  line-height: 25px;
  padding-right: 32px;
}

@media (max-width: 781px) {
  #page .block-link-list,
  #page .block-page-list {
    margin: 0 !important;
  }
}

/*BLOK 16*/

#page .block-with-form {
  margin-left: -160px !important;
  margin-right: -160px !important;
  padding-right: 160px !important;
  padding-left: 160px !important;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-with-form .email img,
#page .block-with-form .phone img {
  width: 18px !important;
  margin-right: 8px;
}

#page .block-with-form .email a,
#page .block-with-form .phone a {
  text-decoration: none;
}

#page .block-with-form .email a:hover,
#page .block-with-form .phone a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-with-form .wp-block-column:first-of-type {
  padding: 40px 0;
}

#page .block-with-form .wp-block-columns .wp-block-column:first-of-type {
  padding: 0;
}

#page .block-with-form .wp-block-column:nth-of-type(2) {
  background: white;
  box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.06);
  padding: 40px;
}

#page .block-with-form .wp-block-columns .wp-block-column:nth-of-type(2) {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#page .block-with-form .wp-block-columns {
  gap: 8px;
}

#page .block-with-form .wp-block-columns a:hover {
  text-decoration: none;
}

#page .block-with-form .wp-block-columns p {
  margin-bottom: 0;
}

#page .block-with-form .uew-cf-short label,
#page .block-with-form .uew-cf-short .wpcf7-list-item-label {
  color: #4a4a49;
  margin-bottom: 8px;
}

#page .block-with-form .uew-cf-short input {
  border: 1px solid #9c9ea5;
  padding: 8px;
}

#page .block-with-form .uew-cf-short input:focus {
  border: 2px solid #f89324 !important;
}

#page .block-with-form .uew-cf-short .bst-span-checkbox {
  background: white;
  border: solid 1px #adadad;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  margin-top: 3px;
}

#page .block-with-form .uew-cf-short .wpcf7-list-item-label {
  margin-left: 24px;
}

#page .block-with-form .uew-cf-short .uew-cf-short-btn {
  color: white;
  background-color: #192878;
  border: solid 1px #192878;
  letter-spacing: normal;
  padding: 12px;
}

#page .block-with-form .uew-cf-short .uew-cf-short-btn:hover {
  color: #192878;
  background-color: white;
}

#page .block-with-form .wpcf7-list-item {
  margin-left: 0;
}

#page .block-with-form .bst-span-checkbox:after {
  left: 4px;
  top: -1px;
  width: 8px;
  height: 14px;
  border: solid #192878;
  border-width: 0 3px 3px 0 !important;
}

@media (min-width: 1600px) {
  #page .block-with-form {
    margin-left: -200px !important;
    margin-right: -200px !important;
    padding-right: 200px !important;
    padding-left: 200px !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-with-form {
    margin-left: -30px !important;
    margin-right: -30px !important;
    padding: 40px 30px !important;
    gap: 2em 100px;
  }
}

@media (max-width: 781px) {
  #page .block-with-form {
    margin: 40px -20px !important;
    padding: 40px 20px !important;
    gap: 2em 40px;
  }

  #page .block-with-form .wp-block-columns {
    display: grid;
    grid-template-columns: 72px 1fr;
  }

  #page .block-with-form .wp-block-column:first-of-type {
    padding: 40px 0 0 0;
  }
}

@media (min-width: 2500px) {
  #page .block-with-form {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc((100vw - 1600px) / 2) !important;
    padding-right: calc((100vw - 1600px) / 2) !important;
  }
}

/*BLOK 17*/

#page .block-two-tiles-gradient .wp-block-column:first-of-type {
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
}

#page .block-two-tiles-gradient .wp-block-column:nth-of-type(2) {
  border: solid 1px #f8b20e;
}

#page .block-two-tiles-gradient .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
}

#page .block-two-tiles-gradient .wp-block-column p {
  margin-bottom: 0;
}

#page .block-two-tiles-gradient .wp-block-column p:first-of-type {
  font-size: 1.25em;
  color: #343434;
  font-weight: 600;
}

#page .block-two-tiles-gradient .wp-block-buttons {
  margin-top: 0;
}

#page .block-two-tiles-gradient .wp-block-buttons a {
  color: #192878;
  background: 0 0;
  padding: 0;
  border: none;
}

#page .block-two-tiles-gradient .wp-block-buttons a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 781px) {
  #page .block-two-tiles-gradient {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    gap: 0;
  }
}

/*BLOK 18*/

#page .block-tiles {
  margin-left: -160px;
  margin-right: -160px;
  padding-left: 160px;
  padding-right: 160px;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-tiles .wp-block-columns .wp-block-column {
  padding: 32px;
  background: #fff;
  box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#page .block-tiles img {
  width: 32px;
  height: 32px;
  padding: 8px;
  background: rgba(250, 175, 15, 0.3);
  position: relative;
  z-index: 9;
}

#page .block-tiles .wp-block-columns .wp-block-column p {
  margin-bottom: 0;
}

#page .block-tiles .wp-block-columns .wp-block-column p:first-of-type {
  font-size: 1.25em;
  color: #343434;
  font-weight: 600;
}

#page .block-tiles .wp-block-buttons {
  margin-top: 0;
}

#page .block-tiles .wp-block-buttons a {
  color: #192878;
  background: 0 0;
  padding: 0;
  border: none;
}

#page .block-tiles .wp-block-buttons a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (min-width: 1600px) {
  #page .block-tiles {
    margin-left: -200px;
    margin-right: -200px;
    padding-left: 200px;
    padding-right: 200px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-tiles {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 781px) {
  #page .block-tiles {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  #page .block-tiles .wp-block-columns {
    margin-top: 24px !important;
    gap: 1em 24px;
  }
}

@media (min-width: 2500px) {
  #page .block-tiles {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  #page .block-tiles > .wp-block-column {
    max-width: 1600px;
    margin: auto;
  }
}

/*BLOK 19*/

#page .image-slider {
  margin-top: 100px !important;
}

#page .image-slider h2:first-of-type,
#page .image-slider p:first-of-type {
  margin-right: 40% !important;
}

#page .image-slider p:first-of-type {
  line-height: 25px;
  margin-top: 1em;
}

#page .image-slider h2,
#page .image-slider p,
#page .image-slider div {
  max-width: none;
}

#page .block-image-slider {
  margin: 100px 0;
  position: relative;
}

#page .block-image-slider img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

#page .block-image-slider button {
  position: absolute;
  top: -80px;
  background: 0 0;
  border: solid 1px #192878;
  border-radius: 0;
  padding: 0;
}

#page .block-image-slider .slick-prev {
  left: auto;
  right: 64px;
}

#page .block-image-slider .spectra-image-gallery__control-arrows svg {
  display: none;
}

#page .block-image-slider .slick-prev::before {
  content: "";
  display: inline-flex;
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7.svg);
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 22px;
  width: 16px;
  height: 14px;
}

#page .block-image-slider button:hover {
  background: #192878;
}

#page .block-image-slider .slick-prev:hover::before {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-3.svg);
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 22px;
  width: 16px;
  height: 14px;
}

#page .block-image-slider .slick-prev.slick-disabled:hover::before {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7.svg);
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 22px;
  width: 16px;
  height: 14px;
}

#page .block-image-slider .slick-disabled:hover {
  background: transparent;
}

#page .block-image-slider .slick-next::before {
  content: "";
  display: inline-flex;
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-1.svg);
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 22px;
  width: 16px;
  height: 14px;
}

#page .block-image-slider .slick-next:hover::before {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-2.svg);
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 22px;
  width: 16px;
  height: 14px;
}

#page .block-image-slider .slick-next.slick-disabled:hover::before {
  background: url(/wp-content/uploads/2023/10/Arrow-Copy-7-1.svg);
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 22px;
  width: 16px;
  height: 14px;
}

#page .block-image-slider .slick-disabled {
  opacity: 0.35;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-image-slider .spectra-image-gallery__media-wrapper {
    padding: 0 8px;
  }
}

@media (max-width: 781px) {
  #page .image-slider h2:first-of-type,
  #page .image-slider p:first-of-type {
    margin-right: 0 !important;
  }

  #page .block-image-slider {
    margin: 40px 0 150px 0;
  }

  #page .block-image-slider button {
    top: 40vw;
  }

  #page .block-image-slider .slick-prev {
    left: auto;
    right: 65px;
  }

  #page .block-image-slider .slick-next {
    left: auto;
    right: 0;
  }
}

@media (max-width: 762px) {
  #page .block-image-slider button {
    top: 80vw;
  }
}

/*--------------------------------------------*/

/*BLOK 20 (IIC.7)*/

#page .white-block-info-cta {
  position: relative;
  margin-top: 100px;
  margin-bottom: 100px;
  min-height: 415px;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .white-block-info-cta::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Mask-group.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
}

#page .white-block-info-cta h2 {
  margin-bottom: 24px;
}

#page .white-block-info-cta p {
  margin-bottom: 48px;
}

#page .white-block-info-cta p:first-child {
  color: #192878 !important;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
}

#page .white-block-info-cta .wp-block-cover__inner-container{
  z-index: 9;
}

@media (max-width: 781px) {
  #page .white-block-info-cta {
    margin-top: 40px;
    margin-bottom: 40px;
    min-height: 350px;
  }
}

/*BLOK 21 (IIB.18)*/

#page .block-person {
  margin: 100px 0;
  display: flex;
  justify-content: center;
}

#page .block-person .wp-block-column {
  display: flex;
  flex-direction: column;
}

#page .block-person .wp-block-columns {
  margin-top: 0;
  margin-bottom: 1em;
}

/*
#page .block-person .wp-block-column:first-of-type {
  position: relative;
}


#page .block-person .wp-block-column:first-of-type::after {
  content: "";
  background: linear-gradient(136.49deg, #fcfdff 0%, #eef3fa 102.74%);
  height: 50%;
  width: 250px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  margin-top: -50px;
  margin-right: 0;
  margin-left: -50px;
} */
/* 
#page .block-person.without-background .wp-block-column:first-of-type::after {
    display: none;
} */

#page .block-person .wp-block-columns .wp-block-column p:first-of-type,
#page .block-person .wp-block-columns .wp-block-column p:nth-of-type(3) {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

#page .block-person .wp-block-column p:first-of-type,
#page .block-person .wp-block-column p:nth-of-type(3) {
  font-size: 18px;
  font-weight: 600;
}

#page .block-person .wp-block-buttons {
  margin-top: auto;
}
/* #page .block-person .wp-block-buttons,
#page .block-person .wp-block-button,
#page .block-person .wp-block-buttons a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
} */

#page .block-person .block-person-header {
  font-size: 2em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.33px;
  line-height: 38px;
}

#page .block-person img {
  height: 400px;
  object-fit: cover;
  width: 100%;
  margin-bottom: 16px;
}

#page .block-person p {
  margin-bottom: 1em;
}

/* #page .block-person .wp-block-columns .wp-block-column a {
  text-decoration: none;
  transition: 0.4s;
} */

#page .block-person.wp-block-columns .wp-block-column a:hover {
  text-decoration: none;
}

@media (max-width: 1200px) {
  #page .block-person {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 781px) {
  #page .block-person .wp-block-column {
    margin-bottom: 0;
  }

  #page .block-person .wp-block-columns {
    display: grid;
    grid-template-columns: 64px 1fr;
  }

  #page .block-person img {
    height: 350px;
    width: 100%;
    padding: 0 15%;
  }
}

@media (max-width: 500px) {
  #page .block-person {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-top: 5%;
    margin-top: 30px;
  }

  #page .block-person .wp-block-column {
    flex-basis: 100%;
  }
}

/* #page .block-person .wp-block-column:first-of-type::after {
    /* height: 25%; 
    display: none;
*/

/*BLOK 22 (IIC.6)*/


.tnp-subscription input:focus {
  border: solid 3.5px #f89324;
}

.tnp-subscription input[type="email"].tnp-email {
  float: left;
  width: 91%;
  height: 56px;
  border-radius: 0;
}

.tnp-subscription input[type="email"]::-webkit-input-placeholder {
  font-weight: 500px;
  color: #000;
}

.tnp-subscription input[type="email"]::-moz-placeholder {
  font-weight: 500px;
  color: #000;
}

.tnp-subscription input[type="email"]:-ms-input-placeholder {
  font-weight: 500px;
  color: #000;
}

.tnp-subscription input[type="email"]::-ms-input-placeholder {
  font-weight: 500px;
  color: #000;
}

.tnp-subscription input[type="email"]::placeholder {
  font-weight: 500px;
  color: #000;
}

.tnp-subscription input[type="submit"].tnp-submit {
  height: 56px;
  background-color: #192878;
  padding-left: auto;
  padding-right: auto;
  font-weight: 500;
  border-radius: 0;
  transition: 0.4s ease;
  /* width: 30%; */
  margin-top: 0;
}

.tnp-subscription .tnp-field.tnp-field-button {
  display: flex;
  justify-content: center;
}

.tnp.tnp-subscription {
  position: relative;
  z-index: 9;
}

.newsletter-dark .tnp-subscription input[type="submit"].tnp-submit {
  background-color: #192878;
}

.newsletter-blue .tnp-subscription input[type="submit"].tnp-submit {
  color: white;
  border: 1px solid white;
  transition: 0.5s;
  position: relative;
  z-index: 9;
}

.newsletter-blue .tnp-subscription input[type="submit"].tnp-submit:hover {
  background-color: white;
  color: #192878;
  border-left: 1px solid #192878;
}

/* .tnp-subscription div.tnp-field.tnp-privacy-field {
  overflow: hidden;
  margin-top: 1.5em;
} */

.tnp-subscription .tnp-privacy-field label {
  line-height: 1em;
  margin-left: 24px;
  margin-top: 1em;
  color: white;
}

.tnp-subscription .tnp-privacy-field a {
  color: #fff;
  vertical-align: 10px;
  text-decoration: none;
  margin-left: 0 !important;
}

.tnp-subscription .tnp-privacy-field a:hover {
  text-decoration: underline;
}

.tnp-subscription input[type="checkbox"].tnp-privacy {
  border-radius: 4px;
  opacity: 1 !important;
  width: 16px !important;
  height: 16px !important;
  left: -24px;
}

.newsletter-blue .tnp .tnp-field.tnp-field-email label {
  color: white;
  margin-bottom: 8px;
}

#page .newsletter-blue {
  height: auto;
  padding: 100px 25vw;
  background: #192878;
  position: relative;
}

#page .newsletter-blue::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Mask-group-1.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
}

#page .newsletter-blue h2,
#page .newsletter-blue h3,
#page .newsletter-blue h4,
#page .newsletter-blue h5,
#page .newsletter-blue h6 {
  color: white;
}

#page .newsletter-blue h2 {
  text-transform: uppercase;
}

#page .newsletter-blue p {
  color: #fff;
}

.tnp.tnp-form.tnp-profile {
  max-width: 800px;
  margin: inherit;
}

.tnp.tnp-form.tnp-profile .tnp-field {
  display: flex;
  flex-direction: column;
}

.tnp.tnp-form.tnp-profile label {
  color: #4a4a49;
  margin-bottom: 8px;
}

.tnp.tnp-form.tnp-profile input {
  border: 1px solid #9c9ea5;
  padding: 8px;
  margin-bottom: 22px;
  background-color: #9c9ea50d;
}

.tnp.tnp-form.tnp-profile .tnp-field-button {
  display: block;
  margin-top: 16px;
}

.tnp.tnp-form.tnp-profile .tnp-field-button input {
  padding: 8px 16px !important;
  background-color: #192878;
}

.tnp.tnp-form.tnp-profile .tnp-field-button input:hover {
  color: #192878;
  border-color: #192878;
}

.tnp.tnp-form.tnp-profile input:focus {
  border: solid 2px #f89324;
}

@media (orientation: landscape) {
  #page .newsletter-blue {
    padding: 100px 10vw;
  }
}

@media (max-width: 1400px) and (orientation: portrait) {
  #page .newsletter-blue {
    padding: 100px 30px;
  }
}

@media (max-width: 781px) {
  #page .newsletter-blue {
    padding: 40px 20px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

@media (min-width: 2500px) {
  #page .newsletter-blue {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }
}


/*BLOK 23 (IIC.8)*/

#page .b-left-text-button-right {
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  gap: 100px;
  height: auto;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

#page .b-left-text-button-right::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Mask-group-2.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
}

.b-left-text-button-right h2 {
  text-transform: uppercase;
}

.b-left-text-button-right .wp-block-button a {
  position: relative;
  z-index: 9;
}

.b-left-text-button-right .wp-block-button a:hover {
  background-color: white;
}

@media (max-width: 781px) {
  #page .b-left-text-button-right .wp-block-buttons {
    justify-content: flex-start;
  }

  #page .b-left-text-button-right {
    gap: 0;
    padding: 40px 20px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .b-left-text-button-right .wp-block-button a {
    width: 100%;
  }
}

@media (min-width: 1920px) {
  #page .b-left-text-button-right {
    max-height: 406px;
  }

  .b-left-text-button-right p {
    max-width: 85%;
  }
}

@media (min-width: 2500px) {
  #page .b-left-text-button-right {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc((100vw - 1600px) / 2) !important;
    padding-right: calc((100vw - 1600px) / 2) !important;
    gap: 0;
  }

  #page .b-left-text-button-right p {
    max-width: 100%;
  }
}

/*BLOK 24 (IIC.12)*/

#page .accordion-sideways-container {
  margin: 100px 0;
  gap: 100px;
}

#page .accordion-sideways-container .wp-block-column:nth-of-type(2) figure {
  position: relative;
  margin-right: 0 !important;
}

#page
  .accordion-sideways-container
  .wp-block-column:nth-of-type(2)
  figure::after {
  position: absolute;
  content: "";
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  height: 100%;
  width: 60%;
  right: 0;
}

#page .accordion-sideways-container .wp-block-column:first-child h2 {
  font-size: 2.8em;
  line-height: 58px;
}

.accordion-sideways-container .accordion-sideways-container__img--size img {
  height: 380px;
  position: relative;
  z-index: 9;
  padding: 24px 12% 24px 24px;
}

#page .accordion-sideways {
  margin: 40px 0 0 0;
  max-width: none;
  margin-left: 0;
  position: relative;
}

#page .accordion-sideways-container .wp-block-uagb-faq-child {
  border: solid 1px #afe1fa;
}

#page
  .accordion-sideways-container
  .wp-block-uagb-faq-child
  .uagb-faq-questions-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page
  .accordion-sideways-container
  .wp-block-uagb-faq-child.uagb-faq-item-active
  .uagb-faq-questions-button {
  background-color: #afe1fa;
}

#page .accordion-sideways .uagb-faq-questions-button.uagb-faq-questions {
  border: solid 1px transparent;
  padding: 16px;
  background: white;
}

#page .accordion-sideways .uagb-faq-content {
  position: absolute;
  right: 0;
  left: 100%;
  top: 0;
  margin-right: -100%;
  margin-left: 30px;
  padding: 30px;
  background-color: white;
  border: solid 1px #afe1fa;
  z-index: 99;
}

#page .accordion-sideways .uagb-faq-item-active p,
#page .accordion-sideways .uagb-faq-item:hover .uagb-question {
  color: #192878;
}

#page .accordion-sideways .uagb-faq-icon-wrap svg {
  width: 18px;
  height: 18px;
  fill: #192878;
}

@media (max-width: 781px) {
  #page .accordion-sideways-container {
    margin: 40px 0;
  }

  #page .accordion-sideways-container .wp-block-column:nth-child(2) {
    display: none;
  }

  #page .accordion-sideways {
    width: 100%;
  }

  #page .accordion-sideways .uagb-faq-content {
    position: inherit;
    left: 0;
    margin: 0;
    padding: 10px;
  }

  #page .accordion-sideways .uagb-faq-item-active .uagb-faq-icon-wrap svg {
    transform: rotate(90deg);
  }

  #page .accordion-sideways .uagb-faq-item-active .uagb-faq-questions {
    border: none;
  }
}

/*BLOK 25 (IIC.13)*/

#page .block-left-photo-and-buttons {
  margin: 100px 0;
}

#page .block-left-photo-and-buttons .wp-block-column:first-child img {
  min-height: 350px;
  max-height: 500px;
  object-fit: cover;
}

#page .button-arrow {
  position: relative;
  background: transparent;
  color: #192878;
  border-bottom: solid 1px #afe1fa;
  margin: 8px 0;
  padding: 16px 0;
  gap: 0;
}

#page .button-arrow p {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#page .button-arrow img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  padding: 16px 0 16px 92%;
}

#page .button-arrow .wp-block-column:nth-of-type(2) figure:nth-of-type(2) {
  display: none;
}

#page .button-arrow:hover .wp-block-column:nth-of-type(2) figure:first-of-type {
  display: none;
}

#page
  .button-arrow:hover
  .wp-block-column:nth-of-type(2)
  figure:nth-of-type(2) {
  display: block;
}

#page .button-arrow:hover p {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .button-arrow .wp-block-column {
  background: transparent;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-left-photo-and-buttons {
    gap: 24px;
  }

  #page .button-arrow img {
    width: 100%;
    height: 58px;
    padding: 16px 0 16px 92%;
  }

  #page .button-arrow p {
    display: block;
    width: 85%;
  }
}

@media (max-width: 781px) {
  #page .block-left-photo-and-buttons {
    margin: 40px 0;
    gap: 0;
  }

  #page .block-left-photo-and-buttons .button-arrow {
    gap: 0;
  }

  #page .block-left-photo-and-buttons .button-arrow {
    margin-bottom: 0;
  }

  #page .button-arrow {
    padding: 20px 12px;
  }

  #page .button-arrow img {
    width: 100%;
    height: 54px;
    padding: 16px 0 16px 94%;
  }

  #page .button-arrow p {
    display: block;
    width: 85%;
  }

  #page .button-arrow .wp-block-column {
    margin-bottom: 0;
  }

  #page .block-left-photo-and-buttons .wp-block-column:first-child img {
    min-height: 330px;
  }
}

@media (max-width: 450px) {
  #page .button-arrow {
    padding: 16px 0;
  }

  #page .button-arrow img {
    width: 100%;
    height: 54px;
    padding: 0 0 0 94%;
  }
}

/*BLOK 26 (Jakość Pogody)*/

#page .block-air-quality {
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  ) !important;
}

#page .block-air-quality .airQuality__heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
}

#page .block-air-quality .airQuality__heading::before {
  content: "";
  background: url(/wp-content/uploads/2023/10/Icon.svg);
  background-size: 35px;
  width: 35px;
  height: 35px;
  background-repeat: no-repeat;
}

#page .block-air-quality img {
  display: none;
}

#page .block-air-quality .airQuality__content {
  display: flex;
  flex-direction: column;
  align-self: center;
}

#page .block-air-quality .airQuality__content span {
  color: #192878;
}

#page .block-air-quality .airQuality__description {
  font-size: 18px;
  color: #343434;
  margin-bottom: 16px;
}

#page .block-air-quality .airQuality__content sup,
#page .block-air-quality .airQuality__dataSource {
  color: #4a4a49;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 24px;
}

@media (max-width: 781px) {
  #page .block-air-quality {
    margin: 40px -20px;
  }
}

@media (min-width: 2500px) {
  #page .block-air-quality {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc((100vw - 1600px) / 2) !important;
    padding-right: calc((100vw - 1600px) / 2) !important;
  }
}

/*BLOK 28 (IID.10)*/

#page .block-right-photo-2 {
  margin: 100px -160px;
  padding: 100px 160px 140px 160px;
  gap: 150px;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-right-photo-2 .wp-block-column:nth-child(2) .wp-block-image {
  position: relative;
  text-align-last: right;
}

/* #page
  .block-right-photo-2
  .wp-block-column:nth-child(2)
  .wp-block-image::before {
  content: "";
  background: #3758f9;
  height: 22px;
  width: 50%;
  position: absolute;
  bottom: 20%;
} */

#page
  .block-right-photo-2
  .wp-block-column:nth-child(2)
  .wp-block-image::after {
  content: "";
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  height: 75%;
  width: 70%;
  position: absolute;
  right: 0;
  z-index: 0;
  margin-right: 0;
  bottom: -10%;
}

#page .block-right-photo-2 .wp-block-column:nth-child(2) .wp-block-image img {
  padding: 0 64px 0 0;
  max-height: 645px;
  object-fit: cover;
  position: relative;
  z-index: 9;
}

@media (min-width: 1600px) {
  #page .block-right-photo-2 {
    margin: 100px -200px;
    padding: 100px 200px 140px 200px;
    gap: 150px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-right-photo-2 {
    margin: 100px -30px;
    padding: 60px 30px 80px 30px;
    gap: 50px;
  }
}

@media (max-width: 781px) {
  #page .block-right-photo-2 {
    margin: 40px -20px;
    padding: 40px 20px 40px 20px;
    gap: 80px;
    display: flex;
    flex-direction: column-reverse;
  }

  #page .block-right-photo-2 .wp-block-column {
    margin-bottom: 0;
  }
}

@media (min-width: 2500px) {
  #page .block-right-photo-2 {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc((100vw - 1600px) / 2) !important;
    padding-right: calc((100vw - 1600px) / 2) !important;
  }
}

/*BLOK 29 (IID.11)*/

#page .block-left-photo {
  margin: 100px 0;
  gap: 150px;
}

#page .block-left-photo ul li {
  padding-bottom: 18px;
}

#page .block-left-photo .wp-block-image figcaption {
  padding: 16px 0;
  margin-left: 16px;
  color: #343434;
}

#page .block-left-photo .wp-block-column:first-child .wp-block-image img {
  padding: 0 16px 0 16px;
  max-height: 645px;
  object-fit: cover;
  width: 100%;
}

#page .block-left-photo .wp-block-column:first-child .wp-block-image {
  position: relative;
  width: 100%;
}

#page .block-left-photo .wp-block-column:first-child .wp-block-image::after {
  content: "";
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
  height: 70%;
  width: 100%;
  position: absolute;
  right: 0;
  z-index: -1;
  margin-right: 0;
  bottom: -8%;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-left-photo {
    margin: 40px 0;
    gap: 50px;
  }
}

@media (max-width: 781px) {
  #page .block-left-photo {
    margin: 40px 0;
    gap: 60px;
  }

  #page .block-left-photo .wp-block-column:first-child .wp-block-image::after {
    bottom: -40px;
  }
}

/*BLOK 30 (IID.15) - Pliki do pobrania*/

#page .block-download {
  margin: 100px -160px !important;
  padding: 100px 160px;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

#page .block-download h2 {
  font-size: 2.8em !important;
  text-transform: none !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  margin-bottom: 80px !important;
}

#page .block-download .wp-block-columns {
  margin: 0;
  gap: 160px;
}

#page .block-download .wp-block-column p:first-of-type {
  font-size: 24px !important;
  font-weight: 600 !important;
  margin-bottom: 24px !important;
}

#page .wp-block-file-wrap:first-of-type {
  border-top: none !important;
}

#page .wp-block-file-wrap {
  border-bottom: 1px solid #afe1fa;
  padding: 16px 72px 16px 0;
  position: relative !important;
}

#page .wp-block-file a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page .wp-block-file-type,
#page .wp-block-file-size {
  font-weight: 400 !important;
}

#page .wp-block-file-size::after,
#page .wp-block-file-type::before {
  display: none !important;
}

#page .wp-block-file-wrap {
  justify-content: space-between !important;
}

#page .wp-block-file a:first-of-type::before {
  position: absolute !important;
  right: 0 !important;
  content: url(/wp-content/uploads/2023/10/Group.svg) !important;
  padding-right: 0 !important;
}

#page .wp-block-file-wrap .type-and-size {
  margin-right: 8% !important;
}

#page .wp-block-file-wrap span.wp-block-file-type,
#page .wp-block-file-wrap .type-and-size {
  margin-left: 0 !important;
}

@media (min-width: 1600px) {
  #page .block-download {
    margin: 100px -200px !important;
    padding: 100px 200px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-download {
    margin: 100px -30px !important;
    padding: 100px 30px;
  }

  #page .block-download .wp-block-columns {
    gap: 40px;
  }

  #page .wp-block-file-wrap .type-and-size,
  #page .wp-block-file-wrap span.wp-block-file-type {
    margin-left: 0;
  }
}

@media (max-width: 781px) {
  #page .block-download {
    margin: 40px -20px !important;
    padding: 40px 20px;
  }

  #page .block-download .wp-block-columns {
    gap: 40px;
  }

  #page .wp-block-file-wrap .type-and-size,
  #page .wp-block-file-wrap span.wp-block-file-type {
    margin-left: 0;
  }
}

@media (min-width: 2500px) {
  #page .block-download {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  #page .block-download > .wp-block-column {
    max-width: 1600px;
    margin: auto;
  }
}

/*BLOK DODATKOWY 2 (skacząca dziewczyna)*/

#page .block-one-person {
  margin: 100px -160px;
  padding: 0 160px !important;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
  gap: 24px;
  position: relative;
}

#page .block-one-person .is-vertically-aligned-center {
  align-self: flex-start !important;
}

#page .block-one-person h2 {
  margin-top: 100px;
  margin-bottom: 40px;
}

#page .block-one-person .inside-columns {
  position: relative;
  z-index: 9;
  gap: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#page .block-one-person .inside-columns.one-column {
  display: flex;
  margin-bottom: 100px;
}

#page .block-one-person .inside-columns.one-column .wp-block-column {
  min-height: 260px;
}

#page .block-one-person .inside-columns .wp-block-column {
  padding: 32px;
  background: white;
  box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  height: 100%;
}

#page
  .block-one-person
  .inside-columns
  .wp-block-column:nth-of-type(2)
  figure::after {
  display: none;
}

#page .block-one-person .inside-columns .wp-block-column:nth-of-type(2) figure {
  margin-right: 0;
  margin-left: 0;
}

#page .block-one-person .inside-columns p:first-of-type {
  font-size: 1.25em;
  color: #343434;
  font-weight: 600;
}

#page .block-one-person .inside-columns p,
#page .block-one-person .inside-columns ul {
  margin-bottom: 0;
}

#page .block-one-person .inside-columns img {
  width: 32px;
  height: 32px;
  padding: 8px;
  background: rgba(250, 175, 15, 0.3);
}

#page .block-one-person .inside-columns .wp-block-buttons {
  margin-top: 0;
}

#page .block-one-person .inside-columns .wp-block-buttons a {
  color: #192878;
  background: transparent;
  padding: 0;
  border: none;
  text-align: left;
}

#page .block-one-person .inside-columns .wp-block-buttons a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-one-person .wp-block-column:nth-of-type(2) img {
  position: relative;
  z-index: 9;
  width: 550px;
  margin-bottom: 50px;
}

#page .block-one-person .wp-block-column:nth-of-type(2) figure {
  margin-right: -100px;
}

#page .block-one-person .wp-block-column:nth-of-type(2) figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 24%;
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
}

#page .block-one-person .one-person img {
  width: 400px;
}

@media (min-width: 1600px) {
  #page .block-one-person {
    margin: 100px -200px;
    padding: 0 200px !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-one-person {
    margin: 100px -30px;
    padding: 0 30px !important;
    flex-direction: column;
  }

  #page .block-one-person .inside-columns,
  #page .block-one-person .inside-columns.one-column {
    margin-bottom: 0;
  }

  #page .block-one-person .inside-columns .wp-block-column {
    min-height: 300px;
  }

  #page .block-one-person .wp-block-column:nth-of-type(2) figure {
    margin-right: 0;
  }

  #page .block-one-person .wp-block-column:nth-of-type(2) figure::after {
    height: 20%;
  }

  #page .block-one-person .one-person::after {
    width: 650px !important;
  }
}

@media (max-width: 781px) {
  #page .block-one-person {
    margin: 40px -20px;
    padding: 0 20px !important;
    flex-direction: column;
  }

  #page .block-one-person h2 {
    margin-top: 40px;
    text-align: center;
  }

  #page .block-one-person .inside-columns {
    margin-bottom: 0;
    grid-template-columns: 1fr;
  }

  #page .block-one-person .inside-columns.one-column {
    margin-bottom: 0;
  }

  #page .block-one-person .inside-columns.one-column .wp-block-column {
    min-height: auto;
  }

  #page .block-one-person .inside-columns .wp-block-column {
    padding: 16px;
    gap: 16px;
    min-height: auto;
  }

  #page .block-one-person .wp-block-column:nth-of-type(2) figure {
    margin: 0;
  }

  #page .block-one-person .wp-block-column:nth-of-type(2) figure::after {
    width: 90%;
    height: 55vw;
  }
}

@media (min-width: 2500px) {
  #page .block-one-person {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: calc((100vw - 1600px) / 2) !important;
    padding-right: calc((100vw - 1600px) / 2) !important;
  }

  #page .block-one-person .wp-block-column:nth-of-type(2) figure::after {
    margin-right: calc((100vw - 1500px) / 2);
  }

  #page .block-one-person .wp-block-column:first-of-type figure::after {
    margin-left: calc((100vw - 1500px) / 2);
  }

  #page .block-one-person .one-person::after {
    width: 650px !important;
  }
}

/*Odbicie lustrzane*/

#page
  .block-one-person
  .inside-columns
  .wp-block-column:first-of-type
  figure::after {
  display: none;
}

#page .block-one-person .inside-columns .wp-block-column:first-of-type figure {
  margin-left: 0;
}

#page .block-one-person .wp-block-column:first-of-type img {
  position: relative;
  z-index: 9;
}

#page .block-one-person .wp-block-column:first-of-type figure {
  margin-left: -100px;
  float: left;
}

#page .block-one-person .wp-block-column:first-of-type figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 535px;
  height: 35%;
  background: var(
    --gradient-yellow,
    linear-gradient(127deg, #f8b20e 0%, #f89324 100%)
  );
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-one-person {
    margin: 100px -30px;
    padding: 0 30px !important;
    flex-direction: column;
  }

  #page .block-one-person .wp-block-column:nth-of-type(2) .inside-columns {
    margin-bottom: 40px;
    grid-template-columns: 1fr;
  }

  #page .block-one-person .inside-columns .wp-block-column {
    min-height: 300px;
  }

  #page .block-one-person .wp-block-column:first-of-type figure {
    margin-left: 0;
    position: relative;
  }

  #page .block-one-person .wp-block-column:first-of-type figure::after {
    height: 515px;
    left: -30px;
    width: 85vw;
  }

  #page .block-one-person h2 {
    margin-top: 40px;
  }
}

@media (max-width: 781px) {
  #page .block-one-person {
    margin: 40px -20px;
    padding: 0 20px !important;
    flex-direction: column;
  }

  #page .block-one-person h2 {
    margin-top: 40px;
    text-align: center;
  }

  #page .block-one-person .wp-block-column:nth-of-type(2) .inside-columns {
    grid-template-columns: 1fr;
  }

  #page
    .block-one-person
    .wp-block-column:nth-of-type(2)
    .inside-columns.one-column {
    margin-bottom: 40px;
  }

  #page .block-one-person .inside-columns .wp-block-column {
    padding: 16px;
    gap: 16px;
    min-height: auto;
  }

  #page .block-one-person .wp-block-column:first-of-type img {
    padding-top: 40px;
    margin-bottom: -40px;
  }

  #page .block-one-person .wp-block-column:first-of-type figure {
    margin-left: 0;
    position: relative;
  }

  #page .block-one-person .wp-block-column:first-of-type figure::after {
    height: 55vw;
    left: -30px;
    width: 90%;
  }

  #page .block-one-person h2 {
    margin-top: 40px;
  }
}

/*BLOK DODATKOWY 3 (Kafelki)*/

#page .block-with-tiles {
  margin: 100px 0;
}

#page .block-with-tiles img {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}

#page .block-with-tiles .uagb-infobox__content-wrap:hover p {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#page .block-with-tiles .uagb-ifb-image-content {
  overflow: hidden;
}

#page .block-with-tiles .uagb-infobox__content-wrap img {
  transition: 0.5s;
}

#page .block-with-tiles .uagb-infobox__content-wrap:hover img {
  filter: none;
  transform: scale3d(1.1, 1.1, 1.1);
  transition: 0.5s;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-with-tiles.six {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 781px) {
  #page .block-with-tiles.six {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/*BLOK 27*/

#page .b-custom-tabs {
  margin: 100px 0;
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
  padding: 24px 40px;
}

#page .b-custom-tabs .uagb-tab {
  margin: 0 0 4px 0;
  padding-bottom: 0;
}
#page .b-custom-tabs p {
  margin-bottom: 1em;
}

#page .b-custom-tabs p,
#page .b-custom-tabs .uagb-tabs__panel a {
  color: #4a4a49;
}

#page .b-custom-tabs .uagb-tab a {
  padding: 8px;
  font-weight: 400;
}

.b-custom-tabs .uagb-tabs__active a {
  color: #192878 !important;
}

.b-custom-tabs .uagb-tab.uagb-tabs__active a {
  border-bottom: solid 2px #192878;
}

#page .b-custom-tabs .uagb-tabs__body-container {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

#page .b-custom-tabs .uagb-tabs__body-wrap {
  padding: 0;
  margin-top: 40px;
}

#page .b-custom-tabs .uagb-tabs__panel {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  border-bottom: solid 1px #9c9ea5;
}

#page
  .b-custom-tabs
  .first-tab
  .wp-block-columns
  .wp-block-column
  .wp-block-columns
  p:first-of-type,
#page
  .b-custom-tabs
  .first-tab
  .wp-block-columns
  .wp-block-column
  .wp-block-columns
  p:nth-of-type(3) {
  font-weight: 600;
  font-size: 18px;
}

#page
  .b-custom-tabs
  .first-tab
  .wp-block-columns
  .wp-block-column
  .wp-block-columns
  p:nth-of-type(3) {
  margin-top: 24px;
}

#page
  .b-custom-tabs
  .first-tab
  .wp-block-columns
  .wp-block-column
  .wp-block-columns
  p {
  margin-bottom: 0;
}

#page .b-custom-tabs .wp-block-file-size,
#page .b-custom-tabs .wp-block-file-type {
  color: #4a4a49 !important;
}

#page .b-custom-tabs .block-link-list {
  margin: 0 0 40px 0 !important;
}

#page .b-custom-tabs .wp-block-table td:nth-of-type(1) {
  width: 30% !important;
}

/* Spectra Tabs */
#page ul.uagb-tabs__panel {
  margin-left: 0;
}

/* content container */
.b-custom-tabs .wp-block-columns {
  gap: 100px;
}

@media (max-width: 1820px) {
  .b-custom-tabs .wp-block-columns {
    gap: 50px;
  }
}

@media (max-width: 1400px) {
  .b-custom-tabs .wp-block-columns {
    flex-direction: column;
  }
}

@media (max-width: 781px) {
  .b-custom-tabs .wp-block-uagb-tabs-child {
    /* padding: 64px 32px; */
    padding: 30px;
  }

  .b-custom-tabs .wp-block-columns {
    gap: 0;
  }

  #page .b-custom-tabs {
    padding: 24px;
  }
}

/* contact area with photo  */
.b-custom-tabs .person-cart.wp-block-columns {
  display: inline-flex;
  gap: 40px;
}

.b-custom-tabs .person-cart .wp-block-column:nth-child(1) {
  position: relative;
  flex-basis: 50%;
}

.b-custom-tabs .person-cart .wp-block-column:nth-child(2) {
  position: relative;
  flex-basis: 50%;
}

.b-custom-tabs .person-cart .wp-block-column:first-child img {
  aspect-ratio: 3/4;
  object-fit: cover;
}

/*AKORDEON (Spectra)*/

#page .wp-block-uagb-faq-child {
  border: solid 1px #afe1fa;
}

#page .wp-block-uagb-faq-child .uagb-faq-questions-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page .wp-block-uagb-faq-child.uagb-faq-item-active .uagb-faq-questions-button {
  background-color: #afe1fa;
}

#page .uagb-faq-questions-button.uagb-faq-questions {
  border: solid 1px transparent;
  padding: 16px;
  background: white;
}

#page .uagb-faq-content {
  padding: 24px;
  background-color: white;
}

#page .uagb-faq-item-active p,
#page .uagb-faq-item:hover .uagb-question {
  color: #192878;
}

#page .uagb-faq-icon-wrap svg {
  width: 18px;
  height: 18px;
  fill: #192878;
}

/*AKORDEON (UA)*/

#page
  .wp-block-ub-content-toggle-accordion
  .wp-block-ub-content-toggle-accordion-title-wrap {
  background: transparent;
}

#page .wp-block-ub-content-toggle-accordion {
  border: solid 1px #afe1fa !important;
}

#page .wp-block-ub-content-toggle-accordion-title {
  color: #4a4a49 !important;
  font-weight: 500;
  padding: 16px;
}

#page .wp-block-ub-content-toggle-accordion-title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#page .wp-block-ub-content-toggle-accordion-title-wrap[aria-expanded="true"] {
  background-color: #afe1fa !important;
}

#page .wp-block-ub-content-toggle-accordion-title-wrap[aria-expanded="true"] p {
  color: #192878 !important;
}

#page .wp-block-ub-content-toggle-accordion-content-wrap {
  /* padding: 24px; */
  background-color: white;
}

#page .wp-block-ub-chevron-down::after {
  color: #192878;
}

#page
  .wp-block-ub-content-toggle-accordion-title-wrap
  .wp-block-ub-content-toggle-accordion-state-indicator {
  transform: rotate(90deg) !important;
}

#page
  .wp-block-ub-content-toggle-accordion-title-wrap
  .wp-block-ub-content-toggle-accordion-state-indicator.open {
  transform: rotate(-90deg) !important;
}

/*WYSZUKIWARKA STUDIÓW*/

#page .bst-searchbox {
  position: relative;
  background-color: #192878 !important;
  background: url();
}

#page .bst-searchbox__title {
  letter-spacing: normal;
  text-transform: none;
  line-height: inherit;
  font-weight: 600;
}

#page .bst-searchbox::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Mask-group-1.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
}

#page .bst-forms {
  position: relative;
  z-index: 9;
}

#page .bst-searchbox .bst-forms__btn {
  width: calc(320px - 125px);
  letter-spacing: normal;
}

#page .bst-searchbox .bst-forms__btn:first-of-type {
  background: transparent;
  border: solid 1px white;
}

#page .bst-searchbox .bst-forms__btn:first-of-type:hover {
  background: white !important;
  border: solid 1px white;
}

#page .bst-searchbox .bst-forms__btn:first-of-type:focus {
  background: white !important;
}

#page .bst-searchbox .bst-forms__btn:nth-of-type(2) {
  color: #192878;
  background: white;
  border: solid 1px white;
}

#page .bst-searchbox .bst-forms__btn:nth-of-type(2):hover {
  color: white;
  background: transparent !important;
  border: solid 1px white;
}

#page .bst-searchbox .bst-forms__btn:nth-of-type(2):focus {
  color: white;
  background: transparent !important;
  border: solid 1px white;
}

/*WYSZUKIWARKA PRACOWNIKÓW*/

#page .box-search {
  position: relative;
  background-color: #192878 !important;
  background: url();
}

#page .bst-employees-search__container span {
  letter-spacing: normal;
  text-transform: none;
  line-height: inherit;
  font-weight: 600;
}

#page .box-search::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Mask-group-1.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
}

#page .box-search form label {
  font-size: 0.9em;
  font-weight: 300 !important;
}

#unit-button,
.bst-employees-list input.text {
  padding: 12px !important;
}

#page .box-search form {
  position: relative;
  z-index: 9;
}

#page .box-search .clear-units {
  background: transparent;
  border: solid 1px white;
  letter-spacing: normal;
  padding: 16px 0;
}

#page .box-search .clear-units:hover {
  background: white !important;
  border: solid 1px white;
}

#page .box-search .filter-units {
  color: #192878;
  background: white;
  border: solid 1px white;
  letter-spacing: normal;
  padding: 8px 0;
}

#page .box-search .filter-units:hover {
  color: white;
  background: transparent !important;
  border: solid 1px white;
}

#page .bst-employees-search__container .box-buttons {
  margin-top: 48px;
  justify-content: space-between;
}

#page .bst-employees-search__container .box-buttons label {
  margin-top: -4px;
}

#page .bst-checkbox {
  align-items: flex-start;
  margin-bottom: 8px;
}

#page .bst-inputs-container {
  width: 35%;
}

#page .bst-letter-filter {
  border: none;
}

#page .bst-employees-list .bst-alphabet {
  border-radius: 0;
}

#page .bst-letter-filter:hover,
#page .bst-employees-list__container a:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

#page .bst-employees-list__container p,
#page .bst-employees-list__container a,
#page .bst-employees-list__container h5 {
  font-family: "Poppins", sans-serif !important;
}

#page .bst-employees-list__container a:hover {
  text-decoration: underline;
}

#unit-button,
.bst-employees-list input.text {
  color: #474747;
}

@media (max-width: 781px) {
  #page .box-search {
    padding: 40px 20px;
  }

  #page .bst-employees-search__container span {
    margin-bottom: 32px;
  }

  #page .bst-inputs-container {
    width: 100%;
  }

  #page .bst-employees-list .bst-alphabet {
    gap: 42px;
  }

  #page .bst-employees-list .bst-letter-filter {
    margin-left: 0 !important;
  }
}

/*WYSZUKIWARKA JEDNOSTEK*/

.post-type-archive-units .ast-pagination {
  display: none;
}

#page .units-structure {
  position: relative;
  background-color: #192878 !important;
  background-size: 0px !important;
}

#page .units-structure::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Mask-group-1.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
}

#page .units-structure .header-search {
  font-family: "Poppins" !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: inherit !important;
  font-weight: 600 !important;
}

#page .units-structure .btn-primary {
  color: #192878 !important;
}

@media (max-width: 781px) {
  #page .units-structure {
    padding: 40px 20px !important;
  }

  #page .units-structure .header-search {
    margin-bottom: 40px;
    line-height: 32px !important;
  }

  #page .units-structure .btn-primary {
    border-radius: 0;
    margin: 24px 0 0 0;
  }
}

/*BLOK TAB (IID.1)*/

#page .block-fields-of-study {
  margin: 100px 0;
  background: white;
  position: relative;
  z-index: 9;
}

#page .block-fields-of-study .bst-coursesofstudy {
  margin-top: 0;
}

#page .block-fields-of-study .bst-coursesofstudy__results a {
  background: white;
  padding: 16px;
  box-shadow: 0 0 5px -4px #192878;
  border: solid 2px transparent;
}

#page .block-fields-of-study .bst-coursesofstudy__results a:hover {
  border: solid 2px #192878;
}

#page .block-fields-of-study .bst-coursesofstudy__title,
#page .block-fields-of-study .bst-coursesofstudy__meta span {
  color: #192878;
}

#page .block-fields-of-study .wp-block-uagb-post-grid {
  grid-template-columns: repeat(5, minmax(0, auto));
}

#page .block-fields-of-study .uagb-tabs__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

#page .block-fields-of-study .uagb-tabs__panel .uagb-tab.uagb-tabs__active {
  background: #eef3fa;
  border-top: solid 4px #192878;
  position: relative;
  margin-top: -9px;
  border-left: 0;
  border-right: 0;
  padding: 0;
}

#page .block-fields-of-study .uagb-tabs__panel .uagb-tab.uagb-tabs__active a {
  color: #343434;
  justify-content: center;
  padding: 40px 0;
  width: 100%;
}

#page .block-fields-of-study .uagb-tabs__panel .uagb-tab {
  background: white;
  margin: -6px;
  padding: 0;
  border: solid 1px #afe1fa;
  border-bottom: 0;
}

#page .block-fields-of-study .uagb-tabs__panel .uagb-tab a {
  color: #343434;
  justify-content: center;
  padding: 40px 0;
  width: 100%;
}

#page .block-fields-of-study .uagb-tabs__panel a {
  font-size: 1.25em;
}

#page .block-fields-of-study .uagb-tabs__body-wrap {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: solid 2px #ececec;
  padding: 0 0 30px 0;
}

#page .block-fields-of-study .uagb-tabs__body-wrap p {
  line-height: 24px;
  font-weight: 500;
}

#page .block-fields-of-study .uagb-tabs__body-wrap span {
  padding: 0;
}

#page .block-fields-of-study .uagb-tabs__body-wrap a {
  font-size: 0.75em;
  color: #192878;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 0;
}

#page
  .block-fields-of-study
  .uagb-tabs__body-wrap
  .uagb-post__inner-wrap
  .uagb-post-grid-byline {
  padding: 0;
}

#page .block-fields-of-study .uagb-tabs__body-wrap .uagb-post__inner-wrap {
  background-color: white;
  display: flex;
  justify-content: center;
  padding: 0 10px;
  align-self: center;
  text-align: center;
  box-shadow: 0px 0px 8px -4px rgba(25, 40, 120, 2);
}

#page .block-fields-of-study .wp-block-uagb-post-grid {
  margin-bottom: 50px;
}

#page .block-fields-of-study .wp-block-uagb-post-grid:last-of-type {
  margin-bottom: 0;
}

#page .block-fields-of-study .wp-block-uagb-post-grid {
  display: flex;
  flex-flow: row wrap;
}

#page .block-fields-of-study .wp-block-uagb-tabs-child {
  padding: 34px;
  background: #eef3fa;
  margin: 6px -6px -30px -6px;
}

#page .block-fields-of-study .bst-coursesofstudy__results {
  margin: 60px 0 30px 0;
}

#page .block-fields-of-study .uagb-tabs__body-wrap .uagb-post__inner-wrap {
  border: solid 2px transparent;
}

#page
  .block-fields-of-study
  .uagb-tabs__body-wrap
  .uagb-post__inner-wrap:hover {
  border: solid 2px #192878;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .block-fields-of-study .bst-forms__buttons {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
  }

  #page .block-fields-of-study .bst-forms__actions {
    align-items: flex-start;
  }
}

@media (max-width: 1050px) {
  #page .block-fields-of-study {
    display: grid;
    grid-template-columns: 1fr;
  }

  #page .block-fields-of-study .uagb-tabs__panel {
    max-width: 100%;
  }

  #page .block-fields-of-study .uagb-tabs__body-wrap {
    max-width: 100%;
  }
}

@media (max-width: 781px) {
  #page #content .block-fields-of-study .uagb-tabs__panel {
    grid-template-columns: 1fr !important;
    max-width: none;
  }

  #page .bst-searchbox .bst-forms__btn:first-of-type {
    margin-bottom: 20px;
  }

  #page .block-fields-of-study {
    margin-top: 50px !important;
  }

  #page .block-fields-of-study .uagb-tabs__panel .uagb-tab {
    padding: 15px 0;
    width: auto;
  }

  #page .block-fields-of-study .wp-block-uagb-tabs-child {
    padding: 20px;
    width: auto;
  }

  /* #page .block-fields-of-study .uagb-tabs__body-wrap {
      width: 71%;
    } */

  #page .block-fields-of-study .bst-coursesofstudy {
    width: 100%;
  }

  #page .block-fields-of-study .uagb-tabs__panel {
    grid-template-columns: 1fr;
    max-width: auto;
  }

  #page .block-fields-of-study .bst-searchbox {
    padding: 50px 30px;
  }

  #page .block-fields-of-study .bst-forms__actions {
    flex-direction: column;
  }

  #page .block-fields-of-study .bst-forms__group {
    margin-bottom: 30px;
  }

  #page .block-fields-of-study .bst-forms__btn {
    width: 100%;
  }

  #page .block-fields-of-study .bst-forms__checkbox {
    width: 30px;
    height: 30px;
  }

  #page .block-fields-of-study .uagb-tabs__body-wrap span {
    min-width: auto;
  }
}

@media (max-width: 320px) {
  #page .block-fields-of-study .bst-forms__field {
    min-width: 100%;
  }

  #page .block-fields-of-study .bst-forms__input {
    width: 100%;
  }
}

/*Dodatkowa wersja*/

/* #page
  .block-fields-of-study.additional
  .uagb-tabs__panel
  #page
  .block-fields-of-study.additional
  .uagb-tabs__body-wrap {
  padding: 0 0 20px;
}
*/
#page
  .block-fields-of-study.additional
  .wp-block-uagb-tabs-child.uagb-tabs-body__active {
  padding: 16px 0 0 0;
  gap: 18px;
  display: flex;
  flex-flow: row wrap;
}

#page .block-fields-of-study.additional .uagb-tabs__body-wrap p {
  margin-bottom: 0;
  background: #4353a1;
  color: white;
  padding: 4px 10px;
  border: solid 2px #4353a1;
  font-size: 0.9em;
}

/*WYSZUKIWARKA STUDIÓW*/

#page .bst-coursesofstudy__results {
  margin: 40px 0;
}

#page .bst-coursesofstudy__results .bst-coursesofstudy__item {
  padding: 16px;
  box-shadow: 0 0 5px -3px #192878;
  border: solid 2px transparent;
}
#page .bst-coursesofstudy__results .bst-coursesofstudy__item:hover {
  border: solid 2px #192878;
}

#page .bst-coursesofstudy__meta-md {
  font-size: 13px !important;
}

#page .bst-coursesofstudy__title,
#page .bst-coursesofstudy__meta span {
  color: #192878;
}

/*KARTA KIERUNKU*/

#page .presentation-field-of-study {
  margin: 50px 0;
  gap: 24px;
}

#page .presentation-field-of-study .wp-block-column {
  flex-basis: 33.3333% !important;
  border: solid 1px #faaf0f;
  border-bottom-width: 3px;
  display: flex;
  flex-direction: column;
}

#page .presentation-field-of-study img {
  height: 315px !important;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

#page .presentation-field-of-study .uagb-ifb-content {
  position: relative;
  height: 315px;
  margin-bottom: 24px;
}

#page .presentation-field-of-study .uagb-ifb-desc {
  font-weight: 400;
  color: #343434;
  position: absolute;
  bottom: 0;
  right: 24px;
  left: 24px;
  margin: 0;
  padding: 8px 16px 6px 16px;
  text-transform: uppercase;
  background: #faaf0f;
}

#page .presentation-field-of-study p {
  margin: 0 24px;
}

#page .presentation-field-of-study ul,
#page .presentation-field-of-study ol {
  padding: 0 24px;
}

#page .presentation-field-of-study .wp-block-buttons {
  margin-top: auto;
  padding: 0 24px 24px 24px;
}

#page .presentation-field-of-study .name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

#page .presentation-field-of-study .title-field {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 4px;
}

#page .presentation-field-of-study p {
  margin-bottom: 16px;
  font-weight: 600;
}

#page .presentation-field-of-study .title-field.last + p {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ececec;
}

#page .presentation-field-of-study .wp-block-buttons a {
  background: transparent;
  color: #192878;
}

#page .presentation-field-of-study .wp-block-buttons a:hover {
  background: #192878;
  color: white;
}
