body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

header {
    border-bottom: 4px solid #cbd5e0;
}

.webtas-logo {
    padding-left: 20px;
}

.webtas-logo:before {
    content: '';
    background: url("/assets/icons/webtas.png");
    background-size: cover;
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left:-26px;
}

#container {
    width: 100%;
    flex: 1;

    display: grid;
    grid-template-rows: 3fr 4px 7fr 4px 200px;
    grid-template-columns: 200px 4px 200px 4px 1fr;
}

#tile-list-panel {
    grid-area: 1 / 1 / span 1 / span 1;
    display: flex;
    flex-direction: column;
}

#tile-list-header {
    flex: 0 0 auto;
}

#tile-list {
    flex: 1 1 0px;
    overflow-x: hidden;
    overflow-y: scroll;
}

#tile-gutter {
    grid-area: 1 / 2 / span 1 / span 1;
    cursor: col-resize;
}

#tile-view-panel {
    grid-area: 1 / 3 / span 1 / span 1;

    display: flex;
    flex-direction: column;
}

#tile-view-header {
    flex: 0 0 auto;
}

#tile-view {
    flex: 1 1 0px;
    overflow: hidden;
}

#tile-canvas {
    width: 100%;
    height: 100%;
}

#tile-properties-panel {
    grid-area: 3 / 1 / span 1 / span 3;
    display: flex;
    flex-direction: column;
}

#tile-properties-header {
    flex: 0 0 auto;
}

#tile-properties {
    flex: 1 1 0px;
    overflow-x: hidden;
    overflow-y: scroll;
}

#simulator-panel {
    grid-area: 1 / 5 / span 3 / span 1;

    display: flex;
    flex-direction: column;
}

#sim-bar {
    flex: 0 0 auto;
}

#simulator {
    position: relative;
    flex: 1 1 0px;
    overflow: hidden;
}

#sim-canvas {
    width: 100%;
    height: 100%;
}

#sim-info {
    flex: 0 0 auto;
}

#log-panel {
    grid-area: 5 / 1 / span 1 / span 5;
    display: flex;
    flex-direction: column;
}

#log-header {
    flex: 0 0 auto;
}

#log-container {
    flex: 1 1 0px;
    overflow-y: scroll;
}

.tile-list-entry {
    width: 100%;
}

.log-entry {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0px;
}

.log-type {
    width: 80px;
    flex: 0 0 auto;
    padding: 2px 8px;
}

.log-message {
    flex: 1 1 auto;
    padding: 2px 8px;
}

.log-date {
    width: 160px;
    flex: 0 0 auto;
    padding: 2px 8px;
}

#editor-gutter {
    grid-area: 2 / 1 / span 1 / span 3;
    cursor: row-resize;
}

#simulator-gutter {
    grid-area: 1 / 4 / span 3 / span 1;
    cursor: col-resize;
}

#log-gutter {
    grid-area: 4 / 1 / span 1 / span 5;
    cursor: row-resize;
}

.gutter {
    background-color: #cbd5e0;
}

.bar-divider {
    border-left: 1px solid gray !important;
    padding: 0 !important;
    height: 36px;
    width: 0px !important;
    margin: 4px 4px;
}

.simple-data-table td input {
    width: 80px;
}

.simple-data-table th {
    border: none;
    background-color: #d7d7d7;
    padding: 0;
    width: 20px;
}

.simple-data-table td {
    border: none;
    padding: 0;
    width: 20px;
}

.simple-data-table input {
    border: 1px solid #d7d7d7;
    display: inline-block;
    padding: 5px;
}

.simple-data-table input:focus {
    border: 1px solid #3498db;
}

.simple-data-table button.remove-row {
    visibility: hidden;
}

.simple-data-table button.add-row {
    visibility: hidden;
}
