body {
    margin: 0;
    background-color: black;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    overflow: hidden;
}

canvas {
    cursor: grab;
}

.caption-wrapper {
    position: absolute;
    top: 0px;
    left: 30%;
    width: 70%;
    pointer-events: none;
    display: flex;
    justify-content: space-evenly;
    margin-top: 3%;
}

.caption-wrapper.single {
    left: 70%;
    width: 30%;
}

@media all and (max-width: 500px) {
    .caption-wrapper {
        left: 0%;
        width: 100%;
    }
    .caption-wrapper.single {
        left: 50%;
        width: 50%;
    }
}

#bravia-cam, #base-position {
    opacity: 0;
    background-color: rgb(0 0 0 / 27%);
    color: white;
    width: auto;
    padding: 2% 5%;
    font-size: 1.5rem;
    transition: 1s;
    align-self: center;
}

@media all and (max-width: 500px) {
    #bravia-cam, #base-position {
        font-size: 1.2rem;
    }
}

input[type=range] {
    width: 100%;
    margin: 7px 0;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: auto;
}

input[type=range]::-webkit-slider-runnable-track {
    background: #bbbbbb;
    border: 0;
    width: 100%;
    height: 5px;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    margin-top: -5px;
    width: 16px;
    height: 16px;
    background: #30a8ff;
    border: 3.7px solid #ffffff;
    border-radius: 8px;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type=range]:hover::-webkit-slider-runnable-track {
    background: #bbbbbb;
    border: 0;
    width: 100%;
    height: 7px;
    cursor: pointer;
}

input[type=range]:hover::-webkit-slider-thumb {
    margin-top: -7px;
    width: 22px;
    height: 22px;
    background: #30a8ff;
    border: 3.7px solid #ffffff;
    border-radius: 11px;
    cursor: pointer;
    -webkit-appearance: none;
}

#playbackBtn {
    border: none;
    background: transparent;
    border-radius: 50px;
}

#playbackBtn:hover {
    background: rgb(87 125 135 / 50%);
}

#playbackIcon {
    width: 100%;
    height: auto;
}

.button_as_link {
    background: none !important;
    border: none;
    padding: 0 !important;
    color: white;
    text-decoration: none;
    font-family: arial, sans-serif;
    font-size: large;
    cursor: pointer;
}

.contextmenu_item {
    font-size: large;
}

.button_as_link:hover {
    color: #999999;
}

#annotation_edit {
    visibility: hidden;
    top: 300px;
    left: 1000px;
    width: 280px;
}

#right_click_contextmenu {
    visibility: hidden;
    top: 300px;
    left: 600px;
    width: 280px;
}

#annotation_contextmenu {
    visibility: hidden;
    top: 300px;
    left: 200px;
    width: 280px;
}

.annotation_window {
    z-index: 10;
    padding: 2px 10px;
    font-family: arial, sans-serif;
    font-size: medium;
    background-color: black;
    color: white;
    position: absolute;
}

.annotation_remove {
    margin-top: 10px;
}

.annotation_edit {
    margin-top: 10px;
}

.annotation_editor {
    margin-top: 10px;
}

.annotation_editor .annotation_buttons {
    margin-top: 10px;
    display: block;
}

.annotation_editor input {
    margin-top: 10px;
    display: table-cell;
    width: 100%
}

.annotation_editor textarea {
    margin-top: 10px;
    display: table-cell;
    width: 100%;
    resize: none;
}

.annotation_buttons #save_annotation {
    margin: 10px;
    float: left;
}

.annotation_buttons #cancel_annotation {
    margin: 10px;
    float: right;
}

#unsupported_notes {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

#unsupported_notes p {
width: 90%;
height: auto;
position: relative;
z-index: 99;
text-align: center;
line-height: 2rem;
font-size: 1rem;
flex-basis: 100%;
}