@import url("./reset.css");
@import url("./mediaqueries.css");

* {
  box-sizing: border-box;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
strong,
b {
  font-weight: 700;
}
h1,
h2,
h3 {
  text-transform: uppercase;
}
a {
  color: inherit;
}
html {
  overflow-y: scroll;
}
body {
  background: #fff;
  padding-top: 80px;
  font-size: 18px;
  line-height: 1.48;
  color: #333;
  font-weight: 400;
  min-height: 100%;
}
.cf,
.clear,
.clearfix {
  zoom: 1;
}
.cf:before,
.clear:before,
.clearfix:before,
.cf:after,
.clear:after,
.clearfix:after {
  content: "";
  display: table;
}
.cf:after,
.clear:after,
.clearfix:after {
  clear: both;
}
.btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #999;
  height: 60px;
  line-height: 60px;
  background: none;
  border-style: solid;
  border-radius: 5px;
  border-width: 2px;
  padding-left: 30px;
  padding-right: 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 900;
  font-size: 80%;
  display: table;
}

.btn-white {
  color: #fff;
  border-color: #fff;
  transition: all 0.25s ease-in-out;
}

.btn-white:hover {
  background: #333;
  color: white;
  border-color: #333;
}

.btn-red {
  color: #f56a3e;
  border-color: #f56a3e;
}
.btn-red:hover {
  background-color: #f56a3e;
  border-color: #f56a3e;
  color: white;
}

form {
  width: 100%;
  display: block;
}
.input-group {
  margin-bottom: 15px;
}
label {
  line-height: 1.4 !important;
  padding: 0 10px;
  display: block;
  line-height: 30px;
}
.checkbox {
  line-height: 80%;
}
.checkbox input {
  width: auto;
  margin-right: 5px;
  -webkit-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
}
.checkbox label {
  font-size: 80%;
  display: inline;
}
input,
textarea {
  text-align: left !important;
  font-size: 90%;
  width: 100%;
  line-height: 1.4;
  padding: 5px 10px;
  border: 1px solid #898989;
  border-radius: 4px;
}

.component,
.component-small {
  margin-top: 50px;
  margin-bottom: 50px;
}
.component *,
.component-small * {
  text-align: center;
}
.component h2,
.component-small h2 {
  text-transform: uppercase;
  font-size: 125%;
}
.component img,
.component-small img {
  *zoom: 1;
  width: auto;
  max-width: 1440px;
  float: none;
  display: block;
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 25px;
  border-radius: 50%;
}
.component img:before,
.component-small img:before,
.component img:after,
.component-small img:after {
  content: "";
  display: table;
}
.component img:after,
.component-small img:after {
  clear: both;
}
.component img {
  max-width: 280px;
}
.component-small img {
  max-width: 200px;
}
.component-1-3 {
  *zoom: 1;
  float: left;
  clear: none;
  text-align: inherit;
  width: 31.3333333333333%;
  margin-left: 0%;
  margin-right: 3%;
}
.component-1-3:before,
.component-1-3:after {
  content: "";
  display: table;
}
.component-1-3:after {
  clear: both;
}
.component-1-3:nth-child(3n) {
  margin-right: 0%;
  float: right;
}
.component-1-3:nth-child(3n + 1) {
  clear: both;
}
.profil-firmy ul {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.cennik-a-objednavka section {
  text-align: center;
}
.cennik-a-objednavka .price-list {
  text-align: center;
  margin-bottom: 100px;
}
.cennik-a-objednavka .btn {
  display: inline-block;
}
.cennik-a-objednavka form {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.cennik-a-objednavka textarea {
  height: 150px;
  resize: vertical;
}
.visual-header {
  background-size: cover;
  background-position: center;
  padding: 50px 0;
}
.visual-header .main-wrap {
  padding: 0;
}
.visual-header.v-1 {
  background-image: url("../img/header-1.jpg");
}
.visual-header.v-2 {
  background-image: url("../img/header-2.jpg");
}
.visual-header.v-3 {
  background-image: url("../img/header-3.jpg");
  background-position: center;
}
.visual-header.v-4 {
  background-image: url("../img/header-4.jpg");
}
.visual-header h1 {
  font-size: 35px;
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
  line-height: 35px;
}
.contact-form textarea {
  height: 150px;
  resize: vertical;
}
.contact-form .input-group.submit {
  text-align: center !important;
}
.contact-form .input-group.submit .btn {
  display: inline;
}
.with-icon {
  padding-left: 18px;
  margin-left: 18px;
  position: relative;
  line-height: 18px;
  margin-top: 15px;
}
.with-icon i {
  position: absolute;
  top: 0;
  left: -18px;
}
.icon,
.phone i,
.address i,
.mail i {
  display: inline-block;
  width: 18px;
  height: 18px;
}
.phone i {
  background: url("../img/icon-phone-dark.png");
}
.address i {
  background: url("../img/icon-home-dark.png");
}
.mail i {
  background: url("../img/icon-envelope-dark.png");
}
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  text-align: center;
  padding-bottom: 10px;
  padding-top: 10px;
  position: sticky;
  bottom: 0;
  background: white;
  z-index: 1;
}
.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.map-canvas {
  width: 100%;
  height: 450px;
}

/**
 * Page header
 */
.page-header {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 1000;
  display: flex;
}

.page-header .header-content {
  position: relative;
  padding: 0;
  display: inline-flex;
  max-width: 1280px;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.page-header .logo {
  width: 194px;
  height: 48px;
  font-size: 0;
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.logo img:nth-child(2) {
  margin-left: 0.5rem;
}

/**
 * Navigation
 */

.page-header .nav_handle {
  background-image: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgZW5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zI4LjA5OSwxMC4yODEsNTAsMTAuMjgxUzg5LjcyLDI4LjA5OSw4OS43Miw1MFM3MS45MDEsODkuNzE5LDUwLDg5LjcxOXoiPjwvcGF0aD48L3N2Zz4=");
  background-size: auto 32px;
  background-color: white;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 48px !important;
  display: block;
}

.navigation {
  position: relative;
  outline: none;
  overflow: visible !important;
}

.navigation-links {
  position: relative;
  z-index: 1;
  height: 100%;
  background: white;
  display: flex;
  flex-flow: column;
}

.lang-links {
  display: flex;
  padding: 1rem;
  border-bottom: 1px solid lightgray;
}

.lang-links img {
  margin: 0;
  width: 24px;
  height: 14px;
  display: block;
  border: 1px solid lightgray;
}

.lang-links > * {
  margin-right: 1rem;
  padding: 0.25rem;
}

.navigation .nav-link {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 1rem;
  border-bottom: 1px solid lightgray;
  display: block;
  text-decoration: none;
}

.navigation .nav-link-active {
  background-color: black;
  color: white;
}

.fs-navigation-lock .navigation-lock-overlay {
  width: 200vw;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/**
 * Homepage
 */
body {
  min-height: 100vh;
  display: flex;
  flex-flow: column;
}

.page-content {
  display: flex;
  flex-grow: 1;
  flex-flow: row;
  max-width: 1024px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
}

.home .page-content {
  max-width: 1600px;
  padding: 0;
}

.homepage-grid {
  max-width: 100%;
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: 2fr 1fr 1fr 1fr;
  grid-template-areas:
    "tile1"
    "tile2"
    "tile3"
    "tile4";
}

@media screen and (min-width: 1024px) {
  .homepage-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 2fr 3fr;
    grid-template-areas:
      "tile1 tile1 tile1"
      "tile2 tile3 tile4";
  }
}

.homepage-grid .tile {
  padding: 4rem 2rem;
}

.homepage-grid .tile {
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.homepage-grid .tile-content {
  position: relative;
  color: white;
}

.homepage-grid .tile-center-content .tile-content {
  justify-content: center;
  align-items: center;
  display: flex;
  height: 100%;
}

.homepage-grid .tile-fullwidth-content .tile-content {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.homepage-grid .tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.homepage-grid .tile1 {
  grid-area: tile1;
  background: #d18550 url("/content/homepage/img-1.jpg");
  background-position: center left;
}

.homepage-grid .tile2 {
  grid-area: tile2;
  background-color: #aa877b;
  background-image: url("/content/homepage/img-2.jpg");
  background-position: right center;
}

.homepage-grid .tile3 {
  grid-area: tile3;
  background-color: #aa877b;
  background-image: url("/content/homepage/img-3.jpg");
  background-position: left center;
}

.homepage-grid .tile4 {
  grid-area: tile4;
  background-color: #8f857a;
  /* background-image: url("/content/homepage/img-4.jpg"); */
  position: relative;
}

.homepage-grid .tile4 iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/**
 * Contact page
 */
.kontakt .page-content > * {
  flex-grow: 1;
}

@media screen and (max-width: 1023px) {
  .kontakt .page-content {
    display: initial;
  }

  .kontakt .page-content > * + * {
    margin-top: 4rem;
  }
}

table {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

table {
  border-collapse: collapse;
}
tr {
  border-bottom: 1px solid #ccc;
}
th,
td {
  text-align: left;
  padding: 4px;
}
