html,
body {
    height: 100%;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: black;
    color: white;
    font-size: 14px;
}

.box {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.box .row {
    border: 1px dotted grey;
}

.box .row.header {
    border: none;
    flex: 0 1 auto;
}

.box .row.content {
    border: 1px solid grey;
    flex: 1 1 auto;
    min-height:0;
}

.box .row.footer {
    border: none;
    flex: 0 1 10px;
}

.innerbox {
    display: flex;
    flex-flow: row;
    width: 100%;
    height: 100%;
    min-height:0;
}

.innerbox .col {
    border: 1px dotted blue;
    min-height:0;
}

.innerbox .col.header {
    border: none;
    flex: 0 0 auto;
    min-height:0;
}

.innerbox .col.content {
    border: none;
    flex: 1 1 auto;
    min-height:0;
}

.innerbox .col.footer {
    border: none;
    flex: 0 1 auto;
    min-height:0;
}

input.number {
    width:70px;
}

div.preview {
    width: 100%;
    height: 100%;
    min-height:0;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    vertical-align: bottom;
    overflow-y: hidden;
}

.notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}