/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*

* Custom styles
*
* Reguły mają zwiększoną specyficzność przez prefiks `html body`,
* aby nadpisywały CSS generowany przez Elementor i dodatki.
  */

@font-face {
  font-family: "open-sans";
  src: url("/open-sans-condensed/light.eot");
  src:
    url("/open-sans-condensed/light.eot?#iefix") format("embedded-opentype"),
    url("/open-sans-condensed/light.woff") format("woff"),
    url("/open-sans-condensed/light.ttf") format("truetype"),
    url("/open-sans-condensed/light.svg#open-sans-condensed") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* =========================================================

* PRODUCT CARD
* ======================================================= */

html body .elementor-card-shadow-yes .elementor-post__card:hover {
  background-color: #fff !important;
}

/* =========================================================

* SIDEBAR MENU — ESSENTIAL ADDONS
* ======================================================= */

html body .eael-advanced-menu-container .eael-advanced-menu.eael-advanced-menu-vertical li>a {
  line-height: normal !important;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}

/*

* Zwiększona specyficzność tej reguły powoduje, że nadpisuje:
*
* .eael-advanced-menu-container
* .eael-advanced-menu
* .eael-advanced-menu-indicator
  */
html body .eael-advanced-menu-container .eael-advanced-menu .eael-advanced-menu-indicator {
  top: 6px !important;
  -webkit-transform: translateY(0) !important;
  -ms-transform: translateY(0) !important;
  transform: translateY(0) !important;
}

html body .eael-advanced-menu-container .eael-advanced-menu,
html body .eael-advanced-menu-container .eael-advanced-menu li ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .eael-advanced-menu-container .eael-advanced-menu.eael-advanced-menu-vertical li {
  position: relative;
}

.wpcf7 .wpcf7-submit {
  width: 100%;
  background-color: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
  color: #fff;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
  border-color: var(--e-global-color-primary);
}

.e-n-menu-item {
    font-family: "Open Sans Condensed", Sans-serif;
}



/* =========================================================

* MOBILE MENU — THE PLUS ADDONS
* ======================================================= */

html body .plus-navigation-wrap .plus-mobile-menu.plus-menu-off-canvas {
  width: calc(100% - 50px);
}

html body .plus-navigation-wrap .plus-mobile-menu.plus-menu-off-canvas.in {
  left: 0 !important;
}

html body .plus-mobile-menu.plus-menu-off-canvas .navbar-nav li a {
  line-height: normal !important;
}

html body .plus-navigation-wrap .plus-mobile-menu .navbar-nav li.dropdown>a::after {
  height: auto !important;
}

html body.elementor-20 .elementor-element.elementor-element-a7fab15 .plus-mobile-menu .navbar-nav>li>a,
html body .elementor-20 .elementor-element.elementor-element-a7fab15 .plus-mobile-menu .navbar-nav>li>a {
  padding-right: 30px !important;
}

/* =========================================================

* TABLET
* ======================================================= */

@media only screen and (max-width: 1024px) {
  html body .elementor-element .elementor-image-box-wrapper .elementor-image-box-img {
    display: none !important;
  }

  html body .plus-mobile-menu .navbar-nav li a {
    border-bottom: none !important;
    padding: 0 !important;
  }

  html body .plus-mobile-menu.plus-menu-off-canvas .navbar-nav li .dropdown-menu li a {
    height: auto !important;
    line-height: normal !important;
  }

  html body.elementor-655 .elementor-element.elementor-element-1e10ec2:not(.elementor-motion-effects-element-type-background),
  html body.elementor-655 .elementor-element.elementor-element-1e10ec2>.elementor-motion-effects-container>.elementor-motion-effects-layer,
  html body .elementor-655 .elementor-element.elementor-element-1e10ec2:not(.elementor-motion-effects-element-type-background),
  html body .elementor-655 .elementor-element.elementor-element-1e10ec2>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-color: #fff !important;
  }

  html body.elementor-655 .elementor-element .elementor-image-box-wrapper,
  html body .elementor-655 .elementor-element .elementor-image-box-wrapper {
    text-align: left !important;
  }
}

/* =========================================================

* PRODUCTS
* ======================================================= */

html body .elementor-posts .elementor-post__card .elementor-post__text {
  padding: 0 10px !important;
}

html body .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail.elementor-fit-height img,
html body .elementor-posts .elementor-post__card .elementor-post__thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html body .menu-sticky {
  position: sticky;
  top: 100px;
}

/* =========================================================

* MOBILE
* ======================================================= */

@media only screen and (max-width: 767px) {
  html body .menu-sticky {
    position: static;
    top: auto;
  }

  html body .custom-subcategories-wrapper .subcategory-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* =========================================================

* MAIN LAYOUT
* ======================================================= */

html body .elementor-section.elementor-section-boxed>.elementor-container {
  max-width: 1400px;

}

/* Obsługa nowszych kontenerów Elementora. */
html body .e-con.e-con-boxed>.e-con-inner {
  max-width: 1400px;
}

/* =========================================================

* CONTACT FORM 7
* ======================================================= */

html body .elementor-element .theplus-contact-form .wpcf7-form-control.wpcf7-acceptance {
  border: none !important;
}

html body .theplus-contact-form .input__checkbox_btn .toggle-button__icon::before {
  display: none !important;
}

/* =========================================================

* HEADER SEARCH
* ======================================================= */

html body .header-search-button .ekit-wid-con .elementskit-btn {
  width: 25px !important;
  padding: 0 !important;
  border: none !important;
  background-color: #fff !important;
}

html body .header-search-button .ekit-wid-con .elementskit-btn:hover,
html body .header-search-button .ekit-wid-con .elementskit-btn:focus {
  border: none !important;
  background-color: #fff !important;
}

html body .header-search-button .ekit-wid-con .elementskit-btn svg {
  width: 25px;
  max-width: 25px;
}

/* Lightweight replacement for the ElementsKit search popup. */
html body .wibro-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  color: #f57201;
  background: transparent;
  cursor: pointer;
}

html body .wibro-search-trigger:hover,
html body .wibro-search-trigger:focus-visible {
  color: #d95f00;
  background: transparent;
}

html body .wibro-search-trigger:focus-visible,
html body .wibro-search-dialog__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

html body .wibro-search-trigger svg,
html body .wibro-search-dialog__close svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
}

html body.wibro-search-dialog-open {
  overflow: hidden;
}

html body .wibro-search-dialog[hidden] {
  display: none;
}

html body .wibro-search-dialog {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(70px, 12vh, 140px) 20px 20px;
}

html body .wibro-search-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 55%);
}

html body .wibro-search-dialog__panel {
  position: relative;
  width: min(600px, 100%);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgb(0 0 0 / 25%);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

html body .wibro-search-dialog.is-open .wibro-search-dialog__panel {
  opacity: 1;
  transform: translateY(0);
}

html body .wibro-search-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e7e7e7;
}

html body .wibro-search-dialog__header h2 {
  margin: 0;
  color: #222;
  font-size: 24px;
  line-height: 1.2;
}

html body .wibro-search-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 3px;
  border: 0;
  color: #222;
  background: transparent;
  cursor: pointer;
}

html body .wibro-search-dialog__body {
  padding: 24px 20px 28px;
}

html body .wibro-search-dialog__body .is-search-form {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html body .wibro-search-dialog__panel {
    transition: none;
  }
}

/* =========================================================

* CUSTOM SUBCATEGORIES
* ======================================================= */

html body .custom-subcategories-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

html body .custom-subcategories-wrapper .subcategory-item {
  flex: 0 0 20%;
  max-width: 20%;
  padding: 10px;
}

html body .custom-subcategories-wrapper .subcategory-item a {
  display: block;
  background-color: #f7f7f7;
}

html body .custom-subcategories-wrapper .subcategory-item .image {
  text-align: center;
}

html body .custom-subcategories-wrapper .subcategory-item .image img {
  display: block;
  width: 100%;
  height: 150px;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
  object-position: center center;
}

html body .custom-subcategories-wrapper .subcategory-item .title h3 {
  padding: 10px 5px;
  font-size: 21px;
  text-align: center;
}

/* =========================================================

* CUSTOM SUBCATEGORIES — MOBILE
* Musi znajdować się po regule desktopowej.
* ======================================================= */

@media only screen and (max-width: 767px) {
  html body .custom-subcategories-wrapper .subcategory-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.elementor-widget-button .elementor-button {
    font-family: "Open Sans Condensed", Sans-serif!important;
}