[contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}
#navigationdata .section{
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 1px;}

.tokenizer-buttons label {color: #333;}
lf-groupeditor{display: flow-root;}
screen {
    min-height: 40vh;
    display: block;
    position: relative;

    border-style: solid;
    border-width: 1px;
    border-color: #22222220;
    margin: 4px;
}
screen:hover{
    border-color: #870a0a;
}


h1{position:relative}

 h1>token-close{   position: absolute;
    bottom: 0px;
    right: 0px;
    margin-bottom: 0px;
    line-height: 1em;
}

h1>token-open{   position: absolute;
    top: 0px;
    left: 0px;
    margin-bottom: 0px;
    line-height: 1em;
}

langen {
    display: block;
    outline: 1px dashed rgba(180,25,25,0.3);
}

langit {
    display: block;
    outline: 1px dashed rgba(0,0,255,0.2);
}
screen> token-close {
    position: absolute;
    bottom: 0;
    right: 0;
}
token-self,token-open,token-close{
    font-weight: bold;
    color: #833;
    background-color: rgba(226, 224, 224, 0.71);
    border-radius: 0.5em;
    box-shadow: #666 2px 1px 6px -2px;
    padding: 1px;
    margin-left:1px;
    margin-right: 0.1em;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
    cursor:default;
    }
token-self[data-node='br'] {
    opacity: 0.3;
}

token-self.fadeout {
    opacity: 0;
    transition: 0.5s ease-out;
}
    
token-self.scriptengine.tokbreak:after {
    content: "";
    display: block;
    color: #aaa;
    font-style: italic;
}
token-self.scriptengine.tokbreak{color:#aaa;}
    metadesc token-open {
    color: #49bf53;
    background-color: inherit;
    box-shadow: none;
}
.hidetoken token-close:not([data-node='langit']):not([data-node='langen']) {
    display: none;
}

.hidetoken token-open:not([data-node='langit']):not([data-node='langen']) {
    display:none;
}
    .hidetoken token-self:not(.tokbreak, .scriptengine, .tokimage){display:none;}

metadesc token-close {
    color: #49bf53;
    background-color: inherit;
    box-shadow: none;
}
token-self token-open {
    background-color: inherit;
    box-shadow: none;
    color: red;
}
token-self token-close {
    background-color: inherit;
    box-shadow: none;
    color: red;
}   
    .tokenizer-buttons{
        /* background-color:#FFF; */
        /* max-height:2em; */
        height: 100%;
        opacity: 0;
        max-height: 0px;
}
.fadeout{
    opacity: 0;
    transition: 0.5s ease-out;
}    

    .tokenizer-buttons.hidden{display: none;}
.tokenizer-buttons>.btn {
    box-shadow: #999 1px 2px 4px;
    box-shadow:var(--lf_shadowCol3) 1px 2px 4px 2px;
    padding: 4px;
    margin: 5px;
    vertical-align: middle;
    cursor: pointer;
    border: 1px;
    border-style: solid;
    border-color:#999;
    color:#333;
    color:var(--lf_colorNormal);
    /* line-height: 3em; */
    display: inline-block;
    /* font-size: 0.8em; */
}
.tokenizer-buttons>.activebtn {
   
   
    box-shadow: #646de6 2px 2px 8px;
    padding: 4px;
    margin: 5px;
    vertical-align: middle;
    cursor: pointer;
    border: 1px;
    border-style: solid;
    background-color: #1175cc;
    color: #e1ebf5;
}



tagscript,render{display:block;
    padding: 1em;
    background-color: #fbfbfb;
    color: #333;}   
.scriptengine.command{color:#004cff;}

token-self.scriptengine,span.scriptengine {
 
    background-color: initial;
    color: #900;
    padding: 0px;
    box-shadow: none;
    font-weight: bold;
}

tagstyle{display:block;padding:1em;background-color:#e2eae7;color:#33804b;padding-left: 2em;
    font-family:
    "JetBrains Mono", "Cascadia Code", "Fira Code",
    "SFMono-Regular", Menlo, Consolas, "Liberation Mono",
    "DejaVu Sans Mono", Monaco, "Lucida Console", monospace;

} 
.tokenizer-buttons>.btn:hover {
    box-shadow: #C2C2C2 4px 4px 8px;
    box-shadow: var(--lf_shadowCol2) 0px 0px 4px 0px;
    color:#363;
    color: var(--lf_colorHighlight);
    border-color: var(--lf_border_accent);
}

.tokenHide{display:none;}
.angularopen{vertical-align:middle;text-align:center;}

svg.symbolstyle {
 
    stroke-width: 15;   
    vertical-align: middle;
}

.activebtn>.symbolstyle {
    stroke: #e7ff09;    
}
renderscript,tagscript,tagstyle {
   display: block;
    width: 100%;
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
   
    border-width: 1px;
  
    padding-top: 2em;
    padding-bottom: 2em;
    background-color: #edf4fb;
    box-sizing:border-box;

}

tagstyle token-open {
    position: absolute;
    top: 0;
    left: 0;
  
}

tagstyle token-close {
    position: absolute;
    bottom: 0;
    right: 0;
}

tagstyle::before {
    content: "";
    position: absolute;
    border: #e1e1e1;
    border-style: solid;
    border-width: 1px;
    top: 1.6em;
    left: 1.6em;
    right: 1.6em;
    bottom: 1.6em;
    pointer-events: none;
}


.render {
    background-color: beige;
    padding: 0.5em;
    border: red;
    border-style: dashed;
    border-width: thin;
    margin: 1em;}


.btn>.symbolstyle{stroke:#ccc;}
paragraph{display:block;clear:both;position:relative;padding-bottom:1em;}
token-self.tokimage{display:inline-block;border:#F33;border-style:dashed;border-width:1px;}
doceditor{display:block;color:#333;
    /*clear:both;*/
    line-height:1.5em;}
doceditor:after{ content: "";
  visibility: hidden;
  display: block;
  height: 0;
/*  clear: both;*/

}
paragraph:after{ content: "";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;}  
token-self.tokimage {
    display: inline-block;
    border: #F33;
    border-style: dashed;
    border-width: 1px;
    
}
token-self.tokimage.newsimagecenter {
    width: 100%;
    margin: 0px;
    padding: 0px;
}
.newsimagecenter{    width: 100%;
    margin: 0px;
    padding: 0px;
}   
paragraph>token-close{position:absolute;bottom:0px;right:0px;margin-bottom:0px;line-height: 1em;}

paragraph>token-open{margin-top:0px;}
doctitle{margin-bottom:1em;padding:0.5em;display:block;}
#titleframe{    position: fixed;
    left: 30%;
    right: 30%;
    top: 30%;
    /* margin: auto; */
   padding:2em;
   border:#900;
   border-style:solid;
   border-width:1px;
    background-color: white;
    box-shadow: #333 4px 4px 8px;
    z-index: 1300;}
#titleframe>button{margin:auto;}    
tagmebar,#buttonbar{margin-bottom:0.5em;margin-top:0.5em;}
@media (max-width:500px)
{
    .tokenizer-buttons{
        font-size:4mm;
        display: flex;
        flex-wrap: wrap;
        align-content: space-around;
        /* line-height: 2em; */
        /* margin: 2em; */
        margin-bottom: 1em;
        }  
       .tokenizer-buttons>.btn{display: block;margin: auto;/* margin: 1.2em; */font-size: 1.1em;}
   
    
}