.spinner
{
  display: inline-block;
  vertical-align: middle;
  border-radius: 1.2em;
  width: 1.2em;
  height: 1.2em;
  border: 0.2em solid currentColor;
  border-right-color: transparent;
  position: relative;
  animation: spin 1.5s linear infinite;
}

@keyframes spin
{
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.with-top-navbar
{
  padding-top: 70px;
}

.app-navbar img
{
  height: 1.8em;
  vertical-align: middle;
}

#ajax .spinner
{
  margin: 0.3em;
}

#ajax.active img,
#ajax:not(.active) .spinner
{
  display: none;
}

.card
{
  background-color: #30343e;
}

.card-header
{
  background-color: rgba(0,0,0,.15);
}

.ml--1
{
  margin-left: -0.25rem !important;
}

.pre,
.tooltip-inner
{
  white-space: pre-wrap;
}

#thumbnail-tooltip-container .tooltip-inner
{
  max-width: unset;
  padding: 5px;
}

#thumbnail-tooltip-container .tooltip.show
{
  opacity: unset;
}

.popover-uploads
{
  width: 500px;
  max-width: 95%;
}

.upload-item .icon
{
  font-size: 1.8em;
  margin-top: 4px;
  margin-right: 14px;
}

.upload-item .progress
{
  background-color: #e9ecef;
}

.card
{
  background-color: #30343e;
}

.card-header
{
  background-color: rgba(0,0,0,.15);
}

.card .nav-tabs .nav-link.active
{
  background-color: #30343e;
  color: inherit;
}

.card .nav-tabs .nav-link.active
{
  border-color: rgba(0,0,0,0.25) rgba(0,0,0,0.25) #30343e;
}

.card .nav-tabs .nav-link:not(.active):hover,
.card .nav-tabs .nav-link:not(.active):focus
{
  border-color: rgba(0,0,0,0.125) rgba(0,0,0,0.125) transparent;
}

th.min,
td.min
{
  width: 0.1%;
}

.table-highlight td
{
  background-color: rgba(27, 201, 143, 0.1);
}

.alert.statcard
{
  color: black;
}

.alert.statcard-primary,
.alert.statcard-danger,
.alert.statcard-success
{
  color: white;
}

.datepicker > div
{
  display: inherit;
}

.datepicker table tr td.today,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today:hover
{
  color: inherit;
  background-color: #ffdb99;
}

.timepicker
{
  color: #434857;
}

a:not([href]):not([tabindex])[data-action="today"]
{
  color: #1997c6;
}

a:not([href]):not([tabindex])[data-action="today"]:hover
{
  color: #106382;
}

.cover
{
  object-fit: cover;
}

.absolute-fill
{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.dz-drag-hover
{
  border: 2px dashed #1997C6;
  background: rgba(25, 151, 198, 0.2);
}

.drop-zone
{
  cursor: pointer;
}

.drop-zone .progress
{
  margin-top: 80%;
}

.download
{
  display: inline-block;
  margin: 1em;
  padding: 30px;
  transition: ease;
  transition-duration: 0.3s;
}

.download img
{
  width: 120px;
  height: 120px;
  opacity: 0.5;
  transition: ease;
  transition-duration: 0.3s;
}

.download:hover
{
  padding: 20px;
}

.download:hover img
{
  width: 140px;
  height: 140px;
  opacity: 1;
}

th[scope="col"]
{
  white-space: nowrap;
  position: relative;
  width: 50px;
  pointer-events: none;
}

th[scope="col"] *
{
  pointer-events: all;
}

th[scope="col"] > div
{
  position: absolute;
  bottom: 0;
  transform-origin: 0 0;
  transform: translate(28px, 2px) rotate(-45deg);
}

th[scope="col"] > div > span
{
  border-bottom: 1px solid #434857;
  padding: 5px 10px 10px 0;
}

th[scope="row"]
{
  padding-right: 4px;
  border-bottom: 1px solid #434857;
}

th[scope="row"] img
{
  max-width: 80px;
  max-height: 45px;
  margin-bottom: 5px;
}

th[scope="row"] img
{
  vertical-align: bottom;
}

th[scope="row"] img[src=""]
{
  width: 80px;
  height: 45px;
  display: inline-block;
  background: black;
}

#matrix td
{
  text-align: center;
  border: 1px solid #434857;
  max-width: 50px;
  height: 50px;
  position: relative;
}

.tx-rx
{
  position: relative;
  border-right: 1px solid #434857;
  border-bottom: 1px solid #434857;
  min-width: 80px;
}

.tx-rx .tx
{
  position: absolute;
  bottom: 0.2em;
  left: 0.4em;
}

.tx-rx .rx
{
  position: absolute;
  right: 0.4em;
  top: 0.2em;
}

.tx-rx .divider
{
  position: absolute;
  border-right: 1px solid #434857;
  height: 0;
  height: 141.42135%;
  right: 0;
  bottom: 0;
  transform-origin: 100% 100%;
  transform: rotate(-45deg);
}

.pt-100
{
  padding-top: 80px;
}

.modal .custom-select
{
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAYAAACEYr13AAAAj0lEQVQ4y93UwRHDIAxE0WXUhdrYBtwZcmdJAapDbeSSZOwBFOCYPfP+xWAgGclKsmZnJMMADMChqoiI53Tggj8bRmQCpxGZxMOILOBuRBZxEykb+Lpd91crJA1A3fSnRMRDVQuAYxW7uwkAbEROd7fbTVyIfHHzFiYiN9x9jUmkwcP/QSfSxT9H0t6febgXWcZW6p/VbqsAAAAASUVORK5CYII=") no-repeat right .75rem center;
  background-size: 8px 10px;
}

.modal .tooltip-inner
{
  color: white;
  background: #333;
}

.modal .tooltip .arrow:before
{
  border-top-color: #333;
}

.table-striped-3 tbody tr:nth-of-type(6n+4),
.table-striped-3 tbody tr:nth-of-type(6n+5),
.table-striped-3 tbody tr:nth-of-type(6n+6)
{
  background-color: rgba(0,0,0,.17);
}

.table-striped-3 tbody tr:nth-of-type(3n+2) td,
.table-striped-3 tbody tr:nth-of-type(3n+3) td,
.table-striped-3 tbody tr:nth-of-type(3n+2) th,
.table-striped-3 tbody tr:nth-of-type(3n+3) th
{
  border-top: 0px;
  padding-top: 0;
}

.table-striped-3 tbody tr:nth-of-type(3n+1) td,
.table-striped-3 tbody tr:nth-of-type(3n+2) td,
.table-striped-3 tbody tr:nth-of-type(3n+1) th,
.table-striped-3 tbody tr:nth-of-type(3n+2) th
{
  padding-bottom: 0;
}

.stat-meter
{
  width: 1em;
  height: 1em;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.stat-meter div
{
  position: absolute;
  height: 0;
  width: 100%;
  bottom: 0;
}

.cpu-meter
{
  background: #040;
}

.cpu-meter div
{
  background: #080;
}

.ram-meter
{
  background: #660;
}

.ram-meter div
{
  background: #AA0;
}

.text-normal
{
  font-weight: normal !important;
}

#stats td
{
  white-space: nowrap;
}

.ndi-stats
{
  line-height: 1.2em;
  vertical-align: top;
}

a.remove-output
{
  transform: rotate(45deg);
}

.cpu-meter-text,
.ram-meter-text
{
  width: 3.7em;
  display: inline-block;
}

.file-list
{
  border: 1px solid #E9ECEF;
  margin: 0;
  padding: 2px;
  max-height: 300px;
  overflow: auto;
}

.file-list li
{
  list-style-type: none;
  border-radius: 5px;
  padding: 0 5px;
  cursor: default;
}

.file-list small
{
  padding: 3px 3px 0 0;
}

.file-list li:hover
{
  background: #1997C630;
}

.file-list li.active
{
  background: #1997C650;
}

.ellipsis
{
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
