﻿.xaf-navmenu a .xaf-nav-link {
    text-decoration: revert !important;
}

.clickable-xaf-nav-item a .xaf-nav-link {
    text-decoration: revert !important;
}

.xaf-nav-link {
    text-decoration: revert !important;
}

.dxbl-grid-command-cell .dxbl-btn-link > span {
    text-decoration: revert !important;
}

.search-editor .xaf-dx-button-image {
    mask: url(IImageService/Action_Search) !important;
    -webkit-mask: url(IImageService/Action_Search) !important;
}

.dx-toast-message {
    white-space: pre-line !important;
}

.xaf-alert-message {
    white-space: pre-line !important;
}

.dxbl-grid-nested {
    height: 500px !important;
    /*height: 100% !important;*/
    min-height: 300px;
}

.nested-frame > .nested-content > .grid-content > .dxbl-grid-nested {
    /*max-height: 300px;*/
    height: 500px !important;
    min-height: 300px;
}

/* поджать высоту под компактные DevExpress-редакторы */
.phone-input.form-control.form-control-sm {
    padding: .25rem .5rem; /* аналог компактного */
    font-size: .875rem;
    line-height: 1.25;
    height: calc(1.5em + .5rem + 2px);
}

/* на всякий случай выровнять шрифт с DX */
.dxbl .phone-input.form-control {
    font-family: inherit;
}

.dxbl-invalid {
    border-color: var(--dxbl-color-danger, #dc3545) !important;
}

.dxbl-scheduler .dxbl-sc-apt-subject-ex {
    color: var(--dxbl-scheduler-appointment-subject-color, #161616);
    font-family: var(--dxbl-scheduler-appointment-subject-font-family, "Segoe UI");
    font-size: var(--dxbl-scheduler-appointment-subject-font-size, 12px);
    font-weight: var(--dxbl-scheduler-appointment-subject-font-weight, 600);
    line-height: var(--dxbl-scheduler-appointment-subject-line-height, 16px);
    overflow: hidden;
    min-height: var(--dxbl-scheduler-appointment-subject-line-height, 16px);
}

.rc-apt-status-text {
    margin-top: 2px;
    font-size: 0.75rem;
    line-height: 1.05;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rc-apt-resource-pill {
    margin-top: 3px;
    font-size: 0.72rem;
    line-height: 1.05;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0.95;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff; /* обычно на цвете квартиры лучше белым */
}
