*
{
    background-color: #202020;
    color: white;
    font-family: Verdana;
}

body
{
    font-size: 1rem;
}

button, input, select
{
    font-size: 1rem;
}

#dostosowanie
{
    width: 18rem;
    line-height: 2rem;
    border: 1px solid white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
}

#dostosowanie label
{
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dostosowanie input:hover, #dostosowanie select:hover
{
    cursor: pointer;
}

#dostosowanie input[type="color"]
{
    width: 5rem;
    height: 2rem;
    line-height: 2rem;
}

#dostosowanie hr
{
    margin: 3px 0;
}

#dostosowanie select
{
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border: none;
}

#dostosowanie option
{
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border: none;
}

header
{
    width: 40%;
    height: 3.5rrem;
    margin: auto;
    margin-top: 2rem;
    border: 1px solid white;
    letter-spacing: 0.10rem;
    display: flex;
    justify-content: center;
}

h1
{
    font-size: 1rem;
    width: 80%;
    text-align: center;
}

section
{
    width: 80%;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid white;
}

section article
{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 1rem;
}

article input[type="checkbox"]
{
    /* scale: 2; */
}

fieldset
{
    width: 40%;
    /* height: 2.5rem; */
    text-align: center;
    margin: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}



fieldset td
{
    width: 15%;
}


#dodatkowe
{
    width: 90%;
}

#info
{
    width: 90%;
    margin: 0 auto 1em auto;
    text-align: center;
    text-decoration: underline;
    color: white;
    border: 1px solid white;
    /* border-radius: 50px; */
    line-height: 1.5rem;
    padding: 0.5rem;
}

#tygGodz
{
    width: 5rem;
}

input[type="date"]::-webkit-calendar-picker-indicator 
{
  filter: invert(1);
  opacity: 1;
}

#odDnia, #doDnia
{
    width: 8rem;
}

section article input
{
    width: 80%;
    text-align: center;
}

section label
{
    line-height: 100%;
}

section label input
{
    width: 4rem;
}

section select
{
    width: 10rem;
}

hr 
{
    width: 75%;
    margin-top: 2rem;
}

section hr
{
    width: 75%;
    margin:  0 auto 2em auto;
}

table, tr, td, th
{
    border: 1px solid white;
    border-collapse: collapse;
}

table
{
    width: 100%;
    margin: 2em auto 0.5em auto;
}


td, th
{
    font-size: 80%;
    cursor: default;
    width: 5rem;
    height: 2rem;
    text-align: center;
}

td>input[type="text"]
{
    width: 100%;
    height: 100%;
    text-align: center;
    border: none;
    padding: 0;
}

main td:first-child, main td:last-child
{
    width: 1rem;
    /* width: 17rem; */
}

.ZD
{
    background-color: #252525;
}

.NI
{
    background-color: #303030;
}

.IZ
{
    background-color: #353535;
}

.ZZ
{
    background-color: #404040;
}

.NJ
{
    background-color: #454545;
}

.wyniki
{
    /* width: 8%; */
}

.edycja
{
    /* width: 3%; */
}

.edycja:hover
{
    cursor: pointer;
}

.edycja:hover, .wprowadz
{
    background-color: rgb(255, 255, 255);
    color: black;
    border-color: black;
}

main
{
    display: flex;
    flex-direction: column;
}

/* #drukuj
{
    width: 20%;
    height: 2rem;
    margin: 1em auto;
}

#drukuj:hover
{
    background-color: #3a3a3a;
    border: 1px solid white;
    cursor: pointer;
} */

button
{
    width: 20%;
    height: 2rem;
    margin: 1em auto;
}

button:hover
{
    background-color: #3a3a3a;
    border: 1px solid white;
    cursor: pointer;
}

li
{
    margin: 0.2rem;
}

.ukryj
{
    display: none;
}

footer
{
    margin: 0 auto;
    width: 50%;
    border: 1px solid white;
    text-align: center;
}

h2
{
    font-size: 1rem;
}

@media print 
{
    *
    {
        background-color: white !important;
        color: black !important;
        font-size: 25px !important;
    }

    #dostosowanie
    {
        display: none;
    }

    body
    {
        zoom: 0.5;
    }

    header
    {
        margin-top: 0;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        border: none;
    }

    section
    {
        width: 90%;
        margin-top: 1rem;
        margin-bottom: 1rem;
        border: none;
        padding-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    #dniPracy, #rodzajeGodzin
    {
        display: none;
    }

    fieldset
    {
        width: 40%;
        margin: 0.5em auto;
        border: 1px solid white;
        /* border: none; */
    }

    fieldset legend
    {
        font-size: 85%;
    }
    
    fieldset label
    {
        width: 100%;
    }

    fieldset input
    {
        line-height: 90%;
        border: 1px solid white;
        /* border: none; */
    }

    input[type="date"]::-webkit-calendar-picker-indicator 
    {
        opacity: 0;
    }

    hr
    {
        display: none;
    }

    #kopiuj
    {
        display: none;
    }

    table
    {
        margin: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    table, tr, td, th
    {
        border: 1px solid black;
    }

    section article
    {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }

    #dodatkowe
    {
        display: none;
    }

    #info
    {
        display: none;
    }

    #drukuj
    {
        display: none;
    }

    footer
    {
        display: none;
    }
}