.nextTable {
    font-family: Arial;
}

.tables {
    margin: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-family: Arial;
}

.tables a {
    text-decoration: none;
}

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

.place {
    font-weight: bolder;
}

.date {
    padding: 0 5px;
}

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

.button {
    display: none;
}

table {
    margin: 0;
    border-collapse: collapse;
    width: 100%;
    background-color: rgba(161, 255, 240, 0.5);
}


.tableWrap {
    /* 
    outline: 3px solid rgba(161, 255, 240, 0.6); */
    background-color: rgba(161, 255, 240, 0.6);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    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;
}


th {
    width: 200px;
    background-color: rgb(20, 176, 153);
    color: #fff;
}

tr {
    text-align: left;
    border-bottom: 3px;
}

th:nth-child(1),
td:nth-child(1) {
    text-align: center;
}



td:before {
    content: attr(data-label);
    float: left;
}


.red {
    color: red;
    margin-left: 28px;
}


/* MEDIA QUERIES */


@media(min-width: 700px) {

    #content {
        padding: 3%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "head head"
            "nav nav"
            "tables tables"
            "foot foot"
    }

    table {
        background-color: none;
    }


    .tables {
        grid-area: tables;
    }

    .header {
        grid-area: head;
    }

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

    .footer {
        grid-area: foot;
    }
    
    .pic{
        width:90%;
        margin-right:10px;
    }

    .button {
        display: inline-block;
        background-color: rgb(20, 176, 153);
        color: #fff;
        padding: 5px;
        border: none;
        outline: #000;
        cursor: pointer;
        -webkit-appearance: none;
        border-radius: 0;

    }

    .button:hover {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }
}

@media screen and (max-width: 37em),
print and (max-width: 5in) {


    th {
        display: none;
    }

    td:last-child {
        margin-bottom: 10px;
    }


    td {
        display: grid;
        grid-template-columns: 2em auto;

    }

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

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

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

    td:nth-child(1) {
        text-align: left;
    }



}

@media print {
    body {
        font-size: 10pt;
        color: #000;
        background-color: #fff;
        background-image: none;
    }

    body,
    main {
        margin: 0;
        padding: 0;
        background-color: #fff;
        border: none;

    }

    table {
        margin-top: -10px;
        page-break-inside: avoid;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    div {
        overflow: visible;
    }

    th {
        color: #000;
        background-color: #fff;

    }


/*    .bobsButton,*/
    .logo,
    .nav,
    .footer {
        display: none;
    }

}

@media print and (max-width: 5in) {
    caption {
        color: #000;
        background-color: #fff;
        border-bottom: 1pt solid #000;
    }

    /* #content {
        font-size: 2em;
    } */

    table {
        page-break-inside: auto;
    }

    tr {
        page-break-inside: avoid;
    }

}
