/**
 * @license BSD
 * @copyright 2014-2023 hizzgdev@163.com
 * 
 * Project Home:
 *   https://github.com/hizzgdev/jsmind/
 */

/* important section */
.jsmind-inner {
  position: relative;
  overflow: auto;
  width: 100%;
  height: 100%;
  outline: none;
}
/*box-shadow:0 0 2px #000;*/
.jsmind-inner {
  moz-user-select: -moz-none;
  -moz-user-select: none;
  -o-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.jsmind-inner canvas {
  position: absolute;
}

/* z-index:1 */
svg.jsmind {
  position: absolute;
  z-index: 1;
}
canvas.jsmind {
  position: absolute;
  z-index: 1;
}

/* z-index:2 */
jmnodes {
  position: absolute;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0);
}

jmnode {
  position: absolute;
  cursor: default;
  max-width: 400px;
}

jmexpander {
  position: absolute;
  width: 11px;
  height: 11px;
  display: block;
  overflow: hidden;
  line-height: 8px;
  font-size: 10px;
  text-align: center;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
}

.jmnode-overflow-wrap jmnodes {
  min-width: 420px;
}

.jmnode-overflow-hidden jmnode {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* default theme */
jmnode {
  padding: 10px;
  color: #333;
  border-radius: 5px;
  font-size: 14px;
  background-color: #fff;
}
jmnode:hover {
  background-color: #ebebeb;
  color: #333;
}
jmnode.selected {
  background-color: #ebebeb;
  color: #333;
}
jmnode.root {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  background-color: var(--color-theme);
}
jmexpander {
  border-color: gray;
}
jmexpander:hover {
  border-color: #000;
}
