/*
---------------------------------------------------------------
------------- PANEL/PAGE DISPLAY ---------------------------------
---------------------------------------------------------------
*/

div.script{
    width:100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: auto;
    position: relative;
    align-items: center;
    min-width:780px;
}


div.script::-webkit-scrollbar-track {
  background: #333;
}

/*---------- Top and bottom margin of page ---------*/

div.pagefillertop {
    margin-top: 20px;
    flex: 0 0 50px;
}

div.pagefillerbottom {
    flex: 0 0 1000px;
    margin-bottom: 20px;
}

/*
---------------------------------------------------------------
------------- LINE DISPLAY (LINE TYPE FORMATTING) -------------
---------------------------------------------------------------
*/
div.line {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    background: #fff;
    position: relative;
    width: 560px;
    padding-left: 110px;
    padding-right: 110px;
    outline: none;
    justify-content: left;
    z-index: 1;
}    

div.pagefiller {
    padding-bottom: 0px !important;
}

.linetitle{
    align-items:center;
}

div.lineSelected {
    width: 780px;
    position: absolute;
    background:#f5f5f5;
    left: 0px;
    top: -10px;
    height: 100%;
    z-index: -1;
    border:solid 10px #79c9dd;
    border-top:0px;
    border-bottom:0px;
    box-sizing:border-box;
}

div.lineOver {
    width: 780px;
    position: absolute;
    background:none;
    left: 0px;
    top: -10px;
    height: 100%;
    z-index: 800;
    border-bottom:solid 2px #79c9dd;
    box-sizing:border-box;
}

.texthint {
    text-align: left;
    justify-content: left;
    height: 20px;
    color: #999;
    z-index: 0;
    position: absolute;
    user-select: none;
    display: flex;    
}

.texthintheader {
    font-weight: bold;
    text-transform: uppercase;
    left: 110px;
    top: 0px;
}

.texthintaction {
    left: 110px;
    top: 0px;
}

.texthintdialogue {
    top:20px;
    left:210px;
}

.texthintcharacter {
    text-transform: uppercase;
    top:0px;
    left:210px;
}

.texttitle {
    display:flex;
    color:black;
    justify-content: center;
    min-height:20px;
    z-index:100;
    text-transform: uppercase;
}

.textauthor {
    display:flex;
    color:black;
    justify-content: center;
    min-height:20px;
    z-index:100;
    user-select:none;
}

.textaction, .textheader, .textscene, .textdialogue, .textcharacter {
    color: black;
    text-align: left;
    justify-content: left;
    min-height: 20px;
    white-space: pre-wrap;
    z-index:100;
}

.textscenenumber {
    display:flex;
    position:absolute;
    right:670px;
    top:0px;
    justify-content: right;
    height:20px;
}

.textheader, .textscene {
    font-weight: bold;
    text-transform: uppercase;
}

.textbold {
    font-weight: bold;
}

.textdialogue {
    position: relative;
    display:flex;
    padding-left: 100px;
    padding-right: 100px;
}

.textcharacter {
    position: relative;
    display: flex;
    margin-left: 110px;
    padding-left:100px;
    text-transform: uppercase;
    padding-bottom: 0px;
    z-index: 100;
}



/*
---------------------------------------------------------------
------------- MENUS -------------------------------------------
---------------------------------------------------------------
*/


/*---------- line menu ---------*/

div.linemenu{
    position: absolute;
    display: flex;
    flex-direction:row;
    left:15px;
    top:-10px;
    background:#79c9dd;
    border-radius:3px;
    z-index:850;
    padding:2px;
    /*border:5px solid #e9e9e9;*/
}

div.linetopmenu {
    display: flex;
    flex-direction:column;
    width: 20px;
    height:100%;
    box-sizing: border-box;
    /*
    background: #444;
    border: 1px solid #555;
    */
    padding: 0;
    position: absolute;
    top: 0px;
    right: -28px;
    z-index: 901;
    /*filter: drop-shadow(0 0 3px #000);*/
}







