/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 * version: 1.10.1
 * https://github.com/wenzhixin/bootstrap-table/
 */

.filterControl input,
.filterControl input:focus {
  border: none;
  height: 24px;
  border-radius: 0;
  font-size: 12pt;
  background-color: rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
}

.filterControl input::placeholder {
  color: #e2e2e2;
  font-size: 10pt;
}

.bootstrap-table thead>tr>th:last-child .fht-cell {
  padding-right: 3px;
}

.bootstrap-table thead>tr>th:first-child .fht-cell {
  padding-left: 3px;
}

/* .page-number:hover,
.page-pre:hover,
.page-next:hover {
  border: 1px solid #007bff;
  background-color: #ffffff;
} */
.page-number.active {
  /* border: 1px solid #007bff; */
  background-color: #007bff;
}

.page-number.active>a,
.page-number.active>a:hover {
  cursor: default;
  color: #FFFFFF;
}

.fixed-table-container {
  border: none !important;
}

.fixed-table-body {
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24) !important;
}

.detail-view {
  /* border-left: 9px solid #3a6588; */
  /* box-shadow: 4px 0 0 0 #3a6588 inset; */
}

.detail-view>td {
  padding: 20px 10px 10px 15px !important;
  /* box-shadow: 4px 0 0 0 #3a6588 inset; */
  box-shadow: 4px 0 0 0 #444444 inset, 0 0 3px 0 #d9d9d9;
  /* border-top: 0.7px solid #cccccc; */
  background-color: #ffffff;
}

.bootstrap-table .table {
  margin-bottom: 0 !important;
  border-bottom: 1px solid #dddddd;
  border-collapse: collapse !important;
  border-radius: 1px;
}

.bootstrap-table .table:not(.table-condensed),
.bootstrap-table .table:not(.table-condensed)>tbody>tr>th,
.bootstrap-table .table:not(.table-condensed)>tfoot>tr>th,
.bootstrap-table .table:not(.table-condensed)>thead>tr>td,
.bootstrap-table .table:not(.table-condensed)>tbody>tr>td,
.bootstrap-table .table:not(.table-condensed)>tfoot>tr>td {
  padding: 2px 8px;
}

.bootstrap-table .table.table-no-bordered>thead>tr>th,
.bootstrap-table .table.table-no-bordered>tbody>tr>td {
  border-right: 2px solid transparent;
}

.fixed-table-container {
  position: relative;
  clear: both;
  border: 1px solid #dddddd;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

.fixed-table-container.table-no-bordered {
  border: 1px solid transparent;
}

.fixed-table-footer,
.fixed-table-header {
  overflow: hidden;
}

.fixed-table-footer {
  border-top: 1px solid #dddddd;
}

.fixed-table-body {
  overflow-x: auto;
  overflow-y: auto;
  /*height: 100%;*/
}

.fixed-table-container table {
  width: 100%;
}

.fixed-table-container thead th {
  height: 0;
  padding: 0;
  margin: 0;
  /* border-left: 1px solid #dddddd; */
}

.fixed-table-container thead th:focus {
  outline: 0 solid transparent;
}

.fixed-table-container thead th:first-child {
  border-left: none;
  border-top-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
}

.fixed-table-container thead th .th-inner,
.fixed-table-container tbody td .th-inner {
  padding: 2px 8px;
  line-height: 24px;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixed-table-container thead th .sortable {
  cursor: pointer;
  background-position: right;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.fixed-table-container thead th .both {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC');
}

.fixed-table-container thead th .asc {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACdSURBVHjaYvj//z8DtTADzQ1DBrIHv6uxvf77Tfbgd3FkcbIM43r45yXD////ue/9eUSRYeInfzYz/IUK/vn/X+LEj0KyDJPb952F5d2/n8gSbK//fpPb952FZMOEL/7awPAPTeLf//8i53+uIMkwmYPfDZi+//+HTZLp2/+/sge+SxNtGO/t3zfxpQG+G78vDkw6GzVs1LDBbBhgAFqY8UD1/xVRAAAAAElFTkSuQmCC');
}

.fixed-table-container thead th .desc {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAADASURBVHjaYvj//z8DtTDDqGGjhg0LwwzOfprM/Offf5bfmJj5z7//euc/zSXaMNsD7/iknvx4jU1S4tmPd1aH3ksSbRgDAwOD6YkPWWw///5DluD4/vefycmPhQwMDAwkGWZ74B2T6s2vF5AllO58u2l74B0TyYYxMDAwWBx578j//vcvhv////N8/vPH/OgHX5gcyYYxMDAw6F74tJLp77//2pc/b0EWJ8sw2wPveFRvfD1ve+CdCFmGDYpECxgA2vvvk5fSWJ0AAAAASUVORK5CYII=');
}

.fixed-table-container th.detail {
  width: 30px;
}

.fixed-table-container tbody td {
  /* border-left: 1px solid #dddddd; */
}

.fixed-table-container tbody tr:first-child td {
  border-top: none;
}

.fixed-table-container tbody td:first-child {
  border-left: none;
}

/* the same color with .active */
.fixed-table-container tbody .selected td {
  background-color: #f5f5f5;
}

.fixed-table-container .bs-checkbox {
  text-align: center;
}

.fixed-table-container .bs-checkbox .th-inner {
  padding: 8px 0;
}

.fixed-table-container input[type="radio"],
.fixed-table-container input[type="checkbox"] {
  margin: 0 auto !important;
}

.fixed-table-container .no-records-found {
  text-align: center;
}

.fixed-table-pagination div.pagination,
.fixed-table-pagination .pagination-detail {
  margin-top: 10px;
  margin-bottom: 10px;
}

.fixed-table-pagination div.pagination .pagination {
  margin: 0;
}

.fixed-table-pagination .pagination a {
  padding: 6px 12px;
  line-height: 1.428571429;
}

.fixed-table-pagination .pagination-info {
  line-height: 34px;
  margin-right: 5px;
}

.fixed-table-pagination .btn-group {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.fixed-table-pagination .dropup .dropdown-menu {
  margin-bottom: 0;
}

.fixed-table-pagination .page-list {
  display: inline-block;
}

.fixed-table-toolbar .columns-left {
  margin-right: 5px;
}

.fixed-table-toolbar .columns-right {
  /* margin-left: 5px; */
}

.fixed-table-toolbar .columns label {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
}

.fixed-table-toolbar .bars,
.fixed-table-toolbar .search,
.fixed-table-toolbar .columns {
  position: relative;
  /*margin-top: 10px;*/
  margin-bottom: 1px;
  line-height: 34px;
}

.fixed-table-pagination li.disabled a {
  pointer-events: none;
  cursor: default;
}

.fixed-table-loading {
  display: none;
  position: absolute;
  top: 42px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  background-color: #fff;
  text-align: center;
}

.fixed-table-body .card-view .title {
  font-weight: bold;
  display: inline-block;
  min-width: 30%;
  text-align: left !important;
}

/* support bootstrap 2 */
.fixed-table-body thead th .th-inner {
  box-sizing: border-box;
}

.table th, .table td {
  vertical-align: middle;
  box-sizing: border-box;
}

.fixed-table-toolbar .dropdown-menu {
  text-align: left;
  max-height: 300px;
  overflow: auto;
}

.fixed-table-toolbar .btn-group>.btn-group {
  display: inline-block;
  margin-left: -1px !important;
}

.fixed-table-toolbar .btn-group>.btn-group>.btn {
  border-radius: 0;
}

.fixed-table-toolbar .btn-group>.btn-group:first-child>.btn {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.fixed-table-toolbar .btn-group>.btn-group:last-child>.btn {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.bootstrap-table .table>thead>tr>th {
  vertical-align: bottom;
  /* border-bottom: 1px solid #ddd; */
}

/* support bootstrap 3 */
.bootstrap-table .table thead>tr>th {
  padding: 3px 0;
  margin: 0;
}

.bootstrap-table .fixed-table-footer tbody>tr>td {
  padding: 0 !important;
}

.bootstrap-table .fixed-table-footer .table {
  border-bottom: none;
  border-radius: 0;
  padding: 0 !important;
}

.float-right .dropdown-menu {
  right: 0;
  left: auto;
}

.dropdown-menu>li>a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
}

/* calculate scrollbar width */
p.fixed-table-scroll-inner {
  width: 100%;
  height: 200px;
}

div.fixed-table-scroll-outer {
  top: 0;
  left: 0;
  visibility: hidden;
  width: 200px;
  height: 150px;
  overflow: hidden;
}

.form-horizontal .checkbox, .form-horizontal .checkbox-inline, .form-horizontal .radio, .form-horizontal .radio-inline {
  padding: 0;
}

.sync-label {
  text-align: left;
}

.sync-label>label {
  font-weight: bold;
}