@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap");

.DialogWrapper * {
  user-select: none;
  -webkit-user-drag: none;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

.DialogWrapper {
  display: none;
  z-index: 100001 !important;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  box-sizing: border-box;
}

.DialogWrapper .DialogWindow {
  background-color: #343a40;
  margin: auto;
  padding: 5px;
  border: 1px solid #666;
  box-shadow: 5px 5px 18px #666;
  box-sizing: border-box;
  border-radius: 5px;
  overflow: auto;
  position: absolute;
}

.DialogWrapper.Inactive .DialogWindow {
  background-color: #777;
  box-shadow: none;
}

.DialogBackground {
  display: none;
  position: absolute;
  z-index: 100000;
  background-color: #333;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  box-sizing: border-box;
}

.DialogWrapper .HeaderBar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  height: 30px;
  background-color: #343a40;
  color: #fff;
  padding: 0;
  margin: 0 2px 0 2px;
  box-sizing: border-box;
}

.DialogWrapper.Inactive .HeaderBar {
  background-color: #777;
}

.DialogWrapper .HeaderBar .Title {
  flex-grow: 4;
  font-weight: bold;
  font-size: 90%;
  position: relative;
  top: 3px;
  height: 24px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.DialogWrapper .HeaderBar .CloseButton {
  background-color: #343a40;
  opacity: 1;
  box-sizing: border-box;
}

.DialogWrapper.Inactive .HeaderBar .CloseButton {
  background-color: #343a40;
}

.DialogWrapper .HeaderBar .CloseButton:hover {
  opacity: 1;
}

.DialogWrapper .HeaderBar .CloseButton:active {
  opacity: 1;
}

.DialogWrapper .HeaderBar {
  cursor: move;
}

.DialogWrapper .Body h1 {
  font-size: 28px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.DialogWrapper .Body code {
  font-family: monospace;
}

.DialogWrapper .Body {
  background-color: #eee;
  margin: auto;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  line-height: 24px;
  box-sizing: border-box;
}

.DialogWrapper .Content {
  background-color: #eee;
  border: 0px;
  overflow-y: auto;
  padding: 5px;
  box-sizing: border-box;
}

.DialogWrapper .ButtonBar {
  float: right;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
}

.DialogWrapper .ButtonBar:after {
  clear: both;
}

.DialogWrapper .ButtonBar {
  white-space: nowrap;
  overflow-x: auto !important;
}

.btn.btn-primary.Button {
  background-color: #ddd !important;
  padding: 5px !important;
  border-radius: 4px !important;
  color: #333 !important;
  border: 1px solid #999 !important;
}

.btn.btn-primary.Button:hover {
  background-color: #ccc !important;
  color: #222 !important;
}

.btn.btn-primary.Button:active {
  background-color: #bbb !important;
  color: #000 !important;
}

.DialogWrapper .DialogWindow {
  overflow-y: hidden;
}

.DialogWrapper .DialogWindow .Line {
  border-top: 1px solid #999;
  margin: 4px 0px 10px 0px;
  box-sizing: border-box;
}

.DialogWrapper .CloseButton {
  cursor: pointer !important;
  background-color: #343a40 !important;
  padding: 2px 5px;
  width: 24px;
  height: 24px;
  position: relative;
  box-sizing: border-box;
}

.DialogWrapper.Inactive .CloseButton {
  background-color: #777 !important;
}

.DialogWrapper .CloseButton:hover {
  background-color: #c80000 !important;
}

.DialogWrapper .CloseButton img {
  position: absolute;
  top: 4px;
  left: 4px;
}

.DialogBackground .Button,
.DialogWrapper .Button {
  padding: 4px 12px 4px 12px;
  margin: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  transition-duration: 0.4s;
  cursor: pointer;
  background-color: #ddd;
  color: #333;
  border: 1px solid #999;
  height: 35px;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 0;
  vertical-align: text-bottom;
  box-sizing: border-box;
  text-size-adjust: 100%;
}

.DialogBackground .Button:hover,
.DialogWrapper .Button:hover {
  background-color: #ccc;
  color: #333;
  border: 1px solid #666;
}

.DialogBackground .Button:active,
.DialogWrapper .Button:active {
  color: #333;
}

.DialogWrapper .Button img {
  position: relative;
  top: 2px;
  -webkit-user-drag: none;
}
