#contents {
  height: 100%;
}

#hwrCanvas {
  background-color: #ffffff;
}

.color-result-value {
  color: #aaaaaa;
}

.candidate-item, .order-result-item {
  position: absolute;
  width: 100%;
  top: 69px; /* navbar height */
  background-color: #eeeeee;
  text-align: center;
  height: 100px;
  line-height: 100px;
  font-size: 150%;
  border-bottom: 1px solid #dee2e6
}

.main-contents {
  margin-top: 184px;
}

.canvas-wrapper {
  background-color: white;
  overflow-x: hidden;
}

.canvas-top-divider {
  border-top: 1px solid #cccccc;
  background-color: white;
}

.tab-link, .tab-link-fixed {
  position: absolute;
  top: 127px; /* candidate-item height(100) + margin(20) */
  left: 20px;
  bottom: auto;
}

.recognition-type, .answer-input {
  position: absolute;
  top: 20px; /* navbar height(69) + candidate-item height(100) + margin(20) */
  left: 20px;
}

.math-recognition-type {
  position: absolute;
  top: 17px; /* navbar height(69) + candidate-item height(100) + margin(17) */
  left: 20px;
}

.help-tool {
  position: absolute;
  top: 22px;  /* navbar height(69) + candidate-item height(100) + margin(22) */
  left: 291px;
}

.help-tool-order {
  position: absolute;
  top: 22px;  /* navbar height(69) + candidate-item height(100) + margin(22) */
  left: 240px;
}

.help-tool-math {
  position: absolute;
  top: 22px;  /* same as help-tool */
  left: 350px;
}

.func-tool {
  position: absolute;
  top: 22px; /* same as help-tool */
  right: 20px;
}

.setting-item-title {
  font-size: 1.0rem;
}
.setting-item-range {
  color: #aaaaaa;
  font-size: 0.9rem;
  width: 168px;
}

@media (max-width: 480px) {
  #language {
    width: 146px;
  }

  .help-tool {
    left: 180px;
  }

  .tab-link {
    top: auto;
    bottom: -1px;
  }

  .order-result-item {
    font-size: 100%;
    line-height: 50px;
  }

  .tab-menu-text-active {
    display: none;
  }
}

.canvas-delete {
  color: #dc3545;
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 2.0rem;
}

.canvas-delete:hover {
  color: #a71d2a;
}

.canvas-delete-alt {
  color: #007BFF;
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 10px;
  cursor: pointer;
  font-size: 2.0rem;
}

.canvas-delete-alt:hover {
  color: #0056B3;
}

#orderCheckerhelp {
  color: white;
}

#orderCheckerhelp:hover {
  color: #dddddd;
}

.spinner-container {
  position: absolute;
  top: 6px;
  left: 12px;
}

.spinner-right-container {
  position: absolute;
  top: 10px;
  right: 48px;
}
.card-answer {
  background-color: #eeeeee;
}

.card-mathjax {
  height: 48px;
  vertical-align: middle;
}

.table-gray {
  opacity: 0.6;
}

.badge-title {
  font-size: 0.9rem;
}

.eval-table-item {
  opacity: 0.7;
  font-size: 0.9rem;
}

.tab-menu-text-active {
  color: #666666;
  font-size: 0.85rem;
  font-weight: bold;
  margin-left: 10px;
}
