body {
  font-family: "Helvetica Neue", sans-serif;
  width: 100%;
  height: 100%;
  margin: 0px;
}

#window {
  position: absolute;
  width: 100%;
  height: 100%;
}

.ui-titlebar {
  display: flex;
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  height: 39px;
  padding-left: 10px;
  padding-right: 10px;
  background: linear-gradient(0deg, #dadada, #efefef);
  border-bottom: 1px solid #ccc;
}

.ui-main-title {
  position: relative;
  font-size: 16pt;
  font-weight: 600;
  display: inline-block;
  margin: auto auto auto 0;
  white-space: nowrap;
}

.ui-main-options {
  width: 219px;
  margin: auto 5px auto 0;
}

#fullscreen-button {
  background-image: url("Fullscreen.svg");
  background-size: 54px 42px;
}

.ui-main-title-button {
  background-repeat: no-repeat;
  background-position: left top;
  margin: auto 20px auto 0;
  width: 27px;
  height: 21px;
  cursor: pointer;
}

.ui-main-title-button.on {
  background-position: right top;
}

.ui-main-title-button:hover {
  background-position: bottom left;
}

.ui-main-title-button.on:hover {
  background-position: bottom right;
}

.ui-side-panel {
  position: absolute;
  width: 229px;
  top: 40px;
  right: 0px;
  bottom: 116px;
  overflow-y: scroll;
  font-size: 10.5pt;
  font-weight: 300;
  padding: 10px 15px 10px 10px;
  background-color: #eee;
  cursor: default;
  border-left: 1px solid #ddd;
}

.ui-bottom-panel {
  position: absolute;
  width: 229px;
  height: 105px;
  right: 0px;
  bottom: 0px;
  font-size: 9.5pt;
  font-weight: 300;
  padding: 5px 15px 5px 10px;
  background-color: #eee;
  cursor: default;
  border-top: 1px solid #aaa;
  border-left: 1px solid #ddd;
}

.ui-panel {
  width: 100%;
  margin-bottom: 4px;
}

.ui-panel-content {
  padding-top: 0px;
}

.ui-panel-title {
  font-weight: 800;
  padding-top: 1px;
  padding-bottom: 2px;
  border-radius: 4px;
  background-color: rgb(36,130,247);
  color: #fff;
}

div.expanded > div > .arrow {
  -webkit-transform: rotate(0.25turn);
  -moz-transform: rotate(0.25turn);
  -o-transform: rotate(0.25turn);
  transform: rotate(0.25turn);
}

input[type=range] {
  margin: 2px 0px 2px 0px;
}

.ui-panel-content {
  padding-top: 0px;
}

div.expanded > .ui-panel-content {
  max-height: 1000px;
  transition: max-height 1s ease-in-out;
  overflow: hidden;
}

div.collapsed > .ui-panel-content {
  max-height: 0px;
  transition: max-height 1s cubic-bezier(0, 1, 0, 1);
  overflow: hidden;
}

.ui-title {
  font-weight: 500;
}

.ui-group-spacing {
  width: 100%;
  height: 5px;
}

.ui-unit-spacing {
  width: 100%;
  height: 10px;
}

input[type="range"], input[type="button"] {
  width: 100%;
}

.ui-line {
  margin: 1px 0 1px 0;
}

.ui-row {
  width: 100%;
  display: flex;
}

.ui-left {
  display: inline-block;
  margin-right: auto;
}

.ui-right {
  display: inline-block;
  margin-left: auto;
}

.ui-fill-width {
  flex-direction: row;
  flex-basis: 100%;
  margin: 0px 2px 0px 2px;
  padding: 1px 9px 1px 4px;
  border-radius: 4px;
  background: white;
  font-size: 9.5pt;
  text-align: right;
}

.ui-expand {
  max-height: 200px;
  display: block;
  transition: max-height 0.7s ease-in-out;
  overflow: hidden;
}

.ui-collapse {
  max-height: 0px;
  transition: max-height 0.7s ease-in-out;
  overflow: hidden;
}

input[type=range] {
  width: 100%;
  margin: 2px 0px 2px 0px;
}

.arrow {
  display: inline-block;
  margin: 0px 6px 0px 6px;
  width: 8px;
  height: 8px;
  background-image: url("Arrow.svg");
  background-size: 8px 8px;
  pointer-events: none;
}

#viewer {
  position: absolute;
  left: 0px;
  top: 40px;
  right: 255px;
  bottom: 0px;
  font-size: 0;
}

#viewer>svg {
  cursor: crosshair;
}

#copyright {
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  left: 0px;
  bottom: 0px;
  right: 255px;
  margin: 2px 5px 3px 5px;
  font-size: 9.5pt;
  font-weight: 300;
}

.ns {
  -webkit-touch-callout: none;
  -moz-user-select: none;
  -o-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

a:link {
  text-decoration: none;
  color: black;
}

a:visited {
  color: gray;
}

a:hover {
  color: orange;
}
