﻿html {
    scroll-behavior: smooth;
}

body {
    counter-reset: section;
}

.swagger-ui .topbar {
    background-color: rgb(42, 63, 84);
    color: #fff;
}

.swagger-ui img {
    display: none !important;
}

.swagger-ui label {
    color: unset !important;
}

.swagger-ui .topbar a span {
    padding: unset !important;
}

.swagger-ui .topbar .download-url-wrapper .select-label select {
    border: unset !important;
}

.swagger-ui select {
    border-radius: unset !important;
}

.swagger-ui .info {
    margin: 20px 0 !important;
}

.swagger-ui .filter .operation-filter-input {
    margin: 10px 0;
    border: 1px solid rgb(216, 221, 231);
}

.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 {
    border-radius: unset !important;
}

.swagger-ui .btn {
    border-radius: unset !important;
}

.swagger-ui .opblock {
    border-radius: unset !important;
}

    .swagger-ui .opblock .opblock-summary-method {
        border-radius: unset !important;
    }

.swagger-ui .opblock-body pre {
    border-radius: unset !important;
}

.swagger-ui .response-col_description__inner div.markdown, .swagger-ui .response-col_description__inner div.renderedMarkdown {
    border-radius: unset !important;
}


.swagger-ui section.models {
    border-radius: unset !important;
}

    .swagger-ui section.models .model-container {
        border-radius: unset !important;
        margin: 0 5px 5px;
    }

        .swagger-ui section.models .model-container:first-of-type {
            margin: 0 5px 5px;
        }

        .swagger-ui section.models .model-container:last-of-type {
            margin: 0 5px 5px;
        }


.opblock-tag > a > span::before {
    counter-increment: section;
    content: counter(section);
    display: inline-block;
    color: #fff;
    background: rgb(42, 63, 84);
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    width: 30px;
    height: 30px;
}

.swagger-ui section.models.is-open {
    padding: unset !important;
}

#btn-page-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 25px;
    border-radius: 50%;
    background: url(cd-top-arrow.svg) no-repeat center 50% rgb(42, 63, 84);
    opacity: .6;
}

    #btn-page-top:hover {
        opacity: 1;
    }
