﻿/*
 * See: https://codepen.io/chriscoyier/pen/Fapif
*/

.table.table-header-rotated {
    border-collapse: collapse;
}

.csstransforms .table.table-header-rotated td {
    width: 30px;
}

.no-csstransforms .table.table-header-rotated th {
    padding: 5px 0px;
}

.table.table-header-rotated td {
    text-align: center;
    padding: 10px 5px;
}

.csstransforms .table.table-header-rotated th.rotate {
    height: 140px;
    white-space: nowrap;
    /* Firefox needs the extra DIV for some reason, otherwise the text disappears if you rotate  */
}

.table.table-header-rotated thead tr th div {
    transform:
    /*// Magic Numbers*/
    translate(0px, 45px)
    /*// 45 is really 360-45*/
    rotate(270deg);
    width: 10px;
}

.table.table-header-rotated > div > span {
    padding: 5px 10px;
}

.table.table-header-rotated th.row-header {
    padding: 0 10px;
}
