.wrapper {
    margin: 0 auto;
    padding: 40px;
    max-width: 800px;
}

.table {
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    background-color: #2b2b2b;
    border-radius: 3px;
    display: table;
}

@media screen and (max-width: 580px) {
    .table {
        display: block;
    }
}

.row {
    display: table-row;
    background: #f6f6f6;
}

.row:nth-of-type(odd) {
    background: #e9e9e9;
}

.row.header {
    font-weight: 900;
    color: #ffffff;
    background: #ea6153;
}

.row.green {
    background: #27ae60;
}

.row.blue {
    background: #2980b9;
}

@media screen and (max-width: 580px) {
    .row {
        padding: 14px 0 7px;
        display: block;
    }

    .row.header {
        padding: 0;
        height: 4px;
    }

    .row.header .cell {
        display: none;
    }

    .row .cell {
        margin-bottom: 6px;
    }

    .row .cell:before {
        margin-bottom: 3px;
        content: attr(data-title);
        min-width: 150px;
        font-size: 10px;
        line-height: 10px;
        font-weight: bold;
        text-transform: uppercase;
        color: #969696;
        display: block;
    }

}

.cell {
    padding: 2px 10px 15px 2px;
    display: table-cell;
    width: unset;
}

.cell.red {
    background: red;
}

.cell.redtext {
    color: red;
}

.cell.orange {
    background: orange;
}

.cell.gray {
    background: darkgrey;
}

.row.header:hover {
    background: #27ae60;
    cursor: default;
}

.row:hover {
    background: gray;
    cursor: pointer;
}

@media screen and (max-width: 580px) {
    .cell {
        padding: 2px 16px;
        display: block;
    }
}