/** {border: 0; margin: 0; padding: 0; scroll-behavior: smooth;}*/
html {
    height: 100%;
    margin:0;
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}
body{
    height: 100%;
    margin:0;

    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;

    background: url('image/blueprint.png');
    background-attachment: fixed;
    background-size:cover;
}

input, select{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
[nct-init="workspace"]{
    
    width: 100%;
    height: 100%;
    
    position: relative;
}
[nct-init="key_status"]{
    position:fixed;
    display:block;
    bottom:50px;
    width: 100%;
    text-align: center;
    color:white;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 3em;
    font-weight: 400;
    line-height: 1.5;
}
[nct-role="version"]{
    position:fixed;
    bottom:10px;
    width: 100%;
    text-align: center;
    color:white;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.5;

}
.headBar{
    position: fixed;
    justify-content: center;
    top:0;
    left:0;
    height: 30px;
    z-index: 1000; 
    width:100%;
    background: url('image/blueprint.png');
    background-attachment: fixed;
    background-size:cover;
    border-bottom:1px dashed white;
}

.headBar [nct-init="head"]{
    margin:auto;
    text-align: center;
    display: inline-flex;
    justify-content:center;
    align-items: center;
    align-self: center;
    justify-self: center;
    height: 100%;
    width: 100%;
}

.headBar [nct-role="title"]{

    color: #e2dfdf;
    font-weight: 1.1em;
    padding-top:5px;
}

.headBar .headMenu {
    display: none;
    position: absolute;
    right: -150px;
    top: -10;
    padding: 10px;
    border-radius: 5px;
    width: 300px;
    background: url('image/blueprint_panel.png');
    background-size:cover;
    overflow: auto;
}
.headBar [nct-init="list_item"] {
    padding: 10px;
}
.headBar [nct-init="list_item"]:hover{
    cursor: pointer;
    color:white;

}
.headBar [nct-role="btn_change"] {
    display: block;
    justify-content: center;
    padding: 10px;
    color: #e2dfdf;
    font-weight: 1.1em;
    position: relative;
}
.headBar [nct-role="btn_change"]:hover {
    cursor: pointer;
}
.headBar [nct-role="btn_change"]:hover .headMenu{
    display: block;
}
.headMenu [nct-role="toolbar"], .leftPanel .toolbar {
    padding: 2px;
    border-radius: 2px;
    height:35px;
}

.headMenu [nct-role="toolbar"]
{
    position: relative;
}

.headMenu [nct-role="toolbar"] .btn, .leftPanel .toolbar .btn {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2dfdf;
    color: white;
    display: block;
    position: relative;
}
 
.headMenu [nct-role="toolbar"] .btn i, 
.leftPanel .toolbar .btn i {
    padding-top: 8px;
    display: block;
    position: relative;
}

.headMenu [nct-role="toolbar"] .btn:hover , .leftPanel .toolbar .btn:hover {
    cursor: pointer;
    background-color: rgba(237, 242, 243, 0.582);
    
}
/*
* MARK: WORKSPACE
*/
[nct-init="workspace"] .leftPanel {
    height: 100%; /* 100% Full-height */
    width: 200px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; 
    top: 0; /* Stay at the top */
    left: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 40px; /* Place content 60px from the top */
    border-right:1px dashed white;
}
[nct-init="head"] [nct-role="tag_list"]
{
    width: 25px;
    height: 25px;
    border-radius: 5px;
    background:url('image/tag_list.png');
    background-size: contain;
    margin:2px;
}

[nct-init="head"] [nct-role="tag_list"]:hover{
    cursor: pointer;
    border: 1px solid white;
    background-color: rgba(237, 242, 243, 0.582);
}
/*[nct-init="workspace"] [nct-role="entities"] {
}*/

[nct-init="workspace"] .workspace {

    padding-top: 40px;
    padding-right:20px;
    margin-left: 200px;

    padding-left: 10px;
    max-width: fit-content;
}

[nct-init="wp_toolbar"] {
    position: fixed;
    display: flex;
    top:40px;
    left:200px;
    height: 30px;
    width: 100%;
    z-index: 100;
}
[nct-role="workingPad"] {
    padding-top: 30px;
}
/*
# TOOLBAR
*/
[nct-init="wp_toolbar"]
{
    padding-left: 5px;
}
[nct-init="wp_toolbar"] [nct-role="btnAddPod"] {

    border: 1px solid white;
    border-radius: 5px;
    height: 20px;
    width: 20px;
    background:url('image/btn_add.png');
    background-size: contain;
    margin:2px;
}
[nct-init="wp_toolbar"] [nct-role="btnAddPod"]:hover{
    cursor: pointer;
    background-color: rgba(237, 242, 243, 0.582);
}
/*
# TOOLBAR - Template
*/
[nct-init="wp_toolbar"] [nct-role="btnAddPodTemplate"] {

    border: 1px solid white;
    position: relative;
    border-radius: 5px;
    height: 20px;
    width: 20px;
    background:url('image/btn_add_template.png');
    background-size: contain;
    margin:2px;
}
[nct-init="wp_toolbar"] [nct-role="btnAddPodTemplate"]:hover{
    cursor: pointer;
    background-color: rgba(237, 242, 243, 0.582);
}

[nct-role="btnAddPodTemplate"] [nct-role="templateList"]{
    display: none;
    position: absolute;
    left: 0px;
    top: 5px;
    width: fit-content;
    min-width: 200px;
    font-size: 1em;
    background-color:white;
    border-radius: 5px;
}
[nct-init="wp_toolbar"] [nct-role="btnAddPodTemplate"]:hover [nct-role="templateList"]
{
    display: block;
}
[nct-role="templateList"] > div 
{
    margin:5px;
    border-radius: 4px;
    padding:5px;
    color:rgb(46, 128, 195);
}

[nct-role="templateList"] > div:hover
{
    background-color: rgba(56, 147, 226, 0.929);
    color:rgb(137, 198, 247);
}
/*
# TOOLBAR - undo redo
*/
[nct-init="wp_toolbar"] [nct-role="btnUndo"], [nct-init="wp_toolbar"] [nct-role="btnRedo"]
{
    position: relative;
    border: 1px solid white;
    border-radius: 5px;
    height: 20px;
    width: 20px;
    background-size: contain;
    margin:2px;
}

[nct-init="wp_toolbar"] [nct-role="btnUndo"]
{
    background-image:url('image/btn_undo.png'); 
}
[nct-init="wp_toolbar"] [nct-role="btnRedo"]
{
    background-image:url('image/btn_redo.png'); 
}

[nct-role="btnUndo"] [nct-role="undoCount"], [nct-role="btnRedo"] [nct-role="redoCount"] {
    position: absolute;
    display: none;
    bottom:-4px;
    left:-2px;
    min-width: 8px;
    height: 8px;
    border-radius: 8px;
    padding:2px;
    background-color: #ee846a;
    font-size: 0.5em;
    color: white;
    z-index: 1000;
    text-align: center;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}
[nct-role="btnUndo"].active , [nct-role="btnRedo"].active {
    display: block;
}
[nct-role="btnUndo"].active [nct-role="undoCount"], [nct-role="btnRedo"].active [nct-role="redoCount"] {
    display: flex;
}
[nct-init="wp_toolbar"] [nct-role="btnUndo"].active:hover, [nct-init="wp_toolbar"] [nct-role="btnRedo"].active:hover
{
    cursor: pointer;
    background-color: rgba(237, 242, 243, 0.582);
}
/*
# ENTITY-ITEM
*/
[nct-init="entity_item"]{
    position: relative;
    font-weight: bold;
    margin: 2px;
    border-radius: 2px;
    padding: 0 5px;
    color: #e2eff5;
}
[nct-init="entity_item"] [nct-role="btnRemove"]
{
    display:none;
    position: absolute;
    right:5px;
    top:5px;
    text-align: center;
    width: 15px;
    height: 15px;
    background-color: #dc3b3b;
    border-radius: 4px;
}
[nct-init="entity_item"] [nct-role="btnRemove"]:hover{
    background-color: #b82929;
}
[nct-init="entity_item"]:hover [nct-role="btnRemove"]{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}

[nct-init="entity_item"].active , [nct-init="entity_item"]:hover{

    cursor: pointer;
    background-color: rgb(145, 96, 32);
}
[nct-init="pod"]
{
    position: relative;
}
/*
# POD
*/
[nct-init="pod"] [nct-role="folder"] {
    display: flex;
    padding-left: 10px;
    align-items: center;
    justify-content: center;
}
[nct-init="pod"] [nct-role="indent"], [nct-init="pod"] [nct-role="folderContent"]{

    color:#7fb2e6;
}

[nct-init="pod"] [nct-role="folderContent"] {

    width: 10px;
    text-align: center;
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    height: 100%;
}

[nct-init="pod"].object>.panelTitle:first-of-type>[nct-role="folder"]:hover>.indicate{
    position: absolute;
    height: 90%;
    width: 8px;
    left:0px;
    top:5%;
    background-color: #1d6bba;
}
[nct-init="pod"].object.folded [nct-role="folder"] .indicate{
    position: absolute;
    height: 90%;
    width: 8px;
    left:0px;
    top:5%;
    background-color: #de3d14;
}
[nct-init="pod"] .panelTitle, [nct-init="pod_static"] .panelTitle{
    position: relative;
    display: flex;
    color: white;
    border-radius: 2px;
    margin-right: auto;
    padding-left:2px;
    padding-right:2px;
    align-items:center;
    padding-right:30px;
    margin-top:1px;
    margin-bottom: 1px;
}
[nct-init="pod"] [nct-role="panelTitle"]
{
    display: flex;
    align-items: center;
}
[nct-init="pod"] [nct-role="container"] {
    display: block;
}
[nct-init="pod"].folded [nct-role="container"] {
    display: none;
}

[nct-init="pod"] .panelTitle:hover{

    cursor: pointer;
    background-color: rgb(145, 96, 32);
}

[nct-init="pod"] .panelTitle [nct-role="btnRemove"]{
    display: none;
    width: 15px;
    height: 15px;
    background-color: #dc3b3b;
    border-radius: 4px;
}

[nct-init="pod"] .panelTitle:hover [nct-role="btnRemove"]{

    display: flex;
    position: absolute;
    right:5px;
    top:5px;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

[nct-init="pod"] [nct-role="btnRemove"]:hover{
    background-color: #b82929;
}

[nct-init="pod"] [nct-init="head"]{

    border-radius: 2px;
    padding-left: 2px;
    padding-right: 2px;
}

[nct-init="pod"] [nct-role="type"]{
    color:rgba(140, 235, 248, 0.822);
}

[nct-init="pod"] [nct-role="value"]{
    color:rgb(87, 255, 87);
    margin-left:5px;
}

[nct-init="pod"]>.panelTitle [nct-role="title"] 
{
    padding: 2px;
    border-radius: 2px;
    display: block;
    margin-right: 2px;
}

[nct-init="pod"].active>.panelTitle [nct-role="title"] , [nct-init="pod"] [nct-role="title"]:hover{

    background-color: rgb(203, 82, 42);
}

[nct-init="pod"] [nct-role="template_name"]
{
    font-size: 0.8em;
    color:rgb(133, 219, 133);
}
/* POD - template hightlight*/
[nct-init="pod"].template_highlight
{
    background-color: rgb(11, 104, 185);
}
/* MODIFIER */

[nct-init="editor"] .title {
    position: relative;
}
[nct-role="modPad"]{
    display: none;
}
[nct-role="modPad"].active{
    display: block;
}

[nct-init="editor"] [nct-role="modifier"] {

    position:fixed;
    right: 50px;
    top: 60px;
    width: 220px;
    min-height: 330px;
    max-height: 80%;
    border-radius: 3px;
    background: url('image/blueprint_panel.png');
    background-size:cover;
    padding:10px;
    border: 1px dashed white;
    color:white;
}

[nct-role="modifier"] .subTitle {

    color:rgb(202, 218, 221);
    width:50px;
}


[nct-role="modifier"] input, [nct-role="modifier"] select {

    border-radius: 8px;
    border-style: solid;
    border-width: 1px;
    height: 25px;
    width: 100%;
    font-size: 0.9em;
    color: rgb(70, 69, 69);
    background-color: rgb(202, 225, 243);
}

[nct-role="modifier"]  input:focus{
    outline: none;
}

[nct-role="modifier"] [nct-role="btnAddMeta"] {

    position: absolute;
    right: 0px;
    top: 4px;
    border: 1px solid white;
    border-radius: 5px;
    height: 15px;
    width: 15px;
    background:url('image/btn_add.png');
    background-size: contain;
}

/* MODIFIER META */
[nct-init="modifier.meta"] {

    margin-top: 5px;
}

[nct-init="modifier.meta"]:first-of-type {
    margin-top: unset;
}
[nct-init="modifier.meta"] .panelTitle {
    position: relative;
}

[nct-init="modifier.meta"] [nct-role="name"] {
    width: 80%;
    margin-right: 15%;
    
}
[nct-init="modifier.meta"] .toolbar
{
    position: absolute;
    display: flex;
    right: 0px;
    top: 4px;
    width: 20%;
}
[nct-init="modifier.meta"] .toolbar > div 
{
    margin:2px;
}
[nct-init="modifier.meta"] [nct-role="btnPick"] {

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    border-radius: 5px;
    height: 15px;
    width: 15px;
    
    text-align: center;
    /*background:url('image/btn_minus.png');*/
    background-size: contain;
}
[nct-init="modifier.meta"] [nct-role="btnPick"] i {
    font-size: 0.5em;
}
[nct-init="modifier.meta"] [nct-role="btnPick"]  .metaPicker {
    display: none;
    position: absolute;
    right: -50%;
    top: 5;
    padding: 5px;
    width: fit-content;
    min-width: 200px;
    font-size: 1em;
    background: url('image/blueprint_panel.png');
    background-size:cover;
}
[nct-init="modifier.meta"] [nct-role="btnRemoveMeta"] {

    border: 1px solid white;
    border-radius: 5px;
    height: 15px;
    width: 15px;
    background:url('image/btn_minus.png');
    background-size: contain;
}
[nct-init="modifier.meta"] [nct-role="btnRemoveMeta"]:hover , 
[nct-role="modifier"] [nct-role="btnAddMeta"]:hover,
[nct-init="modifier.meta"] [nct-role="btnPick"]:hover
{
    background-color: rgb(149, 232, 243);
}

[nct-init="modifier.meta"] [nct-role="btnPick"]:hover .metaPicker
{
    display: block;
}

/* TOOL PAD */
[nct-init="editor"] [nct-role="toolPad"] {
    position:fixed;
    right: 50px;
    bottom: 20px;
    width: 220px;
}
[nct-init="editor"] [nct-role="toolPad"] > div{
    
    height: 30px;
    border-radius: 3px;
    border: 1px dashed white;
    color:white;
    margin:auto;
    margin-bottom:5px;
    text-align: center;
}

[nct-init="editor"] [nct-role="toolPad"] > div:hover{
    font-weight: bold;
    cursor: pointer;
}

/*MARK: Form Login*/
[nct-init="form_login"] .btn-option{
    color:rgb(104, 107, 110);
    font-size: 0.9em;
}
[nct-init="form_login"] .btn-option:hover{
    cursor: pointer;
    color:rgb(44, 105, 197);
}