.timelinepad_layout {
    z-index: 0;
    height: 260px;
    flex-shrink: 0;
}

.timelinepad {
    background: #ffffff;
    display: flex;
    height: 100%;
    user-select: none;
    flex-direction: column;
}

.timelinepad_toolbar {
    flex-shrink: 0;
    height: 42px;
}

.timelinepad_track {
    flex-grow: 1;
    height: calc(100% - 42px);
}

.timelinepad_track_container {
    position: relative;
    user-select: none;
    overflow-x: scroll;
    overflow-y: auto;
    height: 100%;
}

    .timelinepad_track_container::-webkit-scrollbar {
        width: 19px;
        height: 19px;
        background-color: #ffffff;
        z-index: 2;
        position: relative;
    }
    .timelinepad_track_container::-webkit-scrollbar-corner {
        background-color: #ffffff;
    }
    .timelinepad_track_container::-webkit-scrollbar-thumb {
        border-radius: 10px;
        border: 7px solid #ffffff;
        background-color: gray;
    }
    .timelinepad_track_container::-webkit-scrollbar-track {
        background-color: #ffffff;
    }

    .timelinepad_track_placeholder {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: rgba(0,0,0,.6);
        border-top: 1px solid rgba(0,0,0,.1);
        position: relative;
    }

.timelinepad_track_cursor_ruler_container {
    min-width: 100%;
    position: sticky;
    top: 0;
    height: 0;
    z-index: 2;
}

.timelinepad_track_cursor::before {
    content: "";
    display: block;
    height: 7px;
    width: 9px;
    position: absolute;
    top: 0;
    left: -4px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' width='9' height='7' viewBox='0 0 9 7'%3E%3Cpath d='M9,0L4.5,7L0,0H9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 50%;
}

.timelinepad_track_cursor {
    width: 2px;
    background-color: #ff0000;
    opacity: .75;
    position: absolute;
    top: 0;
    left: 20px;
    cursor: default;
    white-space: nowrap;
    z-index: 2;
}

.timelinepad_track_ruler_container {
    border-top: 1px solid rgba(0,0,0,.1);
    padding: 0 20px;
    background: #ffffff;
    overflow: hidden;
    z-index: 1;
}
.timelinepad_track_ruler {
    display: flex;
    cursor: grab;
}

.timelinepad_track_ruler_one {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 5px;
}

.timelinepad_track_ruler_graduation {
    content: "";
    display: block;
    width: 1px;
    height: 6px;
    background: rgba(0,0,0,.1);
}
.timelinepad_track_ruler_graduation_right {
    position: absolute;
    right: 0;
    top: 0;
}
.timelinepad_track_ruler_label {
    margin-top: 1px;
    padding: 0 3px;
    transform: translateX(-50%);
    font-size: 9px;
    line-height: 1.5;
    color: rgba(0,0,0,.25);
}

.timelinepad_track_layers {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 30px 20px 0;
    min-height: 100%;
    user-select: none;
}

.timelinepad_track_layer {
    position: relative;
    width: 100%;
    height: 30px;
}
.timelinepad_track_layer_video {
    height: 54px;
}

.timelinepad_track_layer_audio {
}

.timelinepad_video_cell {
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
    position: absolute;
}
.timelinepad_video_cell_frames {
    height: 100%;
    width:100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.timelinepad_video_cell_frame {
    height: 100%;
    background-size: auto 54px;
    background-repeat: repeat-x;
    background-position: left center;
}


.timelinepad_audio_cell {
    position: absolute;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: url(/video/editor/content/images/icon/audio.svg) repeat-x bottom 3px left content-box,#165c4f;
    background-blend-mode: overlay;
}

.timelinepad_text_cell {
    position: absolute;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: #9e9e9e9e;
}

.timelinepad_cell_current {
    border: 1px solid #feca28;
}


.timelinepad_video_cell_event {
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;
    cursor: default;
    position: absolute;
}

.timelinepad_audio_cell_event {
    position: absolute;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;
    cursor: default;
}

.timelinepad_text_cell_event {
    position: absolute;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;
    cursor: default;
}

.item-drop-bottom {
    height: 5px;
    width: 100%;
}

