#vyroba-heading {
    width: 100%;
    max-width: 1200px;
    position: fixed;
    top: 0;
    left: 390px;
    margin: 0 0 10px 0;
    z-index: 999;
    background-color: #FFF;
    padding-bottom: 5px;
}

/* states */

#vyroba-heading .states {
    display: flex;
    justify-content: flex-start;
    padding: 15px 0 10px 15px;
    gap: 5px;
}

#vyroba-heading .states .state {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    padding: 5px 10px;
}

#vyroba-heading .states .state:hover {
    color: #333;
    text-decoration: underline;
}

#vyroba-heading .states .active {
    background-color: #e11351;
    color: #FFF;
}

#vyroba-heading .states .paginate {
    flex-grow: 1;
    text-align: right;
    padding: 0 15px 0 0;
}

#vyroba-heading .states .paginate select {
    font-size: 14px;
    border: 1px solid #DADADA;
    padding: 3px 6px;

}


/* groups */

#vyroba-heading .groups {
    display: flex;
    justify-content: space-around;
    gap: 5px;
}

#vyroba-heading .groups .group {
    height: 35px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    cursor: pointer;
    text-decoration: none;
    border-radius: 3px;
    color: #333;
    background-color: #F3F3F3;
}

#vyroba-heading .groups .group:hover {
    text-decoration: underline;
    color: #333;
}

#vyroba-heading .groups .active {
    background-color: #e11351;
    color: #FFF;
}

#vyroba-heading .groups .size-0 {
    flex-basis: 70px;
    flex-grow: 0;
    flex-shrink: 0;
}

#vyroba-heading .groups .size-1 {
    flex-basis: 300px;
    flex-grow: 0;
    flex-shrink: 0;
}

#vyroba-heading .groups .size-2 {
    flex-basis: 250px;
    flex-grow: 0;
    flex-shrink: 0;
}

#vyroba-heading .groups .size-3 {
    flex-basis: 200px;
    flex-grow: 0;
    flex-shrink: 0;
}


/* pagination */

#vyroba-heading .pagination {
    background-color: #F3F3F3;
    padding: 10px 0 10px 0;
    margin: 10px 0 0 0;
}