.table {
    width: 100%;
    margin-bottom: 0;
    background-color: #FEFEFE;
    color: #777777;
}

.table table {
    max-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 0;
}


.table th,
.table td {
    padding: 9px 8px;
    line-height: 20px;
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid #dddddd;
}

.table tbody tr:last-child td, 
.table thead.floating-thead tr:last-child td {
    border-bottom: 1px solid #dddddd;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: #F7F7F7;
}


.table tbody td { font-size: 14px; }

.table tbody + tbody { border-top: 2px solid #dddddd; }

.table .table { background-color: #FAFAFA; }

.table-condensed th,
.table-condensed td { padding: 4px 5px; }

.table-bordered {
    border-top: 1px solid #dddddd;
    border-collapse: separate;
    *border-collapse: collapse;
    border-left: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.table-bordered th,
.table-bordered td { border-left: 1px solid #dddddd; }

.table-bordered.table-hover tr:hover td {
    border-left: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
    color: #444444;
}

.table-bordered caption + thead tr:first-child th,
.table-bordered caption + tbody tr:first-child th,
.table-bordered caption + tbody tr:first-child td,
.table-bordered colgroup + thead tr:first-child th,
.table-bordered colgroup + tbody tr:first-child th,
.table-bordered colgroup + tbody tr:first-child td,
.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td { border-top: 0; }

.table-bordered thead:first-child tr:first-child > th:first-child,
.table-bordered tbody:first-child tr:first-child > td:first-child,
.table-bordered tbody:first-child tr:first-child > th:first-child { }

.table-bordered thead:first-child tr:first-child > th:last-child,
.table-bordered tbody:first-child tr:first-child > td:last-child,
.table-bordered tbody:first-child tr:first-child > th:last-child {
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    border-top-right-radius: 0px;
}

.table-bordered thead:last-child tr:last-child > th:first-child,
.table-bordered tbody:last-child tr:last-child > td:first-child,
.table-bordered tbody:last-child tr:last-child > th:first-child,
.table-bordered tfoot:last-child tr:last-child > td:first-child,
.table-bordered tfoot:last-child tr:last-child > th:first-child {
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-left-radius: 0px;
}

.table-bordered thead:last-child tr:last-child > th:last-child,
.table-bordered tbody:last-child tr:last-child > td:last-child,
.table-bordered tbody:last-child tr:last-child > th:last-child,
.table-bordered tfoot:last-child tr:last-child > td:last-child,
.table-bordered tfoot:last-child tr:last-child > th:last-child {
    -webkit-border-bottom-right-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    border-bottom-right-radius: 0px;
}

.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-left-radius: 0;
}

.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
}

.table-bordered caption + thead tr:first-child th:first-child,
.table-bordered caption + tbody tr:first-child td:first-child,
.table-bordered colgroup + thead tr:first-child th:first-child,
.table-bordered colgroup + tbody tr:first-child td:first-child {
    -webkit-border-top-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
    border-top-left-radius: 0px;
}

.table-bordered caption + thead tr:first-child th:last-child,
.table-bordered caption + tbody tr:first-child td:last-child,
.table-bordered colgroup + thead tr:first-child th:last-child,
.table-bordered colgroup + tbody tr:first-child td:last-child {
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    border-top-right-radius: 0px;
}

.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th { background-color: #f9f9f9; }

.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
    background-color: #ededed;
    color: #222222;
}

table td[class*="span"],
table th[class*="span"],
.row-fluid table td[class*="span"],
.row-fluid table th[class*="span"] {
    display: table-cell;
    float: none;
    margin-left: 0;
}

.table td.span1,
.table th.span1 {
    float: none;
    width: 44px;
    margin-left: 0;
}

.table td.span2,
.table th.span2 {
    float: none;
    width: 124px;
    margin-left: 0;
}

.table td.span3,
.table th.span3 {
    float: none;
    width: 204px;
    margin-left: 0;
}

.table td.span4,
.table th.span4 {
    float: none;
    width: 284px;
    margin-left: 0;
}

.table td.span5,
.table th.span5 {
    float: none;
    width: 364px;
    margin-left: 0;
}

.table td.span6,
.table th.span6 {
    float: none;
    width: 444px;
    margin-left: 0;
}

.table td.span7,
.table th.span7 {
    float: none;
    width: 524px;
    margin-left: 0;
}

.table td.span8,
.table th.span8 {
    float: none;
    width: 604px;
    margin-left: 0;
}

.table td.span9,
.table th.span9 {
    float: none;
    width: 684px;
    margin-left: 0;
}

.table td.span10,
.table th.span10 {
    float: none;
    width: 764px;
    margin-left: 0;
}

.table td.span11,
.table th.span11 {
    float: none;
    width: 844px;
    margin-left: 0;
}

.table td.span12,
.table th.span12 {
    float: none;
    width: 924px;
    margin-left: 0;
}

.table tbody tr.success > td { background-color: #dff0d8; }

.table tbody tr.error > td { background-color: #f2dede; }

.table tbody tr.warning > td { background-color: #fcf8e3; }

.table tbody tr.info > td { background-color: #d9edf7; }

.table-hover tbody tr.success:hover > td { background-color: #d0e9c6; }

.table-hover tbody tr.error:hover > td { background-color: #ebcccc; }

.table-hover tbody tr.warning:hover > td { background-color: #faf2cc; }

.table-hover tbody tr.info:hover > td { background-color: #c4e3f3; }

/* Specific columns  */

td a {
    color: #666666;
    text-decoration: none;
}

th.important,
td.important { font-weight: 700; }

th.command,
td.command {
    width: 48px;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
    padding: 0;
}

td.command .trigger {
    padding: 16px 8px;
    display: block;
}

td.command .q-popover { text-align: left; }

tbody td.command:last-child { border-left: 1px solid #DDDDDD; }

td.command .trigger.active {
    background: #176649;
    color: #FFF;
}

th.title,
td.title {
    cursor: pointer;
    padding: 0;
}

th.title .inner,
td.title .inner {
    padding: 8px;
    margin: 0;
    display: inline-block;
}

th.title .inner h2,
td.title .inner h2 {
    font-size: 1.1em;
    font-weight: 600;
    padding: 0;
    margin: 0;
    line-height: 1.3em;
}

th.title .inner .info,
td.title .inner .info {
    font-size: 0.9em;
}

th.icon,
td.icon {
    /* TODO: Not sure what is this for */ 
    /*position: relative;*/
    width: 48px;
    text-align: center;
}

th.icon img,
td.icon img {
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    width: 40px;
    height: 40px
}


th.icon .acts,
td.icon .acts {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 3px;
}

th.checkbox,
td.checkbox {
    width: 22px;
    text-align: center;
}

th.checkbox input,
td.checkbox input { float: none !important; }

th i,
td i { margin: 0 8px; }

th.date-time,
td.date-time {
    width: 140px;
    text-align: right;
}

th.number,
td.number,
th.currency,
td.currency {
    width: 60px;
    text-align: right;
}

td.thumb {
    width: 60px;
    padding: 0;
    background-color: #F7F7F7;
}

td.thumb .inner {
    /*margin: 5px;*/
    color: #E7E7E7;
    padding: 10px;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 24px;
}

td.progress {
    text-align: center;
    width: 100px;
}

table.treetable tr.closed span.indenter a:before {
  font-family: FontAwesome;
  content: "\f0da";
  padding: 5px;
  font-size: 16px;
}
table.treetable tr.expanded span.indenter a:before {
    font-family: FontAwesome;
     content: "\f0d7";
     font-size: 16px;
}

.badges {
    position: relative;
}
.badge {
    position: absolute; color: black;  bottom: -5px; right: -10px;
}