/* HEADER ZMIANA */
.problemy-header1 {
  position: relative;
  z-index: 15;
  opacity: 1;
  transition: opacity 2s !important;
}

@media (min-width: 768px) {
  .problemy-header1 {
    min-width: 768px !important;
  }
}

.problemy-header1.deactive {
  z-index: 0 !important;
  opacity: 0;
  transition: opacity 2s !important;
}

.dotacje-header1 {
  position: relative;
  z-index: 0 !important;
  opacity: 0;
  transition: opacity 2s !important;
}

@media (min-width: 768px) {
  .dotacje-header1 {
    min-width: 768px !important;
  }
}

.dotacje-header1.active {
  z-index: 15 !important;
  opacity: 1;
  transition: opacity 2s !important;
}


.dotacje-header2 {
  position: relative;
  z-index: 0 !important;
  opacity: 0;
  transition: opacity 2s !important;
}

.dotacje-header2.active {
  z-index: 16 !important;
  opacity: 1;
  transition: opacity 2s !important;
}

.dotacje-header3{
  position: relative;
  z-index: 0 !important;
  opacity: 0;
  transition: opacity 2s !important;
}

.dotacje-header3.active {
  z-index: 14 !important;
  opacity: 1;
  transition: opacity 2s !important;
}







.scroll-to-top {
  /* inset: auto 30px 30px auto !important; */
  position: fixed !important;
  z-index: 1000 !important;
  opacity: 0 !important;
  /* display: none; */
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.scroll-to-top.show {
  display: block;
  opacity: 1 !important;
  z-index: 1000 !important;
}


/* Tabularyczne numery dla ralewaya */
* {
  -webkit-font-feature-settings: "lnum", "tnum";
  -moz-font-feature-settings: "lnum", "tnum";
  font-feature-settings: "lnum", "tnum";
}


/* === Baseline alignment for all text elements in Elementor === */
.nobreak {
  white-space: nowrap;
  overflow: visible;
  word-break: keep-all;
}


/* * { */
/* line-height: 1.2 !important; */
/* vertical-align: baseline !important; to knocilo obrazki */
/* box-sizing: border-box; */
/* } */

/* Opcjonalnie – tylko dla tekstów w Elementorze */
.elementor-widget-text-editor,
.elementor-heading-title {
  /* line-height: 1.2 !important; */
  vertical-align: baseline !important;
}

/* Dla ikon i inline elementów przy tekście */
.elementor i,
.elementor svg {
  vertical-align: baseline !important;
}

/* Zapewnia, że elementy flexowe trzymają wspólną linię bazową */
.elementor-widget-container {
  /* display: flex; */
  align-items: baseline;
}




/* NEW-MAIN */
.elementor-icon-wrapper {
  line-height: 0 !important;
}

/* PRZYCISKI */
.elementor-button{
  box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.5) !important;
  /* box-shadow: none !important; */
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3) !important;
}

.elementor-button:hover{
  box-shadow: none !important;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3) !important;
}

.elementor-button:active{
  box-shadow: inset 0px 2px 2px 1px rgba(0, 0, 0, 0.5) !important;
}




/* WP FORMS */
.wpforms-confirmation-container-full{
  background: #CBA557 !important;
  border: none !important;
  /* color: #f1f1f1 !important; */
}

div.wpforms-container-full .wpforms-confirmation-container-full p,div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) p {
    color: #f1f1f1 !important;
}

.mailcheck-error{
  display: none !important;
}


/* NEWSLETTER */
#wpforms-form-4848 {
  display: flex !important;
  width: 100% !important;
  gap: 8px !important;
  align-items: center !important;
}

/* Pole newslettera */
#wpforms-4848-field_1 {
  padding: 0px 0px 0px 8px !important;
  flex: 1 !important;
  box-sizing: border-box !important;
}

#wpforms-4848-field_1-container{
  padding: 0 0 0 0 !important;
}

/* Przycisk newslettera */
#wpforms-submit-4848 {
  /* padding: 6px 56px 6px 36px !important; */
  box-sizing: border-box !important;
  background-color: #182434 !important; 
}

.wpforms-submit-container {
  margin: 0px !important;
}




/* TNP */
/* NEWSLETTER */
.newsletter-custom{
  height: 60px !important;
}


.tnp-subscription form {
  display: flex;
  align-items: center;
  justify-content: center; /* opcjonalnie – możesz zmienić na 'flex-start' */
  gap: 10px; /* odstęp między polem a przyciskiem */
  padding: 0px 0px 0px 0px !important;
}

/* Pole newslettera */
.tnp-subscription input[type="email"] {
  font-family: 'Raleway', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400;
  /* width: 640px !important; */
  line-height: 16px;
  color: #182434 !important;
  margin: 0 !important;
  /* padding-bottom: 5px !important; */
  box-shadow: inset 0px 2px 2px 1px rgba(0, 0, 0, 0.5) !important;
  height: 40px !important;
}

/* Przycisk newslettera */
.tnp-subscription input[type="submit"] {
  /* padding: 6px 56px 6px 36px !important; */
   background-image: url("https://ambiznes.pl/wp-content/uploads/2025/09/koperta1.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 22px center !important; /* prawa strona przycisku */
  background-size: 20px auto !important; /* rozmiar ikonki */
  /* padding-right: 52px !important; zwiększamy padding żeby tekst nie nachodził */
  /* background: none !important; */
  background-color: #182434 !important; 
  color: #F9F9F9 !important;
  font-family: 'Raleway', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 12px 56px 12px 24px !important;
  border: 0px solid var(--e-global-color-primary) !important;
  border-radius: 2px !important;
  box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 1.5px !important;
}

.tnp-subscription input[type="submit"]:hover,
.tnp-subscription input[type="submit"]:focus,
.tnp-subscription input[type="submit"]:active {
  box-shadow: none !important;
  outline: none; /* usuwa niebieską ramkę po kliknięciu */
}


.tnp-subscription{
  color: #f9f9f9 !important;
}



/* KONTAKT */
div.wpforms-container-full .wpforms-field-label, 
.wp-core-ui div.wpforms-container-full .wpforms-field-label {
  font-family: 'Raleway', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400;
  /* width: 640px !important; */
  line-height: 24px;
  color: #F9F9F9 !important;
  margin: 0 !important;
  padding-bottom: 5px !important;
}


.wpforms-form input[type=submit],
.wpforms-form button[type=submit] {
  background-image: url("https://ambiznes.pl/wp-content/uploads/2025/09/koperta1.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 26px center !important; /* prawa strona przycisku */
  background-size: 20px auto !important; /* rozmiar ikonki */
  /* padding-right: 52px !important; zwiększamy padding żeby tekst nie nachodził */


  /* background: none !important; */
  background-color: #A41F60 !important; 
  color: #F9F9F9 !important;
  font-family: 'Raleway', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 16px 66px 28px 34px !important;
  border: 0px solid var(--e-global-color-primary) !important;
  border-radius: 2px !important;
  box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 1.5px !important;
}

.wpforms-container-full:not(:empty) {
  margin: 0 !important;
}


div.wpforms-container-full input[type=submit]:hover, 
div.wpforms-container-full input[type=submit]:active, 
div.wpforms-container-full button[type=submit]:hover, 
div.wpforms-container-full button[type=submit]:active, 
div.wpforms-container-full .wpforms-page-button:hover, 
div.wpforms-container-full .wpforms-page-button:active, 
.wp-core-ui div.wpforms-container-full input[type=submit]:hover, 
.wp-core-ui div.wpforms-container-full input[type=submit]:active, 
.wp-core-ui div.wpforms-container-full button[type=submit]:hover, 
.wp-core-ui div.wpforms-container-full button[type=submit]:active, 
.wp-core-ui div.wpforms-container-full .wpforms-page-button:hover, 
.wp-core-ui div.wpforms-container-full .wpforms-page-button:active{
  /* background-image: url("http://ambiznes.pl/wp-content/uploads/2025/09/koperta1.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important; 
  background-size: 20px auto !important; */
  /* padding-right: 56px !important; */

  background-color: #A41F60 !important; 
  box-shadow: none !important;
  border: 0px solid var(--e-global-color-primary) !important;
  color: #F9F9F9 !important;
}

.wpforms-form .wpforms-field.wpforms-field-textarea textarea,
.wpforms-container input.wpforms-field-large, 
.wpforms-container select.wpforms-field-large, 
.wpforms-container 
.wpforms-field-row.wpforms-field-large { 
  box-shadow: inset 0px 2px 2px 1px rgba(0, 0, 0, 0.5) !important;
  height: 40px !important;
}

.wpforms-field{
  padding-top: 0px !important;
  padding-bottom: 10px !important;
}

.wpforms-form .wpforms-field.wpforms-field-textarea textarea{
  height: 120px !important;
}



/* .elementor-shape-top:nth-of-type(1) svg path,
.elementor-shape-top:nth-of-type(2) svg path,
.elementor-shape-top:nth-of-type(3) svg path,
.elementor-shape-top:nth-of-type(4) svg path {
  stroke: white;
  stroke-width: 2px;
} */

/* a img {
  border: none;
  text-decoration: none !important;
  box-shadow: none !important;
} */



/* .single-post .elementor-widget-container {
  display: block !important;
} */

/* @media (max-width: 1024px) {
  .elementor-shape svg {
    width: 100% !important;
    max-width: 100vw !important;
    display: block;
    overflow: hidden;
    transform: none !important;
  }
} */


/* * {
  outline: 1px solid red !important;
} */
/* 
html, body {
  overflow-x: hidden;
  overflow-y: hidden;
} */

/* @media (max-width: 1024px) {
  * {
    overflow-x: hidden !important;
  }
} */

/* @media (max-width: 1024px) {
  .elementor-nav-menu--dropdown {
    max-width: 100vw !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
  }
} */


/* Ukrywa overflow na elementach sticky */
/* .elementor-sticky--active {
  overflow-x: hidden !important;
  max-width: 100vw !important;
} */

/* Ogranicza szerokość SVG separatora */
/* .elementor-shape svg {
  width: 100% !important;
  max-width: 100vw !important;
  display: block;
  overflow: hidden;
} */



/* .elementor-element-3189de2{
  min-height: 261px !important;
} */


/* NIE PAMIĘTAM CO TO, WYŁĄCZYŁEM 12.08 */
/* .elementor-element-d81d195,
.elementor-element-ae04cfe,
.elementor-element-6e774e8,
.elementor-element-44a2d8b{
  text-align: center !important;
} */


/* WIDEO */
/* .elementor-open-inline{
  width: 680px !important;
  height: 340px !important;
} */




/* .problemy, .dotacje {
  transition: all 1s ease-in-out !important;
}

.problemy {
  opacity: 1;
  transform: translateY(0%);
  z-index: 2;
}

.dotacje {
  opacity: 0;
  transform: translateY(-5%);
  z-index: 1;
}

.dotacje.active {
  opacity: 1;
  transform: translateY(0%);
  z-index: 2;
}

.problemy.hidden {
  opacity: 0;
  transform: translateY(-5%);
  z-index: 1;
} */








