* {
    font-family: 'Roboto', sans-serif;
}

.top-nav img {
    padding: 4px;
    background-color: grey;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    position: inherit;
    min-height: 80%;
    max-width: 60%;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 12vh;
    height: 80vh;
    background-color: rgb(255, 255, 255);
    margin: 0;
}

a:hover, a:active {
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.25);
}

.top-nav a{
    font-size: large;
    padding-left: 20px;
    padding-right: 20px;
    border: solid rgb(172, 172, 172) 1px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: rgb(189, 188, 188);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    width: 20%;
    height: 20%;
}

.top-nav {
    display: flex;
    position: fixed;
    text-align: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0;
    z-index: 12;
    height: 10vh;
    width: 100%;
    padding: 6px;
    top: 0;
    background-color: rgb(69, 184, 184);
    border-bottom: 3px solid rgb(49, 133, 133);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.vis-form {
    border-radius: 5px;
    background-color: rgb(236, 236, 236);
    padding: 20px;
    border-color: rgb(220, 220, 220);
    border: 1px solid;
    padding-bottom: 20px;
    width: 60%;
    margin: auto;
    margin-bottom: 10vh;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.vis-form label {
    border: 1px solid rgba(119, 119, 119, 0.267);
    background-color: rgba(221, 221, 221, 0.34);
    padding: 3px;
    border-radius: 4px;
    width: fit-content;
    height: fit-content;
    margin: 0 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

input[type=text], input[type=password], input[type=number] {
    padding: 12px;
    width: fit-content;
    max-width: 50%;
    height: fit-content;
    margin: 6px 0;
    box-sizing: border-box;
    border-radius: 6px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.lot_num_input {
    display: flex;
    width: 100%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    align-items: center;
    justify-content: center;
}

#fillvol {
    display: flex;
    width: 20%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    align-items: center;
    justify-content: center;
}

.group-1 {
    padding: 8px 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.date-input {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
}

.date-input input, label {
    width: 50%;
}

.inspec-input {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 1;
    padding: 0 12px;
    width: 32%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
}

.inspec-input input, label {
    width: 50%;
}

.group-2 {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.inspec-num {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);

}

.inspec-num input {
    width: 45%;
}

.inspec-num label {
    width: 40%;
}

.station-clear {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1vh 2vh;
    width: 39%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.station-clear input, label {
    width: 40%;
    height: 50%;
}

.group-3 {
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 8px 0;
    padding-bottom: 24px;
}

.group-4 {
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 8px 0;
    padding-bottom: 24px;
}

.start-stop-time {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.start-stop-time input, label {
    width: 20%;
}

.prod-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.prod-name input, label{
    width: 20%;
}

input[type=submit] {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: large;
}

input[type=submit]:hover {
    color: gray;
    background-color: rgb(223, 223, 223);
}

#h2-title {
    text-align: center;
    background-color: aliceblue;
    margin: 0;
    margin-bottom: 12px;
    padding: 16px;
    border: solid rgb(189, 188, 188) 1px;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.total-vials {
    padding-bottom: 5px;
}

.total-vials h4 {
    padding: 4px;
    text-align: center;
    display: block;
    border-bottom: 2px rgb(156, 156, 156) solid;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.vial-spec {
    padding-bottom: 35px;
    position: relative;
}

.vials {
    border-radius: 4px;
    text-align: center;
    border: 2px solid rgb(155, 155, 155);
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.vial-spec input {
    box-sizing: border-box;
    border-radius: 8px;
    width: 10%;
}

.eye-break {
    padding-bottom: 24px;
}

.eye-break-input {
    width: 100%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.section-2 {
    border-top: 2px solid;
    padding-top: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid;
}

#table-title {
    text-align: center;
    border: 1px solid;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.table-class {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    background-color: rgb(255, 255, 255);
    text-align: left;
    border: 1px solid;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

td, th {
    overflow: hidden;
    border: 1px solid ;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#table-title2 {
    text-align: center;
    border: 1px solid;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.table-class-major {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    background-color: rgb(255, 255, 255);
    text-align: left;
    border: 1px solid;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

#table-title3 {
    text-align: center;
    border: 1px solid;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.table-class-minor {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    background-color: rgb(255, 255, 255);
    text-align: left;
    border: 1px solid;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.comment-area {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

textarea {
    position: relative;
    padding: 12px;
    margin: 8px 10px;
    border-radius: 8px;
    width: 100%;
    height: 100px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#comment-label {
    padding: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.submit-button {
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.submit-button button {
    width: 30%;
    font-size: 100%;
}

.approve-button {
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.approve-button button {
    width: 30%;
    font-size: 100%;
}

.save-button {
    padding-top: 20px;
    display: flex;
    position: sticky;
    justify-content: center;
    bottom: 10%;
}

.save-button button {
    width: 30%;
    font-size: 100%;
}

.reject-button {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    bottom: 10%;
}

.reject-button button {
    width: 30%;
    font-size: 100%;
}

.download-pdf-button {
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.download-pdf-button button {
    width: 30%;
    font-size: 100%;
}

footer h4 {
    position: relative;
    display: inline-block;
    padding-left: 60px;
    padding-right: 60px;
    padding: 14px;
}

footer {
    border: solid black 1px;
    text-align: center;
    background-color: rgb(69, 184, 184);
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 8%;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.confid {
    display: inline-block;
    padding-right: 13em;
}

.foot-nav {
    padding-top: 20px;
}

.form-history table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    background-color: rgb(255, 255, 255);
    text-align: left;
    border: 1px solid;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.form-history {
    text-align: center;
}

.totals-table {
    border-collapse: collapse;
    width: 45%;
    background-color: rgb(233, 233, 233);
    text-align: left;
    border: 1px solid;
    margin: auto;
    position: relative;
    padding: 12px;
}

.totals-body {
    text-align: center;
    overflow: scroll;
    overflow-x: hidden;
}

.lotTotals-body {
    text-align: center;
    overflow: scroll;
    overflow-x: hidden;
}

.lotTotals-body table {
    border-collapse: collapse;
    width: 45%;
    background-color: rgb(233, 233, 233);
    text-align: left;
    border: 1px solid;
    margin: auto;
    position: relative;
    padding: 12px;
}

/* v home.html v */

.heading-info {
    text-align: center;
}

.form-instructions {
    width: 50%;
    margin: auto;
    border: 1px solid;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

#form-title-header {
    text-align: center;
}

.home-page {
    position: relative;
    width: 60%;
    margin: auto;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 9vh;
}

.top-heading {
    border: 1px solid;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    border-radius: 4px;
    background-color: rgb(219, 219, 219);
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.quick-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto;
	text-align: center;
    padding: 12px;
    border: 1px solid;
    border-radius: 4px;
    width: 30%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

#quick-actions-h3 {
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-grow: 1;
    border-bottom: 1px solid;
}

.quick-actions-buttons {
    min-width: 60%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 12px;
    flex-grow: 1;
    
}

.quick-form-start {
    padding: 0 12px;
}

.quick-resume-form {
    padding: 0 12px;
}

/* v help.html v */

.section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

button {
    padding: 8px 16px;
    border-radius: 4px;
    margin: 3px 0;
    border: none;
    background-color: #309b9c;
    color: white;
    cursor: pointer;
}
button:hover {
    background-color: rgb(74, 103, 116);
}

.help-page {
    padding: 40px;
}

/* v logout.html v */

.loading-class {
    display: flex;
    justify-content: center;
}

.gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* v form.html v */

.manage-form-table {
    border-collapse: collapse;
    width: 45%;
    background-color: rgb(233, 233, 233);
    text-align: left;
    border: 1px solid;
    margin: auto;
    position: relative;
    padding: 12px;
}

.prefix-key-table {
    border-collapse: collapse;
    width: 45%;
    background-color: rgb(233, 233, 233);
    text-align: left;
    border: 1px solid;
    margin: auto;
    position: relative;
    padding: 12px;
}

.form-info {
    text-align: center;
}

.manage-form-info {
    padding-top: 24px;
    text-align: center;
}

.form-page {
    position: relative;
    margin: auto;
    height: 75vh;
    overflow: scroll;
    overflow-x: hidden;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    width: 300px;
}

.modal button {
    margin: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal input {
    display: flex;
    margin: 10px auto;
    flex-direction: column;
    padding: 8px 15px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.confirm-button { background: #409243; color: white; }
.cancel-button { background: #c5362c; color: white; }

/* v form_page.html v */

.form-done-class {
    text-align: center;
}

/* v contact.html v */

.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 30%;
    border: 2px solid rgb(235, 235, 235);
    border-radius: 6px;
    padding: 24px 12px;
    background-color: rgb(247, 247, 247);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    height: 100%;
}

/* v audit.html v */

.audit-table {
    border-collapse: collapse;
    width: 45%;
    background-color: rgb(233, 233, 233);
    text-align: left;
    border: 1px solid;
    margin: auto;
    position: relative;
    padding: 12px;
}

.audit-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: scroll;
    overflow-x: hidden;
    margin-bottom: auto;
}

/* v review.html v */

.review-table {
    border-collapse: collapse;
    width: 45%;
    background-color: rgb(233, 233, 233);
    text-align: left;
    border: 1px solid;
    margin: auto;
    position: relative;
    padding: 12px;
}

.review-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: scroll;
    overflow-x: hidden;
}

/* v login-page v */
.login-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
    width: 30%;
    border: 2px solid rgb(235, 235, 235);
    border-radius: 6px;
    padding: 24px 12px;
    background-color: rgb(247, 247, 247);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* AVI Forms */
.avi_form {
    border-radius: 5px;
    background-color: rgb(236, 236, 236);
    padding: 20px;
    border-color: rgb(220, 220, 220);
    border: 1px solid;
    padding-bottom: 20px;
    width: 60%;
    margin: auto;
    margin-bottom: 10vh;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.avi_group1, .avi_group2, .avi_group3 {
    padding: 8px 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-shrink: 1;
}

.avi_dateop, .avi_batchclearedby, .avi_lotprod {
    display: flex;
    width: 100%;
    border: 1px solid;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    align-items: center;
    justify-content: center;
}

.avi_dateop input, .avi_batchclearedby input, .avi_lotprod input {
    width: 15%;
}

.avi_dateop label, .avi_batchclearedby label, .avi_lotprod label {
    width: auto;
    text-align: center;
}

.avi_table1, .avi_table2, .avi_table3 {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    background-color: rgb(255, 255, 255);
    text-align: left;
    border: 1px solid;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

td input {
    text-align: center;
    border-radius: 4px;
    border: 1px solid;
}

#table-centered {
    text-align: center;
}

/* PDF Download */

@page {
    margin: 0;
}

@media print {
    body {
        margin: 0;
        padding: 0;
    }
    .pdf-container {
        margin: 0;
        padding: 20px;
        width: 100%;
      }
    table {
        width: 100%;
        border-collapse: collapse;
      }
    td, th {
        padding: 5px;
        font-size: 11px;
      }
    h2 {
        margin-top: 0;
      }
    .vis-form {
        width: 90%;
        box-shadow: none;
    }
}