/* Pour Template 0 */
#imageViewerContainer {
  width: 100%;
  /* display: flex; */
  flex-direction: column;
}

/* toolBar */
div#toolbarDiv {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px;
  background-color: #383838;
  height: 44px;
}
#toolbarDiv div:nth-of-type(4) {
  display: none;
}
/* #OsdFarLeftControls {
  border:1px solid ivory;
}
#OsdCenterControls{
  border:1px solid violet;
} */
#OsdRightControls {
  padding-right: 4px;
}

#OsdLeftControls {
  display: inline-block;
}
#OsdLeftControls fieldset {
  display: inline-block;
  border-right: 2px solid #A9A9A9;
  padding-right: 8px;
}
.OsdControls {
  display: inline-block;
}
.OsdControls span {
  color: #FFF;
  opacity: 0.7;
}
.viewerElement {
  display: inline-block;
  background-color: transparent;
  color: #FFF;
  border: none;
  padding: 4px;
  opacity: 0.7;
}
input.viewerElement {
  width: 50px;
  background-color: #000;
  border-radius: 6px;
  height: 24px;
  margin: 6px 0;
}
select.viewerElement,
button.viewerElement {
  border-radius: 6px;
  border: 1px solid #383838;
}
button.viewerElement:is(:hover, :focus-visible),
input.viewerElement:is(:hover, :focus-visible),
select.viewerElement:is(:hover, :focus-visible) {
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid !important
}
#zoomSelect {
  background-color: #000;
  color: #FFF;
  border-radius: 10px;
}

/* Viewer */
.openseadragon {
  height: 600px;
}
.openseadragon-container {
  background-color: #2C2C2C!important;
}
.fullpage .openseadragon-container {
  background-color: #000!important;
}

/* Autres */
.viewerContainer {
  width: 100%;
  background-color: #2c2c2c;
  position: relative;
}
.jsViewer{
  display: block;
}
#mediaplayer_iframe {
   min-height: 750px;
   height: 100%;
   width: 100%;
}
#noViewerContainer, 
#restrictedViewerContainer {
  /* width: 800px; */
  color: #FFF;
  /* left: 50%;
  transform: translateX(-50%); */
  position: relative;
  /* top: 75px; */
  padding: 40px 10px 10px;
  width: 80%;
  margin: 0 10%;
}
#restrictedViewerContainer {
  background-color: #2c2c2c;
  padding: 20px;
  top: 0;
  max-width: 80%;
 }
a#downloadLink, .infoTxt {
  color: white;
}
.infoSEO {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#accessMessage {
  width: 80%;
  margin: 0 10%;
  background-color:#f2f2f2;
  border-radius: 8px;
  /* position: absolute;
  bottom: 0; */
  border: 2px solid #2c2c2c;
  opacity: .96; 
}
#accessMessage p {
  padding: 10px;
}
.restricted {
  border: s2px solid red!important;
}
i.fas.fa-lock {
    padding-left: 5px;
}
.toUpperCase {
  text-transform: uppercase;
}
.selected {
  font-weight: bold;
}

/* Tablette avec Panneau ouvert */
@media only screen and (max-width: 1180px) and (min-width: 769px) {
  .container-panel-open #OsdLeftControls label,
  .container-panel-open #OsdLeftControls span {
    display: none;
  }
  
  .container-panel-open #OsdLeftControls fieldset {
    border-right: none;
  }

  .container-panel-open #OsdCenterControls {
    display: none;
  }
}

/* Mobile */
@media only screen and (max-width: 768px) {
  /* Pas de selection de page */
  #OsdLeftControls label,
  #OsdLeftControls span {
    display: none;
  }
  
  #OsdLeftControls fieldset {
    border-right: none;
  }

  /* Pas de zoom */
  #OsdCenterControls {
    display: none;
  }
}