/* Minification failed. Returning unminified contents.
(2,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(38,19): run-time error CSS1039: Token not allowed after unary operator: '-font-size-sm'
(42,19): run-time error CSS1039: Token not allowed after unary operator: '-font-size-xs'
(46,26): run-time error CSS1039: Token not allowed after unary operator: '-theme-blue'
(116,26): run-time error CSS1039: Token not allowed after unary operator: '-theme-blue'
 */
:root {
  --font-size-sm: .8rem;
  --font-size-xs: .7rem;
  --light-theme-color: #04223c;
  --theme-blue: #031627;
  --theme-orange: #ff8c00;
}

body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Angular 1
 */
[ng-cloak], [data-ng-cloak],
.ng-cloak, .x-ng-cloak {
  display: none !important;
}

/*
 * Usual
 */
.btn-group-xs > .btn, .btn-xs {
  border-radius: .2rem;
  font-size: .875rem;
  line-height: .5;
  padding: .25rem .5rem;
}

.font-size-sm {
  font-size: var(--font-size-sm);
}

.font-size-xs {
  font-size: var(--font-size-xs);
}

.theme-blue-background {
  background-color: var(--theme-blue);
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Content
 */

[role="main"] {
  padding-top: 48px; /* Space for fixed navbar */
}

/*
 * Navbar
 */

.navbar-dark, .navbar-brand {
  background-color: var(--theme-blue) !important;
}

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

/**
 * Editable Table/Grid Control
 */
table.editable .editable-controls {
  margin-bottom: 0;
  margin-top: .5rem;
}

/* adapted from bs4 */
table.editable .editable-controls input.form-control {
  border-radius: .2rem;
  font-size: .875rem;
  height: calc(1.5em + .5rem + 2px);
  line-height: 1.5;
  padding: .25rem .5rem;
}

/* pagination */
.angular-pager a {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.angular-pager-sm a {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5;
}

.angular-pager .pagination-first a {
  margin-left: 0;
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.angular-pager-sm .pagination-first a {
  border-top-left-radius: .2rem;
  border-bottom-left-radius: .2rem;
}

.angular-pager .pagination-last a {
  margin-right: 0;
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

.angular-pager-sm .pagination-last a {
  border-top-right-radius: .2rem;
  border-bottom-right-radius: .2rem;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}

.pagination > .disabled > a, 
.pagination > .disabled > a:focus, 
.pagination > .disabled > a:hover, 
.pagination > .disabled > span, 
.pagination > .disabled > span:focus, 
.pagination > .disabled > span:hover {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

/* help with bootstrap 4.6 modals from angular - they tend to be invisible */
.fade.in {
  opacity: 1;
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal-backdrop.in {
  opacity: 0.5;
}
