/*
 * M.A.R.S. Elementor – style widżetów.
 * Część 1: reguły przeniesione z motywu "Logistic" (te same klasy co w oryginale).
 */
.gmaps-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}
.ozy-icon {
  overflow: hidden !important;
  -webkit-transition: box-shadow 0.2s;
  -moz-transition: box-shadow 0.2s;
  transition: box-shadow 0.2s;
}
.ozy-icon.align-center {
  display: block !important;
  text-align: center;
  margin: 0 auto;
}
.ozy-icon.large {
  font-size: 32px !important;
  width: 80px;
  height: 80px;
  line-height: 78px;
}
.ozy-icon.xxlarge {
  font-size: 64px !important;
  width: 180px;
  height: 180px;
  line-height: 187px;
}
.ozy-icon.xxxlarge {
  font-size: 128px !important;
  width: 256px;
  height: 256px;
  line-height: 283px;
}
.ozy-icon.square,
.ozy-icon.circle,
.ozy-icon.circle2 {
  text-align: center;
  margin-bottom: 0.5em;
  display: inline-block;
  overflow: visible;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}
.ozy-icon.square {
  padding: 6px;
  background: #686868;
  color: #fff;
}
.ozy-icon.circle {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  padding: 6px;
  background: #686868;
  color: #fff;
}
.ozy-icon.circle2 {
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
  padding: 4px;
  border: 2px solid #686868;
  color: #686868;
}
a > .ozy-icon {
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  opacity: 1;
}
.ozy-content-divider {
  clear: both;
}
.ozy-divider-cap-center {
  clear: both;
}
.ozy-content-divider {
  position: relative;
  border-top: 1px solid #dedede;
  border-bottom: none;
  border-left: none;
  border-right: none;
}
.ozy-content-divider legend {
  font-weight: 400;
  font-size: 140%;
}
.ozy-content-divider legend.dcenter {
  padding: 0 18px 0 18px;
}
h1.ozy-divider-cap-center,
h2.ozy-divider-cap-center,
h3.ozy-divider-cap-center,
h4.ozy-divider-cap-center,
h5.ozy-divider-cap-center,
h6.ozy-divider-cap-center {
  text-align: center;
}
.title-with-icon-wrapper .title-with-icon span {
  -webkit-transition: box-shadow 0.2s;
  -moz-transition: box-shadow 0.2s;
  transition: box-shadow 0.2s;
}
.title-with-icon-wrapper > .title-with-icon {
  margin-bottom: 0 !important;
}
.title-with-icon-wrapper > .left-cs.title-with-icon-content.medium {
  padding-left: 65px;
}
.title-with-icon-wrapper > .left-cs.title-with-icon-content.large {
  padding-left: 95px;
}
.title-with-icon-wrapper > .left-cs.title-with-icon-content.xxlarge {
  padding-left: 195px;
}
.title-with-icon-wrapper > .left-cs.title-with-icon-content.xxxlarge {
  padding-left: 271px;
}
.title-with-icon-wrapper.clear > .left-cs.title-with-icon-content.medium {
  padding-left: 65px;
}
.title-with-icon-wrapper.clear > .left-cs.title-with-icon-content.large {
  padding-left: 56px;
}
.title-with-icon-wrapper.clear > .left-cs.title-with-icon-content.xxlarge {
  padding-left: 106px;
}
.title-with-icon-wrapper.clear > .left-cs.title-with-icon-content.xxxlarge {
  padding-left: 145px;
}
.title-with-icon {
  display: table !important;
  cursor: default;
}
.title-with-icon.top-style {
  text-align: center !important;
  width: 100%;
}
.title-with-icon > h1,
.title-with-icon > h2,
.title-with-icon > h3,
.title-with-icon > h4,
.title-with-icon > h5,
.title-with-icon > h6 {
  display: table-cell;
  vertical-align: middle !important;
  border-left: 15px solid transparent;
}
.title-with-icon > h1 > a,
.title-with-icon > h2 > a,
.title-with-icon > h3 > a,
.title-with-icon > h4 > a,
.title-with-icon > h5 > a,
.title-with-icon > h6 > a {
  text-decoration: none;
}
.title-with-icon.top-style > h1,
.title-with-icon.top-style > h2,
.title-with-icon.top-style > h3,
.title-with-icon.top-style > h4,
.title-with-icon.top-style > h5,
.title-with-icon.top-style > h6 {
  display: block !important;
  float: none !important;
  border-left: none !important;
}
.title-with-icon.top-style > span:after,
.title-with-icon.top-style > a > span:after {
  display: table !important;
  clear: both !important;
  content: "" !important;
}
.title-with-icon.top-style > span,
.title-with-icon.top-style > a > span {
  margin-right: 0px !important;
  float: none !important;
  display: block !important;
  margin: 0 auto 20px auto !important;
  text-decoration: none !important;
}
.title-with-icon.top-style > a {
  text-decoration: none !important;
}
.title-with-icon > span.medium,
.title-with-icon > span.large,
.title-with-icon > span.xxlarge,
.title-with-icon > span.xxxlarge,
.title-with-icon > a > span.medium,
.title-with-icon > a > span.large,
.title-with-icon > a > span.xxlarge,
.title-with-icon > a > span.xxxlarge {
  width: 50px;
  height: 50px;
  line-height: 56px !important;
  font-size: 16px !important;
  text-align: center;
  display: inline-block !important;
  background-image: none !important;
  text-decoration: none !important;
}
.title-with-icon > span.large,
.title-with-icon > a > span.large {
  width: 80px;
  height: 80px;
  line-height: 90px !important;
  font-size: 32px !important;
}
.title-with-icon > span.xxlarge,
.title-with-icon > a > span.xxlarge {
  width: 180px;
  height: 180px;
  line-height: 200px !important;
  font-size: 64px !important;
}
.title-with-icon > span.xxxlarge,
.title-with-icon > a > span.xxxlarge {
  width: 256px;
  height: 256px;
  line-height: 294px !important;
  font-size: 128px !important;
}
.title-with-icon > span.large.clear,
.title-with-icon > a > span.large.clear {
  width: 40px !important;
  height: 40px !important;
  line-height: 55px !important;
  margin-bottom: 0 !important;
}
.title-with-icon > span.xxlarge.clear,
.title-with-icon > a > span.xxlarge.clear {
  width: 90px !important;
  height: 90px !important;
  line-height: 90px !important;
  margin-bottom: 0 !important;
}
.title-with-icon > span.xxxlarge.clear,
.title-with-icon > a > span.xxxlarge.clear {
  width: 128px !important;
  height: 128px !important;
  line-height: 128px !important;
  margin-bottom: 0 !important;
}
.title-with-icon > span.circle,
.title-with-icon > a > span.circle {
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.title-with-icon > span.clear,
.title-with-icon > a > span.clear {
  background-color: transparent !important;
  border-bottom: none !important;
}
.title-with-icon > span.rectangle,
.title-with-icon > span.circle {
  overflow: hidden;
}
.title-with-icon > a > span.circle,
.title-with-icon > span.circle {
  border: 1px solid #dedede;
}
.ozy-counter > .timer {
  font-size: 57px;
  font-weight: bold;
  line-height: 57px;
  text-align: center;
}
.ozy-counter > span {
  display: block;
  font-size: 13px;
  text-align: center;
}
.ozy-counter > .hr {
  display: block;
  margin: 20px auto;
  width: 30px;
  height: 1px;
  background-color: #000;
}
.row-botton-button {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
  width: 60px;
  height: 60px;
  font-size: 32px !important;
  line-height: 60px !important;
  text-align: center;
  font-weight: 700;
}
.ozy-floating-box {
  position: relative;
}
.ozy-floating-box > div {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
}
.ozy-tlt {
  overflow: hidden;
}
.ozy-simlple-info-box {
  position: relative;
  background-size: cover !important;
  border-radius: 4px;
  transform-origin: top center;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  margin-left: 10px;
  margin-right: 10px;
}
.ozy-simlple-info-box:hover {
  margin-top: -20px;
}
.ozy-simlple-info-box > section {
  width: 100%;
  height: 100%;
  padding: 10px 30px 80px 30px;
  background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0, rgba(0, 0, 0, 0.75) 3%, rgba(0, 0, 0, 0) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0, rgba(0, 0, 0, 0.75) 3%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0, rgba(0, 0, 0, 0.75) 3%, rgba(0, 0, 0, 0) 100%);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  border-radius: 4px;
}
.ozy-simlple-info-box > section > a {
  position: absolute;
  bottom: 20px;
  display: inline-block;
  border: 1px solid #fff;
  padding: 6px 18px;
  font-size: 11px !important;
  border-radius: 220px;
  text-decoration: none;
}
.ozy-simlple-info-box h1,
.ozy-simlple-info-box h2,
.ozy-simlple-info-box h3,
.ozy-simlple-info-box h4,
.ozy-simlple-info-box h5,
.ozy-simlple-info-box h6 {
  line-height: 1.1em !important;
}
@media only screen and (max-width: 1024px) and (min-width: 769px) {
  .ozy-icon {
    margin-bottom: 20px !important;
  }
}
@media only screen and (max-width: 768px) and (min-width: 480px) {
  .ozy-icon {
    margin-bottom: 20px !important;
  }
}
@media only screen and (max-width: 479px) {
  .ozy-icon {
    margin-bottom: 20px !important;
  }
  .title-with-icon-wrapper.clear > .left-cs.title-with-icon-content.xxlarge {
    padding-left: 0;
  }
}
.animation {
  -webkit-animation: infinite;
  -moz-animation: infinite;
  animation: infinite;
}
.animated {
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
  }
}
@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
  }
}
@-o-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -o-transform: translateY(0);
  }
  40% {
    -o-transform: translateY(-30px);
  }
  60% {
    -o-transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
.bounce {
  -webkit-animation-name: bounce;
  -moz-animation-name: bounce;
  -o-animation-name: bounce;
  animation-name: bounce;
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fadeIn {
  -webkit-animation-name: fadeIn;
  -moz-animation-name: fadeIn;
  -o-animation-name: fadeIn;
  animation-name: fadeIn;
}
@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-moz-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-o-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.fadeOut {
  -webkit-animation-name: fadeOut;
  -moz-animation-name: fadeOut;
  -o-animation-name: fadeOut;
  animation-name: fadeOut;
}
.ozy-icon.circle {
  background-color: #000000;
}
.ozy-icon.circle2 {
  color: #000000;
  border-color: #000000;
}
a:hover > .ozy-icon.square,
a:hover > .ozy-icon.circle {
  background-color: transparent !important;
  color: #000000;
}
a:hover > .ozy-icon.circle2 {
  color: #000000;
  border-color: transparent !important;
}
.ozy-simlple-info-box h2 {
  font-size: 26px;
}

/*
 * Część 2: uzupełnienia dla Elementora.
 */

/* Ikony z biblioteki „Ikony Logistic” wstawione w dowolnym widżecie Elementora. */
.mars-ico:before {
  font-style: normal;
  font-weight: normal;
}

/* Odstęp pod elementami jak w oryginale (wpb_content_element: 35px). */
.mars-counter,
.mars-icon-title {
  margin-bottom: 35px;
}
.mars-icon-title--top {
  margin-bottom: 0;
}
.mars-icon-title > .title-with-icon {
  margin-bottom: 0;
}
.mars-icon-title .title-with-icon > .mars-title {
  margin: 6px 0;
}
.mars-icon-title.top-cs,
.title-with-icon-wrapper > .top-cs.title-with-icon-content {
  text-align: center;
}

/* Info box. */
.mars-info-box {
  background-position: center center;
  background-repeat: no-repeat;
}
.mars-info-box > section {
  position: relative;
  box-sizing: border-box;
}
.mars-info-box h5,
.mars-info-box h2 {
  margin: 6px 0;
  line-height: 1.1em;
}
.mars-info-box h5 {
  font-size: 16px;
  font-weight: 600;
}
.mars-info-box h2 {
  font-weight: 700;
}
.mars-info-box p {
  margin: 0;
  padding: 7px 0;
}
.mars-info-box__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Licznik. */
.mars-counter > .timer {
  font-family: inherit;
}

/* Animowany tekst. */
.mars-animated-text {
  display: block;
  width: 100%;
  font-size: 60px;
  font-weight: 300;
  line-height: 70px;
  margin: 0;
}
.mars-animated-text .mars-tlt-current {
  display: inline-block;
}
.mars-animated-text .mars-tlt-word,
.mars-animated-text .mars-tlt-char {
  display: inline-block;
}
.mars-animated-text .mars-tlt-char.mars-tlt-hidden {
  visibility: hidden;
}
@media only screen and (max-width: 479px) {
  .mars-animated-text {
    font-size: 26px;
    line-height: 32px;
  }
}

/* Mapa. */
.mars-google-map-wrap {
  position: relative;
}
.mars-google-map {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
}

/* Przycisk przewijania – przypięty do dołu sekcji, na środku. */
.elementor-widget-mars-scroll-button.mars-scroll-button--pinned-yes {
  position: absolute !important;
  left: 50%;
  bottom: 0;
  width: 60px !important;
  max-width: 60px;
  margin-left: -30px;
  z-index: 3;
}
.elementor-widget-mars-scroll-button .row-botton-button {
  position: relative;
  left: auto;
  bottom: auto;
  margin: 0 auto;
  font-size: 32px;
  line-height: 60px !important;
  text-decoration: none !important;
}
.elementor-widget-mars-scroll-button .row-botton-button svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}
.elementor-editor-active .elementor-widget-mars-scroll-button .row-botton-button.animation {
  animation-iteration-count: infinite;
}
.row-botton-button.animation {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

/* Formularz CF7 – wygląd „panel” (białe pola na ciemnym tle, jak w Strefie klienta). */
.mars-cf7--panel .wpcf7 textarea {
  color: #000 !important;
  font-weight: bold;
  padding: 15px;
  background-color: #fff;
}
.mars-cf7--panel .wpcf7 input:not([type="submit"]) {
  color: #000 !important;
  font-weight: bold;
  padding-left: 10px !important;
  background-color: #fff;
}
/* Kontener o stałej wysokości (Układ → M.A.R.S. – układ). */
.e-con.mars-lock-height-yes {
  height: var(--min-height);
  overflow: visible;
}

/* Dolny margines do 920 px (Zaawansowane → M.A.R.S. – odstępy). */
@media (max-width: 920px) {
  .elementor .elementor-element.mars-mb920-yes {
    margin-bottom: var(--mars-mb920, 35px) !important;
  }
}

/* Kolumny jedna pod drugą poniżej 768 px (Układ → M.A.R.S. – układ). */
@media (max-width: 767px) {
  .elementor .e-con.mars-stack767-yes {
    --flex-direction: column !important;
    --gap: 0px !important;
    --row-gap: 0px !important;
    --column-gap: 0px !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .elementor .e-con.mars-stack767-yes > .e-con {
    --width: 100%;
    width: 100% !important;
  }
}

/* Lista wyboru w oryginale ma zwykłą grubość i brak wcięcia. */
.mars-cf7--panel .wpcf7 select {
  color: #000 !important;
  font-weight: normal;
  padding-left: 0 !important;
  background-color: #fff;
}
.mars-cf7--panel .wpcf7 input.wpcf7-submit {
  color: #fff !important;
  font-weight: bold;
  padding: 15px 30px 15px 30px !important;
  width: auto !important;
}

/* Efekty tła kontenera: tło ukryte do załadowania strony, potem płynnie się pojawia (JS). */
.mars-bg-fadein:not(.mars-bg-shown) > .elementor-background-slideshow,
.mars-bg-fadein:not(.mars-bg-shown) > .elementor-background-video-container {
  opacity: 0;
}

/* Animacje wejścia/wyjścia dla „Animowanego tekstu” (animate.css). */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { 0% { opacity: 0; transform: translateX(20px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes fadeOutUp { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } }
@keyframes fadeOutDown { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(20px); } }
@keyframes fadeOutLeft { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-20px); } }
@keyframes fadeOutRight { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(20px); } }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(0.3); } 50% { opacity: 1; transform: scale(1.05); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }
@keyframes bounceOut { 0% { transform: scale(1); } 25% { transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(0.3); } }
@keyframes flipInX { 0% { transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { transform: perspective(400px) rotateX(-10deg); } 70% { transform: perspective(400px) rotateX(10deg); } 100% { transform: perspective(400px) rotateX(0deg); opacity: 1; } }
@keyframes flipOutX { 0% { transform: perspective(400px) rotateX(0deg); opacity: 1; } 100% { transform: perspective(400px) rotateX(90deg); opacity: 0; } }
@keyframes zoomIn { 0% { opacity: 0; transform: scale(0.3); } 50% { opacity: 1; } }
@keyframes zoomOut { 0% { opacity: 1; } 50% { opacity: 0; transform: scale(0.3); } 100% { opacity: 0; } }
.fadeInUp { animation-name: fadeInUp; }
.fadeInDown { animation-name: fadeInDown; }
.fadeInLeft { animation-name: fadeInLeft; }
.fadeInRight { animation-name: fadeInRight; }
.fadeOutUp { animation-name: fadeOutUp; }
.fadeOutDown { animation-name: fadeOutDown; }
.fadeOutLeft { animation-name: fadeOutLeft; }
.fadeOutRight { animation-name: fadeOutRight; }
.bounceIn { animation-name: bounceIn; }
.bounceOut { animation-name: bounceOut; }
.flipInX { animation-name: flipInX; backface-visibility: visible !important; }
.flipOutX { animation-name: flipOutX; backface-visibility: visible !important; }
.zoomIn { animation-name: zoomIn; }
.zoomOut { animation-name: zoomOut; }

@media (prefers-reduced-motion: reduce) {
  .row-botton-button.animation {
    animation: none;
  }
}

/* Czas animacji jak w animate.css z oryginału (Elementor ustawia .animated na 1,25 s). */
.row-botton-button.animated,
.mars-animated-text .animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
