﻿/*Fix strange margin on generated markdown in swagger ui*/
.swagger-ui .renderedMarkdown p{
    margin-left: 0 !important;
}
/*Hide auth button if user has set this to true in the backoffice*/
.hide-auth .auth-wrapper{
    display: none !important;
}
.hide-auth .scheme-container:has(.auth-wrapper){
    /*Hide the parent wrapper, the :has clause is making sure .scheme-container will still show up if it does not contain a .auth-wrapper element*/
    display:none;
}
/*Fix content space allocation*/
.open-api-component{
    text-align: center;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}
.swagger-ui-container .wrapper{
    padding: 0;
}
@media only screen and (max-width: 1679px){
    .swagger-ui-wrapper{
        width: auto;
        display: block;
    }
}
@media only screen and (min-width: 1024px){
    .service-navigation-active .open-api-component{
        padding-right: calc(20px + var(--main-scroll-bar-width));
    }
}