* {
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: sans-serif;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

#flow_chart {
    display: inline-block;
    height: 100%;
    width: 50%;
}

.editor {
    background: black;
    display: inline-block;
    float: right;
    height: 100%;
    width: 50%;
}

.modalBox {
    display: none;
    height: 100%;
    width: 100%;
}

.modalBox .background {
    background: #333;
    opacity: 0.3;
    height: 100%;
    width: 100%;
}

.modalBox .content {
    background: #666;
    border-left: solid 4px #333;
    border-right: solid 4px #333;
    color: #eee;
    height: 100%;
    left: 25%;
    padding: 10px;
    position: fixed;
    top: 0;
    width: 50%;
}

.modalBox label {
    display: block;
    width: 100%;
}

.modalBox input {
    background: #e9e9e9;
    display: block;
    line-height: 2em;
    margin: 10px 0;
    max-width: 100%;
    min-width: 100%;
    padding: 0 5px;
    width: 100%;
}

.modalBox textarea {
    background: #e9e9e9;
    display: block;
    line-height: 2em;
    margin: 10px auto;
    padding: 0 5px;
}

.editor #canvas {
    border: 1px solid #000;
}

.flowchart-operator {
    background: url('http://orig04.deviantart.net/97d6/f/2014/257/b/5/animated_pixel_stars___box_background_by_driftwoodbones-d7z0h0p.gif');
    background-size: cover;
    height: 140px !important;
}

div .toolbar {
    top: 0;
    padding: 10px;
    position: fixed;
    width: 50%;
    z-index: 9999;
}

div .buttons {
    bottom: 0;
    padding: 10px;
    position: fixed;
    width: 50%;
    z-index: 9999;
}

button {
    margin-right: 5px;
}

button:last-of-type {
    margin-right: 0;
}

.pull-right {
    float: right;
}