@charset "UTF-8";

.vtm-bg-dark-noise {
  background-image: url("/i/img-noiseBG-black.png");
}

.vtm-bg-light-noise,
body .extrait {
  background-image: url("/i/img-noiseBG-off-white.png");
}

.force-basefont,
.vtm-button-label,
.vtm-button-label__active,
.vtm-button,
.vtm-button-faint,
body .moreButton,
#seanote-menu .button,
.vtm-input,
#seanote-menu input {
  font-family: arial, sans-serif;
}

p {
  line-height: 1.5em;
}

.vtm-interactive-letterspace,
.vtm-button-label,
.vtm-button-label__active,
.vtm-button,
.vtm-button-faint,
body .moreButton,
#seanote-menu .button {
  letter-spacing: 0.075em;
}

.vtm-ui-label,
#seanote-filmstrip .label {
  font-size: 0.8125rem;
  color: #444444;
  margin: 0 4px;
}

.vtm-button-label,
.vtm-button-label__active,
.vtm-button,
.vtm-button-faint,
body .moreButton,
#seanote-menu .button {
  font-size: 0.875rem;
  color: #222222;
}

.vtm-button-label__active {
  color: #8000FF;
}

.vtm-text,
.vtm-text-black,
.vtm-text-green {
  font-size: 1rem;
}

.vtm-text-black {
  color: #222222;
}

.vtm-text-green {
  color: #008A3C;
}

.vtm-caption,
.vtm-caption-black,
.vtm-caption-black-strong {
  font-size: 0.875rem;
}

.vtm-caption-black,
.vtm-caption-black-strong {
  color: #222222;
}

.vtm-caption-black-strong {
  font-weight: bolder;
}

.vtm-header {
  font-size: 1.1875rem;
}

.vtm-icon-M,
#seanote-menu .button img {
  width: 22px;
  height: 16px;
  margin: 0;
  vertical-align: bottom;
}

.vtm-button,
.vtm-button-faint,
body .moreButton,
#seanote-menu .button {
  border: 1px solid #A298AB;
  line-height: 1em;
  padding: 8px 4px;
  min-width: 40px;
  display: inline-block;
  text-align: center;
}

.vtm-button img,
.vtm-button-faint img,
body .moreButton img,
#seanote-menu .button img {
  margin-top: -3px;
}

.vtm-button-faint,
body .moreButton {
  border-color: #E1DCFA;
}

.vtm-input,
#seanote-menu input {
  outline: none;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #A298AB;
  padding: 8px 4px;
  font-size: 1rem;
  line-height: 1.1em;
}

.vtm-ui-row-element {
  display: inline-block;
}

.vtm-ui-row-element + .vtm-ui-row-element {
  padding-left: 24px;
}

p {
  margin: 0;
}

p + p {
  margin-top: 0.5em;
}

/* Grids for navigation bars */

body .extrait {
  position: relative;
  display: inline-block;
  border: 1px solid #E6E6E6;
  margin-top: 20px;
  margin-bottom: 0;
  text-align: center;
  vertical-align: top;
  overflow: hidden;
}

@media only screen and (min-width: 0) {
  body .extrait {
    width: 65%;
    height: 100px;
  }
}

@media only screen and (min-width: 610px) {
  body .extrait {
    width: 417px;
    height: 120px;
  }
}

@media only screen and (min-width: 768px) {
  body .extrait {
    width: 417px;
    height: 120px;
  }
}

@media only screen and (min-width: 1024px) {
  body .extrait {
    width: 417px;
    height: 120px;
  }
}

body .highlight {
  background: rgba(0, 255, 111, 0.15);
  position: absolute;
}

body .thumbnail {
  margin-left: -1.5px;
}

@media only screen and (min-width: 0) {
  body .thumbnail {
    width: 81.5px;
    height: 100px;
  }
}

@media only screen and (min-width: 610px) {
  body .thumbnail {
    width: 91.5px;
    height: 120px;
  }
}

@media only screen and (min-width: 768px) {
  body .thumbnail {
    width: 91.5px;
    height: 120px;
  }
}

@media only screen and (min-width: 1024px) {
  body .thumbnail {
    width: 91.5px;
    height: 120px;
  }
}

body .loadMore {
  padding: 32px 0;
  position: relative;
}

body .moreButton {
  width: 150px;
  cursor: pointer;
}

.graph-container {
  max-width: 1280px;
}

.title {
  font-size: 1rem;
}

.subtitle {
  font-size: 0.8125rem;
}

.title,
.subtitle {
  margin-bottom: 4px;
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media only screen and (min-width: 0) {
  .title,
  .subtitle {
    width: 100px;
  }
}

@media only screen and (min-width: 610px) {
  .title,
  .subtitle {
    width: 200px;
  }
}

@media only screen and (min-width: 768px) {
  .title,
  .subtitle {
    width: 200px;
  }
}

@media only screen and (min-width: 1024px) {
  .title,
  .subtitle {
    width: 200px;
  }
}

@media only screen and (min-width: 0) {
  #prev-and-next,
  #zoom-controls,
  #local-search {
    display: none;
  }
}

@media only screen and (min-width: 610px) {
  #prev-and-next,
  #zoom-controls,
  #local-search {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  #prev-and-next,
  #zoom-controls,
  #local-search {
    display: none;
  }
}

@media only screen and (min-width: 1024px) {
  #prev-and-next,
  #zoom-controls,
  #local-search {
    display: inline-block;
  }
}

@media only screen and (min-width: 0) {
  #page-scan {
    display: none;
  }
}

@media only screen and (min-width: 610px) {
  #page-scan {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  #page-scan {
    display: none;
  }
}

@media only screen and (min-width: 1024px) {
  #page-scan {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
}

@media only screen and (min-width: 0) {
  #title {
    max-width: 150px;
  }
}

@media only screen and (min-width: 610px) {
  #title {
    max-width: 250px;
  }
}

@media only screen and (min-width: 768px) {
  #title {
    max-width: 250px;
  }
}

@media only screen and (min-width: 1024px) {
  #title {
    max-width: 250px;
  }
}

@media only screen and (min-width: 0) {
  #title #doc-title {
    padding-left: 8px;
  }
}

@media only screen and (min-width: 610px) {
  #title #doc-title {
    padding-left: 8px;
  }
}

@media only screen and (min-width: 768px) {
  #title #doc-title {
    padding-left: 16px;
  }
}

@media only screen and (min-width: 1024px) {
  #title #doc-title {
    padding-left: 16px;
  }
}

@media only screen and (min-width: 0) {
  #thumb--long {
    display: none;
  }
}

@media only screen and (min-width: 610px) {
  #thumb--long {
    display: inline-block;
  }
}

@media only screen and (min-width: 768px) {
  #thumb--long {
    display: inline-block;
  }
}

@media only screen and (min-width: 1024px) {
  #thumb--long {
    display: inline-block;
  }
}

@media only screen and (min-width: 0) {
  #thumb--short {
    display: inline-block;
  }
}

@media only screen and (min-width: 610px) {
  #thumb--short {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  #thumb--short {
    display: none;
  }
}

@media only screen and (min-width: 1024px) {
  #thumb--short {
    display: none;
  }
}

/*************************************************
    Document Viewer
**************************************************/

#seanote {
  height: 100%;
}

#seanote-menu,
#seanote-controls {
  margin: 0;
  /*background: rgba(0,0,0,0.7);*/
}

#seanote-menu {
  border: none;
  background: #F8F8F8;
  height: 48px;
}

#seanote-menu .item:before,
#seanote-menu .item:after {
  display: none;
}

#seanote-menu .logo {
  margin: 8px;
}

#seanote-menu .button {
  cursor: pointer;
}

#seanote-menu .button.active {
  border-color: #8000FF;
  color: #8000FF;
}

@media only screen and (min-width: 0) {
  #seanote-menu {
    padding: 0;
  }
}

@media only screen and (min-width: 610px) {
  #seanote-menu {
    padding: 0;
  }
}

@media only screen and (min-width: 768px) {
  #seanote-menu {
    padding: 0 15px;
  }
}

@media only screen and (min-width: 1024px) {
  #seanote-menu {
    padding: 0 15px;
  }
}

@media only screen and (min-width: 0) {
  #seanote-menu .item:not(.dropdown) {
    padding-left: 8px !important;
  }
}

@media only screen and (min-width: 610px) {
  #seanote-menu .item:not(.dropdown) {
    padding-left: 8px !important;
  }
}

@media only screen and (min-width: 768px) {
  #seanote-menu .item:not(.dropdown) {
    padding-left: 16px !important;
  }
}

@media only screen and (min-width: 1024px) {
  #seanote-menu .item:not(.dropdown) {
    padding-left: 32px !important;
  }
}

#seanote-menu .item:not(.dropdown)::after {
  position: absolute;
  left: 0.8em;
  font-size: 0.8rem;
  font-family: 'Icons';
}

#seanote-menu .item:not(.dropdown)::after {
  content: '\F1DB';
  color: rgba(0, 0, 0, 0.2);
}

#seanote-menu .item.active:not(.dropdown)::after {
  content: '\F00C';
  color: rgba(0, 0, 0, 0.95);
}

#seanote-menu .item.undone::after {
  content: '\F0C3';
}

#seanote-menu .item.disabled::after {
  color: rgba(0, 0, 0, 0.5);
}

#seanote-menu .item.disabled {
  color: rgba(0, 0, 0, 0.5) !important;
}

#seanote-menu .item.active {
  font-weight: normal !important;
}

#seanote-controls {
  border-top: 1px solid white;
}

#seanote-controls .button,
#seanote-controls .label {
  background: transparent;
  color: white;
  border-radius: 0;
}

#seanote-controls .button:focus {
  -webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2) !important;
          box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2) !important;
}

#seanote-controls .document-selector {
  text-align: right;
}

#seanote-controls .page-selector {
  color: #999999;
}

#seanote-controls .page-selector .item {
  text-align: center;
  padding: 0.25em 0.5em !important;
}

#seanote-controls .current-page-number {
  color: #ccc;
}

#seanote-controls .button:hover {
  background: rgba(255, 255, 255, 0.1);
}

#seanote-viewer,
#openseadragon-viewer {
  width: 100%;
  height: 100%;
}

#seanote-viewer {
  position: relative;
  overflow: hidden;
  height: calc(100% - 49px);
}

#openseadragon-viewer {
  background-color: #444444;
}

#seanote-filmstrip,
#seanote-toolbar {
  position: absolute;
  z-index: 3;
}

#seanote-filmstrip {
  width: 100%;
}

#seanote-filmstrip {
  bottom: 0;
  left: 0;
  overflow: hidden;
}

#seanote-filmstrip .header,
#seanote-filmstrip .body {
  width: 100%;
}

#seanote-filmstrip .header {
  padding: 5px 10px;
  font-size: 13px;
  background-color: #E6E6E6;
  border: none;
}

#seanote-filmstrip .body {
  height: 137px;
  background-color: #E6E6E6;
  -webkit-overflow-scrolling: touch;
}

#seanote-filmstrip .list {
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 0x 0 24px;
  margin: 0;
  white-space: nowrap;
}

#seanote-filmstrip .list > .item:first-child {
  margin-left: 1em !important;
}

#seanote-filmstrip .list > .item:last-child {
  margin-right: 1em !important;
}

#seanote-filmstrip .item {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 100px;
  height: 120px;
  width: 100px;
}

#seanote-filmstrip .label {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 2px 0;
  background: transparent;
}

#seanote-filmstrip .item a {
  width: 100px;
  height: 100px;
  text-align: center;
}

#seanote-filmstrip .label {
  text-align: center;
  bottom: -22px;
}

#seanote-filmstrip img {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  margin: auto;
}

#seanote-filmstrip .item.current img {
  opacity: 0.7;
  border: 2px solid #8000FF;
}

#seanote-filmstrip .item.current .label {
  color: #8000FF;
}

#seanote-metadatas {
  top: 5px;
  left: 5px;
  width: 250px;
  height: 250px;
}

#seanote-metadatas .body {
  overflow-y: scroll;
  font-size: 0.8em;
}

#seanote-metadatas .body th {
  text-align: left;
  max-width: 50%;
  padding-right: 10px;
}

#seanote-navigator {
  top: 0px;
  right: 1px;
  width: 120px;
  height: 190px;
  position: absolute;
  outline: none;
}

#openseadragon-navigator {
  width: 120px;
  height: 150px;
  border: 2px solid #555555;
  position: relative;
}

#seanote-toolbar {
  top: 5px;
  left: 5px;
  opacity: 0.7;
}

#seanote-toolbar .active .icon {
  color: #b80021;
}

#seanote-toolbar .menu {
  margin: 0 0 5px 0;
}

.fitonviewer {
  top: 160px;
  width: 120px;
  background-color: #222;
  outline: none;
  color: #F8F8F8;
  border: 2px solid #555555;
  cursor: pointer;
  position: absolute;
  text-align: center;
}

/*  Canvas Segments
------------------------------------------------ */

.canvas-segment {
  background: url(/i/marker-green.png) no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
  opacity: 0.15;
}

.canvas-segment.merged {
  -webkit-box-shadow: inset 0 0 0 2px rgba(220, 20, 60, 0.3);
          box-shadow: inset 0 0 0 2px rgba(220, 20, 60, 0.3);
}

.canvas-segment.grouped {
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
          box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(66, 139, 202, 0.8);
}

.canvas-segment.annotated {
  background-color: rgba(220, 20, 60, 0.2);
}

.canvas-segment.annotated-group {
  border-color: rgba(128, 0, 128, 0.4);
}

.canvas-segment.selected,
.canvas-segment.selected.annotated {
  -webkit-box-shadow: inset 0 0 0 1px #b80021;
          box-shadow: inset 0 0 0 1px #b80021;
  background-color: rgba(184, 0, 33, 0.3);
}

.canvas-segment.selected-group,
.canvas-segment.selected-group.annotated-group {
  border-color: #b80021;
}

.canvas-segment.resizable {
  border: 1px dashed rgba(220, 20, 60, 0.5);
  background-color: rgba(184, 0, 33, 0.2);
}

.canvas-segment-group {
  border: 1px dotted rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.canvas-segment .group-list {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  max-height: 18px;
  width: auto;
  margin: 2px;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
}

.canvas-segment .group {
  display: inline-block;
  margin-left: 2px;
  padding: 2px 4px;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  color: white;
  background: rgba(66, 139, 202, 0.8);
}

.canvas-segment .group {
  background: rgba(66, 139, 202, 0.8);
}

.canvas-segment .group:hover {
  background-color: #428bca;
}

.canvas-segment .group.annotated {
  background-color: rgba(128, 0, 128, 0.5);
}

.canvas-segment .group.annotated:hover {
  background-color: rgba(128, 0, 128, 0.7);
}

.canvas-segment .group.selected {
  background-color: rgba(184, 0, 33, 0.5);
}

.canvas-segment .group.selected:hover {
  background-color: rgba(184, 0, 33, 0.7);
}

.canvas-selection {
  border: 1px dashed navy;
  z-index: 1;
}

/*  Canvas Articles
------------------------------------------------ */

.canvas-article {
  overflow: hidden;
  -webkit-box-shadow: inset 0 0 0 1px rgba(220, 20, 60, 0.3);
          box-shadow: inset 0 0 0 1px rgba(220, 20, 60, 0.3);
}

.canvas-article.selected {
  -webkit-box-shadow: inset 0 0 0 1px #b80021;
          box-shadow: inset 0 0 0 1px #b80021;
  background-color: rgba(184, 0, 33, 0.3);
}

.canvas-article.resizable {
  border: 1px dashed rgba(220, 20, 60, 0.5);
  background-color: rgba(184, 0, 33, 0.2);
}

.canvas-article:hover {
  cursor: pointer;
}

/*  Resizing Components
------------------------------------------------ */

.resizing-handle {
  position: absolute;
  height: 7px;
  width: 7px;
  background: rgba(220, 20, 60, 0.5);
  z-index: 2;
}

.resizing-handle-n {
  cursor: n-resize;
  top: -4px;
  left: 50%;
  margin-left: -4px;
}

.resizing-handle-ne {
  cursor: ne-resize;
  top: -4px;
  right: -4px;
}

.resizing-handle-e {
  cursor: e-resize;
  top: 50%;
  right: -4px;
  margin-top: -4px;
}

.resizing-handle-se {
  cursor: se-resize;
  right: -4px;
  bottom: -4px;
}

.resizing-handle-s {
  cursor: s-resize;
  bottom: -4px;
  left: 50%;
  margin-left: -4px;
}

.resizing-handle-sw {
  cursor: sw-resize;
  bottom: -4px;
  left: -4px;
}

.resizing-handle-w {
  cursor: w-resize;
  top: 50%;
  left: -4px;
  margin-top: -4px;
}

.resizing-handle-nw {
  cursor: nw-resize;
  top: -4px;
  left: -4px;
}

/*  Dialog Windows
------------------------------------------------ */

#annotation-dialog,
#named-entity-creator {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  min-height: 300px;
  margin-top: -150px;
  margin-left: -250px;
  z-index: 3;
}

#annotation-dialog:focus {
  outline: none;
}

#named-entity-creator {
  width: 400px;
  min-height: 300px;
  margin-top: -150px;
  margin-left: -200px;
  z-index: 5;
}

.selection-preview {
  width: 100%;
  height: 100px;
  background: #eee;
  margin-bottom: 0.5rem;
  text-align: center;
  padding: 5px 0;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 0.28rem;
}

.selection-preview img {
  max-width: 100%;
  max-height: 90px;
}

.close {
  cursor: pointer;
}

/*  Canvas Links
------------------------------------------------ */

.canvas-link {
  background: url(/i/marker-link.png) no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
  opacity: .3;
}

.canvas-link:hover {
  cursor: pointer;
}

/* Highchart graph related */

input.highcharts-range-selector:focus {
  border: none !important;
}

.displayregion {
  border: 2px solid #8000FF !important;
}

/* The Modal (background) */

.sommarioni-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#sommarioni-map {
  width: 100%;
  height: calc(100% - 49px);
  background-color: #444444;
  outline: 0;
  overflow: hidden;
}

.tm-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#tm-map {
  width: 100%;
  height: calc(100% - 49px);
  background-color: #444444;
  outline: 0;
  overflow: hidden;
}

#map-image-container {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.map-image,
.polygon {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.map-image .pulse,
.polygon .pulse {
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
  0% {
    opacity: 0.2;
  }

  60% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.2;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.2;
  }

  60% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.2;
  }
}

