.preview-dialog {
  height: 100%;
}

.preview-dialog .preview-dialog-container {
  min-width: 80%;
  max-width: 100%;
  height: 80%;
}

.preview-dialog .preview-dialog-content {
  height: 100%;
}

.preview-dialog .fileviewer-holder {
  margin-top: 28px;
  height: 90%;
  position: relative;
}

.preview-dialog .ms-Dialog-inner {
  height: 90%;
}

.preview-dialog .ms-Dialog-content {
  height: 100%;
}

.preview-dialog .topbar {
  width: 100%;
  height: 30px;
  display: table;
  position: relative;
  border-top:  1px solid;
  border-top-color: rgba( 200, 200, 200 ,  1 );
  border-top-color: rgba( var(--palette-neutral-20,200, 200, 200) ,  1 );
  border-bottom:  1px solid;
  border-bottom-color: rgba( 200, 200, 200 ,  1 );
  border-bottom-color: rgba( var(--palette-neutral-20,200, 200, 200) ,  1 );
  vertical-align: middle;
}

.preview-dialog .preview-attachment-dialog-panel-button {
  margin-right: 15px;
}

.preview-dialog .button-panel {
  float: right;
}

.preview-dialog .topbar i {
  color: inherit;
  text-decoration: none;
}

.preview-dialog .built-in-extension-div, .preview-dialog .code-editor-host {
  height: 100%;
}

.preview-dialog .attachmentsComboBox {
  float: left;
  margin-bottom: auto;
}

.preview-dialog .attachmentsComboBox > div {
  top: 5px;
}

.preview-dialog .preview-error-message {
  background-color: rgba( 251, 242, 236 ,  1 );
  background-color: rgba( var(--palette-accent3-light,251, 242, 236) ,  1 );
  padding-left: 28px;
}

.preview-dialog .loading-spinner {
  margin-top: 20%;
}

.attachment-viewer-host {
  position: absolute;
  top: 0px;
  bottom: 10px;
  left: 0px;
  right: 0px;
}

.preview-attachment-error-bar {
  bottom: 5px;
}
