.gantt-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;      /* centers the wrapper on the page */
    overflow-x: auto;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px;
    box-sizing: border-box;
}

.gantt-table {
    width: 100%;
    max-width: 900px;       /* keeps the table from stretching too wide on large screens */
    margin: 0 auto;         /* centers the table itself inside the wrapper */
    border-collapse: collapse;
    table-layout: fixed;
}

.gantt-table th,
.gantt-table td {
    border: 1px solid #000;
    text-align: center;
    vertical-align: middle;
    padding: 6px 4px;
    font-size: 13px;
}

.gantt-table thead th {
    background-color: #dbe5f1;
    font-weight: bold;
}

.gantt-table .wp-header {
    width: 22%;
    text-align: center;
}

.gantt-table .time-header {
    text-align: center;
}

.gantt-table .wp-name {
    text-align: left;
    font-weight: bold;
    background-color: #dbe5f1;
    padding: 8px 6px;
}

.gantt-table td.fill {
    background-color: #1fd322;
}

.gantt-table tbody td {
    height: 45px;
}

/* On very large displays, cap things a bit tighter so it doesn't look sparse/oversized */
@media (min-width: 1200px) {
    .gantt-wrapper,
    .gantt-table {
        max-width: 850px;
    }
}