/* previ//ew.css */

div {
  font-face: arial, sans;
  font-size: 1em;
}

#areaWrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 5px;
  gap: 5px;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  background: #E0E0E0;
}

#docArea {
  display: none;
  flex-direction: column;
  width:120px;
  height:100%;
  background: #ffffff;
}

#pageArea {
  display: flex;
  flex-direction: column;
  width:120px;
  height:100%;
  background: #FFFFFF;
}

#navArea {
  display:flex;
  flex-direction: column;
  width:40px;
  height:100%;
  background: #FFFFFF;
}

#viewerArea{
  min-width:550px;
  width:1275px;
  text-align:center;
  max-width:100%;
  height:100%;
  overflow:auto;
  background: #FFFFFF;
}

#docInfoWrapper {
  margin-top: 8px;
  flex-grow:1;
}

.thumbnails {
  width: 120px;
  margin: 10px 0;
  max-height: 100%;
  overflow:auto;
  padding:20px 5px;
}
#docThumbnails { margin-top:0; }

.thumbnail {
  vertical-align:top;
  text-align: center;
  font-size: 8px;
  color: #A0A0A0;
  margin: 1px 0px !important;
  padding: 0px !important;
  border: 1px solid #FFFFFF;

  img {
    border: 1px solid #E0E0E0;
  }
}
.thumbnail.highlight {
  border-color: #5050DF;
}

#viewerInfoWrapper {
  position: fixed;
  text-align: center;
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.3);

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;

  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

#viewerInfo {
  background: #ffffff;
  border-radius: 10px;
  display: block;
  padding: 10px;
  min-width: 400px;
  min-width: 200px;
  max-width: 60%;

  .buttons {
    display:block;
    justify: center;
  }
}

#viewerSettings {
  max-height: 400px;
  margin-bottom: 20px;
  overflow: auto;
  border: 1px solid black;

  label { color: #404040; };
  div { text-align: left; };

  p { margin-bottom: 10px; }
}

.small-data-wrapper {
  color: #000000;
  text-align:center;
  font-size:12px;
  text-align: center;
  padding-bottom:8px;
}

.icon-wrapper {
  display: block;
  margin:4px;
  padding:4px;
  text-align: center;
  vertical-align: middle;
}
.icon-wrapper:hover {
  background: #E0E0E0;
}
.icon-wrapper.disabled:hover {
  background: #FFFFFF;
}
.icon-wrapper.padded {
  padding:6px;
}


#pageNum {
  text-align: center;
  width:30px;
  padding:1px;
}
#pages {
  padding: 2px;
  font-size: 14px;
}

#msg1 {
  text-align: center;
  padding-top: 2px;
  font-size: 16px;
  font-weight: bold;
  color: #E00000;
}

#msg2 {
  text-align: center;
  padding: 2px;
  font-size: 10px;
  font-weight: bold;
  color: #E00000;
}

#msg3 {
  text-align: center;
  padding: 2px;
  font-size: 12px;
  font-weight: bold;
  color: #E00000;
}

@media print {
  #docArea,
  #viewerArea,
  #pageArea,
  #pageThumbnails,
  #docThumbnails,
  #navArea {
    display: none;
  }
}
