/*CSS here will be used by any file that has added the stylesheet*/

/* CSS - Cascading Style Sheet */




/* Image Viewer common classes */

.interface-area-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: absolute;
  bottom: 15px;
  pointer-events: none;
}

.interface-area-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 15px;
  pointer-events: none;
}

.interface-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 15px;
  pointer-events: none;
  z-index: 10000;
}

.toolbar-top {
  position: absolute;
  display: flex;
  justify-content: center;
  z-index: 1000;
  align-items: center;
  background-color: rgb(0, 0, 0, 0.8);
  border-radius: 8px;
  width: auto;
}

.toolbar-top span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(35, 35, 35, 0.6);
  color: white;
  text-align: center;
  width: auto;
  border-radius: 8px;
  font-size: 0.8em;
  font-weight: bold;
  vertical-align: 13px;
  margin-left: 0px;
  margin-right: 0px;
  height: 20px;
}

.toolbar-bottom {
  pointer-events: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-left: 6px;
  padding-right: 6px;
  width: auto;
  height: 42px;
  background-color: rgb(0, 0, 0, 0.8);
  border-radius: 8px;
  z-index: 1000;
  cursor: pointer;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: none;
  -ms-touch-action: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0.0rem 0.1rem 1rem rgba(0, 0, 0, 0.3) !important;
  border-style: solid;
  border-color: grey;
  border-width: 0.5px 0px 0px 0px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}


.NavButton {
  pointer-events: auto;
  width: 35px;
  height: 35px;
  color: white;
  opacity: 0.8;
  margin-right: 6px;
  margin-left: 6px;
  margin-top: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.8;
}

.NavButton:hover {
  opacity: 1;
  cursor: pointer;
  background-color: transparent;
}

#Home {
  background: url(https://data.dh.gu.se/ui-icons/frame_small_white.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  overflow: hidden;
}

#ZoomIn {
  background: url(https://data.dh.gu.se/ui-icons/zoomin_big_white.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  overflow: hidden;
}

#ZoomOut {
  background: url(https://data.dh.gu.se/ui-icons/zoomout_big_white.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  overflow: hidden;
}


#DownloadButton {
  position: absolute;
  bottom: 12px;
  background: url(https://data.dh.gu.se/ui-icons/download_white.png);
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--viewer-button-background);
  overflow: hidden;
  cursor: pointer;
  z-index: 1000;
}

.full-page {
  background: url(https://data.dh.gu.se/ui-icons/expand_white.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top;
  width: 26px;
  height: 26px;
  overflow: hidden;
  cursor: pointer;
}

.full-page-active {
  background: url(https://data.dh.gu.se/ui-icons/compress_white.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

.download-button {
  pointer-events: auto;
  background: url(https://data.dh.gu.se/ui-icons/download_white.png);
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  overflow: hidden;
  position: absolute;
  bottom: 18px;
  left: 10px;
  background-color: rgba(10, 10, 10, 0.9) !important;
  border-radius: 50%;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2000
}

#Prev,
#Next {
  position: relative;
  width: 25px;
  height: 15px;
  background-size: 35px !important;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

#Prev {
  background-image: url(https://data.dh.gu.se/ui-icons/arrow_prev_white.png);
}

#Next {
  background-image: url(https://data.dh.gu.se/ui-icons/arrow_next_white.png);
  margin-left: 10px;
}

#currentpage {
  font-family: "Barlow Condensed", sans-serif !important;
  color: white;
  font-size: 0.8em !important;
  font-weight: 400;
  pointer-events: none !important;
  background: transparent !important;
}

.switch-button {
  pointer-events: auto;
  width: 35px;
  height: 35px;
  color: white;
  opacity: 0.8;
  margin-right: 8px;
  margin-left: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.switch-button:hover {
  opacity: 1;
  cursor: pointer;
}

#ToolbarVertical {
  position: absolute;
  top: 10px;
  width: 60px;
  margin-left: 10px;
  z-index: 1000;
  cursor: pointer;
}

#RotateLeft {
  background: url(https://data.dh.gu.se/ui-icons/rotate_left_white.png);
  background-size: 45%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(10, 10, 10, 0.9) !important;
  border-radius: 50%;
  ;
  width: 40px;
  height: 40px;
  cursor: pointer;
  overflow: hidden;
}

#RotateRight {
  background: url(https://data.dh.gu.se/ui-icons/rotate_right_white.png);
  background-size: 45%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(10, 10, 10, 0.9) !important;
  border-radius: 50%;
  ;
  width: 40px;
  height: 40px;
  cursor: pointer;
  overflow: hidden;
  margin-top: -5px;
}

*:focus {
  outline: none !important;
}