:root {
    font-family: Verdana;
    font-size: 12px;
}

td {
    vertical-align: middle;
}

textarea {
    height: 16px;
}

a {
    color: black; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
}

a:hover {
    color: black;
    text-decoration: underline;
}

article {
    width: 80%;
    margin: auto;
}

h1 {
    display: none;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 16pt;
}

input[name="_submit"] {
    float:right;
    width:200px;
}

.message-form {
    max-width: 800px;
    margin:auto;
}

.message-form .ck-editor__editable {
    min-height: 10rem;
    max-width: 800px;
    margin:auto;
    padding: 2.1rem 5.7rem !important;
}

.copy {
    margin-top: 10px;
}

.footer {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 5%;
}

form table {
    width: 100%;
}

.header-menu {
    background-color: white;
    margin-bottom: 20px;
}

.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs .breadcrumb-item a:hover {
    color: #0d6efd;
}

.login {
    width:400px;
    margin:auto;
    text-align: center;
}

.login .btn {
    width:100%;
}

.logo-description {
    font-weight: bold;
    font-size: large;
}

.user-info {
    font-weight: bold;
    margin-right: 1em;
}

thead tr {
    font-weight: bold;
}

.overlimit {
    color: red!important;
    font-weight: bold;

}
.almostlimit {
    color: orange;
    font-weight: bold;
}

.inlimit {
    color: green;
    font-weight: bold;
}

.important {
    font-weight: bold;
}

.stickyheader {
    position: sticky;
    top:0;
    background-color: white;
}

.bg-pink {
    background-color: pink!important;
}

.icon {
    font-size: 2em;
    color:lightgrey;
}

.pracovnik-id {
    font-weight: bold;
    margin-left: 8px;
}


.badge-big {
    float: right;
    background-color: orange;
    border-radius: 5px;
    padding: 5px;
    width: 50px;
    margin-right: 30px;
    opacity: 50%;
}

.badge-sm {
    background-color: orange;
    border-radius: 5px;
    padding: 5px;
    width: 20px;
    margin-right: 5px;
    opacity: 50%;
}

tr[data-hidden="true"] {
    text-decoration: line-through;
}

.dragrow {
    opacity: 0.3;
}

select.value {
    font-weight: bold;
}


/* Priorita 1 */
option {
    background-color: #fff;
}

/* Priorita 1 */
select.p1 {
    background-color: rgba(220, 53, 69, 0.2);
}

/* Priorita 2 */
select.p2 {
    background-color: rgba(255, 159, 64, 0.2);
}

/* Priorita 3 */
select.p3 {
    background-color: rgba(255, 205, 86, 0.2)
}

/* Priorita 4 */
select.p4 {
    background-color: rgba(54, 162, 235, 0.2);
}

/* Priorita 5 */
select.p5 {
    background-color: rgba(75, 192, 192, 0.2);
}

/* Nevybráno */
select.none {
    background-color: #fff;
}

/* Boční panel s animací */
#side-column {
    transition: width 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

/* Skrytý stav bočního panelu */
#side-column.hidden {
    width: 0;
    opacity: 0;
    padding: 0; /* odstraníme vnitřní odsazení */
}

/* Ouško tlačítka přilepené na pravý okraj */
.sidebar-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}