#machine-editor-objects {
    position: fixed;
    margin: 0;
    z-index: 4;
    scrollbar-color: #272b2e rgba(255, 255, 255, 80%);
    scrollbar-width: thin;
    line-height: 0;
    padding: 0;
    margin: 0;
    background-color: #161718;
}

#machine-editor-objects.left {
    height: 100%;
    width: calc(100svh / 3 + 15px);
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

#machine-editor-objects.left.slim {
    width: calc(100svh / 6);
}

#machine-editor-objects.left.mobile {
    top: 33.4%;
    height: 66.6%;
}

#machine-editor-objects.bottom {
    width: 100%;
    height: calc(100vw / 3 + 15px);
    bottom: 0px;
    left: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

#machine-editor-objects.bottom.slim {
    height: calc(100vw / 6);
}


.machine-editor-item {
    display: inline-block;
    position: relative;
    color: white;
    background-color: #272B2E;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 70%;
    background-size: 80%;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 300;
    outline: 2px solid white;
}

.machine-editor-item.disabled {
    background-color: #18191a;
    outline: 1px solid rgb(128, 128, 128);
}

.machine-editor-item-name {
    display: block;
    position: absolute;
    line-height: normal;
    top: 5%;
    left: 10%;
    text-align: left;
}

.machine-editor-item-count {
    position: absolute;
    line-height: normal;
    bottom: 5%;
    right: 10%;
    text-align: right;
}

#machine-editor-objects.left .machine-editor-item{
    font-size: 2svh;
    margin: 1svh;
    width: calc(100svh / 6 - 2svh);
    height: calc(100svh / 6 - 2svh);
    border-radius: 2svh;
    touch-action: pan-y;
}

#machine-editor-objects.bottom .machine-editor-item{
    font-size: 3vw;
    margin: 1vw;
    width: calc(100vw / 6 - 2vw);
    height: calc(100vw / 6 - 2vw);
    border-radius: 2vw;
    touch-action: pan-x;
}

.machine-editor-item.selected {
    outline: 3px solid white;
}

#machine-editor-item-container {
    margin: 0;
    padding: 0;
}

:root {
    --machine-editor-item-container-bottom-width: 200%;
}

#machine-editor-objects.bottom #machine-editor-item-container {
    height: 100%;
    width: var(--machine-editor-item-container-bottom-width);
}
