@charset "utf-8";
/* LESS Document */
/*
 

Theme Name: FBA
Theme URI: http://fba.pl/
Description: Strona firmowa
Version: 1
Author: Daniel Różynek
Author URI: http://www.moai.pl/
 
*/
/* ----------------BASICS---------------- */
body,
td,
th,
input,
textarea {
  font-family: 'Barlow Condensed', sans-serif;
  color: #333;
  font-size: 18px;
  line-height: 30px;
}
body {
  background-color: #fff;
  margin: 0px;
  overflow-x: hidden;
}
img {
  border: none;
}
input,
textarea {
  box-sizing: border-box;
  width: 100%;
  border: solid 1px #cbbc9f;
  padding-left: 8px;
  padding-right: 8px;
  outline: none;
  margin-bottom: 6px;
}
textarea {
  height: 200px;
}
.wpcf7-submit {
  color: #fff;
  background-color: #cbbc9f;
  transition: ease-in-out all 0.3s;
}
.wpcf7-submit:hover {
  background-color: #747579;
}
a {
  color: #009FDB;
}
a:hover {
  color: #090303;
  text-decoration: none;
}
.alignleft {
  display: inline;
  float: left;
  margin-right: 20px;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.625em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.small {
  font-size: 10px;
}
.picfull {
  width: 100%;
  height: auto;
}
.res {
  max-width: 60%;
  padding-left: 10vw;
  padding-right: 10vw;
  margin-left: auto;
  margin-right: auto;
}
.under {
  text-align: center;
  background-color: #fff;
}
.white {
  background-color: #fff;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.fleft {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding-right: 40px;
}
.fright {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding-left: 40px;
}
.vcenter {
  display: flex;
  align-items: center;
}
.vcenter .vcontent {
  width: 100%;
}
.padding {
  padding-top: 100px;
  padding-bottom: 100px;
}
/* ----------------MENU---------------- */
.primary-navigation {
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  flex: 1;
}
.primary-navigation ul {
  list-style: none;
  margin: 0;
}
.primary-navigation ul li {
  border: 0;
  display: inline-block;
  position: relative;
  margin-right: 20px;
}
.primary-navigation ul li a {
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: all ease-in-out 0.5s;
  line-height: 26px;
  font-size: 18px;
  color: #fff;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 4px;
  padding-top: 4px;
}
.primary-navigation ul li a:after {
  transition: all ease-in-out 0.5s;
  position: absolute;
  width: 0%;
  height: 1px;
  content: '';
  display: block;
  background-color: #fff;
  left: 50%;
}
.primary-navigation ul li a:hover {
  color: #fff;
  transition: all ease-in-out 0.25s;
}
.primary-navigation ul li a:hover:after {
  transition: all ease-in-out 0.25s;
  width: 100%;
  left: 0;
}
.primary-navigation ul li ul {
  font-size: 14px;
  transition: opacity ease-in-out 0.3s;
  opacity: 0;
  padding: 0;
  float: 0;
  margin: 0;
  display: flex;
  position: absolute;
  top: 30px;
  left: -999em;
  z-index: 99999;
}
.primary-navigation ul li ul li a {
  text-transform: none;
}
.primary-navigation ul li ul .menu-item-has-children {
  padding-right: 11px;
  position: relative;
  margin-right: 10px;
}
.primary-navigation ul li ul ul {
  padding: 0;
  left: -999em;
  top: 0;
}
.primary-navigation .current_page_item > a,
.primary-navigation .current_page_ancestor > a,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a,
.primary-navigation .mPS2id-highlight {
  color: #fff;
  text-decoration: underline;
}
.primary-navigation ul li:hover > ul,
.primary-navigation ul li.focus > ul {
  left: 0;
  opacity: 1;
}
.primary-navigation ul ul li:hover > ul,
.primary-navigation ul ul li.focus > ul {
  left: 100%;
}
/* ----------------GENERAL---------------- */
.acf-map {
  width: 100%;
  height: 500px;
  border: none;
  margin: 0;
}
.acf-map img {
  max-width: inherit !important;
}
.fullheight,
.slide-img {
  height: 100vh;
  box-sizing: border-box;
}
h1 {
  font-size: 40px;
  line-height: 50px;
  font-weight: 400;
  margin-top: 0px;
  color: #747579;
}
h2 {
  font-size: 3vw;
  line-height: 3vw;
  padding: 0px;
  margin: 0px;
}
h3 {
  font-size: 30px;
  line-height: 36px;
  padding: 0;
  margin: 0;
}
h4 {
  font-size: 40px;
  line-height: 46px;
  padding: 0;
  margin: 0;
}
h6 {
  font-size: 26px;
  line-height: 38px;
  margin-bottom: 30px;
  padding-top: 0;
  margin-top: 0;
  font-weight: 400;
}
#top {
  height: 100px;
}
.fullheight {
  box-sizing: border-box;
  min-height: 100vh;
}
.dwiekolumny {
  column-count: 2;
  column-gap: 100px;
}
.dwiekolumny p:first-of-type {
  padding-top: 0;
  margin-top: 0;
}
.trzykolumny {
  column-count: 3;
  column-gap: 100px;
}
.wiecej {
  margin-right: 14px;
  background-color: #fff;
  color: #333;
  display: inline-block;
  padding: 20px 50px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
  transition: ease-in-out all 0.25s;
}
.wiecej:hover {
  padding-left: 70px;
  padding-right: 70px;
  color: #cbbc9f;
  transition: cubic-bezier(0.25, 3, 0.25, 0) all 0.5s;
}
.videoitem {
  position: absolute;
  padding-bottom: 56.25%;
  padding-top: 25px;
  width: 100%;
  height: 0;
  z-index: 0 !important;
}
.videoitem iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 62%;
}
.videoitem .video-text {
  width: 30%;
  position: absolute;
  right: 3%;
}
.navitem {
  position: absolute;
  bottom: 0;
  text-align: center;
  display: block;
  z-index: 3;
}
.navitem ul li {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 6px;
  padding: 0;
  border-radius: 50px;
  background-color: transparent;
  border: 1px solid #dbdbdb;
  outline: none;
  transition: ease-in-out all 0.25s;
}
.navitem ul li:hover {
  background-color: transparent;
  outline: none;
  border: 3px solid #dbdbdb;
  padding: 2px;
}
.navitem ul .active {
  background-color: transparent;
  outline: none;
  border: 3px solid #cbbc9f;
}
/* ----------------HEADER---------------- */
#header {
  background-color: #747579;
  z-index: 100;
  transition: all ease-in-out 0.5s;
  width: 100%;
  position: fixed;
  top: 0;
}
#header #logo {
  display: block;
  padding: 10px;
  flex: 0 0 100px;
  box-sizing: border-box;
  text-align: center;
  transition: ease-in-out all 0.5s;
}
#header #logo img {
  display: block;
  width: 100%;
  height: auto;
}
#header #socials {
  padding-top: 6px;
  padding-right: 20px;
  text-align: right;
}
#header #socials a {
  margin-left: 6px;
  display: inline-block;
}
#header #socials a img {
  width: 16px;
  height: auto;
}
#header .right ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#header .right ul a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}
.home #top {
  height: 0;
}
.scrolled #logo {
  width: 115px;
  padding-top: 30px;
  padding-bottom: 25px;
}
.text-row {
  display: flex;
}
.text-row .text {
  flex: 1;
}
/* ----------------FRONT---------------- */
.slider-wrap .slide .slide-img {
  background-position: center !important;
  background-size: cover !important;
}
.slider-wrap .slide .slide-img img {
  width: 100%;
  height: auto;
}
/* ----------------CONTENT---------------- */
.content-in {
  text-align: justify;
}
.content-in ul {
  text-align: left;
}
.archive-head {
  height: 50vh;
  background-image: url("images/back.jpg");
  background-size: cover !important;
  background-attachment: fixed !important;
}
.project-head {
  height: calc(100vh - 330px);
  background-position: center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
.project-content .project-description {
  text-align: justify;
}
.project-content .project-data {
  font-size: 14px;
  line-height: 20px;
}
.project-content .project-data .row {
  border-bottom: 1px solid #999;
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.project-content .project-data .row .data {
  padding-left: 20px;
  text-align: right;
}
.project-gallery {
  margin-top: 60px;
}
.project-gallery img {
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 4px;
}
.ptop {
  padding-top: 20px;
  display: inline-block;
}
.ptop img {
  display: block;
}
h1 {
  font-size: 50px;
  line-height: 60px;
  padding-top: 80px;
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid #999;
}
h1 span {
  float: right;
  font-size: 30px;
}
h1.projekt {
  padding-top: 0;
  margin-top: 0;
}
#breadcrumbs {
  padding-top: 80px;
  color: #ddd;
  font-size: 14px;
}
#breadcrumbs a {
  color: #999;
  text-decoration: none;
}
#breadcrumbs a:hover {
  color: #000;
}
.listing {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.listing .box {
  flex: 0 0 31%;
  font-size: 24px;
  line-height: 34px;
  padding-bottom: 40px;
}
.listing .box img {
  padding-bottom: 10px;
  display: block;
  width: 100%;
  height: auto;
}
.listing .box a {
  display: block;
  color: #333;
  text-decoration: none;
}
.newsy .box {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}
section {
  position: relative;
}
section .zdjecie-back {
  background-size: cover !important;
  background-position: center !important;
  position: absolute;
  z-index: -2;
  width: 100%;
  height: calc(100% + 200px);
  bottom: 0;
  left: 0;
}
.tabele {
  display: flex;
}
.tabele .tabela {
  box-sizing: border-box;
  padding: 4% 5%;
  flex: 1;
}
.tabele .tabela table {
  padding-top: 60px;
  left: 0;
  width: 100%;
  position: relative;
}
.tabele .tabela table:before,
.tabele .tabela table:after {
  top: 20px;
  content: '';
  display: block;
  position: absolute;
  height: 1px;
  width: 3px;
  background-color: #747579;
}
.tabele .tabela table:after {
  left: 8px;
  width: 60px;
}
.tabele .tabela table td,
.tabele .tabela table th {
  vertical-align: baseline;
  text-align: left;
  font-size: 14px;
  line-height: 18px;
  padding: 4px 6px;
}
.tabele .tabela em {
  display: inline-block;
  background-color: #cbbc9f;
  color: #fff;
  font-style: normal;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 14px;
  line-height: 14px;
}
.tabele .tabela h3 {
  text-transform: uppercase;
}
.grid a {
  margin-bottom: 1px;
  margin-right: 1px;
  display: block;
}
.grid img {
  width: 100%;
  height: auto;
  display: block;
}
.grid-item,
.grid-sizer {
  display: block;
  width: 33%;
  margin-bottom: 1px;
}
/* ----------------FOOTER---------------- */
#backtotop {
  width: 30px;
  height: 20px;
  background-color: #ddd;
  color: #000;
  position: fixed;
  right: -70px;
  bottom: 100px;
  padding: 20px;
  border-radius: 100px 0 0 100px;
  font-size: 30px;
  font-weight: 600;
  z-index: 99999;
  text-decoration: none;
  transition: ease-in-out all 0.25s;
}
#backtotop:before,
#backtotop:after {
  content: '';
  display: block;
  position: absolute;
  left: 26px;
  top: 26px;
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  transform: rotate(-45deg);
  width: 12px;
  height: 12px;
  transition: ease-in-out all 0.25s;
}
#backtotop:before {
  border-color: #666;
}
#backtotop:hover:after {
  top: 18px;
}
#backtotop:hover:before {
  top: 22px;
}
.scrolled #backtotop {
  right: 0;
}
footer {
  margin-top: 60px;
  padding-bottom: 50px;
  padding-top: 50px;
  background-color: #747579;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}
footer h5 {
  color: #cbbc9f;
  font-size: 16px;
  line-height: 22px;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer ul {
  flex-wrap: wrap;
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}
footer ul li {
  flex: 1;
}
footer ul li:last-of-type {
  flex: 0 0 100%;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.home footer {
  display: none;
}
/* ----------------ANIMATIONS---------------- */
.anim {
  transition: ease-out all 0.5s;
}
.afade {
  opacity: 0;
}
.aleft {
  transform: translateX(-50px);
  opacity: 0;
}
.aright {
  transform: translateX(50px);
  opacity: 0;
}
.abottom {
  transform: translateY(50px);
  opacity: 0;
}
.visible {
  transition-delay: 0.5s;
  transform: translateX(0);
  opacity: 1;
  transform: translateY(0);
}
.adelay1 {
  transition-delay: 0.6s !important;
}
.adelay2 {
  transition-delay: 0.7s !important;
}
.adelay3 {
  transition-delay: 0.8s !important;
}
.adelay4 {
  transition-delay: 0.9s !important;
}
.adelay5 {
  transition-delay: 1s !important;
}
/* ----------------RESPONSIVE---------------- */
@media handheld and (max-width: 1450px), screen and (max-width: 1450px) {
  #header #logo {
    flex: 0 0 70px;
  }
  #top {
    height: 70px;
  }
  h1 {
    font-size: 38px;
    line-height: 48px;
  }
  h1 span {
    font-size: 16px;
  }
  .project-head {
    height: calc(100vh - 250px);
  }
  .primary-navigation ul li a {
    font-size: 14px;
    line-height: 22px;
  }
  .primary-navigation ul li ul {
    top: 22px;
  }
  .primary-navigation ul li ul li a {
    font-size: 12px;
    line-height: 20px;
  }
}
@media handheld and (max-width: 1366px), screen and (max-width: 1366px) {
  .listing .box {
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 30px;
  }
}
@media handheld and (max-width: 1024px), screen and (max-width: 1024px) {
  .wpml-ls-legacy-list-horizontal {
    padding: 0 !important;
  }
  #header .headwrap {
    justify-content: space-between;
  }
  .project-content .project-description {
    flex: 0 0 60%;
  }
  .project-head {
    height: 70vw;
  }
  .res {
    max-width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  #responsive-menu-pro-container {
    top: 70px !important;
    padding: 60px 20px !important;
  }
}
@media handheld and (max-width: 800px), screen and (max-width: 800px) {
  #breadcrumbs,
  h1 {
    padding-top: 60px;
  }
  .res {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .listing .box {
    flex: 0 0 46%;
  }
  .project-content {
    display: block;
  }
  .project-content .project-description {
    padding-right: 0;
    padding-bottom: 20px;
  }
}
@media handheld and (max-width: 640px), screen and (max-width: 640px) {
  #breadcrumbs,
  h1 {
    padding-top: 40px;
  }
  body,
  td,
  th,
  input,
  textarea {
    font-size: 14px;
    line-height: 24px;
  }
  h1 {
    font-size: 30px;
    line-height: 40px;
    padding-top: 50px;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  h1 span {
    font-size: 18px;
  }
  .listing .box {
    flex: 0 0 100%;
  }
  .project-content .project-data {
    font-size: 12px;
    line-height: 18px;
  }
  footer ul {
    display: block;
  }
  footer ul li p {
    text-align: left !important;
  }
  footer ul li:last-of-type p {
    text-align: center !important;
  }
  .res {
    padding-left: 10px;
    padding-right: 10px;
  }
}
