html {
  scroll-behavior: smooth;
}

body {
  font-size: .875rem;
}

h6 {
  position:relative;
}

h6 span.anchor{
  position:relative;
  top:-73px;
}

span[data-feather] {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.feather {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
}

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

.sidebar-sticky {
  position: absolute;
  top: 53px; /* Height of navbar */
  height: calc(100% - 53px);
  width: 100%;
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

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

.sidebar .nav-link .feather,
.sidebar .nav-link span[data-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;
}

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

.navbar-brand-site {
  background: none;
  box-shadow: none;
}

.btn-datepicker {
  min-width: 8.5rem;
}

.dropdown-menu-datepicker {
  min-width: 15rem;
}

.dropdown-menu-datepicker .dropdown-header {
  margin-left: -1px;
}


.table-datepicker td {
  padding: 0;
}

.table-datepicker td > a,
.table-datepicker td > span {
  color: #212529;
  display: inline-block;
  padding: 0.3rem;
  text-align: center;
  width: 100%;
}

.table-datepicker tbody td:hover {
    background-color: rgba(0,0,0,.075);
}

#graph-history,
#graph-performance {
  height: 400px;
  width: 100%;
}

#graph-history .spinner-grow,
#graph-performance  .spinner-grow{
  margin-top: 166px;
}


.table td, .table th {
  padding: .5rem;
}

.table thead th {
  vertical-align: middle;
}

.table-data thead th {
  width: 11.1111%;
}

.table .thead-light td {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
    font-weight: bold;
}


.title-help {
  cursor: help;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

.login-background{
  background-image: url("/static/img/bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(2px) saturate(0.8);
  -webkit-filter: blur(1px) saturate(0.8);
  height: 100%;  
  left: 0;
  opacity:0.8;
  position: fixed;
  right: 0;
  z-index: 1;
}

.container-login {
  position: fixed;
  z-index: 2;
}

 /* Forms */
 
 .form-group.has-error .form-control {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.has-error .help-block {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.edit-form-delete-btn {
  margin-top: -60px;
}
