@charset "utf-8";

/* LESS Document */
/*
 
Theme Name: MOAI
Theme URI: http://www.moai.pl/
Description: MOAI Wordpress Template
Version: 3.2
Author: Daniel Różynek
Author URI: http://www.moai.pl/
 
*/
/* ----------------BASICS---------------- */
body,
td,
th,
input,
textarea,
select {
  font-family: Times, "Times New Roman", Cambria, "Hoefler Text", "Liberation Serif", "serif";
  color: #0f591b;
  font-size: 24px;
  line-height: 40px;
  -webkit-font-smoothing: antialiased;
}

body {
  padding: 0;
  background-color: #fff;
  margin: 0 0 0 0;
  overflow-x: hidden;
  background-image: url("images/back.jpg");
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
}

strong {
  font-weight: 700;
}

img {
  border: none;
}

input,
textarea {
  background-color: rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
  width: 100%;
  border: none;
  padding-left: 8px;
  padding-right: 8px;
  outline: none;
  margin-bottom: 6px;
}

textarea {
  height: 200px;
}

input[type=submit]:hover {
  cursor: pointer;
}

input[type=checkbox] {
  width: auto;
}

.wpcf7-submit {
  color: #fff;
  background-color: #688C0D;
  transition: ease-in-out all 0.3s;
}

.wpcf7-submit:hover {
  background-color: #0F591B;
}

a {
  color: #0f591b;
  text-decoration: none;
}

a:hover {
  color: #688C0D;
  text-decoration: underline;
}

.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: 12px;
  line-height: 22px;
}

.picfull {
  width: 100%;
  height: auto;
}

.res {
  padding-left: 5vw;
  padding-right: 5vw;
  margin-left: auto;
  margin-right: auto;
}

.half_left {
  padding-left: calc(50vw - 583px);
}

.half_right {
  padding-right: calc(50vw - 583px);
}

.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: 60px;
  padding-bottom: 60px;
}

.pad_b {
  padding-bottom: 100px;
}

.pad_t {
  padding-top: 100px;
}

.pad_l {
  padding-left: 60px;
}

.pad_r {
  padding-right: 60px;
}

.pad_in_l {
  padding-left: 40px;
}

.pad_in_r {
  padding-right: 40px;
}

.pad_in_t {
  padding-top: 40px;
}

.pad_in_b {
  padding-bottom: 6vw;
}

.mar_in_l {
  margin-left: 40px;
}

.mar_in_r {
  margin-right: 40px;
}

.mar_in_t {
  margin-top: 40px;
}

.mar_in_b {
  margin-bottom: 40px;
}

.marg {
  height: 100%;
}

.mar_heigh1 {
  height: calc(100% - 40px);
}

.mar_heigh2 {
  height: calc(100% - 80px);
}

.mar_t {
  margin-top: 40px;
}

.mar_b {
  margin-bottom: 40px;
}

.mar_l {
  margin-left: 40px;
}

.mar_r {
  margin-right: 40px;
}

.body-top {
  padding-top: 130px;
}

.wp-block-image img {
  height: auto;
}

figure {
  margin-left: 0;
  margin-top: 0;
}

#totop {
  transition: ease-in-out all 0.35s;
  position: fixed;
  right: -60px;
  bottom: 100px;
  width: 55px;
  height: 50px;
  border-radius: 0;
  background-color: #0F591B;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

#totop:before {
  transition: ease-in-out all 0.7s;
  display: block;
  content: '';
  width: 0px;
  height: 0px;
  border-left: 4px solid #fff;
  border-top: 4px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  left: 18px;
  top: 20px;
}

i {
  padding-top: 10px;
  display: inline-block;
  background-image: url("images/email.svg");
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.mphone {
  background-image: url("images/phone.svg");
}

.mfax {
  background-image: url("images/fax.svg");
}

.mwhite {
  filter: grayscale(1) brightness(4);
}

.overf {
  overflow: hidden;
}

#symbol {
  position: absolute;
  left: calc(50% - 85px);
  display: block;
  top: -90px;
  width: 171px;
  height: 176px;
}

#fundacja {
  margin-top: 30vw;
}

#fundacja .text-row {
  background-color: #0F591B;
}

#main {
  text-shadow: 0 0 5px #e9deec, 0 0 2px #e9deec, 0 0 3px #e9deec, 0 0 10px #e9deec;
}

.p10vw {
  padding-top: 6vw;
}

/* ----------------MENU---------------- */
.primary-navigation {
  z-index: 9999;
  justify-content: flex-end;
  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 {
  padding: 0;
  list-style: none;
  margin: 0;
}

.primary-navigation ul li {
  border: 0;
  display: inline-block;
  position: relative;
}

.primary-navigation ul li a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  position: relative;
  transition: all ease-in-out 0.5s;
  line-height: 24px;
  font-size: 18px;
  color: #fff;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 4px;
  padding-top: 4px;
  padding-left: 20px;
}

.primary-navigation ul li a:hover {
  color: #688C0D;
  transition: all ease-in-out 0.25s;
}

.primary-navigation ul li ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
  transition: opacity ease-in-out 0.3s;
  opacity: 0;
  background-color: #ffffff;
  padding: 20px 0 0 0;
  float: 0;
  margin: 0;
  position: absolute;
  top: 24px;
  left: -999em;
  z-index: 99999;
}

.primary-navigation ul li ul .menu-item-has-children {
  padding-right: 11px;
  position: relative;
  margin-right: 10px;
}

.primary-navigation ul li ul .menu-item-has-children:after {
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 50%);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  content: '';
  background-color: #0F591B;
  width: 6px;
  height: 6px;
  display: block;
  position: absolute;
  right: 0;
  top: 12px;
  transform: rotate(90deg);
}

.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;
}

.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: 400px;
  border: none;
  margin: 0;
}

.acf-map img {
  max-width: inherit !important;
}

.fullheight {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.fullheight .flex-center {
  min-height: 100vh;
}

.fullheight .text-row {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lato', sans-serif;
}

h1 {
  font-size: 40px;
  line-height: 46px;
}

h2 {
  font-size: 50px;
  line-height: 65px;
  text-align: center;
  margin-bottom: 80px;
}

.dwiekolumny {
  column-count: 2;
  column-gap: 100px;
}

.trzykolumny {
  column-count: 3;
  column-gap: 100px;
}

.wiecej {
  font-size: 21px;
  font-family: 'Lato', sans-serif;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #fff;
  padding: 10px 40px;
  transition: ease-in-out all 0.3s;
}

.wiecej:hover {
  background-color: #fff;
  color: #0f591b;
}

.wiecejwhite {
  background-color: #fff;
  color: #688C0D;
  border-color: #688C0D;
}

.wiecejwhite:hover {
  color: #fff;
  background-color: #688C0D;
}

video {
  width: 100%;
}

.videowrap {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.videowrap .myVideo {
  transform: translate(-50%, -50%);
  /* % of current element */
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  height: 100%;
  width: 177.77777778vh;
  /* 100 * 16 / 9 */
  min-width: 100%;
  min-height: 56.25vw;
  /* 100 * 9 / 16 */
}

.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%;
}

#searchpagewrap #searchtitle {
  background-color: #688C0D;
  text-align: center;
}

#searchpagewrap #searchtitle h1 {
  padding: 0;
  margin: 0;
}

#searchpagewrap #searchresults h3 {
  font-size: 24px;
  line-height: 34px;
  padding: 0;
  margin: 0;
}

#searchpagewrap #searchresults .searchentry {
  text-decoration: none;
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  border-bottom: 1px solid #0F591B;
}

#searchpagewrap #searchresults .searchentry .searchthumb {
  padding-left: 30px;
}

blockquote {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.kontakt {
  font-size: 20px;
  line-height: 30px;
}

#logow {
  filter: grayscale(1) brightness(10);
}

/* ----------------HEADER---------------- */
#header {
  width: 100%;
}

#header #hwrap {
  padding: 59px 95px;
  display: flex;
  justify-content: space-between;
}

#header #logo {
  display: block;
  flex: 0 0 305px;
  box-sizing: border-box;
  text-align: center;
  transition: ease-in-out all 0.5s;
}

#header #logo img {
  width: 100%;
  height: auto;
}

#header #headright {
  display: flex;
}

#header #socials {
  color: #fff;
  padding: 8px 20px;
}

#header #socials .soctitle {
  padding-bottom: 8px;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

#header #socials .socwrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#header #socials .socwrap a img {
  width: auto;
  height: 24px;
}

#header #search-wrap {
  position: relative;
}

#header #search-wrap #searchicon {
  height: 100%;
  background-image: url("images/search.svg");
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  width: 60px;
}

#header #search-wrap #searchform {
  position: absolute;
  width: 200px;
  bottom: -40px;
  right: 0;
  display: none;
}

#header #search-wrap #searchform.see {
  display: block;
}

#header #search-wrap form {
  position: relative;
}

#header #search-wrap form #search {
  border: none;
  border-radius: 100px;
  font-size: 13px;
  line-height: 18px;
  margin: 10px 0 0 0 !important;
  padding: 10px !important;
  background-color: #f5f5f5;
  margin-top: 2px !important;
}

#header #search-wrap form #search-button {
  border-radius: 0;
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  padding: 0 !important;
  margin: 0 !important;
  width: 20px;
  height: auto;
}

.scrolled #totop {
  right: 0;
  border-radius: 50px 0 0 50px;
}

.scrolled #totop:before {
  width: 13px;
  height: 13px;
}

#lang {
  background-color: #0F591B;
  color: #fff;
  display: flex;
  align-items: center;
}

#lang .wpml-ls-legacy-dropdown-click {
  width: auto;
}

#lang .wpml-ls-legacy-dropdown-click a {
  border-color: #0F591B;
}

#lang .wpml-ls-legacy-dropdown-click ul li a {
  background-color: #0F591B;
  color: #fff;
  border: none;
}

#lang .wpml-ls-legacy-dropdown-click ul li a:hover {
  background-color: #688C0D;
}

#lang .wpml-ls-legacy-list-horizontal {
  padding: 0;
  border: none;
}

#lang .wpml-ls-legacy-list-horizontal a {
  padding: 0;
}

.hbetween {
  justify-content: space-between;
}

.hend {
  justify-content: flex-end;
}

.hcentral {
  justify-content: center;
}

.haround {
  justify-content: space-around;
}

.flex-center {
  align-items: center;
}

.flex-end {
  align-items: flex-end;
}

/* ----------------FRONT---------------- */
.swiper,
.carousel {
  overflow: hidden;
  width: 100%;
  height: 750px;
}

.swiper .swiper-slide,
.carousel .swiper-slide {
  background-color: #fff;
}

.swiper .swiper-slide .slide-text-in,
.carousel .swiper-slide .slide-text-in {
  background-size: cover;
  background-position: center;
}

.carousel {
  height: auto;
}

.carousel .swiper-wrapper {
  transition-timing-function: linear;
}

.carousel .swiper-wrapper .swiper-slide {
  background-color: transparent;
}

/* ----------------CONTENT---------------- */
.ui-accordion-header {
  box-sizing: border-box;
  color: #0f591b;
  background-color: #dff2fd;
  padding: 33px 39px;
  position: relative;
}

.ui-accordion-header p {
  padding: 0;
  margin: 0;
}

.ui-accordion-header:after {
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  border-right: 2px solid #688C0D;
  border-top: 2px solid #688C0D;
  position: absolute;
  top: 70px;
  right: 50px;
  transform: rotate(45deg);
  transition: ease-in-out all 0.25s;
}

.ui-accordion-header:hover {
  cursor: pointer;
}

.ui-accordion-header:hover:after {
  transform: rotate(135deg);
}

.plik {
  padding-bottom: 20px;
  padding-top: 10px;
  display: flex;
}

.plik a {
  padding: 0 10px 0 0;
  display: block;
  color: #0f591b;
  text-decoration: none;
}

.plik a:hover {
  color: #688C0D;
}

.plik .plikinfo {
  color: #688C0D;
}

.plik .plikiflex .pliki {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.plik .plikiflex .pliki .plik {
  flex: 0 0 calc(33% - 50px);
  display: block;
}

.plik .plikiflex .pliki .plik:before {
  margin-bottom: 10px;
  content: '';
  display: block;
  width: 100%;
  height: 60px;
  background-image: url("images/file.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
}

.accordionin .res {
  max-width: 100%;
  padding: 0;
}

.accordionin .res .text {
  max-width: 1166px;
  padding-left: 3vw;
  padding-right: 3vw;
  margin-left: auto;
  margin-right: auto;
}

.accordionin .ui-accordion>div:nth-of-type(4n+1) {
  background-color: #0F591B;
}

.ui-accordion-content .text {
  padding: 6px 39px;
}

.ui-accordion-header-active:after {
  top: 80px;
  transform: rotate(-45deg);
}

.accordionclean .ui-accordion-header {
  padding: 0 0 20px 0;
  background-color: transparent;
}

.accordionclean .ui-accordion-header:before {
  right: auto;
  bottom: 10px;
  top: auto;
}

.accordionclean .ui-accordion-header:after {
  top: 106px;
  bottom: -53px;
  left: 70px;
  right: auto;
}

section {
  position: relative;
}

.text-row {
  display: flex;
}

.text-row .text {
  flex: 1;
}

.text-row .flex100 {
  flex: 0 0 100%;
}

.text-row .flex66 {
  flex: 0 0 66.66%;
}

.text-row .flex50 {
  flex: 0 0 50%;
}

.text-row .flex40 {
  flex: 0 0 40%;
}

.text-row .flex45 {
  flex: 0 0 45%;
}

.text-row .flex33 {
  flex: 0 0 33.33%;
}

.text-row .flex30 {
  flex: 0 0 30%;
}

.text-row .flex25 {
  flex: 0 0 25%;
}

.text-row .flex20 {
  flex: 0 0 20%;
}

.dwustronny {
  z-index: 1;
  position: relative;
}

.dwustronny .dw-wrap {
  height: 100%;
  box-sizing: border-box;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.dwustronny .dw-wrap p:first-of-type {
  padding-top: 0;
  margin-top: 0;
}

.dwustronny .dw-wrap p:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}

.dwustronny .dw-wrap .textfront {
  backface-visibility: hidden;
  height: 100%;
  transform: rotateY(0deg);
  transition: 0.7s all ease-in-out !important;
}

.dwustronny .dw-wrap .textback {
  backface-visibility: hidden;
  transition: 0.7s all ease-in-out !important;
  background-color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform: rotateY(-180deg);
}

.dwustronny .dw-wrap:hover .textfront {
  transform: rotateY(180deg);
}

.dwustronny .dw-wrap:hover .textback {
  transform: rotateY(0deg);
}

.dwustronny .pad_ds_l {
  padding-left: 40px;
}

.dwustronny .pad_ds_l .textback {
  left: 40px;
}

.dwustronny .pad_ds_r {
  padding-right: 40px;
}

.dwustronny .pad_ds_t {
  padding-top: 40px;
}

.dwustronny .pad_ds_t .textback {
  top: 40px;
}

.dwustronny .pad_ds_b {
  padding-bottom: 40px;
}

.dwustronny .ds_h_1 .textback {
  height: calc(100% - 40px);
}

.dwustronny .ds_h_2 .textback {
  height: calc(100% - 80px);
}

.dwustronny .ds_v_1 .textback {
  width: calc(100% - 40px);
}

.dwustronny .ds_v_2 .textback {
  width: calc(100% - 80px);
}

.dwustronny:hover {
  z-index: 2;
}

.textwrap {
  height: 100%;
  box-sizing: border-box;
}

.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;
}

.posts {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.posts .post-wrap {
  position: relative;
  padding: 17px;
  box-sizing: border-box;
  flex: 0 0 calc(33% - 12px);
  background-color: #fff;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  display: block;
  color: #0f591b;
  font-size: 20px;
  line-height: 30px;
}

.posts .post-wrap .date {
  font-size: 16px;
  line-height: 20px;
}

.posts .post-wrap h3 {
  font-size: 40px;
  line-height: 50px;
  padding-top: 0;
  margin-top: 10px;
}

.posts .post-wrap .post-thumb {
  margin-bottom: 20px;
}

.posts .post-wrap .post-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.posts .post-wrap .czytaj {
  color: #6B7686;
  font-size: 14px;
  line-height: 18px;
  position: absolute;
  bottom: 17px;
  display: inline-block;
}

.posts .post-wrap .czytaj:after {
  transition: ease-in-out all 0.25s;
  content: '';
  height: 1px;
  width: 16px;
  background-color: #6B7686;
  display: block;
  position: absolute;
  right: -24px;
  bottom: 8px;
}

.posts .post-wrap .czytaj:before {
  transition: ease-in-out all 0.25s;
  content: '';
  height: 8px;
  width: 8px;
  border-right: 1px solid #6B7686;
  border-bottom: 1px solid #6B7686;
  display: block;
  position: absolute;
  right: -24px;
  bottom: 4px;
  transform: rotate(-45deg);
}

.posts .post-wrap:hover .czytaj:after {
  right: -34px;
  width: 26px;
}

.posts .post-wrap:hover .czytaj:before {
  right: -34px;
}

.gform_wrapper.gravity-theme .gform_fields {
  display: block !important;
}

.gform_wrapper .formcolms {
  display: flex;
  gap: 40px;
}

.gform_wrapper .formcolms .formcolumn {
  flex: 1;
}

#moaipager {
  flex: 0 0 100%;
  text-align: center;
  padding: 40px 0;
}

#moaipager a {
  padding-left: 10px;
  padding-right: 10px;
  color: #0F591B;
  font-size: 24px;
  line-height: 29px;
  text-decoration: none;
}

#moaipager .active {
  font-weight: 700;
}

.post-single {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px 60px;
}

.post-single .postthumb {
  padding-top: 20px;
}

.post-single .postthumb img {
  width: 100%;
  height: auto;
}

.post-single h1 {
  padding-bottom: 10px;
  margin-bottom: 0;
}

.post-single .date {
  font-size: 14px;
  line-height: 20px;
}

.contbox {
  color: #fff;
  background-color: #0F591B;
}

.contbox a {
  color: #fff;
}

/* ----------------FOOTER---------------- */
footer {
  background-color: #0F591B;
  color: #fff;
}

footer ::placeholder {
  color: #424242;
}

footer input,
footer textarea {
  color: #fff;
}

footer .text-row {
  justify-content: space-between;
  display: flex;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #0F591B;
}

footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 26px;
  line-height: 34px;
}

footer ul li {
  padding-top: 13px;
  padding-bottom: 13px;
}

footer ul li ul {
  padding-left: 0px;
  font-size: 15px;
  line-height: 21px;
}

footer ul li ul li {
  padding-bottom: 6px;
  padding-top: 6px;
  text-transform: uppercase;
}

.bialy {
  color: #fff;
}

.bialy h4,
.bialy h2 strong,
.bialy a {
  color: #fff;
}

.bialy .wiecej {
  color: #fff;
  border-color: #fff;
}

.bialy .wiecej:hover {
  color: #0F591B;
}

.bialy a:hover {
  color: #fff;
}

#backtotop {
  background-color: #0F591B;
  color: #fff;
  position: fixed;
  right: 0;
  bottom: 100px;
  padding: 20px;
  border-radius: 100% 0 0 100%;
  font-size: 30px;
  font-weight: 600;
  z-index: 99999;
  text-decoration: none;
}

.lg-outer {
  z-index: 9999999 !important;
}

#mmobile {
  z-index: 9999;
  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) translateY(0);
  opacity: 1;
}

.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: 1920px),
screen and (max-width: 1360px) {
  #fundacja {
    margin-top: 26vw;
  }
}

@media handheld and (max-width: 1024px),
screen and (max-width: 1024px) {
  .flextablet .text-row {
    flex-direction: column;
  }

  #fundacja .new-row .adelay0,
  #fundacja .new-row .adelay1,
  #fundacja .new-row .adelay2,
  #fundacja .new-row .adelay3 {
    padding: 0 0 20px 0;
    margin: 0;
  }

  #fundacja .new-row .adelay0 div,
  #fundacja .new-row .adelay1 div,
  #fundacja .new-row .adelay2 div,
  #fundacja .new-row .adelay3 div,
  #fundacja .new-row .adelay0 p,
  #fundacja .new-row .adelay1 p,
  #fundacja .new-row .adelay2 p,
  #fundacja .new-row .adelay3 p {
    text-align: center;
    padding: 0;
    margin: 0;
  }

  #fundacja .new-row .adelay3 {
    padding-bottom: 8vw;
  }

  .posts .post-wrap {
    flex: 0 0 calc(50% - 12px);
  }

  #header #logo {
    flex: 0 0 25vw;
  }
}

@media handheld and (max-width: 800px),
screen and (max-width: 800px) {
  h2 {
    font-size: 5vw;
    line-height: 6vw;
  }

  #fundacja .marg {
    margin-left: 0;
    margin-right: 0;
  }
}

@media handheld and (max-width: 640px),
screen and (max-width: 640px) {
  .post-single {
    padding: 20px 30px;
  }

  .posts .post-wrap {
    flex: 0 0 100%;
  }

  body {
    font-size: 16px;
    line-height: 24px;
  }

  #header #hwrap {
    padding: 39px 45px;
  }

  h1 {
    font-size: 8vw;
    line-height: 11vw;
  }

  h2 {
    margin-bottom: 50px;
    margin-top: 40px;
  }

  #symbol {
    width: 80px;
    height: auto;
    left: calc(50% - 40px);
    top: -41px;
  }

  .wiecej {
    font-size: 4vw;
    padding: 2vw 6vw;
  }

  #kontakt {
    padding-top: 14vw;
  }

  .kontakt {
    font-size: 14px;
    line-height: 22px;
  }

  #logow {
    width: 80%;
    height: auto;
  }

  .primary-navigation {
    justify-content: flex-start;
    align-items: flex-start;
    top: 0;
    transition: ease-in-out all 0.3s;
    left: -80vw;
    width: 80vw;
    height: 100vh;
    position: fixed;
    background-color: #0F591B;
    padding: 40px 0;
  }

  .primary-navigation>div {
    width: 100%;
  }

  .primary-navigation #primary-menu {
    width: 100%;
  }

  .primary-navigation #primary-menu li {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 0;
  }

  .primary-navigation #primary-menu li a {
    color: #fff;
    display: block;
  }

  .primary-navigation #primary-menu .current-menu-item {
    background-color: #688C0D;
  }

  .primary-navigation #primary-menu .current-menu-item a {
    color: #fff;
  }

  #mmobile {
    display: block;
    position: fixed;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    background-color: #0F591B;
  }

  #mmobile .mmobile {
    transition: ease-in-out all 0.25s;
    width: 70%;
    left: 15%;
    height: 4px;
    background-color: #fff;
    position: absolute;
    top: calc(50% - 2px);
  }

  #mmobile .mmobile:before,
  #mmobile .mmobile:after {
    transition: ease-in-out all 0.25s;
    z-index: 1;
    width: 100%;
    height: 4px;
    display: block;
    position: absolute;
    left: 0;
    top: 8px;
    background-color: #fff;
    content: '';
  }

  #mmobile .mmobile:after {
    top: -8px;
  }

  #mmobile:hover {
    cursor: pointer;
  }

  #mmobile:hover .mmobile:before {
    transform: rotate(10deg);
  }

  #mmobile:hover .mmobile:after {
    transform: rotate(-10deg);
  }

  .menuout .primary-navigation {
    left: 0;
  }

  .menuout #mmobile .mmobile {
    transform: rotate(45deg);
  }

  .menuout #mmobile .mmobile:before {
    opacity: 0;
  }

  .menuout #mmobile .mmobile:after {
    transform: rotate(-90deg) translateX(-8px);
  }
}