
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font:400 1em arial,verdana;
}

#bodycontainer {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: auto 1fr;
}

#header {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
}

#menu {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    padding-left:20px;
}

#content {
    grid-column: 2;
    grid-row: 2;
    padding: 20px;
}


b,
strong {
    font-weight: 900;
}


h1 {
    font: 30px Helvetica, Verdana, sans-serif;
}

h2 {
    background: linear-gradient(to bottom, #A01227,black);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font: 20px Helvetica, Verdana, sans-serif;
    font-weight: 900;
    text-align: center;
}

h3 {
    text-align: left;
    font: bolder 18px Helvetica, Verdana, sans-serif;
}


#wait {
    background-color: rgba(245,245,245, 0.6);
    text-align: center;
    width:300px;
}

.home {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.static {
    overflow-y: auto;
    text-align: center;
}

.line {
    border: 2px solid #A01227;
}

.border {
    border: 1px solid #F55B1C;
}

.centerscreen {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 50vw;
    max-width:70vw;
    transform: translate(-50%, -50%);
}

.fade {
    background-color: lightblue;
    width: fit-content;
    margin: 10px auto 0px auto;
    padding: 10px;
    text-align: left;
    border-radius: 8px;
}

    .fade.very {
        opacity:0.6;
    }

    .fade.less {
        opacity: 0.8;
    }

    .fade.little {
        opacity: 0.9;
    }

.nofade {
    width: 80%;
    margin: 0px auto 0px auto;
    padding: 10px;
    text-align: left;
    border-radius: 8px;
}



p {
    font: 15px Helvetica, Verdana, sans-serif;
}

table {
    border-collapse: collapse;
    margin: 0 auto;
}
td {
    text-align: left;
    border: 1px solid black;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top;
}


td.clean {
    border: none;
}


.footer {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: white;
    border:2px solid white;
    border-radius: 8px;
    font-size: 11px;
    z-index: 1000;
}

#popForm {
    height: fit-content;
    width: fit-content;
    max-height: 600px;
    overflow: scroll;
}
#popFormData {
    height: fit-content;
    width: fit-content;
}


.btn3d {
    background: linear-gradient(to bottom, #F57B1C, #A01227);
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    padding: 2px 5px;
    border: 2px solid #A01227;
    border-top-color: #A01227;
    border-bottom-color: #F57B1C;
    border-right-color: #F57B1C;
    border-radius: 5px;
    box-shadow: 3px 3px 4px rgba(0,0,0,0.5);
    cursor: pointer;
    white-space: nowrap;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: green;
}

/* Menu stuff */





.menu {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

    /* Top-level menu items */
    .menu > li {
        display: block;
        position: relative;
        z-index: 100;
        width: 100%;
    }

        .menu > li:first-child {
            margin-left: 0;
        }

    .menu li a {
        text-decoration: none;
        padding: 10px 15px;
        display: block;
        color: black;
        transition: all 0.2s ease-in-out 0s;
    }

        .menu li a:hover,
        .menu li:hover > a {
            color: orange;
        }

    /* First-level dropdown */
    .menu > li > ul {
        visibility: hidden;
        background-color: white;
        opacity: 0;
        margin: 0;
        padding: 0;
        width: 170px;
        position: absolute;
        left: 100%;
        top: 0;
        z-index: 99;
        transform: translate(20px, 0);
        transition: all 0.2s ease-out;
        border-radius: 8px;
        list-style: none;
    }

    /* Dropdown items */
    .menu ul li {
        display: block;
        float: none;
        background: none;
        margin: 0;
        padding: 0;
    }

    /* Show dropdown */
    .menu > li:hover > ul {
        visibility: visible;
        opacity: 1;
        transform: translate(0, 0);
    }

    /* Nested dropdown */
    .menu ul ul {
        left: 100%;
        top: 0;
        visibility: hidden;
        opacity: 0;
        transform: translate(20px, 0);
        transition: all 0.2s ease-out;
    }

    /* Show nested dropdown */
    .menu ul li:hover > ul {
        visibility: visible;
        opacity: 1;
        transform: translate(0, 0);
    }
