.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after {
    clear: both;
}

.hide-text {
    font: NaN a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.input-block-level {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.grid-view {
    font-size: 13px;
}

.grid-view .table th > .sort-link {
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: bold;
    position: relative;
}

.grid-view .table th > .sort-link:hover {
    text-decoration: none;
}

.grid-view .table th > .sort-link .caret {
    border-color: transparent;
    border-style: solid;
    border-width: 4px;
    display: none;
    position: absolute;
    right: 5px;
}

.grid-view .table th > .sort-link.asc .caret {
    border-bottom-color: #333;
    display: block;
    top: 4px;
}

.grid-view .table th > .sort-link.desc .caret {
    border-top-color: #333;
    display: block;
    top: 8px;
}

.grid-view .table .filters > td .filter-container {
    padding: 0 16px 0 0;
}

.grid-view .table .filters > td .filter-container input[type="text"],
.grid-view .table .filters > td .filter-container select {
    margin-bottom: 0;
    width: 100%;
}

.grid-view .table tr.selected td {
    background: #eee;
}

.grid-view .table td {
    vertical-align: middle;
}

.grid-view .table .checkbox-column {
    width: 15px;
}

.grid-view .table .number-column {
    text-align: right;
}

.grid-view .table .button-column {
    text-align: right;
    min-width: 50px;
}

.grid-view .summary {
    color: #999999;
    font-size: 12px;
    padding: 6px 0;
    text-align: right;
}

.grid-view .empty {
    font-style: italic;
}

.grid-view.grid-view-loading {
    background: url(../img/loader.gif) no-repeat 100% 10px;
}

.grid-view.grid-view-loading .table {
    opacity: 0.5;
}

.grid-view.grid-view-loading .table th > .sort-link .caret {
    display: none;
}

.detail-view .null {
    color: #ffc0cb;
}

.detail-view th {
    text-align: right;
    width: 160px;
}

span.required {
    color: #b94a48;
    font-weight: bold;
}
