
.o_AttachmentViewer {
  display: -webkit-box; display: -webkit-flex; display: flex;
  width: 100%;
  height: 100%;
  flex-flow: column;
  align-items: center;
  z-index: -1;
}

.o_AttachmentViewer_buttonNavigation {
  position: absolute;
  display: -webkit-box; display: -webkit-flex; display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.o_AttachmentViewer_buttonNavigationNext {
  right: 15px;
}

.o_AttachmentViewer_buttonNavigationNext > .fa {
  margin: 1px 0 0 1px;
}

.o_AttachmentViewer_buttonNavigationPrevious {
  left: 15px;
}

.o_AttachmentViewer_buttonNavigationPrevious > .fa {
  margin: 1px 1px 0 0;
}

.o_AttachmentViewer_header {
  display: -webkit-box; display: -webkit-flex; display: flex;
  height: 46px;
  align-items: center;
  padding: 0 15px;
  width: 100%;
}

.o_AttachmentViewer_headerItem {
  margin: 0 5px;
}

.o_AttachmentViewer_headerItem:first-child {
  margin-left: 0;
}

.o_AttachmentViewer_headerItem:last-child {
  margin-right: 0;
}

.o_AttachmentViewer_loading {
  position: absolute;
}

.o_AttachmentViewer_main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box; display: -webkit-flex; display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
  padding: 45px 0;
}

.o_AttachmentViewer_main.o_with_img {
  overflow: hidden;
}

.o_AttachmentViewer_toolbar {
  position: absolute;
  bottom: 45px;
  transform: translateY(100%);
  display: -webkit-box; display: -webkit-flex; display: flex;
}

.o_AttachmentViewer_toolbarButton {
  padding: 8px;
}

.o_AttachmentViewer_viewImage {
  max-height: 100%;
  max-width: 100%;
}

.o_AttachmentViewer_viewIframe {
  width: 90%;
  height: 100%;
}

.o_AttachmentViewer_viewVideo {
  width: 75%;
  height: 75%;
}

.o_AttachmentViewer_zoomer {
  position: absolute;
  padding: 45px 0;
  height: 100%;
  width: 100%;
  display: -webkit-box; display: -webkit-flex; display: flex;
  align-items: center;
  justify-content: center;
}

.o_AttachmentViewer {
  outline: none;
}

.o_AttachmentViewer_buttonNavigation {
  color: #ced4da;
  background-color: #262626;
  border-radius: 100%;
  cursor: pointer;
}

.o_AttachmentViewer_buttonNavigation:hover {
  color: #fafafb;
  background-color: black;
}

.o_AttachmentViewer_header {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ced4da;
}

.o_AttachmentViewer_headerItemButton {
  cursor: pointer;
}

.o_AttachmentViewer_headerItemButton:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fafafb;
}

.o_AttachmentViewer_headerItemButtonClose {
  cursor: pointer;
  font-size: 1.3rem;
}

.o_AttachmentViewer_toolbar {
  cursor: pointer;
}

.o_AttachmentViewer_toolbarButton {
  background-color: #262626;
}

.o_AttachmentViewer_toolbarButton.o_disabled {
  cursor: not-allowed;
  filter: brightness(1.3);
}

.o_AttachmentViewer_toolbarButton:not(.o_disabled) {
  color: #ced4da;
  cursor: pointer;
}

.o_AttachmentViewer_toolbarButton:not(.o_disabled):hover {
  background-color: black;
  color: #fafafb;
}

.o_AttachmentViewer_view {
  background-color: black;
  box-shadow: 0 0 40px black;
  outline: none;
  border: none;
}

.o_AttachmentViewer_view.o_text {
  background-color: white;
}

.o_AttachmentViewer_viewImage {
  transition: transform 0.3s ease;
}

