html { box-sizing: border-box; overflow-y: scroll; }
*, *:before, *:after { box-sizing: inherit; }
body { margin: 0; background: #fafafa; }

.swagger-ui .dialog-ux {
  position: relative !important;
}
.swagger-ui .dialog-ux .modal-ux {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 auto;
  max-width: 650px;
  min-width: 300px;
  width: 100%;
}
.swagger-ui .dialog-ux .modal-ux-content {
  max-height: none !important;
  overflow-y: visible !important;
}
.swagger-ui .dialog-ux .modal-ux-header {
  padding: 12px 20px;
}

.explorer-login-wrapper {
  display: flex;
  justify-content: center;
  padding: 30px 20px 40px;
}

.explorer-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
}
.explorer-header .title {
  display: flex;
  align-items: center;
  flex: 1;
}
.explorer-header .title img {
  margin-right: 10px;
}
.explorer-header .title span {
  font-size: 18px;
  font-weight: 700;
  font-family: sans-serif;
  color: #3b4151;
}

.swagger-ui .auth-container .scheme-info {
  margin: 0 0 10px;
  font-size: 12px;
  color: #6b6b6b;
  font-family: sans-serif;
}
.swagger-ui .auth-container .scheme-info code {
  font-size: 12px;
  font-weight: 600;
  color: #3b4151;
}

.swagger-ui .auth-container .error-message,
.swagger-ui .auth-shared .error-message {
  font-size: 12px;
  padding: 10px;
  border-radius: 4px;
  background-color: #fee;
  color: red;
  margin: 10px 0;
  font-family: monospace;
  font-weight: 600;
  display: none;
}

.swagger-ui .auth-container .success-message,
.swagger-ui .auth-shared .success-message {
  font-size: 12px;
  padding: 10px;
  border-radius: 4px;
  background-color: #e8ffe8;
  color: #2a7a2a;
  margin: 10px 0;
  font-family: sans-serif;
  font-weight: 600;
  display: none;
}

.swagger-ui .auth-shared {
  margin-top: 10px;
}

.swagger-ui .auth-container input[type=text],
.swagger-ui .auth-container input[type=password] {
  min-width: 230px;
  width: 100%;
}

.swagger-ui .auth-container .scope-row {
  margin: 4px 0;
}
.swagger-ui .auth-container .scope-row input[type=checkbox] {
  min-width: auto;
  width: auto;
  margin-right: 6px;
}
.swagger-ui .auth-container .scope-desc {
  color: #6b6b6b;
  margin-left: 6px;
  font-style: italic;
}
