.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */
.json-editor {
    width: 50%;
    height: 100vh;
    float: left;    
}

.json-editor textarea{
    height: 50vh;
    display:block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    cursor: text;
}

.tree {
    width: 50%;
    height: 100vh;
    box-sizing: border-box;
    float:left;
    min-height:20px;
    background-color:#fbfbfb;
    border:1px solid #999;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    overflow: auto;
}
.tree li {
    list-style-type:none;
    margin:0;
    padding: 10px 5px 0 5px;
    position:relative
}
.tree li::before, .tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto
}
.tree li::before {
    border-left:1px solid #999;
    bottom:50px;
    height: 100%;
    top:0;
    width:1px
}
.tree li::after {
    border-top:1px solid #999;
    height:20px;
    top:25px;
    width:25px
}
.tree li .node {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:1px solid #999;
    border-radius:5px;
    display:inline-block;
    padding:3px 8px;
    text-decoration:none
}
.tree li.parent_li>.node {
    cursor:pointer
}
.tree>ul>li::before, .tree>ul>li::after {
    border:0
}
.tree li:last-child::before {
    height:30px
}
.tree li.parent_li>.node:hover, .tree li.parent_li>.node:hover+ul li .node {
    background:#eee;
    border:1px solid #94a0b4;
    color:#000
}

.tree li.parent_li .node.editing {
    border:1px solid #069D1F;
    font-weight: bold;
}

.mask {
    height: 100vh;
}

.instructions {
    padding-top: 45vh;
    text-align: center;
    font-weight: 500;
    font-size: 3.5vw;
    line-height: 5vw;
}

.domains{
    background-color: rgb(174, 174, 252);
}

.strings{
    background-color: rgb(249, 142, 142); 
}

.geometries{
    background-color: rgb(247, 247, 178);
}

.numbers{
    background-color: rgb(252, 217, 155);
}

.dates{
    background-color: rgb(161, 255, 248);
}

.primary-key{
    background-color: rgb(138, 218, 138);   
}

.foreign-key{
    background-color: rgb(244, 173, 244);
}

.relationship::after {
    content:'';
    left: auto;
    position:absolute;
    right:auto;
    border-top:1px solid #999;
    height:20px;
    top:25px;
    width:25px
}

.relationship {
    padding-left: 2px;
    margin-right:20px;
}

.node-editor {
    height: 50vh;
    box-sizing: border-box;
}

.node-editor form {
    padding: 20px;
}

.form-header {
    box-sizing: border-box;
    width: 100%;
    background-color: rgb(236, 236, 236);
    z-index: 100;
    opacity: 0.9;
    border-radius: 6px;
    border: 1px rgba(0, 0, 0, 0.35) solid;
    height: 48px;
    padding: 12px;
    font-weight: bold;
}

.form-control {
    width: 100%;
}

input.form-control {
    width: 95%;
}

.resource-controls {
    position: fixed;
    box-sizing: border-box;
    width: 50%;
    background-color: rgb(236, 236, 236);
    z-index: 100;
    opacity: 0.9;
    border-radius: 6px;
    border: 1px rgba(0, 0, 0, 0.35) solid;
    height: 48px;
    padding: 12px;
}