--root {
    margin: 0 0;
    padding: 0 0;
    box-sizing: border-box;
    overflow: hidden;
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html, body {
    overflow: hidden;
}

.hidden {
    visibility: collapse;
}

.icon {
    max-width: 20px;
    max-height: 20px;
    margin: auto;
}

.text {
    color: rgb(173, 173, 173);
    border-bottom: 1px solid rgb(104, 104, 104);
    padding: 0.6em 0.6em 0.6em 1em;
}

.text:hover {
    background-color: #3e4147;
}

.text-title {
    color: rgb(236, 236, 236);
}

.basic-button {
    background-color: #202225;
    width: 100%;
    height: 40px;
    border: none;
    text-align: center;
}

.basic-button:hover {
    background-color: #2a2d33;
}

.side-menu {
    z-index: 1;
    position: fixed;
    background-color: #36393F;
    height: 100vh;
}

.side-sub-menu {
    width: 50px;
    height: inherit;
    margin: 2px;
}

.ifcjs-dimension-preview {
    width: 1rem;
    height: 1rem;
    background-color: #FFA50F;
    border-radius: 1rem;
    opacity: 0.5;
}

.ifcjs-dimension-label {
    background-color: black;
    color: white;
    padding: 4px;
    border-radius: 4px;
}

#viewer-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#side-menu-left {
    width: 40px;
}

#side-menu-right {
    right: 0;
    width: 300px;
}

.loading-overlay {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f1f1f150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-progress {
    color: black;
}

.hidden {
    display: none;
}

.floating-top {
    position: absolute;
    top: 1rem;
    z-index: 10000;
    left: 4rem;
}

.floating-top label {
    margin-right: 0.5em;
}

.hidden {
    visibility: hidden;
}

.base-label {
    display: flex;
    align-items: center;
    pointer-events: all;
}

.delete-button {
    background: rgba(255, 255, 255, 0.6);
    padding: 6px;
    border-radius: 1rem;
    border: none;
    margin-right: 8px;
    height: 1.5rem;
}

.delete-button:hover {
    cursor: pointer;
}

.label {
    background: rgba(255, 255, 255, 0.6);
    padding: 8px;
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    pointer-events: all;
}