body {
  background: none;
}

/* this is important for DataTables to do column sizing properly */
table {
  max-width: none !important;
}

/* so user does not see table being dynamically created */
body.dt-view {
  visibility: hidden;
}

/* we need to do this as the dt-print-view is cloned from dt-view */
body.dt-print-view {
  visibility: visible;
}

table.dataTable {
	margin-left: 0px;
}

div.dataTables_scroll{
  width: 100% !important;
}

/* processing message should hover over table and be visible */
#dtprv_processing {
  z-index: 100;
  display: block;
}

#dtprv_processing.pre-init::after{
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: -1;
}

/* for table header, don't wrap */
table.dataTable th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

/* clip content if it will overrun column width */
table.dataTable td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

/* but show the data on hover */
table.dataTable td:hover {
   overflow: visible;
   text-overflow: visible;
}

/* when ellipsis_length === 0, wrap to column name width */
table.dataTable td.wrapcell {
   white-space: normal !important;
   word-break: normal !important;
   text-overflow: clip !important;
}


/* make _id column darker ala Excel */
div.DTFC_LeftBodyWrapper {
  filter: brightness(0.85);
}


/* for dynamic resizing of datatable, needed for scrollresize */
#resize_wrapper {
	position: absolute;
	top: 0.1em;
	left: 0.1em;
	right: 0.1em;
	bottom: 0.1em;
  max-width: 100vw;
  max-height: 100vh;
}

/* fine-tune positioning of various info elements for Bootstrap */
.dataTables_length{
  display:inline;
}

#dtprv_filter {
  text-align: right;
  display: inline-flex;
  float: right;
  margin-top: -1.4em;
}

#filterinfoicon {
  margin-top: 0.4em;
}

div.resourceinfo {
  display: inline;
  font-weight: bold;
}

div.sortinfo {
  display: block;
}

#dtprv_paginate {
  margin-top: -2.5em;
}

i.fa-info-circle {
  color: darkblue;
}

/* for webkit, blink browsers, use input type search cancel button */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  cursor:pointer;
  height: 12px;
  width: 12px;
  background-image: url('vendor/FontAwesome/images/times-circle-solid.svg');
}

/* right align datatable buttons */
div.dt-buttons {
  position: relative;
  float: right;
}

/* tighten it up */
button.dt-button {
    margin-right: 0em;
}

div.dt-button-collection.fixed.four-column {
  margin-left: 0px;
}

div.dt-button-background {
  background: rgba(0, 0, 0, 0.7);
  /* Fallback */
  background: -ms-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  /* IE10 Consumer Preview */
  background: -moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  /* Firefox */
  background: -o-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  /* Opera */
  background: -webkit-gradient(radial, center center, 0, center center, 497, color-stop(0, rgba(0, 0, 0, 0.3)), color-stop(1, rgba(0, 0, 0, 0.7)));
  /* Webkit (Safari/Chrome 10) */
  background: -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  /* Webkit (Chrome 11+) */
  background: radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  /* W3C Markup, IE10 Release Preview */
}

div.dt-button-collection.fixed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-65%, -20%);
}

.table-striped > tbody > tr.selected > td,
.table-striped > tbody > tr.selected > th {
background-color: #0275d8;
}

/* for zooming thumbnails on hover */
.zoomthumb {
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in;
}

.zoomthumb:hover,
.zoomthumb:active,
.zoomthumb:focus {
/**adjust scale to desired size,
add browser prefixes**/
-ms-transform: scale(2.5);
-moz-transform: scale(2.5);
-webkit-transform: scale(2.5);
-o-transform: scale(2.5);
transform: scale(2.5);
position:relative;
z-index:100;
}

.zoomthumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* Animation CSS */
#target {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  background: #7d0;
  box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, .2), inset -1px -1px 0 0 rgba(0, 0, 0, .05);
}

[class^="animated-"],
[class*=" animated-"] {
  animation-fill-mode: both;
}

@keyframes shake {
  0%, 100% {transform: translateX(0);}
  20%, 60% {transform: translateX(-6px);}
  40%, 80% {transform: translateX(6px);}
}

.animated-shake {
  animation: shake .4s;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed {
  width: 75%;
  top: 10% !important;
  margin-top: 0 !important;
  transform: translateX(-50%);
  margin-left: 0;
  padding: 18px !important;
  max-height: 80% !important;
  overflow-y: scroll !important;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed .dropdown-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-height: 100% !important;
  min-height: 100% !important;
  height: 100% !important;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a {
  word-break: break-all;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a.buttons-columnVisibility {
  max-width: 50%;
  min-width: 50%;
  width: 50%;
  margin-bottom: 5px;
  padding-left: 24px;
  padding-right: 10px;
  position: relative;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a.buttons-columnVisibility::before {
  content: '\f096';
  font: normal normal normal 14px/1 FontAwesome;
  position: absolute;
  left: 6px;
  top: 6px;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a.buttons-columnVisibility.active::before {
  content: '\f046';
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a:not(.buttons-columnVisibility) {
  flex-basis: 100%;
  margin-top: 8px;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a:not(.buttons-columnVisibility).buttons-colvisRestore {
  max-width: 51%;
  min-width: 51%;
  width: 51%;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a:not(.buttons-columnVisibility).buttons-colvisGroup {
  max-width: 50%;
  min-width: 50%;
  width: 50%;
}

.buttons-collection.buttons-colvis ~ .dt-button-collection.fixed a:not(.buttons-columnVisibility).buttons-colvisGroup:nth-last-of-type(3) {
  max-width: 49%;
  min-width: 49%;
  width: 49%;
  margin-left: -1%;
}
