html {
  box-sizing: border-box;
  overflow: -moz-scrollbars-vertical;
  overflow-y: scroll;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

/* ===== swagger overrides =======
/* these elements are auto-generated by swagger JScript builder. We tweak/hide them with CSS */
.swagger-ui {
  font-family: 'Work Sans', sans-serif !important;
  color: #222222 !important;
}

.swagger-ui .info {
  margin: 20px 0 0 0;
}

/* Hide swagger top bar */
.swagger-ui.swagger-container .topbar {
  display: none;
}

/* Hide swagger sub-bar */
.information-container.wrapper {
  display: none;
}

/* For enum parameters, hide the explanation piece, it's redundant */
.parameter__enum.markdown {
  display: none;
}

/* hide the `errors` model section at the very bottom, might be confusing for end users */
.models.is-open {
  display: none;
}

/*
  hide the content-type parameter auto generated by swagger, redundant since we already declare
  it in th params
 */

.swagger-ui .body-param-options {
  display: none;
}

.swagger-ui .parameters-col_description input[type='text'] {
  max-width: 500px;
}

/* =========== */

/* styleName: Body / Regular; */
body {
  background: white;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  letter-spacing: 0em !important;
  text-align: left !important;
  color: #516670 !important;
  margin: 0;
}
/* styleName: H / H1 / Regular; */
h1 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 48px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 56px !important;
  letter-spacing: 0em !important;
  text-align: left !important;
  color: #222222 !important;
}
/* styleName: H / H2 / Regular; */
h2 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 28px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  letter-spacing: 0em !important;
  text-align: left !important;
  color: #222222 !important;
  margin: 0;
}
/* styleName: H / H3 / Regular; */
h3 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  letter-spacing: 0em !important;
  text-align: left !important;
  color: #222222 !important;
  margin: 25px 0;
}
.sidenav {
  flex-grow: 2;
  min-width: 200px;
  flex-basis: 200px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #232323;
  overflow-x: auto;
  height: 100%;
}

.sidenav .logo-wrapper {
  background-color: black;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  margin-bottom: 12px;
}

/* Style the sidenav links and the dropdown button */
.sidenav a {
  padding: 8px 16px;
  display: block;
  border: none;
  width: 85%;
  margin: auto;
  cursor: pointer;
  outline: none;

  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: left;
  text-decoration: none;
  color: #cfd8dc;
}

.sidenav a.orange,
.sidenav a.orange:hover {
  color: #F57706;
}

/* On mouse-over */
.sidenav a:hover {
  background-color: #171717;
}

.sidenav a.active {
  background-color: black;
  color: #7088f0;
  border-radius: 3px;
}

.sidenav hr {
  border-top: 1px solid rgb(175, 175, 175);
  border-bottom: none;
  border-radius: 0.5px;
}

/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}

.api-doc-table table,
.api-doc-table tr,
.api-doc-table th,
.api-doc-table td {
  border-collapse: collapse;
  padding: 5px;
  border: 1px solid black;
  text-align: center;
}

.main-wrapper {
  display: flex;
}

.main-content a {
  color: #7088f0;
  &:hover {
    text-decoration: underline;
  }
}

.api-doc-header {
  display: flex;
  padding: 0px 30px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.api-doc-section-header {
  padding: 20px 0 20px 30px;
}

#overview {
  .api-doc-section-header{
    padding: 0 0 20px 30px;
  }
}

.api-doc-section-content {
  padding: 0 30px 0 30px;
  border-top: 1px solid #cfd8dc;
  border-bottom: 1px solid #cfd8dc;
}

.main-content {
  width: 100%;
  margin-left: 200px;
  flex-grow: 2;
  border: 1px solid #cfd8dc;
  overflow-x: scroll;
}

.code {
  background-color: #f6f8fa;
  font-family: 'Courier', 'monospace';
  overflow-x: scroll;
}

.code-block {
  background-color: #f6f8fa;
  display: block;
  font-family: 'Courier', 'monospace';
}

.important {
  color: #7088f0;
  font-weight: bold;
}

.main-content a {
  text-decoration: none;
  cursor: pointer;
}

#last-item-page {
  padding-bottom: 50%;
}

.endpoint-description {
  display: flex;
  justify-content: space-between;
}

.endpoint-description h4 {
  font-size: 14px !important;
  color: red !important;
}

.endpoint-description div {
  width: 80%;
}

.endpoint-description p {
  margin-bottom: 10px !important;
}

.opblock-description-wrapper {
  box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.apiCallExample {
  display: none;
  padding: 6px 12px;
  border: 0 1px 1px 1px solid #ccc;
  margin-top: 0px;
}

.apiCallTabLink {
  width: 25%;
}
