.window {
    display: none;
    width: 100%;
    min-height: @window-height;
    position: fixed;
    top: 50%;
    left: 0;
    margin: -@window-height/2 0 0 0;
    padding: 40px 20px 5px 20px;
    z-index: 10002;

    text-align: center;
    border-radius: @radius;
    background: @bg-window;
    box-shadow: 0 0 20px rgba(0,0,0, 0.3);

    @media @query-xl {
        width: @window-width;
        top: 50%;
        left: 50%;
        margin: -@window-height/2 0 0 -@window-width/2;
    }

    &--wide {
        position: absolute;
        top: 200px;
        width: 100%;
        height: @window-wide-height;

        @media @query-xl {
            width: @window-wide-width;
            margin: 0 0 0 -@window-wide-width/2;
        }
    }

    &--wide-float {
        position: fixed;
        top: 50%;
        width: @window-wide-float-width;
        min-height: @window-wide-float-height;
        margin: -@window-wide-float-height/2 0 0 -@window-wide-float-width/2;
    }

    &--active {
        display: block;
    }

    &__title {
        margin: -25px -30px 30px;
        height: 48px;
        line-height: 28px;
        padding: 10px 68px 10px 20px;

        background: @bg-primary;
        color: @color-f;
        font-weight: 700;
        font-size: 18px;
    }

    &__close {
        position: absolute;
        top: 0;
        right: 0;
        width: 32px;
        height: 32px;
        line-height: 32px;

        background: @color-base;
        border-bottom-left-radius: @radius;
        border-top-right-radius: @radius;
        color: @color-f;
        text-decoration: none;
        font-weight: 700;
        text-align: center;

        &:hover {
            background: @color-blue;
            color: @color-f;
            text-decoration: none;
        }
    }

    &__actions {
        margin-top: 20px;

        &__btn {
            min-width: 100px;
            margin: 0 5px;
        }
    }
}
