


html {
  /*position: relative;
  min-height: 100%;*/
}
body {
    margin-bottom: 60px;
    background-color: #f1f3f6;
}


/* -------------------------------------------------------------------------------------------------- */
/* Sticky footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

.navbar-fixed-bottom {
    border-top:1px solid #000;
    width: 100%;
    background-color: #bbb;
    position: fixed;
    bottom:0;
}


/* -------------------------------------------------------------------------------------------------- */
/* General */
.content {
  margin-bottom: 100px;
}

.list-group-item-hover:hover {
    background-color: #eee;
}

h1 {
   font-size:1.6em;
}

hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


/* -------------------------------------------------------------------------------------------------- */
/* Custom input styles */
.today-input {
    background-color: #fff;
    color: #333;
    font-weight: normal;
    border-radius: 0px;
}


/* -------------------------------------------------------------------------------------------------- */
/* Custom cards */
.card {
    border-radius: 0px;
}

.card-header-green {
    background-color: #95f99a;
    color:#333;
    border-radius: 0px !important;
}

.card-header-white {
    background-color: #fff;
    color:#333;
    border-radius: 0px !important;
}


/* -------------------------------------------------------------------------------------------------- */
/* Custom buttons */
.btn {
    border-radius: 0px;
}


/* -------------------------------------------------------------------------------------------------- */
/* Notes */
.note-index-display {
   text-align: left;
   padding-left: 8px;
   padding-right: 8px;
   padding-top: 4px;
   padding-bottom: 4px;
   border-radius: 6px;
   background-color: #ffffff;
   border: 1px solid #00A8DF;
   width: 100%;
   display: block;
   color: #000;
   font-size: 1em;
   font-weight: bold;
}


/* -------------------------------------------------------------------------------------------------- */
/* Processing overlay */
#overlay {
   background: #FFFFE0;
   width:100%;
   height:100%;
   position: fixed; /* Stay in place */
   z-index: 1; /* Sit on top */
   left: 0;
   top: 0;
   opacity: 0.5;
}


/* -------------------------------------------------------------------------------------------------- */
/* Top navigation */
.navbar {
    -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 8px 6px -6px #999;
}

.nav-item-top {
    /*font-size: 1.2em;*/
    /*font-weight: bold;*/
    color: #fff !important;
    text-decoration: none;
}

.nav-item-top a{
    color: #fff !important;
    text-decoration: none;
}
.nav-item-top:hover {
    background-color: #0097c8;
    text-decoration: none;
}

.nav-item-top {
    border-right: 1px solid #57b9d9;
}

.nav-item-top-no-divider {
    border-right: 0px;
}

.navbar-top-today {
    background-color: #00A8DF !important;
    color: #fff !important;
}

.navbar {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.nav-item {
    /*
    margin-top: -6px !important;
    margin-bottom: -6px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    */
}


/* -------------------------------------------------------------------------------------------------- */
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  /*padding: 48px 0 0;*/ /* Height of navbar */
  padding: 0px 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);
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  border-right:1px solid rgba(0,0,0,.125);

}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-item {
    border-bottom:1px solid #ccc;
}

.sidebar .nav-item:hover {
    background-color: #eee;
}


.sidebar .nav-link.active {
  /*color: #007bff;*/
  color: #fff !important;
  background-color: #00A8DF;
}



.sidebar-heading {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 16px;
  padding-top: 12px;
  padding-bottom: 13px;
  background-color: rgba(0, 0, 0, .03);
}

.card-header {
    min-height: 59px;
}

.card-header-slim {
    min-height: 16px !important;
}

.sidebar-title {
    padding-left: 14px;
}

.nav-link {
    color:#2b3a42 !important;
}






.sidebar {
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,.125);
    margin-left: 6px;
    border-left:  1px solid rgba(0,0,0,.125);
}

.sidebar-sticky {
    background-color: #fff;
    color:#2b3a42;

}

.sidebar-sticky::-webkit-scrollbar {
  display: none;
}


/*
 * Loader
 */
.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  margin: 40px auto;
  font-size: 6px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(0, 0, 0, 0.2);
  border-right: 1.1em solid rgba(0, 0, 0, 0.2);
  border-bottom: 1.1em solid rgba(0, 0, 0, 0.2);
  border-left: 1.1em solid #000;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


#cover {
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    position: fixed;
    opacity: 0.6;
    margin-top:10px;
    display: none;
}

#htmx-cover {
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    position: fixed;
    opacity: 0.6;
    margin-top:10px;
    left: 330px;
    top: 48px;
}

.nav-icon {
    position: absolute;
    right: 20px;
    width: 30px;
    height: 30px;
    margin-top: -40px;
    border: 1px solid #ff0000;
}

.htmx-indicator{
    /*
    opacity:0;
    transition: opacity 500ms ease-in;
    */
    display: none;
}
.htmx-request .htmx-indicator{
    /*opacity:1;*/
    display: block;
}
.htmx-request.htmx-indicator{
    /*opacity:1;*/
    display: block;
}



/* -------------------------------------------------------------------------------------------------- */
/* Media queries */
@media (min-width: 1024px) {
    .content-desktop {
        display: block;
    }
    .content-mobile {
        display: none;
    }
}

@media (max-width: 1023px) {
    .content-desktop {
        display: none;
    }
    .content-mobile {
        display: block;
    }
}

