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

Theme Name: MOAI
Theme URI: http://www.moai.pl/
Description: Strona firmowa
Version: 1
Author: Daniel Różynek
Author URI: http://www.moai.pl/
 
*/
/* ----------------BASICS---------------- */
body,
td,
th,
input,
textarea {
  font-family: circe, sans-serif;
  color: #888888;
  font-size: 16px;
  line-height: 22px;
}
body {
  background-color: #fff;
  margin: 0px !important;
  overflow-x: hidden;
}
body.page {
  margin: 0 !important;
}
img {
  border: none;
}
input,
textarea,
select {
  font-family: circe, sans-serif;
  color: #888888;
  background-color: transparent;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #888888;
  padding: 14px 20px !important;
  outline: none;
  margin-top: 20px !important;
  border-radius: 10px;
}
textarea {
  height: 196px !important;
}
.gfield_checkbox input {
  width: auto;
  margin: 0 !important;
}
.gform_button {
  margin-top: 20px;
  font-weight: 700;
  color: #fff;
  margin-right: 14px;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  line-height: 14px;
  background-color: #2870ed;
  transition: ease-in-out all 0.25s;
  border: 2px solid #2870ed;
  text-transform: uppercase;
}
.gform_button:hover {
  cursor: pointer;
  padding-left: 40px;
  padding-right: 40px;
  color: #2870ed;
  background-color: rgba(27, 62, 87, 0.1);
  transition: cubic-bezier(0.25, 3, 0.25, 0) all 0.5s;
}
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  border-radius: 10px;
}
.gform_footer {
  float: right;
  margin: 0 !important;
  padding: 0 !important;
}
.wpcf7-submit {
  color: #fff;
  background-color: #022e67;
  transition: ease-in-out all 0.3s;
}
.wpcf7-submit:hover {
  background-color: #2870ed;
}
a {
  color: #022e67;
}
a:hover {
  color: #2870ed;
  text-decoration: none;
}
.alignleft {
  display: inline;
  float: left;
  margin-right: 20px;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.625em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.small {
  font-size: 10px;
}
.picfull {
  width: 100%;
  height: auto;
}
.res {
  width: 1148px;
  padding-left: 3vw;
  padding-right: 3vw;
  margin-left: auto;
  margin-right: auto;
}
#pagewrap section .res {
  width: 100%;
  padding: 0;
}
.firstp p:first-of-type {
  padding-top: 0;
  margin-top: 0;
}
.res700 .res {
  width: 740px;
}
.half_left {
  padding-left: calc(50vw - 574px);
}
.half_right {
  padding-right: calc(50vw - 574px);
}
.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;
}
.padding_bottom {
  padding-bottom: 140px;
}
.padding_top {
  padding-top: 90px;
}
.paddingin_top {
  padding-top: 60px;
}
.paddingin_bottom {
  padding-bottom: 70px;
}
.padding_left {
  padding-left: 60px;
}
.padding_right {
  padding-right: 60px;
}
.paddingin_left {
  margin-left: 50px;
}
.paddingin_right {
  margin-right: 50px;
}
.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: #2870ed;
  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;
}
.bialy {
  color: #fff;
}
.bialy h1,
.bialy h2,
.bialy h3,
.bialy h4,
.bialy h6,
.bialy a {
  color: #fff;
}
#top {
  height: 82px;
}
.size-thumbnail {
  border-radius: 300px;
}
#search-wrap {
  flex: 0 0 180px;
}
#search-wrap form {
  position: relative;
}
#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;
}
#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;
}
#searchpagewrap #searchtitle {
  background-color: #022e67;
  text-align: center;
}
#searchpagewrap #searchtitle h1 {
  padding: 0;
  margin: 0;
}
#searchpagewrap #searchresults h3 {
  font-size: 28px;
  line-height: 38px;
  padding: 0;
  margin: 0;
}
#searchpagewrap #searchresults .searchentry {
  text-decoration: none;
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  border-bottom: 1px solid #2870ed;
}
#searchpagewrap #searchresults .searchentry .searchthumb {
  padding-left: 30px;
}
.navigation ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.navigation ul li {
  display: inline-block;
  padding-right: 20px;
}
.navigation ul .active a {
  color: #2870ed;
}
#searchpagination {
  text-align: center;
  width: 100%;
}
/* ----------------MENU---------------- */
.primary-navigation {
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 70px;
  padding-right: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  flex: 1;
}
.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-navigation ul li {
  padding-right: 20px;
  border: 0;
  display: inline-block;
  position: relative;
}
.primary-navigation ul li a {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  transition: all ease-in-out 0.5s;
  line-height: 20px;
  font-size: 13px;
  color: #888888;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 4px;
  padding-top: 4px;
}
.primary-navigation ul li a:hover {
  color: #2870ed;
  transition: all ease-in-out 0.25s;
}
.primary-navigation ul li ul {
  border-bottom: 1px solid #2870ed;
  transition: opacity ease-in-out 0.3s;
  opacity: 0;
  background-color: #ffffff;
  padding: 40px 0 0 0;
  float: 0;
  margin: 0;
  position: absolute;
  top: 24px;
  left: -999em;
  z-index: 99999;
}
.primary-navigation ul li ul li {
  padding: 4px 20px;
  display: block;
  background: #fff;
}
.primary-navigation ul li ul li a {
  color: #888888 !important;
}
.primary-navigation ul li ul li a:hover {
  color: #2870ed !important;
}
.primary-navigation ul li ul:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 44px);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  bottom: 0;
  left: 0;
  z-index: -1;
}
.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: #2870ed;
  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 .mPS2id-highlight {
  color: #2870ed;
}
.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: 60vh;
  border: none;
  margin: 0;
}
.acf-map img {
  max-width: inherit !important;
}
.fullheight {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.almostfull {
  min-height: calc(100vh - 280px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
h1 {
  margin-top: 0;
  padding-top: 0;
  color: #022e67;
  font-size: 44px;
  line-height: 48px;
}
h2 {
  margin-bottom: 10px;
  margin-top: 0;
  padding-top: 0;
  color: #022e67;
  font-size: 36px;
  line-height: 40px;
}
.h4padding h4 {
  padding-top: 0;
  margin-top: 6px;
}
.h4padding p:first-of-type {
  padding: 0;
  margin: 0;
}
h3,
.strongh strong {
  text-transform: uppercase;
  color: #022e67;
  font-size: 16px;
  line-height: 22px;
}
h3 img,
.strongh strong img {
  vertical-align: middle;
}
.strongh em {
  font-style: normal;
  font-weight: bold;
}
h4 {
  text-transform: uppercase;
  font-size: 22px;
  line-height: 28px;
  color: #022e67;
}
h5 {
  font-size: 22px;
  line-height: 26px;
  padding: 0;
  margin: 0;
  color: #022e67;
  text-transform: uppercase;
}
h6 {
  font-size: 26px;
  line-height: 38px;
  margin-bottom: 30px;
  padding-top: 0;
  margin-top: 0;
  font-weight: 400;
}
.dwiekolumny {
  column-count: 2;
  column-gap: 100px;
}
.dwiekolumny p:first-of-type,
.dwiekolumny h1:first-of-type,
.dwiekolumny h2:first-of-type,
.dwiekolumny h3:first-of-type,
.dwiekolumny h4:first-of-type {
  padding-top: 0;
  margin-top: 0;
}
.trzykolumny {
  column-count: 3;
  column-gap: 100px;
}
.wiecej {
  background-color: #fff;
  margin-top: 20px;
  font-weight: 700;
  color: #2870ed;
  margin-right: 7px;
  margin-left: 7px;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  line-height: 14px;
  transition: ease-in-out all 0.25s;
  border: 2px solid #2870ed;
}
.wiecej:hover {
  padding-left: 40px;
  padding-right: 40px;
  color: #2870ed;
  background-color: rgba(2, 46, 103, 0.5);
  transition: cubic-bezier(0.25, 3, 0.25, 0) all 0.5s;
}
.wiecejgray {
  border: #878787;
  text-transform: uppercase;
  background-color: #878787;
  color: #fff;
}
.wiecejred {
  text-transform: uppercase;
  background-color: #2870ed;
  color: #fff;
}
.videowrap {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
}
.videowrap .myVideo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  min-height: 50%;
  min-width: 50%;
}
.videoitem {
  position: absolute;
  padding-bottom: 56.25%;
  padding-top: 25px;
  width: 100%;
  height: 0;
  z-index: 0 !important;
}
.videoitem iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 62%;
}
.videoitem .video-text {
  width: 30%;
  position: absolute;
  right: 3%;
}
.navitem {
  position: absolute;
  bottom: 0;
  text-align: center;
  display: block;
  z-index: 3;
}
.navitem ul li {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 6px;
  padding: 0;
  border-radius: 50px;
  background-color: transparent;
  border: 1px solid #dbdbdb;
  outline: none;
  transition: ease-in-out all 0.25s;
}
.navitem ul li:hover {
  background-color: transparent;
  outline: none;
  border: 3px solid #dbdbdb;
  padding: 2px;
}
.navitem ul .active {
  background-color: transparent;
  outline: none;
  border: 3px solid #022e67;
}
.backpic {
  color: #fff;
}
.backpic h2 {
  color: #fff;
}
.backpic h4 {
  color: #2870ed;
}
iframe {
  width: 100%;
  height: 645px;
}
.formflex {
  display: flex;
  justify-content: space-between;
}
.formflex .formcolumn {
  flex: 0 0 49%;
}
.backblue div,
.backred div {
  padding-bottom: 20px;
  padding-top: 20px;
  background-color: #022e67;
  color: #fff;
  border-radius: 10px;
  margin: 0;
}
.backblue div h3,
.backred div h3 {
  color: #fff;
  font-size: 22px;
  line-height: 28px;
}
.backred div {
  background-color: #2870ed;
}
.backred .wiecej {
  background-color: #fff;
  border-color: #fff;
  color: #2870ed;
}
.ramka {
  margin-bottom: 60px;
}
.ramka .brak {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  height: 100%;
  padding: 40px 40px 100px 40px;
  box-sizing: border-box;
}
.ramka .brak .wiecej {
  position: absolute;
  bottom: 40px;
  left: calc(50% - 90px);
}
.borderradius {
  border-radius: 10px;
  margin-bottom: 40px;
}
.backgray {
  background-color: #ededed;
}
.backred {
  background-color: #2870ed;
}
.backblue {
  background-color: #022e67;
}
.margintop0 .powiazane {
  margin-top: 0;
}
#rocznik {
  padding: 25px 0;
  border-top: 1px solid #2870ed;
  border-bottom: 1px solid #2870ed;
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 20px;
}
#rocznik a {
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #2870ed;
  text-decoration: none;
  margin-right: 20px;
  font-family: circe, sans-serif;
}
#rocznik a:hover {
  text-decoration: underline;
}
#rocznik .current {
  font-weight: bold;
}
.raporty-wrap .raporty .raport {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #2870ed;
}
.raporty-wrap .raporty .raport a {
  text-decoration: none;
}
.raporty-wrap .raporty .raport a:hover {
  text-decoration: underline;
}
.raporty-wrap .raporty .raport h3 {
  text-decoration: none;
  margin-top: 0;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 10px;
}
.raporty-wrap .raporty .raport:last-of-type,
.raporty-wrap .raporty .raport:nth-last-child(2) {
  border: none;
}
/* ----------------HEADER---------------- */
#header {
  padding-bottom: 20px;
  padding-top: 20px;
  background-color: #fff;
  box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: all ease-in-out 0.5s;
  width: 100%;
  position: fixed;
  top: 0;
}
#header #logo {
  display: block;
  flex: 0 0 165px;
  box-sizing: border-box;
  text-align: center;
  transition: ease-in-out all 0.5s;
}
#header #logo img {
  width: 100%;
  height: auto;
}
#socials {
  padding-top: 12px;
  background-repeat: no-repeat;
  padding-left: 250px;
  background-image: url("images/polfund-bialy.svg");
  background-size: 168px auto;
  background-position: left center;
}
#socials a {
  vertical-align: middle;
  margin-left: 6px;
  display: inline-block;
}
#socials a img {
  height: 24px;
  width: auto;
}
#socials a:first-of-type {
  margin-right: 20px;
}
#socials a:first-of-type img {
  height: 44px;
}
.scrolled #totop {
  right: 0;
  border-radius: 50px 0 0 50px;
}
.scrolled #totop:before {
  width: 13px;
  height: 13px;
}
#partnerzy .new-row {
  width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.text-row {
  width: 100%;
  display: flex;
}
.text-row .text {
  min-height: 0;
  min-width: 0;
  flex: 1;
}
.text-row .text ul {
  list-style: none;
}
.text-row .text ul li {
  padding-bottom: 10px;
  position: relative;
}
.text-row .text ul li:before {
  position: absolute;
  content: '+';
  display: block;
  color: #2870ed;
  font-weight: bold;
  left: -16px;
  top: 0;
}
.text-row .text .flexul {
  display: flex;
}
.text-row .text .flexul li {
  flex: 1;
  padding-right: 40px;
}
.text-row .text .flexul li:before {
  color: #fff;
}
.text-row .text ol {
  list-style: lower-alpha;
}
.text-row .text ol ol {
  list-style: lower-roman;
}
.text-row .flex50 {
  flex: 0 0 50%;
}
.text-row .flex33 {
  flex: 0 0 33.33%;
}
.text-row .res700 {
  flex: 0 0 740px;
  margin-left: auto;
  margin-right: auto;
}
.text-row .normalres {
  width: 100%;
}
.posts-wrap {
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.posts-wrap .post-box {
  margin-bottom: 60px;
  position: relative;
  flex: 0 0 30%;
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-align: center;
  padding: 0 40px 100px 30px;
  box-sizing: border-box;
}
.posts-wrap .post-box .date {
  font-size: 16px;
  padding-top: 20px;
  font-weight: bold;
  padding-bottom: 20px;
}
.posts-wrap .post-box a {
  height: 100%;
  display: block;
  position: relative;
  color: #022e67;
  text-decoration: none;
}
.posts-wrap .post-box a .wiecej-news {
  font-weight: bold;
  color: #2870ed;
  text-decoration: underline;
  text-transform: uppercase;
  bottom: -40px;
  position: absolute;
  width: 100%;
}
/* ----------------FRONT---------------- */
.slider-wrap {
  height: 100%;
}
.slider-wrap .slick-list {
  height: 100%;
}
.slider-wrap .slick-list .slick-track {
  height: 100%;
}
.slider-wrap .slick-list .slick-track .slide {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  display: flex !important;
}
.slider-wrap .slick-list .slick-track .slide .slide-text,
.slider-wrap .slick-list .slick-track .slide .slide-img {
  flex: 0 0 50%;
  box-sizing: border-box;
}
.slider-wrap .slick-list .slick-track .slide .slide-text {
  display: flex;
  align-items: center;
  padding-left: 10%;
  padding-right: 10%;
  background-color: #2870ed;
  color: #fff;
}
.slider-wrap .slick-list .slick-track .slide .slide-img img {
  width: 100%;
  height: auto;
}
/* ----------------CONTENT---------------- */
#poreczenia .new-row .text {
  padding-left: 10px;
  padding-right: 10px;
}
#poreczenia .new-row .text .paddingin_left {
  margin: 0;
  padding: 30px 20px 20px 20px;
  background-color: #022e67;
  border-radius: 300px;
  color: #fff;
  text-align: center;
  height: 267px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
}
#poreczenia .new-row .text .paddingin_left strong {
  color: #2870ed;
  font-size: 44px;
  line-height: 54px;
}
.pliki,
.powiazane {
  justify-content: center;
  margin-top: 40px;
  padding: 35px 45px 5px 45px;
  background-color: #ededed;
  border-radius: 10px;
  display: flex;
}
.pliki .plikitytul,
.powiazane .plikitytul {
  flex: 0 0 230px;
}
.pliki .plikiwrap,
.powiazane .plikiwrap {
  flex-wrap: wrap;
  padding: 0 0 0 20px;
  margin: 0;
  list-style: none;
  display: flex;
}
.pliki .plikiwrap .plik,
.powiazane .plikiwrap .plik {
  margin-bottom: 10px;
  margin-left: 30px;
  position: relative;
}
.pliki .plikiwrap .plik:before,
.powiazane .plikiwrap .plik:before {
  background-image: url("images/li.svg");
  background-size: contain;
  background-position: center;
  content: '';
  display: block;
  position: absolute;
  left: -16px;
  top: 5px;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
}
.pliki .plikiwrap a,
.powiazane .plikiwrap a {
  color: #888888;
  text-decoration: none;
}
.pliki .plikiwrap a:hover,
.powiazane .plikiwrap a:hover {
  color: #2870ed;
}
.pliki .plikiwrap .plikinfo,
.powiazane .plikiwrap .plikinfo {
  display: inline;
}
.powiazane {
  padding: 15px 45px 5px 45px;
  background-color: #022e67;
  color: #fff;
}
.powiazane .plikitytul {
  flex: 0 0 200px;
}
.powiazane .plikiwrap {
  padding: 0;
  list-style: disc;
}
.powiazane .plikiwrap .plik {
  margin-left: 10px;
  color: #fff;
}
.powiazane .plikiwrap .plik:before {
  display: none;
}
.powiazane .plikiwrap .plik a {
  color: #fff;
}
.powiazane .plikiwrap .plik a:before {
  content: '•';
  padding-right: 10px;
  display: inline-block;
}
.powiazane .plikiwrap .plik:first-of-type a:before {
  display: none;
}
section {
  overflow: hidden;
  position: relative;
}
section .zdjecie-back {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: calc(100% + 200px);
  bottom: 0;
  left: 0;
}
.tabele {
  display: flex;
}
.tabele .tabela {
  box-sizing: border-box;
  padding: 4% 5%;
  flex: 1;
}
.tabele .tabela table {
  padding-top: 60px;
  left: 0;
  width: 100%;
  position: relative;
}
.tabele .tabela table:before,
.tabele .tabela table:after {
  top: 20px;
  content: '';
  display: block;
  position: absolute;
  height: 1px;
  width: 3px;
  background-color: #2870ed;
}
.tabele .tabela table:after {
  left: 8px;
  width: 60px;
}
.tabele .tabela table td,
.tabele .tabela table th {
  vertical-align: baseline;
  text-align: left;
  font-size: 14px;
  line-height: 18px;
  padding: 4px 6px;
}
.tabele .tabela em {
  display: inline-block;
  background-color: #022e67;
  color: #fff;
  font-style: normal;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 14px;
  line-height: 14px;
}
.tabele .tabela h3 {
  text-transform: uppercase;
}
.grid a {
  margin-bottom: 1px;
  margin-right: 1px;
  display: block;
}
.grid img {
  width: 100%;
  height: auto;
  display: block;
}
.grid-item,
.grid-sizer {
  display: block;
  width: 33%;
  margin-bottom: 1px;
}
#archive {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#archive .post-excerpt {
  flex: 0 0 48%;
  color: #888888;
  text-decoration: none;
  font-size: 22px;
  line-height: 34px;
  margin-bottom: 60px;
}
#archive .post-excerpt:hover {
  color: #022e67;
}
#archive .post-excerpt h2 {
  font-size: 40px;
  line-height: 50px;
  color: #022e67;
}
#archive .post-excerpt img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 6px;
}
#post .size-full {
  width: 100%;
  height: auto;
}
.post-content {
  display: flex;
}
.post-content .post-thumb {
  flex: 0 0 350px;
  padding-left: 40px;
}
.date {
  font-size: 14px;
}
#zakres ul,
#zakres2 ul {
  display: flex;
  padding: 50px 0;
  margin: 0;
  justify-content: space-between;
  list-style: none;
}
#zakres ul li,
#zakres2 ul li {
  padding-left: 16px;
  position: relative;
}
#zakres ul li:before,
#zakres2 ul li:before {
  position: absolute;
  content: '+';
  left: -16px;
  top: 0;
  display: block;
}
#zakres2 ul li {
  padding-left: 6px;
  font-weight: 700;
}
#zakres2 ul li a {
  text-decoration: none;
}
#zakres2 ul li:before {
  font-weight: 400;
  font-size: 24px;
  color: #fff;
}
#klucz {
  min-height: 680px;
}
#klucz .rowimg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 890px;
  height: 590px;
  clip-path: circle(110% at 90% 141%);
}
#klucz:before {
  clip-path: circle(100% at 90% 128%);
  right: 0;
  bottom: 0;
  content: '';
  width: 890px;
  height: 723px;
  position: absolute;
  z-index: 0;
  background-color: #2870ed;
}
.panel > div {
  height: 100%;
  padding: 20px 16px;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.15);
}
.redback {
  padding: 40px 200px;
  color: #fff;
  position: relative;
  margin-bottom: 80px;
}
.redback:before {
  content: '';
  display: block;
  position: absolute;
  width: calc(100% + 80px);
  height: calc(100% + 40px);
  left: -40px;
  top: -20px;
  background-color: #2870ed;
  z-index: -1;
  border-radius: 10px;
}
.redback h2 {
  padding-bottom: 20px;
  color: #fff;
}
#naszewartosci {
  padding-top: 140px;
}
/* ----------------FOOTER---------------- */
footer {
  background-color: #022e67;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}
footer .text-row {
  justify-content: space-between;
}
footer .text-row .text {
  flex: inherit;
}
footer h5 {
  color: #022e67;
  font-size: 16px;
  line-height: 22px;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer ul {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}
footer ul li {
  flex: 1;
}
/* ----------------ANIMATIONS---------------- */
.anim {
  transition: ease-out all 0.5s;
}
.afade {
  opacity: 0;
}
.aleft {
  transform: translateX(-50px);
  opacity: 0;
}
.aright {
  transform: translateX(50px);
  opacity: 0;
}
.abottom {
  transform: translateY(50px);
  opacity: 0;
}
.visible {
  transition-delay: 0.5s;
  transform: translateX(0);
  opacity: 1;
  transform: translateY(0);
}
.adelay1 {
  transition-delay: 0.6s !important;
}
.adelay2 {
  transition-delay: 0.7s !important;
}
.adelay3 {
  transition-delay: 0.8s !important;
}
.adelay4 {
  transition-delay: 0.9s !important;
}
.adelay5 {
  transition-delay: 1s !important;
}
#poreczeniastart .new-row p {
  padding: 0;
  margin: 0;
}
#poreczeniastart .new-row a {
  font-size: 20px;
  line-height: 24px;
  background-color: #2870ed;
  width: 90%;
  display: block;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: ease all 0.3s;
}
#poreczeniastart .new-row a strong {
  padding: 30px 20px;
  display: block;
  position: relative;
}
#poreczeniastart .new-row a strong::after {
  transition: ease all 0.3s;
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  top: 36px;
  right: 20px;
  border: 2px solid #fff;
  border-radius: 100%;
}
#poreczeniastart .new-row a strong:before {
  transition: ease all 0.3s;
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: 49px;
  right: 35px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}
#poreczeniastart .new-row a img {
  border-radius: 0 0 12px 12px;
  display: block;
  width: 100%;
  height: auto;
}
#poreczeniastart .new-row a:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.35);
}
#poreczeniastart .new-row a:hover strong::after {
  right: 15px;
}
#poreczeniastart .new-row a:hover strong:before {
  right: 27px;
}
/* ----------------RESPONSIVE---------------- */
@media handheld and (max-width: 1024px), screen and (max-width: 1024px) {
  .rmp-container {
    height: calc(100vh - 84px) !important;
    top: 84px !important;
  }
  .rmp-menu-item-link {
    box-sizing: border-box;
  }
  h1 {
    font-size: 38px;
    line-height: 48px;
  }
  #left-navigation,
  #search-wrap {
    display: none;
  }
  #klucz .text-row {
    padding-left: 8vw;
  }
  #klucz:before {
    width: 63vw;
    height: 44vw;
  }
  #klucz .rowimg {
    width: 60vw;
    height: 40vw;
  }
  .res {
    width: 90%;
  }
  .paddingin_right {
    margin-right: 20px;
  }
  .paddingin_left {
    margin-left: 20px;
  }
  .posts-wrap .post-box a img {
    width: 100%;
    height: auto;
  }
  .post-content .post-thumb {
    flex: 0 0 250px;
  }
  .post-content .post-thumb img {
    width: 100%;
    height: auto;
  }
}
@media handheld and (max-width: 800px), screen and (max-width: 800px) {
  .redback {
    padding: 40px 50px;
  }
  .flex,
  #conaswyroznia .text-row {
    display: block;
  }
  #header .flex {
    display: flex;
  }
  .panel {
    margin-bottom: 20px;
  }
  .panel > div {
    overflow: hidden;
  }
  #conaswyroznia img {
    float: left;
    margin-right: 40px;
  }
  .posts-wrap {
    display: block;
  }
  .posts-wrap .post-box {
    padding: 30px 30px 30px 00px;
  }
  .posts-wrap .post-box a {
    display: flex;
  }
  .posts-wrap .post-box a .posttext {
    flex: 1;
  }
  .posts-wrap .post-box a .posttext .wiecej-news {
    bottom: auto;
    margin-top: 20px;
    position: relative;
  }
  .posts-wrap .post-box a img {
    flex: 0 0 30vw;
    height: auto;
  }
  #fundusze .text-row {
    display: block;
  }
  .post-content {
    display: block;
  }
  .post-content .post-thumb {
    padding-left: 0;
  }
  .wp-block-embed {
    margin: 0;
  }
  #archive .post-box {
    padding: 0px 30px 80px 30px;
    flex: 0 0 46%;
  }
  #archive .post-box a {
    display: block;
  }
}
@media handheld and (max-width: 640px), screen and (max-width: 640px) {
  .paddingin_right {
    margin-right: 0;
  }
  .paddingin_left {
    margin-left: 0px;
  }
  .padding_top {
    padding-top: 40px;
  }
  .padding_bottom {
    padding-bottom: 40px;
  }
  .backblue,
  .backred {
    padding-left: 10px;
    padding-right: 10px;
  }
  .dwiekolumny {
    column-count: 1;
  }
  .pliki,
  .powiazane {
    margin-top: 20px;
    padding: 25px 25px 5px 25px;
    display: block;
  }
  .pliki .plikiwrap,
  .powiazane .plikiwrap {
    padding-left: 0;
  }
  #archive {
    display: block;
  }
  .searchrex {
    padding-top: 40px;
  }
  #post {
    margin-bottom: 40px;
  }
  h1 {
    font-size: 34px;
    line-height: 38px;
  }
  h2 {
    font-size: 32px;
    line-height: 38px;
  }
  h4 {
    font-size: 18px;
    line-height: 24px;
  }
  .text-row {
    display: block;
  }
  .res {
    padding: 0;
  }
  #klucz {
    padding-top: 40px;
    padding-bottom: 60vw;
    min-height: auto;
  }
  #klucz .paddingin_right {
    padding-right: 20px;
  }
  #klucz:before {
    width: 93vw;
    height: 67vw;
  }
  #klucz .rowimg {
    width: 90vw;
    height: 60vw;
  }
  #zakres ul {
    display: block;
  }
  #zakres ul li {
    margin-bottom: 20px;
  }
  #conaswyroznia img {
    float: none;
    margin-right: 0;
  }
  .redback {
    padding: 40px 20px;
  }
  #naszewartosci {
    padding-top: 70px;
  }
  #naszewartosci .text .brak {
    padding-bottom: 40px;
  }
  .posts-wrap .post-box {
    padding: 0 20px 40px 20px;
  }
  .posts-wrap .post-box a {
    display: block;
  }
  #socials {
    padding-top: 100px;
    padding-left: 0;
  }
  #searchpagewrap #searchresults h3 {
    font-size: 22px;
    line-height: 28px;
  }
  #searchpagewrap #searchresults .searchentry {
    display: block;
  }
  #searchpagewrap #searchresults .searchentry .searchthumb {
    padding-left: 0;
  }
  #searchpagewrap #searchresults .searchentry .searchthumb img {
    width: 100%;
    height: auto;
  }
}
