li, p {
    line-height: 1rem;
}

/* Header links */
.o-header__quicklinks-margincleanup {
    margin-left: initial !important;
}
.o-header__quicklinks {
    z-index: 3 !important;
}

/* Table */
.m-table {
    width: unset;
}

.m-table td, .m-table th {
    box-sizing: unset !important;
    height: unset !important;
    padding: unset !important;
}

    .m-table thead th {
        position: relative;
        height: 3rem !important;
    }

.m-table td i.a-icon {
    padding: .5rem !important;
}

.m-table tr:hover {
    background: var(--g-gray-95);
    cursor: pointer;
}

.m-table thead tr:hover {
    background: inherit;
    cursor: inherit;
}

.tablecell {
    display: inline-block;
    /*width: 4vw !important;*/
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 0.25rem 1rem 0rem 0rem;
}

.tableheadcell {
    text-align: start;
    cursor: pointer;
    float: left;
    left: 0;
    bottom: 0.5rem;
}

/* Formular */
.detailviewselectize,
.a-text-field {
    margin-bottom: 1rem;
}    

.m-form-field .a-text-field,
.m-form-field .detailviewselectize {
    margin-bottom: 0rem !important;
}


/* Other */
div.center {
    max-width: 32rem;
    margin: 0 auto;
}

/*Prevent Webkit from vertically stretching the dialog*/
dialog[open] {
    height: fit-content;
    display: block;
    position:fixed;
    top:50%;
    transform:translate(0, -50%)
}

.a-toggle__trigger {
    min-width: 3rem;
}

/* Detail View changes */
.fieldlist-label::after {
    content: ": ";
}
.fieldlist-value {
    font-weight: bold;
}

/* Disabled input field color changes */
.a-text-field input:disabled, .a-text-field input:disabled::placeholder {
    color: var(--g-gray-55);
}
.a-text-field label:has(~input:disabled) {
    color: #000;
}
.a-text-field input:disabled {
    border-bottom-color: #000;
    background-color: var(--base-minor__enabled__default__fill);
}
.a-text-field input:disabled, .a-text-field input:disabled::placeholder {
    color: #000;
}

.a-text-area label:has(~textarea:disabled) {
    color: #000;
}

.a-date-input label:has(~input:disabled) {
    color: #000;
}

.a-value-modificator {
    margin: 0;
}

/* Footer link */
.o-footer__links a, .o-footer__links a:visited {
    color: var(--minor-accent__enabled__front__default);
    text-decoration: none !important;
}

/* breadcrumb */
.breadcrumb-item{
    font-size:0.8rem;
}
.m-dialog__title{
    white-space:unset;
}
.m-dialog__actions{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-block-start: 2rem;
}

.a-date-input input:disabled {
    background-color: var(--base-minor__enabled__default__fill);
    border-bottom-color: var(--base-minor__enabled__default__front);
    color: var(--base-minor__enabled__default__front);
}

.m-floating-button-group.sharp-corners {
    border-radius: unset;
}
    .m-floating-button-group.sharp-corners > .a-button {
        border-radius: unset;
    }

.m-floating-button-group.text-overflow {
    display: flex;
    max-width: 100%;
    overflow: hidden;
}

    .m-floating-button-group.text-overflow button {
        flex: 0 1 auto;
        min-width: 0; /* allows buttons to shrink below content size */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        .m-floating-button-group.text-overflow button span {
            display: block;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

.m-dialog__content {
    max-height: calc(100vh - 7rem);
}
.m-dialog[open] {
    width: 100%;
}