@font-face {
  font-family: 'noto-sans';
  font-style: 200;
  font-weight: normal;
  src: url('../fonts/NotoSansCJKkr-Light.eot');
  src: url('../fonts/NotoSansCJKkr-Light.eot') format('embedded-opentype'),
    url('../fonts/NotoSansCJKkr-Light.woff') format('woff'),
    url('../fonts/NotoSansCJKkr-Light.otf') format('truetype');
}

@font-face {
  font-family: 'noto-sans';
  font-style: 400;
  font-weight: bold;
  src: url('../fonts/NotoSansCJKkr-Regular.eot');
  src: url('../fonts/NotoSansCJKkr-Regular.eot') format('embedded-opentype'),
    url('../fonts/NotoSansCJKkr-Regular.woff') format('woff'),
    url('../fonts/NotoSansCJKkr-Regular.otf') format('truetype');
}

@font-face {
  font-family: 'NanumGothic';
  font-weight: normal;
  src: url('../fonts/NanumGothic.eot');
  src: url('../fonts/NanumGothic.eot') format('embedded-opentype'),
    url('../fonts/NanumGothic.woff') format('woff'),
    url('../fonts/NanumGothic.otf') format('truetype');
}


div.unloadPage:last-of-type{
  /* min-width: 200px;
  min-height:100px;

  */
}

#ttsModalText{
font-size: large;
max-height: 65vh;
}

#ttsSpeed{
  min-width:61px;
}

.ttsMark{
  background-color:rgb(82, 80, 0);
}

.dlencAnnotationIcon{
  min-width: 55px!important;
  max-width: 5vw;
}

.show.dlenc-popover{
  z-index: 94;
  min-width: 25vw;
  max-width: 80vw;
}

.modal-backdrop {
  opacity: 0.87 !important;
}

.text-bold {
  font-weight: bold !important;
}

img.buttonModeFour {
  width: 22px;
}

.pod-none {
  z-index: -1 !important;
}

.documentAnnotation {
  cursor: pointer;
}

.pageWrapper:last-child {
  margin-bottom: var(--lastPageWrapperBottomMargin);
}

button.ptro-input[data-value="true"]::after {
  color: rgb(20, 242, 16);
}

.ptro-holder-wrapper {
  z-index: 96;
}

.slideEffect {
  border-collapse: collapse;
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  animation-name: borderAnimation;
  animation-fill-mode: forwards;
}


@keyframes borderAnimation {
  0% {
    opacity: 0.7;
    border-left: 25px solid rgba(235, 246, 238, 1);
    border-right: 25px solid rgba(235, 246, 238, 1);
    box-sizing: content-box;
  }

  100% {
    opacity: 1;
    border-left: 25px solid rgba(235, 246, 238, 0);
    border-right: 25px solid rgba(235, 246, 238, 0);
    box-sizing: content-box;
  }


}

/* CVT-251 [QA][Common] 문서명 및 썸네일 열기/닫기 버튼 위 마우스 오버 시, 해당 영역에 맞는 마우스 포인터 icon으로 미표시*/
#iconThumbnails {
  cursor: pointer;
}

#iconLogo {
  cursor: pointer;
}

#fileNameWrapper {
  cursor: auto;
}

.errorImg {
  animation: rotate_image 6s ease infinite;
  transform-origin: 50% 50%;
}

@keyframes rotate_image {
  100% {
    transform: rotate(180deg);
  }
}

.tooManyTextLayers_displayNone {
  display: none !important;
}

/*
 @font-face {
  font-family: 'noto-sans';
  font-style: 300;
  src: url('./NotoSansCJKkr-DemiLight.eot');
  src: url('./NotoSansCJKkr-DemiLight.eot') format('embedded-opentype'),
  url('./NotoSansCJKkr-DemiLight.woff') format('woff'),
  url('./NotoSansCJKkr-DemiLight.otf') format('truetype');
 }

@font-face {
  font-family: 'noto-sans';
  font-style: 400;
  src: url('./NotoSansCJKkr-Regular.eot');
  src: url('./NotoSansCJKkr-Regular.eot') format('embedded-opentype'),
    url('./NotoSansCJKkr-Regular.woff') format('woff'),
    url('./NotoSansCJKkr-Regular.otf') format('truetype');
}
*/

/*excel Only*/
.btn-secondary.excel{
  white-space: nowrap !important;
  border-color: #656565 !important;
  background-color: #2b2b2b;
  border: 1.5px solid;
}

.btn-light.excel {
  white-space: nowrap !important;
  border-color: #f8f9fa !important;
  background-color: #f8f9fa;
  border: 1.5px solid;
}

.btn-secondary.excel:hover {
  color: #fff;
  background-color: #7f858a;
  border-color: #707477
}

.vh-fit-excel {
  height: calc(100vh - 94px);
}

.vh-fit-excel-wo {
  height: calc(var(--vh)*100 - 54px - 39px);
}

.viewerInnerCanvas {
  border: 0 !important;
  pointer-events: none !important;
  user-drag: none !important;
  user-select: none !important;
  -moz-user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-user-select: none !important;
  -ms-user-seect: none !important;
}

#optimize.excel,
#rotateViewer.excel {
  display: none
}

canvas.excel {
  border: 0px solid white !important;
}

label.excel {
  font-size: 0.7rem !important;
  margin-bottom: 0.4rem !important;
  margin-top: 0.25rem !important;
  padding: 0.25rem 0.25rem !important;
}


#excelSheetButtomGroup {
  overflow-y: hidden;
  justify-content: flex-start;
  overflow-x: auto;
  height: 39px;
  flex-wrap: nowrap;
  width: 100vw;
}

#excelSheetButtomGroup .searchPageCountBadge img {
  width: 13px !important;
}

#zoom.excel {
  display: flex;
  justify-content: start !important;
}

/*excel ONly end*/


html {
  touch-action: pan-x pan-y pinch-zoom;
}

#mainNavbar.navbar {
  min-height: 54px;
}

/* Annotation Tools CSS */
.ptro-tool-controls,
.ptro-input>option,
.ptro-input {
  font-size: 0.8rem;
}

.ptro-input {
  width: 55px;
}

.ptro-tool-controls>span {
  margin-left: 1rem !important;
}



#fileName,
.navbar,
#thumbnails_scroll_root {
  font-family: 'noto-sans', '맑은고딕', 'MalgunGothic';
  font-weight: 200;

}

#thumbnails_scroll_root {
  background-color: #545b62
}

.searchWord {
  background-color: rgb(240, 240, 0);
  color: rgb(0, 0, 0, 0);
}

.searchPageCountBadge {
  background-color: rgb(240, 240, 0, 0.7);
}

.pageWrapper {
  transform: var(--rotateDegree);
}

.pageWrapperDone {}

::-moz-selection {
  /* Code for Firefox */
  /*color: white;*/
  background: rgb(0, 183, 6) !important;
}

::selection {
  /*color: white;*/
  background: rgb(0, 183, 6) !important;
}

label::selection,
input::selection {
  /*color: white;*/
  background: rgba(119, 50, 23, 0.9) !important;
}



.thumbnailWrapper {
  max-width: 200px;
  min-width: 10px;
  height: min-content;
}

.thumbnailWrapperImageViewer {
  width: 140px;
  min-width: 10px;
  height: min-content;
}

.thumbnailWrapperDone {
  height: var(--longestThumbnailHeight);
}


.thumbnailWrapper>.border-5 {
  border-color: var(--thumbnailHighlightColor) !important;
}

.thumbnailWrapper.active>p {
  font-size: 1em;

}

.list-group-item {
  border: 0px !important;
}

.thumbnails {
  min-width: 50vh !important;
}

.thumbnailSearchNumber {
  color: black !important;
}

.searchPageCountBadge img {
  width: 18px;
}

.annotationBadge img {
  width: 26px;
}

.annotationBadge {
  opacity: 0.7;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]:hover,
input[type="number"]:focus {
  -moz-appearance: number-input;
}

#bottombuttonGroup {
  opacity: 0.65;
  right: 11vw;
  bottom: 10vh;
}

#slideNextButton,
#slidePrevButton {
  opacity: 0.65;
  top: 45vh;
}

.slidePrevButtonThumbnailMarginLeft {
  margin-left: var(--thumnailRowWidth);
}

.form-control-sm {
  max-width: 50px;
}

.form-control {
  width: 97% !important;
}

.noDisplay {
  display: none !important;
}

#pageIndex {
  border: 1px solid #6c757d;
}

#page_num {
  text-align: right;
  max-width: 40px;
  background-color: #6c757d;
  color: #ffffff;

}


#fileName {
  max-width: 23vw;
  word-break: break-all;
  overflow: hidden;
  overflow-wrap: break-word;
  white-space: pre-line !important;
}



#centerPageNav {
  margin-top: 0.6rem;
}

.navbar-dark {
  background-color: rgb(52, 56, 62);
}

.navbar-white {
  background-color: var(--bs-gray-100);
}

.navbar-white-input {
  background-color: var(--bs-gray-200) !important;
  color: #2b2b2b !important;
}


:root {
  --avrPageHight: 800px;
  --avrPagewidth: 100px;
  --avrThumbnailHight: 115px;
  --rotateDegree: none;
  --viewerTop: 0;
  --viewerBottomMargin: 0;
  --longestThumbnailHeight: 'min-content';
  --longestPageWrapperHeight: ;
  --longestPageWrapperWidth: ;
  --thumnailRowWidth: ;
  --thumbnailHighlightColor: #56a2ff;
  --lastPageWrapperBottomMargin: ;
}

canvas {
  border: 1px solid rgb(2, 0, 36);
}

.textLayer {
  opacity: 0.35 !important;
}

.ptro-icon-btn.ptro-pipette.ptro-color-control {
  display: none;
}

.unloadPage {
  min-height: var(--avrPageHight);
  min-width: var(--avrPagewidth);
  background-image: url("../img/loading.gif");
  background-repeat: no-repeat;
  background-position: center;
}

.unloadPageAfterGotWidthHeight {
  min-height: min-content !important;
  min-width: min-content !important;
}

.thumbnailSpinning {
  background-image: url("../img/loading.gif");
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  border: 1px solid black;
  max-width: 100%;
  max-height: 30vh;
}

.thumbnailSpinningimageViewer{
  min-width: 120px;
  min-height: 40px;
  height: auto;
  max-width: 100%;
  max-height: 30vh!important;
}


.unloadthumbnails {
  height: var(--longestThumbnailHeight);
  min-height: 100px;
}

.loadedThumbnailCanvas {
  display: block;
  max-width: 100%;
  max-height: 30vh;
  height: auto;
}

#offcanvasButtons>button>img {
  width: 32px;
}

.deepSearch {}

.vh-fit {
  height: calc(var(--vh)*100 - 54px);

}

.list-group-item-dark.list-group-item-action:focus,
.list-group-item-dark.list-group-item-action:hover {
  background-color: #34383e !important;
}

#bottombuttonGroup>button>img {
  width: 48px;
}

.ptro-bar {
  background-color: #4e4e50 !important;
  color: #ffffff !important;
  z-index: 102;
}

.ptro-btn-color-checkers-bar,
.ptro-info {
  display: none;
}


#fakesubmit {
  min-width: 20vw
}

.pageWrapper {
  break-inside: avoid;
  break-after: always;
}

@keyframes fadeIn {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.25;
  }
}

.pdfMemoAnimation {
  opacity: 1 !important;
}

.pdfMemoAnnotation {
  opacity: 0.3;
}

@media screen {

  #offcanvasEnd {
    max-height: 52px;
  }

  #viewer_scroll_root {
    float: none;
    margin: 0 auto;
  }

  #zoom {
    display: flex;
    justify-content: center;
  }

  .pageDiv {
    margin-bottom: var(--viewerBottomMargin);
  }

  /* 마지막 페이지 바텀 마진 없에기 */
  .pageWrapper:nth-last-child(1)>.pageDiv:nth-last-child(1){
    margin-bottom: 0px!important;
    }

  .rotationHeight {
    min-height: var(--longestPageWrapperWidth);
  }

  #mainPages {
    top: var(--viewerTop);
  }


}

/* 프린트 끝 */

/* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.textLayer {
  position: absolute;
  text-align: initial;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.2;
  line-height: 1;
  z-index: 101;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  forced-color-adjust: none;
}

.textLayer span,
.textLayer br {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  transform-origin: 0% 0%;
}

/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
 * the problem doesn't show up in "text" reference tests. */
.textLayer span.markedContent {
  top: 0;
  height: 0;
}

.textLayer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: rgba(180, 0, 170, 1);
  border-radius: 4px;
}

.textLayer .highlight.appended {
  position: initial;
}

.textLayer .highlight.begin {
  border-radius: 4px 0 0 4px;
}

.textLayer .highlight.end {
  border-radius: 0 4px 4px 0;
}

.textLayer .highlight.middle {
  border-radius: 0;
}

.textLayer .endOfContent {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  right: 0;
  bottom: 0;
  z-index: -1;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.textLayer .endOfContent.active {
  top: 0;
}


:root {
  --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
}

@media (forced-colors: active) {

  .annotationLayer .textWidgetAnnotation input:required,
  .annotationLayer .textWidgetAnnotation textarea:required,
  .annotationLayer .choiceWidgetAnnotation select:required,
  .annotationLayer .buttonWidgetAnnotation.checkBox input:required,
  .annotationLayer .buttonWidgetAnnotation.radioButton input:required {
    outline: 1.5px solid selectedItem;
  }
}

.annotationLayer section {
  position: absolute;
  text-align: initial;
}

.annotationLayer .linkAnnotation>a,
.annotationLayer .buttonWidgetAnnotation.pushButton>a {
  position: absolute;
  font-size: 1em;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.annotationLayer .buttonWidgetAnnotation.pushButton>canvas {
  position: relative;
  top: 0;
  left: 0;
  z-index: -1;
}

.annotationLayer .linkAnnotation>a:hover,
.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover {
  opacity: 0.2;
  background: rgba(255, 255, 0, 1);
  box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
}

.annotationLayer .textAnnotation img {
  position: absolute;
  cursor: pointer;
}

.annotationLayer .textWidgetAnnotation input,
.annotationLayer .textWidgetAnnotation textarea,
.annotationLayer .choiceWidgetAnnotation select,
.annotationLayer .buttonWidgetAnnotation.checkBox input,
.annotationLayer .buttonWidgetAnnotation.radioButton input {
  background-image: var(--annotation-unfocused-field-background);
  border: 1px solid transparent;
  box-sizing: border-box;
  font: 9px sans-serif;
  height: 100%;
  margin: 0;
  vertical-align: top;
  width: 100%;
}

.annotationLayer .textWidgetAnnotation input:required,
.annotationLayer .textWidgetAnnotation textarea:required,
.annotationLayer .choiceWidgetAnnotation select:required,
.annotationLayer .buttonWidgetAnnotation.checkBox input:required,
.annotationLayer .buttonWidgetAnnotation.radioButton input:required {
  outline: 1.5px solid red;
}

.annotationLayer .choiceWidgetAnnotation select option {
  padding: 0;
}

.annotationLayer .buttonWidgetAnnotation.radioButton input {
  border-radius: 50%;
}

.annotationLayer .textWidgetAnnotation textarea {
  resize: none;
}

.annotationLayer .textWidgetAnnotation input[disabled],
.annotationLayer .textWidgetAnnotation textarea[disabled],
.annotationLayer .choiceWidgetAnnotation select[disabled],
.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
  background: none;
  border: 1px solid transparent;
  cursor: not-allowed;
}

.annotationLayer .textWidgetAnnotation input:hover,
.annotationLayer .textWidgetAnnotation textarea:hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
  border: 1px solid rgba(0, 0, 0, 1);
}

.annotationLayer .textWidgetAnnotation input:focus,
.annotationLayer .textWidgetAnnotation textarea:focus,
.annotationLayer .choiceWidgetAnnotation select:focus {
  background: none;
  border: 1px solid transparent;
}

.annotationLayer .textWidgetAnnotation input :focus,
.annotationLayer .textWidgetAnnotation textarea :focus,
.annotationLayer .choiceWidgetAnnotation select :focus,
.annotationLayer .buttonWidgetAnnotation.checkBox :focus,
.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
  background-image: none;
  background-color: transparent;
  outline: auto;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
  background-color: CanvasText;
  content: "";
  display: block;
  position: absolute;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
  height: 80%;
  left: 45%;
  width: 1px;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
  transform: rotate(45deg);
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
  transform: rotate(-45deg);
}

.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
  border-radius: 50%;
  height: 50%;
  left: 30%;
  top: 20%;
  width: 50%;
}

.annotationLayer .textWidgetAnnotation input.comb {
  font-family: monospace;
  padding-left: 2px;
  padding-right: 0;
}

.annotationLayer .textWidgetAnnotation input.comb:focus {
  /*
   * Letter spacing is placed on the right side of each character. Hence, the
   * letter spacing of the last character may be placed outside the visible
   * area, causing horizontal scrolling. We avoid this by extending the width
   * when the element has focus and revert this when it loses focus.
   */
  width: 103%;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input,
.annotationLayer .buttonWidgetAnnotation.radioButton input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.annotationLayer .popupWrapper {
  position: absolute;
  width: 20em;
}

.annotationLayer .popup {
  position: absolute;
  z-index: 200;
  max-width: 20em;
  background-color: rgba(255, 255, 153, 1);
  box-shadow: 0 2px 5px rgba(136, 136, 136, 1);
  border-radius: 2px;
  padding: 6px;
  margin-left: 5px;
  cursor: pointer;
  font: message-box;
  font-size: 9px;
  white-space: normal;
  word-wrap: break-word;
}

.annotationLayer .popup>* {
  font-size: 9px;
}

.annotationLayer .popup h1 {
  display: inline-block;
}

.annotationLayer .popupDate {
  display: inline-block;
  margin-left: 5px;
}

.annotationLayer .popupContent {
  border-top: 1px solid rgba(51, 51, 51, 1);
  margin-top: 2px;
  padding-top: 2px;
}

.annotationLayer .richText>* {
  white-space: pre-wrap;
}

.annotationLayer .highlightAnnotation,
.annotationLayer .underlineAnnotation,
.annotationLayer .squigglyAnnotation,
.annotationLayer .strikeoutAnnotation,
.annotationLayer .freeTextAnnotation,
.annotationLayer .lineAnnotation svg line,
.annotationLayer .squareAnnotation svg rect,
.annotationLayer .circleAnnotation svg ellipse,
.annotationLayer .polylineAnnotation svg polyline,
.annotationLayer .polygonAnnotation svg polygon,
.annotationLayer .caretAnnotation,
.annotationLayer .inkAnnotation svg polyline,
.annotationLayer .stampAnnotation,
.annotationLayer .fileAttachmentAnnotation {
  cursor: pointer;
}


:root {
  --xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
}




/*
*
*/