/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove FireFox inner padding and border on buttons */
button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner {
    padding: 0 !important;
    border: 0 none !important;
}


html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    background-color: grey;
    color: black;
    height: 100%;
}

form {
    height: 100%;
}

p {
    margin-bottom: 0.5em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

h1 {
    font-size: 1.7em;
    text-align: center;
    margin-top: 1.0em;
    margin-bottom: 0.5em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

h2 {
    font-size: 1.5em;
    text-align: center;
    margin-top: 1.0em;
    margin-bottom: 0.5em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

h3 {
    font-size: 1.2em;
    text-align: left;
    margin-top: 1.0em;
    margin-bottom: 0.5em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.divHeader {
    display: block;
    background-color: black;
    height: 38px;
}

.divHeader a {
    text-decoration: none;
}

.divHeader h1 {
    font-size: 30px;
    color: yellow;
    margin: 0;
    text-shadow: none;
}

.divUserInfo {
    position: absolute;
    top: 0;
    right: 0;
}

.divContent {
    padding: 1px;
    box-shadow: 0 0 10px black inset;
    height: calc(100% - 38px);
    overflow: auto;
}

.divCode {
    background-color: black;
    color: green;
    font-family: Courier New, Courier, monospace;
    text-shadow: none;
    overflow: auto;
    margin: 5px;
    padding: 2px;
    box-shadow: 0 0 10px rgb(0, 0, 0);
}

.formColumn {
    display: inline-block;
    font-size: 0;
}

.formRow {
    display: block;
    font-size: 0;
    margin: 10px;
}

.formLabel {
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    text-align: right;
    padding-right: 20px;
    vertical-align: top;
}

.formLabel span:last-child::after {
    content: ':';
}

.formField {
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
}

.textBox {
    background: white;
    border: solid 1px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    line-height: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    padding: 2px;
    box-shadow: inset 0 -2px 5px rgba(255, 255, 255, 1), inset 0 2px 5px rgba(128, 128, 128, 1);
}

.textBox:focus {
    border: solid 1px black;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 0 -2px 5px rgba(255, 255, 255, 1), inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

textarea.textBox {
    height: 64px;
    resize: vertical;
    min-height: 21px;
}

.textBoxInvalid {
    box-shadow: 0 0 10px rgba(255, 0, 0, 1), inset 0 -2px 5px rgba(255, 255, 255, 1), inset 0 2px 5px rgba(0, 0, 0, 0.5);
    border: solid 1px rgb(255, 0, 0);
}

.textBoxInvalid:focus {
    box-shadow: 0 0 10px rgba(255, 0, 0, 1), inset 0 -2px 5px rgba(255, 255, 255, 1), inset 0 2px 5px rgba(0, 0, 0, 0.5);
    border: solid 1px black;
}

.button {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 2px 5px rgba(255, 255, 255, 1), inset 0 -2px 5px rgba(128, 128, 128, 1);
    vertical-align: top;
    border-radius: 5px;
    border: solid 1px rgba(0, 0, 0, 0.5);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    text-align: center;
    cursor: pointer;
    background-color: rgb(192, 192, 192);
    margin-left: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 10px;
}

.button:first-child {
    margin-left: 0;
}

.button:hover {
    background-color: rgb(220, 220, 220);
}

.button:focus {
    border: solid 1px black;
}

.button:active {
    background-color: rgb(220, 220, 220);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 1), inset 0 -2px 5px rgba(128, 128, 128, 1);
}

.width25pc {
    width: 25% !important;
}

.width50pc {
    width: 50% !important;
}

.width75pc {
    width: 75% !important;
}

.width100pc {
    width: 100% !important;
}

.width70px {
    width: 70px !important;
    max-width: 100% !important;
}

.width100px {
    width: 100px !important;
    max-width: 100% !important;
}

.width150px {
    width: 150px !important;
    max-width: 100% !important;
}

.width200px {
    width: 200px !important;
    max-width: 100% !important;
}

.width300px {
    width: 300px !important;
    max-width: 100% !important;
}


.CameraViewer {
    width: 100%;
    height: calc(100% - 42px);
}


.CameraViewer canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

