.h1,
.h2,
.h3,
.h4,
body {
    color: #12203d;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#wrapper {
  flex: 1;
}

#wrapper {
    background: #fff;
}

#footer {
   border-top: 6px solid rgba(0, 0, 0, 0.2);
   background-color: rgba(122, 122, 122, 0.1);
}

#footer > div.footer-container > div > div:nth-child(3) > div > img {
    padding-bottom: 2vh;
    opacity: 0.7;
    display: none;
}

#footer > div.footer-container > div > div:nth-child(4) > div > p {
    margin-top: 1vh;
    opacity: 0.7;
}

@media (max-width:767px) {
    #footer > div.footer-container > div > div:nth-child(3) > div > img {
        padding-top: 2vh;
        width: 100%;
        display: none;
    }
}

/* footer {
    background-color: #2c457d;
} */

body#checkout #footer {
    background-color: rgba(122, 122, 122, 0.1);
}

#custom-text h2 {
    position: relative;
    color: #12203d;
}

#custom-text h2:before {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 16px);
    width: 100px;
    height: 2px;
    background: #12203d;
    content: '';
}

.product-miniature .thumbnail-container:focus .product-description::after,
.product-miniature .thumbnail-container:hover .product-description::after {
    display: none;
}

#category .block-category {
    min-height: auto;
}

.btn-pay {
    display: inline-block;
    padding: 30px 30px;
    /* Większa przestrzeń wokół tekstu */
    font-size: 18px;
    /* Powiększony tekst */
    font-weight: bold;
    color: #fff !important;
    /* Biały kolor czcionki */
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    border: none;
}

.btn-pay:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    transform: scale(1.05);
    /* Efekt powiększenia przy najechaniu */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-pay:active {
    transform: scale(0.98);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.box.messages {
    width: 100%;
    max-width: 900px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.box.messages h3 {
    color: #333;
    font-size: 22px;
}

.message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message .col-sm-4 {
    font-size: 12px;
    color: #555;
    font-weight: bold;
    min-width: 130px;
}

.message .col-sm-8 {
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    background: #bee5eb;
    color: #000;
}

.message.api .col-sm-8 {
    background: #007bff;
    color: #fff;
}

.message.automat .col-sm-8 {
    background: #535657;
    color: #fff;
}

.message:hover {
    transform: scale(1.02);
    transition: 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

#order-products a {
    color: #12203d;
}

.forgot-password a {
    color: #12203d;
}

.no-account a {
    color: #12203d;
}

.register-form a {
    color: #12203d;
}

footer .js-checkout-modal.in a,
footer .js-checkout-modal.in span,
footer .js-checkout-modal.in p,
footer .js-checkout-modal.in h1,
footer .js-checkout-modal.in h2,
footer .js-checkout-modal.in h3,
footer .js-checkout-modal.in h4,
footer .js-checkout-modal.in h5,
footer .js-checkout-modal.in li {
    color: #12203d !important;
}

footer .js-checkout-modal.in a,
footer .js-checkout-modal.in span,
footer .js-checkout-modal.in p,
footer .js-checkout-modal.in h1,
footer .js-checkout-modal.in h2,
footer .js-checkout-modal.in h3,
footer .js-checkout-modal.in h4,
footer .js-checkout-modal.in h5,
footer .js-checkout-modal.in li {
    color: #12203d !important;
}

form#customer-form label.required[for=field-customer_privacy],
form#customer-form label.required[for=field-psgdpr] {
    position: relative;
}

form#customer-form label.required[for=field-customer_privacy]::before,
form#customer-form label.required[for=field-psgdpr]::before {
    position: absolute;
    font-size: 14px;
    line-height: 14px;
    color: #f00;
    content: "*";
    right: -11px;
    bottom: -6px;
}

form#customer-form label.required[for=field-customer_privacy],
form#customer-form label.required[for=field-psgdpr] {
    position: relative;
}

form#customer-form label.required[for=field-customer_privacy]::before,
form#customer-form label.required[for=field-psgdpr]::before {
    position: absolute;
    font-size: 14px;
    line-height: 14px;
    color: #f00;
    content: "*";
    right: -11px;
    bottom: -6px;
}

.invoice-type-list label[for=field-invoice_type] {
    display: none;
}

#order-detail .definition-list dl dt {
    flex: 0 0 40%;
}

#order-detail .definition-list dl dd {
    flex: 0 0 55%;
}

.product-miniature .product-title {
    text-transform: none;
}

body#checkout #header .header-nav {
    padding: 0 0;
}

@media (max-width:767px) {
    .footer-container .links ul {
        margin-bottom: 0;
        background-color: rgb(246, 246, 246, 0.0)
    }
    #block_myaccount_infos {
        padding-top: 3vh;
    }
    #block_myaccount_infos .myaccount-title a, #header a, #wrapper .breadcrumb li a, .block-contact .block-contact-title, .block-contact .navbar-toggler .material-icons, .linklist .blockcms-title a {
        color: #ffffff;
    }
}

.pricing-table {
    margin: 0 auto 3vh;
    border-collapse: collapse;
    width: auto;
    font-family: sans-serif;
    color: #7a7a7a;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #7a7a7a;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 1vw;
    padding-bottom: 1vw;
    text-align: center;
    vertical-align: middle;
}

.terms-info {
    text-align: center;
    font-size: small;
    font-style: italic;
    line-height: 1.0;
    padding-bottom: 2vh;
    margin-top: -0.5vh;
}

.requirements {
padding-top: 0.8vh;
  padding-left: 3vh;
  color: #7a7a7a;
}

.requirement-list > li {
  margin-bottom: 2vh;
}

.requirement-list > li::marker {
  content: counter(list-item) ") ";
}

.requirement-list ol[type="a"] > li::marker {
  content: counter(list-item, lower-alpha) ") ";
}

.requirement-list ol {
  margin-top: 1vh;
}

.requirement-list li {
  text-align: justify;
}

.requirement-list ul {
  list-style-type: disc;
  margin-left: 1vw;
}

@media (max-width:767px) {
    h3.terms-attachment {
        text-align: right;
        font-size: x-small;
        padding-bottom: 0;
        padding-left: 10%;
    }

    h1.terms-title {
        font-size: large;
        padding-bottom: 0;
    }

    table.terms-definition.sub {
        margin-top: 1vh;
        margin-left: 4vw;
        margin-bottom: 3vh;
        text-align: left;
        font-style: italic;
    }

    .pricing-table {
        font-size: x-small;
    }

    .terms-info {
        font-size: x-small;
    }

    .requirements {
        padding-left: 0;
        text-align: left !important;
    }

    .requirement-list ol {
        margin-top: 2vh;
        padding-left: 2vw;
    }

    .requirements li {
        text-align: left !important;
        padding-top: 1vh;
        padding-bottom: 1vh;
    }

    .requirements li:last-child {
        padding-top: 1vh;
        padding-bottom: 0;
        margin-bottom: -0.6vh;
    }

    .contact-info {
        text-align: left;
        padding: 15px 20px;
        font-size: 15px;
    }
}

main > #wrapper > div.container > div.row > #content-wrapper > #main > footer.page-footer a {
    color: #7a7a7a
}

@media (max-width: 768px) {
  body#checkout .media {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
  }

  body#checkout .media-left {
    order: -1 !important; /* obrazek na górę */
    width: 100% !important;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  body#checkout .media-left img {
    max-width: 100px;
    height: auto;
  }

  body#checkout .media-body {
    width: 100% !important;
  }
  
}

@media (max-width: 768px) {
  body#cart .product-line-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem; /* odstęp między obrazkiem a tekstem */
  }

  body#cart .product-line-grid-left {
    width: 30vw;
    height: auto;
    flex-shrink: 0;
  }

  body#cart .product-line-grid-left img {
    width: 100%;
    height: auto;
  }

  body#cart .product-line-grid-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  body#cart .product-line-grid {
    font-size: xx-small;
  }

  body#cart .product-line-grid a.label {
    font-size: small;
    margin-bottom: 1vh;
  }

  body#cart .product-line-info span {
    display: block;
  }

  body#cart .product-line-info table {
    margin-top: -2vh;
    margin-left: -5px;
  }

  body#cart .product-line-info td:first-child {
    display: none;
  }
}

.attachments-type-list .form-group {
    display: flex;
    flex-direction: column;
}

.attachments-type-list .form-control-label {
    text-align: left;
    padding-left: 0;
}