﻿.table-striped tbody tr:nth-child(2n+1) td, 
.table-striped tbody tr:nth-child(2n+1) th {
    background-color: #ebebeb;
}

.table .btn-link {
  padding: 0;
  color: #006dcc;
  background-color: transparent;
}

.table .btn-link:hover {
  color: #002a80;
}

.table tr.highlighted td, 
.table td.highlighted {
  background-color: #f5f8ab !important;
}

.table td.right, 
.table th.right {
  text-align: right;
}

.table td.center, 
.table th.center {
  text-align: center;
}

.table tfoot td {
  font-weight: bold;
}

.table .field-validation-error {
  display: none;
}

.table .form-control-static {
  padding-top: 0;
}

.table .form-control[disabled],
.table .form-control[readonly] {
  background-color: transparent;
}
.table > thead > tr > th {
  border-bottom: none;
}

/* TABLE GRID */

.table-grid {
  font-size: 11pt;
  font-family: 'Calibri';
}
.table-grid > tbody > tr > td ,
.table-grid th {
  padding: 2px 1px;
}

  .table-grid td span {
    display: inline-block;
    font-size: 11pt;
    font-family: 'Calibri';
    padding: 2px 1px;
  }

  .table-grid select,
  .table-grid input {
    background: transparent;
    border: 0;
    font-size: 11pt;
    font-family: 'Calibri';
    height: 24px;
    margin-bottom: 0;
    width: 100%;
  }

  .table-grid .btn-link {
    font-size: 11pt;
    font-family: 'Calibri';
  }

/* These are the fixes to make the grid fast when tabbing in IE */
.table-grid input[type="text"] {
  border: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  -ms-transition: none;
  transition: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.table-grid input[type="text"]:focus {
  outline: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.table-grid .checkbox, 
.table-grid .checkbox input[type="checkbox"] {
  float: none;
  margin: 0;
  padding: 0 8px;
}

.table-grid .checkbox input[type="checkbox"] {
  float: none;
  width: auto;
}

.table-grid .input-append {
  width: 100%;
}

.table-grid .input-append input {
  width: auto;
  width: calc(100% - 18px);
}

.value-popover .popover {
  width: auto;
}

.value-popover h3 {
  display: none;
}

.value-popover .popover-content {
  padding: 3px;
}

.value-popover .popover-content input[type="text"] {
  border: 1px solid #dddddd;
  width: 70px;
}

.table thead, 
.table thead th {
  background-color: #888;
  color: #fff;
}

table.table thead .sorting,
table.table thead .sorting_asc,
table.table thead .sorting_desc,
table.table thead .sorting_asc_disabled,
table.table thead .sorting_desc_disabled {
  cursor: pointer;
  *cursor: hand;
  line-height: 15px;
  padding-left: 18px;
  vertical-align: middle;
}

table.table thead .sorting {
  background: url(../images/sort_both.png) no-repeat center left;
}
table.table thead .sorting_asc {
  background: url(../images/sort_asc.png) no-repeat center left;
}
table.table thead .sorting_desc {
  background: url(../images/sort_desc.png) no-repeat center left;
}

table.table thead .sorting_asc_disabled {
  background: url(../images/sort_asc_disabled.png) no-repeat center left;
}
table.table thead .sorting_desc_disabled {
  background: url(../images/sort_desc_disabled.png) no-repeat center left;
}

table.dataTable th:active {
    outline: none;
}

.table-hover tr:hover,
.table-selectable tr:hover {
  cursor: pointer;
}

.table-selectable tr.row-selected td {
    background-color: #c1d8ea !important;
}

.table-striped tbody tr.row-selected:nth-child(2n + 1) td {
    background-color: #c1d8ea !important;
}

.table-striped tbody tr.row-selected:nth-child(2n) td {
    background-color: #c1d8ea !important;
}

.table-fixed-header .table-header {
  margin-bottom: 0 !important;
  padding-right: 17px;
}

.table-fixed-header .table-body {
  display: block;
  overflow: auto;
  overflow-y: scroll;
  width: 100%;
}

.table-grid .btn-default.btn.btn-dropdown {
  border-color: white;
  background-color: white;
  color: white;
  box-shadow: none;
  /*height: 24px;
  line-height: 24px;*/
  padding: 0 0px;
  /*border: 1px solid #ced4da;*/
}