.main-sidebar {
  z-index: 2000;
}
.main-header {
  z-index: 99;
}

.nav-pills.partner .nav-link.active {
  background-color: #17a2b8;
  color: white;
}

.calitemobject {
  text-align: center;
  position: relative;
  box-sizing: border-box;
  border-right: 1px solid rgba(100, 100, 100, 0.1);
}
.calitemhour {
  border-top: dotted rgb(200, 0, 255, 0.3) 1px;
  position: absolute;
  background: transparent;
  width: 100%;
}
body {
  /* height: 100vh; */
}

.calitem {
  color: gray;
  left: 0px;
  width: 100%;
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left;
  font-weight: bold;
  margin-bottom: 2px;
  font-size: 0.95em;
  z-index: 5;
  background-color: white;
}

.price {
  font-weight: normal;
  background-color: #a0a0a0;
  border-radius: 3px;
  color: white;
  margin-right: 3px;
  padding: 0 3px 0 3px;
}
.price.zero {
  background-color: #c0c0c0;
}

.calitem .price {
  font-size: smaller;
}

.calitem > div {
  background-color: #cfcfcf;
  border-left: 4px solid #646464;
  padding: 0 0 2px 3px;
  height: 100%;
}
.calitem .small {
  font-size: smaller;
  font-weight: normal;
}
.calitem.free {
  background-color: transparent;
  border-left: 0;
  text-align: center;
  font-size: smaller;
  font-weight: normal;
  color: #ccc;
  cursor: pointer;
  border: 1px solid #f0f0f0;
  border-width: 0.5px 0 0.5px 0;
  z-index: auto;
}
.calitem.free:hover {
  color: gray;
  background-color: #f0f0f0;
}

.freev {
  width: 100%;
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  left: 0px;

  padding: 0px 5px 0px 5px;

  text-align: left;
  font-weight: normal;
  cursor: hand;
  border-left: 4px solid #e6e7e8;
  border-bottom: 1px solid #d6d7d8;

  color: gray;
  background-color: rgba(228, 228, 228, 0.7);
}
.freev:hover {
  font-weight: bold;
  background-color: rgba(240, 240, 240, 0.7);
}

.calcurrentminute {
  background-color: rgba(255, 0, 0, 0.5);
  height: 1pt;
  position: absolute;
  left: 7.5px;
  right: 7.5px;
}
.clientitem {
  min-height: 50px;
  position: relative;
  border-top: 1px solid #d0d0d0;
  margin-bottom: 5px;
  padding: 10px 5px 5px 10px;
  min-height: 75px;
  font-size: 1.1em;
}
.clientitem .itembuttons {
  position: absolute;
  right: 10px;
  top: 5px;
  padding: 14px 10px 0px 0px;
}
.clientitem .itembuttons button {
  height: 40px;
  min-width: 40px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.clientspan {
  color: #a0a0a0;
}
b,
strong {
  font-weight: bold;
}
.card-secondary.card-outline {
  border-top: 3px solid #6c757d;
}
.todo-list > li .tools {
  display: inline;
}

.vdp-datepicker > div:first-child {
  position: relative;
}
.vdp-datepicker > div > .vdp-datepicker__clear-button {
  position: absolute;
  top: 0;
  right: 7px;
  font-size: 1.5em;
}
body:not(.sidebar-collapse) .nav-treeview,
body.sidebar-collapse aside:hover .nav-treeview {
  transition: margin-left 0.3s ease-in-out;
  margin-left: 20px;
}
.nav-sidebar .nav-link > div > .right {
  position: absolute;
  right: 1rem;
  top: 12px;
}
body.sidebar-collapse aside:not(:hover) .nav-sidebar .nav-link > div {
  display: none;
}
.nav-sidebar .nav-link > div {
  position: absolute;
  right: 0;
  top: 0px;
  padding: 0 16px;
  bottom: 0;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
  background: rgba(255, 255, 255, 0.1);
}

input[type="checkbox"] + span {
  cursor: pointer;
}
a.btn:not(.btn-sm),
button.btn:not(.btn-sm) {
  min-height: 40px;
  box-sizing: border-box;
}

.label-color {
  width: 15px;
  position: relative;
  top: 2px;
  height: 15px;
  display: inline-block;
  border: 1px solid #bbb;
  border-radius: 5px;
}

.content-wrapper {
  min-height: 600px;
}

.card-header.sticky {
  background-color: rgb(244, 246, 249);
  position: sticky;
  top: 0;
}

@media print {
  .no-print {
    display: none;
  }
  .main-header {
    display: none;
  }
  .main-sidebar {
    display: none;
  }
  .content-wrapper {
    margin-left: 0;
  }
  .main-footer {
    display: none;
  }
  body {
    height: auto;
  }
}
