
.timeline {
    display: flex;
    flex-direction:column;
    position: relative;
    background: #222;
    padding: 0px;
    z-index:50;
    overflow-y: hidden;
    overflow-x: scroll;
    scrollbar-width: thin;
    scrollbar-color: auto;
    border-left:10px solid #444;
}

.timeline::-webkit-scrollbar-button {
    background: #444;
    height:20px;
    width: 0px;
  }
  
  .timeline::-webkit-scrollbar-track {
    background: #333;
  }

div.timelinemenu {
    display: flex;
    height: 20px;
    border: 0;
    background: #444;
    padding: 0;
    justify-content: center;
    position:relative;
}

div.timelineboardmenu {
    display: flex;
    background: #79c9dd;
    padding: 2px;
    position: absolute;
    top: 1px;
    left: 100%;
    visibility: hidden;
    z-index: 901;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    /*filter: drop-shadow(0 0 3px #000);*/
}


div.timelinebuttonsmenu{
    height:20px;
    display: flex;
    position: absolute;
    left: 5px;
    top: 1px;
    padding-right:2px;
    box-sizing:border-box;
    z-index:5;
}

div.timelinebottommenu {
    position: relative;
    display: flex;
    height: 17px;
    width: 100%;
    border: 0;
    background: linear-gradient(0deg, #333 0%, #444 100%);
    padding: 0;
    justify-content: center;
}

div.timecode {
    display: flex;
    flex-direction: row;
    background-color: transparent;
    align-items: center;
    color: #eee;
    padding: 0px 3px 0px 5px;
    height: 18px;
    margin-top: 1px;
    margin-right: 0px;
    position: relative;
    line-height: 18px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

div.timecodeinput {
    background:none;
    font-weight: bold; 
    font-family:Arial;
    width:16px;
}

div.playbackmenu {
    height: 18px;
    flex: 0;
    /*width:400px;*/
    display: flex;
    margin-top: 1px;
    /*margin-left:4px;*/
    background: #222;
    padding-left: 5px;
    padding-right: 5px;
}

img.timelineimg{
    margin-right: 2px;
    width: 12px;
    height:12px;
    display:flex;
    box-sizing: border-box;
}


div.zoom {
    border: 0;
    height: 16px;
    margin: 1px;
    margin-left:5px;
    padding: 0;
    width: 380px;
    position:relative;
    display: flex;
}

div.zoombar {
    border: 0;
    height: 2px;
    margin-top: 8px;
    padding: 0;
    width: 375px;
    background: #999;
    position: relative;
}

div.zoombutton {
    background: #ddd;
    width: 6px;
    height: 15px;
    margin-top: 1px;
    position: absolute;
    top: -8px;
    left:-3px;
    cursor: ew-resize;
}


div.zoombarDisabled {
    border: 0;
    height: 2px;
    margin-top: 8px;
    margin-left: 5px;
    padding: 0;
    width: 375px;
    background: #1c1c1c;
    position: relative;
}

div.zoombuttonDisabled {
    background: #1c1c1c;
    width: 6px;
    height: 15px;
    margin-top: 1px;
    position: absolute;
    top: -8px;
    left:-3px;
}

div.zoombutton:hover {
    background: #999;
}

div.cutline {
    position:absolute;
    display: flex;
    left:0px;
    top:0px;
    height:100%;
    width:1px;
    box-sizing: border-box;
    border-right: 1px dashed black;
    visibility: hidden;
    user-select:none;
    pointer-events: none;
    z-index:900;
}

div.timelinelayer{
    display:flex;
    flex-direction:row;
    position: relative;
    padding:0;
    background-color:#222;
    z-index:100;
}


div.timelinelayercontent{
    display:flex;
    flex:1;
    height:100%;
    position:relative;
    flex-direction:row;
}

div.timelineline{
    display: flex;
    position:relative;    
    height: 100%;
    font-weight: bold;
    overflow: hidden;
    box-sizing: border-box;
}

div.timelinelinedragover {
    display:flex;
    position:absolute;
    height:100%;
    width:3px;
    right:0px;
    background: #79c9dd;
    border:0;
}

div.timelinetitlescript{
    display: flex;
    position:relative;
    justify-content: center;
    vertical-align: middle;
    height:100%;
    width:100%;
    font-family: "Tahoma";
    font-size:11px;
    /*font-weight: bold;
    text-shadow: 1px 1px 3px #000;*/
    color:#111;
    background-color: #555;
    box-sizing: border-box;
    border-left: 1px solid #222;
    border-top: 1px solid #222;
    border-right:0px;
    overflow: hidden; 
    user-select:none;
    border-top-left-radius:4px;
    border-top-right-radius:4px;
}



.timelinetitletext{
    display:table-cell;
    padding-left:2px;
    padding-top:1px;
    position:relative;
    overflow: hidden;
    text-overflow:clip;
    white-space:nowrap;
    justify-content: center;
    vertical-align: middle;
    box-sizing: border-box;
    color:#000;
    pointer-events: none;
    user-select:none;
}

div.timelinelinehighlighted {
    background-color: #7ac1cf !important;
    color: #000 !important;
}

div.timelinelineselected {
    background-color: #79c9dd !important;
    color: #000 !important;
}


div.timelinefiller{
    height: 100%;
    overflow: hidden;
    display: flex;
    flex:0 0 50px;
    position:relative;
}


div.timelineaudio {
    height: 100%;
    position: relative;
    background: #444;
    cursor: auto;
    z-index: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: none;
}

div.timelinetitlenoaudio {
    display: flex;
    position:relative;
    justify-content:center;
    align-items:center;
    background:#444;    
    height:30px;    
    width:100%;
    font-family: "Tahoma";
    font-size:10px;
    box-sizing: border-box;
    border-left:0;
    border-right:0px;
    border-top:14px solid #222;
    border-bottom:15px solid #222;
    padding-left:2px;
    margin-left: 1px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    user-select:none;
}

div.timelinetitleaudio{
    display: flex;
    flex:1;
    position:relative;
    justify-content:center;
    align-items:center;
    height:100%;
    width:100%;
    font-family: "Tahoma";
    font-size:10px;
    box-sizing: border-box;
    padding-left:2px;
    margin-left: 1px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    user-select:none;
    border-top: 1px solid #222;
}

div.timelinenoaudioselected {
    box-sizing: initial !important;
    border-top:14px solid #79c9dd !important;   
    border-bottom:15px solid #79c9dd !important;  
    height:1px !important;
}

div.timelinenoaudiohighlight {
    box-sizing: initial !important;
    border-top:14px solid #7ac1cf !important;
    border-bottom:15px solid #7ac1cf !important;
    height:1px !important;
}

div.timelineaudioactivated {
    height: 30px;
    top:0px;
    position: absolute;
    overflow: hidden;
    z-index:10;
    box-sizing:border-box;
    display:flex;
    background: #444;
}

div.timelineaudiohandle {
    height: 30px;
    width: 4px;
    position: absolute;
    top: 0px;
    z-index:850;
    border:0;
    padding:0;
}

div.timelineaudiohighlight {
    position:absolute;
    display:flex;
    border:0px solid #666;
    box-sizing: border-box;
    height:100%;
    width:100%;
    z-index:750;
    pointer-events:none;
}

.timelineaudiohighlightall {
    border:2px solid #79c9dd !important;
}

.timelineaudiohighlightright {
    border-right:2px solid #79c9dd !important;
}

.timelineaudiohighlightleft {
    border-left:2px solid #79c9dd !important;
}

div.timelineaudioimg {
    position:absolute;
    display:flex;
    flex:0;
    width:100%;
    height:30px;
    overflow:hidden;
    pointer-events:none;  
    z-index:10;
}

img.timelineaudioimg {
    position: relative;
    display: flex;
    flex:0 0 200px;
    height:30px;
    pointer-events: none;     
    z-index: 15;
    overflow:hidden;
    
}

.timelineaudiowaveform { 
    background-image: url(../Common/waveform.png);
    background-color:transparent;
}

.timelineaudiowaveformactive {
    margin-top:1px !important;
    filter:sepia(100%) brightness(3) hue-rotate(27deg) saturate(1000%);
}




div.timelineboard{
    height: 120px;
    width: 100%;
    border-left: 1px solid black;
    /*border-right:0px;*/
    box-sizing: border-box;
    overflow: visible;
    background: #ddd;
    position: relative;
}


div.timelineboardcontainer {
    border-top: 1px solid #222;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    pointer-events:none;
}

div.timelineboardselected {
    height: 100%;
    width: 100%;
    left: 0px;
    top: 1px;
    border: 3px solid #79c9dd;
    margin-right: 1px;
    box-sizing: border-box;
    overflow: hidden;
    background: none;
    display: flex;
    position: absolute;
    z-index: 860;
    user-select: none;
    pointer-events:none;
}

div.timelineboardempty{
    height: 100%;
    width: 100%;
    border: 0px solid black;
    box-sizing: border-box;
    overflow: visible;
    background: #777;
    position: relative;
}

img.timelineboardimg{
    height: 119px;
    background:#fff;
    user-select:none;
    pointer-events:none;
}

div.timelineboarddrag{
    width: 4px;
    height: 100%;
    position: absolute;
    display: flex;
    right:-2px;
    top: 0px;
    background: none;
    border: 0;
    margin-top:1px;
    padding:0;
    cursor: ew-resize;
    z-index: 850;

}
div.timelineboarddraghighlight{
    background: #7ac1cf !important;
}

div.timelineboarddraghighlight:active{
    background: #79c9dd !important;
}

div.timelinerulerbox {
    position: relative;
    display: flex;
    height: 20px;
    padding-top:2px;
    overflow: hidden;
    user-select:none;
    z-index:800;
    cursor: ew-resize;
}

div.timelineruler {
    position: relative;
    display: flex;
    flex:0 0 1921px;
    height: 20px;
    z-index:700;
    justify-content: space-between;
    pointer-events: none;
}

div.timelinerulerlinetall {
    position:relative;
    display:flex;
    width:1px;
    border:0;
    background:#ddd;
    height:14px;
    z-index:700;
    pointer-events: none;
}

div.timelinerulerlinemid {
    position: relative;
    display: flex;
    width: 1px;
    border: 0;
    background: #ddd;
    height: 10px;
    z-index:700;
    pointer-events: none;
}

div.timelinerulerlineshort {
    position: relative;
    display: flex;
    width: 1px;
    border: 0;
    background: #ddd;
    height: 4px;
    z-index:700;
    pointer-events: none;
}

div.timelinerulernumber {
    position:absolute;
    font-size:11px;
    display:flex;
    color: #eee;
    left:-16px;
    top:3px;
    z-index:700;
    pointer-events: none;
}

div.needle{
    position: absolute;
    left: 0px;
    top: 4px;
    height: 185px;
    width:5px;
    cursor: ew-resize;
    z-index: 850;
    flex:0;
    overflow: visible;
    justify-content:center;
    display:flex;
}

div.needlearrowtop {
    display: flex;
    position: absolute;
    width: 0px;
    height: 0px;
    left:-1px;
    top:-3px;
    z-index: 850;
    border-top: 4px solid red;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    pointer-events: none;
}

div.needlearrowbottom {
    display: flex;
    position: absolute;
    width: 0px;
    height: 0px;
    left: -1px;
    bottom: -3px;
    z-index: 850;
    border-bottom: 4px solid red;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    pointer-events: none;
}

div.needleLine{
    display: flex;
    position:relative;
    background: #ff0000;
    width:1px;
    height:100%;
    pointer-events: none;
}


div scene, header, action, character
{
    contenteditable: 'true';
}


.timelinecollapse {
    height:60px;
    display: flex;
    position: relative;
    background: #222;
    padding-left: 30px;
    padding-bottom:10px;
    overflow-y: hidden;
    overflow-x: scroll;
    scrollbar-width: thin;
    scrollbar-color: auto;
}

.timelinelinecollapse {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 20px;
    background: #777;
    font-weight: bold;
    line-height:100px;
    box-sizing: border-box;
    overflow: hidden;
}

.needlecollapse {
    height: 50px;
    top: 5px;
    position: absolute;
    left: 38px;
    width:5px;
    padding-left: 2px;
    padding-right: 2px;
    cursor: ew-resize;
    z-index: 5;
}

.timelineaudiocollapse {
    height: 10px;
    top: 45px;
    position: absolute;
    background: #444;
    cursor: ew-resize;
    z-index: 0;
    box-sizing: border-box;
}

div.timelinefillercollapse{
    height: 20px;
    background: #222;
    line-height:100px;
    overflow: hidden;
    display: flex;
    position:relative;
}