@font-face {
  font-family: 'fsg';
  src: url('fsg.c5ef3f3bde75056761a9.ttf?lhqft5') format('truetype'),
    url('fsg.d6df6864cf74ba29aee2.woff?lhqft5') format('woff'),
    url('fsg.689d5fa7d53795201c4c.svg?lhqft5#fsg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.fsg-icon {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'fsg' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sgds-icon-add-photo:before {
  content: "\e900";
}
.sgds-icon-attachment:before {
  content: "\e901";
}
.sgds-icon-browser:before {
  content: "\e902";
}
.sgds-icon-calculator:before {
  content: "\e903";
}
.sgds-icon-camera:before {
  content: "\e904";
}
.sgds-icon-clock:before {
  content: "\e905";
}
.sgds-icon-cloud:before {
  content: "\e906";
}
.sgds-icon-cloud-download:before {
  content: "\e907";
}
.sgds-icon-cloud-success:before {
  content: "\e908";
}
.sgds-icon-cloud-upload:before {
  content: "\e909";
}
.sgds-icon-contact:before {
  content: "\e90a";
}
.sgds-icon-folder-add:before {
  content: "\e90b";
}
.sgds-icon-folder:before {
  content: "\e90c";
}
.sgds-icon-delay:before {
  content: "\e90d";
}
.sgds-icon-download:before {
  content: "\e90e";
}
.sgds-icon-upload:before {
  content: "\e90f";
}
.sgds-icon-file:before {
  content: "\e910";
}
.sgds-icon-file-add:before {
  content: "\e911";
}
.sgds-icon-file-alt:before {
  content: "\e912";
}
.sgds-icon-file-copy:before {
  content: "\e913";
}
.sgds-icon-file-pdf:before {
  content: "\e914";
}
.sgds-icon-hdd:before {
  content: "\e915";
}
.sgds-icon-link:before {
  content: "\e916";
}
.sgds-icon-lock:before {
  content: "\e917";
}
.sgds-icon-unlock:before {
  content: "\e918";
}
.sgds-icon-radar:before {
  content: "\e919";
}
.sgds-icon-save:before {
  content: "\e91a";
}
.sgds-icon-share:before {
  content: "\e91b";
}
.sgds-icon-signal:before {
  content: "\e91c";
}
.sgds-icon-phone:before {
  content: "\e91d";
}
.sgds-icon-database:before {
  content: "\e91e";
}
.sgds-icon-volume:before {
  content: "\e91f";
}
.sgds-icon-mute:before {
  content: "\e920";
}
.sgds-icon-print:before {
  content: "\e921";
}
.sgds-icon-mail:before {
  content: "\e922";
}
.sgds-icon-meter:before {
  content: "\e923";
}
.sgds-icon-arrow-down:before {
  content: "\e924";
}
.sgds-icon-arrow-left:before {
  content: "\e925";
}
.sgds-icon-arrow-right:before {
  content: "\e926";
}
.sgds-icon-arrow-up:before {
  content: "\e927";
}
.sgds-icon-arrow-top-left:before {
  content: "\e928";
}
.sgds-icon-arrow-top-right:before {
  content: "\e929";
}
.sgds-icon-chevron-down:before {
  content: "\e92a";
}
.sgds-icon-chevron-left:before {
  content: "\e92b";
}
.sgds-icon-chevron-right:before {
  content: "\e92c";
}
.sgds-icon-chevron-up:before {
  content: "\e92d";
}
.sgds-icon-cog:before {
  content: "\e92e";
}
.sgds-icon-cross:before {
  content: "\e92f";
}
.sgds-icon-ellipsis:before {
  content: "\e930";
}
.sgds-icon-home:before {
  content: "\e931";
}
.sgds-icon-image:before {
  content: "\e932";
}
.sgds-icon-menu:before {
  content: "\e933";
}
.sgds-icon-minus:before {
  content: "\e934";
}
.sgds-icon-notification:before {
  content: "\e935";
}
.sgds-icon-plus:before {
  content: "\e936";
}
.sgds-icon-check:before {
  content: "\e937";
}
.sgds-icon-circle-pending:before {
  content: "\e938";
}
.sgds-icon-add-place:before {
  content: "\e93a";
}
.sgds-icon-place:before {
  content: "\e93b";
}
.sgds-icon-my-location:before {
  content: "\e93c";
}
.sgds-icon-map:before {
  content: "\e93d";
}
.sgds-icon-layer:before {
  content: "\e93e";
}
.sgds-icon-boat:before {
  content: "\e93f";
}
.sgds-icon-bus:before {
  content: "\e940";
}
.sgds-icon-car:before {
  content: "\e941";
}
.sgds-icon-taxi:before {
  content: "\e942";
}
.sgds-icon-train:before {
  content: "\e943";
}
.sgds-icon-traffic:before {
  content: "\e944";
}
.sgds-icon-rsvp-yes:before {
  content: "\e945";
}
.sgds-icon-add-comment:before {
  content: "\e946";
}
.sgds-icon-ban:before {
  content: "\e947";
}
.sgds-icon-bookmark:before {
  content: "\e948";
}
.sgds-icon-bookmark-alt:before {
  content: "\e949";
}
.sgds-icon-calendar:before {
  content: "\e94a";
}
.sgds-icon-chat:before {
  content: "\e94b";
}
.sgds-icon-circle-info:before {
  content: "\e94c";
}
.sgds-icon-circle-question:before {
  content: "\e94d";
}
.sgds-icon-circle-warning:before {
  content: "\e94e";
}
.sgds-icon-circle-minus:before {
  content: "\e94f";
}
.sgds-icon-circle-plus:before {
  content: "\e950";
}
.sgds-icon-compress:before {
  content: "\e951";
}
.sgds-icon-compress-alt:before {
  content: "\e952";
}
.sgds-icon-expand-alt:before {
  content: "\e953";
}
.sgds-icon-edit:before {
  content: "\e954";
}
.sgds-icon-expand:before {
  content: "\e955";
}
.sgds-icon-delete:before {
  content: "\e956";
}
.sgds-icon-external:before {
  content: "\e957";
}
.sgds-icon-feedback:before {
  content: "\e958";
}
.sgds-icon-filter:before {
  content: "\e959";
}
.sgds-icon-info:before {
  content: "\e95a";
}
.sgds-icon-list:before {
  content: "\e95b";
}
.sgds-icon-pause:before {
  content: "\e95c";
}
.sgds-icon-pause-alt:before {
  content: "\e95d";
}
.sgds-icon-pencil:before {
  content: "\e95e";
}
.sgds-icon-pin:before {
  content: "\e95f";
}
.sgds-icon-play:before {
  content: "\e960";
}
.sgds-icon-play-alt:before {
  content: "\e961";
}
.sgds-icon-privacy-alt:before {
  content: "\e962";
}
.sgds-icon-privacy:before {
  content: "\e963";
}
.sgds-icon-question:before {
  content: "\e964";
}
.sgds-icon-refresh:before {
  content: "\e965";
}
.sgds-icon-rsvp-no:before {
  content: "\e966";
}
.sgds-icon-search:before {
  content: "\e967";
}
.sgds-icon-slider-horizontal:before {
  content: "\e968";
}
.sgds-icon-slider-vertical:before {
  content: "\e969";
}
.sgds-icon-star:before {
  content: "\e96a";
}
.sgds-icon-star-alt:before {
  content: "\e96b";
}
.sgds-icon-stop:before {
  content: "\e96c";
}
.sgds-icon-sync:before {
  content: "\e96d";
}
.sgds-icon-toggle-minus:before {
  content: "\e96e";
}
.sgds-icon-toggle-off:before {
  content: "\e96f";
}
.sgds-icon-toggle-on:before {
  content: "\e970";
}
.sgds-icon-toggle-plus:before {
  content: "\e971";
}
.sgds-icon-triangle-warning:before {
  content: "\e972";
}
.sgds-icon-warning:before {
  content: "\e973";
}
.sgds-icon-zoom-in:before {
  content: "\e974";
}
.sgds-icon-zoom-out:before {
  content: "\e975";
}
.sgds-icon-image-add:before {
  content: "\e976";
}
.sgds-icon-text-center:before {
  content: "\e99b";
}
.sgds-icon-text-justify:before {
  content: "\e99c";
}
.sgds-icon-text-left:before {
  content: "\e99d";
}
.sgds-icon-text-right:before {
  content: "\e99e";
}
.sgds-icon-docker:before {
  content: "\e977";
}
.sgds-icon-facebook:before {
  content: "\e978";
}
.sgds-icon-facebook-alt:before {
  content: "\e979";
}
.sgds-icon-google:before {
  content: "\e97a";
}
.sgds-icon-instagram:before {
  content: "\e97b";
}
.sgds-icon-linkedin:before {
  content: "\e97c";
}
.sgds-icon-linkedin-alt:before {
  content: "\e97d";
}
.sgds-icon-twitter:before {
  content: "\e97e";
}
.sgds-icon-person:before {
  content: "\e97f";
}
.sgds-icon-person-add:before {
  content: "\e980";
}
.sgds-icon-person-cancel:before {
  content: "\e981";
}
.sgds-icon-person-minus:before {
  content: "\e982";
}
.sgds-icon-thumbs-down:before {
  content: "\e983";
}
.sgds-icon-thumb-up:before {
  content: "\e984";
}
.sgds-icon-youtube:before {
  content: "\e985";
}
.sgds-icon-rss:before {
  content: "\e986";
}
.sgds-icon-accordion:before {
  content: "\e987";
}
.sgds-icon-breadcrumb:before {
  content: "\e988";
}
.sgds-icon-button:before {
  content: "\e989";
}
.sgds-icon-callout:before {
  content: "\e98a";
}
.sgds-icon-card:before {
  content: "\e98b";
}
.sgds-icon-container:before {
  content: "\e98c";
}
.sgds-icon-dropdown:before {
  content: "\e98d";
}
.sgds-icon-footer:before {
  content: "\e98e";
}
.sgds-icon-grid:before {
  content: "\e98f";
}
.sgds-icon-grid-alt:before {
  content: "\e990";
}
.sgds-icon-grid-hero:before {
  content: "\e991";
}
.sgds-icon-mainnav:before {
  content: "\e992";
}
.sgds-icon-masthead:before {
  content: "\e993";
}
.sgds-icon-section:before {
  content: "\e994";
}
.sgds-icon-sidenav:before {
  content: "\e995";
}
.sgds-icon-tab:before {
  content: "\e996";
}
.sgds-icon-table:before {
  content: "\e997";
}
.sgds-icon-typography:before {
  content: "\e998";
}
.sgds-icon-icon:before {
  content: "\e999";
}
.sgds-icon-guides:before {
  content: "\e9c2";
}
.sgds-icon-sentimeter:before {
  content: "\e9c3";
}
.sgds-icon-wordpress:before {
  content: "\e9c7";
}
.sgds-icon-sharepoint:before {
  content: "\e9c4";
}
.sgds-icon-sitefinity:before {
  content: "\e9c5";
}
.sgds-icon-swiit:before {
  content: "\e9c6";
}
.sgds-icon-sg-crest:before {
  content: "\e939";
  color: #db0000;
}
.fsg-icon-cert:before {
  content: "\e9c8";
}
.fsg-icon-loading:before {
  content: "\e99a";
}
.fsg-icon-circle-cross:before {
  content: "\e99f";
}
.fsg-icon-circle-check:before {
  content: "\e9a0";
}
.fsg-icon-circle-cross-solid:before {
  content: "\e9a1";
}
.fsg-icon-circle-check-solid:before {
  content: "\e9a2";
}
.fsg-icon-triangle-warning-solid:before {
  content: "\e9a3";
}
.fsg-icon-circle-info-solid:before {
  content: "\e9a4";
}
.fsg-icon-circle-warning-soild:before {
  content: "\e9a5";
}
.fsg-icon-upward-caret:before {
  content: "\e9a6";
}
.fsg-icon-downward-caret:before {
  content: "\e9a7";
}
.fsg-icon-loading-solid:before {
  content: "\e9a8";
}
.fsg-icon-coding:before {
  content: "\e9a9";
}
.fsg-icon-home-solid:before {
  content: "\e9aa";
}
.fsg-icon-home-ica:before {
  content: "\e9ab";
}
.fsg-icon-person-solid:before {
  content: "\e9ac";
}
.fsg-icon-sort:before {
  content: "\e9ad";
}
.fsg-icon-user-group:before {
  content: "\e9ae";
}
.fsg-icon-verified:before {
  content: "\e9af";
}
.fsg-icon-verified-solid:before {
  content: "\e9b0";
}
.fsg-icon-settings-solid:before {
  content: "\e9b1";
}
.fsg-icon-user-group-solid:before {
  content: "\e9b2";
}
.fsg-icon-share-arrow:before {
  content: "\e9b3";
}
.fsg-icon-countdown-solid:before {
  content: "\e9b4";
}
.fsg-icon-gridview:before {
  content: "\e9b5";
}
.fsg-icon-arrow-downright:before {
  content: "\e9b6";
}
.fsg-icon-scan-qr:before {
  content: "\e9b7";
}
.fsg-icon-notification-solid:before {
  content: "\e9b8";
}
.fsg-icon-personal-particulars:before {
  content: "\e9b9";
}
.fsg-icon-device-platform:before {
  content: "\e9ba";
}
.fsg-icon-maximise:before {
  content: "\e9bb";
}
.fsg-icon-student-pass:before {
  content: "\e9bc";
}
.fsg-icon-ltvp-pass:before {
  content: "\e9bd";
}
.fsg-icon-dependent-pass:before {
  content: "\e9be";
}
.fsg-icon-logout:before {
  content: "\e9bf";
}
.fsg-icon-business:before {
  content: "\e9c0";
}
.fsg-icon-certificate:before {
  content: "\e9c1";
}
.fsg-icon-file-recall:before {
  content: "\e9c9";
}
.fsg-icon-bullet-list:before {
  content: "\e9ca";
}
.fsg-icon-ordered-list:before {
  content: "\e9cb";
}
.fsg-icon-bold:before {
  content: "\e9cc";
}
.fsg-icon-italic:before {
  content: "\e9cd";
}

/*---------------------------------------------------------------------
File type
These SVGs have multiple colours, not feasible to alter.
---------------------------------------------------------------------*/
.fsg-icon-folder-outline {
  content: url('fsg-icon-folder-outline.96bfe61dcc7e980c2cb6.svg');
}

.fsg-icon-folder-solid {
  content: url('fsg-icon-folder-solid.96bfe61dcc7e980c2cb6.svg');
}

.fsg-icon-file-excel-mini {
  content: url('fsg-icon-file-excel-mini.74d6e68b51039b51f63f.svg');
}

.fsg-icon-file-excel-outline {
  content: url('fsg-icon-file-excel-outline.0c5c37f8e90e789d487b.svg');
}

.fsg-icon-file-excel-solid {
  content: url('fsg-icon-file-excel-solid.bc06f09688db189fdf74.svg');
}

.fsg-icon-file-jpg-mini {
  content: url('fsg-icon-file-jpg-mini.2ba26164b368aae9b777.svg');
}

.fsg-icon-file-jpg-outline {
  content: url('fsg-icon-file-jpg-outline.1a6211f2846d8ccc6524.svg');
}

.fsg-icon-file-jpg-solid {
  content: url('fsg-icon-file-jpg-solid.0dc40c04d0f548669bd0.svg');
}

.fsg-icon-file-opencert-mini {
  content: url('fsg-icon-file-opencert-mini.91d93d7312a7ccc5d777.svg');
}

.fsg-icon-file-opencert-outline {
  content: url('fsg-icon-file-opencert-outline.cb084f3a568badb35d5e.svg');
}

.fsg-icon-file-opencert-solid {
  content: url('fsg-icon-file-opencert-solid.6318521de0e3bf88e092.svg');
}

.fsg-icon-file-pdf-mini {
  content: url('fsg-icon-file-pdf-mini.e0ff51cfb61c33632660.svg');
}

.fsg-icon-file-pdf-outline {
  content: url('fsg-icon-file-pdf-outline.1b776264f6995a851b24.svg');
}

.fsg-icon-file-pdf-solid {
  content: url('fsg-icon-file-pdf-solid.7ebfdcd5a814c62f55a2.svg');
}

.fsg-icon-file-word-mini {
  content: url('fsg-icon-file-word-mini.2c8236dcbb58758ec0a2.svg');
}

.fsg-icon-file-word-outline {
  content: url('fsg-icon-file-word-outline.fc7de120da03d993a1ce.svg');
}

.fsg-icon-file-word-solid {
  content: url('fsg-icon-file-word-solid.55098d8514c3ad134374.svg');
}

.fsg-icon-file-unknown-outline {
  content: url('fsg-icon-file-unknown-outline.996e40cf0b2bced839ee.svg');
}

.fsg-icon-file-unknown-solid {
  content: url('fsg-icon-file-unknown-solid.1a06aada36949e733740.svg');
}

.fsg-icon-file-openattest-mini {
  content: url('fsg-icon-file-openattest-mini.677c7f445c9c70ac43e4.svg');
}

.fsg-icon-file-openattest-outline {
  content: url('fsg-icon-file-openattest-outline.b47b612942e03ab04224.svg');
}

.fsg-icon-file-openattest-solid {
  content: url('fsg-icon-file-openattest-solid.4fa2944170b6a6e7e51a.svg');
}

.fsg-icon-file-png-mini {
  content: url('fsg-icon-file-png-mini.012363a683660e6ef763.svg');
}

.fsg-icon-file-png-outline {
  content: url('fsg-icon-file-png-outline.81bfeed4a49ef1e800fd.svg');
}

.fsg-icon-file-png-solid {
  content: url('fsg-icon-file-png-solid.497d608720fe9d2dca73.svg');
}

.fsg-icon-file-zip-solid {
  content: url('fsg-icon-file-zip-solid.8cf223175fe85e0f4a86.svg');
}

.fsg-icon-file-zip-outline {
  content: url('fsg-icon-file-zip-outline.a53a83a64366a84746af.svg');
}

.fsg-icon-file-zip-mini {
  content: url('fsg-icon-file-zip-mini.87c9287d4e33718f8c34.svg');
}

.fsg-icon-file-xlsx-solid {
  content: url('fsg-icon-file-xlsx-solid.bc06f09688db189fdf74.svg');
}

.fsg-icon-file-xlsx-outline {
  content: url('fsg-icon-file-xlsx-outline.70d2c10f5236fbaad9f1.svg');
}

.fsg-icon-file-xlsx-mini {
  content: url('fsg-icon-file-xlsx-mini.8cac100709c5fe36d011.svg');
}



/* 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.
 */

:root {
  --react-pdf-annotation-layer: 1;
  --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>");
  --input-focus-border-color: Highlight;
  --input-focus-outline: 1px solid Canvas;
  --input-unfocused-border-color: transparent;
  --input-disabled-border-color: transparent;
  --input-hover-border-color: black;
  --link-outline: none;
}

@media screen and (forced-colors: active) {
  :root {
    --input-focus-border-color: CanvasText;
    --input-unfocused-border-color: ActiveText;
    --input-disabled-border-color: GrayText;
    --input-hover-border-color: Highlight;
    --link-outline: 1.5px solid LinkText;
  }
  .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
  .annotationLayer .choiceWidgetAnnotation select:required,
  .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
    outline: 1.5px solid selectedItem;
  }

  .annotationLayer .linkAnnotation:hover {
    backdrop-filter: invert(100%);
  }
}

.annotationLayer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform-origin: 0 0;
  z-index: 3;
}

.annotationLayer[data-main-rotation='90'] .norotate {
  transform: rotate(270deg) translateX(-100%);
}
.annotationLayer[data-main-rotation='180'] .norotate {
  transform: rotate(180deg) translate(-100%, -100%);
}
.annotationLayer[data-main-rotation='270'] .norotate {
  transform: rotate(90deg) translateY(-100%);
}

.annotationLayer canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}

.annotationLayer section {
  position: absolute;
  text-align: initial;
  pointer-events: auto;
  box-sizing: border-box;
  margin: 0;
  transform-origin: 0 0;
}

.annotationLayer .linkAnnotation {
  outline: var(--link-outline);
}

.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
  position: absolute;
  font-size: 1em;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.annotationLayer :is(.linkAnnotation, .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;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea),
.annotationLayer .choiceWidgetAnnotation select,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
  background-image: var(--annotation-unfocused-field-background);
  border: 2px solid var(--input-unfocused-border-color);
  box-sizing: border-box;
  font: calc(9px * var(--scale-factor)) sans-serif;
  height: 100%;
  margin: 0;
  vertical-align: top;
  width: 100%;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):required,
.annotationLayer .choiceWidgetAnnotation select:required,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .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 :is(input, textarea)[disabled],
.annotationLayer .choiceWidgetAnnotation select[disabled],
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {
  background: none;
  border: 2px solid var(--input-disabled-border-color);
  cursor: not-allowed;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {
  border: 2px solid var(--input-hover-border-color);
}
.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
  border-radius: 2px;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):focus,
.annotationLayer .choiceWidgetAnnotation select:focus {
  background: none;
  border: 2px solid var(--input-focus-border-color);
  border-radius: 2px;
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {
  background-image: none;
  background-color: transparent;
}

.annotationLayer .buttonWidgetAnnotation.checkBox :focus {
  border: 2px solid var(--input-focus-border-color);
  border-radius: 2px;
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
  border: 2px solid var(--input-focus-border-color);
  outline: var(--input-focus-outline);
}

.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:is(.checkBox, .radioButton) input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.annotationLayer .popupTriggerArea {
  height: 100%;
  width: 100%;
}

.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
  position: absolute;
}

.annotationLayer .popupWrapper {
  position: absolute;
  font-size: calc(9px * var(--scale-factor));
  width: 100%;
  min-width: calc(180px * var(--scale-factor));
  pointer-events: none;
}

.annotationLayer .popup {
  position: absolute;
  max-width: calc(180px * var(--scale-factor));
  background-color: rgba(255, 255, 153, 1);
  box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
    rgba(136, 136, 136, 1);
  border-radius: calc(2px * var(--scale-factor));
  padding: calc(6px * var(--scale-factor));
  margin-left: calc(5px * var(--scale-factor));
  cursor: pointer;
  font: message-box;
  white-space: normal;
  word-wrap: break-word;
  pointer-events: auto;
}

.annotationLayer .popup > * {
  font-size: calc(9px * var(--scale-factor));
}

.annotationLayer .popup h1 {
  display: inline-block;
}

.annotationLayer .popupDate {
  display: inline-block;
  margin-left: calc(5px * var(--scale-factor));
}

.annotationLayer .popupContent {
  border-top: 1px solid rgba(51, 51, 51, 1);
  margin-top: calc(2px * var(--scale-factor));
  padding-top: calc(2px * var(--scale-factor));
}

.annotationLayer .richText > * {
  white-space: pre-wrap;
  font-size: calc(9px * var(--scale-factor));
}

.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;
}

.annotationLayer section svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.annotationLayer .annotationTextContent {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.annotationLayer .annotationTextContent span {
  width: 100%;
  display: inline-block;
}

/* 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.
 */

:root {
  --react-pdf-text-layer: 1;
  --highlight-bg-color: rgba(180, 0, 170, 1);
  --highlight-selected-bg-color: rgba(0, 100, 0, 1);
}

@media screen and (forced-colors: active) {
  :root {
    --highlight-bg-color: Highlight;
    --highlight-selected-bg-color: ButtonText;
  }
}

[data-main-rotation='90'] {
  transform: rotate(90deg) translateY(-100%);
}
[data-main-rotation='180'] {
  transform: rotate(180deg) translate(-100%, -100%);
}
[data-main-rotation='270'] {
  transform: rotate(270deg) translateX(-100%);
}

.textLayer {
  position: absolute;
  text-align: initial;
  inset: 0;
  overflow: hidden;
  line-height: 1;
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
  forced-color-adjust: none;
  transform-origin: 0 0;
  z-index: 2;
}

.textLayer :is(span, br) {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  margin: 0;
  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: var(--highlight-bg-color);
  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 .highlight.selected {
  background-color: var(--highlight-selected-bg-color);
}

/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
.textLayer br::-moz-selection {
  background: transparent;
}
.textLayer br::selection {
  background: transparent;
}

.textLayer .endOfContent {
  display: block;
  position: absolute;
  inset: 100% 0 0;
  z-index: -1;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.textLayer .endOfContent.active {
  top: 0;
}

.hiddenCanvasElement {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  display: none;
}

