﻿/* Hide "Swagger" Span*/
#logo span {
    visibility: hidden !important;
}

/* Set Swagger Explore Button style */
.header__btn {
    display: inline-block !important;
    font-weight: 400 !important;
    color: #fff !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    background-color: transparent !important;
    border: 1px solid #b0aeae !important;
    line-height: 1.5 !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 0.25rem !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    /*background-color: #007bff !important;*/
}

    .header__btn:hover {
        color: #fff !important;
        background-color: #007bff !important;
        border-color: #fff !important;
    }

    .header__btn:focus, .btn.focus {
        outline: 0 !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5) !important;
    }

    .header__btn.disabled, .header__btn:disabled {
        opacity: 0.65 !important;
        color: #007bff !important;
        background-color: transparent !important;
    }

    .header__btn:not(:disabled):not(.disabled):active, .header__btn:not(:disabled):not(.disabled).active {
        color: #fff !important;
        background-color: #007bff !important;
        border-color: #808080 !important;
    }

        .header__btn:not(:disabled):not(.disabled):active:focus, .header__btn:not(:disabled):not(.disabled).active:focus {
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5) !important;
        }

a.header__btn.disabled {
    pointer-events: none !important;
}

/* Substitute Swagger icon with loading gif */
.logo__img {
    background: url(/Content/Images/loading.gif) no-repeat;
    display: block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 2px;
    width: 30px;
    padding-left: 30px;
}
/* Set Swagger header background */
.swagger-section #header {
    background-color: #007bff;
    padding: 14px;
}
.swagger-section .swagger-ui-wrap .markdown h5 {
    margin-top: 1em;
    margin-bottom: 1em;
    color: #666666;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h5 {
    color: #c4780a;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h5 {
    color: #aa8e15;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h5 {
    color: #5e090b;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h5 {
    color: #08622b;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h5 {
    color: #a15014;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h5 {
    color: #0c5188;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content h5 {
    color: #03233d;
}