/* CSS Document */
.text-right { text-align: right; }

.right-images .image-wrapper { max-height: 196px; overflow: hidden;}
.lightbox-gallery .image-wrapper-big { max-height: 608px; overflow: hidden; }

/* --- TŁO MODALA --- */
/* TŁO */
.modal-form {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
}

.listing-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 20px;
}

.boxcar-heading-title { font-size: 25px !important; }

.no-top-padding { padding-block-start: 0px !important; }

.slogan { position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -100px;
}
.slogan.slogan-to-right { transform: translateX(-50%); left: 60%; }

/* OKNO MODALA WYŚRODKOWANE ABSOLUTNIE */
.modal-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 100%;
  max-width: 750px;
  max-height: 750px;

  background: #ededed url('../images/modal.jpg') top left no-repeat;
  border-radius: 20px;
  overflow: hidden;

  display: flex;
}

/* LEWA STRONA */
.modal-left {
  width: 65%;
  padding: 35px;
}

.modal-left h2 {
  color: #2594D0;
  font-size: 42px;
  margin-bottom: 10px;
}

.modal-left p {
  margin-bottom: 25px;
  margin-top: 25px;
  font-weight: bold;
  font-size: 22px;
  line-height: 28px;
}

.modal-left input.formInput,
.modal-left textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 25px;
  border: 1px solid black;
  font-size: 16px;
  background: transparent;
  color: black;
}

.modal-left input.formInput { text-align: center; font-size: 16px; }
.modal-left input.formInput::placeholder { color: black; font-size: 16px; }
.modal-left textarea::placeholder { color: black; font-size: 16px; }

.modal-left input.white.formInput { background: #ededed; }

.modal-left textarea {
  height: 110px;
  resize: none;
}

.checkbox span { 
    margin-top: -8px;
    display: block;
    float: left;
    width: 80%;
}

.checkbox input[type="checkbox"] {
  float: left;
  width: 20px;
  height: 20px;
  cursor: pointer;

  appearance: none;        /* usuwa domyślny wygląd */
  -webkit-appearance: none;
  -moz-appearance: none;

  border: 1px solid #000;
  border-radius: 0px;      /* opcjonalnie */
  background: transparent;
  margin-right: 10px;

  display: inline-block;
  position: relative;
  
}

/* ZAZNACZENIE (ptaszek) */
.checkbox input[type="checkbox"]:checked::after {
  content: "✔";
  font-size: 20px;
  position: absolute;
  top: -9px;
  left: 1px;
  color: black;
}

.send-btn {
  width: 150px;
  background: #2196f3;
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* PRAWA STRONA */
.modal-right {
  width: 50%;
  height: 100%;
}

.modal-right img {
  position: absolute; bottom: 25px; right: 50px;
}

/* PRZYCISK X */
.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 20;
}

/* ANIMACJA */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

.contact-buttons { display: none; }
.mobile-slider-arrow { display: none; }
.pictures-count-number { display: none; }
.hidden-desktop-omnitec { display: none !important; }
 .elementor-2387 .left-side-box .elementor-element.elementor-element-d8b2b5f { --border-radius: 16px 0px 0px 16px !important; }
 
 .elementor-4605 .elementor-element.elementor-element-4ebe3b1 .elementor-button {
    background-color: #00000000;
    font-size: 15px;
    font-weight: 500;
    fill: #008ACD !important;
    color: #008ACD !important;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #008ACD !important;
    border-radius: 6px 6px 6px 6px;
    padding: 18px 25px 18px 25px;
}

.elementor-4605 .elementor-element.elementor-element-4ebe3b1 .elementor-button:hover, .elementor-4605 .elementor-element.elementor-element-4ebe3b1 .elementor-button:focus {
    background-color: #008ACD !important;
    color: #FFFFFF !important;
    border-color: #008ACD !important;
}

@media (max-width: 992px) {
    .slogan { display: none !important; }
    .elementor-2387 .elementor-element.elementor-element-773c1bf {
        padding-bottom: 5px !important;
    }
    .hidden-mobile-omnitec { display: none !important; }
    .pictures-count-number { display: block; position: absolute; top: 10px; right: 10px; border-radius: 8px; padding: 5px; font-size: 14px; color: #fff; background: rgba(0,0,0,0.4); }
    .hidden-desktop-omnitec { display: block !important; }
    /* Ukryj miniaturki */
    .right-images .image-wrapper { display: none; }

    /* Pokazuj tylko pierwsze duże zdjęcie */
    .latest__popup__gallery .col-12:first-child {
        display: block !important;
    }

    /* Wrapper na strzałki */
    .mobile-slider-wrapper {
        position: relative;
    }

    /* Strzałki */
    .mobile-slider-arrow {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #fff;
        background: rgba(0,0,0,0.4);
        padding: 5px 15px;
        border-radius: 8px;
        z-index: 99;
        cursor: pointer;
        user-select: none;
    }

    .mobile-slider-arrow.left {
        left: 10px;
    }

    .mobile-slider-arrow.right {
        right: 10px;
    }

}

/* --- MOBILE --- */
@media(max-width: 992px) {
  .contact-buttons { display: block; background-color: white; width: 100%; position: fixed; bottom: 0px; left: 0px; z-index: 200; text-align: center; border-top: 1px solid #d4d4d4; }
  .contact-buttons .inner-contact { padding: 30px; }
  .contact-buttons .inner-contact a { border-radius: 6px; background-color: #008ACD; color: white; padding: 15px; max-width: 240px; width: 100%; }
  .contact-buttons .inner-contact a:first-child { margin-right: 15px; }
  .modal-inner {
    flex-direction: column;
    width: 90%;
    height: auto;
    max-height: 95vh;
    overflow-y: scroll;
    background-image: none;
    background-color: #ededed;
  }
  
  .modal-left h2 {
      font-size: 28px;
  }

  .modal-left,
  .modal-right {
    width: 100%;
  }

  .modal-right {
    display: none;
  }

  .modal-left {
    padding: 25px;
  }
}
