* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
}
body {
  background: #373737;
  font-size: calc(1vw + .5vh + 1vmin);
  color: white;
}
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0, 81, 166);
    background: linear-gradient(0deg, rgba(0, 81, 166, 1) 0%, rgba(0, 146, 255, 1) 100%);
    position: relative;
    padding: 10px 0;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 10px;
}
nav button {
    height: 18px;
    width: 18px;
    background: transparent;
    border: none;
    position: absolute;
    right: 10px;
}
button {
    cursor: pointer;
}
form button {
    padding: 10px;
    background: #0000002b;
    border: 2px solid #0091fe;
    color: white;
    font-size: 1.2em;
}
img, svg {
    width: 100%;
    height: auto;
}
ul {
  list-style: none;
  display: flex;
}

li {
  margin-right: 1rem;
}
h1 {
    text-align:center;
}
p {
    margin-top: 4px;
    margin-bottom: 8px;
}
label {
    text-align: left;
}
textarea {
    resize: none;
}
canvas {
    background-color: white;
}
details {
    position: relative;
}
table {
    width: 100%;
}
td input, td select {
    width: 100%;
    padding: 8px;    
}
td:nth-child(1) {
    width: 33%;
}
td:nth-child(2) {
    width: 34%;
}

td:nth-child(3) {
    width: 34%;
}


#today {
    color: yellow;
}

#company {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #373737;
    display: flex;
}
#purpose label {
    padding: 4px;
}
#purpose p {
    margin: 0 0 4px;
}
#signatures {
    margin: 0 0 12px;
    text-align: center;
}
#camera {
    max-width: 40px;
    padding: 3px;
    border: none;
    background-color: transparent;
    fill: white;
}
#camera input {
    display: none;
}
#leakTest label {
    min-width: calc(37% - 16px);
}
#leakTest input {
    width:100%;
}
#finish {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000cc;
}
#finish h2 {
    margin-bottom: 12px;
}
#finish button {
    padding: 10px;
    background: #0000002b;
    border: 2px solid #0091fe;
    color: white;
    font-size: 1.2em;
}
#finish button:nth-child(1) {
    border-color: yellow;
}
#clear {
    border-color: yellow;
}
/* CLASSES */
.h1 {
    font-size: 1.5em;
    font-weight: bold;
}
.flex {
    display: flex;
}
.flex-column {
    flex-direction: column;    
}
.flex-middle {
    justify-content: center;
}
.flex-between {
    justify-content: space-between;
}
.flex-center {
    align-items: center;
}
.flex-start {
    align-items: flex-start;
}
.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0.5rem;
}
.text-input {}
.text-input * {
    padding: 8px;
}
.form-footer {
    display: flex;
    justify-content: right;
    margin-top: 10px;
}
.space {
    margin: 16px 0 12px;
}
.space-above {
    margin-top: 12px;
}
.signature {
    position: relative;
    margin-bottom: 10px;
    padding: 10px;
}
.clickToSign {
    position: absolute;
    color: red;
    width: 100%;
    height: 100%;
    border-color: red;
    left: 0;
    top: 0;
}
.margin-right {
    margin-right: 12px;
}
.margin-bottom {
    margin-bottom: 16px;
}
.margin-top {
    margin-top: 16px;
}
.removeObject {
    border-color: red;
}
.text-right {
    text-align:right;
}
.noMouse {
    opacity: .3;
    pointer-events: none;
}
.tr > *:nth-child(1) {
    width: 50%;
    text-align: left;
}
.tr > *:nth-child(2) {
    width: 25%;
}
.tr > *:nth-child(3) {
    width: 31%;
}
.w-100 {
    width: 100%;
}

@media only screen and (max-width: 600px) {
    nav {
        justify-content:left;
        padding: 10px 4px;
    }
    h1,.h1 {
        font-size: 1.25em;
    }
}