/*
 * Copyright 2018-2021 DITA (AM Consulting LLC)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Developed on behalf of: DITA
 * Licensed to: CAST under one or more contributor license agreements.
 */

.d2-line-focus-container {
    position: sticky;
    height: 100vh;
    width: 100%;
    pointer-events: none;
    z-index: 100;
    top:0;
}

.d2-line-focus-bottom, .d2-line-focus-top {
    position: absolute;
    height: 0;
    min-height: 0;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMxOTlCOUNGQTU2QzExRTc5QUZBQTQ3NkYwNjBCNUJBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMxOTlCOUQwQTU2QzExRTc5QUZBQTQ3NkYwNjBCNUJBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzE5OUI5Q0RBNTZDMTFFNzlBRkFBNDc2RjA2MEI1QkEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzE5OUI5Q0VBNTZDMTFFNzlBRkFBNDc2RjA2MEI1QkEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7FS0eIAAAAD0lEQVR42mJgYGC4CRBgAADeANokcoX4AAAAAElFTkSuQmCC");
    background-repeat: repeat;
    transition-property: height;
    z-index: 25;
    pointer-events: all;
}

.d2-line-focus-top {
    left: 0;
    top: 0;
    right: 0;
    height: 0;
    box-shadow: 0 2px 7px 0 rgba(0, 0, 0, .4)
}

.d2-line-focus-bottom {
    left: 0;
    bottom: 0;
    right: 0;
    height: 0;
    box-shadow: 2px 0 7px 0 rgba(0, 0, 0, .4)
}

