﻿.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 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;
}
/* FLOATS AND ALIGNS */
/* -------------------------------------- */
table .left {
  text-align: left;
}
table .right {
  text-align: right;
}
table .center {
  text-align: center;
}
table .disabled {
  text-decoration: line-through;
}
table input.btn.icon-trash {
  width: 21px;
  height: 21px;
  padding: 2px;
  margin: 0;
  background-image: url("images/icons/glyphicons-halflings.png");
  background-position: -456px 0;
  background-origin: content-box;
  background-repeat: no-repeat;
}
button.btn.icon-trash {
  font-size: 15px;
}
/* BASIC TABLE */
/* -------------------------------------- */
.dynamictable-container > form {
  margin: 0;
}
.table {
  overflow-x: auto;
  width: auto !important;
  max-width: none !important;
  min-width: 100%;
  /* INLINE EDIT */
}
.table .parent td {
  background: #eaeaea !important;
  background-image: -webkit-linear-gradient(#f1f1f1, #e1e1e1) !important;
  background-image: -moz-linear-gradient(#f1f1f1, #e1e1e1) !important;
  background-image: -o-linear-gradient(#f1f1f1, #e1e1e1) !important;
  background-image: linear-gradient(#f1f1f1, #e1e1e1) !important;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}
.table .child td:nth-child(2) {
  padding-left: 24px;
}
.table .child td {
  font-size: 13px;
}
.table th,
.table td {
  padding-top: 5px;
  padding-bottom: 5px;
}
.table input {
  width: auto;
  margin: 0;
}
.table input.tiny {
  text-align: center;
  width: 18px;
  padding: 0 4px;
}
.table input[readonly] {
  color: #aaa !important;
  background: #eee !important;
}
.table input[type="checkbox"] {
  margin-top: 4px;
}
.table select {
  max-width: 100%;
}
.table th a {
  white-space: nowrap;
}
.table .caret {
  margin-left: 4px;
  border-top: 4px solid;
  margin-top: 8px;
}
.table .caret-up {
  border-bottom: 4px solid;
  border-top: 0 none;
  content: "↑";
}
.table .inline-edit {
  padding: 0;
  margin: 0;
  vertical-align: middle;
}
.table .inline-edit input:not([type="checkbox"]) {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: inherit;
  width: 100%;
  height: 30px;
  border: none;
  border: 1px solid transparent;
  padding: 5px 7px;
  background: transparent;
  -moz-box-shadow: inset 0 0 0 1px #ffffff, inset 1px 2px 5px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 0 0 0 1px #ffffff, inset 1px 2px 5px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px #ffffff, inset 1px 2px 5px rgba(0, 0, 0, 0.25);
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.table .inline-edit input:not([type="checkbox"]):hover {
  background: #eaf3fc !important;
}
.table .inline-edit input:not([type="checkbox"]):focus {
  padding: 0 7px;
  background: #fff !important;
  border: 1px solid rgba(82, 168, 236, 0.8);
  -moz-box-shadow: inset 0 0 8px 1px rgba(82, 168, 236, 0.6);
  -webkit-box-shadow: inset 0 0 8px 1px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 0 8px 1px rgba(82, 168, 236, 0.6);
}
.table .inline-edit input:not([type="checkbox"]):focus:hover {
  background: #fff !important;
}
.table .inline-edit input:not([type="checkbox"])[readonly],
.table .inline-edit input:not([type="checkbox"])[readonly]:focus {
  background: #eee !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 1px 2px 5px rgba(0, 0, 0, 0.05);
}
.table .inline-edit input[type="checkbox"],
.table .inline-edit select {
  margin: 0 7px;
}
.table .inline-edit select {
  padding: 0;
  line-height: 1em;
  height: auto;
  width: 90%;
}
.table .inline-edit input.text-size-width {
  width: auto;
}
.table td[rel="tooltip"] {
  padding: 0;
  height: 100%;
}
.table td[rel="tooltip"] > div {
  position: relative;
  padding: 5px 8px;
}
.table td[rel="tooltip"] > div:after {
  position: absolute;
  top: 1px;
  right: 1px;
  content: '';
  display: block;
  height: 0;
  width: 0;
  border: 4px solid #00A2B1;
  border-left-color: transparent;
  border-bottom-color: transparent;
}
.table td[rel="tooltip"].inline-edit > div {
  padding: 0;
  margin: 0;
  vertical-align: middle;
}
.table tr.trash-warning td {
  background: #ffe5e5 !important;
  background-image: none !important;
}
.highlighted td {
  background-color: #eaf3fc !important;
}
.table tr td.row-action-cell {
  vertical-align: middle;
  text-align: center;
  background: #eee !important;
  padding: 0;
  width: 30px;
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  -moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.table tr td.row-action-cell .row-action {
  color: #666;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.table tr td.row-action-cell:hover {
  background: #999 !important;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.table tr td.row-action-cell:hover .row-action {
  color: white;
}
.table tr td.row-action-cell.primary {
  background: #e0f2f4 !important;
}
.table tr td.row-action-cell.primary .row-action {
  color: #00A2B1;
}
.table tr td.row-action-cell.primary:hover {
  background: #00A2B1 !important;
}
.table tr td.row-action-cell.primary:hover .row-action {
  color: white;
}
.table tr td.row-action-cell[rel="tooltip"] > div {
  padding: 0;
}
.table tr td.row-action-cell[rel="tooltip"] > div:after {
  display: none;
}
.row-action {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  width: 30px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: normal;
  text-shadow: none;
}
.row-action i {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.row-action:hover {
  background: transparent;
  text-decoration: none;
}
.row-action[disabled="disabled"] {
  opacity: 0.2;
  cursor: not-allowed;
}
.table tr td.row-action-cell:hover ~ td:not(.row-action-cell) {
  background: #e0f2f4 !important;
}
/* EMPTY NOTICE */
.box.empty {
  background: #eee;
  margin-top: -15px;
  padding: 40px 10px 10px;
  min-height: 60px;
  text-align: center;
}
.box.empty p {
  vertical-align: middle;
  font-style: italic;
  color: #999;
}
/* COLOUMN WIDTHS */
.col-tiny {
  width: 14px;
}
.col-delete {
  width: 22px;
}
/* POSITIONING */
/* -------------------------------------- */
table.dynamictable .valign-top,
table.dynamictable .valign-top {
  vertical-align: top;
}
table.dynamictable .valign-middle,
table.dynamictable .valign-middle {
  vertical-align: middle;
}
table.dynamictable .valign-bottom,
table.dynamictable .valign-bottom {
  vertical-align: bottom;
}
table.dynamictable .align-left,
table.dynamictable .align-left {
  text-align: left;
}
table.dynamictable .align-center,
table.dynamictable .align-center {
  text-align: center;
}
table.dynamictable .align-right,
table.dynamictable .align-right {
  text-align: right;
}
.hidden-by-default {
  display: none;
}
/* MATRIX TABLE */
/* -------------------------------------- */
.table-matrix {
  font-size: 12px;
  width: 100% !important;
  /* Matrix table should always be fixed */
  table-layout: fixed;
}
.table-matrix th,
.table-matrix td {
  overflow: hidden;
  word-wrap: break-word;
}
.table-matrix th,
.table-matrix td {
  text-align: center;
}
.table-matrix .left {
  text-align: left;
  padding-left: 4px;
}
.table-matrix th.row-head,
.table-matrix th.row-foot {
  text-align: left;
  padding: 4px;
  width: 8%;
}
.table-matrix .wide {
  width: 8%;
  padding: 4px;
}
.table-matrix tr {
  position: relative;
}
.table-matrix th {
  padding: 4px 1px;
}
.table-matrix td {
  padding: 0;
  line-height: 1.4em;
  vertical-align: middle;
}
.table-matrix tbody th {
  text-align: left;
  padding: 4px;
  position: relative;
  z-index: 1;
  line-height: 1.4em;
  font-weight: normal;
}
.table-matrix .inline-edit input {
  font-size: 10px;
  text-align: center;
  max-width: 100%;
  height: 100%;
  padding: 7px 0;
}
.table-matrix .inline-edit input:focus {
  padding: 7px 0;
}
/* FIXED TABLE */
/* -------------------------------------- */
.table-fixed {
  max-width: 100% !important;
  table-layout: fixed;
}
.table-fixed th,
.table-fixed td {
  overflow: hidden;
  word-wrap: break-word;
}
.dynamictable-data-container {
  position: relative;
}
.dynamictable-data-container .add-column {
  position: absolute;
  top: 5px;
  right: -18px;
}
.dynamictable-data-container .add-column a {
  opacity: 1;
}
.dynamictable-data-container .add-column i {
  margin: 0;
  padding: 0;
}
.dynamictable-data-container .add-column .btn {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
  padding: 0 3px;
}
.dynamictable-data-container .dropdown-menu {
  left: auto;
  right: 0px;
}
table th > a:first-of-type {
  /* make table-column-actions float right in FF */
  float: left;
}
.DynamicTableDirectCellInputCssChange {
  background: #bdeaf3 !important;
  border-color: #fff !important;
}
.table-column-actions {
  display: none;
  clear: both;
  border-bottom: 1px dotted #ddd;
  margin: 0 -6px 4px -6px;
  background: #eee;
  text-align: center;
  line-height: 1em;
  padding: 6px 10px 3px;
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  font-size: 12px !important;
  line-height: 1.3em;
  text-shadow: 1px 1px 0 #fff;
}
.table-column-actions a {
  color: #999;
  width: 30%;
}
.table-column-actions a:hover {
  color: #333;
  text-decoration: none;
}
.table-column-actions .move-column-left {
  float: left;
  text-align: left;
}
.table-column-actions .move-column-right {
  float: right;
  text-align: right;
}
.table-column-actions .hide-column {
  display: inline-block;
}
.table-bordered .table-column-actions {
  margin: -7px -8px 4px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.pagination {
  margin: 11px 5px 0;
}
.pagination ul {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.pagination a {
  line-height: 32px;
}
.pagination select {
  height: 34px;
  width: 70px;
  line-height: 34px;
  padding-top: 6px;
}
.pagination span {
  line-height: 33px;
}
.pagination li.first a,
.pagination li.last a {
  border: 0;
  font-size: 12px;
}
.pagination li.first a:hover,
.pagination li.last a:hover {
  background: transparent;
  text-decoration: underline;
}
.pagination li.prev a {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
  border-left: 1px solid #ddd;
}
.pagination li.next a {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.pagination-rows {
  text-align: center;
}
.pagination-rows .rows {
  display: inline-block;
  padding: 0 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #ddd;
  height: 30px;
  line-height: 28px;
  color: #6f6f6f;
}
.pagination-rows select {
  margin: 0;
}
.dynamictable-container.tabbable .nav {
  border: none;
  margin-bottom: -4px;
}
.dynamictable-container.tabbable .tab-content {
  width: 100%;
  float: left;
}
.dynamictable-container.tabbable table {
  border-top-width: 3px;
}
/* LIST VIEW AND DETAIL VIEW STYLING AND FUNCTIONALITY
---------------------------------------------------------- */
.list-view.minimized .list-view-mask {
  overflow-x: scroll;
  overflow-y: hidden;
  position: relative;
}
.list-view.minimized .dynamictable-data-container:before {
  content: '';
  position: absolute;
  top: -4px;
  right: 0;
  bottom: 0;
  z-index: 10;
  width: 10px;
}
.table-full-width {
  overflow-x: auto;
}
/* TOOLBAR
 -------------------------------------- */
.toolbar {
  *zoom: 1;
  background: #eee;
  border: 1px solid #dedede;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin-bottom: 1em;
  position: relative;
}
.toolbar:before,
.toolbar:after {
  display: table;
  content: "";
  line-height: 0;
}
.toolbar:after {
  clear: both;
}
.toolbar h2 {
  float: left;
  margin: -8px 10px -8px -8px;
  padding: 8px 15px;
  height: 32px;
  border: 0;
  border-right: 1px solid #ddd;
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
  background: #f6f6f6;
  font-style: normal;
  line-height: 30px;
}
.toolbar .caret {
  margin-left: 4px;
  border-top: 4px solid;
  margin-top: 8px;
}
.toolbar .container {
  width: auto;
  margin: 0;
}
.toolbar .inner {
  min-height: 32px;
  padding: 8px 8px;
}
.toolbar .inner h2,
.toolbar .inner select,
.toolbar .inner input,
.toolbar .inner .filter .advanced-filters .filter-row div,
.toolbar .inner .actions div {
  display: inline-block;
}
.toolbar .inner .btn-mini {
  position: relative;
  top: 3px;
}
.toolbar form {
  margin: 0;
}
.toolbar > .actions {
  max-width: 40%;
}
.toolbar .filter select,
.toolbar .filter .filter-row input,
.toolbar .filter .input-append,
.toolbar .filter .control-group,
.toolbar .filter .btn {
  margin-bottom: 0;
  margin-right: 6px;
}
.toolbar .filter .chosen-container {
  margin-bottom: 0;
}
.toolbar .filter .input-append {
  margin-bottom: 0px;
}
.toolbar .filter .input-append .btn {
  float: none;
}
.toolbar .filter select {
  line-height: 32px;
  height: 32px;
  padding-top: 5px;
}
.toolbar .filter .advanced-filters {
  *zoom: 1;
  border-top: 1px solid #ddd;
  margin: 15px -15px -15px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.05);
}
.toolbar .filter .advanced-filters:before,
.toolbar .filter .advanced-filters:after {
  display: table;
  content: "";
  line-height: 0;
}
.toolbar .filter .advanced-filters:after {
  clear: both;
}
.toolbar .filter .advanced-filters .checkboxes {
  margin-bottom: 0px;
}
.toolbar .filter .advanced-filters .checkboxes .control-label {
  line-height: 32px;
  float: left;
  margin-right: 6px;
}
.toolbar .filter .advanced-filters .checkboxes .checkbox {
  margin-right: 12px;
}
.toolbar .filter .advanced-filters .checkboxes .checkbox input {
  margin-top: 5px;
}
.toolbar .filter .btn-filter {
  margin-top: 15px;
}
.toolbar .inner > .actions {
  position: absolute;
  bottom: 0;
  right: 0;
}
.toolbar .inner > .actions .btn-add,
.toolbar .inner > .actions .btn-group,
.toolbar .inner > .actions .pager {
  margin-left: 6px;
  float: right;
}
.toolbar .inner > .actions span {
  line-height: 32px;
}
.toolbar .inner > .actions .pager {
  margin-left: 12px;
  margin-bottom: 0;
}
.toolbar .inner > .actions .pager .btn {
  padding-left: 4px;
  padding-right: 4px;
}
.toolbar .inner > .actions .dropdown-menu a {
  display: block;
}
.toolbar .inner > .actions .dropdown-menu {
  left: auto;
  right: 0px;
}
.toolbar .dropdown-menu button {
  background: none;
  text-align: left;
  border: none;
  width: 100%;
  display: block;
  font-weight: normal;
  padding: 3px 15px;
  white-space: nowrap;
}
.toolbar .dropdown-menu button:hover {
  background: #999;
  color: #fff;
}
.modal .toolbar {
  position: relative;
}
.modal .toolbar h2 {
  display: none;
}
.modal-filled .toolbar {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: 0;
}
/* Fixed filter on scroll, but only for 980px and up (sorry IE!) */
.toolbar-fixed {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1020;
  border-width: 0 0 1px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  border-bottom-color: #BDBDBD;
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.toolbar-fixed .inner {
  padding-left: 9px;
  padding-right: 9px;
}
/* TABLE TOOLBAR */
.table-striped tbody tr {
  cursor: pointer;
}
.table-striped tbody tr.active td {
  background: #ddd;
}
.dynamictable-container {
  position: relative;
}
.table-compact {
  font-size: 11px;
}
.table-compact td,
.table-compact th {
  line-height: 1.3em;
}
.table-compact .caret,
.table-compact .caret-down {
  margin-top: 6px;
}
/* ALTERNATE TOOLBAR STYLES
 -------------------------------------- */
.toolbar-box > section {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
.toolbar-box > section:only-child {
  padding: 8px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.toolbar-box > section:only-child .advanced-filters {
  margin: 8px -8px -8px;
}
.toolbar-box .form-group:nth-child(5n) {
  padding-right: 0;
}
.toolbar-box.compact .form-group {
  width: auto;
}
.toolbar-box.compact .form-group select {
  width: 150px;
}
.toolbar-box.compact .form-group input.span2 {
  max-width: 100px;
}
.toolbar-box.compact .form-group.form-group:nth-child(5n) {
  padding-right: 8px;
}
.toolbar-box.separated-actions .toolbar .inner > .actions {
  float: right;
  position: static;
  margin-top: 8px;
}
.toolbar-box .toolbar-breadcrumbs {
  position: relative;
  z-index: 1;
  float: left;
  list-style: none;
  margin: 0 20px 0 0;
  padding: 0;
}
.toolbar-box .toolbar-breadcrumbs li {
  position: relative;
  display: inline-block;
  height: 32px;
  margin: -8px 0 -8px 0;
  padding: 8px 15px;
  line-height: 30px;
}
.toolbar-box .toolbar-breadcrumbs li .divider {
  display: none;
  margin: 0 0 0 10px;
  padding: 0;
  width: auto;
}
.toolbar-box .toolbar-breadcrumbs li:first-child {
  padding-left: 5px;
}
.toolbar-box .toolbar-breadcrumbs li:before,
.toolbar-box .toolbar-breadcrumbs li:after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  top: 0;
  right: -35px;
  border: 24px solid transparent;
  border-left-color: #ccc;
}
.toolbar-box .toolbar-breadcrumbs li:after {
  right: -34px;
  border-left-color: #eee;
}
.toolbar-box .inner .btn {
  margin-top: 0;
  float: none;
}
.form-group-filter,
.std-filters {
  float: none;
  *zoom: 1;
}
.form-group-filter:before,
.std-filters:before,
.form-group-filter:after,
.std-filters:after {
  display: table;
  content: "";
  line-height: 0;
}
.form-group-filter:after,
.std-filters:after {
  clear: both;
}
.form-group-filter .form-group,
.std-filters .form-group {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 20%;
  padding-right: 8px;
  margin-right: 0;
}
.form-group-filter .form-group select,
.std-filters .form-group select {
  width: 100%;
}
.form-group-filter .form-group .input-append,
.std-filters .form-group .input-append {
  margin-right: 0;
}
.form-group-filter .form-group .input-append .btn,
.std-filters .form-group .input-append .btn {
  margin-right: 0;
}
.form-group-filter.contains-4 .form-group,
.std-filters.contains-4 .form-group {
  width: 25%;
}
.box .toolbar {
  background: transparent;
  border: 0;
  margin: 0;
}
.box .toolbar .inner {
  margin: 0;
  padding: 0;
}
.modal-wide .toolbar .form-group {
  width: 25%;
}
.box.padded .toolbar-box > section {
  padding: 0;
}
/* FOLD-IN
 -------------------------------------- */
tr.fold-out td {
  padding: 0;
  -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
}
tr.fold-out td .fold-out-head {
  position: relative;
  background: rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  width: 300px;
  padding: 10px;
}
tr.fold-out td .fold-out-head:before {
  content: '';
  display: block;
  position: absolute;
  left: 50px;
  bottom: 100%;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: black;
}
tr.fold-out td .fold-out-head h3 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1em;
}
/* LOADING
 -------------------------------------- */
table.loading {
  position: relative;
}
table.loading:before {
  opacity: 0.8;
  left: 1px;
  top: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: 3px;
}

.batch-management-cover {
    background-color: white;
    opacity: 0.6;
    position: absolute;
    z-index: 499;
    top: 0;
    left: 0;
}

.js-locked-for-edit .DynamicTableCheckBoxClass {
    position: relative;
    z-index: 1000;
}

.js-locked-for-edit .DynamicTableCheckBoxSelectAllClass {
    position: relative;
    z-index: 1000;
}

.bulk-actions-menu {
    position: relative;
    z-index: 500;
}