﻿/* Navigation bar */
.swagger-ui .topbar {
    background-color: #373A3C;
    line-height: 1.5;
    padding-bottom: 1em;
}

/* Vitec logo */
.swagger-ui img {
    content: url("/images/nav-logo.svg");
}

/* Specification label */
.download-url-wrapper .select-label {
    color: #FFF;
}

/* Specification dropdown */
#select {
    border: none;
}

/* Links/URLs */
.swagger-ui .info a {
    color: #911830;
}

/* Authorize button */
.swagger-ui .auth-wrapper .authorize {
    color: #FFF;
    border-color: none;
    background-color: #49cc90;
}

/* Lockpad open */
.swagger-ui .btn.authorize svg, .swagger-ui .authorization__btn.unlocked {
    fill: #FFF;
    opacity: 1;
}

/* Lockpad closed */
.swagger-ui .btn.authorize.locked svg, .swagger-ui .authorization__btn.locked {
    fill: #000;
    opacity: 0.8;
}

/* Response types dropdown */
div .swagger-ui .response-content-type {
    display: none;
}

/* Execute button (within "Try it out") */
.swagger-ui .btn.execute {
    background-color: #646771;
    border: none;
    font-size: 1em;
}

/* Wrapper for execute button (within "Try it out") */
.swagger-ui .execute-wrapper {
    text-align: center;
    padding: 0 0 10px 0;
}

    .swagger-ui .execute-wrapper .btn {
        width: 90%;
    }

/* Clear button (within "Try it out") */
.swagger-ui .btn-group .btn:last-child {
    margin-left: 2em;
    width: 25%;
    background-color: #646771;
    border: none;
    color: #FFF;
}

/* Input field (within "Try it out") */
.swagger-ui .parameters-col_description input[type=text] {
    margin-top: 0;
    max-width: 75%;
}

/* Hide placeholder text */
::-webkit-input-placeholder {
    color: transparent;
}

:-moz-placeholder { /* Firefox 18- */
    color: transparent;
}

::-moz-placeholder { /* Firefox 19+ */
    color: transparent;
}

:-ms-input-placeholder {
    color: transparent;
}

/* Textarea (within "Try it out") */
.swagger-ui textarea {
    min-height: 120px;
}

/* Accept header */
.swagger-ui .response-content-type.controls-accept-header select {
    border: 2px solid #41444e;
}

/* Links column */
.swagger-ui .response-col_links {
    display: none;
}

/* First column */
.swagger-ui table tbody tr td:first-of-type {
    font-size: 1.1em;
    min-width: 6em;
    width: 6em;
}

/* First column */
.swagger-ui table.model tbody tr td:first-of-type {
    padding: 0.2em 0 0 1em;
}

/* Response markdown (code descriptions) */
.swagger-ui .response-col_description__inner div.markdown p, .swagger-ui .response-col_description__inner div.renderedMarkdown p {
    font-size: 1.1em;
    font-style: normal;
}

/* Highlighted code (JSON) */
.swagger-ui .highlight-code > .microlight {
    min-height: 1em;
}

/* Highlighted code download button */
.swagger-ui .download-contents {
    background: #646771;
    border-radius: 4px;
    font-size: 13px;
    padding: 6px 5px 6px 5px;
    right: 25px;
    top: 2px;
    width: 90px;
}

/* Model expandable attribute */
.swagger-ui .model-title {
    font-size: 14px;
}

/* Authorization modal input field */
.swagger-ui .auth-container input[type=password], .swagger-ui .auth-container input[type=text] {
    min-width: 95%;
}

/* Authorization modal paragraph */
.swagger-ui .dialog-ux .modal-ux-content {
    padding: 0;
}

    .swagger-ui .dialog-ux .modal-ux-content p {
        margin: 0 0 10px;
    }

/* GET, POST, PATCH, DELETE coloring schemes */
.swagger-ui .opblock.opblock-delete .opblock-summary-method, .swagger-ui .opblock.opblock-post .opblock-summary-method, .swagger-ui .opblock.opblock-patch .opblock-summary-method, .swagger-ui .opblock.opblock-get .opblock-summary-method {
    background: inherit;
}

.swagger-ui .opblock .opblock-summary-description, .swagger-ui a.nostyle, .swagger-ui a.nostyle:visited {
    color: #212529;
}

/* Get */
.swagger-ui .opblock.opblock-get {
    border-color: #94C9FE;
    background-color: #CBEEFA;
}

    .swagger-ui .opblock.opblock-get .opblock-summary {
        background-color: #94C9FE;
    }

    .swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after {
        background-color: #94C9FE;
    }

/* Post */
.swagger-ui .opblock.opblock-post {
    border-color: #85DCB4;
    background-color: #CAF5E2;
}

    .swagger-ui .opblock.opblock-post .opblock-summary {
        background-color: #85DCB4;
    }

    .swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after {
        background-color: #85DCB4;
    }

/* Patch */
.swagger-ui .opblock.opblock-patch {
    border-color: #89ECD6;
    background-color: #C7F5E9;
}

    .swagger-ui .opblock.opblock-patch .opblock-summary {
        background-color: #89ECD6;
    }

    .swagger-ui .opblock.opblock-patch .tab-header .tab-item.active h4 span:after {
        background-color: #89ECD6;
    }

/* Delete */
.swagger-ui .opblock.opblock-delete {
    border-color: #FA7D7D;
    background-color: #FFE0E3;
}

    .swagger-ui .opblock.opblock-delete .opblock-summary {
        background-color: #FA7D7D;
    }

    .swagger-ui .opblock.opblock-delete .tab-header .tab-item.active h4 span:after {
        background-color: #FA7D7D;
    }