html {
  position: relative;
  min-height: 100%;
}

body {
  height: 100%;
  background-color: #212529;
}

.card-group-header {
  border-radius: .25rem .25rem 0 0;
  padding: .75rem 1.25rem;
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-bottom: none;
  margin-bottom: 0;
}
.card-group-header + .card-group > .card {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.navbar-brand .badge {
  font-weight: 100;
  border: 1px solid white;
  background: none;
  margin-left: 0.3em;
}
#wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #fff;
}
@media (min-width: 768px) {
  #wrapper {
    margin-left: 245px;
  }
}
#wrapper #content-wrapper {
  overflow-x: hidden;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 80px;
}

#printButton {
  display: none;
}
@media (min-width: 768px) {
  #printButton {
    display: block;
  }
}
.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(52, 58, 64, 0.5);
  line-height: 46px;
}
.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}
.scroll-to-top:hover {
  background: #343a40;
}
.scroll-to-top i {
  font-weight: 800;
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}
.navbar-nav .form-inline .input-group {
  width: 100%;
}
.navbar-nav .nav-item.active .nav-link {
  color: #fff;
}
.navbar-nav .nav-item.dropdown .dropdown-toggle::after {
  width: 1rem;
  text-align: center;
  float: right;
  vertical-align: 0;
  border: 0;
  font-weight: 900;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
}
.navbar-nav .nav-item.dropdown.show .dropdown-toggle::after {
  content: '\f107';
}
.navbar-nav .nav-item.dropdown.no-arrow .dropdown-toggle::after {
  display: none;
}
.navbar-nav .nav-item .nav-link:focus {
  outline: none;
}
.navbar-nav .nav-item .nav-link .badge {
  position: absolute;
  margin-left: 0.75rem;
  top: 0.3rem;
  font-weight: 400;
  font-size: 0.5rem;
}
@media (min-width: 768px) {
  .navbar-nav .form-inline .input-group {
    width: auto;
  }
}

.sidebar {
  background-color: #212529;
}
.sidebar .nav-heading {
  font-size: .75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.sidebar .nav-item:first-child {
  margin-top: 0.5rem;
}
.sidebar .nav-item:last-child {
  margin-bottom: 0.5rem;
}
.sidebar .nav-item .nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
}
.sidebar .nav-item .nav-link span {
  font-size: 1rem;
}
.sidebar .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.5);
}
.sidebar .nav-item .nav-link:active, .sidebar .nav-item .nav-link:focus, .sidebar .nav-item .nav-link:hover {
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 768px) {
  .sidebar {
    width: 245px !important;
    position: absolute;
    min-height: calc(100vh - 60px);
  }
}

:root {
  --input-padding-x: 0.75rem;
  --input-padding-y: 0.75rem;
}

footer.sticky-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: #e9ecef;
}

footer.sticky-footer .copyright {
  line-height: 1;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  footer.sticky-footer {
    width: calc(100% - 245px);
  }
}

.loading {
  text-align: center;
  margin: 40px;
  display: none;
}
.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #777;
  border-color: #777 transparent #777 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ajax-error {
  display: none;
}
.chart-container {
  height: 300px;
}
.card-login {
    max-width: 25rem;
}
.form-label-group {
  position: relative;
}

.form-label-group > input,
.form-label-group > label {
  padding: var(--input-padding-y) var(--input-padding-x);
  height: auto;
}

.form-label-group > label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0;
  /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
  padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: calc(var(--input-padding-y) / 3);
  padding-bottom: calc(var(--input-padding-y) / 3);
  font-size: 12px;
  color: #777;
}

.sites {
  padding: 8px;
   margin-top: 1px;
}
.sites.dropdown-menu {
    max-width: none;
    z-index: 3000;
    min-width: 20rem;
}
.sites:before {
    position: absolute;
    top: -7px;
    left: 9px;
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-left: 7px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    content: '';
}
.sites:after {
    position: absolute;
    top: -6px;
    left: 10px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
    content: '';
}

.sites ul {
      list-style: none;
    margin: 0;
    padding: 0;
}
.sites li {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    border: 1px solid #6c757d;
    color: #6c757d;
    margin-bottom: 8px;
    cursor: pointer; 
}
.sites li:last-child {
    margin-bottom: 0px;
}
.sites li.active, .sites li:hover {
    background: #6c757d;
    border: 1px solid #6c757d;
    color: #fff;
}

.reportoptions button {
  margin-bottom: .3rem;
}

.btn-mobile-wide {
  width: 100%;
}
@media (min-width: 768px) {
  .reportoptions button {
    margin-bottom: 0;
  }
}

.dashboard-tile-main {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.dashboard-tile-comment {
  color: rgba(0, 0, 0, 0.5);
}
.dashboard-tiles .dashboard-tile {
  border-bottom: 1px solid rgba(0,0,0,.125);
  padding-bottom: 1.25rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}
.dashboard-tiles .dashboard-tile:last-child {
  border-bottom: 0;
  padding-top: 1.25rem;
}
@media (min-width: 768px) {
  .dashboard-tiles .dashboard-tile {
    border-left: 1px solid rgba(0,0,0,.125);
    border-bottom: 0px;
    margin: 0px;
    padding: 0px;
  }
  .dashboard-tiles .dashboard-tile:first-child {
    border-left: 0;
  }
  .dashboard-tiles .dashboard-tile:last-child {
    padding: 0px;
  }
}

.counter-row {
  border-bottom: 1px solid rgba(0,0,0,.125);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.counters .counter-row:first-child {
  padding-top: 0;
}
.counters .counter-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
