/* Header */

html body .swagger-ui .topbar {
  background-color: white !important;
  font-size: 18px;
  font-weight: 400;
  padding: 0em;
}

html body #swagger-ui > .swagger-ui.swagger-container {
  margin-top: 50px;
}

html body .swagger-ui .topbar select {
  height: 3em;
  padding-left: 1em;
}

html body .swagger-ui .topbar .link img {
  display: none;
}

html body .swagger-ui .topbar .link {
  display: inline-block;
  background: url("../../common/images/NHN_Logo_Dark_Green.png") no-repeat;
  background-size: 100%;
  background-position: left 0em top 0.5em;
  width: 20em;
  padding: 1em 0em;
  margin: 0em;
  flex: 0 0 10em;
}

html body .swagger-ui .topbar .download-url-wrapper .select-label {
  color: #015945;
}

html body .swagger-ui select:focus {
  /* ReSharper disable twice InvalidValue */
  box-shadow: inset 0 1px 2px hsl(240deg 7% 81% / 20%), 0 0 4px rgb(121 88 159 / 30%);
  border-color: #015945;
  outline: 0;
}

/* center whole page */

html body #swagger-ui .swagger-ui {
  margin-top: 75px;
  margin-bottom: 75px;
}

html body #swagger-ui {
  display: flex;
  width: 100%;
  margin-right: auto;
  margin-left: auto;

  justify-content: space-between;
  align-items: center;
}

html body #swagger-ui {
  padding-left: 25px;
  padding-right: 25px;
}

@media (min-width: 640px) {
  html body #swagger-ui {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (min-width: 1024px) {
  html body #swagger-ui {
    padding-left: 75px;
    padding-right: 75px;
  }
}

@media (min-width: 1280px) {
  html body #swagger-ui {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 640px) {
  html body #swagger-ui {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  html body #swagger-ui {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  html body #swagger-ui {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  html body #swagger-ui {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  html body #swagger-ui {
    max-width: 1536px;
  }
}

/* dropdowns */

html body .swagger-ui select,
html body .swagger-ui select[multiple] {
  line-height: 1em;
  color: #015945;
  border-radius: 3px;
  /* ReSharper disable once InvalidValue */
  box-shadow: inset 0 1px 2px hsl(240deg 7% 81% / 40%);
  border: 1px solid #dcddde;
  background-color: #fff;
  transition: border-color .1s ease-in-out,box-shadow .1s ease-in-out;
}

/* common elements inside rendered text */

html body .swagger-ui .info pre,
html body .swagger-ui .info b,
html body .swagger-ui .info a,
html body .swagger-ui .info p,
html body .swagger-ui .info table,
html body .swagger-ui .info .url,
html body .swagger-ui .info li {
  font-size: 16px;
}

html body .swagger-ui .info h1,
html body .swagger-ui .info h2,
html body .swagger-ui .info h3,
html body .swagger-ui .info h4,
html body .swagger-ui .info h5,
html body .swagger-ui .info p,
html body .swagger-ui .info table,
html body .swagger-ui .info li
{
  font-family: Arial, sans-serif;
  color: rgb(0, 41, 32);
  line-height: 1.4em;
}
html body .swagger-ui .info .version {
  line-height: 1.2em;
}

html body .swagger-ui .markdown code,
html body .swagger-ui .renderedMarkdown code
{
  color:rgb(0, 41, 32);
}

/* buttons */

html body .swagger-ui .auth-wrapper .btn {
  border-color: rgb(2, 166, 127);
  border-width: 2px;
  text-decoration: none;
  margin-bottom: 0.8em;
  margin-right: 0.8em;
  border-radius: 500px;
  font-weight: 400;
  font-size: 18px;
  min-height: 50px;
}

html body .swagger-ui .auth-wrapper .btn:hover {
  background-color: rgb(2, 166, 127);
  color: white;
}

/* Hide server list */
html body .swagger-ui .scheme-container .servers-title,
html body .swagger-ui .scheme-container .servers {
    display: none;;
}

html body .swagger-ui .scheme-container {
  box-shadow: none;
  padding: 0em;
  margin: 0em;
}

/* Colors of API endpoints */

html body .swagger-ui .opblock-summary-get {
  border-color: #00467A;
  background: #90DDFA;
}
html body .swagger-ui .opblock-summary-get a,
html body .swagger-ui .opblock-summary-get .opblock-summary-description {
  color: #002920;
}

html body .swagger-ui .opblock-summary-post {
  border-color: #002920;
  background: #C4F2DA;
}
html body .swagger-ui .opblock-summary-post a,
html body .swagger-ui .opblock-summary-post .opblock-summary-description {
  color: #002920;
}

html body .swagger-ui .opblock-summary-delete {
  border-color: #6B1E27;
  background: #D48282;
}
html body .swagger-ui .opblock-summary-delete a,
html body .swagger-ui .opblock-summary-delete .opblock-summary-description {
  color: #000000;
}

html body .swagger-ui .opblock-summary-head {
  border-color: #372770;
  background: #C0A9FF;
}
html body .swagger-ui .opblock-summary-head a,
html body .swagger-ui .opblock-summary-head .opblock-summary-description {
  color: #000000;
}

html body .swagger-ui .opblock-body pre.microlight {
  font-size: 14px;
}

html body .swagger-ui .opblock-tag-section {
  border: 1px solid rgba(59,65,81,.3);
  border-radius: 4px;
  padding: 0em 1em;
}

html body .swagger-ui section.models.is-open {
  padding: 0em 1em;
}

/* schemas */

html body .swagger-ui .model {
  font-size: 16px;
  font-family: Arial, sans-serif;
}

html body .swagger-ui section.models .model-container {
  background-color: white;
  border: 2px solid rgb(2, 166, 127)
}

html body .swagger-ui section.models .model-container:hover {
  background-color: rgb(196, 242, 218);
}

html body .swagger-ui section.models .model-container .model-box,
html body .swagger-ui section.models .model-container .model-box .model-box-control
{
  width: 100%;
}

html body .swagger-ui section.models .model-container .pointer {
  display: inline-block;
}

html body .swagger-ui table.model tr.description {
  color: #000000;
}

html body .swagger-ui .model .property-row td,
html body .swagger-ui .model .property-row td:first-of-type {
  padding: 0.4em 0.4em 0.4em 2em;
}
html body .swagger-ui .model .property-row td:first-child {
  padding-right: 0.2em;
}

html body .swagger-ui .model .model-box-control {
  margin-bottom: 1em;
}
html body .swagger-ui .model .brace-open,
html body .swagger-ui .model .brace-close,
html body .swagger-ui .model .inner-object {
  display: block;
  background-color: white;
  padding: 1em;
}
html body .swagger-ui .model .brace-open {
  border-radius: 0.5em 0.5em 0em 0em;
}
html body .swagger-ui .model .brace-close {
  border-radius: 0em 0em 0.5em 0.5em;
}
html body .swagger-ui .model tr:nth-child(even) {
  background-color: #F1F2F2;
}

/* Common elements */

html body {
  background-color: white !important;
  font-family: Arial, sans-serif !important;
}

html body .swagger-ui .info .title,
html body .swagger-ui h1 {
  font-family: Arial, sans-serif;
  font-size: 53px;
  font-weight: 400;
  color: rgb(0, 41, 32);
}

html body .swagger-ui h2 {
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 400;
  color: rgb(0, 41, 32);
}

html body .swagger-ui section.models.is-open h4 span {
  margin-top: 0.5em;
}

html body .swagger-ui section.models.is-open h4 span,
html body .swagger-ui h3 {
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: rgb(0, 41, 32);
}

html body .swagger-ui h4,
html body .swagger-ui h5 {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgb(0, 41, 32);
}

html body .swagger-ui {
  font-family: Arial, sans-serif;
}

html body .swagger-ui .model-title {
  font-family: Arial, sans-serif;
  color: rgb(0, 41, 32);
  font-size: 18px;
}

*, :after, :before {
  box-sizing: border-box !important;
}
