.attachment-preview-container {
  background-color: transparent !important;
  border-color: transparent;
  text-align: center;
  height: 100vh;
  width: 100vw;
  outline: none !important;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}

.attachment-preview-toolbar {
  position: relative;
  width: 100%;
  font: 500 12px "Segoe UI VSS (Regular)","Segoe UI","-apple-system",BlinkMacSystemFont,Roboto,"Helvetica Neue",Helvetica,Ubuntu,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

.attachment-preview-toolbar .attachment-preview-title {
  text-overflow: ellipsis;
  background-color: transparent !important;
}

.attachment-preview-toolbar .attachment-preview-title :hover {
  background-color: transparent !important;
  color: inherit;
}

.attachment-preview-toolbar .attachment-preview-toolbar-button-delete {
  color: rgba( 218, 10, 0 ,  1 ) !important;
  color: rgba( var(--palette-accent1,218, 10, 0) ,  1 ) !important;
}

.attachment-preview-menu-container {
  flex-grow: 0;
}

.attachment-preview-modal-center {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-grow: 1;
  outline: none;
}

.attachment-preview-modal-center .carousel-traverse-button {
  background-color: transparent;
  border-color: transparent;
  color: rgba( 222, 236, 249 ,  1 );
  color: rgba( var(--palette-primary-tint-30,222, 236, 249) ,  1 );
  width: auto;
  border: none !important;
  margin-top: 50vh;
  transform: translateY(-50%);
}

.attachment-preview-modal-center .carousel-traverse-button .carousel-traversal-icon {
  font-size: 5vw;
}

.attachment-preview-modal-center .carousel-traverse-button :hover {
  color: rgba( 43, 136, 216 ,  1 );
  color: rgba( var(--palette-primary-tint-10,43, 136, 216) ,  1 );
}

.attachment-preview-modal-center .hidden-carousel-traverse-button {
  visibility: hidden;
}

.attachment-preview-modal-center .loading-spinner-overlay {
  width: 40vw;
  height: 40vh;
  min-height: 10vh;
  margin-top: 50vh;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 1);
  background-color: var(--background-color,rgba(255, 255, 255, 1));
  line-height: normal;
  position: relative;
}

.attachment-preview-modal-center .loading-spinner-overlay .hidden-loading-spinner-overlay {
  display: none;
}

.attachment-preview-modal-center .attachment-preview-media {
  display: block;
  min-width: 10vw;
  min-height: 10vh;
  max-width: 80vw;
  max-height: 80vh;
  align-self: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.attachment-preview-modal-center .attachment-preview-unhandled {
  max-width: 600px;
  min-height: 400px;
  width: 80vw;
  height: 40vh;
  background-color: rgba(255, 255, 255, 1);
  background-color: var(--background-color,rgba(255, 255, 255, 1));
  text-align: center;
  line-height: normal;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.attachment-preview-modal-center .attachment-preview-unhandled .file-preview-unhandled-icon {
  font-size: 100px;
}

.attachment-preview-modal-center .attachment-preview-unhandled p {
  min-width: 450px;
  text-overflow: ellipsis;
  font-size: 24px;
  font-weight: 200;
  padding: 0px 90px;
  margin: 36px 0;
  max-width: 40vw;
}

.attachment-preview-modal-center .attachment-preview-text {
  background-color: rgba(255, 255, 255, 1);
  background-color: var(--background-color,rgba(255, 255, 255, 1));
  margin-top: 4px;
  padding: 30px;
  width: 60vw;
  height: 80vh;
}

.attachment-preview-modal-center .attachment-preview-text .attachment-preview-text-content {
  overflow-y: auto;
  overflow-x: hidden;
  overflow-wrap: break-word;
  width: 100%;
  height: 100%;
  white-space: pre-line;
  font-size: 18px;
}

.attachment-preview-modal-center .attachment-preview-window-content {
  width: 60vw;
  height: 80vh;
  vertical-align: middle;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  align-self: center;
}

.attachment-preview-modal-center .hidden-attachment-preview-content {
  display: none;
}
