tfoot, thead {
    display: table-header-group;
}
tbody{
    display: table-footer-group;
}
th input {
    width: 100%;
}
td.details-control {
    background: url('../details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('../details_close.png') no-repeat center center;
}