/*
Theme Name: Pewa-Redesign
Author: Piotr Sember
Author URI: http://millstudio.pl
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;800&display=swap");

html {
  overflow-y: auto;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

body,
input,
button,
textarea {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: #000;
  font-size: 18px;
  font-weight: 300;
}
input,
button,
textarea {
  outline: none;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
strong {
  font-weight: 600;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
}
#mapa img {
  max-width: none;
}

#sub-cat {
  margin-bottom: 20px;
}

#sub-cat span,
span.error,
.right-col.team .box .img,
.right-col.team .nazwa,
.right-col.projects span,
#left,
#right,
input,
textarea,
select,
input.button,
button,
#formularz_submit,
a {
  -webkit-transition-property: background, color, opacity, border;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  -moz-transition-property: background, color, opacity, border;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: ease-out;
  -o-transition-property: background, color, opacity, border;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: ease-out;
  transition-property: background, color, opacity, border;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}
.clr {
  clear: both !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  position: static !important;
  border: none !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: 600;
}
ul,
ol {
  padding-left: 1.5em;
}
table {
  border-collapse: collapse;
}
td {
  vertical-align: top;
  padding: 0 0 0 40px;
}
td:first-child {
  padding-left: 0;
}
.container {
  width: 1200px;
  margin: 0 auto;
}
.scrolled #container {
  padding-top: 80px;
}
.scrolled #logo,
#logo {
  width: 112px;
  height: 39px;
  display: block;
  float: left;
  margin: 13px 0 0 0;
  background: none;
}
#logo {
  width: 209px;
  height: 73px;
  background: url("images/logo2.png") no-repeat 0 0;
  margin: 48px 0 0 0;
  background-size: auto 100%;
}
#logo {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}
#logo img {
  width: 100%;
  height: auto;
}
#logo img {
  display: none;
}
.scrolled #logo img {
  display: block;
}

.scrolled .menu,
.menu {
  float: left;
  margin: 0;
  padding-top: 14px;
  padding-bottom: 14px;
}

@media (min-width: 1024px) {
  .scrolled .menu,
  .menu {
    margin-left: 17%;
  }
}

@media (max-width: 1023px) {
  .scrolled .menu,
  .menu {
    margin: 0;
  }
}

.menu {
  margin: 171px 0 14px 100px;
}
#slides {
  margin: 0 auto;
  padding-top: 40px;
  position: relative;
  overflow: hidden;
  height: 360px;
}

@media (max-width: 767px) {
  #slides {
    margin-bottom: 0;
  }
}
#slides-in {
  width: 20000px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.slides-in-content {
  float: left;
  width: 10000px;
}
#slides img {
  height: 360px;
  width: auto;
  display: block;
  float: left;
}
#left,
#right {
  width: 90px;
  height: 90px;
  background-size: 22px;
  display: block;
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin-top: -40px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #e18c4e;
  background-color: rgba(225, 140, 78, 0.8);
  z-index: 3;
  border-radius: 60px;
}

#right {
  background-position: center center;
}

#left {
  background-position: center center;
}

#left:hover,
#right:hover {
  background-color: rgba(225, 140, 78, 0.8);
}
#left {
  background-image: url("images/arrow-left.png");
  left: 120px;
}
#right {
  background-image: url("images/arrow-right.png");
  right: 120px;
}
#top .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 38px;
  color: #231f20;
}
.scrolled #top,
#top {
  height: 66px;
}
#top {
  height: auto;
}
.scrolled #top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: #f9f4ea;
}
#top .menu li {
  float: left;
  padding: 0 0 0 8px;
  margin: 0 0 0 8px;
}
#sub-cat span,
#sub-cat a,
#top #submenu a,
#top .menu li a {
  padding: 0 5px;
}
#top .menu li.langs a {
  display: inline-block;
  line-height: 32px;
  width: 34px;
  height: 32px;
  border-radius: 50%;
  text-transform: uppercase;
  text-align: center;
  color: #b6a9a0;
  padding: 0;
}

#top .menu li.langs a.active {
  padding: 0;
  color: #000;
}
#top .menu li.langs span {
  display: inline-block;
  padding: 0 3px;
  color: #b6a9a0;
}
#top .menu li.langs {
  margin-left: 14px;
  padding-left: 0;
  border: none;
}

@media (max-width: 767px) {
  #top .menu li.langs {
    border-bottom: 1px solid #231f20;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #top .menu li.langs {
    padding-right: 40px;
  }

  .socials {
    left: 40px !important;
  }
}

#top .container {
  position: relative;
}

#top .container::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 90px;
  right: calc(50% - 50vw);
  left: calc(50% - 50vw);
  z-index: -1;
  background-color: #f9f4ea;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #top .container::after {
    height: 76px;
  }
}
@media (min-width: 1024px) {
  #top .container {
    padding-inline: 0;
  }
}

#top .menu li.langs {
  position: absolute;
  right: 0;
}
.scrolled #top .menu li.langs {
  position: static;
}

#top .menu li.langs a:hover,
#top .menu li.langs a.active {
  background: #e18c4e;
  color: inherit;
  border-radius: 50%;
}

#top .menu a.clicked,
#sub-cat .active a,
#sub-cat .active span,
#sub-cat span:hover,
#sub-cat .current_page_ancestor a,
#sub-cat .current_page_item a,
#sub-cat a:hover,
#top .current_page_ancestor a,
#top .current_page_item a,
#submenu a:hover,
#top .menu li a:hover,
#top .menu li a.active {
  background: #231f20;

  border-radius: 4px;
  color: #fff;
  text-decoration: none;
}
#top .menu li:first-child {
  border: none;
  padding: 0 !important;
  margin: 0 !important;
}
.scrolled #top-info,
#top-info {
  float: right;
  white-space: nowrap;
  text-align: center;
  line-height: 1.3;
  font-size: 11px;
  margin-top: 11px;
}
#top-info {
  margin-top: 54px;
  font-size: 18px;
}

#top-info br {
  margin: 0;
}
#top #submenu ul {
  list-style: none;
  margin: 0;
  padding: 14px 0 14px 257px;
}
#top #submenu li {
  float: none;
  margin-bottom: 5px;
}
#top #submenu {
  display: none;
  background: #f0f0f0;
}
#text,
.text {
  width: 900px;
  margin-inline: auto;
}
.text-col {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 40px;
  -moz-column-gap: 40px;
  column-gap: 40px;
}
#content {
  padding: 40px 0;
}
.left-col {
  width: 240px;
  float: left;
  font-size: 15px;
  position: relative;
  z-index: 2;
}
.left-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sub-cat span,
#sub-cat a {
  display: inline-block;
  padding-bottom: 2px;
  cursor: pointer;
}
#proj-map {
  color: #8c8e91;
  margin-bottom: 40px;
}
#proj-map h4 {
  margin-bottom: 22px;
  color: #e18c4e;
  font-size: 22px;
}
#proj-map a:hover {
  color: #000;
}
.right-col {
  width: 872px;
  float: right;
  position: relative;
  z-index: 3;
}
.right-col.project {
  width: 882px;
  display: flex;
  flex-direction: column;
}

.projects-container {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

@media (max-width: 1023px) {
  .projects-container {
    flex-direction: column;
  }
}

.projects-container .left-col {
  width: 300px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .projects-container .left-col {
    width: 100%;
  }

  .projects-container .left-col {
    padding-bottom: 0;
  }
}

.projects-container .right-col {
  /* flex: 1;
  display: flex;
  flex-wrap: wrap; */
  gap: 0;
  width: auto;
  margin-bottom: 30px;
}

.right-col.projects a {
  width: 218px;
  height: 218px;
  overflow: hidden;
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
}

.projects-menu-title {
  font-weight: 600;
}

.right-col.projects span.title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 8px;
  font-size: 24px;
  text-decoration: underline;
  opacity: 0;
  z-index: 3;
  display: block;
  line-height: 1.3;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

#project-title {
  font-size: 18px;
}

.right-col.projects span.bg {
  position: absolute;
  z-index: 2;
  background: #e18c4e;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
}
.right-col.projects a:hover span.bg {
  opacity: 0.6;
}
.right-col.projects a:hover span.title {
  opacity: 1;
}
#project-imgs {
  overflow: hidden;
}
#project-imgs .img {
  margin: 0 0 16px 0;
  padding: 0 5px 16px 5px;
  float: left;
  overflow: hidden;
}
#project-imgs .rozmiar-2,
#project-imgs .rozmiar-1 {
  height: 320px;
}
#project-imgs img {
  display: block;
  width: 100%;
  height: auto;
}
#project-sw {
  overflow: hidden;
  position: relative;
  font-size: 14px;
  margin-bottom: 16px;
}
#project-sw ul {
  list-style: none;
  margin: 0 0 0 5px;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}
#project-sw li {
  margin: 0 5px 0 0;
}
#project-sw li span,
#project-sw li a {
  display: block;
  height: 20px;
  width: 20px;
  line-height: 20px;
  background-color: transparent;
  border-radius: 10px;
  text-align: center;
}
#project-sw li span {
  width: 21px;
  height: 22px;
}
#project-sw li.active a,
#project-sw li a:hover {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
#project-sw li.prev-link span,
#project-sw li.prev-link a {
  background: url("images/arrow-left.png") no-repeat left center #e18c4e;
  background-size: 6px auto;
  background-position: 6px;
  margin-inline: 3px;
}
#project-sw li.next-link span,
#project-sw li.next-link a {
  background: url("images/arrow-right.png") no-repeat right center #e18c4e;
  background-size: 6px auto;
  background-position: 8px;
  margin-inline: 3px;
}
.team-desc {
  position: absolute;
  left: -276px;
  bottom: 35px;
  font-size: 15px;
  line-height: 1.2;
  width: 226px;
}
.team-desc {
  bottom: 56px;
}
#project-title {
  margin-bottom: 12px;
  color: #e18c4e;
  line-height: 1.5;
}
#project-desc p {
  line-height: 1.5;
}
.highlight {
  background-color: #e18c4e;
  position: relative;
}
span.highlight {
  display: inline;
  padding: 0 2px;
  position: relative;
}
.highlight-over {
  display: inline-block;
  margin-bottom: 3px;
  margin-top: 2px;
}
.page-129 .right-col.team,
.right-col.team .subpage {
  padding-bottom: 56px;
}
#subpage-30 {
  padding-bottom: 0;
}
/* .page-129 .right-col.team.hovered,
.right-col.team .subpage.hovered {
  padding-bottom: 0;
} */
.right-col.team {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.right-col.team .box {
  position: relative;
  /* background: #eae320 url("images/team-bg.jpg") repeat; */
  width: 218px;
  flex-shrink: 0;
}
.right-col.team .main-box {
  background: none;
  font-size: 33px;
  line-height: 1.3;
  float: none !important;
  color: #e18c4e;
  font-weight: 600;
  width: 100%;
  height: auto;
  margin-bottom: 0px;
  flex-basis: 100%;
  margin-bottom: 20px;
}
.right-col.team .box > div {
  right: 0;
  bottom: 0;
  position: relative;
  height: 218px;
  cursor: pointer;
}
.right-col.team .box.box-l0 > div {
  bottom: auto;
  top: 0;
}
.right-col.team .box.box-l > div {
  right: auto;
  left: 0;
}
.right-col.team .box:hover > div {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  height: 274px;
  width: 218px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.right-col.team .box .opis {
  background: #fff;
  font-size: 14px;
  line-height: 1.3;
  height: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
.right-col.team .box .opis-in {
  padding: 0 0 10px 17px;
}
/* .right-col.team .box.clicked .opis-in {
  padding-right: 17px;
} */
.right-col.team .box .opis-in.lines-3 {
  line-height: 16px;
  padding-top: 4px;
  padding-bottom: 4px;
}
/* .right-col.team .box.clicked .opis, */
.right-col.team .box:hover .opis {
  height: 56px;
  position: absolute;
  /* bottom: 8px; */
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}
.right-col.team .box .img {
  position: relative;
  overflow: hidden;
  top: 0;
  right: 0;
  width: 218px;
  height: 218px;
}
/* .right-col.team .box.clicked {
  position: relative;
  z-index: 3;
  height: 218px;
}
.right-col.team .box.clicked > div {
  position: absolute;
  height: 436px;
  width: 436px;
}
.right-col.team .box.clicked .opis {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto !important;
  display: block !important;
  text-align: right;
  background: url("images/white-8.png");
  background: rgba(255, 255, 255, 0.8);
}
.right-col.team .box.clicked .img {
  width: 436px;
  height: 436px;
} */
.right-col.team .box .img img {
  width: 100%;
}
.right-col.team .box .img .img-over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}
.right-col.team .box:hover .img .img-over {
  opacity: 0;
}
.right-col.team .clr-4 {
  display: none;
}
#mapa {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
select,
.inputbox {
  width: 210px;
  height: 22px;
  border: 1px solid #231f20;
  background: none;
  font-size: 15px;
  padding: 0 5px;
}
textarea.inputbox {
  height: 106px;
}
#formularz label {
  width: 190px;
  display: block;
  float: left;
  line-height: 22px;
}
#formularz_form > div {
  padding-bottom: 7px;
  overflow: hidden;
  position: relative;
}
#formularz_submit {
  height: 22px;
  line-height: 22px;
  display: inline-block;
  background: #e18c4e;
  margin-left: 190px;
  cursor: pointer;
  border: none;
  padding: 1px 6px;
}
#formularz_submit:hover {
  color: #fff;
  background: #231f20;
}
.fileinput {
  font-size: 12px;
}
#napisz-btn {
  font-size: 27px;
  width: 195px;
  margin-right: 10px;
  display: block;
  float: left;
  background: url("images/arr-d.png") no-repeat 168px 11px;
  cursor: pointer;
}
#napisz-btn:hover,
#napisz-btn.active {
  background-image: url("images/arr-d2.png");
}
#formularz {
  margin-left: 276px;
  overflow: hidden;
  position: relative;
  padding: 37px 0;
  clear: both;
  float: none;
}
#formularz_cont {
  float: left;
  width: 433px;
  padding-top: 7px;
}
#formularz_form {
  display: none;
}
.err .inputbox,
.err select {
  background: #e18c4e;
  text-decoration: line-through;
}
span.error {
  width: 25px;
  height: 25px;
  display: block;
  background: url("images/error.png") no-repeat center center;
  opacity: 0;
  position: absolute;
  right: 0;
  top: -3px;
}
.err span.error {
  opacity: 1;
}
#form-re {
  margin: 20px auto;
  padding: 20px 0;
  font-size: 33px;
  background: #e18c4e;
  text-align: center;
}

.page-12 {
  padding-top: 60px;
}

.page-title {
  font-size: 33px;
  line-height: 1.3;
  margin-bottom: 30px;
  padding-top: 20px;
  color: #e18c4e;
}

@media (max-width: 767px) {
  .page-title {
    font-size: 26px;
  }
}

.page-127 .text,
.page-id-16 #text {
  background: #e18c4e;
  padding: 25px 30px;
  min-height: 300px;
}
.page-id-115 #container .page {
  padding-top: 50px;
}
.page-id-115 #container .page-181,
.page-id-115 #container .page-133 {
  padding-top: 10px;
}
.page-id-115 #container div.page-129 {
  min-height: 278px;
}
.page-129 .right-col.team.active {
  min-height: 436px;
  padding-bottom: 0;
}
.page-129 .team-desc {
  bottom: auto;
  top: 95px;
  display: none;
}
#menu-btn {
  display: none;
  line-height: 31px;
  font-size: 22px;
  text-transform: capitalize;
  cursor: pointer;
  margin-top: 17px;
  float: right;
}
#menu-btn div {
  width: 30px;
  float: left;
  padding-right: 0;
}
#menu-btn div span {
  height: 2px;
  width: 100%;
  background: #231f20;
  display: block;
  margin: 6px 0 0 0;
}
#menu-btn div span:first-child {
  margin-top: 0;
}
#menu-btn > span {
  padding: 1px 7px;
  display: inline-block;
  color: #fff;
  background: #231f20;
  font-weight: 600;
  border-radius: 3px;
}
#menu-btn:hover > span,
.clicked #menu-btn > span {
  color: #fff;
  background: #231f20;
}
.page-id-5 #kontakt .text {
  width: 872px;
}

#kontakt {
  padding-block: 20px;
  background-color: #e18c4e;
}

#kontakt .page-title {
  color: #fff;
  font-weight: 300;
}

#kontakt .text {
  padding-bottom: 37px;
  color: #fff;
  overflow: hidden;
}

#kontakt .text img {
  padding-bottom: 10px;
  width: 34px;
  height: 46px;
  object-fit: contain;
}

#kontakt .text p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  #kontakt,
  .kontakt-footer {
    background-color: transparent;
  }

  #kontakt {
    padding-block: 80px 0;
  }

  #kontakt .container {
    background-color: #e18c4e;
    padding-block: 20px 30px;
  }
}

@media (min-width: 768px) {
  #kontakt .text {
    padding-bottom: 60px;
  }
}

.socials {
  position: absolute;
  left: 0;
  display: flex;
  gap: 10px;
}

.socials a {
  width: 31px;
  height: 31px;
}

.socials a:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .socials {
    bottom: 10px;
    left: 40px;
  }

  .socials a {
    width: 24px;
    height: 24px;
  }
}

/* Font weights for Lato */
.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 800;
}

/* Default font weights for specific elements */
.page-title {
  font-weight: 600;
}

#top .menu li a {
  padding: 3px 8px 4px;
  border-radius: 4px;
  font-weight: 400;
}

#top .menu li a:hover,
#top .menu li a.active {
  font-weight: 600;
}

#formularz_submit {
  font-weight: 400;
}

#napisz-btn {
  font-weight: 400;
}

/* Additional elements with font-weight 400 */
#top-info {
  font-weight: 400;
}

#sub-cat span,
#sub-cat a {
  font-weight: 400;
}

#formularz label {
  font-weight: 400;
}

select,
.inputbox {
  font-weight: 400;
}

/* Better line breaks and spacing */
br {
  display: block;
  margin: 0.5em 0;
  line-height: 1.4;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.scrolled .socials {
  display: none;
}

.box_c_1,
.box_c_2,
.box_c_3 {
  float: left; /* white-space: nowrap; */
  width: 33%;
}
.box_c_2,
.box_c_3 {
  padding-left: 35px;
}
.box_c_3 {
  padding-top: 43px;
}
.box_c_4 {
  float: right;
  padding-top: 46px;
}
@media (max-width: 1248px) {
  #logo {
    width: 170px;
    height: 58px;
    margin-top: 60px;
  }
  .container {
    width: 1024px;
    padding-left: 30px;
    padding-right: 30px;
  }
  #top .menu li {
    padding-left: 3px;
    margin-left: 3px;
  }
  #top .menu li a {
    padding-left: 3px;
    padding-right: 3px;
  }
  .lang-pl #top .menu li {
    padding-left: 5px;
    margin-left: 5px;
  }
  .lang-pl #top .menu li a {
    padding-left: 4px;
    padding-right: 4px;
  }
  #slides {
    height: 360px;
  }
  #slides img {
    height: 320px;
  }
  /* #left,
  #right {
    height: 100px;
    width: 100px;
    margin-top: -30px;
    background-size: 30px 30px;
  } */
  #left {
    left: 60px;
  }
  #right {
    right: 60px;
  }
  #text,
  .text {
    margin: 0 auto;
  }
  #formularz {
    margin-left: 137px;
  }
  .page-id-5 #kontakt .text {
    width: auto;
    padding-bottom: 0;
  }
  .box_c_4 {
    float: left;
    padding-left: 35px;
  }
  .right-col.project,
  .right-col {
    width: 748px;
  }
  .right-col.team {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .right-col.team .box {
    width: 187px;
    flex-shrink: 0;
  }
  .right-col.team .box > div {
    height: 187px;
  }
  .right-col.projects a,
  .right-col.team .box .img {
    width: 187px;
    height: 187px;
  }
  .right-col.team .box:hover > div {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    height: 260px;
    width: 187px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  /* .right-col.team .box.clicked .img {
    width: 374px;
    height: 374px;
  } */
  .page-129 .right-col.team.active {
    min-height: 374px;
  }
  .right-col.team .box .opis-in {
    padding-left: 10px;
  }
  /* .right-col.team .box.clicked .opis-in {
    padding-right: 10px;
  } */
  .right-col.projects span.title {
    font-size: 21px;
  }
  .team-desc {
    left: -256px;
  }
  #project-imgs .img {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  #project-imgs .rozmiar-2,
  #project-imgs .rozmiar-1 {
    height: 260px;
  }
  #project-imgs .rozmiar-1 {
    width: 249px;
  }
  #project-imgs .rozmiar-2 {
    width: 499px;
  }
}
@media (max-width: 1023px) {
  .container {
    width: 768px;
  }
  #formularz {
    margin: 0;
  }
  .menu {
    margin-left: 0;
    margin-top: 81px;
  }
  .scrolled .menu,
  .menu {
    margin-left: 15px;
  }
  #logo {
    width: 149px;
    height: 51px;
    margin-top: 10px;
  }
  #top-info {
    font-size: 13px;
    margin-top: 10px;
  }
  #top .menu li {
    padding-left: 3px;
    margin-left: 3px;
  }
  #top .menu li.langs {
    margin-left: 6px;
  }
  #top .menu li.langs a {
    width: 22px;
    line-height: 22px;
    height: 22px;
  }
  .lang-pl #top .menu li {
    padding-left: 5px;
    margin-left: 5px;
  }
  .lang-pl #top .menu li a {
    padding-left: 4px;
    padding-right: 4px;
  }
  #text,
  .text {
    width: auto;
  }
  .menu {
    font-size: 13px;
  }
  #container {
    background-position: 0 68px;
  }
  .scrolled #container {
    padding-top: 80px;
  }
  #slides {
    height: 340px;
  }
  #slides img {
    height: 300px;
  }
  #left,
  #right {
    height: 90px;
    width: 90px;
    margin-top: -25px;
  }
  #left {
    left: 50px;
  }
  #right {
    right: 50px;
  }
  .left-col,
  .right-col {
    float: none;
    width: auto;
  }
  .left-col {
    padding-bottom: 30px;
  }
  .team-desc {
    position: static;
    left: auto;
    bottom: auto;
    clear: both;
    width: auto;
    padding-top: 66px;
  }
  .page-129 .right-col.team,
  .right-col.team .subpage {
    padding-bottom: 0;
  }

  .hovered .team-desc {
    padding-top: 10px;
  }
  .page-129 .team-desc {
    top: auto;
  }
  .page-129 .active .team-desc {
    top: auto;
    padding-top: 197px;
  }
  #top #submenu ul {
    padding-left: 201px;
  }
  #project-imgs .rozmiar-2,
  #project-imgs .rozmiar-1 {
    height: 260px;
  }
  #project-imgs .rozmiar-1 {
    width: 249px;
  }
  #project-imgs .rozmiar-2 {
    width: 498px;
  }
  .page-id-5 .box_c_3 {
    clear: left;
    padding-left: 0;
    min-width: 50%;
  }
  .page-id-5 .box_c_4 {
    padding-left: 0;
  }
  .page-id-5 .box_c_1,
  .page-id-5 .box_c_2 {
    width: 50%;
  }
  .page-id-5 .box_c_2,
  .page-id-5 .box_c_4 {
    padding-left: 2%;
  }
}
@media (max-width: 767px) {
  .box_c_1,
  .box_c_2,
  .box_c_3 {
    width: 50%;
  }
  .box_c_3 {
    clear: left;
    padding-left: 0;
  }
  .container {
    width: 100%;
  }
  .text-col {
    -webkit-column-count: auto;
    -moz-column-count: auto;
    column-count: auto;
    -webkit-column-gap: normal;
    -moz-column-gap: normal;
    column-gap: normal;
  }
  #menu-btn {
    display: block;
  }

  .scrolled #top,
  #top,
  #top {
    height: 66px;
    background: #fff;
  }

  #top .container::after {
    display: none;
  }
  #top-info {
    display: block;
  }
  .scrolled #top-info,
  #top-info {
    display: none;
  }
  .menu {
    display: none;
    font-size: 20px;
  }
  .menu_active .menu {
    display: block;
    min-height: 120px;
    padding-top: 5px;
  }
  .scrolled .menu,
  .menu,
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #231f20;
  }
  #top .menu ul {
    line-height: 52px;
  }
  #top .menu li:first-child,
  #top .menu li {
    width: 33.3%;
    padding: 0 !important;
    margin: 0 !important;
    border: none;
    text-align: center;
    border-bottom: 1px solid #231f20;
  }
  #top .menu li a {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  /*#top .menu li:last-child:nth-child(3n+1) {margin-left: auto;margin-right: auto;float: none;clear: both;border-bottom: none;}*/
  #top .menu li.wykonawstwo {
    border-bottom: none;
  }
  #top .menu li.langs {
    margin-left: 0;
    position: static !important;
  }
  #top .menu li.langs a {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
  .scrolled #logo,
  #logo,
  #logo {
    width: 112px;
    height: 39px;
  }
  #container,
  .scrolled #container {
    padding-top: 0;
  }
  #top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
  }
  #slides {
    padding-top: 0;
    height: 280px;
  }
  #slides img {
    height: 280px;
  }
  #left,
  #right {
    height: 60px;
    width: 60px;
    margin-top: -30px;
  }
  #left {
    left: 20px;
  }
  #right {
    right: 20px;
  }
  #logo {
    margin-top: 13px;
  }
  #logo img {
    display: block !important;
  }
  #logo {
    background: none !important;
  }
  .scrolled #top-info,
  #top-info,
  #top-info {
    margin: 0 0 0 -49px;
    top: 11px;
    left: 50%;
    position: absolute;
    display: block;
    font-size: 11px;
  }
  .page {
    padding-top: 50px;
  }
  .page-7 {
    padding-top: 10px;
  }
  #napisz-btn {
    margin: 0 auto;
    float: none;
  }
  #formularz_cont {
    clear: both;
    float: none;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
  }
  .right-col.team,
  .right-col.projects {
    width: 460px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    /* justify-content: center; */
  }

  .right-col .clr-2 {
    clear: both;
    float: none;
  }
  .right-col.team .box {
    width: 230px;
    flex-shrink: 0;
  }
  /* .right-col.team .box.clicked, */
  .right-col.team .box > div {
    height: 230px;
  }
  .right-col.projects a,
  .right-col.team .box .img {
    width: 230px;
    height: 230px;
  }
  .right-col.team .box:hover > div {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    height: 286px;
    width: 230px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  /* .right-col.team .box.clicked > div,
  .right-col.team .box.clicked .img {
    width: 460px;
    height: 460px;
  } */
  .right-col.team .subpage {
    padding-bottom: 0;
  }
  .right-col.team .box > div {
    left: auto !important;
    right: 0 !important;
  }
  .right-col.team .box.box-m0 > div {
    right: auto !important;
    left: 0 !important;
  }
  .right-col.project {
    width: 100%;
    margin: 0 auto;
  }
  #project-imgs .rozmiar-2,
  #project-imgs .rozmiar-1 {
    height: 241px;
  }
  #project-imgs .rozmiar-1 {
    width: 230px;
  }
  #project-imgs .rozmiar-2 {
    width: 460px;
  }
  .page-129 .main-box {
    float: none !important;
    clear: both !important;
    height: auto !important;
    padding-bottom: 10px;
    min-height: 104px;
  }
  .page-129 .clr-2 {
    display: none;
  }
  .page-129 .right-col.team .box > div {
    right: auto !important;
    left: 0 !important;
  }
  .page-129 .right-col.team .box.box-m0 > div {
    left: auto !important;
    right: 0 !important;
  }
  .page-129 .active .team-desc {
    padding-top: 240px;
  }
  .page-129 .right-col.team.active {
    min-height: 574px;
  }
}
@media (max-width: 479px) {
  .right-col.team .box .opis {
    font-size: 12px;
  }
  .right-col.team .box .opis-in {
    padding-left: 0;
  }
  .right-col.team .main-box {
    font-size: 22px;
  }
  .right-col.team,
  .right-col.projects {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .right-col.projects {
    gap: 10px;
  }

  .right-col.team .box {
    width: 140px;
    flex-shrink: 0;
  }
  .right-col.team .box > div {
    height: 150px;
  }
  .right-col.projects a,
  .right-col.team .box .img {
    width: 150px;
    height: 150px;
  }
  .right-col.projects span.title {
    font-size: 16px;
  }
  .right-col.team .box:hover > div {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    height: 206px;
    width: 150px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .box_c_1,
  .box_c_2,
  .box_c_3,
  .box_c_4 {
    width: auto;
    float: none;
    padding-left: 0;
  }
  .box_c_1 {
    padding-bottom: 43px;
  }
  #formularz label {
    float: none;
    width: auto;
    margin-bottom: 7px;
  }
  #formularz_cont {
    width: auto;
  }
  select,
  .inputbox {
    width: 100%;
  }
  #formularz_submit {
    margin-left: 0;
    float: right;
  }
  #top-info {
    display: none !important;
  }
  .menu {
    font-size: 16px;
  }
  #top .menu ul {
    line-height: 35px;
  }
  #top .menu li.wykonawstwo {
    width: 66%;
  }
  #top .menu li.langs a {
    width: 28px;
    line-height: 28px;
    height: 28px;
  }
  .right-col.project {
    width: 100%;
  }
  #project-imgs .rozmiar-2,
  #project-imgs .rozmiar-1 {
    height: 161px;
  }
  #project-imgs .rozmiar-1 {
    width: 150px;
  }
  #project-imgs .rozmiar-2 {
    width: 300px;
  }
  .page-129 .active .team-desc {
    padding-top: 160px;
  }
  .page-129 .right-col.team.active {
    min-height: 366px;
  }
}

@media (min-width: 768px) {
  #top .menu ul {
    display: flex;
    gap: 20px;
  }
}

/* Custom styles */
.right-col.team .subpage {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .right-col.team .subpage {
    max-width: 500px;
  }
}

.team-desc {
  display: none;
}

.projects-placeholder {
  font-weight: 600;
}

@media (min-width: 1024px) {
  #zespol .container {
    width: 900px;
    display: flex;
    gap: 60px;
  }

  #zespol #sub-cat {
    padding-top: 150px;
  }

  #zespol .subpage {
    padding-bottom: 0;
  }

  #zespol {
    padding-bottom: 40px;
  }
}

@media (max-width: 767px) {
  #zespol .container {
    display: flex;
    flex-direction: column-reverse;
    padding-inline: 20px;
  }

  #zespol .left-col {
    padding-bottom: 0;
    order: 2;
  }

  #zespol .right-col {
    order: 1;
  }

  #zespol .page-title {
    padding-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 1023px) {
  #zespol .right-col.team {
    justify-content: center;
  }

  #zespol .subpage {
    justify-content: center;
  }
}

.proj-list {
  color: #000;
  font-weight: 400;
}

.proj-list a {
  display: block;
}

.projects li,
.project li {
  padding-bottom: 16px;
}

@media (max-width: 767px) {
  .projects li,
  .project li {
    padding-bottom: 10px;
  }
}

.subpage {
  display: none;
}
#zespol .subpage {
  display: none;
}
#zespol .subpage:first-child {
  margin-top: 0;
  display: flex;
}

/* Referencje page styles */
.page-referencje .page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  color: #e18c4e;
  font-size: 33px;
  font-weight: 600;
}

.page-referencje .page-title .icon {
  font-size: 28px;
}

.referencje-intro {
  text-align: center;
  margin-bottom: 60px;
  max-width: 770px;
  margin-left: auto;
  margin-right: auto;
}

.referencje-intro p {
  font-size: 24px;
  line-height: 1.6;
  color: #333;
}

.referencje-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.referencja-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.referencja-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #e18c4e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referencja-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(225, 140, 78, 0.3);
}

.referencja-nazwa {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  padding: 0 20px;
}

.referencja-link {
  color: #e18c4e;
  text-decoration: underline;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.referencja-link:hover {
  color: #d17a3a;
  text-decoration: none;
}

.referencja-link span {
  color: #666;
  text-decoration: none;
  font-style: italic;
}

@media (max-width: 768px) {
  .referencje-grid {
    gap: 30px;
  }

  .referencja-circle {
    width: 150px;
    height: 150px;
  }

  .referencja-nazwa {
    font-size: 16px;
    padding: 0 15px;
  }

  .page-referencje .page-title {
    font-size: 28px;
    flex-direction: column;
    gap: 10px;
  }

  .referencje-intro p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .referencje-grid {
    gap: 20px;
  }

  .referencja-circle {
    width: 120px;
    height: 120px;
  }

  .referencja-nazwa {
    font-size: 14px;
    padding: 0 10px;
  }
}

.page-referencje .text {
  margin-inline: auto;
}

/* Footer Contact Styles */
.kontakt-footer {
  background-color: #e18c4e;
  padding: 0;
}

.kontakt-footer br {
  margin: 0;
}

.kontakt-footer .box_c_2,
.kontakt-footer .box_c_3 {
  padding-inline: 0 !important;
}

.kontakt-footer .box_c_3 {
  font-size: 17px;
}

.kontakt-footer .page-title {
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
  text-align: left;
}

.kontakt-footer .text {
  color: #fff;
}

.kontakt-footer .box_c_1,
.kontakt-footer .box_c_2,
.kontakt-footer .box_c_3 {
  color: #fff;
}

.kontakt-footer .box_c_1,
.kontakt-footer .box_c_2,
.kontakt-footer .box_c_3 {
  float: left;
  width: 33%;
  padding-right: 20px;
}

.kontakt-footer .box_c_3 {
  padding-top: 43px;
}

.kontakt-footer .box_c_4 {
  float: right;
  padding-top: 46px;
}

/* Map styles */
#mapa {
  width: 100%;
  height: 300px;
  background: #f5f5f5;
  overflow: hidden;
}

.map-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border: 2px dashed #ccc;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  background: #e8e8e8;
  border-color: #e18c4e;
}

.map-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.map-text {
  font-size: 18px;
  font-weight: 600;
  color: #e18c4e;
  text-transform: uppercase;
}

/* Footer */
@media (max-width: 1023px) {
  .kontakt-footer .box_c_1,
  .kontakt-footer .box_c_2,
  .kontakt-footer .box_c_3 {
    width: 50%;
    padding-right: 20px;
    margin-bottom: 20px;
  }

  .kontakt-footer .box_c_3 {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .kontakt-footer {
    padding: 40px 0;
  }

  .kontakt-footer .box_c_1,
  .kontakt-footer .box_c_2,
  .kontakt-footer .box_c_3 {
    width: 100%;
    float: none;
    padding-right: 0;
    margin-bottom: 0;
  }

  .kontakt-footer .box_c_3 {
    clear: none;
  }
}

.icon img {
  max-width: 90px;
}

@media (max-width: 767px) {
  .icon img {
    max-width: 70px;
  }
}

.page-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.referencje-bg-img {
  width: 100%;
  padding-block: 40px 10px;
}

@media (max-width: 767px) {
  .page-referencje {
    padding-top: 0;
  }

  .page-referencje .page-title {
    padding-top: 0;
  }
}

#o-firmie {
  padding-top: 50px;
}
