/** API */
.api {
    position: relative;
    border-radius: 3px;
    background: #fff;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.api-header {
    display: block;
    padding: 10px;
    position: relative;
}

.api-header .api-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
}

.api-header .api-text {
    position: absolute;
    right: 10px;
    top: 5px;
    float: right;
}

.api-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
    box-sizing: border-box;
}

.api-label {
    display: inline;
    padding: 4px 4px 3px 4px;
    font-size: 90%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
}

.api-body h1 {
    font-size: 2rem;   
}

.api-body h2 {
    font-size: 1.44rem;   
}

.api-body h3 {
    font-size: 1.17rem;   
}

.api-header code {  
    padding: 2px 4px;
    font-size: 90%;
    color: #333;
    background-color: #f9f2f4;
    border-radius: 4px;
}

.api pre {
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.table .param {
    width: 25%;
}   

/** API - GET method */
.api.api-get {
    border: 1px solid #00c0ef;
}

.api-get .api-header {
    color: #fff;
    background-color: #00c0ef;
}

.api-get .api-label {
    background-color: #0073b7 !important;
    color: #fff !important;
}

/** API - POST method */
.api.api-post {
    border: 1px solid #00a65a;
}

.api-post .api-header {
    color: #fff;
    background-color: #00a65a;
}

.api-post .api-label {
    background-color: #008d4c !important;
    color: #fff !important;
}

.api-post h1,
.api-post h2,
.api-post h3 {
    color: #008d4c;
}
