#controls {
    position: absolute;
    bottom: 16px;
    left: 16px;
    max-width: unset;
    transform: unset;
    pointer-events: auto;
    z-index: 100;
    }

.dot {
    display: none;
}

.glass {
    background: rgba(255, 255, 255, 0.37);
    backdrop-filter: blur(8px) contrast(0.89) saturate(1.27);
    -webkit-backdrop-filter: blur(8px) contrast(0.89) saturate(1.27);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.dim {
    border-radius: 4px;
    border: none;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 1em;
    font-weight: 700;
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    width: max-content;
    height: max-content;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    --min-hotspot-opacity: 0;
}

@media only screen and (max-width: 800px) {
    .dim {
        font-size: 3vw;
    }
}

.dimensionLineContainer {
    pointer-events: none;
    display: block;
}

.dimensionLine {
    stroke: #16a5e6;
    stroke-width: 2;
    stroke-dasharray: 2;
}

.hide {
    display: none;
}

/* This keeps child nodes hidden while the element loads */
:not(:defined)>* {
    display: none;
}


.ar-button-container a{
    letter-spacing: normal;
    white-space: normal;
    display:flex;
    align-items:center;
    text-align:left;
    border:1px solid black;
}

#viewer-with-ar{
    /* display:none;*/
    height: calc(100% - 200px);
    width: 100%;
    position: absolute;
}

.fullscreen-dialog{
    width:100vw;
    height:100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin:0;
    padding:0;
    border:0;
    background-color:#f5f5f5;
    position: relative;
}

.fullscreen-dialog .panel{
    background-color:rgba(225, 225, 225, 0.48);
    padding:1rem;
    display: flex;
    flex-direction: column;
    gap:0.5rem;
    position: absolute;
    bottom: 2rem;
    left:2rem;
    right:2rem;
    min-width:300px;
    color:#000000 !important;
    align-items: stretch;
}

.fullscreen-dialog .panel .panel-row{
    background-color: rgba(255, 255, 255, 0.48);
    display: flex;
    gap:0.5rem;
    align-items: center;
    justify-content: space-between;
    padding:1rem;
}

.fullscreen-dialog .panel .panel-row:hover{
    background-color: rgba(255, 255, 255, 0.65);
}

.fullscreen-dialog .panel .panel-row label{
    margin:0;
    color:#000000 !important;
}

.fullscreen-dialog .panel .panel-row.panel-action{
    cursor: pointer;
}

.fullscreen-dialog .close-dialog{
    position: absolute;
    top:2rem;
    right:2rem;
    z-index: 9999;
}

input[type="checkbox"].form-check-toggle{
    --toggle-bg-color: #FFFFFF;
    --toggle-bg2-color: #e0e0e0;
    --toggle-active-color: #79464C;
    -webkit-appearance: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    width: 2.5em;
    height: 1.4em;
    border-radius: 1em;
    outline: none;
    transition: background .3s;
    background-color: var(--toggle-bg-color);
    border: 1px solid var(--toggle-bg2-color);
    margin: 0;
    font-size: 23px;
}

input[type="checkbox"].form-check-toggle::after {
    background-color: var(--toggle-bg2-color);
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    border-radius: 0.80em;
    height: 0.80em;
    width: 0.80em;
    transition: left .3s;
}

input[type="checkbox"].form-check-toggle:checked {
    background-color: var(--toggle-active-color);
    border: 1px solid var(--toggle-bg-color);
}
input[type="checkbox"].form-check-toggle:checked::after {
    background-color: var(--toggle-bg-color);
    left: 70%;
}

.panel .icon{
    height: 1.5em;
    width: 1.5em;
    background-size: contain;
    background-repeat: no-repeat;
}
.panel .door-open{
    /*background-image:url('../img/svg/door-enter.svg');*/
    background-image:url('../img/svg/door-open-fill.svg');
}

.panel .door-close{
    /*background-image:url('../img/svg/door-exit.svg');*/
    background-image:url('../img/svg/door-closed-fill.svg');
}

#actions-3d{
    display: flex;
    gap:1rem;
    flex-direction: column;
}

#actions-3d > *{
    flex: 1;
}

.ar-button-container,
.button-3d-container{
    background-color: #EFEFF0;
    padding:1.5em;
}

.ar-button-container button,
.button-3d-container button{
    border:1px solid #000000;
    font-weight: 600;
    white-space: collapse;
}

.flex-2-col{
    display:flex;
    gap:1.5rem;
    flex-direction: column;
}

.qr-code{
    flex-basis: 33%;
    flex-shrink: 0;
}


@media only screen and (min-width: 650px) {
    .flex-2-col,
    #actions-3d{
        flex-direction: row;
    }
}

@media only screen and (min-width: 1024px) {
    #viewer-with-ar{
        /* display:none;*/
        height: 100%;
    }

    .fullscreen-dialog .panel{
        left:initial;
    }
}