body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Metropolis', Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.82857;
    /*font-weight: normal;*/
    color: var(--SferisColorDarkBlue);
    background-color: #ffffff;
    transition: font-size 0.5s;
}

main {
    font-size: 1.2em;
    line-height: 1.3em;
}

img {
    border: none;
}
.small {
    font-size: 80%;
    line-height: 140%;
}
h2 {
    margin-bottom: 1.5em;
    font-weight: bold;
}
h3 {
    margin-bottom: 0.8em;
    font-weight: bold;
}
h2, h3 { }
h4 { }
p {
    font-size: 0.95em;
}
a {
    text-decoration: none !important;
}
a:hover, a:focus {
    text-decoration: none !important;
}
strong { }

.fontSferisGreen,
p.fontSferisGreen,
span.fontSferisGreen {
    color: var(--SferisColorGreen);
}

div.headerGradient,
div.headerBackground,
div.boxBenefits,
div.boxRaty,
div.boxPlatnosc,
div.boxProducts,
a.boxProducts {
    border-radius: var(--radius10);
}

/* -------------------------------------------------------- */
/* ---------------------------- NAGLOWEK */
div.header {
    position: relative;
    margin: 0 auto;
    padding: 0;
    color: var(--white);
}
div.headerGradient {
    background: #023850;
    background: -moz-linear-gradient(left, #023850 0%, #0F5A7C 50%, #15698F 100%);
    background: -webkit-linear-gradient(left, #023850 0%, #0F5A7C 50%, #15698F 100%);
    background: linear-gradient(to right, #023850 0%, #0F5A7C 50%, #15698F 100%);
}
div.whiteDot {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(250,250,250,1.0);
}
div.headerBackground {
    background-image:  url("../images/kredyt-ogolne-naglow-tlo-2.png");
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: auto auto;
}
div.tytulKontener {
    padding: 30px 0 50px 20px;
}
div.header h1 {
    font-weight: bold;
}
div.header h4 {
    font-weight: 100;
    margin-bottom: 1.5em;
}
div.logosKontener {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}
div.logosKontener img {
    margin-right: 1em;
}
/* ---------------------------- NAGLOWEK (koniec) */


div.boxBenefits {
    margin: 0;
    padding: 1.1em;
}
div.boxBenefits,
div.boxProducts,
a.boxProducts {
    border: 2px solid var(--boxBorderColor1);
    background-color: #ffffff;
}

/* -------------------------------------------------------- */
/* ---------------------------- sekcja Zakupy */
#zakupySection { }
div.boxBenefits {
    margin-bottom: 2em;
}
div.boxBenefits img {
    margin-bottom: 0.5em;
}
div.boxBenefits p {
    margin: 0;
}
.backgroundGreen {
    background-color: var(--SferisColorGreen);
}
.backgroundDarkBlue {
    background-color: var(--SferisColorDarkBlue);
}
div.boxRaty,
div.boxPlatnosc {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: space-around;
}
div.boxRaty,
div.boxPlatnosc {
    margin: 1.2em 0;
    padding: 2em 1.8em;
    color: var(--white);
}
div.boxRaty img,
div.boxRaty p,
div.boxPlatnosc img,
div.boxPlatnosc p {
    margin-bottom: 1.2em;
}
div.boxRaty a {
    color: var(--SferisColorGreen);
    text-decoration: underline var(--white) !important;
    transition: color var(--transition05);
}
div.boxPlatnosc a {
    color: var(--SferisColorDarkBlue);
    text-decoration: underline var(--white) !important;
    transition: color var(--transition05);
}
div.boxRaty a:hover,
div.boxPlatnosc a:hover {
    color: var(--white);
}
div.boxRaty button,
div.boxPlatnosc button {
    padding: 10px 25px;
    font-size: 1.25em;
    border-radius: 30px;
    background-color: var(--white);
    border-color: transparent !important;
}
div.boxRaty button:hover {
    background-color: var(--SferisColorGreen);
}
div.boxPlatnosc button:hover {
    background-color: var(--SferisColorDarkBlue);
}
div.boxRaty button {
    color: var(--SferisColorDarkBlue);
}
div.boxPlatnosc button {
    color: var(--SferisColorGreen);
}
/* --------------------------- sekcja Zakupy (modal) */
div.modal-dialog {
    margin-top: 760px;
    min-width: 570px;
}
div.modal-body div.row {
    padding: 0.5em 0;
}
button.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    border-color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(250,250,250,0.0);
}
button.btn-close:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(250, 250, 250, 0.0);
}
img.modalLogo {
    margin-bottom: 0.8em;
}
a.przycisk {
    display: table;
    margin: 0 auto;
    margin-bottom: 1.2em;
    padding: 0.5em 0.8em;
    font-size: 1.0em;
    border: 2px solid;
    border-radius: 25px;
    background-color: var(--white);
    transition: background-color var(--transition05), color var(--transition05);
}
a.przycisk:hover { }
a.przyciskAgricole {
    color: var(--AgricoleColor);
    border-color: var(--AgricoleColor);
}
a.przyciskAgricole:hover {
    color: var(--white);
    background-color: var(--AgricoleColor);
}
a.przyciskSantander {
    color: var(--SantanderColor);
    border-color: var(--SantanderColor);
}
a.przyciskSantander:hover {
    color: var(--white);
    background-color: var(--SantanderColor);
}
a.przyciskTwisto {
    color: var(--TwistoColor);
    border-color: var(--TwistoColor);
}
a.przyciskTwisto:hover {
    color: var(--white);
    background-color: var(--TwistoColor);
}
a.przyciskPaypo {
    color: var(--PaypoColor);
    border-color: var(--PaypoColor);
}
a.przyciskPaypo:hover {
    color: var(--white);
    background-color: var(--PaypoColor);
}
/* ---------------------------- sekcja Zakupy (modal) (koniec) */
/* ---------------------------- sekcja Zakupy (koniec) */

/* -------------------------------------------------------- */
/* ---------------------------- sekcja Produkty */
#produktySection { }
a.boxProducts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-bottom: 1.5em;
    padding: 1.2em 0.5em;
    color: var(--SferisColorDarkBlue);
    text-align: center;
    box-sizing: border-box;
}
a.boxProducts img {
    margin-bottom: 1.2em;
}
a.boxProducts p {
    margin: 0;
    font-size: 0.80em;
    width: 100%;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.produkty-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
.col-5th {
  flex: 0 0 20%;
  max-width: 20%;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .col-5th { flex: 0 0 25%; max-width: 25%; }
}
@media (max-width: 992px) {
  .col-5th { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
@media (max-width: 768px) {
  .col-5th { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 576px) {
  .col-5th { flex: 0 0 100%; max-width: 100%; }
}

/* ---------------------------- sekcja Produkty (koniec) */

/* -------------------------------------------------------- */
/* ---------------------------- sekcja FAQ */
#faqSection { }
div.accordion-item {
    color: var(--SferisColorDarkBlue);
}
div.accordion-item h2 {
    color: var(--SferisColorDarkBlue);
}
.accordion-button {
    color: var(--SferisColorDarkBlue);
}
.accordion-button:not(.collapsed) {
    color: var(--SferisColorDarkBlue);
    background-color: transparent;
}
.accordion-button:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(250,250,250,0.0);
}
.accordion-button:not(.collapsed)::after { }
.accordion-body {
    font-size: 0.85em;
}
/* ---------------------------- sekcja FAQ (koniec) */


footer {
    margin: 0;
    padding: 0;
}
footer div.container {
    padding: 2em;
}


/* ------------------------------------------------------- */
/* ----------------------------------------- RESPONSYWNOSC */

@media only screen and (min-width: 1400px) {
}
@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    div.tytulKontener {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    div.col-lg-6 div.boxRaty,
    div.col-lg-6 div.boxPlatnosc {
        /*min-height: 466px;*/
    }
    div.col-lg-6 div.boxRaty {
        padding: 2em 3.4em;
    }
    div.col-lg-6 div.boxPlatnosc {
        padding: 2em 2.8em;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    div.tytulKontener {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    div.tytulKontener h1,
    div.tytulKontener h4 {
        text-shadow:
                0 0 5px rgba(2,56,80,0.5),
                0 0 10px rgba(2,56,80,0.5),
                0 0 15px rgba(2,56,80,0.5),
                0 0 20px rgba(2,56,80,0.5);
    }
    div.logosKontener {
        width: 70%;
    }
    div.logosKontener img {
        margin: 10px;
    }
    div.col-lg-6 div.boxRaty,
    div.col-lg-6 div.boxPlatnosc {
        padding: 2em 1.5em;
        min-height: 490px;
    }
    div.modal-dialog {
        margin-top: 1020px;
        min-width: inherit;
    }
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
    div.headerBackground {
        background-position: 50% 100%;
        background-size: 70% auto;
    }
    div.tytulKontener {
        padding-top: 20px;
        padding-bottom: 230px;
    }
    div.modal-dialog {
        margin-top: 1420px;
        min-width: inherit;
    }
}
@media only screen and (min-width: 576px) and (max-width: 768px) {
    div.headerBackground {
        background-position: 50% 100%;
        background-size: 80% auto;
    }
    div.tytulKontener {
        padding-top: 20px;
        padding-bottom: 190px;
    }
    div.logosKontener img {
        height: 30px;
    }
    div.modal-dialog {
        margin-top: 1450px;
        min-width: inherit;
    }
}
@media only screen and (max-width: 576px) {
    div.headerBackground {
        background-image: none;
        background-position: 50% 100%;
        background-size: 100% auto;
    }
    div.tytulKontener {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    div.modal-dialog {
        margin-top: 1800px;
        min-width: inherit;
    }
}

/* Układy 5-kolumnowe dla sekcji produktów */
.produkty-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

.col-5th {
  flex: 0 0 20%;
  max-width: 20%;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
  display: flex;
  margin-bottom: 1.5em;
}

/* Media queries dla responsywności */
@media (max-width: 1200px) {
  .col-5th { 
    flex: 0 0 25%; 
    max-width: 25%; 
    display: flex;
    margin-bottom: 1.5em;
  }
}

@media (max-width: 992px) {
  .col-5th { 
    flex: 0 0 33.3333%; 
    max-width: 33.3333%; 
    display: flex;
    margin-bottom: 1.5em;
  }
}

@media (max-width: 768px) {
  .col-5th { 
    flex: 0 0 50%; 
    max-width: 50%; 
    display: flex;
    margin-bottom: 1.5em;
  }
}

@media (max-width: 576px) {
  .col-5th { 
    flex: 0 0 100%; 
    max-width: 100%; 
    display: flex;
    margin-bottom: 1.5em;
  }
}

/* */