﻿body {margin:0;background-color: #f0f0f0;padding: 0px;}



#dni[type=range]::-webkit-slider-runnable-track {
    width: 300px;
    height: 40px;
    background: url('suwak_dni.png');
    border: none;
    border-radius: 3px;
}
#dni[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: goldenrod;
    margin-top: -2px;
}
input[type=range] {
    -webkit-appearance: none;
    border: 1px solid white;
    width: 300px;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: goldenrod;
    margin-top: -16px;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}
input[type=range]::-moz-range-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 16px;
}
input[type=range]::-moz-range-thumb {
    border: none;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: goldenrod;
}
input[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}
input[type=range]::-ms-track {
    width: 300px;
    height: 5px;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
input[type=range]::-ms-thumb {
    border: none;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: goldenrod;
}
input[type=range]:focus::-ms-fill-lower {
    background: #888;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

.main {
  padding: 14px;
  margin-top: 100px;
  height: 1500px;
}
p {font-family: "Arial Black", Arial, serif;}

#tabela {
  font-size: 1.5em;
}
#tabela2 {
  font-size: 1.5em;
}
p.tekst
         {text-align: left;
         padding-top: 0px;
         padding-bottom: 0px;
         padding-left: 0px;
         margin-top: 0px;
         margin-bottom: 0px;
         font-size: 0.9em;
         color: #000000;
         font-family: "Arial", Arial, serif;
         font-size: 0.85em;
}
p.wyn {
         text-align: left;
         color: #000000;
         font-size: 1.4em;
         padding-top: 0px;
         padding-bottom: 0px;
         padding-left: 140px;
         margin-top: 0px;
         margin-bottom: 0px;
         line-height:25px;
         margin-top: 0px;
         margin-bottom: 0px;
         font-family: "Arial", Arial, serif;
}
p.fin  {
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: left;
  padding-left: 0px;
  font-size: 1.5em;
}
#finrrso{
 font-size: 1.5em;
}
#slogan{
 color: green;
 font-size: 1.9em;
}


a.g_GF {
         background-image: url("gf_n.png");
         display: block;
         width: 225px;  height: 82px;
         }
a.g_GF:hover {
         background-image: url("gf_b.png");
         display: block;
         width: 225px;  height: 82px;
         text-decoration: none;
         }
a.g_wykaz {
         background-image: url("wykaz_n.png");
         display: block;
         width: 225px;  height: 82px;
         }
a.g_wykaz:hover {
         background-image: url("wykaz_b.png");
         display: block;
         width: 225px;  height: 82px;
         text-decoration: none;
         }
a.g_poz {
         background-image: url("poz_n.png");
         display: block;
         width: 225px;  height: 82px;
         }
a.g_poz:hover {
         background-image: url("poz_b.png");
         display: block;
         width: 225px;  height: 82px;
         text-decoration: none;
         }
a.g_GFmp {
         background-image: url("baner_pozyczki_GF.png");
         display: block;
         width: 500px;  height: 82px;
         }
a.g_GFmp:hover {
         background-image: url("baner_pozyczki_GFb.png");
         display: flex;
         width: 500px;  height: 82px;
         text-decoration: none;
         }
input[type="radio"]:checked + label {
  color: green;
  font-size: 1em;
  background-color: #efefef
}
a.g_sg {
         background-image: url("sg_a.png");
         display: block;
         width: 225px;  height: 82px;
         }
a.g_sg:hover {
         background-image: url("sg_b.png");
         display: flex;
         width: 225px;  height: 82px;
         text-decoration: none;
         }
a.g_abo {
         background-image: url("abo_n.png");
         display: block;
         width: 225px;  height: 82px;
         }
a.g_abo:hover {
         background-image: url("abo_b.png");
         display: flex;
         width: 225px;  height: 82px;
         text-decoration: none;
         }





/* ------------------ KOMÓRKI Z PRZYCISKAMI ------------------ */
td.button-cell {
    width: auto;
    white-space: nowrap;
    padding: 0;
    text-align: center;
}

/* Środkowa komórka ze suwakiem */
td.input-cell {
    padding: 0;
    height: 40px;      /* wysokość track */
    overflow: hidden;  /* przycinanie wystającego tła */
}

/* ------------------ OBRAZKI (PRZYCISKI) ------------------ */
img.g_lewy,
img.g_prawy {
    display: block;
    width: 41px;
    height: 41px;
    max-width: 100%;
    cursor: pointer;
}

/* ------------------ SUWAK ------------------ */
#kwota {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 40px;
    background: transparent;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

/* Chrome/Safari TRACK */
#kwota::-webkit-slider-runnable-track {
    height: 40px;
    background: url('suwak_kwota.png') no-repeat center;
    background-size: 100% 100%;
    border-radius: 3px;
}

/* Chrome/Safari THUMB */
#kwota::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: goldenrod;
    border: none;
    transform: translateY(2px);
    cursor: pointer;
}

/* Firefox TRACK */
#kwota::-moz-range-track {
    height: 40px;
    background: url('suwak_kwota.png') no-repeat center;
    background-size: 100% 100%;
    border-radius: 3px;
}

/* Firefox THUMB */
#kwota::-moz-range-thumb {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: goldenrod;
    border: none;
    transform: translateY(2px);
    cursor: pointer;
}

/* Usunięcie outline przy focus */
#kwota:focus {
    outline: none;
}

/* ------------------ RESPONSYWNOŚĆ ------------------ */
@media (max-width: 768px) {
    img.g_lewy,
    img.g_prawy {
        width: 30px;
        height: 30px;
    }
    td.input-cell {
        height: 30px;
    }
    #kwota::-webkit-slider-runnable-track,
    #kwota::-moz-range-track {
        height: 30px;
    }
    #kwota::-webkit-slider-thumb,
    #kwota::-moz-range-thumb {
        width: 26px;
        height: 26px;
        transform: translateY(2px);
    }
}

@media (max-width: 480px) {
    img.g_lewy,
    img.g_prawy {
        width: 24px;
        height: 24px;
    }
    td.input-cell {
        height: 24px;
    }
    #kwota {
        height: 24px;
    }
    #kwota::-webkit-slider-runnable-track,
    #kwota::-moz-range-track {
        height: 24px;
        background-size: 100% 100%;
    }
    #kwota::-webkit-slider-thumb,
    #kwota::-moz-range-thumb {
        width: 22px;
        height: 22px;
        transform: translateY(1px);
    }
}