body {
    margin: 0;
    padding: 0;
}

#camBg {
    width: 100vw;
    height: 30vh;
    position: fixed;
    z-index: -100;
    background-color: black;
    text-align: center;
    overflow: hidden;
}

#camera {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%) translateY(-50%);
}

#snapshotLimitOverlay {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 28vh;
    height: 28vh;

    transform: translateX(-50%) translateY(-50%);
}

#snapshotLimitOverlay:after {
    content: '';

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.4);
}

#content {
    width: 100%;
    top: 30%;
    position: fixed;
    padding: 2%;
}

#addrBlock {
    margin-top: 5px;
}

#addrBlock input {
    width: 15px;
    margin-right: 5px;
}

.inputArea {
    margin-top: 20px;
}

.psnBlock,
.addrBlock {
    float: left;
}

.addrBlock {
    margin-left: 10px;
    margin-right: 10px;
}

.psnBlock input {
    width: 70px;
}

.addrBlock input {
    width: 15px;
}

.psnBlock xy-input {
    width: 90px;
}

.addrBlock xy-input {
    width: 50px;
}


#loading {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 10;
}

#flipCamera,
#clearButton {
    position: absolute;
    background-color: #eee;
}

#clearAllButton {
    margin-left: 20px;
}

#flipCamera {
    display: none;

    top: 5vmin;
    right: 5vmin;
}

#flipButton {
    position: absolute;
    display: none;

    top: 1vh;
    right: 1vw;
}

#zoominButton {
    position: absolute;
    top: 10vh;
    left: 1vw;
}

#zoomoutButton {
    position: absolute;
    top: 20vh;
    left: 1vw;
}

#zoomSlider {
    position: absolute;
    top: 26vh;
    width: 80vw;
    left: 10vw;
    display: none;
}

#flashButton {
    position: absolute;
    top: 1vh;
    left: 1vw;
}

#saveButton {
    position: absolute;
    bottom: 5vmin;
    left: 50%;
    transform: translateX(-50%);
}

#menuButton {
    position: absolute;
    bottom: 5vmin;
    left: 2vmin;
}

#tableDiv {
    overflow: auto;
    height: 40vh;
    margin-top: 5px;
}

#psnTable {
    width: 100vw;
}