/*
Theme Name: Szablon główny
Author: webizon.pl
Author URI: webizon.pl
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

html :where(img[class*=wp-image-]) {
  height: auto!important;
  max-width: 100%;
  margin: auto!important;
  overflow: hidden;
  display: block;
}

* {
  box-sizing: border-box;
}

:root {
  --basic-font-color: #000;
  --hover-color: #a87d28;
  --hover-background: #263865;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  line-height: 1.6;
  background-color: #fff;
  margin:0;
}

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

h2 {
  font-size: 3.125rem;
}

a {
  color: var(--hover-color);
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

header#mainhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding > a {
  padding: 1rem 0;
}

.site-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.site-branding > a > svg {
  max-width: 128px;
  height: auto;
  display: block;
  max-height: 70px;
}

.site-branding > a > svg > image {
  max-width: 128px;
    height: auto;
}

.main-navigation ul  {
  padding-left: 0;
  margin: auto;
}

.site-nav button.mobile-menu {
  display: none;
}

.main-navigation ul {
  margin-bottom: 0;
}

.main-navigation {
  position: relative;
}

.main-navigation a {
  color: #000;
  font-weight: bold;
  font-size: 16px;
}

/* primary menu */
#primary-menu hr {
  display: inline-block;
  margin: 0;
  width: 1px;
  height: 30px;
  border: 0;
  border-left: 1px solid #bbb;
  margin-bottom: 0;
  z-index: -1;
}

ul#primary-menu {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1rem;
  justify-content: flex-end;
  gap: 3rem;
}

ul#primary-menu > li {
  width: auto;
  text-align: center;
  background-image: none;
  position: relative;
}

#primary-menu > li > a {
  padding: 0.75rem 0.5rem 0.35rem;
  display: block;
  width: 100%;
  line-height: 1em;
  text-decoration: none!important;
  text-transform: uppercase;
}

#primary-menu .current-menu-item > a , #primary-menu a:hover {
  /*color: #fff;
  background-color: var(--hover-color);*/
}

ul#primary-menu > li.current-lang > a {
  color: #a97f29;
}

.move_bg {
  display: inline-block;
  position: absolute;
  top: 0;
  background-image: linear-gradient( to right, rgb(240 220 131), rgb(168 125 40) );
  z-index: -1;
  transition: all 0.5s cubic-bezier(.18,.89,.32,1.28);
  border-radius: 15px;
}

.wp-block-image.home-top-img {
  margin-bottom: 5rem;
}


.home-top-img a {
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  font-size: 1.25rem;
  display: inline-block;
  margin-top: 2rem;
  border: 3px solid #a87d28;
  padding: 1rem 3rem;
  border-radius: 25px;
}

.wp-block-cover, .wp-block-cover-image {
 
}

.home-grid-products .wp-block-cover__image-background {
  max-width: 276px;
  height: auto;
  display: block;
}

.home-grid-products .wp-block-cover.is-light {
  position: relative;
  min-height: 296px;
}

.home-grid-products .wp-block-cover__inner-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.home-grid-products .wp-block-cover__inner-container > p {
  margin-bottom: 2.5rem;
    margin-top: 2.5rem;
}
.home-top-img figure.aligncenter.size-full {
  position: relative;
}

.home-top-img figcaption.wp-element-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 0px 5px #000, 0px 0px 15px #000, 0px 0px 25px #000;
}

.home-top-img figcaption.wp-element-caption br {
  display: none;
}

.home-top-img figcaption.wp-element-caption strong {
  max-width: 1000px;
  font-size: 2.5rem;
}

.home-top-img a {
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  font-size: 1.25rem;
  line-height: 1.1em;
  display: inline-block;
  margin-top: 2rem;
  border: 3px solid #a87d28;
  padding: 1rem 3rem;
  border-radius: 25px;
}

.home-top-img a:hover {
  background: rgb(169 127 42 / 78%);
  box-shadow: 0px 8px 35px -7px #000;
  border-color: #efda81;
}

.finished-products-box {
  background: #263866;
  color: #fff;
  padding: 2rem 2rem;
  border-radius: 30px;
  font-size: .875rem;
  z-index: 1;
  position: relative;
  transform: translateX(5%);
  margin-right: -26%;
  margin-top: 2rem;
  line-height: 1.2em;
}

.finished-products-box .wp-block-columns {
  gap: .5rem;
}

.finished-products-box .wp-block-columns .wp-block-column {
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.finished-products-box p.has-text-align-center {
  min-height: 2.099rem;
}

/* footer menu */

footer .current-menu-item > a , footer a:hover {
  color: var(--hover-color);
}

footer .menu > li {
  width: 100%;
  text-align: center;
}

footer .menu li > a {
  padding: 1rem;
  display: block;
  width: 100%;
}

/* page or single - header */

header.entry-header.container {
  min-height: 290px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 100%;
  max-width: 1458px;
  color: #fff;
  margin-bottom: 5rem;
}

h1.entry-title {
  font-size: 3.5rem;
  text-shadow: 0px 0px 5px #000, 0px 0px 15px #000;
}

/* footer */
footer {
  /* background-color: #263866; */
  background: url('assets/img/footer_bg_min.jpg') 50% 50% no-repeat;
  background-size: cover;
  color: #ffffff;
  margin-top: 5rem;
  display: block;
  overflow: hidden;
}
.footer-container {
  display: block;
  overflow: hidden;
}

.footer-container a {
  color: #fff;
}
.footer-container a:hover{
  color: var(--hover-color);
  text-decoration: none;
}

.footer-copy.footer-container {
  padding: 1rem 0;
  border-top: 1px solid rgb(255 255 255 / 15%);
  margin-top: 1rem;
  display: block;
  overflow: hidden;
}

.footer-copy.footer-container > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer svg {
  max-height: 55px;
}

footer p {
  line-height: 1.3em;
  max-width: 450px;
}

a.credits-link img {
  filter: invert(1);
}

/* helpers */

.pt-0 {
  padding-top: 0!important;
}

.pr-0 {
  padding-right: 0!important;
}

.pb-0 {
  padding-bottom: 0!important;
}

.pb-3 {
  padding-bottom: 3rem!important;
}

.pl-0 {
  padding-left: 0!important;
}

.mt-0 {
  margin-top: 0!important;
}

.mt-1 {
  margin-top: 1rem!important;
}

.mt-2 {
  margin-top: 2rem!important;
}

.mb-0 {
  margin-bottom: 0!important;
}

.mb-1 {
  margin-bottom: 1rem!important;
}

.mb-2 {
  margin-bottom: 2rem!important;
}

.mb-3 {
  margin-bottom: 3rem!important;
}

.mb-4 {
  margin-bottom: 4rem!important;
}

.mb-5 {
  margin-bottom: 5rem!important;
}

.lh-22 {
  line-height: 22px;
}

.gap-1 {
  gap: 1em;
}

.bb {
  border-bottom: 1px solid;
}

.br {
  border-right: 1px solid;
}

.bl {
  border-left: 1px solid;
}

.page-header-cover .wp-block-cover__inner-container,
.container,
.wp-block-uagb-image-gallery,
.footer-container,
.wp-block-gallery,
.wp-block-columns {
  max-width: 1200px;
  margin: auto;
}

.entry-content .alignwide {
  margin-left  : -80px;
  margin-right : -80px;
}
.entry-content .alignfull {
  margin-left  : calc( -100vw / 2 + 100% / 2 );
  margin-right : calc( -100vw / 2 + 100% / 2 );
  max-width    : 100vw;
}
.alignfull img {
  width: 100vw;
}

hr , .wp-block-separator {
  border: 1px solid;
  border-bottom: none;
  border-left: none;
  border-right: none;
}

.menu > ul , ul.menu {
  padding: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* mobile */
@media screen and (max-width: 767px) {
	h1, h2 {
    font-size: 2.5rem;
  }
	.site-header {
    padding-left: 1rem;
    padding-right: 1rem;
    flex-direction: column;
    align-items: stretch!important;
    gap: 0!important;
  }
	.main-navigation,.short-top-menu {
	  display: none;
	}
	.footer-container > div {
    	flex-direction: column;
		    align-items: center;
	}

	.footer-navigation {
		display: none;
	}

	.footer-container > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) {
    display: flex;
    align-items: center;
    flex-direction: column;
	}

	.hidden-xs {
		display: hidden;
	}

	.site-nav button.mobile-menu {
    display: block;
    width: 42px;
    height: 42px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 2rem;
    right: 1rem;
  }

	.site-nav button.mobile-menu span {
	  display: block;
	  position: absolute;
	  height: 3px;
	  width: 100%;
	  background: #333;
	  opacity: 1;
	  left: 0;
	  transform: rotate(0deg);
	  transition: all 0.25s ease-in-out;
	}

	.mobile-menu span:nth-child(1) {
	  top: 8px;
	}

	.mobile-menu span:nth-child(2),
	.mobile-menu span:nth-child(3) {
	  top: 21px;
	}

	.mobile-menu span:nth-child(3) {
	  top: 34px;
	}

	.mobile-menu.active span:nth-child(1) {
	  top: 18px;
	  transform: rotate(45deg);
	}

	.mobile-menu.active span:nth-child(2) {
	  opacity: 0;
	}

	.mobile-menu.active span:nth-child(3) {
	  top: 18px;
	  transform: rotate(-45deg);
	}


  .main-navigation {
    display: none;
  }

  nav#site-navigation > div {
    width: 100%;
  }

  .main-navigation.active {
    display: flex;    
    z-index: 1;
  }

  ul#primary-menu {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 2rem;
    justify-content: space-between;
    gap: 0rem;
    flex-wrap: wrap;
    flex-direction: row;
    background: transparent;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  ul#primary-menu > li {
    width: auto;
    text-align: center;
    background-image: none;
    position: relative;
    width: 100%;
    display: block;
  }

  #primary-menu > li > a {
    padding: 1rem 1rem;
    display: block;
    width: 100%;
    line-height: 1em;
    text-decoration: none!important;
    text-transform: uppercase;
  }

  #primary-menu hr {
    display: inline-block;
    margin: 0;
    width: 100%;
    height: 1px;
    border: 0;
    border-top: 1px solid #bbb;
    margin-bottom: 0;
    z-index: -1;
    margin: 0.75rem 0rem;
  }

  .main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 10000;
  }

  .main-navigation li {
    display: inline-block;
  }

  .main-navigation li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
    font-size: 22px;
  }


  .main-navigation li a::after {
    display: none;
    }

  .main-navigation li a br {
    content: "";
  }
  .main-navigation li a br:after {
    content: " ";
  }

  .main-navigation li a:hover {
    background-color: #eee;
  }


  .main-navigation li.current-menu-item a {
    color: var(--hover-color);
  }

  .w-100.uagb-slider-container h1 {
    line-height: 1.1;
	}

	.homebaner-buttons.wp-block-columns {
		left: 30px;
		right: 30px;
	}
	.uagb-slider-container.w-100 .swiper-pagination {
		left: 30px;
	}

	.site-logo {
		max-width: 230px;
		width: 100%;
		padding: 15px 0;
	}

  .wp-block-image.home-top-img {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
  }

  .home-top-img figcaption.wp-element-caption {
    padding: 1rem 2rem;
  }

  .home-top-img figure.aligncenter.size-full {
    position: relative;
    width: 100%;
    padding-top: 100%;
  }

  .wp-block-image.home-top-img img {
    position: absolute;
    top: 0;
    right: 0;
    left: 50%;
    bottom: 0;
    width: auto;
    height: 100%!important;
    margin: auto!important;
    max-width: unset!important;
    transform: translateX(-50%);
  }

  .home-top-img figcaption.wp-element-caption strong {
    max-width: 100%;
    font-size: 1.25rem;
  }

  .finished-products-box {
    transform: translateX(0);
    margin-right: auto;
  }

  .entry-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-container {
    padding: 1rem;
    text-align: center;
  }

  .finished-products-box p {
    font-size: 1.2rem;
    line-height: 1.2em;
    max-width: 170px;
    margin-left: auto;
    margin-right: auto;
  }

  .finished-products-box .wp-block-columns .wp-block-column {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    flex-basis: 45%!important;
  }

  a.credits-link img {
    filter: invert(1);
    transform: scale(.75);
  }

  .footer-copy.footer-container > div > div:nth-of-type(2) {
    margin-top: 1rem;
  }

  header.entry-header.container {
    margin-bottom: 3rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 30px;
    width: calc(100% - 2rem);
  }

  .entry-content {
    font-size: 1.2rem;
  }

  h1.entry-title {
    font-size: 2.25rem;
  }

  ul#primary-menu > li.lang-item {
    width: auto;
  }

  header#mainhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 9999;
    background: rgb(255 255 255 / 90%);
    background: linear-gradient(0deg, #ededed, rgb(255 255 255 / 90%));
    box-shadow: 0px 20px 35px -27px #000;
    border-radius: 0 0 30px 30px;
  }

  body {
    padding-top: 125px;
  }

}

@keyframes pulsate {
    0%   { box-shadow: 0 0 0 #ff8e37; }
    50%  { box-shadow: 0 0 18px #ff8e37; }
    100% { box-shadow: 0 0 0 #ff8e37; }
}

@keyframes appearlightbox {
    0%   { transform: scale(0.1);
            left: 100%;
            opacity: 0;
            filter: blur(100px);
          }
    50%  {  left: -30%;
            transform: scale(.2);
            filter: blur(100px);
    }
    100% { transform: scale(1);
            left: 0;
            opacity: 1 }
}

@keyframes appearcheck {
    0%   { transform: scale(0.1);

          }
    50%  {
            transform: scale(1.3);
            box-shadow: -7px 7px 17px 0px #00000033 inset;
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 #00000033 inset;
          }
}
