/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-Dialog {
  position: absolute;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0px;
  left: 0px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.jp-Dialog-content {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  background: var(--jp-layout-color1);
  min-width: 300px;
  min-height: 150px;
  max-width: 1000px;
  box-sizing: border-box;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.33);
  word-wrap: break-word;
  border-radius: var(--jp-border-radius);
  /* This is needed so that all font sizing of children done in ems is
   * relative to this base size */
  font-size: var(--jp-ui-font-size1);
  color: var(--jp-ui-font-color1);
}

.jp-Dialog-content.jp-Dialog-content-small {
  max-width: 500px;
}

.jp-Dialog-button {
  overflow: visible;
}

button.jp-Dialog-button:focus::-moz-focus-inner {
  border: 0;
}

button.jp-Dialog-close-button {
  padding: 0;
  height: auto;
  min-width: unset;
  min-height: unset;
  transform: translateY(2px);
}

button.jp-Dialog-close-button svg {
  width: 22px;
}

.jp-Dialog-header {
  display: flex;
  justify-content: space-between;
  flex: 0 0 auto;
  align-items: center;
  height: 48px;
  padding: 0 30px;
  font-weight: bold;
  color: #4a4a4a;
  background-color: #edf2f8;
}

.jp-Dialog-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  font-size: var(--jp-ui-font-size1);
  background: var(--jp-layout-color1);
  overflow: auto;
  padding: 40px;
}

.jp-Dialog-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 30px 30px;
}

.jp-Dialog-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jp-Dialog-body > .jp-select-wrapper {
  width: 100%;
}

.jp-Dialog-body > button {
  padding: 0px 16px;
}

.jp-Dialog-body > label {
  color: #4a4a4a;
  margin-bottom: 5px;
}

.jp-Dialog-button.jp-mod-styled:not(:last-child) {
  margin-right: 50px;
}
