.kingster-page-title-wrap {
   background-image: url('/images/naglowek_podstrona.jpg');
}

.boxy-wrapper {
    margin-top: -100px!important;
    margin-bottom: 40px!important;
}

.promo {
    background: url('/images/tlo_promo.jpg');
    background-size: cover;
    background-position: center center;
    padding: 60px 150px;
    margin: 40px 0px;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.promo h2 {
    font-size: 31px;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: none;
    color: #51be78;
}

.promo p {
    font-size: 19px;
    font-weight: 500;
    text-transform: none;
    color: #ffffff;
}

.promo a {
    color: #ffffff;
}

#div_1dd7_49 {
    background-image: url('/images/tlo_linki.jpg');
    background-size: cover;
    background-position: center;
}

a.szybki_link {
    color: #3db166;
    font-size: 16px!important;
    text-transform: none;
    font-weight: 600;
    line-height: 1.2;
}

.anuluj_pb {
    padding-top: 0px!important;
    padding-bottom: 15px!important;
}

.szybki_link_h3 {
    margin: 0px!important;
    padding: 0px!important;
    line-height: 18px!important;
}

.linki a {
    color: #3db166;
}

.error {
    color: #e81717;
}

@media(max-width: 800px) {
    .promo {
        padding: 20px;
    }
}

/* SCROLL TO TOP */
#myBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #3db166;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

/* POPUP */

/* Modal container */
#popup-container {
  width: 45%;
  height: auto;
  min-height: 30%;
  margin: 0 auto;
  margin-top: 8%;
  position: fixed;
  left: 28%;
  z-index: 999;
  top: 0;

  background: #ffffff;
  border: 0px solid #2b2019;
  box-shadow: 2px 2px 4px black;
}

.modal-content {
  position: relative;
  text-align: center;
}

#popup-window { position: relative; }

.modal-content h1,
.modal-content p { color: #fff; }

.modal-content p { padding: 20% 5% 0 5%; }

/* Close button */
#popup-container a.close {
  position: relative;
  float: right;
  top: -15px;
  right: -7px;
  z-index: 99;
  font-weight: bold;
  font-size: 16px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  padding: 2px 6px 4px 6px;
  line-height: 1em;
  text-align: center;
  background: #141619;
  border: 4px solid #fff;
  cursor: pointer;
  color:#fff;
}

.splash-bg {
  padding: 40px 20px;
}

@media (max-width: 800px) {
  #popup-container {
    width: 90%;
    left: 2%;
  }
}

.close {
    opacity: 1;
}

.kategoria_nazwa {
    position: absolute;
    padding: 20px;
    background-color: #163269;
    bottom: 10%;
    z-index: 4;
    color: #ffffff;
}

.kategoria_nazwa a {
    color: #ffffff;
}


.kingster-page-caption span {
    color: #ffffff;
}

.kingster-page-caption a {
    color: #3db166;
}

.eupopup-container-bottomright {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 300px;
}

.eupopup-container a {
    color: #f6a21d;
}




/* ==========================================
   RESPONSYWNA TABELA .ceny
   ========================================== */

/* Style bazowe dla tabeli */
.table.ceny {
    width: 100%;
    border-collapse: collapse;
}

.table.ceny td,
.table.ceny th {
    padding: 12px 10px;
    vertical-align: middle;
}

.table.ceny tr:first-child td,
.table.ceny thead tr td,
.table.ceny thead tr th {
    background-color: #163269;
    color: #ffffff;
    font-weight: bold;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 767px) {
    /* Ukryj nagłówek tabeli */
    .table.ceny thead {
        display: none;
    }

    .table.ceny tbody tr:first-child {
        display: none;
    }

    /* Przekształć tabelę w bloki */
    .table.ceny,
    .table.ceny tbody,
    .table.ceny tr,
    .table.ceny td {
        display: block;
        width: 100%;
    }

    .table.ceny tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .table.ceny td {
        text-align: left !important;
        padding: 12px 15px;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 45%;
        min-height: 45px;
        box-sizing: border-box;
    }

    .table.ceny td:last-child {
        border-bottom: none;
    }

    /* Etykiety przed każdą komórką */
    .table.ceny td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 12px;
        width: 40%;
        padding-right: 10px;
        font-weight: bold;
        color: #5a3733;
        text-align: left;
        white-space: nowrap;
    }

    /* Stylizacja dla pierwszej komórki (LP) */
    .table.ceny td:first-child {
        background-color: #163269;
        color: #ffffff;
        font-weight: bold;
        padding-left: 15px;
        text-align: center !important;
        font-size: 1.1em;
    }

    .table.ceny td:first-child::before {
        display: none;
    }

    /* Etykiety dla kolumn - fallback CSS bez data-label */
    .table.ceny td:nth-child(2)::before {
        content: "Imię i nazwisko:";
    }

    .table.ceny td:nth-child(3)::before {
        content: "Stanowisko:";
    }

    .table.ceny td:nth-child(4)::before {
        content: "Kontakt:";
    }

    /* Jeśli tabela ma więcej kolumn */
    .table.ceny td:nth-child(5)::before {
        content: "Info:";
    }

    .table.ceny td:nth-child(6)::before {
        content: "Dodatkowe:";
    }

    /* Linki w tabeli */
    .table.ceny td a {
        word-break: break-all;
    }

    /* Resetuj style dla pustych komórek lub LP */
    .table.ceny td:first-child strong,
    .table.ceny td:first-child b {
        color: #ffffff;
    }
}

/* Dodatkowe style dla bardzo małych ekranów */
@media (max-width: 480px) {
    .table.ceny td {
        padding-left: 15px;
        padding-top: 35px;
    }

    .table.ceny td::before {
        position: relative;
        display: block;
        left: 0;
        top: 0;
        width: 100%;
        margin-bottom: 5px;
        padding-right: 0;
    }

    .table.ceny td:first-child {
        padding-top: 12px;
    }

    .table.ceny tr {
        margin-bottom: 15px;
    }
}
