.hide {
  display: none;
}

#the-canvas {
  border: 1px solid black;
  direction: ltr;
  margin: 0 auto;
  z-index: 9;
}

#pdfs input {
  display: none;
}

#pdfs {
  display: inline-block;
  box-sizing: border-box;
  font-size: 2em;
  cursor: pointer;
}
#pdf-action {
  background-color: rgba(80, 80, 80, 0.7);
  width: 30%;
  position: absolute;
  bottom: 3%;
  margin-left: 10%;
  z-index: 999;
}

body {
  height: 90vh;
}

/* #pdf{
  width: 100%;
overflow: scroll;
height: 90vh; 
} */

#canvas-container {
  cursor: crosshair;
  text-align: center;
}

#canvas-container .a9s-annotationlayer .a9s-annotation .outer,
#canvas-container .a9s-annotationlayer .a9s-selection .outer {
  stroke: rgb(253, 213, 113);
  stroke-width: 3px;
}

#canvas-container .a9s-annotationlayer .a9s-annotation .inner,
#canvas-container .a9s-annotationlayer .a9s-selection .inner {
  stroke: rgb(253, 213, 113);
  stroke-width: 1px;
}

#canvas-container .a9s-annotationlayer .vertex-handle .vertex-handle-inner {
  fill: #fff;
  stroke: #ccc;
}

#canvas-container
  .a9s-annotationlayer
  .vertex-handle:hover
  .vertex-handle-inner {
  fill: #fff;
}

/* #canvas-container  .a9s-annotationlayer .vertex-handle .vertex-handle-inner {
fill:#fff;
} */

#canvas-container .a9s-annotationlayer .vertex-handle .vertex-handle-outer {
  fill: #fff;
  stroke: #fff;
}

#canvas-container > div > svg > g > g > g:nth-child(2) {
  cursor: nw-resize;
}

#canvas-container > div > svg > g > g > g:nth-child(4) {
  cursor: nw-resize;
}

#canvas-container > div > svg > g > g > g:nth-child(3) {
  cursor: ne-resize;
}

#canvas-container > div > svg > g > g > g:nth-child(5) {
  cursor: sw-resize;
}
#canvas-container .r6o-editor .footer .r6o-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.bg {
  position: relative;
  z-index: 1;
  height: 90vh;
  /* cursor: crosshair; */

}

.bg::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("./5.jpg");
  background-repeat: repeat;
  background-position: left;
  background-size: 15px;
  opacity: 0.3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#canvas-container {
  text-align: center;
  overflow: scroll;
  /* height: 100vh; */
  height: 90vh;
  margin: 0;
  width: 100%;
  padding: 10%;
  /* padding-top: 0; */
}

canvas {
  box-shadow: 0px 0px 5px 3px #666;
}

.row {
  margin: 0;
}

.pdfA {
  position: absolute;
  left: 50%;
  margin-right: -50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  -webkit-border-radius: 3px;
  border-radius: 3px;
  bottom: 30px;
  z-index: 3;
  overflow: hidden;
  color: #fff;
}

.first {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  font-size: 13px;
  line-height: 44px;
  height: 44px;
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.75);

}

.secound {
  background: rgba(0, 0, 0, 0.75);
  display: inline-block;
  padding: 2px;
  vertical-align: middle;

}

.page {
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}

.pageNum,
.totalPage {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  width: 48px;
}


#pageTest {
  text-align: center;
  color: #fff;
}

#pageTest canvas {
  margin: 0 auto;
  margin-top: 15px;
}

#selectLabels {
  position: absolute;
  top: 0;
  left: 0;
  width: 98%;
  background: #fffa;
  z-index: 2;
  padding: 7px;

}

#selectLabels span {
  margin: 5px;
  position: relative;
}

#selectLabels p span {
  position: absolute;
  font-size: 11px;
  top: 0px;
  left: 2px;
}

.active {
  /* border: 2px solid #fff;
  box-shadow: 3px 4px 10px #FFF; */
  box-shadow: 0 0 0 0.3rem rgb(0 123 255 / 30%);
}


.badge {
  padding: 0.3em 0.8em;
  font-size: 1rem;
  font-weight: 400;
  margin: 0.2rem;
  display: inline-block;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

.badge-primary {
  color: #fff;
  background-color: #007bff;
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}
.badge-dark {
  color: #fff;
  background-color: #212529;
}
.badge-light {
  color: #000;
  background-color: #f8f9fa;
}