/* * {
  outline: 1px solid pink;
} */

body {
  text-size-adjust: 100%;
  background-color: rgba(255, 239, 239, 0.5);
}

.firstview {
  margin: 1rem;
}

#title {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu {
  display: flex;
  justify-content: space-around;
  list-style: none;
  background-color: #333;
  color: #fff;
  margin: 0;
  padding: 0.3rem;
  width: 100%;
  height: 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
}

.menu_item {
  padding: 0 1rem;
}
.menu_item:hover {
  background-color: #9b5;
}
.menu_item.activate {
  color: #666;
}

.menu_dammy {
  width: 100%;
  height: 1.5rem;
  margin: 0;
  padding: 0;
}

.grid {
  background-image: linear-gradient(0deg, transparent 15px, #ccc 16px),
    linear-gradient(90deg, transparent 15px, #ccc 16px);
  background-size: 16px 16px;
}

.label {
  padding: 0.5rem;
  background-color: #333;
  color: #fff;
}
.label.close::before {
  content: "[▽]";
  margin-left: 0.5rem;
}
.label.activate {
  color: #666;
}

.expand {
  background-color: #fee;
  padding: 0 0 1rem 1rem;
  transition: all 0.4s 0s;
}
.is-closed {
  transform: scaleY(0);
  height: 0;
  padding: 0;
  transform-origin: top;
}

.help {
  width: 100%;
  background-color: #666;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
}

.modalOpen {
  border-radius: 1rem;
  border: solid white 2px;
  color: white;
  padding: 0 0.3rem;
  margin-left: 0.5rem;
}

.modalCover {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
  display: none;
}
.modalContent {
  position: fixed;
  top: 2rem;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 11;
  display: none;
}
.modalCover.active,
.modalContent.active {
  display: block;
}
.modalClose.top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
.modalClose.bottom {
  display: block;
  width: 80%;
  margin: 1rem auto;
  padding: 0.5rem;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

#preview_uploaded_check,
#preview_uploaded2_check {
  pointer-events: none;
  position: absolute;
}

.flex {
  display: flex;
}
.flexItem {
  max-width: 50%;
  margin-right: 1rem;
}
.flexItem:nth-child(2) {
  border-left: dashed 1px #333;
  padding-left: 1rem;
}

button.modalOpen {
  color: black;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.height600hidden {
  height: 600px;
  overflow: hidden;
}
.absolute {
  position: absolute;
}

.visible {
  display: none;
}

.overlay {
  mix-blend-mode: overlay !important;
}

.difference {
  mix-blend-mode: difference !important;
}

.hidden {
  visibility: hidden;
}

.maxWidth100 {
  max-width: 100%;
}

.buttonNext {
  display: block;
  width: 80%;
  margin: 0.5rem auto;
  padding: 0.5rem;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.adjuster input[type="range"] {
  width: 98%;
}

#freeDraw {
  background-color: transparent;
}

#drawLine {
  position: relative;
  overflow: hidden;
}
#drawLine img {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
#drawLine canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.img1_positionAdjust,
.img2_positionAdjust {
  mix-blend-mode: soft-light;
}

#staticTable {
  border-collapse: collapse;
}
#staticTable th {
  border: 1px solid #ccc;
}
#staticTable td {
  border: 1px solid #ccc;
}

#staticTable2 {
  border-collapse: collapse;
}
#staticTable2 th {
  border: 1px solid #ccc;
}
#staticTable2 td {
  border: 1px solid #ccc;
}
