body {
    margin: 0;
    padding: 0;
}

.nav ul {

    grid-template-columns: repeat(5, 1fr);
}

/* .tables {
    display: flex;
    flex-direction: column;
    font-family: Arial;
    justify-content: space-evenly;
    align-items: center;
} */


.tables h4 {
    font-family: 'Quando', serif;
    text-align: center;
    font-size: .9rem;
    color: rgb(54, 77, 73);
    margin: 0 0 5px 5px;
}

#content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        " head head head"
        " nav nav nav"
        "search . ."
        "table table table"
        "foot foot foot"
}

.header {
    grid-area: head;
}

.nav {
    grid-area: nav;
    padding-right: 5%;
}

.tables {
    grid-area: table;
}


.footer {
    grid-area: foot;
}

input:not([type="radio"]):not([type="checkbox"]) {
    -webkit-appearance: none;
    border-radius: 0;
}

.light-table-filter {
    grid-area: search;
    width: 100%;
    font-size: 1.2em;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    margin: 5px 0;
    outline: #000;
}

table {
    grid-area: table;
    width: 100%;
    border-collapse: collapse;
}



.tableWrap {
    background-color: rgba(161, 255, 240, 0.6);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    padding-top: 15px;
    margin: 5px;
    font-size: .8em;
    margin-bottom: 10px;
    overflow-y: auto;
    max-height: 630px;
}


th,
td {
    padding: 0.4em 0.5em 0.4em 1em;
    vertical-align: text-top;
    text-align: left;
    text-indent: -0.5em;
}

th {
    vertical-align: bottom;
    background-color: rgb(20, 176, 153);
    position: sticky;
    top: 0;
    color: #fff;
    font-weight: bold;
}

td::before {
    display: none;
}


tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}


th:nth-of-type(3),
td:nth-of-type(3) {
    text-align: left;
}

div {
    overflow: auto;
}

@media screen and (max-width: 37em),
print and (max-width: 5in) {
    #content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            " head head head"
            " nav nav nav"
            ". search ."
            ". table ."
            "foot foot foot"
    }

    table,
    tr,
    td {
        display: block;

    }

    tr {
        padding: 0.7em 2vw;
    }

    th,
    tr:first-of-type {
        display: none;
    }

    th,
    td {
        text-indent: none;
    }

    td::before {
        display: inline;
    }

    td {
        /* display: grid; */
        grid-template-columns: 4em auto;
        grid-gap: 1em 4em;
    }

    td:nth-of-type(1) {
        font-weight: bold;
    }

    td:nth-of-type(3) {
        text-align: left;
    }


    td:nth-of-type(4),
    td:nth-of-type(5) {
        text-align: left;
        width: 11em;
    }

    td:nth-of-type(4)::before,
    td:nth-of-type(5)::before {
        text-align: left;
    }

    td:nth-of-type(2)::before {
        font-style: normal;
    }
}