body {
    margin: 0;
    height: 100vh;
    font-family: arial;
}

canvas {
    position: absolute;

}


h1 {
    position: absolute;
    top: 1em;
    left: 4em;
    font-family: 'Montserrat';
    font-size: 5em;
    text-transform: uppercase;
    width: auto;
    line-height: .8em;
    border: 5px solid black;
    padding: .2em;
  }
#Garden{

    position: absolute;
    top: 4em;
    left: 40em;
    font-family: 'Montserrat';
    font-size: 1em;
    width: auto;
    padding: .2em;

}
#buttons{
    border: 1px solid black;
    background: white;
    position: relative;
}
.panorama{
    cursor: pointer;

    position: relative;
    height: 100%;
    border-radius: 6px;
}
.portal{
    padding: 6px;
    background: rgba(150,150,150,0.5);
    word-wrap: break-word;
    cursor: pointer;
    margin:6px;
}

.portal:hover{
    background: rgba(150,150,150,0.8);

}

.item{
    padding: 6px;
    background: rgba(150,150,150,0.5);
    word-wrap: break-word;
    cursor: pointer;
    margin:10px;
}

.item:hover{
    background: rgba(150,150,150,0.8);

}


.panorama-container:hover{
    background-color: rgba(230,230,230,0.9);
}
.pano-name{
    position: relative;
    background-color: rgba(255,255,255,0.7);
}
.pano-thumb-container{
    width: 100%;
    height: 100%;
}
.panorama-container{
    position: relative;
    height: 100px;
    padding: 6px;
}
.pano-thumb{
    background-size: calc(100% + 40px);
    background-position: 50%;
    width: 100%;
    position: absolute;
    height: 100%;
}
.pano-grabber{
    position: relative;
    width: 100%;
    height: 10px;
    background: rgba(200,200,200,0.5);
    top: 0;
    outline: 2px solid rgba(104, 107, 109, 0.83);
    cursor: grab;
    margin-bottom: 2px;
}
.pano-grabber.selected{
    background: rgb(37 123 251 / 50%);
    outline: 2px solid rgb(0 111 185 / 83%);
}
.reisizer-h{
    cursor: col-resize;
    position: absolute;
    height: 100%;
    right: -5px;
    top: 0;
    width: 5px;
}
.reisizer-h:hover{
    background: #abc8d6;

}
#leftPanelContainer{
    position: fixed;
    width:200px;
    height: calc(100% - 80px);
}
#PanoramaContainer{
    position: relative;
    width: 100%;
    height: 100%;

    background-color: rgba(255,255,255,0.6);
    overflow: scroll;
    padding-bottom: 100px;
}

#spinner{
    position: fixed;
    top: calc(50% - 25px);
    left: calc(50% - 18px);
    width: 50px;
    height: 50px;

}
#spinner h2{
    position: relative;
    width: fit-content;
    height: 100%;
    text-align: center;
    font-size: 14px;
    color: white;
    left: -6px;
}

#spinner img{
    width: 100%;
    height: 100%;
}

#addItemBtn{
    display: none;
    position:relative;
    right:0;
}

#portalContainer{
    height: calc(100% - 80px);
    width: 100px;
    direction:rtl;
    position: fixed;
    overflow: scroll;
    background-color: rgba(255,255,255,0.6);
    zoom:80%;
    right: 0;
}

#itemContainer{
    height: calc(100% - 80px);
    width: 100px;
    direction:rtl;
    position: fixed;
    overflow: scroll;
    background-color: rgba(255,255,255,0.6);
    zoom:80%;
    right: 100px;
}
#pano-remove-btn{
    position: absolute;
    display: inline;
    right: 0;
    top: 0;
    background-color: rgba(255,255,255,0.7);
}
#pano-magic-btn{
    position: absolute;
    display: inline;
    right: 0;
    top: 25px;
    background-color: rgba(255,255,255,0.7);
}
@media only screen and (max-width: 600px) {
    #itemContainer{
        display:none;
        right:0;
    }
    #portalContainer{
        display:none;
    }
    #leftPanelContainer{
        width:140px;
    }
}


.pano-thumb:hover{

    animation-name: MOVE-BG;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#metadata-editor-modal label {
    display: inline-block;
    width: 150px;
    text-align: right;
}
#metadata-editor-modal .modal-body {
    height:500px;
    overflow: scroll;
    padding:10px;
}

@keyframes MOVE-BG {
    from {
        background-position-x: 50%;
    }
    to {
        background-position-x: 100%;
    }
}





/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}