/*https://stackoverflow.com/questions/17067294/html-table-with-100-width-with-vertical-scroll-inside-tbody*/
table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    border: 2px solid #dadada;
    margin: 0 auto;
    /*width: 100%;*/
}

td, th {
    border: 1px solid #dddddd;
    padding: 8px;
}

th {
    background-color: #4CAF50;
    color: white;
}

.dataRow:hover {
    background-color: rgb(255, 163, 87); /* change color when hover */
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.363); /* x, y, blur color */
}

#table-location, .tableDisplay{
    vertical-align:top; /* align the top of the tables */
    display: inline-block;
    margin: 10px 20px;
    text-align: center;
}

#tableModule {
    display: block;
    background-color: rgb(245, 245, 245);
    border: 4px solid steelblue;
    border-radius: 10px;
    height: 800px; /* max height of the container */
    text-align: center;
    cursor: default;
    overflow: hidden;
    margin: 0 auto;
}

#tableContainer {
    margin: 0 auto;
    padding: 0;
    height: 700px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between; /* same distance between blocks */
    overflow: auto; /* auto to auto scroll if tree is too big */
}
/*
table tbody, table thead { display: block; }

table tbody {
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}
*/

#uploadHeader{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between; /* same distance between blocks */
    padding: 10px 10px 0px 10px;
}

#fileNameHeader {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between; /* same distance between blocks */
    padding: 0px 10px 10px 10px;
}

#fileNameHeader span {
    background-color: rgb(245, 245, 245);   

    display: inline-block; /* buttons have to be inline */

    color: white; /* color for text */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    font-family: arial, sans-serif;

    text-align: center;
    display: inline-block;
    margin: 0 auto;
    width: 155px;

    color: steelblue;
}

.uploadInputWrapper {
    background-color: rgb(245, 245, 245);
    padding: 7px 14px; /* top/bottom right/left */

    display: inline-block; /* buttons have to be inline */
    border: 3px solid steelblue;
    border-radius: 10px;

    color: white; /* color for text */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    font-family: arial, sans-serif;

    text-align: center;
    display: inline-block;
    margin: 20px auto;
    width: 155px;

    color: steelblue;
}

.uploadInputWrapper:hover {
    background-color: rgb(255, 163, 87); /* change color when hover */
    cursor: pointer; /* "click" cursor effect OVER 9999 !!! */
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.363); /* x, y, blur color */
}