:root {
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* font-family: Arial, Helvetica, sans-serif; */

}

.fRight {
    float: right;
}

.LeftColumn {
    width: fit-content;
    margin-right: 1em;
    background-color: rgba(128, 128, 128, 0.104);
}

.Projekt {
    overflow: auto;
}

body {

    display: flex;
    height: 100vh;
    width: 95vw;
}

table {
    width: 90%;

}

.Obsah {
    width: 100%;
}


/* Styl hlaviček tabulky */
table th {
    background-color: black;
    font-weight: bold;
    text-align: left;
    padding: 3px;
    border: 1px solid #ddd;
    color: white;
}

/* Styl řádků s daty v tabulce */
table td {
    padding: 3px;
    border: 1px solid #ddd;
}

/* Změna barvy pozadí pro sudé řádky (pro zvýraznění) */
table tr:nth-child(even) {
    background-color: #f5f5f5;
}

#TlacitkoPrihlaseni input[type="button"] {
    font-size: 1.2em;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    background-color: #f44336;
}

.Oddelovaci_Radek {
    /*  height: 2em;
    column-span: 2;
    background-color: white    ;
    xborder:  1px solid red; */
    font-size: 2em;
    column-span: 2;
    height: 0px;
    padding-top: 1em;
    text-align: center;
    font-weight: bold;
}

.Sekce {
    font-size: 1.5em;
    font-weight: bold;
    color: black;
    text-align: center;
}

.Filtry {
    width: 90%;
    border: 2px solid black;
    display: flex;
}

.Filtry div {
    padding-left: 1em;
    padding-right: 1em;
}

.Add span {
    padding: 0 1em;
}

#importModal,
#editModal,
.modal {
    display: none;
}

.modal>div {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
    border: 1px dashed #ccc;
}


.modal label {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    display: block;
    background: #ffffff;
    width: fit-content;
}

.modal {
    margin-bottom: 1em;
    margin-top: 1em;
}

#BtnBar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1em;

}

#BtnBar div {
    margin-right: 1em;
}

input,
select {
    font-size: 0.9em;
    padding: 0.5em;
    border-radius: 0.5em;
}

.ValidField {
    border: 1px solid green;
    background-color: rgba(0, 128, 0, 0.08);
}

.InvalidField {
    border: 1px solid red;
    background-color: rgba(255, 0, 0, 0.08);
}

#btnDalsi {

    width: 100%;
    font-size: 1.5em;
    float: right;
}

.novyUzivatel {
    max-width: 75vw;
    width: fit-content;
}

.Todo.btn {

    color: black;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    margin-right: 3px;
}

.hotovo {
    background-color: #4CAF50;
    /* Green */
}

.smazat {
    background-color: #f44336;
    /* Red */
}

.TodoContainer {
    /* max-width: 250px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 95%;
    background-color: lightgray;
    border-radius: 5px;

    box-shadow: gray 5px 5px 3px;
    padding-bottom: 0.5em;
}

.TodoItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5em;
    margin-bottom: 0.5em;
    border-radius: 5px;
    background-color: #f1f1f1;
}

.TodoTable .Splneno {
    text-decoration: line-through;
    color: gray;
    background-color: rgba(0, 128, 0, 0.16);
}

.TodoTable .Splneno:hover {
    text-decoration: none;
    background-color: rgba(0, 128, 0, 0.37);
    color: black;
}

.TodoTable .Nesplneno {
    text-decoration: none;
    color: black;
}

.TodoTable .Nesplneno:hover {
    text-decoration: underline;
    color: black;
}

.DatumToday {
    opacity: 0.5;
    font-weight: bold;
    color: rgb(237, 25, 25);

}

.DatumToday input {
    color: black;
    opacity: 1;
}


@media (max-width:650px) {
    th {
        display: none;
    }

    td {
        display: block;
        padding: 0.5em 1em;

    }

    td[data-cell]::before {
        font-weight: bold;

        content: attr(data-cell) ":  ";
    }

    .Prikazy {

        padding-bottom: 1em;
    }



}