﻿@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans/Regular/OpenSans-Regular-webfont.eot');
    src: url('fonts/OpenSans/Regular/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans/Regular/OpenSans-Regular-webfont.woff') format('woff'), url('fonts/OpenSans/Regular/OpenSans-Regular-webfont.ttf') format('truetype'), url('fonts/OpenSans/Regular/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 0.9em;
}

body, html {
    height: 100%;
}

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    background-color: #f1f3f3;
    margin: 0;
    padding: 0;
}

input[type='text'], input[type='password'] {
    color: rgb(50, 54, 57) !important;
}

.username-password input {
    width: 250px;
}

.username-password input:first-child {
    margin-bottom: 10px;
}

.hidden {
    display: none;
}

#main {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
}

#left {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 225px;
}

.title {
    height: 50px;
    border-bottom: 1px solid #d8d8d8;
    text-align: center;
}

    .title img {
        max-height: 30px;
        margin-top: 10px;
    }

.content {
    overflow-y: auto;
    border-right: 1px solid #d8d8d8;
    flex: 1;
}

.section-break {
    overflow: auto;
}

    .section-break .section-break-title {
        width: 50%;
        float: left;
        height: 100%;
        font-size: 3em;
        background-color: #fff;
    }

    .section-break .section-break-detail {
        width: 50%;
        float: left;
        color: #fff;
        height: 100%;
    }

#left .link-section {
    padding: 5px;
    color: rgb(50, 54, 57);
    padding: 5px 20px;
    cursor: pointer;
    user-select: none;
}

    #left .link-section:not(.expanded)::after {
        content: ' +';
    }

    #left .link-section:hover {
        background-color: #c3c6cd;
    }

.anchor-links {
    padding-top: 10px;
}

    .anchor-links ul {
        list-style-type: none;
        margin: 0;
        padding-left: 20px;
    }

        .anchor-links ul li {
            margin-bottom: 5px;
            margin-left: 10px;
            font-size: 0.9em;
        }

            .anchor-links ul li a {
                color: rgb(50, 54, 57);
                text-decoration: none;
            }

                .anchor-links ul li a:hover {
                    text-decoration: underline;
                }

#right {
    flex: 3;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}

    #right .content {
        background-color: #182227;
    }

.topic {
    overflow: auto;
    display: flex;
}

    .topic .topic-content, .topic .topic-example {
        padding: 10px;
    }

    .topic .topic-content {
        width: 50%;
        float: left;
        background-color: #fff;
    }



    .topic .topic-examples {
        width: 50%;
        float: left;
        background-color: #182227;
        color: #fff;
        height: 100%;
    }

.topic-title {
    font-size: 1.6em;
    margin-bottom: 20px;
}

    .topic-title a:hover {
        text-decoration: none;
        color: #337ab7;
    }


.code {
    font-family: monospace;
    background-color: #eee;
}

p.code {
    margin: 0;
}

.large-code {
    font-size: 1.3em;
}

.execute-request-button {
    text-align: center;
    margin-bottom: 20px;
}

    .execute-request-button button {
        background-color: #5cb85c;
        color: #fff;
        border: none;
        width: 200px;
        padding: 10px 0;
        cursor: pointer;
    }

pre {
    background-color: #2a3941;
    font-size: 0.8em;
    margin: 0;
}

.example-content textarea {
    display: none;
}
.example-title, .example-content, .example-url {
    margin-bottom: 10px;
}

.example-url, .example-response {
    font-size: 0.8em;
}

.small-title {
    font-size: 0.8em;
}

.request-headers {
    padding: 0 20px;
}


.sub-section {
    border-left: 2px solid #337ab7;
    padding-left: 5px;
}

span.from-body-param {
    color: #5cb85c;
    border: 1px solid #5cb85c;
    border-radius: 3px;
    padding: 0 5px;
    font-size: 0.8em;
    user-select: none;
}

/* tables */
h5 {
    margin-bottom: 0;
    border-bottom: 1px solid #d8d8d8;
}

table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.9em;
    margin-bottom: 40px;
}

    table th {
        width: 35%;
        text-align: right;
        padding-right: 5px;
        vertical-align: top;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        table th > span.sub-type {
            display: block;
            font-weight: normal;
            font-size: 0.8em;
        }

    table td {
        padding-left: 5px;
    }



/* modals */
.modal-content {
    border-radius: 0;
}

.modal-header {
    border-bottom: none;
    color: #2a3941;
}

.modal-footer {
    border-top: none;
}

    .modal-footer button {
        background-color: #2a3941;
        color: #fff;
        border: none;
        padding: 5px 20px;
    }

.modal-body pre {
    background-color: #fff;
    color: #8e8c8d;
}

.modal-body img {
    max-width: 500px;
}

.modal-body textarea {
    width: 100%;
    height: 400px;
}

.copy-to-clipboard {
    float: left;
    width: 160px;
}

.anchor-selected {
    font-weight: bold;
    color: #2574db !important;
}

label.help-topic {
    font-weight: bold;
}


/* code mirror overrides */
.CodeMirror-code {
    
}