/**
* DevExtreme (widgets/common/overlay.less)
* Version: 20.1.2
* Build date: Mon Apr 06 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
@OVERLAY_ZINDEX: 1000;

.dx-overlay-wrapper {
    top: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: @OVERLAY_ZINDEX;

    &,
    *,
    &:before,
    &:after,
    *:before,
    *:after {
        box-sizing: border-box;
    }
}

.dx-overlay-modal {
    width: 100%;
    height: 100%;
}

.dx-overlay-shader {
    background-color: rgba(128, 128, 128, 0.5);
    pointer-events: auto;
}

.dx-overlay-content {
    position: absolute;
    pointer-events: auto;
    z-index: @OVERLAY_ZINDEX;
    outline: 0;
    overflow: hidden;

    & > .dx-template-wrapper {
        height: 100%;
        width: 100%;
    }
}

.dx-device-android {
    .dx-overlay-content {
        backface-visibility: hidden;
    }

    .dx-scrollable-native {
        .dx-overlay-content {
            backface-visibility: visible;
        }
    }
}
