﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

main {
  font-family: "Open sans", sans-serif;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.flex {
  display: flex;
}

nav {
  width: 250px;
  background: #162038;
  padding: 1.5rem;
}

nav a {
  font-size: .9rem;
  display: block;
  font-weight: 400;
}

.container {
  width: calc(100% - 250px);
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.center-text {
  text-align: center;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul {
  margin-top: 3rem;
}

nav li {
  line-height: 2.5rem;
}

nav a {
  color: rgba(255,255,255.95);
}

nav a:hover {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.ni-tv-2 {
  color: #BB0B69;
}

.ni-sound-wave {
  color: #77dd77;
}

.ni-world {
  color: #488FBA;
}

nav a span {
  margin-left: 1rem;
  display: inline-block;
  transform: translateY(-2px);
}

.lower-separator::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.25);
  margin: 1rem 0;
}

.header {
  background: linear-gradient(87deg,#488FBA 0,#262D33 100%);
  padding: 2rem;
  height: 12.5rem;
}

.space-between {
  justify-content: space-between;
}

.header h4 {
  text-transform: uppercase;
  color: white;
  margin: 0;
  padding: 0;
  line-height: 2rem;
  font-weight: 700;
  font-size: .9375rem;
  font-weight: 600;
}

.flex .container {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: 100000rem;
}

.page-content {
  background: #f8f9fe;
  padding: 2rem;
}

.data-table {
  background: white;
  transform: translateY(-3.75rem);
  border-radius: .375rem;
  box-shadow: 0 0 2rem 0 rgba(136,152,170,.15);
}

.data-table__controls {
  padding: 1rem;
  height: 5rem;
}

.data-table__body {
}

.data-table__body li {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.05);
  line-height: 2.5rem;
  padding: 0 0.5rem;
}

.data-table__body li span {
  padding: 0 0.5rem;
}

.data-table__body .data-table__header {
  background: #f6f9fc;
  color: #8898aa;
  text-transform: uppercase;
  font-size: .65rem;
  font-weight: 600;
  line-height: 3.5rem;
  height: 3.5rem;
}

.data-table__body .data-table__header span:nth-child(4) {
  padding: 0 0.5rem;
  line-height: 3.5rem;
}

.data-table__items {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: .8125rem;
}

.data-table__items:empty {
  height: 8rem;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.data-table__items:empty::before {
  content: attr(data-tableempty);
  position: absolute;
  font-weight: 300;
  font-style: italic;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  color: #777;
  text-shadow: 1px 1px rgba(255,255,255,.15);
}

.data-table__pagination {
  padding: 1rem;
  height: 5rem;
  position: relative;
}

.data-table__pagination[data-resultset]::after {
  content: attr(data-resultset);
  display: inline-block;
  line-height: 3rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #8898aa;
  font-size: 0.9rem;
}

.data-table__pagination li {
  width: 2.25rem;
  height: 2.25rem;
  line-height: 2rem;
  text-align: center;
  font-size: 1rem;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  color: #8898aa;
  margin: .375rem 1rem 0 0;
  transition: all 0.1s;
}

.data-table__pagination li:hover {
  background: #dee2e6;
  border-color: #dee2e6;
}

.data-table__pagination li.active {
  background: #488FBA;
  border-color: #488FBA;
  color: white;
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}

.data-table__pagination li a {
  display: block;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}


.data-table__body li span:nth-child(1),
.data-table__body li span:nth-child(3),
.data-table__body li span:nth-child(5),
.data-table__body li span:nth-child(6) {
  width: 10rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.data-table__body li span:nth-child(2) {
  width: 12rem;
}

.data-table__body li span:last-child {
  width: 3.5rem;
  text-align: center;
  position: relative;
}

.data-table__body li span:nth-child(4) {
  width: calc(100% - 4 * 10rem - 12rem - 3.5rem);
  padding-right: 4rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25rem;
  padding: .625rem 4rem .625rem .5rem;
  max-height: 3.45rem;
}

.status::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: .875rem;
  height: .875rem;
  border-radius: 50%;
}

.status[data-status="success"]::before {
  background: #77dd77;
}

.status[data-status="failed"]::before {
  background: #dd7777;
}

.status[data-status="pending"]::before {
  background: #f5bd1f;
}

.data-table__filter {
  position: relative;
  z-index: 1;
}

.data-table__filter label {
  display: inline-block;
  border-radius: 3px;
  background: #f6f9fc;
  color: #212529;
  font-weight: 600;
  line-height: 1.125rem;
  padding: 0.625rem 1.25rem;
  margin: 0.25rem 0;
  box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
  cursor: pointer;
  font-size: .875rem;
}

.data-table__filter label::before {
  height: 1em;
  content: '';
  display: inline-block;
  width: 1em;
  border-radius: 2px;
  background: linear-gradient(45deg, #f6f9fc 0, #f6f9fc 35%, transparent 35%),
              linear-gradient(90deg, transparent 0, transparent calc(50% - 2.25px), black calc(50% - 2px), black calc(50% + 2px), transparent calc(50% + 2.25px)),
              linear-gradient(-133deg, transparent 0,transparent 50%, #f6f9fc 50%),
              linear-gradient(133deg, black 0, black 50%, transparent 50%);
  vertical-align: top;
  margin: 0.125rem 0.375rem 0 0;
}

.hidden {
  display: none;
}

.data-table__filter input:not(:checked) ~ ul {
  visibility: hidden;
}

.data-table__filter input:checked ~ ul {
  visibility: visible;
}

.data-table__filter ul {
  position: absolute;
  top: 100%;
  background: white;
  border-radius: .4375rem;
  border: 0 solid rgba(0,0,0,.15);
  box-shadow: 0 50px 100px rgba(50,50,93,.1), 0 15px 35px rgba(50,50,93,.15), 0 5px 15px rgba(0,0,0,.1);
  padding: 1rem;
  width: 14rem;
  color: #525f7f
}

.data-table__filter ul li {
  height: 3rem;
  margin: 0 0 0.5rem;
  position: relative;
}

.data-table__filter li span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 0.25rem;
  pointer-events: none;
  background: white;
  color: inherit;
  line-height: 2rem;
  transform: translate(0.25rem, 0.25rem);
  transition: line-height 0.25s, font-size 0.25s, transform 0.25s;
}

.data-table__filter li input:focus + span,
.data-table__filter li input:not(:placeholder-shown) + span {
  line-height: 1rem;
  font-size: 0.75rem;
  transform: translate(0.25rem, -.375rem);
}

input {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid #eee;
  outline: none;
  border-radius: 0.25rem;
}