﻿
.filter-table {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #dfdfdf;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}


.filter-table th {
    min-height: 30px;
    line-height: 20px;
    border-bottom: 1px solid #dfdfdf;
    font-size: 14px;
    font-family: 'Century Gothic', Arial, sans-serif;
    vertical-align: top;
}

.filter-table td {
    padding: 5px;
    border-right: 1px solid #e0e0e0;
}

.filter-table th input,
.filter-table th select
 {
    border-radius: 5px;
    border: none;
    border: 1px solid #e0e0e0;
    font-size: 12px;
    padding: 2px 5px;
    font-weight: normal;
    max-height: 20px;
    float: left;
    max-width: 100%;
}

.filter-table tr th:first-child span,
.filter-table tr td:first-child {
    padding-left: 5px;
    text-align: center;
}

.filter-table tr td:last-child {
    padding-right: 10px;
    border-right: none;
}

.filter-table tbody tr td {
    border-bottom: 1px solid #dfdfdf;
}

.filter-table tbody tr:last-child td {
    border-bottom: none;
}

.filter-table tbody tr:nth-child(odd) td {
    background-color: #f5f5f5;
}

.filter-table tr th span {
    display: block;
    padding: 2px 5px;
}


.filter-table tr th > span:first-child {

    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 0%,#ededed 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */

    border-bottom: 1px solid #ccc;
    min-height: 25px;
}

.filter-table tr th {
    border-left: 1px solid #e0e0e0;
}
.filter-table tr th:first-child {
    border-left: none;
}

.filter-table tr th span:last-child:before,
.filter-table tr th span:last-child:after {
    display: table;
    content: "";
}

.filter-table tr th span:last-child:after {
    clear: both;
}

/*.filter-table tr th span:last-child {
    float: right;
}*/

.filter-table tr th {
    position: relative;
    overflow: hidden;
}

.filter-table tr th span:first-child:after {
    display: inline-block;
    content: " ";
    width: 10px;
    height: 10px;
    font-size: 10px;
    position: absolute;
    right: 2px;
}

.filter-table tr th span:hover {
    cursor: pointer;   
}

.filter-table tr th span.asc:after {
    content: "v";
}

.filter-table tr th span.desc:after {
    content: "^";
}

.filter-table tfoot tr td {
    border-right: 1px solid transparent;
    border-top: 1px solid #ccc;
    background-color: #ff9900;
}

.status-red,
.status-orange,
.status-green {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-block;
}

.status-red {
    background-color: #900;
}

.status-orange {
    background-color: #ff9900;
}

.status-green {
    background-color: #090;
}