body {
  padding: 25px 50px 75px 100px;
  min-width: 500px;
}
input[type="text"] {
  font-size: 24px;
}

.bootstrap-select .bs-ok-default::after {
  width: 0.3em;
  height: 0.6em;
  border-width: 0 0.1em 0.1em 0;
  transform: rotate(45deg) translateY(0.5rem);
}

.btn.dropdown-toggle:focus {
  outline: none !important;
}

.collapsible {
  background-color: rgb(41, 52, 85);
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}
.gobbet {
  background-color: white;
  padding: 0.25em 0.5em;
}
.gobbet-m {
  background-color: lightgray;
  padding: 0.25em 0.5em;
}
.text {
  background-color: white;
  padding: 0.25em 0.5em;
}
.text-m {
  background-color: lightgray;
  padding: 0.25em 0.5em;
}
.searchmatch {
  font-weight: bold;
}

.scroller {
  max-height: 100vh;
  overflow-y: auto;
}

.bootstrap-select .bs-ok-default::after {
  width: 0.3em;
  height: 0.6em;
  border-width: 0 0.1em 0.1em 0;
  transform: rotate(45deg) translateY(0.5rem);
}

.btn.dropdown-toggle:focus {
  outline: none !important;
}

.collapsible {
  background-color: rgb(41, 52, 85);
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}


.active,
.collapsible:hover {
  background-color: #555;
}



.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}
.data {
  display: none;
}
.active,
.collapsible:hover {
  background-color: #555;
}


.category .page-title {
  display: block;
}

.searchmatch {
  font-weight: bold;
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}

.slidecontainer {
  width: 100%;
}

.scroller {
  height: 400px;
  overflow-y: scroll;
}

.hscroller {
  height: 50px;
  overflow-x: scroll;
}

.data {
  display: none;
}
.gobbet {
  background-color: white;
  padding: 0.25em 0.5em;
}
.gobbet-m {
  background-color: lightgray;
  padding: 0.25em 0.5em;
}
.searchmatch {
  font-weight: bold;
}

.scroller {
  max-height: 100vh;
  overflow-y: auto;
}
#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#toolbar {
  display: flex;
  align-items: center;
  background-color: #555;
  color: #fff;
  padding: 0.5em;
}



#toolbar button:hover,
#toolbar button:focus,
#page-mode input:hover,
#page-mode input:focus {
  color: lightGreen;
}


#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#toolbar {
  display: flex;
  align-items: center;
  background-color: #555;
  color: #fff;
  padding: 0.5em;
}

#toolbar button,
#page-mode input {
  color: currentColor;
  background-color: transparent;
  font: inherit;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 0.25em 0.5em;
}

#toolbar button:hover,
#toolbar button:focus,
#page-mode input:hover,
#page-mode input:focus {
  color: lightGreen;
}



#canvas_container {
  width: 800px;
  height: 450px;
  overflow: auto;
}

#canvas_container {
  background: #333;
  text-align: center;
  border: solid 3px;
}

p.range {
  width: 100%;
  position: relative;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 35px;
  padding: 0;
  width: 100%;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-sizing: content-box;
  border: 12px solid #a6d8ef;
  height: 8px;
  width: 8px;
  border-radius: 18px;
  background-color: #5082e0;
  cursor: ew-resize;
  margin-top: -14px;
  opacity: 0.7;
}

input[type="range"]::-moz-range-thumb {
  border: 12px solid #a6d8ef;
  height: 8px;
  width: 8px;
  border-radius: 18px;
  background-color: #5082e0;
  cursor: ew-resize;
  margin-top: -14px;
  opacity: 0.7;
}

input[type="range"]::-ms-thumb {
  display: inline-block;
  border: 12px solid #a6d8ef;
  height: 8px;
  width: 8px;
  border-radius: 18px;
  background-color: #5082e0;
  cursor: ew-resize;
  margin-top: 5px;
  /* note: different margin-top for IE */
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-color: transparent;
  color: transparent;
  background-color: #cccccc;
}

input[type="range"]::-moz-range-track {
  height: 3px;
  background-color: #cccccc;
}

input[type="range"]::-ms-track {
  border-color: transparent;
  color: transparent;
  height: 3px;
  background-color: #cccccc;
}

input[type="range"]::-ms-fill-lower {
  background-color: #5082e0;
}

input[type="range"]::-moz-range-progress {
  background-color: #5082e0;
}

input[type="range"]::-ms-tooltip {
  display: none;
}

p.range {
  margin-top: 25px;
}

p.range output {
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 20px;
  text-align: center;
  font-weight: bold;
}

p.range span {
  width: 100%;
  display: block;
  height: 20px;
  position: relative;
}

p.range span:before {
  content: attr(data-min);
}

p.range span:after {
  position: absolute;
  right: 0;
  content: attr(data-max);
}
.wikimine,
.sourcelink {
  font-weight: bold;
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}

#cy {
  width: 90%;
  height: 500px;
  display: block;
}
.sliders {
  padding: 1.5em
}
/* the slider bar */
.slider {
  position: relative;
  width: 100%;
  height: 1em;
  margin: 1.5em auto;
  background-color: #29e;
  border-radius: 0.5em;
  box-sizing: border-box;

  font-size: 1em;

  -ms-touch-action: none;
     touch-action: none;
}

/* the slider handle */
.slider:before {
  content: "";
  display: block;
  position: relative;
  top: -0.5em;

  width: 2em;
  height: 2em;
  margin-left: -1em;
  border: solid 0.25em #fff;
  border-radius: 1em;
  background-color: inherit;

  box-sizing: border-box;
}

/* display the value */
.slider:after {
  content: attr(data-value);
  position: absolute;
  top: -1.5em;
  width: 2em;
  line-height:1em;
  margin-left: -1em;
  text-align: center;
}
.dragigable {
  width: 25%;
  min-height: 6.5em;
  margin: 1rem 0 0 1rem;
  background-color: #29e;
  color: white;
  border-radius: 0.75em;
  padding: 4%;
  touch-action: none;
  user-select: none;
}
svg {
  background-color: #000;
}

rect {
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -ms-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}
.bigblue {
  fill: #00f;
  stroke: #fff;
  stroke-width: 4;
}
.bigblue:hover {
  fill: #ff0;
  cursor: pointer;
}
.bigred {
  fill: #f00;
  stroke: #fff;
  stroke-width: 4;
}
.bigred:hover {
  fill: #ff0;
  cursor: move;
}
.point-handle {
  cursor: move;
    }
