﻿body {
    font-family: Segoe UI,SegoeUI,Segoe WP,Helvetica Neue,Helvetica,Tahoma,Arial,sans-serif;
}

table.apiParameters {
    border-collapse: collapse;
    border-spacing: 0;
    margin-left: 3em;
    word-wrap: break-word;
}
table.apiParameters th {
    padding: 12px 16px 12px 16px;
}
table.apiParameters td {
    padding: 4px 16px 4px 16px;
}
table.apiParameters thead {
    font-weight: bold;
}

p.apiNote {
    font-style: italic;
    font-size: smaller;
}

table.response {
    border-collapse: collapse;
    border-spacing: 0;
    word-wrap: break-word;
}

table.response th, table.response td {
    padding: 12px 16px 12px 16px;
}

table.response thead {
    font-weight: bold;
}

.beta {
    color: indigo
}

.future {
    color: grey
}

.label {
    color: darkgrey;
    padding-right: 1em
}


.comment {
    color: green
}

/* subtle explanatory note (eg the OpenAPI download guidance on the index page) */
.hint {
    background-color: #f6f8fa;
    border-left: 3px solid #c0c0c0;
    padding: 0.6em 0.9em;
    margin: 0.6em 0 1.5em 0;
    color: #444;
    max-width: 55em;
}

/* keep the box padding even when it wraps stacked paragraphs */
.hint p:first-child { margin-top: 0; }
.hint p:last-child  { margin-bottom: 0; }

/* highlighted caution box for an APIMethod.Warning caveat (v_WriteCallout) */
.callout {
    background-color: #fff8e1;
    border-left: 4px solid #ef6c00;
    padding: 0.6em 0.9em;
    margin: 0.8em 0 1.2em 0;
    max-width: 55em;
}

/* the caveat's leading label ("Note") reads as a caution heading, not the
   muted inline .label grey used elsewhere */
.callout .label {
    color: #b25000;
    font-weight: bold;
    padding-right: 0.5em;
}

div.jsoncontent {
    font-family: Consolas,"courier new";
    font-size: small;
    background-color: #f1f1f1;
}

div.jsoncontent div.jsoncontent {
    margin-left: 2em;
}

pre pre {
    margin-top: 0;
    margin-bottom: 0;
}

pre div {
    margin-top: 0;
    margin-bottom: 0;
}

div.footer {
    margin-top: 3em;
    margin-left: 5em;
    font-size: small;
    color: grey;
}

.example_label {
    font-size: 1.17em;
    font-weight: bold
}

table.filter {
    border-collapse: collapse;
    border-spacing: 0;
    word-wrap: break-word;
}

.subsection {
    color: black;	
	font-weight: bold
}

td.divider {
	width: 1em
}

/* shared visual language for the relationships table and the attribute doc tables */
table.doc-table,
table.relationships {
    border-collapse: collapse;
    margin: 0.6em 0 1.5em 0;
}

table.doc-table th,
table.doc-table td,
table.relationships th,
table.relationships td {
    padding: 8px 18px;
    border-bottom: 1px solid #e8e8e8;   /* soft horizontal rule between rows */
    text-align: left;
    white-space: nowrap;
}

table.doc-table th,
table.relationships th {
    border-bottom: 2px solid #d0d0d0;   /* slightly stronger rule under the header */
    font-weight: 600;
    color: #333;
}

table.doc-table td.center,
table.doc-table th.center,
table.relationships td.center,
table.relationships th.center {
    text-align: center;
}

table.doc-table tr:hover td,
table.relationships tr:hover td {
    background-color: #f6f8fa;           /* subtle row highlight on hover */
}

/* the Description column wraps (attribute descriptions can be long) */
table.doc-table td.desc {
    white-space: normal;
    color: #444;
}

/* Type-cell anchor links to nested sub-tables */
table.doc-table a,
table.doc-table a:visited {
    color: #0366d6;
    text-decoration: none;
}

table.doc-table a:hover {
    text-decoration: underline;
}

/* sub-table heading carries the dotted-path id anchor */
h3.doc-subtable {
    margin: 1.4em 0 0.2em 0;
    font-family: Consolas,"courier new";
    font-size: 0.95em;
    color: #333;
}

p.doc-subtable-caption {
    margin: 0 0 0.3em 0;
    font-size: 0.85em;
    font-style: italic;
    color: grey;
}

/* HTTP method pill badges (GET green, POST blue, PATCH amber, DELETE red) */
.method {
    display: inline-block;
    padding: 2px 10px;
    margin-right: 4px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.method-get    { background-color: #2e7d32; }
.method-post   { background-color: #1565c0; }
.method-patch  { background-color: #ef6c00; }
.method-delete { background-color: #c62828; }