/* 
    Theme Name: Niko-theme
    Version:    1.0.35
    Created on: 2023-05-23, 12:55
    Author:     Nikograf - Patryk Siuta
    Author URI: http://www.nikoraf.pl
    E-mail:     kontakt@nikograf.pl
*/
:root {
  --white: #fff;
  --black: #000;
  --dark-grey: #353b3b;
  --grey: #787878;
  --light-grey: #ababab;
  --light-grey-2: #f5f5f5;
  --green: #b2cc00;
  --red: #FF2222;
  --container: 1280;
}
.bottom-shadow {
  -webkit-box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
  -moz-box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
  box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
}
.transition {
  transition: all 0.4s;
}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
/*------------------------------------------------------------ */
/* =Reset
-------------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
html {
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll;
  /* Keeps page centred in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
  background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: separate;
  border-spacing: 0;
}
caption,
th,
td {
  font-weight: normal;
  text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
  outline: 0;
}
a img {
  border: 0;
}
/* właściwe style strony */
strong {
  font-weight: 700;
}
html,
body {
  min-height: 100%;
}
html,
body,
ol,
ul,
li,
p,
img {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}
html {
  background: var(--white);
}
body {
  position: relative;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
  background-color: var(--light-grey-2);
  border: none;
  line-height: 20px;
  font-size: 16px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  box-sizing: border-box;
  padding: 15px;
  font-family: 'Montserrat', sans-serif;
}
input:focus-visible {
  outline-color: var(--green);
}
input[type="submit"] {
  border: 0;
  background-color: var(--green);
  line-height: 50px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  padding: 0 30px;
  font-family: 'Yeseva One', cursive;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  top: 0;
  transition: all 0.4s;
}
input[type="submit"]:hover {
  top: -5px;
  -webkit-box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
  -moz-box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
  box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
}
textarea {
  background-color: var(--light-grey-2);
  border: none;
  line-height: 25px;
  font-size: 16px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  box-sizing: border-box;
  padding: 15px;
  font-family: 'Montserrat', sans-serif;
}
textarea:focus-visible {
  outline-color: var(--green);
}
h1,
.h1,
h2,
.h2,
h3,
.h3 {
  font-family: 'Yeseva One', cursive;
}
header,
section,
footer {
  position: relative;
  z-index: 1;
}
p {
  background-color: #FFF;
  padding-right: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
p a {
  color: var(--green);
  word-wrap: break-word;
}
header.site-header {
  display: flex;
  align-items: center;
}
nav ul {
  display: flex;
}
nav ul li a {
  color: var(--dark-grey);
  font-size: 14px;
  position: relative;
  text-decoration: none;
  display: block;
  padding: 8px 20px;
  -webkit-border-radius: 17px;
  -moz-border-radius: 17px;
  border-radius: 17px;
  transition: all 0.4s;
}
nav ul li a:hover {
  background-color: var(--green);
}
nav ul li.current-menu-item > a,
nav ul li.current-page-ancestor > a {
  background-color: var(--green);
}
section {
  color: var(--dark-grey);
}
section.main-page,
section.page {
  font-size: 16px;
}
section.main-page h1 {
  font-size: 36px;
  margin-bottom: 80px;
  position: relative;
  padding: 30px 30px 0 30px;
  z-index: 1;
  display: block;
}
section.main-page h1:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  height: 50px;
  width: 100%;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  left: 0;
  background-color: var(--green);
  z-index: -1;
}
section.main-page .main-txt-box {
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
}
section.main-page .main-txt-box p {
  line-height: 35px;
  padding-left: 30px;
}
section.page {
  display: flex;
  flex-flow: column;
  height: 100%;
  justify-content: center;
}
section.page p {
  line-height: 30px;
  margin-bottom: 15px;
}
section.page > div {
  height: 100%;
}
section.page h2 {
  font-size: 36px;
}
section.page .post-thumbnail img,
section.page .wp-block-image img {
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
}
section.page .wp-block-gallery .wp-block-image img {
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}
section.page .lightbox-image-container img {
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
}
section.page .post-thumbnail {
  margin-bottom: 50px;
  position: relative;
}
section.page .post-thumbnail img {
  display: block;
  object-fit: cover;
  height: auto;
}
section.page .post-thumbnail h1,
section.page .post-thumbnail h2 {
  padding: 0 40px;
  position: absolute;
}
section.page .post-thumbnail h1 {
  background-color: var(--green);
  line-height: 70px;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
}
section.page .post-thumbnail h1:after {
  display: none;
}
section.page .post-thumbnail h2 {
  background-color: var(--red);
  color: white;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}
section.page .sale-details {
  text-align: center;
  font-family: 'Yeseva One', cursive;
  color: var(--dark-grey);
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section.page .sale-details span {
  display: block;
  position: relative;
}
section.page .sale-details span:after {
  content: "";
  display: block;
  background-color: var(--dark-grey);
  position: absolute;
}
section.page .sale-details a {
  text-decoration: none;
  color: var(--green);
  transition: all 0.4s;
}
section.page .sale-details a:hover {
  color: var(--dark-grey);
}
section.page form label {
  min-width: 150px;
  display: inline-block;
}
section.page ul.for-sale {
  display: flex;
  margin-top: 40px;
  flex-wrap: wrap;
}
section.page ul.for-sale li {
  overflow: hidden;
  margin-bottom: 20px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}
section.page ul.for-sale li:nth-child(3n) {
  margin-right: 0;
}
section.page ul.for-sale li img {
  width: 100%;
  height: auto;
  transition: all 0.4s;
  position: relative;
  z-index: 10;
  aspect-ratio: 2 / 1.3;
  object-fit: cover;
}
section.page ul.for-sale li a {
  position: relative;
  display: block;
}
section.page ul.for-sale li h2 {
  background-color: var(--green);
  color: var(--dark-grey);
  display: block;
  width: fit-content;
  text-decoration: none;
  z-index: 12;
  position: absolute;
  bottom: 20px;
  left: 10px;
  padding: 0 15px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  transition: all 0.4s;
}
section.page ul.for-sale li:hover img {
  transform: scale(1.1) rotate(2deg);
}
section.page ul.for-sale li:hover h2 {
  left: 20px;
}
section.error-404 {
  padding-top: 60px;
}
section.error-404 h1 {
  color: var(--dark-grey);
  font-size: 360px;
}
section.error-404 span {
  font-size: 40px;
}
footer {
  width: 100%;
  display: flex;
  font-size: 12px;
  box-sizing: border-box;
}
footer > div:last-of-type a {
  display: inline-block;
  width: 70px;
  height: 16px;
  margin-left: 10px;
  background-image: url(images/logo_niko_mini.png);
  background-repeat: no-repeat;
  background-position: top center;
  transition: all 0.4s;
}
footer > div:last-of-type a:hover {
  background-position: bottom center;
}
.grecaptcha-badge {
  visibility: collapse !important;
}
.main-page-slider img {
  width: 100%;
  height: auto;
}
.contact-form .wpcf7-form-control-wrap {
  display: inline-block;
}
.contact-form textarea {
  display: inline-block;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
  display: inline-block;
}
#niko-map {
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
}
@media only screen and (min-width: 992px) and (max-width: 1480px) {
  .container {
    max-width: 1280px;
  }
  section.main-page h1 span {
    font-size: 80px;
  }
}
@media only screen and (min-width: 1481px) {
  .container {
    max-width: 1500px;
  }
  section.main-page h1 span {
    font-size: 100px;
  }
}
@media only screen and (min-width: 992px) {
  body:before {
    content: '';
    background-color: var(--dark-grey);
    display: block;
    min-width: 380px;
    height: calc(100% - 45px);
    position: absolute;
    top: 0;
    right: 0;
    -webkit-border-bottom-left-radius: 35px;
    -moz-border-radius-bottomleft: 35px;
    border-bottom-left-radius: 35px;
  }
  header.site-header {
    height: 100px;
    padding-left: 50px;
    padding-right: 50px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    z-index: 100;
  }
  header.site-header > div.site-header_lang {
    min-width: 205px;
    position: relative;
    height: 33px;
  }
  header.site-header svg {
    display: none;
  }
  ul.lang-switcher {
    width: 56px;
    min-height: 33px;
    right: 0;
    top: 0;
    position: absolute;
  }
  ul.lang-switcher li {
    width: inherit;
    transition: all 0.4s;
  }
  ul.lang-switcher li:not(.current-lang) {
    display: none;
  }
  ul.lang-switcher li a {
    display: block;
    padding: 10px 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: inherit;
    box-sizing: border-box;
  }
  ul.lang-switcher:hover {
    background-color: #FFF;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  ul.lang-switcher:hover li {
    display: block;
  }
  ul.lang-switcher:hover li:hover a {
    background-color: var(--green);
  }
  nav ul.sub-menu,
  nav ul.children {
    flex-direction: row;
    display: none;
    opacity: 0;
    padding: 15px;
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: var(--white);
    transform: translateX(-50%);
    flex-direction: column;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
    -moz-box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
    box-shadow: 0px 4px 24px -14px rgba(121, 121, 121, 0.7);
    transition: all 0.4s;
  }
  nav ul.sub-menu li,
  nav ul.children li {
    white-space: nowrap;
    margin-bottom: 5px;
  }
  nav ul li {
    margin: 0 2px;
  }
  nav ul li.menu-item-has-children {
    position: relative;
  }
  nav ul li.menu-item-has-children:after {
    content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3C!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cpath d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/%3E%3C/svg%3E');
    display: block;
    position: absolute;
    top: 12px;
    right: 10px;
    width: 10px;
  }
  nav ul li.menu-item-has-children svg {
    fill: var(--green);
  }
  nav ul li.menu-item-has-children > a {
    padding-right: 30px;
  }
  nav ul li.menu-item-has-children:hover ul.sub-menu {
    opacity: 1;
    display: flex;
  }
  section {
    padding-bottom: 0;
    min-height: calc(100vh - 145px);
  }
  section.main-page {
    display: flex;
    align-items: center;
  }
  section.main-page + footer {
    position: relative;
  }
  section.main-page + footer:before,
  section.main-page + footer:after {
    content: "";
    height: 100%;
    width: 45px;
    top: 0;
    right: 0;
    display: block;
    position: absolute;
  }
  section.main-page + footer:before {
    background-color: var(--dark-grey);
  }
  section.main-page + footer:after {
    background-color: var(--white);
    -webkit-border-top-right-radius: 35px;
    -moz-border-radius-topright: 35px;
    border-top-right-radius: 35px;
  }
  section.page {
    padding-top: 40px;
    box-sizing: border-box;
  }
  section.page .contact-left p {
    width: 100%;
  }
  section.page form span {
    display: block;
  }
  section.page form input[type=text],
  section.page form input[type=email],
  section.page form input[type=tel],
  section.page form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
  }
  section.page form textarea {
    width: 420px;
  }
  section.page h1 {
    font-size: 36px;
  }
  section.page .post-thumbnail img {
    width: calc(100% - 100px);
    margin-left: auto;
    aspect-ratio: 2 / 1.1;
  }
  section.page .post-thumbnail h1 {
    left: 0;
    bottom: 50px;
    width: fit-content;
    max-width: calc(100% - 100px);
  }
  section.page .post-thumbnail h2 {
    font-size: 30px;
    line-height: 60px;
    bottom: 140px;
  }
  section.page ul.for-sale {
    flex-direction: row;
  }
  section.page ul.for-sale li {
    width: calc((100% - 20px) / 3);
    margin-right: 10px;
  }
  section.page ul.for-sale li h2 {
    font-size: 27px;
    line-height: 45px;
  }
  section.page .sale-details {
    flex-direction: row;
    font-size: 27px;
  }
  section.page .sale-details span {
    margin-right: 60px;
  }
  section.page .sale-details span:after {
    width: 2px;
    height: 100%;
    right: -30px;
    top: 0;
  }
  section.error-404 h1 {
    font-size: 170px;
    margin: 1rem 0;
  }
  section.error-404 span {
    font-size: 25px;
  }
  section.container {
    margin: 0 auto;
  }
  footer {
    padding-left: 50px;
    padding-right: 50px;
    height: 45px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
}
@media screen and (max-width: 991px) {
  h1,
  .h1 {
    font-size: 27px;
  }
  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"] {
    display: block;
    width: 100%;
  }
  .contact-form textarea {
    width: 100%;
    display: block;
  }
  header {
    padding: 10px;
    justify-content: space-between;
    z-index: 10;
  }
  header.site-header {
    background-color: var(--white);
    -webkit-box-shadow: 0px 0px 8px 2px rgba(53, 59, 59, 0.15);
    -moz-box-shadow: 0px 0px 8px 2px rgba(53, 59, 59, 0.15);
    box-shadow: 0px 0px 8px 2px rgba(53, 59, 59, 0.15);
    position: relative;
  }
  header.site-header > div:first-of-type {
    order: 0;
  }
  header.site-header > div:first-of-type img {
    width: 160px;
    height: auto;
  }
  header.site-header > div:last-of-type {
    order: 1;
  }
  header.site-header > div:nth-child(2) {
    order: 2;
  }
  header.site-header > div.site-header_lang ul {
    display: flex;
  }
  header.site-header > div.site-header_lang ul li {
    padding: 10px;
  }
  header.site-header > div.site-header_lang ul li.current-lang {
    background-color: var(--green);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
  }
  header.site-header > div.site-header_lang ul li:not(:last-of-type) {
    margin-right: 5px;
  }
  header.site-header svg {
    fill: var(--green);
    width: 30px;
    height: auto;
  }
  header.site-header svg.menu-open {
    display: block;
  }
  header.site-header svg.menu-close {
    display: none;
  }
  nav {
    display: none;
    position: absolute;
    width: fit-content;
    max-width: 90%;
    right: 5px;
    top: 85px;
    background-color: rgba(255, 255, 255, 0.9);
    height: auto;
    padding: 10px;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(53, 59, 59, 0.15);
    -moz-box-shadow: 0px 0px 8px 2px rgba(53, 59, 59, 0.15);
    box-shadow: 0px 0px 8px 2px rgba(53, 59, 59, 0.15);
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
  }
  nav ul {
    flex-direction: column;
    justify-content: end;
  }
  nav ul li {
    text-align: right;
  }
  nav ul li a {
    width: fit-content;
    margin-left: auto;
    font-size: 18px;
  }
  nav ul.sub-menu {
    padding-right: 15px;
    margin-bottom: 10px;
  }
  section {
    width: 100%;
    min-height: calc(100vh - 156px);
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
  }
  section.main-page h1 {
    margin-bottom: 55px;
  }
  section.main-page h1 span {
    font-size: 70px;
    line-height: 62px;
  }
  section.main-page h1:after {
    bottom: -23px;
  }
  section.page {
    margin-top: 35px;
  }
  section.page .post-thumbnail img {
    width: 100%;
    aspect-ratio: 2 / 1.3;
  }
  section.page .post-thumbnail h1,
  section.page .post-thumbnail h2 {
    box-sizing: border-box;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px;
  }
  section.page .post-thumbnail h1 {
    bottom: -20px;
    font-size: 23px;
    width: 95%;
    line-height: 34px;
    margin-bottom: 0;
  }
  section.page .post-thumbnail h2 {
    top: -15px;
    font-size: 20px;
    width: fit-content;
    white-space: nowrap;
  }
  section.page .sale-details {
    flex-direction: column;
    font-size: 23px;
  }
  section.page .sale-details span {
    margin-bottom: 40px;
  }
  section.page .sale-details span:after {
    height: 2px;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }
  section.page ul.for-sale {
    flex-direction: column;
  }
  section.page ul.for-sale li {
    width: 100%;
  }
  section.page ul.for-sale li h2 {
    font-size: 23px;
    line-height: 40px;
  }
  .container {
    width: 100%;
  }
  footer {
    border-top: 1px dotted var(--light-grey);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
    padding-top: 5px;
  }
  footer div {
    width: fit-content;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
  }
  #niko-map {
    height: 500px;
    margin-bottom: 40px;
  }
  #niko-map > div {
    height: 500px;
  }
}
/*# sourceMappingURL=style.css.map */