/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+39+Text&display=swap');

html,
body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

html {
    visibility: hidden;
}

body {
    background-color: #888;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Helvetica', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    overflow: hidden;
}

.stack {
    align-items:stretch;
    display: flex;
    margin: 0px;
    max-height: 100%;
    max-width: 100%;
    overflow: auto;
    padding: 0px;
}

.button {
    flex-grow: 0;
    margin-left:20px;
    min-width: 176px;
}

.report {
    align-items:stretch;
    justify-items: stretch;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    border-style:solid;
    border-width: 1px;
    color: white;
    display: flex;
    flex-direction: column;
    flex-grow:1;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 2px;
    min-width: calc(69vw * 1.15);
    overflow:auto;
    padding: 10px;
    text-align:left;
}
.appointments {
    flex-grow:0;
    font-size: smaller;
    max-height:120px;
    width: auto;
    min-height:78px;
    overflow: auto;
}
.jobs {
    flex-grow: 1;
    font-size: smaller;
    max-height:calc(500vh * 0.05);
    min-height: 230px;
    overflow: auto;
    width: auto;
}

.report-label {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    border-style:solid;
    border-width: 1px;
    color: white;
    flex-grow: 0;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 2px;
    padding: 10px;
    text-align: center;
    /* width: 200px; */
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.form,
.log-in {
    align-items: center center;
    justify-content: right;
}


.vertical {
    flex-direction: column;
}

.horozontal {
    flex-direction: row;
}

.btn-stack {
    flex-grow: 10%;
    justify-content: top;
    margin-left: 100px;
}

a:visited {
    color: white;
}
#logo {
    background-color: rgba(128, 128, 128, 0.4);
    border-radius: 8px;
    color: rgb(255, 255, 255);
    color: white;
    cursor: default;
    font-family: 'Libre Barcode 39 Text', Arial, cursive;
    font-size: 64px;
    margin: 10px 22px;
    max-width: fit-content;
    padding: 10px;
}

#contents-box {
    height: calc(100vh - 167px);
    margin: 10px;
    width: 100%;
}

#screen-blanker {
    display: "none";
    height: 100%;
    width: 100%;
}

#copyright {
    background-color: rgba(128, 128, 128, 0.4);
    border-radius: 8px;
    /* bottom: 10px; */
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    max-width: fit-content;
    padding: 10px;
    position: fixed;
    right: 10px;
    top: 20px;
}

.btn {
    align-items: center;
    background-color: transparent;
    background-size: cover;
    border-style: hidden;
    border-width: 0;
    border: none;
    display: flex;
    font-weight: normal;
    height: auto;
    justify-content: center;
    position: relative;

    margin: 2px;
    padding: 0px;
    border-radius: 15px;
    font-size: 16px;
    width: 172px;
}

.smol {
    margin: 2px ;
    padding: 0px;
    border-radius: 6px;
    font-size: 14px;
    width: 72px;
}

.btn:focus,
.btn:hover {
    background-color: white;
    font-weight: 800;
}

.btn:active {
    background-color: rgb(0, 255, 0);
}

.btn:disabled,
.btn:disabled:hover,
.btn:disabled:focus,
.btn:disabled:active {
    background-color: red;
}

/* Modified from code at W3Schools */
/* The Modal (background) */
.modal {
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    display:flex;
    flex-direction: column;
    height: 100%;
    left: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

/* Modal Content */
.modal-content {
    -webkit-animation-duration: 0.4s;
    -webkit-animation-name: animatetop;
    animation-duration: 0.4s;
    animation-name: animatetop;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgb(128, 0, 128);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display:flex;
    flex-direction: column;
    margin: auto;
    max-height: 100%;
    position: relative;
    max-width: 60%;
    min-width: 25%;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from { top: -300px; opacity: 0 }
    to   { top: 0; opacity: 1 }
}

@keyframes animatetop {
    from { top: -300px; opacity: 0 }
    to   { top: 0; opacity: 1 }
}

.modal-close-header {
    background-color: rgba(128, 0, 128, 0.5);
    color: white;
    height: 32px;
    padding: 0px;

    flex-grow:0;
}

/* The Close Button */
.modal-close {
    color: white;
    float: right;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    padding: 0px 8px;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    cursor: pointer;
    text-decoration: none;
}

.modal-header,
.modal-body,
.modal-footer {
    color: white;
    padding: 10px;
    text-align: center;
}

.modal-header,
.modal-footer {
    background-color: rgba(128, 128, 128, 0.5);
    max-height: fit-content;
    min-height: fit-content;
    height:fit-content;
}

.modal-body {
    background-color: rgba(0, 0, 0, 0.5);
    flex-grow:2;
    flex-shrink: 2;
    overflow: auto;
}

.infoHeaderBG   { background-color: rgba(128, 128, 128, 0.5); }
.infoMessageBG  { background-color: rgba(000, 000, 000, 0.5); }
.infoFooterBG   { background-color: rgba(128, 128, 128, 0.5); }

.okHeaderBG     { background-color: rgba(000, 128, 000, 0.66); }
.okMessageBG    { background-color: rgba(000, 000, 000, 0.66); }
.okFooterBG     { background-color: rgba(000, 128, 000, 0.66); }

.warnHeaderBG   { background-color: rgba(128, 128, 000, 0.66); }
.warnMessageBG  { background-color: rgba(000, 000, 000, 0.66); }
.warnFooterBG   { background-color: rgba(128, 128, 000, 0.66); }

.failHeaderBG   { background-color: rgba(128, 000, 000, 0.66); }
.failMessageBG  { background-color: rgba(000, 000, 000, 0.66); }
.failFooterBG   { background-color: rgba(128, 000, 000, 0.66); }

.small-btn-text,
.btn-text,
.home-btn-text {
    border-style: hidden;
    margin-left: auto;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: fit-content;
}

.small-btn-text,
.btn-text {
    color: white;
}

.home-btn-text {
    color: black;
}

* {
    box-sizing: border-box;
}

.pw-bg-hidden-text,
.pw-bg-text,
.bg-hidden-text,
.bg-text {
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    border: 3px solid #f1f1f1;
    color: white;
    font-weight: bold;
    padding: 20px;
    position: absolute;
    text-align: center;
    width: 60%;
    z-index: 2;
}

.bg-hidden-text,
.bg-text {
    left: 60%;
    transform: translate(-50%, -50%);
}

.pw-bg-hidden-text,
.pw-bg-text {
    bottom: 0;
    height: fit-content;
    left: 0;
    margin: auto;
    right: 0;
    top: 0;
}

.uname,
.passwd,
.pw2,
.gname,
.fname,
.phone,
.pdate,
.ptime,
.topic {
    width: 45%;
    padding: 0 10px 0 0;
    margin: 5px;
}

.bg-hidden-text,
.pw-bg-hidden-text {
    visibility: invisible;
}

.bg-text,
.pw-bg-text {
    visibility: visible;
}

/* These HAVE to be at the end to be effective */


.hide {
    visibility: hidden;
}

.vanish {
    display: none;
}

.disable,
.disable:hover,
.disable:focus,
.disable:active {
    background-color: red;
    border-color: red;
}

.enable,
.enable:hover,
.enable:focus,
.enable:active {
    background-color: normal;
    border-color: normal;
}
