canvas {
  border: 1px solid #ccc;
  position: relative;
  cursor: crosshair;
  display: block;
  margin: 20px 0;
}

input[type="text"], input[type="email"], input[type="tel"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 2.4375rem;
  margin: 0 0 1rem;
  padding: .5rem;
  border: 1px solid #cacaca;
  border-radius: 0;
  background-color: #fefefe;
  box-shadow: inset 0 1px 2px rgba(10,10,10,0.1);
  font-family: inherit;
  font-size: 1rem;
  font-weight: normal;
  color: #0a0a0a;
  transition: box-shadow .5s,border-color .25s ease-in-out;
  appearance: none;
}

input[type="text"].tk-input-date {
    width: 110px;
}

input[type="text"].tk-input-xsmall {
    width: 80px;
}

input[type="text"].tk-input-large {
    width: 350px;
}

input[type="checkbox"] + label {
    display: inline;
    margin: 5px 20px 30px 5px;
}

input[type="number"] {
    height: 2.4375rem;
    margin-bottom: 16px;
    max-width: 80px;
}

legend {
    background-color: #1779ba;
    border: 1px solid blue;
    padding: 3px;
    border-radius: 3px;
}

.tk-checkbox-div {
    margin-top: 20px;
}

.tk-checkbox-div label {
    display: inline-block;
    margin-left: 8px;
}

.tk-resp-resp-list input[type="checkbox"] + label {
    display: inline;
    margin: 5px 5px 30px 5px;
}

div.row {
    margin-bottom: 1rem;
}

.row .callout {
    background-color: var(--theme-offlight);
    border: 1px solid black;
    padding: 10px;
    margin-bottom: 20px
}

.row .button {
    margin-top: 20px;
}

.row .card-div {
    width: 600px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.row .errorlist {
    margin-top: -1rem;
}

.row h2 {
    margin: 10px 0;
}

.row label {
    font-size: 16px;
}

.row select, select {
    margin-bottom: 16px;
    font-size: 1rem;
    height: 2.4375rem;
}

#shifttbl .fifteen {
    width: 15%;
}

#shifttbl .twentyfive {
    width: 25%;
}

textarea {
    width: 100%;
}

.tk-fieldnote {
    margin-top: -15px;
}

.tk-form fieldset {
  border: 1px solid gray;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #cacaca;
}

.tk-form legend {
  font-weight: bold;
  margin-left: 20px;
}

.tk-form-sect {
    padding: 20px 0;
    width: 800px;
    border-bottom: 1px solid black;
}

.tk-pg-sect ul {
    list-style-type: none;
}

label:has(+ .tk-required):after {
    content: '*';
    color: red;    
}

.tk-required:after {
    content: '*';
    color: red;
}

.tk-sig-div .button {
    vertical-align: bottom;
    margin-left: 20px;
}

.tk-sig-div h4 {
    display: inline;
    margin-right: 30px;
}

div.row.tk-spacer {
    margin-bottom: 30px;
}

table {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 0;
    border-collapse: collapse;
    border-spacing: 0;
    padding: 10px;
}

thead, tbody, tfoot {
    border: 1px solid #f1f1f1;
    background-color: #fefefe;
}

tbody th, tbody td {
    padding: 0.5rem 0.625rem 0.625rem;
}

thead {
    background: #f8f8f8;
    color: #0a0a0a;
}

thead th, thead td, tfoot th, tfoot td {
    padding: 0.5rem 0.625rem 0.625rem;
    font-weight: bold;
    text-align: left;
}

th:first-child {
    width: 25%;
}

.tk-pg-activities th {
    vertical-align: top;
}

thead th, thead td, tfoot th, tfoot td {
    padding: 0.5rem 0.625rem 0.625rem;
    font-weight: bold;
    text-align: left;
  }

/* Progress Bar */
.progress {
    height: 1rem;
    margin-bottom: 1rem;
    border-radius: 0;
    background-color: #cacaca;
  }

.progress-meter {
    position: relative;
    display: block;
    width: 0;
    height: 100%;
    background-color: #2199e8;
}

ol.tk-resp-sublist {
    list-style-type: lower-alpha;
}

ul.tk-resp-resp-list {
    list-style-type: none;
}

ul.tk-resp-resp-list label {
    display: inline-block;
    padding-left: 5px;
    font-weight: normal;
}

ul.tk-inline {
    display: inline-block;
    list-style-type: none;
    padding: 0;
}

ul.tk-inline label {
    display: inline-block;
    font-weight: normal;
}

ul.tk-inline li {
    display: inline;
    margin-left: 10px;
    vertical-align: top; 
}

ul.tk-inline li label {
    display: inline-block;
}

ul.tk-inline-block {
    padding-left: 10px;
}

p.tk-errormsg {
    background-color: #f5ad42;
}

.showmodal {
    animation-duration: .75s;
    animation-name: k-showmodal;
    background-color: #48944f;
    box-shadow: 0 2px 5px 0 var(black);
    border: 1px solid #000;
    border-radius: 3px;
    padding: 0;
    display: block;
    position: relative;
    bottom: 50px;
}

@keyframes k-showmodal {
    from {
        scale: 20%;
        opacity: 0;
    }

    to {
        scale: 100%;
        opacity: 1;
    }
}

.servicetbl {
    width: 350px;
}

.servicetbl td, .servicetbl th {
    width: 150px;
}

.messagemodal {
    max-height: fit-content;
}

@media screen and (max-width: 767px) {

    #sigimg {
        width: 90vw !important;
    }

    .row .card-div {
        width: 90vw;
    }

    .row.tk-pg-sect {
        justify-content: left;
    }

    .tk-pg-sect .row {
          justify-content: left;      
    }

    .tk-sig-div input[type="button"] {
        display:block;
    }

    .tk-form-sect {
        width: 90vw;
    }
}