/* General styles */
html {
    box-sizing: border-box;
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* Shared styles for Swagger UI elements to make darkmode text white*/
.swagger-ui .scheme-container,
.swagger-ui .opblock .opblock-section-header,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .tab li button.tablinks,
.md-typeset ol li:last-child, .md-typeset ul li:last-child,
.swagger-ui .response-col_status,
.swagger-ui .response-col_links,
.swagger-ui .btn,
.swagger-ui .response-control-media-type__accept-message,
.swagger-ui table tbody tr td,
.swagger-ui,
.swagger-ui .info .title,
.swagger-ui a.nostyle, .swagger-ui a.nostyle:visited,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .opblock-external-docs-wrapper p,
.swagger-ui .opblock-title_normal p,
.swagger-ui .parameter__type,
.swagger-ui .parameter__name,
.swagger-ui table thead tr td, .swagger-ui table thead tr th,
.swagger-ui .parameter__extension, .swagger-ui .parameter__in,
.swagger-ui .prop-format,
.swagger-ui .opblock-description-wrapper,
.swagger-ui .opblock-external-docs-wrapper,
.swagger-ui .opblock-title_normal,
.swagger-ui section.models h4 span,
.swagger-ui .model-title,
.swagger-ui .prop-type,
.swagger-ui .responses-inner h4, .swagger-ui .responses-inner h5,
.swagger-ui .response-col_status .response-undocumented,
.swagger-ui .model .property.primitive,
.swagger-ui .model,
.swagger-ui .dialog-ux .modal-ux-header h3,
.swagger-ui .dialog-ux .modal-ux-content h4,
.swagger-ui .dialog-ux .modal-ux-content p,
.swagger-ui label,
.swagger-ui .opblock .tab-header .tab-item.active h4 span,
.swagger-ui .opblock .opblock-section-header h4,
.swagger-ui .markdown p, .swagger-ui .markdown pre,
.swagger-ui .renderedMarkdown p,
.swagger-ui .renderedMarkdown pre {
    color: var(--md-typeset-color);
}

.swagger-ui .scheme-container,
.swagger-ui .opblock .opblock-section-header {

	background-color: var(--md-default-bg-color);
}

.swagger-ui .opblock .opblock-summary-description {

    text-align: right;
    padding-right: 20px;
}

.swagger-ui .parameter__name.required span,
.swagger-ui .parameter__name.required:after {
    color: #ff4747;
}

/* Schema area */
.swagger-ui .responses-inner {
    color: var(--md-typeset-color);
}

.md-typeset small {
    opacity: .9;
}

/* Modal fixes */
.swagger-ui .dialog-ux .modal-ux {
    background-color: var(--md-default-bg-color);
}

/* Input styles */
.swagger-ui input[type=email],
.swagger-ui input[type=file],
.swagger-ui input[type=password],
.swagger-ui input[type=search],
.swagger-ui input[type=text],
.swagger-ui textarea {
    color: black;
}

/*this is for swagger UI*/

.highlight-code>pre>code.language-json, .highlight-code>pre>code.language-bash {

    background-color: #222529 !important;
    color: white !important;
}
/*
pre {
    border-radius: 12px;
    padding: 10px 0;
	color: var(--md-typeset-color) !important;
}

/*this is for swagger UI*/

pre.microlight {
    color: white !important;
} */

/*this is to hide content (contact developer) in the raw Swagger Yaml file*/
.info__contact {
    display: none;
}

table.parameters>thead>tr {

	background-color: var(--tr-odd-background) !important;
}

tr.responses-header {

	background-color: var(--tr-odd-background) !important;
    color: var(--thead-font) !important;
}