body {
    margin: 0;
    padding: 0;
}

canvas {
    cursor: grab;
}

canvas:active:hover {
    cursor: grabbing;
}

.dg.a {
    margin-right: 0;
}

.dg.main.a > div:first-child {
    display: none;
}

.dg li.gui-performance:not(.folder) {
    height: auto;
    pointer-events: none;
}

.dg .closed li.gui-performance:not(.folder) {
    height: 0;
}

.folder .dg ul {
    height: auto !important;
}

.aritize-config-load {
    background-color: #000;
    background-image: linear-gradient(45deg, #111 25%, transparent 25%), linear-gradient(-45deg, #111 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #111 75%), linear-gradient(-45deg, transparent 75%, #111 75%);
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-size: 20px 20px;
    bottom: 0;
    cursor: progress;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.25s ease-in;
    z-index: 100;
}

.aritize-config-load.fade-out {
    opacity: 0;
    pointer-events: none;
}

.aritize-config-load-logo {
    background-image: url(../images/aritize.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 40%;
    left: 50%;
    margin-top: -20px;
    position: absolute;
    top: 30%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
}

.aritize-config-load-bar {
    background: #000;
    border: 2px solid #fff;
    border-radius: 4px;
    box-sizing: border-box;
    height: 20px;
    left: 25%;
    margin-top: -20px;
    padding: 3px;
    position: absolute;
    top: 75%;
    width: 50%;
    z-index: 2;
}

.aritize-config-load-bar-fill {
    background: #fff;
    border-radius: 1px;
    height: 100%;
    transition: width 0.35s linear;
    width: 0;
}

.aritize-config-load-error {
    box-sizing: border-box;
    color: #fff;
    font-family: Helvetica, sans-serif;
    font-size: 18px;
    height: 20px;
    left: 25%;
    line-height: 20px;
    margin-top: -20px;
    position: absolute;
    text-align: center;
    top: 75%;
    width: 50%;
    z-index: 2;
}

.aritize-config-exit  {
    background: rgb(48, 48, 48, 0.75);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    height: 30px;
    left: 18px;
    line-height: 30px;
    margin: 0;
    outline: none;
    padding: 0;
    position: absolute;
    top: 18px;
    user-select: none;
    width: 30px;
    z-index: 150;
}

.aritize-config-exit::before,
.aritize-config-exit::after {
    background: #fff;
    border-radius: 1px;
    content: '';
    display: block;
    height: 18px;
    position: absolute;
    width: 4px;
}

.aritize-config-exit::before {
    left: 13px;
    top: 6px;
    transform: rotate(45deg);
}

.aritize-config-exit::after {
    right: 13px;
    top: 6px;
    transform: rotate(-45deg);
}

.aritize-config-save {
    animation: fadein 0.25s;
    background: #2fa92f;
    border: 0;
    border-radius: 4px;
    bottom: 18px;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.25);
    color: #fff;
    cursor: pointer;
    font-family: Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    left: 18px;
    outline: none;
    padding: 0 12px;
    position: absolute;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    user-select: none;
    z-index: 150;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
