.top-menu {
  /*height: 66px;*/
}
.editing-disabled {
  pointer-events: none !important;
  opacity: 0.35;
}
.top-menu .scroll-pane::-webkit-scrollbar {
  display: none;
}
.slide-nav {
  padding: 5px 20px;
}
.slide-nav a img {
  width: 50px;
  height: 100%;
}
.cal-sitter {display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.cal-sitter::-webkit-scrollbar {
  display: none;
}
.branch {
  /*margin-left: 20px;*/
  margin-left: 1.875em;
  position: relative;
}
.collapsed > .branch {
  display: none;
}
.branch.deleted {
  display: none;
}
.level-line {
  opacity: 0.5; color: red; position: absolute; top: 1.875em; bottom: 5px; border-radius: 10px; width: 1.6em; left: -1.875em;
}
.level-line {
}
.branch.drag-on.drag-mode-sibling > .level-line {
  top: 3.475em;
}
.level-line.level-mod-0 {
  background-color: #ccc;
}
.level-line.level-mod-1 {
  background-color: #ddd;
}
.level-line.level-mod-2 {
  background-color: #eee;
}
.level-line.highlight {
  background-image: linear-gradient(#91cef3,#91cef3);
}
.knob {
  position: absolute;
  top: 0;
  /*left: -20px;*/
  left: -1.875em;
  transition-duration: 200ms;
  align-items: center;
  text-align: center;
  align-content: center;
  height: 1.6em;
  width: 1.6em;
  line-height: 1.6em;
  border-radius: 50%;
  border: 1px solid lightgrey;
  cursor: pointer;
  box-sizing: border-box;
}
.knob.idle {
  border-color: blue;
}
.knob.has-load-children-failed {
  background-color: red;
}
.knob:before {
  width: 100%;
  height: 100%;
}
.knob:hover {
  background: lightgrey;  
}
.no-child > .leaf-wrap > .knob {
  color: lightgrey;
}
.drag-from > .leaf-wrap > .knob,
.drag-on > .leaf-wrap > .knob {
  border: 0;
  background: #9bf562;
  color: #f36363;
}
.leaf-wrap {
  padding: 0.3em;
  position: relative;
  word-break: break-word;
}
.leaf-wrap:hover {
  background-color: yellow;
}
.leaf-wrap.selected-leaf {
  background-color: lightgreen;
}
.due-age {
  position: absolute;
  right: 0;
  white-space: nowrap;
  font-size: 0.8em;
  font-family: sans-serif;
  line-height: 12px;
  font-weight: bold;
  padding: 0 3px;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  color: #38a1fb;
}
.due-age.overdue {
  color: #dd2222;
}
.drag-placeholder {
  width: 100%; background: #ddd; padding: 0.3em; border-radius: 1em;
  display: none;
}
.branch.drag-on.drag-mode-split > .leaf-wrap > .drag-placeholder.split {
  display: block;
}
.branch.drag-on.drag-mode-sibling > .drag-placeholder.sibling {
  display: block;
}
.branch.drag-on.drag-mode-child > .drag-placeholder.child {
  display: block;
}
#desc-editor {
  display: none;
  padding: 0.3em;
  border: 1px solid black;
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  top: 0;
  left: 0;
}
.selected-leaf #desc-editor {
  display: block;
}
.leaf {
  display: inline-block;
  position: relative;
}
.deleter {
  display: none;
  margin-left: 10px;
  color: #ff0000;
  cursor: pointer;
}
.selected-leaf .deleter {
  display: inline-block;
}
.current-user {
  background: pink;
}
.search-results {
  border-collapse: collapse;
  font-family: monospace;
}
.search-results tr.selected-leaf {
  background-color: lightgreen;
}
.search-results tr.deleted-leaf {
  background-color: lightgrey;
  color: grey;
}
.search-results td {
  border: 1px solid grey;
}
.date-chooser {
  background: #ffffff; width: 80%; position: relative; border-radius: 5px; padding: 20px; box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.35); font-family: Roboto,arial,sans-serif; font-size: 12px;  
}
.start-date-list {
  display: grid; grid-template-columns: repeat(5, 1fr [col-start]); padding: 0;
  /*display: grid; grid-template-columns: repeat(10, 5px [col-start]); padding: 0;*/
  gap: 1px;
}
.start-date-list > li {
  padding: 10px 15px;
  display: flex; flex-direction: column;
  cursor: pointer;
  text-align: center;
}
.start-date-list .items-count {
  font-size: 34px;
    font-weight: bold;
}
#tree-holder > .coverer {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.6);
}
#tree-holder > .coverer .spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./spinner.gif) center center repeat;
}
#tree-holder.saving > .coverer {
  display: block;
}
#tree-holder > .branch > .deleter {
  display: none;
}
#sandbox {
  font: normal 8pt 'courier new';
  height: 1px;
  overflow: hidden; opacity: 0;  
}
body.print #sandbox {
  height: auto;
  overflow: auto;
  opacity: 1;
}
body.print .no-print {
  display: none;
}

#profile-title {
  font-family: fantasy; cursor: pointer; text-align: center; background: aliceblue; padding: 11px; color: chocolate;
  position: relative;
}
#profile-title.drag-on {
  /*background: red;*/
}
.profile-items, .profile-items tr, .profile-items td {
  position: relative;
}
.profile-item.unmatched {
  background: lightgray;
  color: crimson;
}
.profile-item.selected-leaf, .profile-item:hover {
  background: yellow;
}
.profile-item.from-template.drag-on td {
  border-top: 2px dashed #f39292;
}
.profile-item-menu td,
.profile-item td {
  vertical-align: top;
  padding: 5px 3px;
  border-bottom: 1px solid silver;
}
.profile-item a {
  cursor: pointer;
}
.profile-item .description {
  word-break: break-word;
}
.profile-choice {
  background: #f9fcff; color: #c9c2bd;
  cursor: pointer; font-family: fantasy; text-align: center; 
  padding: 11px; 
  border-bottom: 1px white solid;
}
.profile-choice:hover {
  background: aliceblue; 
  color: chocolate; 
}
.section-separator {
  background: beige; text-align: left; color: gray;
}
.drop-bottom {
  display: none;
}
.drag-on .drop-bottom {
  display: block;
}

.toolbox {
    width: auto;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    position: relative;
    top: 0;
    left: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.toolbox-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    cursor: move;
}

.toolbox-content {
    padding: 10px;
    display: flex;
    gap: 5px;
}            
.toolbox-content > * {
    flex: 1;
    width: 50px;
}            

.bounce-spinner {
  margin: 0 auto;
  width: 100%;
  top: 0;
  left: 0;
  text-align: center;
  background-color: #ffffff;
}
.bounce-spinner.in-button {
  height: 100%;
  align-items: center;
  justify-content: space-evenly;
  padding: 0 15%;
}
.disabled .bounce-spinner {
  display: block;
}
.disabled .bounce-spinner.in-button {
  display: flex;
}
.bounce-spinner > .bounce {
  width: 10px;
  height: 10px;
  background-color: #0071be;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.bounce-spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.bounce-spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
/* Override the main snackbar wrapper */
.v-overlay-container .v-overlay__content.v-snackbar__wrapper {
  pointer-events: none;
}
/* Override the underlay */
.v-overlay-container .v-snackbar__underlay {
  pointer-events: none;
}
/* Override the content area */
.v-overlay-container .v-snackbar__content {
  pointer-events: none;
}
/* Ensure any spans or text inside are also non-clickable */
.v-overlay-container .v-snackbar__content span {
  pointer-events: none;
}
@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@media only screen and (max-width: 400px) {
  .top-menu {
    height: 35px;
  }
  .slide-nav {
    padding: 3px 20px;
  }
  .slide-nav a img {
    width: 25px;
  }
  .date-chooser {
    font-size: 10px;
  }
  .start-date-list > li {
    padding: 5px 7px;
  }
  .start-date-list .items-count {
    font-size: 24px;
  }
}
