/* Swagger Custom css */
/* Overwriting some default styles, in order to make them fit into the new template */

.swagger-ui h1 a,
.swagger-ui h2 a,
.swagger-ui h3 a,
.swagger-ui h4 a,
.swagger-ui h5 a,
.swagger-ui h6 a {
    color: #2F9EC2 !important;
    font-weight: bold;
}

.swagger-ui .info .title small pre {
    /* api version next to name */
    margin: 0;
    font-family: Titillium Web, sans-serif;
    color: #fff;
    background: none;
    border: none;
    padding: 0;
    font-size: 9px;
    display: block;
}

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

.swagger-ui .info a {
    color: #2F9EC2;
}

.swagger-ui .response p {
    color: #333;
}

.swagger-ui .opblock-body pre {
    /* result div */
    max-height: 400px;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    background-color: #fcf6db;
    border: 1px solid #e5e0c6;
    color: #333;
}

.swagger-ui .opblock-body pre span {
    /* swagger css forces color white as important. */
    color: #333 !important;
}

.swagger-ui .response-col_description__inner span {
    background-color: #fcf6db;
    border: 1px solid #e5e0c6;
}

.swagger-ui .info hgroup.main {
    margin: 0;
}

.swagger-ui .tab li {
    font-size: 11px;
}

/* Hiding some elements. The configuration does not allow us to remove */
.swagger-ui .info .base-url,
.swagger-ui .info a > span.url,
.swagger-ui .scheme-container, .swagger-ui .topbar {
    display: none !important;
}

/* in case we want to reduce padding */
.swagger-ui .opblock-tag {
    padding: 5px 0;
    font-size: 20px;
}

.swagger-ui .btn:hover,
.swagger-ui .btn:focus,
.swagger-ui .btn:active {
    background: none;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    border: 2px solid #888;
    color: inherit;
}

.swagger-ui .btn.cancel:hover,
.swagger-ui .btn.cancel:focus,
.swagger-ui .btn.cancel:active {
    border-color: #ff6060;
    color: #ff6060;
}

@media only screen and (max-width: 1024px) {
    .swagger-ui .opblock .opblock-summary {
        display: block;
    }

    .swagger-ui .opblock .opblock-summary-operation-id, .swagger-ui .opblock .opblock-summary-path, .swagger-ui .opblock .opblock-summary-path__deprecated {
        display: inline;
        word-wrap: break-word;
    }
}

@media only screen and (max-width: 425px) {
    .swagger-ui .opblock .opblock-section-header, .swagger-ui .opblock .opblock-section-header label {
        display: block;
    }

    .swagger-ui .opblock .opblock-summary-description {
        padding-top: 10px;
    }

    .swagger-ui .opblock-tag {
        font-size: 16px;
    }

    .swagger-ui .opblock-tag small {
        font-size: 12px;
    }
}

@media only screen and (max-width: 320px) {
    .swagger-ui .opblock .opblock-section-header, .swagger-ui .opblock .opblock-section-header label {
        display: block;
    }

    .swagger-ui .opblock .opblock-summary {
        display: block;
    }

    .swagger-ui .opblock .opblock-summary-operation-id, .swagger-ui .opblock .opblock-summary-path, .swagger-ui .opblock .opblock-summary-path__deprecated {
        font-size: 13px;
        display: block;
        padding-top: 5px;
        padding-left: 0;
        word-wrap: break-word;
    }

    .swagger-ui .opblock .opblock-summary-description {
        padding-top: 2px;
    }

    .swagger-ui .tab {
        display: none;
        padding-top: 10px
    }

    .swagger-ui .body-param {
        padding-top: 10px
    }

    select {
        width: 145px;
    }

    .swagger-ui .opblock-body select {
        min-width: 145px;
    }

    .swagger-ui section.models {
        display: none;
    }

}