:root {
  --gray-color: #676766;
  --red-color: #e31e25;
  --font-family: Montserrat, Tahoma, Geneva, Verdana, sans-serif;
}
/* HEADER */
#sp-header {
  background-color: var(--gray-color);
  position: relative;
}
#sp-header::before {
  content: "";
  height: 1px;
  display: block;
  background-color: #fff;
  border-bottom: 2px solid var(--red-color);
  position: absolute;
  width: 100%;
  top: auto;
  bottom: -6px;
}
/* LOGO */
#sp-header .logo {
  padding: 0 2em;
  height: 176px;
}
#sp-logo {
  background-color: #fff;
  box-shadow: 0 -28px 20px 10px rgba(0, 0, 0, 0.3);
}
/* TOP MENU */
.sp-megamenu-parent > li:last-child > a {
  padding: 0 15px;
}
.sp-megamenu-parent > li > a {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #fff;
  line-height: normal;
}
.sp-megamenu-parent > li.sp-has-child > a::after {
  font-family: "Font Awesome 5 Free" !important;
  font-size: 0.8em;
  float: none !important;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
  font-size: 1rem;
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a,
.sp-megamenu-parent > li:hover > a {
  color: #fff;
  background-color: var(--red-color);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
  color: var(--red-color);
}
/* HOME */
.textHeader .sppb-addon-title {
  text-transform: uppercase;
  color: #000000;
  font-family: Montserrat, Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.25rem;
  background-image: url(/images/page/header_marker.webp);
  background-position: left calc(100% - 0.2em);
  background-repeat: no-repeat;
  padding: 3em 0 0 0.5em;
  position: relative;
  margin-bottom: 1.5em;
}
.textHeader .sppb-addon-title::before {
  position: absolute;
  text-shadow: -1px -1px 0 #dfdfdf, 1px -1px 0 #dfdfdf, -1px 1px 0 #dfdfdf, 1px 1px 0 #dfdfdf;
  bottom: -0.2em;
  top: auto;
  left: 0.2em;
  font-size: 2.25em;
  white-space: nowrap;
  z-index: -1;
}
.textHeader__szalunki .sppb-addon-title::before {
  content: "NAJWYŻSZEJ JAKOŚCI";
  color: #f7f7f7;
}
.textHeader__badania .sppb-addon-title::before {
  content: "BADANIA I ROZWÓJ";
  color: #fff;
}
.textHeader .sppb-addon-content {
  padding-right: 3em;
}
.listStyle {
  text-transform: uppercase;
  list-style: square;
}
.listStyle li::marker {
  color: var(--red-color);
  font-size: 1.5em;
}
.homeBtn {
  background-color: var(--gray-color);
  color: #fff;
  text-transform: uppercase;
  padding: 0 0 0 1.5em;
  border: none;
}
.homeBtn:hover {
  background-color: var(--red-color);
  color: #fff;
}
.homeBtn::after {
  content: "";
  display: inline-block;
  height: 3em;
  aspect-ratio: 1;
  background-image: url(/images/page/arrow_btn.webp);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: var(--red-color);
  padding: 0.5em;
  vertical-align: middle;
  margin-left: 1.5em;
}
.homeBtn:hover::after {
  background-color: var(--gray-color);
}
/* SLIPFORM W LICZBACH */
#slipformLiczby-section .sppb-title-heading {
  font-family: Montserrat, Tahoma, Geneva, Verdana, sans-serif;
}
.animatedNumber {
  padding: 2em 1em;
}
.animatedNumber .sppb-animated-number {
  font-size: 6.25rem;
  color: var(--red-color);
  font-weight: bold;
  line-height: normal;
}
.animatedNumber .sppb-animated-number::after {
  content: "";
  width: 100px;
  display: block;
  margin: auto;
  border-top: 1px solid #000000;
}
.animatedNumber .sppb-animated-number-title {
  font-size: 1.5rem;
  line-height: 1.2em;
  text-transform: uppercase;
}
/* Zrealizowane projekty - home */
#zrealizowaneProjekty-section .sppb-title-heading {
  font-family: Montserrat, Tahoma, Geneva, Verdana, sans-serif;
}
.projektyBox .sppb-addon-title a {
  color: var(--red-color);
}
.projektyBox .overlay-image-button-wrap {
  transform: none !important;
}
.projektyBox .sppb-btn {
  background-color: var(--red-color);
  color: #fff;
  text-transform: uppercase;
  margin-top: 3em;
  padding: 1em 3em;
}
.projektyBox .sppb-btn:hover {
  background-color: #fff;
  color: var(--red-color);
}
/* PAGE HEADER */
#pageHeader {
  padding: 3.5em 0 2em 0;
}
#pageHeader .sppb-addon-header .sppb-addon-title {
  text-align: left;
  text-transform: uppercase;
  font-family: var(--font-family);
  font-size: 2.75rem;
  font-weight: bold;
  color: #474747;
}
#pageHeader .sppb-addon-header .sppb-addon-title::after {
  content: "";
  display: block;
  width: 160px;
  border-top: 1px solid var(--red-color);
}
/* BREADCRUMB */
.breadcrumb {
  background-color: transparent;
  padding-left: 0;
}
.float-start {
  display: none;
}
.pathway {
  color: #676766;
  font-size: 1rem;
  font-family: var(--font-family);
}
.pathway:hover {
  color: var(--red-color);
}
/* ZOBACZ NASZE REALIZACJE */
.zobaczRealizacje {
  background-image: url(/images/page/zobacz_realizacje_bg.webp);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto;
  display: flex;
  height: 333px;
  align-items: center;
  justify-content: flex-end;
  margin: 5em 0;
}
.zobaczRealizacje .menu {
  list-style: none;
  margin: 0 5em;
  border: 1px solid var(--red-color);
  align-self: stretch;
  display: flex;
  align-items: stretch;
  padding: 0;
  transition: all 300ms ease-in-out;
}
.zobaczRealizacje .menu li {
  display: flex;
}
.zobaczRealizacje .menu a {
  color: #fff;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 2.25rem;
  font-weight: bold;
  background-image: url(/images/page/arrow_red.webp);
  background-position: 95% center;
  background-repeat: no-repeat;
  background-size: auto;
  padding: 0 4em 0 3em;
  transition: all 300ms ease-in-out;
}
.zobaczRealizacje .menu:hover {
  margin: 6em 4em;
}
.zobaczRealizacje .menu:hover a {
  padding: 0 5em 0 4em;
  color: var(--red-color);
}
/* NASZA OFERTA */
#naszaOferta-section {
  margin-top: 137px;
}
#naszaOferta-section .sppb-title-heading {
  color: var(--gray-color);
  text-transform: uppercase;
  font-weight: normal;
  font-family: var(--font-family);
  margin-bottom: 80px !important;
}
.nasza-oferta .menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.nasza-oferta .menu a {
  position: relative;
  display: flex;
  background-color: #575858;
  transition: all 300ms ease-in-out;
  overflow: hidden;
}
.nasza-oferta .menu a img {
  opacity: 0.25;
  transition: all 300ms ease-in-out;
}
.nasza-oferta .menu .image-title {
  position: absolute;
  color: #fff;
  background-image: url(/images/page/arrow_red.webp);
  background-position: 90% center;
  background-repeat: no-repeat;
  background-size: auto;
  font-size: 1.625rem;
  text-transform: uppercase;
  font-weight: bold;
  width: 100%;
  display: flex;
  align-self: flex-end;
  padding: 1em 3em 1em 1em;
  line-height: normal;
  transition: all 300ms ease-in-out;
}
.nasza-oferta .menu a:hover {
  background-color: var(--red-color);
}
.nasza-oferta .menu a:hover .image-title {
  background-position: 95% center;
  background-image: url(/images/page/arrow_white.webp);
}
.nasza-oferta .menu a:hover img {
  transform: scale(1.1);
}
/* CONTACT */
.contactBtn a {
  font-size: 1.75rem !important;
  font-weight: bold;
  margin: 0 !important;
}
.contactBtn .sppb-addon-content a:first-of-type {
  padding-left: 0px;
}
.contactBtn a .fas {
  color: var(--red-color);
  margin-right: 0.5em;
}
.sendBtn .sppb-btn {
  background-color: var(--gray-color);
  color: #fff;
  text-transform: uppercase;
  padding: 0 0 0 1.5em;
  border: none;
  margin-top: 2em;
}
.sendBtn .sppb-btn:hover {
  background-color: var(--red-color);
  color: #fff;
}
.sendBtn .sppb-btn::after {
  content: "";
  display: inline-block;
  height: 3em;
  aspect-ratio: 1;
  background-image: url(/images/page/arrow_btn.webp);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: var(--red-color);
  padding: 0.5em;
  vertical-align: middle;
  margin-left: 1.5em;
}
.sendBtn .sppb-btn:hover::after {
  background-color: var(--gray-color);
}
/* BADANIA */
.header-linemarker::before {
  content: "";
  display: block;
  border-left: 1px solid var(--red-color);
  height: 4.75em;
  margin-bottom: 2em;
}
/* REALIZACJE PAGE */
#realizacje-items .sppb-column-addons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
}
#realizacje-items .sppb-column-addons .sppb-addon-wrapper {
  flex-basis: 31%;
}
#realizacje-items .sppb-addon-image-layout-content {
  background-color: rgba(0, 0, 0, 0.6);
  transition: all 500ms ease-in-out;
  opacity: 1;
  pointer-events: none;
  margin: 0;
  inset: 1em;
  align-content: center;
  flex-wrap: wrap;
  display: flex;
}
#realizacje-items .sppb-addon-image-layout-wrap:hover .sppb-addon-image-layout-content {
  opacity: 0;
  inset: 0;
}
#realizacje-items .sppb-image-layout-title {
  color: var(--red-color);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: normal;
  margin-left: auto;
  margin-right: auto;
}
#realizacje-items .sppb-image-layout-title::after {
  content: "";
  display: block;
  border-bottom: 1px solid var(--red-color);
  width: 50%;
  margin: 0.5em auto;
}
#realizacje-items .sppb-addon-image-layout-text {
  color: #fff;
}
#realizacje-items .sppb-addon-image-layout-wrap .sppb-addon-image-layout-image {
  overflow: hidden;
}
#realizacje-items .sppb-addon-image-layout-wrap .sppb-addon-image-layout-image img {
  transition: all 300ms ease-in-out;
}
#realizacje-items .sppb-addon-image-layout-wrap:hover .sppb-addon-image-layout-image img {
  transform: scale(1.3);
}
/* REALIZACJA */
.realizacja-gallery .sppb-gallery {
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1rem;
  justify-content: space-between;
}
.realizacja-gallery .sppb-gallery::before {
  display: none;
}
.realizacja-gallery .sppb-gallery::after {
  display: none;
}
.realizacja-gallery .sppb-gallery li {
  margin: 0 !important;
  float: none;
}
.realizacja-gallery .sppb-gallery li img {
  width: 100% !important;
  height: auto !important;
}
/* FOOTER */
#sp-stopka {
  background-color: var(--gray-color);
  background-image: url(/images/page/pattern_footer.webp);
  background-position: bottom center;
  background-size: auto;
  background-repeat: no-repeat;
  box-shadow: inset 0 10px 10px 0 rgba(0, 0, 0, 0.3);
  margin-top: 123px;
}
#sp-stopka .container,
#sp-copyright .container {
  max-width: 1600px;
}
.inlinefix .sppb-column-addons {
  display: flex;
  align-items: center;
}
.menu-stopka .sppb-addon-title {
  font-family: var(--font-family);
  color: #fff;
  font-size: 1.25rem;
  font-weight: normal;
}
.menu-stopka .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-stopka .menu a {
  color: #fff;
}
.menu-stopka .menu a:hover {
  color: #c7c7c7;
}
#sp-copyright {
  padding: 1em 15px;
}
.copyright-text {
  color: #929292;
  font-size: 1rem;
}
.autorstrony {
  text-align: right;
}
.autorstrony,
.autorstrony a {
  color: #929292;
  font-size: 1rem;
}
/* FIX */
.gapfix .sppb-modal-selector {
  display: block;
}
.sppb-addon-text-block .sppb-addon-content {
  font-size: 1.125rem;
}
.sppb-col,
.sppb-col-auto,
.sppb-col-lg,
.sppb-col-lg-1,
.sppb-col-lg-10,
.sppb-col-lg-11,
.sppb-col-lg-12,
.sppb-col-lg-2,
.sppb-col-lg-3,
.sppb-col-lg-4,
.sppb-col-lg-5,
.sppb-col-lg-6,
.sppb-col-lg-7,
.sppb-col-lg-8,
.sppb-col-lg-9,
.sppb-col-lg-auto,
.sppb-col-md,
.sppb-col-md-1,
.sppb-col-md-10,
.sppb-col-md-11,
.sppb-col-md-12,
.sppb-col-md-2,
.sppb-col-md-3,
.sppb-col-md-4,
.sppb-col-md-5,
.sppb-col-md-6,
.sppb-col-md-7,
.sppb-col-md-8,
.sppb-col-md-9,
.sppb-col-md-auto,
.sppb-col-sm,
.sppb-col-sm-1,
.sppb-col-sm-10,
.sppb-col-sm-11,
.sppb-col-sm-12,
.sppb-col-sm-2,
.sppb-col-sm-3,
.sppb-col-sm-4,
.sppb-col-sm-5,
.sppb-col-sm-6,
.sppb-col-sm-7,
.sppb-col-sm-8,
.sppb-col-sm-9,
.sppb-col-sm-auto,
.sppb-col-xl,
.sppb-col-xl-1,
.sppb-col-xl-10,
.sppb-col-xl-11,
.sppb-col-xl-12,
.sppb-col-xl-2,
.sppb-col-xl-3,
.sppb-col-xl-4,
.sppb-col-xl-5,
.sppb-col-xl-6,
.sppb-col-xl-7,
.sppb-col-xl-8,
.sppb-col-xl-9,
.sppb-col-xl-auto,
.sppb-col-xs-1,
.sppb-col-xs-10,
.sppb-col-xs-11,
.sppb-col-xs-12,
.sppb-col-xs-2,
.sppb-col-xs-3,
.sppb-col-xs-4,
.sppb-col-xs-5,
.sppb-col-xs-6,
.sppb-col-xs-7,
.sppb-col-xs-8,
.sppb-col-xs-9 {
  min-height: unset;
}
.mfp-iframe-holder .mfp-content {
  max-width: 1200px;
}
/* MEDIA QUERIES */
@media (min-width: 1400px) {
  #sp-header .container {
    max-width: 1600px;
  }
  #sp-header {
    height: 176px;
  }
}
@media (max-width: 1399px) {
  #sp-header {
    height: 120px;
  }
  #sp-header .logo {
    height: auto;
    width: 100%;
    padding: 0 1em;
  }
  .logo-image {
    width: 100%;
    height: auto !important;
    max-height: 120px;
  }
  #realizacje-items .sppb-image-layout-title {
    font-size: 1.2rem;
  }
  #realizacje-items .sppb-addon-image-layout-text {
    font-size: 0.8rem;
    line-height: normal;
  }
}
@media (max-width: 1199px) {
  #realizacje-items .sppb-image-layout-title {
    font-size: 1rem;
    margin-bottom: 0;
  }
  #realizacje-items .sppb-addon-image-layout-text {
    font-size: 0.8rem;
  }
}
@media (max-width: 991px) {
  :root {
    --bs-body-font-size: 14px;
    font-size: var(--bs-body-font-size);
  }
  .hideBg {
    background: none !important;
  }
  .burger-icon {
    transform: scale(1.5);
  }
  .burger-icon > span {
    background-color: #fff;
  }
  .offcanvas-menu .offcanvas-inner ul.menu > li a,
  .offcanvas-menu .offcanvas-inner ul.menu > li span {
    font-weight: 600;
  }
  .offcanvas-menu .offcanvas-inner ul.menu li.active a,
  .offcanvas-menu .offcanvas-inner ul.menu > li a:hover,
  .offcanvas-menu .offcanvas-inner ul.menu > li a:focus,
  .offcanvas-menu .offcanvas-inner ul.menu > li span:hover,
  .offcanvas-menu .offcanvas-inner ul.menu > li span:focus {
    color: var(--red-color) !important;
  }

  .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a > .menu-toggler::after {
    font-family: "Font Awesome 5 Free" !important;
  }
  .offcanvas-menu .offcanvas-inner ul.menu > li > ul li a {
    padding: 0.5em 0;
    display: block;
  }
  .textHeader .sppb-addon-content {
    padding-right: 0;
  }
  #sp-copyright,
  .autorstrony {
    text-align: center;
  }
  #szalunkiInz-section {
    background-image: none !important;
  }
  .zobaczRealizacje {
    justify-content: center;
  }
  .zobaczRealizacje .menu {
    margin: 0 1em;
  }
  .zobaczRealizacje .menu:hover {
    margin: 6em 0em;
  }
  .zobaczRealizacje .menu:hover a {
    padding: 0 2em 0 2em;
  }
  .nasza-oferta .menu .image-title {
    padding-top: 0px;
    padding-bottom: 0px;
    align-self: center;
    background-size: 15%;
  }
  #realizacje-items .sppb-column-addons .sppb-addon-wrapper {
    flex-basis: 47%;
  }
  .realizacja-gallery .sppb-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #pageHeader .sppb-addon-header .sppb-addon-title {
    font-size: 2rem;
  }
  .nasza-oferta .menu {
    flex-wrap: wrap;
  }
  .nasza-oferta .menu .image-title {
    padding: 1em 4em 1em 1em;
  }
  #realizacje-items .sppb-column-addons .sppb-addon-wrapper {
    flex-basis: 100%;
  }
  #realizacje-items .sppb-image-layout-title {
    font-size: 1.5rem;
  }
  #realizacje-items .sppb-addon-image-layout-text {
    font-size: 1rem;
  }
  .realizacja-gallery .sppb-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
