/**
* DevExtreme (widgets/common/validation.less)
* Version: 19.2.5 (build 19359-1956)
* Build date: Wed Dec 25 2019
*
* Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
@import (once) "./overlay.less";

.dx-validationsummary-item {
    cursor: pointer;
}

.dx-invalid-message {
    &.dx-overlay {
        position: relative;
    }

    &.dx-overlay-wrapper {
        width: 100%;
        visibility: hidden;
        pointer-events: none;
    }

    & > .dx-overlay-content {
        display: inline-block;
        position: relative;
        border-width: 0;
        padding: 10px;
        font-size: 0.85em;
        line-height: normal;
        word-wrap: break-word;
    }
}

.dx-state-focused.dx-invalid .dx-invalid-message-auto .dx-overlay-wrapper,
.dx-invalid-message-visible.dx-invalid .dx-invalid-message-auto .dx-overlay-wrapper,
.dx-lookup.dx-dropdowneditor-active .dx-invalid-message-auto .dx-overlay-wrapper,
.dx-invalid-message-always .dx-overlay-wrapper {
    visibility: visible;
}
