/*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;
  }


  .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: 1.2em;
    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);
  }


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

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

  #FullPage.minimize {
  background: url(https://data.dh.gu.se/ui-icons/compress_white.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 26px;
    height: 26px;
    overflow: hidden;
    cursor: pointer;
}

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

  #Prev,
  #Next {
    position: relative;
    width: 25px;
    height: 20px;
    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: 1.0em !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;
}

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


.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: 45px;
    height: 45px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    bottom: 8px;
    left: 10px;
   background-color: rgba(10, 10, 10, 0.9) !important;
    border-radius: 50%;
    user-select: none;
    -webkit-user-select: none;
    z-index:2000
}

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