@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  line-height: 1.6;
  box-sizing: border-box;
  /*font-size: 100%;
  font-weight: 400;*/
  word-break: break-all;
  caret-color: transparent;
}

input[type="text"] {
  caret-color: auto;
}

input[type="password"] {
  caret-color: auto;
}


input[type=range] {
  appearance: none;
  background: #383838;
  height: 16px;
  border-radius: 8px;
}

input[type=range]::-webkit-slider-thumb {
  appearance: none;
  background: #fff;
  height: 12px;
  width: 12px;
  border-radius: 50%;
}

input[type=range]:disabled::-webkit-slider-thumb {
  background: #8ca6da;
}

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

input[type=range]::-moz-range-track {
  height: 0;
}

input[type=range]::-moz-range-thumb {
  background: #fff;
  height: 12px;
  width: 12px;
  border: none;
  border-radius: 50%;
}

input[type=range]:disabled::-moz-range-thumb {
  background: #8ca6da;
}

html {
  height: 100%;
  font-family: sans-serif;
  font-size: 62.5%;
}

body {
  height: 100%;
  overflow: hidden;
  min-width: 960px;
  min-height: 540px;
  background-color: #494949;
}

.white {
  background-color: #fff;
}


.contents {
  position: relative;
  height: 100%;
  overflow: hidden;
}


.content-tab {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content-tab.show {
  display: block;
}


.start-button {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 70px;
  height: 70px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background: transparent;
  background-image: url("../images/connect-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 70px 70px;
}

.button-caption-start {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 500px;
  height: 60px;
  margin-top: 80px;  
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 28pt;
  color: white;
}


.camera-device-list {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  bottom: 55%;
  width: 540px;
  height: 25%;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.camera-device-row {
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 60px;
  color: white;
  font-size: 28pt;
  text-align: left;
  vertical-align: middle;
}

.camera-device-row::before {
  display: inline-block;
  content: url("../images/microscope-icon.png");
  margin-right: 16px;
  vertical-align: -8px;
}

.connection-message {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 540px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 28pt;
  color: white;
}

.detection-message {
  position: absolute;
  top: 25%;
  left: 0;
  right: 0;
  width: 540px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 28pt;
  color: white;
}

.camera-device-reload-button {
  cursor: pointer;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background: transparent;
  background-image: url("../images/reload-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.button-caption-camera-device-reload {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  width: 120px;
  height: 24px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 12pt;
  color: #ffffff;
}


#microscope-video {
  display: none;
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#microscope-video.flip {
  transform: scaleX(-1) scaleY(-1);
}

#microscope-canvas {
  /* display: none; */
  position: absolute;
  box-sizing: border-box;
  z-index: 1;
}

#figure-canvas {
  position: absolute;
  box-sizing: border-box;
  z-index: 2;
  touch-action: none;
}

#calibration-canvas {
  display: none;
  position: absolute;
  box-sizing: border-box;
  z-index: 3;
}

#recording-canvas {
  display: none;
  position: absolute;
  box-sizing: border-box;
}


.footer {
  display: block;
  position: absolute;
  box-sizing: border-box;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
}

.footer-tab {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.footer-tab.show {
  display: block;
}


.operation-panel {
  display: block;
  position: absolute;
  box-sizing: border-box;
  left: 0;
  right: 0;
  top: 10px;
  width: 400px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(0, 0, 0, 0.4);
  border: 4px solid transparent;
  border-radius: 45px;
  z-index: 10;
}

.operation-panel.recording {
  border: 4px solid red;
}

.operation-panel.calibrated {
  width: 745px;
}

.camera-sub-panel {
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  left: 8px;
  width: 148px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid #ffffff;
  border-radius: 30px;
}

.camera-sub-message {
  position: absolute;
  box-sizing: border-box;
  top: 16px;
  left: 188px;
  width: 192px;
  height: 40px;
  color: #ffffff;
  text-align: center;
  font-size: 18pt;
}

.picture-take-button {
  cursor: pointer;
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 10px;
  left: 16px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/picture-take-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.picture-take-button:disabled {
  cursor: default;
}

.picture-take-button.processing {
  background-image: url("../images/picture-take-processing.png");
}

.record-start-button {
  cursor: pointer;
  display: none;
  position: absolute;
  box-sizing: border-box;
  top: 10px;
  left: 16px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/record-start-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.record-start-button:disabled {
  cursor: default;
}

.record-start-button.calibrated {
  left: 385px;
}

.record-stop-button {
  cursor: pointer;
  display: none;
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  left: 50px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  background-image: url("../images/record-stop-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.record-stop-button:disabled {
  cursor: default;
}

.record-stop-button.calibrated {
  left: 385px;
}

.picture-video-switch-button {
  cursor: pointer;
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  left: 84px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  background-image: url("../images/picture-video-switch-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.picture-video-switch-button:disabled {
  cursor: default;
}

.picture-video-switch-button.calibrated {
  left: 385px;
}

.text-add-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 16px;
  left: 180px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/text-add-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.text-add-button:disabled {
  cursor: default;
}

.text-add-button.calibrated {
  left: 476px;
}

.arrow-add-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 16px;
  left: 251px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/arrow-add-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.arrow-add-button:disabled {
  cursor: default;
}

.arrow-add-button.calibrated {
  left: 566px;
}

.settings-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 16px;
  left: 322px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/settings-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.settings-button:disabled {
  cursor: default;
}

.settings-button.calibrated {
  left: 657px;
}

.magnification-ratio-select {
  cursor: pointer;
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  width: 100px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-align: center;
  text-align-last: center;
  font-size: 18pt;
  border: 1px solid #ffffff;
  border-radius: 30px;
  appearance: none;
  -webkit-appearance: none;
}

.magnification-ratio-select:disabled {
  cursor: default;
}

#magnification-ratio-select-calibration {
  left: 8px;
  width: 148px;
}

#magnification-ratio-select-calibrated {
  left: 8px;
}

.magnification-ratio-select option {
  background-color: #727272;
  color: #ffffff;
}

.calibration-previous-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 4px;
  left: 201px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/previous-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.calibration-previous-button:disabled {
  cursor: default;
}

.button-caption-calibration-previous {
  cursor: pointer;
  position: absolute;
  top: 44px;
  left: 185px;
  width: 80px;
  height: 24px;
  text-align: center;
  font-size: 12pt;
  color: #ffffff;
}

.calibration-next-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 4px;
  left: 291px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/next-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.calibration-next-button:disabled {
  cursor: default;
  background-image: url("../images/next-disabled.png");
}

.button-caption-calibration-next {
  cursor: pointer;
  position: absolute;
  top: 44px;
  left: 275px;
  width: 80px;
  height: 24px;
  text-align: center;
  font-size: 12pt;
  color: #ffffff;
}

.button-caption-calibration-next.disabled {
  cursor: default;
  color: #828282;
}


.font-sub-panel {
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  left: 8px;
  width: 148px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid #ffffff;
  border-radius: 30px;
}

.font-small-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 5px;
  left: 17px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  background-image: url("../images/font-small-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.font-large-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 5px;
  left: 83px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  background-image: url("../images/font-large-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}


.line-width-sub-panel {
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  left: 8px;
  width: 148px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid #ffffff;
  border-radius: 30px;
}


.line-width-button {
  cursor: pointer;
  position: absolute;
  top: 9px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.line-width-button-thin {
  left: 2px;
  background-image: url("../images/line-width-thin-normal.png");
}

.line-width-button-middle {
  left: 50px;
  background-image: url("../images/line-width-middle-normal.png");
}

.line-width-button-thick {
  left: 98px;
  background-image: url("../images/line-width-thick-normal.png");
}


.line-width-thumb {
  cursor: pointer;
  position: absolute;
  top: 49px;
  width: 10px;
  height: 8px;
  border: none;
  background: transparent;
  background-image: url("../images/line-width-thumb.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 10px 8px;
}

.line-width-thumb-thin {
  left: 21px;
}

.line-width-thumb-middle {
  left: 69px;
}

.line-width-thumb-thick {
  left: 117px;
}


.option-panel {
  display: none;
  position: absolute;
  box-sizing: border-box;
  left: 50%;
  top: 10px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 4px solid transparent;
  border-radius: 45px;
  z-index: 10;
}

.option-panel.show {
  display: block;
}

.option-panel.calibration {
  margin-left: 210px;
  width: 270px;
}

.option-panel.calibrated {
  display: block;
  margin-left: 220px;
  width: 250px;
}

.option-panel.eyepiece-micrometer {
  display: block;
  margin-left: 210px;
  width: 270px;
}

.option-panel.ruler {
  display: block;
  margin-left: 210px;
  width: 270px;
}

.caption-diameter {
  position: absolute;
  box-sizing: border-box;
  left: 0;
  top: 21px;
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 12pt;
  color: #ffffff;
}

.diameter-select {
  cursor: pointer;
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  left: 30px;
  width: 100px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-align: center;
  text-align-last: center;
  font-size: 18pt;
  border: 1px solid #ffffff;
  border-radius: 30px;
  appearance: none;
  -webkit-appearance: none;
}

.diameter-select:disabled {
  cursor: default;
}

.diameter-select option {
  background-color: #727272;
  color: #ffffff;
}

.caption-length-unit {
  position: absolute;
  box-sizing: border-box;
  top: 21px;
  left: 130px;
  width: 44px;
  height: 30px;
  text-align: center;
  font-size: 12pt;
  color: #ffffff;
}

.length-unit-switch-button {
  cursor: pointer;
  position: absolute;
  top: 12px;
  left: 174px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  background-image: url("../images/picture-video-switch-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.caption-length-unit-switch {
  cursor: pointer;
  position: absolute;
  box-sizing: border-box;
  top: 21px;
  left: 222px;
  width: 44px;
  height: 30px;
  text-align: left;
  font-size: 12pt;
  color: #ffffff;
}

.measure-add-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 16px;
  left: 122px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/measure-add-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.measure-add-button:disabled {
  cursor: default;
}

.ruler-add-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 16px;
  left: 182px;
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  background-image: url("../images/ruler-add-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 40px;
}

.ruler-add-button:disabled {
  cursor: default;
}


.figure-color-radio {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

.figure-color-radio+label {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 40px 40px;
}


#eyepiece-micrometer-color-white+label {
  left: 196px;
  background-image: url("../images/white-off.png");
}

#eyepiece-micrometer-color-white:checked+label {
  background-image: url("../images/white-on.png");
}

#eyepiece-micrometer-color-red+label {
  left: 236px;
  background-image: url("../images/red-off.png");
}

#eyepiece-micrometer-color-red:checked+label {
  background-image: url("../images/red-on.png");
}

#eyepiece-micrometer-color-blue+label {
  left: 276px;
  background-image: url("../images/blue-off.png");
}

#eyepiece-micrometer-color-blue:checked+label {
  background-image: url("../images/blue-on.png");
}

#eyepiece-micrometer-color-black+label {
  left: 316px;
  background-image: url("../images/black-off.png");
}

#eyepiece-micrometer-color-black:checked+label {
  background-image: url("../images/black-on.png");
}


#text-color-white+label {
  left: 172px;
  background-image: url("../images/white-off.png");
}

#text-color-white:checked+label {
  background-image: url("../images/white-on.png");
}

#text-color-red+label {
  left: 212px;
  background-image: url("../images/red-off.png");
}

#text-color-red:checked+label {
  background-image: url("../images/red-on.png");
}

#text-color-blue+label {
  left: 252px;
  background-image: url("../images/blue-off.png");
}

#text-color-blue:checked+label {
  background-image: url("../images/blue-on.png");
}

#text-color-black+label {
  left: 292px;
  background-image: url("../images/black-off.png");
}

#text-color-black:checked+label {
  background-image: url("../images/black-on.png");
}


#arrow-color-white+label {
  left: 172px;
  background-image: url("../images/white-off.png");
}

#arrow-color-white:checked+label {
  background-image: url("../images/white-on.png");
}

#arrow-color-red+label {
  left: 212px;
  background-image: url("../images/red-off.png");
}

#arrow-color-red:checked+label {
  background-image: url("../images/red-on.png");
}

#arrow-color-blue+label {
  left: 252px;
  background-image: url("../images/blue-off.png");
}

#arrow-color-blue:checked+label {
  background-image: url("../images/blue-on.png");
}

#arrow-color-black+label {
  left: 292px;
  background-image: url("../images/black-off.png");
}

#arrow-color-black:checked+label {
  background-image: url("../images/black-on.png");
}


#measure-color-white+label {
  left: 172px;
  background-image: url("../images/white-off.png");
}

#measure-color-white:checked+label {
  background-image: url("../images/white-on.png");
}

#measure-color-red+label {
  left: 212px;
  background-image: url("../images/red-off.png");
}

#measure-color-red:checked+label {
  background-image: url("../images/red-on.png");
}

#measure-color-blue+label {
  left: 252px;
  background-image: url("../images/blue-off.png");
}

#measure-color-blue:checked+label {
  background-image: url("../images/blue-on.png");
}

#measure-color-black+label {
  left: 292px;
  background-image: url("../images/black-off.png");
}

#measure-color-black:checked+label {
  background-image: url("../images/black-on.png");
}


#ruler-color-white+label {
  left: 172px;
  background-image: url("../images/white-off.png");
}

#ruler-color-white:checked+label {
  background-image: url("../images/white-on.png");
}

#ruler-color-red+label {
  left: 212px;
  background-image: url("../images/red-off.png");
}

#ruler-color-red:checked+label {
  background-image: url("../images/red-on.png");
}

#ruler-color-blue+label {
  left: 252px;
  background-image: url("../images/blue-off.png");
}

#ruler-color-blue:checked+label {
  background-image: url("../images/blue-on.png");
}

#ruler-color-black+label {
  left: 292px;
  background-image: url("../images/black-off.png");
}

#ruler-color-black:checked+label {
  background-image: url("../images/black-on.png");
}


.delete-button {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 12px;
  left: 332px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  background-image: url("../images/delete-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}


.angle-input {
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 6px;
  left: 8px;
  width: 100px;
  height: 60px;
  padding-top: 8px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-align: center;
  font-size: 18pt;
  border: 1px solid #ffffff;
  border-radius: 30px;
  appearance: none;
  -webkit-appearance: none;
}

.angle-range {
  cursor: pointer;
  position: absolute;
  top: 28px;
  left: 120px;
  width: 130px;
  height: 16px;
}

.angle-orig {
  cursor: pointer;
  position: absolute;
  top: 18px;
  left: 180px;
  width: 10px;
  height: 8px;
  border: none;
  background: transparent;
  background-image: url("../images/angle-orig.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 10px 8px;
}


.operation-menu {
  display: none;
  position: absolute;
  box-sizing: border-box;
  left: 0;
  right: 0;
  bottom: 110px;
  width: 540px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px 10px 20px;
  /*background-color: #727272;*/
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  z-index: 11;
}

.operation-menu.show {
  display: block;
}

.operation-menu-row {
  display: flex;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.operation-menu-row.hide {
  display: none;
}

.operation-menu-row.underline {
  border-bottom: 1px solid #FFF;
}

.operation-menu-row.length-unit {
  height: 60px;
}

.operation-menu-row-left {
  position: relative;
  box-sizing: border-box;
  width: 30%;
}

.operation-menu-row-left.length-unit {
  width: 40%;
}

.operation-menu-row-right {
  position: relative;
  box-sizing: border-box;
  width: 70%;
}

.operation-menu-row-right.length-unit {
  width: 60%;
}

.operation-menu-item {
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 60px;
  padding-top: 10px;
  text-align: center;
  font-size: 18pt;
  color: #fff;
}

.operation-menu-item:hover {
  background-color: #fff;
  color: #727272;
}

.operation-menu-item.underline {
  border-bottom: 1px solid #FFF;
}

.operation-menu-item-checkbox {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

.operation-menu-item-checkbox+label {
  cursor: pointer;
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding-top: 10px;
  text-align: center;
  font-size: 18pt;
  color: #fff;
}

.operation-menu-item-checkbox:checked+label {
  /*background-color: #292929;*/
  background-color: rgba(0, 0, 0, 0.4);
}

.operation-menu-item-checkbox+label:hover {
  background-color: #fff;
  color: #727272;
}

.operation-menu-category {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding-top: 10px;
  text-align: center;
  font-size: 18pt;
  color: #fff;
}

.operation-menu-category.calibration {
  padding-top: 40px;
}

#operation-menu-length-unit-checkbox {
  display: none;
  position: relative;
  top: 0px;
  left: 0px;
  width: 0px;
  height: 0px;
  opacity: 0;
}

#operation-menu-length-unit-checkbox+label {
  cursor: pointer;
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 10px;
  left: 130px;
  width: 40px;
  height: 40px;
  background: transparent;
  background-image: url("../images/setting-toggle-left.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 40px 40px;
}

#operation-menu-length-unit-checkbox:checked+label {
  background-image: url("../images/setting-toggle-right.png");
}

.operation-menu-length-unit-millimeter {
  cursor: pointer;
  position: absolute;
  box-sizing: border-box;
  top: 10px;
  left: 0px;
  width: 130px;
  height: 40px;
  text-align: center;
  font-size: 18pt;
  color: #fff;
}

.operation-menu-length-unit-micrometer {
  cursor: pointer;
  position: absolute;
  box-sizing: border-box;
  top: 10px;
  right: 0px;
  width: 130px;
  height: 40px;
  text-align: center;
  font-size: 18pt;
  color: #fff;
}


.operation-message {
  display: none;
  position: absolute;
  box-sizing: border-box;
  left: 0;
  bottom: 110px;
  width: 100%;
  height: 60px;
  text-align: center;
  color: #fff;
  font-size: 24pt;
  text-shadow: 1px 2px 3px #000000;
  z-index: 11;
}

.operation-message.show {
  display: block;
}


.calibration-info-dialog {
  display: none;
  position: absolute;
  box-sizing: border-box;
  left: 0;
  right: 0;
  bottom: 110px;
  width: 900px;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px 10px 20px;
  /*background-color: #727272;*/
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  z-index: 11;
}

.calibration-info-dialog.show {
  display: block;
}

.calibration-info-dialog-title {
  position: absolute;
  box-sizing: border-box;
  top: 10px;
  left: 0;
  width: 100%;
  height: 60px;
  padding-top: 10px;
  text-align: center;
  font-size: 18pt;
  color: #fff;
}

.calibration-info-dialog-header {
  display: table;
  position: absolute;
  box-sizing: border-box;
  top: 70px;
  left: 20px;
  width: 860px;
  height: 40px;
  border-bottom: 1px solid #fff;
  font-size: 14pt;
  color: #fff;
}

.calibration-info-dialog-header-column {
  display: table-cell;
  position: relative;
  box-sizing: border-box;
  width: 126px;
  height: 100%;
  padding-top: 5px;
  text-align: center;
}

.calibration-info-dialog-header-column.top {
  width: 210px;
}

.calibration-info-dialog-header-column.wide {
  width: 252px;
}

.calibration-info-dialog-header-column.gap {
  width: auto;
}

.calibration-info-dialog-contents {
  position: absolute;
  box-sizing: border-box;
  top: 110px;
  left: 20px;
  width: 860px;
  height: 200px;
  overflow-y: auto;
}

.calibration-info-dialog-row {
  cursor: pointer;
  display: table;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  font-size: 14pt;
  color: #fff;
}

.calibration-info-dialog-row:hover {
  background-color: #fff;
  color: #727272;
}

.calibration-info-dialog-row.selected {
  background-color: rgba(0, 0, 0, 0.4);
}

.calibration-info-dialog-row.selected:hover {
  background-color: #fff;
  color: #727272;
}

.calibration-info-dialog-row-column {
  display: table-cell;
  position: relative;
  box-sizing: border-box;
  width: 126px;
  height: 100%;
  padding-top: 10px;
  text-align: center;
}

.calibration-info-dialog-row-column.mark {
  width: 30px;
}

.calibration-info-dialog-row-column.top {
  width: 180px;
}

.calibration-info-dialog-row-column.wide {
  width: 252px;
}

.calibration-info-dialog-row-column.gap {
  width: auto;
}

.calibration-info-dialog-not-use-button {
  cursor: pointer;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  width: 350px;
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(0, 0, 0, 0.0);
  color: #ffffff;
  text-align: center;
  font-size: 16pt;
  border: 1px solid #fff;
  border-radius: 25px;
}

.calibration-info-dialog-not-use-button:hover {
  background-color: #fff;
  color: #727272;
}

.calibration-info-dialog-not-use-button.selected {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.4);
  background-image: url("../images/selection-mark.png");
  background-repeat: no-repeat;
  background-position: 10px 20px;
  background-size: 8px 10px;
}

.calibration-info-dialog-not-use-button.selected:hover {
  background-color: #fff;
  color: #727272;
  border: 1px solid #fff;
}

.calibration-info-dialog-selection-mark {
  display: none;
  position: absolute;
  top: 0;
  left: 10px;
  bottom: 0;
  width: 8px;
  height: 10px;
  border: none;
  margin: auto;
  background: transparent;
  background-image: url("../images/selection-mark.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 8px 10px;
}

.calibration-info-dialog-selection-mark.show {
  display: inline-block;
}

.calibration-info-dialog-ok-button {
  cursor: pointer;
  position: absolute;
  right: 78px;
  bottom: 20px;
  width: 150px;
  height: 50px;
  background-color: #ffffff;
  color: #727272;
  text-align: center;
  font-size: 16pt;
  border: 1px solid #fff;
  border-radius: 25px;
}

.calibration-info-dialog-delete-button {
  cursor: pointer;
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  background-image: url("../images/delete-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}
          

#text-edit-dialog-ok-button {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 48px;
  height: 48px;
  margin: auto;
  border: none;
  background: transparent;
  background-image: url("../images/sensor-connect.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.button-caption-text-edit-dialog-ok {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  width: 150px;
  height: 28px;
  margin: auto;
  padding-top: 4px;
  text-align: center;
  font-size: 12pt;
  color: #000;
}

#text-edit-dialog-text {
  caret-color: auto;
}
          

#text-input-dialog-ok-button {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 48px;
  height: 48px;
  margin: auto;
  border: none;
  background: transparent;
  background-image: url("../images/sensor-connect.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.button-caption-text-input-dialog-ok {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  width: 150px;
  height: 28px;
  margin: auto;
  padding-top: 4px;
  text-align: center;
  font-size: 12pt;
  color: #000;
}

#text-input-dialog-text {
  caret-color: auto;
}


#download-dialog a {
  color: #0000EE;
  text-decoration: underline;
}


#popup-message-dialog-ok-button {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  height: 48px;
  margin: auto;
  border: none;
  background: transparent;
  background-image: url("../images/sensor-connect.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.button-caption-popup-message-dialog-ok {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  width: 150px;
  height: 28px;
  margin: auto;
  padding-top: 4px;
  text-align: center;
  font-size: 12pt;
  color: #000;
}


.two-choices-message-dialog-yes-button {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 48px;
  height: 48px;
  margin: auto;
  border: none;
  background: transparent;
  background-image: url("../images/popup-ok-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.button-caption-two-choices-message-dialog-yes {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  width: 150px;
  height: 28px;
  margin: auto;
  padding-top: 4px;
  text-align: center;
  font-size: 12pt;
  color: #000;
}


.two-choices-message-dialog-no-button {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 48px;
  height: 48px;
  margin: auto;
  border: none;
  background: transparent;
  background-image: url("../images/popup-ng-normal.png");
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: 48px 48px;
}

.button-caption-two-choices-message-dialog-no {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  width: 150px;
  height: 28px;
  margin: auto;
  padding-top: 4px;
  text-align: center;
  font-size: 12pt;
  color: #000;
}
