#app {
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 1rem;
  touch-action: manipulation;
  width: 80%;
  margin-inline: auto;
  @media only screen and (max-width: 767px) {
    width: 100%;
  }
}

#toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #555;
  color: #fff;
  padding: 0.5em;
  height: 4rem;
  background: rgba(51, 51, 51, 0.3);
  @media only screen and (max-width: 767px) {
    height: 3rem;
  }
}

#pager button,
#external a {
  color: currentColor;
  background-color: transparent;
  font: inherit;
  border: none;
  padding: 0;
  margin-right: 15px;
}

#pager,
#external {
  display: flex;
  align-items: center;
  padding-left: 15px;
  font-size: 2rem;
}

#pager button,
#pager i,
#external i {
  cursor: pointer;
}

.disabled-arror {
  opacity: 0.5;
  cursor: default !important;
}

@media only screen and (max-width: 767px) {
  #pager button {
    margin-right: 7px;
  }

  #pager,
  #external {
    font-size: 1.5rem;
  }
}

#page-info {
  width: 100%;
  text-align: center;
}

#viewport-container {
  flex: 1;
  background: #eee;
  overflow: auto;
  position: relative;
  aspect-ratio: 1440 / 810;
}

#viewport>div {
  text-align: center;
  max-width: 100%;
}

#viewport canvas {
  width: 100%;
}

#prevMask {
  border: none;
  background-color: transparent;
  position: absolute;
  height: 100%;
  width: 50%;
  padding: 0;
  cursor: url(https://good-for-job.com/img/user/common/left-pointer.png), pointer;
}

#nextMask {
  border: none;
  background-color: transparent;
  position: absolute;
  height: 100%;
  width: 50%;
  padding: 0;
  cursor: url(https://good-for-job.com/img/user/common/right-pointer.png), pointer;
  margin-left: 50%;
}

#page-info{
  font-size: 1.8rem;
  @media only screen and (max-width: 767px) {
    font-size: 1.4rem;
  }
}