/*
Theme Name: webkapitan ACF Builder - excellent solution for developers
Author: webkapitan.pl
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webkapitan ACF Builder
Description: © All rights reserved. Copying, processing, distributing this template in whole or in part without the author's permission is prohibited.
Author URI: https://webkapitan.pl/
*/

:root {
  --border-radius: 0.5rem;
}

/* Font */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400; /* Regular */
  src:
    local("Poppins Regular"),
    url("fonts/Poppins-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600; /* SemiBold */
  src:
    local("Poppins SemiBold"),
    url("fonts/Poppins-SemiBold.woff") format("woff");
  font-display: swap;
}

html {
  font-size: 18px;
  font-weight: 400;
}

body {
  font-family: "Poppins", arial, sans-serif;
  line-height: 1.6;
  color: var(--color-main);
}

main,
footer {
  overflow: hidden;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-main);
  text-decoration: none;
  transition: 0.4s ease;
}

a:hover {
  color: var(--color-2);
  text-decoration: underline;
  transition: 0.4s ease;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
.h1 {
  font-family: "Poppins", arial, sans-serif;
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

h2,
.h2 {
  font-family: "Poppins", arial, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

h3,
.h3 {
  font-family: "Poppins", arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
}

h4,
h5,
.h4,
.h5 {
  font-family: "Poppins", arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.title_center {
  display: inline-block;
  margin: 0 auto 2rem;
}

.page_text p {
  margin-bottom: 2.5rem;
}

b,
strong,
.strong {
  font-weight: 600;
}

.text pre {
  color: var(--color-2);
  text-transform: uppercase;
}

/* .text_medium {
    font-family: 'Montserrat-Regular',arial,sans-serif;
} */

small,
.small {
  font-size: 80%;
}

.text_md {
  font-size: 115%;
}

.text_lg {
  font-size: 140%;
}

.uppercase {
  text-transform: uppercase;
}

.text_center {
  text-align: center;
}

.break_word {
  word-wrap: break-word;
}

.nowrap {
  white-space: nowrap;
}

ol {
  padding-left: 1.3rem;
  margin-bottom: 0;
}

ol li {
  padding: 0 0 1.2rem 0.5rem;
}

.text ul {
  padding-left: 1.6rem;
}

[class^="list_cs"],
[class*=" list_cs"] ul,
[class^="list_cs"],
[class*=" list_cs"],
[class*="box_cs2-"] ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

[class^="list_cs"] li,
[class*=" list_cs"] li,
[class*="box_cs2-"] li {
  padding: 0 0 0.7rem 1.5rem;
  position: relative;
}

[class^="list_cs"] li:before,
[class*=" list_cs"] li:before,
[class*="box_cs2-"] li:before {
  font-family: "webkapitan";
  content: "\e907";
  position: absolute;
  margin-right: 0;
  left: 0rem;
}

[class^="list_cs"] li a,
[class*=" list_cs"] li a {
  color: var(--color-main);
}

[class^="list_cs"] li a:hover,
[class*=" list_cs"] li a:hover {
  color: var(--color-1);
  text-decoration: none;
}

hr {
  border: 1px solid #dddddd;
}

/* image */
img.aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

img.alignright {
  float: right;
}

.round img {
  border-radius: var(--border-radius);
}

.cover {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* table */
table {
  border-collapse: collapse;
  width: 100%;
}

table td,
table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

/* Main grid */
.container,
.full_width .col_container .wrapper {
  max-width: 1620px;
  width: 95%;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container_width {
  max-width: 1620px;
  width: calc(95% - 3rem);
  margin: 0 auto;
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.full_width .container {
  max-width: 100%;
  width: 100%;
}

.non_stretched {
  max-width: 1450px;
  margin: 0 auto;
  width: calc(95% - 3rem);
}

.non_stretched .container {
  padding-left: 0;
  padding-right: 0;
}

.col_row {
  display: flex;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
}

.col_row > div {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.col_px_lg .col_row {
  width: calc(100% + 6rem);
  margin-left: -3rem;
  margin-right: -3rem;
}

.col_px_lg .col_row > div {
  padding-left: 3rem;
  padding-right: 3rem;
}

.col_px_sm .col_row {
  width: calc(100% + 1.4rem);
  margin-left: -0.7rem;
  margin-right: -0.7rem;
}

.col_px_sm .col_row > div {
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.col_row > *:after {
  display: block;
  content: "";
  clear: both;
}

.col_row .col_w100 {
  flex: 0 0 100%;
  width: 100%;
}

.col_row .col_w90 {
  flex: 0 0 90%;
  width: 90%;
}

.col_row .col_w80 {
  flex: 0 0 80%;
  width: 80%;
}

.col_row .col_w70 {
  flex: 0 0 70%;
  width: 70%;
}

.col_row .col_w60 {
  flex: 0 0 60%;
  width: 60%;
}

.col_row .col_w50 {
  flex: 0 0 50%;
  width: 50%;
}

.col_row .col_w40 {
  flex: 0 0 40%;
  width: 40%;
}

.col_row .col_w30 {
  flex: 0 0 30%;
  width: 30%;
}

.col_row .col_w20 {
  flex: 0 0 20%;
  width: 20%;
}

.col_row .col_w10 {
  flex: 0 0 10%;
  width: 10%;
}

.align_center .col_row,
.col_row.align_center {
  align-items: center;
}

.align_self_center .col_row {
  align-self: center;
}

.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

.py_0 {
  padding-top: 0;
  padding-bottom: 0;
}

.py_sm {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py_md {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py_lg {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.p_0 {
  padding: 0;
}

.pt_0 {
  padding-top: 0;
}

.pb_0 {
  padding-bottom: 0;
}

.pt_sm {
  padding-top: 2rem;
}

.pt_md {
  padding-top: 4rem;
}

.pt_lg {
  padding-top: 8rem;
}

.pb_sm {
  padding-bottom: 2rem;
}

.pb_md {
  padding-bottom: 4rem;
}

.pb_lg {
  padding-bottom: 8rem;
}

.dark,
.dark h1,
.dark h2,
.dark h3,
.dark h4 {
  color: white;
}

.text p + h2,
.text p + h3,
.text ul + h3 {
  padding-top: 1.5rem;
}

.text h2,
.text h3 {
  margin-bottom: 2.1rem;
}

/* advanced */
section.advanced .col .wrapper {
  height: 100%;
}

/* Btn */
[class^="btn_"],
[class*=" btn_"] {
  font-family: "Poppins", arial, sans-serif;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border: 1px solid;
  border-radius: 0.8rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: 0.4s ease;
  font-size: 1rem;
  gap: 0.5rem;
}

[class^="btn_"]:hover,
[class*=" btn_"]:hover {
  text-decoration: none;
  transition: 0.4s ease;
}

[class^="btn_"]:before,
[class*=" btn_"]:before {
  margin-right: 1rem;
  transition: 0.4s ease;
}

[class^="btn_"]:hover:before,
[class*=" btn_"]:hover:before {
  transition: 0.4s ease;
}

/* [class^="btn_"]:disabled, [class*=" btn_"]:disabled {
	border-color: rgb(217, 217, 217);
	background-color: rgb(227, 227, 227);
	color: rgb(170, 170, 170);
} */

.btn_lg {
  font-size: 1.5rem;
  padding: 1.2rem 2.4rem;
}

.btn_md {
  font-size: 1.3rem;
  padding: 1rem 2.4rem;
}

.btn_sm {
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
}

.btn_1 {
  color: white;
  background: var(--color-1);
  border-color: var(--color-1);
}

.btn_1:hover,
.btn_1:focus {
  background: white;
  color: var(--color-1);
  border-color: var(--color-1);
}

.btn_2 {
  background: transparent;
  color: var(--color-1);
  border-color: var(--color-1);
}

.btn_2:hover,
.btn_2:focus {
  background: var(--color-1);
  color: white;
  border-color: var(--color-1);
}

.btn_3 {
  color: var(--color-2);
  background: white;
  border-color: white;
}

.btn_3:hover,
.btn_3:focus {
  background: var(--color-2);
  color: white;
  border-color: white;
}

.btn_4 {
  color: white;
  background: var(--color-2);
  border-color: var(--color-2);
}

.btn_4:hover,
.btn_4:focus {
  background: white;
  color: var(--color-2);
  border-color: var(--color-2);
}

.btn_5 {
  background: transparent;
  color: var(--color-2);
  border-color: var(--color-2);
}

.btn_5:hover,
.btn_5:focus {
  background: var(--color-2);
  color: white;
  border-color: var(--color-2);
}

.box_btn {
  padding-top: 1.5rem;
}

.box_btn a {
  margin-right: 1rem;
}

.box_btn a:last-child {
  margin-right: 0;
}

.btn_round_0_1 {
  border-radius: 0 1.2rem 0 1.2rem;
}

button:focus,
input[type="button"]:focus {
  outline: none;
}

/* Form */
label {
  display: block;
  margin-bottom: 0;
  padding: 0 0 0.5rem;
}

.form_control {
  padding: 0.5rem 1rem;
  border: none;
  border: 1px solid #d0d9e4;
  background: #fff;
  width: 100%;
  transition: 0.4s ease;
}

textarea.form_control {
  height: auto;
}

select {
  vertical-align: middle;
  outline: none;
  background: #fff
    url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%2300accb' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")
    no-repeat !important;
  background-position: calc(100% - 1.5rem) center !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-right: 2rem !important;
}

select option {
  color: var(--color-1);
  font-family: "Poppins", arial, sans-serif;
  background: white;
}

select option:first-child {
  color: var(--color-main);
}

input:hover,
input:focus,
textarea.form_control:hover,
textarea.form_control:focus {
  background: #fff;
  outline: none;
  transition: 0.4s ease;
  border-color: var(--color-1);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.checkbox input[type="checkbox"] + span {
  cursor: pointer;
}

.checkbox input[type="checkbox"] + span:before {
  content: "";
  border: 1px solid #b2b2b2;
  border-radius: 3px;
  display: inline-block;
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  margin-right: 2rem;
  vertical-align: -2px;
}

.checkbox input[type="checkbox"]:checked + span:before {
  background-image: url("images/bullet.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
  border-radius: 2px;
}

input[type="checkbox"]:disabled + span {
  cursor: default;
  opacity: 0.5;
}

::-webkit-input-placeholder {
  color: #999 !important;
}
::-moz-placeholder {
  color: #999 !important;
  opacity: 1;
}
:-moz-placeholder {
  color: #999 !important;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #999 !important;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  text-align: left;
}

.wpcf7-acceptance label {
  padding: 0;
  display: flex;
  align-items: baseline;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  margin-left: 0.5rem;
}

.box_send {
  position: relative;
}

.wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.wpcf7-form-control-wrap {
  margin-bottom: 1.3rem;
  display: block;
}

/* Header */
header {
  background: white;
  position: fixed;
  top: 0;
  z-index: 10;
  transition: 0.4s ease;
  width: 100%;
  padding: 0.6rem 0 1rem;
  box-shadow: 0 -0.2rem 1.2rem rgba(0, 0, 0, 0.64);
}

header a:hover {
  text-decoration: none;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  transition: 0.4s ease;
}

header .right {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-direction: column;
}

header a i {
  font-size: 1.5rem;
  transition: 0.4s ease;
}

header a:hover i {
  color: var(--color-1);
  transition: 0.4s ease;
}

/* scroll */
header .top {
  max-height: 80px; /* lub auto jeśli znasz wysokość */
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
  opacity: 1;
}

/* po scroll */
header.h_scroll .top {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* .h_scroll {
	transition: 0.4s ease;
}

.h_scroll .logo img {
	max-width: 14rem;
	transition: 0.4s ease;
}

.h_scroll .top_menu > li > a, .h_scroll .top_menu > li > span {
	transition: 0.5s ease;
	padding-bottom: 0.3rem;
	padding-top: 0.3rem;
} */

header .top .container {
  justify-content: end;
}

header .top ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

header .top .contact_list {
  margin-left: 0.5rem;
}

header .top .contact_list li {
  border-left: 1px solid #d0d9e4;
  padding-left: 1.7rem;
  margin-left: 0.5rem;
}

header .top .contact_list li a {
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 0.5rem;
}

/* Nav */
.top_menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 0.125rem solid #d0d9e4;
}

.top_menu li {
  position: relative;
  transition: 0.4s ease;
}

.top_menu li a,
.top_menu li span {
  font-size: 1rem;
  line-height: 1.2;
  transition: 0.3s ease;
  padding: 1.3rem 0.8rem;
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  border-bottom: 0.125rem solid transparent;
  margin-bottom: -0.125rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  font-weight: 400;
}

.top_menu li a::before {
  content: attr(data-text);
  font-weight: 600;
  visibility: hidden;
  display: block;
  height: 0;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.top_menu > li > a {
  white-space: nowrap;
}

.top_menu li a:hover {
  border-color: var(--color-2);
  font-weight: 600;
}

.top_menu .menu-item-has-children > a::after {
  font-family: "webkapitan";
  content: "\e908";
  display: inline-block;
  font-size: 1rem;
  color: var(--color-2);
  transition: transform 0.3s ease;
  position: absolute;
  right: 0.1rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.top_menu .menu-item-has-children > a {
  padding-right: 1.5rem;
}

.top_menu .current-menu-item > a,
.top_menu .current-category-ancestor > a,
.top_menu .current-menu-parent > a,
.top_menu .current-page-ancestor > a,
.top_menu .current-menu-ancestor > span {
  border-color: var(--color-2);
  font-weight: 600;
}

.top_menu .sub-menu {
  display: none;
  position: absolute;
  list-style: none;
  background: white;
  padding: 0.5rem 0;
  top: 100%;
  left: 0;
  box-shadow: 1rem 1rem 2rem rgba(0, 0, 0, 0.13);
  min-width: max-content;
  border-radius: var(--border-radius);
  z-index: 999;
}

.top_menu li:hover > .sub-menu {
  display: block;
}

.top_menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 0.3rem;
  min-height: 100%;
}

.top_menu .sub-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: -0.3rem;
  top: 0;
  width: 0.3rem;
  height: 100%;
}

.top_menu .sub-menu li {
  margin: 0;
  padding: 0;
  position: static;
  width: 100%;
}

.top_menu .sub-menu a {
  display: block;
  padding: 0.8rem 2rem 0.8rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 0 !important;
  white-space: nowrap;
  text-align: left;
  flex-direction: row;
}

.top_menu .sub-menu .menu-item-has-children > a::after {
  transform: rotate(-180deg);
  position: absolute;
  right: 0.8rem;
  top: 50%;
  margin-top: -0.66rem;
}

.top_menu .sub-menu li a:hover {
  font-weight: 600;
}

.top_menu .sub-menu .current-menu-item > a {
  color: var(--color-2);
}

.top_menu .anchor a {
  color: white;
}

.top_menu li.icon {
  padding: 0;
  border: none;
}

.menu_btn {
  cursor: pointer;
  display: none;
  padding: 1rem 0;
  position: relative;
  background: transparent;
  margin-left: 0.7rem;
  border: none;
}

.menu_btn span {
  background: var(--color-2);
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 1.7rem;
}

.menu_btn span:before,
.menu_btn span:after {
  background: var(--color-2);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.menu_btn span:after {
  top: -0.5rem;
}

.menu_btn span:before {
  top: 0.5rem;
}

.menu_btn.active > span {
  background: transparent !important;
}

.menu_btn.active span:before {
  transform: rotate(-45deg);
}

.menu_btn.active span:after {
  transform: rotate(45deg);
}

.menu_btn.active > span:after,
.menu_btn.active > span:before {
  top: 0;
}

/* Content */
.page_head {
  padding: 4rem 0 0;
  background-position: center bottom !important;
  text-align: center;
}

.page_head h1,
.page_head .h1 {
  margin-bottom: 1rem;
}

.single-post .page_head h1 {
  font-size: 2.5rem;
}

.page_content > .container > .wrapper,
.single-post .page_head .wrapper {
  margin: 0 10%;
}

.page_content .col_row {
  align-items: center;
}

.page_content .image {
  aspect-ratio: 6 / 4;
  max-width: 90%;
}

.page_content .col_w100 {
  padding-top: 3rem;
}

.page_head .text {
  padding: 0 15%;
  font-size: 140%;
  color: var(--color-1);
}

.page_content h2 {
  margin-top: 3.2rem;
}

.page_content h2:first-child {
  margin-top: 0;
}

.page_content h2 {
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 2rem;
}

.page_head + section {
  padding-top: 2rem;
}

/* .page_head h1:after {
	margin: 0.5rem auto;
} */

.single-post .page_head {
  background: transparent url("images/head_1.jpg") center top no-repeat scroll;
  text-align: center;
}

.page_content .footer {
  display: flex;
  gap: 1rem;
  font-size: 90%;
  padding-top: 1rem;
}

.related_posts {
  background: #e8eef5;
}

.related_posts h4,
.related_posts h3 {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Category */
.category_menu {
  background: var(--color-1);
}

.category_menu ul {
  padding: 0;
  list-style: none;
  margin: 0;
  display: flex;
}

.category_body {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.category_description {
  padding-bottom: 3rem;
}

.category_description h1 {
  font-size: 2rem;
}

.category_menu a {
  font-family: "Roboto", arial, sans-serif;
  color: white;
  font-size: 0.7rem;
  padding: 1rem 0.5rem;
  display: block;
  position: relative;
  line-height: 1.2;
}

.category_menu .current-cat a:after {
  content: "";
  background: var(--color-1);
  display: block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 50%) rotate(45deg);
}

/*  Posts */
.breadcrumb {
  padding-top: 3rem;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* .breadcrumb, .breadcrumb a {
	color: white;
} */

.breadcrumb span i {
  display: block;
  font-size: 1rem;
  color: var(--color-2);
  margin: 0 0.5rem;
}

.breadcrumb a {
  text-decoration: underline;
}

.pagination {
  list-style: none;
  padding: 5rem 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  flex-wrap: wrap;
}

.pagination span,
.pagination a {
  padding: 0.8rem 0.9rem;
  border-radius: 2rem;
  min-width: 3rem;
  display: inline-block;
  text-align: center;
  line-height: 1.2;
}

.pagination a:hover,
.pagination a:hover i {
  text-decoration: none;
  color: var(--color-1);
}

.pagination .current {
  background: white;
  color: var(--color-2);
  border: 1px solid;
}

.pagination i {
  color: #d0d0d0;
  font-size: 1.3rem;
}

.posts_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 4.5rem;
  grid-row-gap: 3rem;
}

.posts_list .post_thumb {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 4;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
}

.posts_list .date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.posts_list h3,
.posts_list h5 {
  font-size: 0.9rem;
}

.posts_list .intro {
  font-size: 0.8rem;
}

.posts_list .date span {
  font-size: 0.8rem;
}

.posts_list .post_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.posts_list .footer {
  text-align: right;
  font-weight: 600;
  font-size: 0.8rem;
  padding-top: 1rem;
}

.posts_list .btn_sm {
  padding: 0.4rem 1rem;
  font-size: 90%;
}

.post_thumbnail {
  text-align: center;
  padding: 0 10%;
}

.post_thumbnail img {
  border-radius: 0.5rem;
  margin-top: -3rem;
  z-index: 1;
  position: relative;
}

.post_body .content {
  padding: 0 12%;
}

.page_thumbnail {
  text-align: center;
  padding-bottom: 3rem;
}

.page_body .wrapper {
  padding: 0 19%;
}

/* Carousel  */
.owl-carousel .owl-dots {
  position: absolute;
  right: 0;
  top: 0;
}

.owl-carousel .owl-dots {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-right: 1.2rem;
}

.owl-carousel .owl-dots button {
  margin-bottom: 0.7rem;
}

.owl-carousel .owl-dots button span {
  padding: 1rem;
  background: var(--color-main);
  display: block;
  border-radius: 50%;
  transition: 0.4s ease;
}

.owl-carousel .owl-dots button span:hover {
  transition: 0.4s ease;
}

.owl-carousel .owl-dots button.active span {
  opacity: 1;
  transition: 0.4s ease;
}

.owl-carousel .owl-nav button span {
  display: flex;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
}

.owl-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.owl-carousel .owl-nav button span:hover {
  background: white;
  transition: 0.4s ease;
}

.owl-carousel .owl-nav button span:after {
  font-family: "webkapitan";
}

.owl-carousel .owl-nav button span:hover:after {
  color: var(--color-1);
}

.owl-carousel .owl-prev {
  left: 0;
}

.owl-carousel .owl-next {
  right: 0;
}

.owl-carousel .owl-prev span:after {
  content: "\e908";
}

.owl-carousel .owl-next span:after {
  content: "\e909";
}

/* Accordion */
.accordion_box .item {
  padding: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  background: white;
}

.accordion_box .content {
  display: none;
  padding: 1rem 0 0;
  overflow: hidden;
}

.accordion_box .title {
  transition: all 0.2s linear 0;
  user-select: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.accordion_box .title h3 {
  margin-bottom: 0;
  margin-right: auto;
  padding-right: 15%;
  text-transform: none;
  font-size: 1rem;
}

.accordion_box .title::after {
  font-family: "webkapitan";
  content: "\e908";
  color: var(--color-2);
  border: 0;
  border-radius: 50%;
  min-height: 1.3rem;
  min-width: 1.3rem;
  display: flex;
  transform: rotate(-90deg);
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
}

.accordion_box .active_item .title:after {
  transform: rotate(-270deg);
}

/* Slider */
.slider {
  background: black;
}

.slider .container {
  display: flex;
  flex-direction: column;
  justify-content: space-around !important;
}

.slider .item .wrapper {
  width: 50%;
}

.slider .item {
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  height: 45rem;
  padding: 10rem 4rem 5.5rem 4rem;
  display: flex;
  color: #fff;
}

.slider .item:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.slider .item:after {
  background: rgba(3, 3, 3, 0.56);
}

.slider .subtitle,
.slider h2 {
  text-transform: uppercase;
  color: white;
}

.slider .container {
  z-index: 1;
}

.slider .owl-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0 1rem;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider .owl-dots button {
  outline: 0 !important;
  border: 2px solid #fff !important;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.3rem;
}

.slider .owl-dots span {
  background: transparent;
  height: 1rem;
  width: 1rem;
  display: block;
  border-radius: 50%;
}

.slider .owl-dots .active span {
  background: #fff;
}

.slider .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  outline: 0 !important;
}

.slider .owl-nav .owl-prev {
  left: 1.5rem;
}

.slider .owl-nav .owl-next {
  right: 1.5rem;
}

/* Gallery  */
.gallery_simple,
.gallery_body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

.gallery:after {
  display: block;
  content: "";
  clear: both;
}

.gallery-icon img {
  border: none !important;
}

/* Tabs & gallery */
.tabs_box {
}

.tabs_nav,
.gallery_nav {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.tabs_nav li,
.gallery_nav li {
  font-family: "Roboto-SemiBold", arial, sans-serif;
  font-size: 1.4rem;
  margin: 0 0.6rem;
  color: var(--color-1);
  line-height: 1.3;
  cursor: pointer;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 2px solid var(--color-1);
  transition: 0.4s ease;
}

.tabs_nav li:hover,
.gallery_nav li:hover {
  color: white;
  background: var(--color-1);
  border: 2px solid var(--color-1);
  transition: 0.4s ease;
}

.tabs_nav li.active,
.gallery_nav li.active {
  color: white;
  background: var(--color-1);
  transition: 0.4s ease;
}

/* .tabs_nav li:after, .gallery_nav li:after {
	content: '';
	width: 100%;
	height: 3px;
	display: block;
	transition: 0.4s ease;
	margin-top: 0.5rem;
}

.tabs_nav li.active:after,
.tabs_nav li:hover:after,
.gallery_nav li.active:after,
.gallery_nav li:hover:after  {
	background: var(--color-1);
	transition: 0.4s ease;
} */

.tabs_box .tabs_body .content {
  display: none;
}

.tabs_box .tabs_body .active {
  display: block !important;
}

.tabs_nav li {
  cursor: pointer;
}

/* Social */
/* .social {
	display: flex;
	align-content: center;
	align-items: center;
	line-height: 1.2;
	list-style: none;
	padding: 0;
}

.social a:hover {
	text-decoration: none;
}

.social i {
	margin-right: 1rem;
	font-size: 1rem;
}

.social em {
	display: none;
} */

/* Footer */
footer {
  background: #f9f7f6;
}

footer .copyright {
  margin-top: 1.5rem;
  line-height: 1.5;
}

.site_footer section {
  padding-bottom: 2.5rem;
}

footer .col_1 .image {
  padding-bottom: 2rem;
}

footer .col_1 .social_links {
  list-style: none;
  display: flex;
  padding: 0;
  gap: 1rem;
  font-size: 1.5rem;
}

footer .col_1 .social_links a:hover {
  text-decoration: none;
}

footer .col_2 ul {
  list-style: none;
  padding: 0;
}

footer .col_2 ul.menu {
  display: flex;
  gap: 3rem;
}

footer .col_2 ul.menu a:hover {
  text-decoration: none;
}

footer .col_2 ul.menu > li > a {
  font-size: 1.1rem;
  display: block;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d0d9e4;
  margin-bottom: 1rem;
}

footer .col_2 .sub-menu a {
  font-size: 0.9rem;
}

footer .col_2 .sub-menu li {
  padding-bottom: 0.5rem;
}

footer .col_3 .wrapper {
  padding-top: 2.5rem;
}

footer .col_3 a {
  text-decoration: underline;
}

/* Fancybox */
a[data-fancybox] img {
  cursor: zoom-in;
}

.fancybox-zoomIn {
  animation: 0.25s ease both fancybox-zoomIn;
}

.fancybox-zoomOut {
  animation: 0.15s ease both fancybox-zoomOut;
}

@keyframes fancybox-zoomIn {
  from {
    opacity: 0;
    transform: scale(0.75);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fancybox-zoomOut {
  to {
    opacity: 0;
    transform: scale(1.25);
  }
}

/* icon text */
.icon_text {
  display: flex;
}

.icon_text .text {
  padding-left: 0.5rem;
}

.icon_text i {
  padding-top: 0.1%;
}

/* Classes */
.iconbox_left {
  margin-bottom: 1rem;
}

.iconbox_left .col {
  display: flex;
}

.iconbox_left .icon {
  padding-right: 1rem;
  width: 2.5rem;
  font-size: 1.2rem;
}

.iconbox_left p:last-child {
  margin: 0;
}

/* Cookie Notice */
.cn-text-container {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37.468' height='36.012' viewBox='0 0 37.468 36.012'%3E%3Cpath d='M16.1-.848A18.012,18.012,0,0,1,.12-20.667,18.017,18.017,0,0,1,19.944-36.653a19.126,19.126,0,0,1,2.508.449l1.192.3-.012,1.228A14.025,14.025,0,0,0,34.775-20.861l1.2.249.043,1.224a18.594,18.594,0,0,1-.092,2.555A18.015,18.015,0,0,1,16.1-.848ZM32.826-17.159l.034-.975-.186-.047a17.155,17.155,0,0,1-12.1-15.01l-.007-.191-.956-.172A14.9,14.9,0,0,0,3.219-20.334,14.9,14.9,0,0,0,16.435-3.947,14.9,14.9,0,0,0,32.826-17.159ZM20.014-8.1a1.445,1.445,0,0,1-1.281-1.587,1.445,1.445,0,0,1,1.587-1.281A1.446,1.446,0,0,1,21.6-9.385,1.444,1.444,0,0,1,20.014-8.1Zm-8.3-2.884a1.208,1.208,0,0,1-1.07-1.326,1.209,1.209,0,0,1,1.327-1.07,1.209,1.209,0,0,1,1.07,1.327A1.208,1.208,0,0,1,11.71-10.989Zm15.548-1.866a1.945,1.945,0,0,1-1.724-2.136,1.945,1.945,0,0,1,2.138-1.724A1.945,1.945,0,0,1,29.4-14.577,1.945,1.945,0,0,1,27.258-12.855ZM19.209-18.6a1.291,1.291,0,0,1-1.144-1.418,1.29,1.29,0,0,1,1.418-1.145,1.292,1.292,0,0,1,1.145,1.419A1.293,1.293,0,0,1,19.209-18.6Zm-9.97,0a1.944,1.944,0,0,1-1.724-2.137,1.945,1.945,0,0,1,2.138-1.723,1.943,1.943,0,0,1,1.722,2.137A1.944,1.944,0,0,1,9.239-18.609Zm6.736-8.065a1.791,1.791,0,0,1-1.587-1.968,1.791,1.791,0,0,1,1.968-1.587,1.793,1.793,0,0,1,1.588,1.968A1.792,1.792,0,0,1,15.975-26.674Zm20.1-1.088a.709.709,0,0,1,.778-.627.709.709,0,0,1,.628.778.709.709,0,0,1-.778.627A.709.709,0,0,1,36.074-27.762Zm-4.311.771a1.79,1.79,0,0,1-1.587-1.967,1.789,1.789,0,0,1,1.968-1.587,1.789,1.789,0,0,1,1.586,1.968A1.788,1.788,0,0,1,31.763-26.991Zm-1.858-7.984a1.29,1.29,0,0,1,1.418-1.145A1.293,1.293,0,0,1,32.468-34.7a1.292,1.292,0,0,1-1.42,1.144A1.291,1.291,0,0,1,29.905-34.975Z' transform='translate(-0.016 36.756)' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-position: left center;
  background-repeat: no-repeat;
  padding: 0.5rem 0 0.5rem 3rem;
}

.cn-more-info {
  background-color: rgb(106, 106, 106) !important;
}

/* Animation */
@media (min-width: 1280px) {
  @-webkit-keyframes zoom {
    from {
      background-size: 100% 100%;
    }
    50% {
      background-size: 110% 110%;
    }
    to {
      background-size: 100% 100%;
    }
  }

  @keyframes zoom {
    from {
      background-size: 100% 100%;
    }
    50% {
      background-size: 110% 110%;
    }
    to {
      background-size: 100% 100%;
    }
  }
}

@keyframes spinIn {
  0% {
    opacity: 0;
    transform: rotate(180deg) scale(0);
  }
  20% {
    opacity: 1;
  }
  40% {
    transform: rotate(360deg) scale(1.15);
  }
  70% {
    transform: rotate(360deg) scale(0.9);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.video {
  position: relative;
  padding-bottom: 56.25%; /* Proporcja 16:9 */
  height: 0;
  overflow: hidden;
}

.video iframe,
.video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Custom box style */
.first_level .offer_list .item .title {
  font-size: 1.5rem;
}

.first_level .item {
  text-align: center;
  justify-content: center;
}

.offer_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 3rem;
}

.offer_list .item {
  border-radius: var(--border-radius);
  aspect-ratio: 1 / 1;
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: end;
  color: white;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  transform: translateY(0);
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.offer_list .item:after {
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  pointer-events: none;
}

.offer_list .content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.offer_list .excerpt {
  font-size: 0.9rem;
}

.offer_list .item:hover {
  text-decoration: none;
  transform: translateY(-8px);
}

.offer_list .item .title {
  font-weight: 600;
  font-size: 1.7rem;
}

.related_items {
  background: #e8eef5;
  text-align: center;
}

.related_items .text {
  padding: 0 10%;
}

.related_items .offer_list {
  grid-template-columns: repeat(4, 1fr);
  padding-top: 2.5rem;
}

.related_items .offer_list .item .title {
  font-size: 1.3rem;
}

.home_offer .offer_list {
  padding-top: 2rem;
}

.home_offer .offer_list {
  grid-template-columns: repeat(6, 1fr);
}

.home_offer .offer_list .item {
  aspect-ratio: 5 / 10;
  padding: 2rem 1rem;
  text-align: center;
}

.home_offer .offer_list .item .title {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 0;
}

.offer_list .item {
  align-items: center;
  flex-direction: column;
  justify-content: end;
}

.child_items {
  padding-top: 2rem;
}

.box_cs1 {
  padding-top: 9rem;
  padding-bottom: 3rem;
  text-align: center;
}

.box_cs1 .title {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.box_cs1 .wrapper .wrapper {
  background: rgba(255, 255, 255, 0.66);
  padding: 2rem;
  margin: 0 10%;
  border-radius: var(--border-radius);
}

.box_cs1 .items_list_cs1 ul {
  display: flex;
  justify-content: center;
  padding: 5rem 15% 0;
  list-style: none;
  gap: 2rem;
}

.box_cs1 .items_list_cs1 ul li {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 5rem;
  color: white;
  font-weight: 600;
}

.box_cs1 .items_list_cs1 ul li::before {
  font-family: "webkapitan";
  content: "\e906";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3.5rem;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  border-radius: 1rem;
  color: var(--color-main);
}

[class*="box_cs2-"],
.accordion_cs1 {
  padding: 0 !important;
  margin: 4rem auto;
  border-radius: var(--border-radius);
}

[class*="box_cs2-"] .container,
.accordion_cs1 .container {
  max-width: 100%;
  width: auto;
  padding: 0;
  display: flex;
}

.box_cs2-2 .container,
.box_cs2-4 .container,
.accordion_cs1 .container {
  justify-content: end;
}

[class*="box_cs2-"] > .container > .wrapper,
.accordion_cs1 > .container > .wrapper {
  background: rgba(255, 255, 255, 0.78);
  padding: 10% 3.5rem;
}

.box_cs2-1 > .container > .wrapper {
  width: 60%;
}
.box_cs2-2 > .container > .wrapper {
  width: 50%;
  padding: 15% 3.5rem;
}
.box_cs2-3 > .container > .wrapper {
  width: 70%;
  display: flex;
  gap: 2rem;
}

.box_cs2-3 > .container > .wrapper > *:first-child {
  flex: 0 0 40%;
}

.box_cs2-3 .col_row .wrapper {
  position: relative;
}

.box_cs2-3 .col_row .wrapper::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-2);
  z-index: 1;
}

.box_cs2-3 .icon_text_block {
  display: flex;
  align-items: center;
  font-weight: 600;
  padding-bottom: 1.5rem;
  z-index: 1;
  position: relative;
}

.box_cs2-3 .icon_text_block:last-child {
  padding-bottom: 0;
}

.box_cs2-3 .icon_text_block p {
  margin-bottom: 0;
}

.box_cs2-3 .icon_text .text {
  padding-left: 1rem;
}

.box_cs2-3 .icon_text_block i {
  background: var(--color-2);
  color: white;
  min-width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  font-size: 1.3rem;
}

.box_cs2-4 > .container > .wrapper,
.accordion_cs1 > .container > .wrapper {
  width: 65%;
  padding: 3.5rem;
}

.box_cs2-4 .text strong {
  /* font-size: 1.3rem; */
}

.box_cs2-4 li:before {
  /* font-size: 1.3rem; */
}

.box_cs2-4 .promo {
  display: flex;
  padding: 1rem 7%;
  border: 1px solid;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  gap: 1rem;
}

.box_cs2-4 .promo p {
  margin-bottom: 0;
}

.box_cs2-4 .promo .btn_sm {
  white-space: nowrap;
}

.box_cs3 .box_btn {
  text-align: center;
}

.reference h2 {
  margin-bottom: 1rem;
}

.reference .code {
  padding-top: 1rem;
}

.box_cs3 .box_btn {
  text-align: center;
}

.box_cs4-1 .wrapper,
.box_cs4-2 {
  color: white;
  text-align: center;
  padding: 3rem;
  position: relative;
}

.box_cs4-2 .text_lg {
  color: white;
  text-align: center;
  position: relative;
}

.box_cs4-1 .wrapper {
  background: var(--color-1);
  margin: 0 10%;
  border-radius: var(--border-radius);
}

.box_cs4-2 {
  background: var(--color-2);
}

.box_cs4-2 .wrapper {
  position: relative;
  padding: 3.5rem;
}

.box_cs4-1 .wrapper > *,
.box_cs4-2 .wrapper > * {
  position: relative;
  z-index: 1;
}

.box_cs4-1 .wrapper::after,
.box_cs4-2 .wrapper::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  left: 1.5rem;
  top: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border-radius: var(--border-radius);
  z-index: 0;
}

.box_cs4-1 .icon_text {
  justify-content: center;
  font-size: 200%;
}

.box_cs4-2 .box_btn {
  padding-top: 0.5rem;
}

.box_cs5 .wrapper {
  padding: 0 15%;
}

.box_cs6 {
  text-align: center;
}

.box_cs6 .title {
  font-size: 140%;
}

.box_cs6 .col_row .wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 15% 0;
}

.box_cs6 .col_row .wrapper:before {
  content: "";
  position: absolute;
  left: 6rem;
  top: 1.5rem;
  bottom: 0px;
  width: auto;
  background: var(--color-1);
  z-index: 1;
  right: 6rem;
  height: 2px;
}

.box_cs6 .icon_text_block {
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  position: relative;
}

.box_cs6 .icon_text_block .text {
  font-weight: 600;
  padding: 1rem 10%;
}

.box_cs6 .icon_text_block i {
  background: var(--color-1);
  color: white;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  font-size: 1.3rem;
}

.box_cs7 h2.title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.box_cs8 {
  text-align: center;
}

.box_cs8 h2 {
  padding: 0 10% 3rem;
}

.box_cs8 .col .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 3rem;
}

.text_cs1 .text_lg {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  display: block;
}

.col_row_cs1 {
  align-items: center;
  padding-bottom: 3.5rem;
}

.col_row_cs1 .col:first-child {
  flex: 0 0 40%;
  width: 40%;
}

.col_row_cs1 .col:first-child .wrapper {
  padding-right: 10%;
}

.advanced_cs1-1 .col_1 .wrapper,
.advanced_cs1-2 .col_1 .wrapper {
  padding-top: 5rem;
}

.advanced_cs1-1 .col_1 .wrapper {
  padding-right: 10%;
}

.advanced_cs1-1 .col_1 h2.title,
.advanced_cs1-2 .col_1 h2.title {
  padding-bottom: 2rem;
}

.advanced_cs1-2 .col_1 .wrapper {
  padding-left: 10%;
}

.advanced_cs1-1 .col_1 .title + .text,
.advanced_cs1-2 .col_1 .title + .text {
  padding-bottom: 2rem;
}

.contact_form_cs1 form {
  background: #e8eef5;
  padding: 3rem;
  font-size: 0.8rem;
  border-radius: var(--border-radius);
}

.contact_form_cs1 .h2 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 3rem;
}

.contact_form_cs1 br {
  display: none;
}

.contact_form_cs1 .box_send {
  text-align: center;
  padding-top: 2rem;
}

..advanced_cs1-1 .col_1 .wrapper {
  padding-right: 10%;
}

.map iframe {
  aspect-ratio: 1 / 1;
  height: auto;
}

.gallery_mini_cs1 {
  text-align: center;
}

.gallery_mini_cs1 h2 {
  padding: 0 10% 3rem;
}

.gallery_mini_cs1 .gallery_mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 3rem;
}

/* Counter Section */
.reference h2 {
  margin-bottom: 1rem;
}

.reference .code {
  padding-top: 1rem;
}

.counter_cs1 {
  padding: 4rem 13%;
  background-color: #f5f5f5;
}

.counter_cs1 .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 0 auto;
}

.counter_cs1 .icon_text_block {
  position: relative;
  background-color: #264477;
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  color: #ffffff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  aspect-ratio: 10/9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.counter_cs1 .icon_text_block::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  left: 1.5rem;
  top: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border-radius: var(--border-radius);
}

.counter_cs1 .icon_text_block i {
  display: block;
  font-size: 3rem;
  color: #ffffff;
}

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

.counter_cs1 .text p {
  margin: 0;
  line-height: 1.4;
}

.counter_cs1 .text strong {
  font-size: 2.25rem;
  font-weight: 400;
  color: #ffffff;
  display: block;
  margin-bottom: 0.5rem;
}

.counter_cs1 .text p:last-child {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.counter_cs1 .icon_text {
  flex-direction: column;
}

.counter_cs1 .icon_text {
  flex-direction: column;
}

.counter_cs1 .icon_text .text {
  padding-left: 0;
}

.color_palette_wrapper {
  margin: 2rem 0;
}

.color_palette_wrapper strong {
  margin-bottom: 1rem;
  display: flex;
}

/* color palette */

.color_palette {
  gap: 0.4rem;
  flex-wrap: wrap;
  display: flex;
}

.color_palette_wrapper .color_box {
  width: 3.75rem;
  height: 3.75rem;
  background-color: #ffffff;
  border-radius: 0.25rem;
}

/* carousel */

.carousel_cs1 {
  text-align: center;
}

.carousel_cs1 .before_content {
  padding-bottom: 1.5rem;
}

.carousel_cs1 .image_carousel {
  padding: 0 1.5rem;
}

.carousel_cs1 .image_carousel .item {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.carousel_cs1 .image_carousel .item a {
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
}

.carousel_cs1 .image_carousel .item a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* accordion */

.accordion_cs1 .before_content {
  padding-bottom: 1.5rem;
}

.accordion_cs1 .accordion_box .item {
  border: 1px solid;
  background: transparent;
}

.accordion_cs1 .accordion_box .active_item {
  background: white;
}

/* gallery */

.gallery_cs1 .item {
  aspect-ratio: 5 / 10;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.gallery_cs1 .item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery_cs1 .gallery_pagination {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  gap: 1.3rem;
}

.gallery_cs1 .gallery_pagination a:hover {
  text-decoration: none;
  color: var(--color-1);
}

.gallery_cs1 .gallery_pagination .active,
.gallery_pagination .first,
.gallery_pagination .prev,
.gallery_pagination .next,
.gallery_pagination .last {
  color: #16509f;
}

/* modal contact */
.modalForm {
  display: none;
}

#modalFormWycena {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow-y: auto;
  justify-content: center;
  align-items: center;
}

.modalForm .wrapper {
  background-color: #fff;
  max-width: 35rem;
  width: 90%;
  margin: 2.5rem auto;
  border-radius: 0.5rem;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.modalForm .h2 {
  margin-bottom: 2rem;
}

.modalForm form {
  padding: 2.5rem 2.5rem 2rem 2.5rem;
}

.modalForm .box_send {
  padding-top: 1rem;
}

.modalForm .closeModal {
  position: absolute;
  top: 0.625rem;
  right: 0.9375rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modalForm form {
  background: white;
  border: 1px solid var(--color-1);
}

.modalForm .col {
  flex: 0 0 100%;
  width: 100%;
}

.modalForm textarea.wpcf7-form-control {
  height: 4rem;
}

#modalFormKontakt {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 9999;
  width: 35rem;
  top: 0;
}

#modalFormKontakt .h2 {
  color: var(--color-1);
}

.contact_btn {
  position: fixed;
  right: 0;
  bottom: 3rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  h1,
  .h1,
  .box_cs1 h1 {
    font-size: 2.6rem;
  }
  h2,
  .h2,
  .text_cs1 .text_lg {
    font-size: 1.8rem;
  }
  h3,
  .h3 {
    font-size: 1.3rem;
  }
  h4,
  h5,
  .h4,
  .h5 {
    font-size: 1.1rem;
  }
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
  }
  .col_row,
  .col_px_lg .col_row,
  .col_px_sm .col_row {
    margin-left: -2rem;
    margin-right: -2rem;
    width: auto;
  }
  .col_row > div,
  .col_px_lg .col_row > div,
  .col_px_sm .col_row > div {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .col_px_sm .col_row {
    margin-left: -1rem;
    margin-right: -1rem;
  }
  .col_px_sm .col_row > div {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .non_stretched {
    width: calc(100% - 3rem);
    padding: 2rem;
  }
  .box_btn {
    display: block;
  }
  .box_btn a {
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 1200px) {
  header {
    padding: 1.3rem 0;
  }
  header .logo {
    display: block;
    padding-right: 1.3rem;
    margin-right: auto;
  }
  header .logo img {
    position: relative;
    z-index: 9;
  }
  header .right {
    background: transparent;
  }
  header ul li.separator {
    padding-left: 0.5rem;
    margin-left: 0.5rem;
  }
  .menu_btn {
    display: inline-block;
  }
  .top_menu {
    display: none;
    position: fixed;
    width: 100%;
    left: 0;
    background: white;
    top: 0;
    border: 0;
    padding: 7rem 1.5rem 1.5rem;
    margin: 0;
    overflow-y: scroll;
    bottom: 0;
  }
  .h_scroll .top_menu {
    margin-top: 6rem;
  }
  .top_menu li {
    display: block;
    margin-bottom: 0.3rem;
  }
  .top_menu li a,
  .top_menu li span {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    text-align: center;
  }
  .h_scroll .top_menu li {
    padding: 0;
  }
  .top_menu li a,
  .top_menu li span {
    font-size: 0.9rem;
  }
  .top_menu li a:hover {
    transform: none;
  }
  .top_menu li.icon {
    padding: 1.5rem 0;
  }
  .top_menu .sub-menu {
    display: none;
    box-shadow: none;
    position: static;
    padding: 0 0 0 1rem;
  }
  .top_menu .menu-item.open > .sub-menu {
    display: block;
  }
  .top_menu .current-menu-ancestor span {
    border-color: transparent;
  }
  .top_menu .sub-menu:before {
    content: none;
  }
  .top_menu .btn_cs {
    margin-left: 0 !important;
  }
  .slider .item .wrapper {
    width: auto;
  }
  .posts_list img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  .tabs_nav li,
  .gallery_nav li {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }
  .tabs_nav,
  .gallery_nav {
    margin-bottom: 3rem;
    margin-top: 3rem;
  }
  .posts_list {
    grid-column-gap: 1.5rem;
    grid-row-gap: 2rem;
  }
  .page_content .image {
    max-width: 100%;
  }
  .page_content .col_w100 {
    padding-top: 1rem;
  }
  .page_content > .container > .wrapper,
  .single-post .page_head .wrapper {
    margin: 0;
  }
  footer .col_row .col_1 {
    flex: 0 0 40%;
    width: 40%;
  }
  footer .col_2 ul.menu {
    flex-wrap: wrap !important;
  }
  footer .col_2 .menu li {
    flex: 0 0 calc(50% - 1.5rem);
  }
}

@media (max-width: 1199px) {
  .main .col:first-child {
    width: auto;
  }
  .box_cs1 .title {
    font-size: 2.2rem;
  }
  .counter_cs1 {
    padding: 2rem 0;
  }
  .box_cs4-1 .wrapper {
    margin: 0;
  }
  .box_cs5 .wrapper {
    padding: 0;
  }
  .first_level .offer_list .item .title {
    font-size: 1.2rem;
  }
  .offer_list .item .title {
    font-size: 1.2rem;
  }
  .offer_list .excerpt {
    font-size: 0.7rem;
  }
  .col_row_cs1 .col:first-child .wrapper {
    padding-right: 0;
  }
  .contact_form_cs1 .col {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media (max-width: 992px) {
  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .py_lg,
  .pt_lg {
    padding-top: 5rem;
  }
  .py_lg,
  .pb_lg {
    padding-bottom: 5rem;
  }
  .py_md,
  .pt_md {
    padding-top: 4rem;
  }
  .py_md,
  .pb_md {
    padding-bottom: 4rem;
  }
  .pt_sm,
  .py_sm {
    padding-top: 2rem;
  }
  .pb_sm,
  .py_sm {
    padding-bottom: 2rem;
  }
  .col_center .col_row {
    align-items: start;
  }
  [class^="btn_"],
  [class*=" btn_"] {
    padding: 12px;
    font-size: 14px;
  }
  /* #to_top {
		position: static;
		display: inline-block;
		margin-bottom: 3rem;
	} */
  .page_body .wrapper {
    padding: 0 10%;
  }
  .breadcrumb {
    display: block;
    text-align: center;
  }
  .breadcrumb span {
    display: block;
    padding: 0.3rem;
  }
  .breadcrumb span i {
    display: none;
  }
  .category_menu ul {
    flex-wrap: wrap;
    padding: 1rem 0;
  }
  .category_menu a {
    padding: 0.5rem 0.7rem;
    border: 1px solid;
    border-radius: 1rem;
    margin: 0.2rem 0.5rem 0.2rem 0;
  }
  .category_menu .current-cat a {
    background: white;
    color: var(--color-1);
  }
  .category_menu .current-cat a:after {
    content: none;
  }
  .products_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .items_list_markers .col_row > .col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .offer_list,
  .reference_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery_simple,
  .gallery_body {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .home_offer .offer_list {
    grid-template-columns: repeat(3, 1fr);
  }
  .counter_cs1 .wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .container_width {
    width: calc(100% - 3rem);
  }
  .box_cs2-2 > .container > .wrapper {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .title_center {
    margin-bottom: 1rem;
  }
  .container {
    max-width: 100% !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .col_row {
    display: block;
  }
  .col_row > div {
    margin-bottom: 2.5rem;
    width: 100% !important;
    max-width: 100% !important;
  }
  .col_row > *:last-child {
    margin-bottom: 0;
  }
  .btn_lg {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }
  .btn_md {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }
  .slider .item .wrapper {
    padding: 0 1rem;
  }
  .slider .item {
    padding: 10rem 1rem 2rem 1rem;
    height: 40rem;
  }
  .slider .item .wrapper {
    padding: 0;
  }
  .slider .owl-nav {
    display: none;
  }
  .slider .content {
    width: 100%;
  }
  .slider-carousel .owl-dots {
    top: auto;
    flex-direction: row;
    left: 0;
    bottom: 1.5rem;
  }
  .tabs_box .tabs {
    display: block;
  }
  .testimonials {
    margin-top: 0;
    padding-top: 2rem;
    padding-bottom: 5rem;
  }
  .testimonials .container {
    display: block;
  }
  .testimonials .before_content {
    max-width: 100%;
    padding-top: 0;
  }
  .testimonials .wrapper {
    max-width: 100%;
  }
  .testimonials .owl-nav {
    position: static;
    text-align: center;
  }
  .tabs_nav,
  .gallery_nav {
    flex-direction: column;
    margin-bottom: 1rem;
  }
  .tabs_nav li,
  .gallery_nav li {
    margin: 0 0 0.5rem;
  }
  .extra_menu span {
    display: none;
  }
  .extra_menu .email i {
    display: block;
  }
  .contact_form .col_row .col {
    margin-bottom: 0;
  }
  .accordion_box {
    text-align: left;
  }
  .pagination {
    overflow-x: scroll;
  }
  .category_body {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .category_body .pagination {
    margin-bottom: 0;
  }
  section.advanced .cover {
    padding-top: 100%;
  }
  header .top .contact_list strong {
    display: none;
  }
  header .btn_4 {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
  header .top .contact_list li {
    padding-left: 1rem;
  }
  footer {
    text-align: center;
  }
  footer .col_1 .social_links {
    justify-content: center;
  }
  footer .col_2 ul.menu {
    gap: 2rem;
  }
  footer .col_2 .menu li {
    flex: 0 0 calc(100% - 1.5rem);
  }
  footer .col_2 {
    margin-bottom: 0;
  }
  .box_cs1 .wrapper .wrapper {
    margin: 0;
  }
  .box_cs1 .items_list_cs1 ul {
    padding: 3rem 0 0;
  }
  .box_cs1 .items_list_cs1 ul {
    flex-direction: column;
  }
  .box_cs2-3 > .container > .wrapper,
  .box_cs2-2 > .container > .wrapper,
  .box_cs2-1 > .container > .wrapper {
    width: 100%;
  }
  .home_offer .offer_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .counter_cs1 .text strong {
    font-size: 1.5rem;
  }
  .counter_cs1 .icon_text_block::after {
    left: 1rem;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .box_cs2-3 > .container > .wrapper {
    gap: 1rem;
    flex-direction: column;
  }
  .box_cs2-3 > .container > .wrapper > :first-child {
    flex: 100%;
  }
  [class*="box_cs2-"] > .container > .wrapper,
  .accordion_cs1 > .container > .wrapper {
    padding: 10% 2.5rem;
  }
  .box_cs4-1 .icon_text {
    font-size: 120%;
  }
  .offer_list .item {
    padding: 1.5rem;
  }
  .related_items .offer_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .related_items .offer_list .item .title {
    font-size: 1rem;
  }
  .advanced_cs1-1 .col_1 .wrapper {
    padding-right: 0;
  }
  .advanced_cs1-1 .col_1 .wrapper,
  .advanced_cs1-2 .col_1 .wrapper {
    padding-top: 0;
  }
  .advanced_cs1-2 .col_1 .wrapper {
    padding-left: 0;
  }
  .contact_form_cs1 form {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  h1,
  .h1,
  .box_cs1 h1,
  .single-post .page_head h1 {
    font-size: 2rem;
  }
  h2,
  .h2,
  .text_cs1 .text_lg {
    font-size: 1.7rem;
  }
  .extra_menu li + li {
    margin-left: 0.5rem;
  }
  .slider .content {
    padding: 1.5rem;
  }
  .slider .item {
    height: 55rem;
  }
  .gallery_simple,
  .gallery_body {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .accordion_box .title:after {
    font-size: 1rem;
  }
  .accordion_box .item {
    padding: 1.5rem 2rem;
  }
  .accordion_box .title h2 {
    font-size: 1rem;
  }
  .owl-carousel {
    padding-right: 1.5rem;
  }
  .owl-carousel .owl-dots button {
    margin-bottom: 0.3rem;
  }
  .owl-carousel .owl-dots button span {
    padding: 0.4rem;
  }
  .posts_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .page_body .wrapper {
    padding: 0;
  }
  .offer_list .excerpt {
    display: none;
  }
  .box_cs1 {
    padding-top: 5rem;
  }
  .box_cs1 .title {
    font-size: 2rem;
  }
  .box_cs1 .text_lg {
    font-size: 110%;
  }
  .box_cs2-4 > .container > .wrapper,
  .accordion_cs1 > .container > .wrapper {
    width: 100%;
  }
  .box_cs2-4 .promo {
    flex-direction: column;
  }
  [class*="box_cs2-"],
  .accordion_cs1 {
    margin: 4rem auto 0;
  }
  .box_cs6 .col_row .wrapper {
    gap: 1rem;
    margin: 2rem 0 0;
    flex-direction: column;
  }
  .box_cs6 .col_row .wrapper::before {
    content: none;
  }
  [class*="box_cs2-"],
  .accordion_cs1 {
    margin: 0 auto 2rem;
  }
  .box_cs4-1 .wrapper,
  .box_cs4-2 {
    padding: 2rem;
  }
  [class*="box_cs2-"] > .container > .wrapper,
  .accordion_cs1 > .container > .wrapper {
    padding: 2rem;
  }
  .breadcrumb .container {
    overflow-x: auto;
    width: 100%;
    font-size: 0.9rem;
    gap: 1.2rem;
    padding-bottom: 2rem;
  }
  .counter_cs1 .wrapper,
  .home_offer .offer_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .home_offer .offer_list .item {
    aspect-ratio: 5 / 5;
  }
}

.offer_slider {
  padding-right: 0;
  max-height: 524px;
}
.offer_slider .owl-dots {
  display: none;
}
.offer_slider button.owl-prev {
  left: -32px;
}
.offer_slider button.owl-next {
  right: -32px;
}
.offer_slider .owl-nav button span::after {
  font-size: 40px;
}
.simple.container_width.box_cs2-4 {
  background-position: left center !important;
  background-size: 35% auto !important;
}
.page-id-1284 section.advanced .col .wrapper {
  padding: 0;
}
.mb-32 {
  margin-bottom: 32px;
}
.bg-custom {
  padding: 2rem 0;
  background: #e8eef5;
  margin-top: 4rem;
}
.bg-custom p {
  margin: 0;
}
.mw-700 {
  max-width: 700px;
  margin: 0 auto;
}
.site_footer .menu {
  display: flex;
  justify-content: space-between;
}
.menu-stopka-container {
  width: 66%;
}
#menu-stopka > li {
  width: 47%;
}
.menu-menu-w-stopce-2-container {
  width: 31%;
}
.menu-menu-w-stopce-2-container ul {
  display: flex;
  flex-direction: column;
  gap: 16px !important;
}
@media (max-width: 1200px) {
  .site_footer .col_row {
    display: block;
  }
  #menu-stopka > li,
  .menu-menu-w-stopce-2-container,
  .menu-stopka-container {
    width: 100%;
  }
  .menu-stopka-container {
    margin-top: 32px;
  }
  .site_footer .menu {
    flex-direction: column;
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .offer_slider button.owl-next,
  .offer_slider button.owl-prev {
    bottom: -54px;
    top: auto;
    right: 41%;
  }
  .offer_slider button.owl-prev {
    right: auto;
    left: 41%;
  }
  .simple.container_width.box_cs2-4 {
    background-position: top center !important;
    background-size: 100% 230px !important;
    padding-top: 230px !important;
  }
  .simple.box_cs4-2 .container {
    padding: 0;
  }
  .simple.box_cs4-2 .container .wrapper {
    padding: 2rem;
  }
  .bg-custom {
    margin-bottom: 2rem;
  }
    .bg-custom .text {
      padding: 0;
    }
}
#page {
  overflow-x: hidden;
}
