.parallax when (@parallax = true) {
    position              : relative;
    background-size       : cover;
    background-position   : 50% 50%;
    background-repeat     : no-repeat;
    background-attachment : fixed;
    overflow              : hidden;
    height                : @parallax-height;

    &.take-from-widget, .take-from-widget {
        position : relative;
        & > img, & > ._lbox {
            display : none;
        }
        [data-url*="imageonly"] {
            position : absolute;
            left     : 5px;
            top      : 5px;
            z-index  : 999;
        }
    }
    * {
        position : relative;
        z-index  : 2;
    }

    &.height-auto {
        height : auto;
    }

    &.bg-scroll, .ios & {
        background-attachment : scroll;
    }

}