﻿/* Reduce the vertical padding of the header block */
.swagger-ui .info {
    margin: 20px 0;
}
    .swagger-ui .info hgroup.main {
        margin: 0 0 10px;
    }

/* Reduce the vertical padding of the header scheme block */
.swagger-ui .scheme-container {
    padding: 10px 0;
}

/* Reduce the vertical padding of the response description */
.swagger-ui .renderedMarkdown p {
    margin: auto;
}

/* Add padding bottom to response description rows */
.swagger-ui .response-col_description {
    padding-bottom: 10px;
}

/* Add a right padding to the parameter name */
.swagger-ui tr .parameters-col_name {
    padding-right: 20px !important;
}

/* Set full width for the authorization bearer input */
.swagger-ui .auth-container input[type=text] {
    width: 100%;
    max-width: none;
}

/* Add space between authorization logout button and close button */
.swagger-ui .auth-container .button {
    margin-right: 10px;
}

/* Customize margin on the authorization window */
.swagger-ui .modal-ux-content {
	padding: 10px !important;
}

.swagger-ui .auth-container h4 {
    margin: 5px 0 !important;
}

/* Hide scope definition on the authorization window */
.swagger-ui .auth-container .scope-def {
    display: none;
}

/* Hide clientid on the authorization window */
.swagger-ui .auth-container .wrapper:has(label[for="client_id"]) {
    display: none;
}

/* Hide flow on the authorization window */
.swagger-ui .auth-container .flow {
    display: none;
}

/* Break long error messages */
.errors {
    word-break: break-all;
}

/* Others */

.display-none {
    display: none;
}