#photoViewer {
    cursor: grab;
    position: relative;
}

.frame {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    max-width: 100%;
}

.frame.fullscreen {
    position: relative;
    width: 100%;
    height: 100%;
}

.progressbar {
    height: 10px;
    background-color: #3f3f3f;
    width: 50%;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    top: 50%;
}

.progressbar span {
    height: 100%;
    display: block;
    width: 0;
    background-color: #d9d9d9;
    line-height: 30px;
    position: absolute;
    text-align: end;
}

.blur {
    filter: blur(8px);
}

#photoviewer-controls {
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(200, 200, 200, 1);
    z-index: 3;
    color: black;
    display: none;
    padding-left: 45%;
    padding-right: 45%;
}

#photoviewer-controls a {
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

#photoviewer-controls a:hover {
    transform: scale(1.1);
}

#photoviewer-controls a:active {
    transform: scale(0.9);
}

#photoviewer-controls svg {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

#photoviewer-pause {
    display: block;
}

#toggle360 {
    border: 1px solid #b8c8cd;
    border-radius: 4px;
    width: 71px;
    height: 71px;
    max-width: 100px;
    max-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 5px;
    margin: 10px auto 0;
}

#toggle360:hover {
    border: 1px solid #00cc8f;
}

#toggle360 .active {
    border-color: #00cc8f;
}

#toggle360 svg {
    transition: transform 0.2s ease;
}

#toggle360:hover svg {
    transform: scale(1.05);
}

#toggle360:active svg {
    transform: scale(0.95);
}
