/* Schema.org Term Page Styles */

/* Main content container */
#mainContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

/* Breadcrumb navigation */
.breadcrumbs {
    font-size: 12px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 5px;
}

/* Type/Property header */
h1 {
    font-size: 1.6em;
    color: #900;
    margin-bottom: 10px;
    font-weight: normal;
}

/* Subtitle */
h2 {
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Property tables */
.definition-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.definition-table th,
.definition-table td {
    padding: 0.5em;
    text-align: left;
    border-top: 1px solid #ddd;
    vertical-align: top;
}

.definition-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    width: 20%;
}

.definition-table td {
    background-color: #fff;
}

/* Property names in tables */
.definition-table a {
    font-family: 'Courier New', monospace;
    color: #0000cc;
    text-decoration: none;
}

.definition-table a:hover {
    text-decoration: underline;
}

/* Property links */
.localLink {
    color: #0000cc;
    text-decoration: none;
    font-family: 'Courier New', monospace;
}

.localLink:hover {
    text-decoration: underline;
}

/* External links */
a.external {
    color: #0066cc;
    text-decoration: none;
}

a.external:hover {
    text-decoration: underline;
}

/* Supertype chain */
.supertype-chain {
    margin: 10px 0;
    font-size: 14px;
}

.supertype-chain a {
    color: #0066cc;
    text-decoration: none;
}

/* Property lists */
.property-list {
    margin: 20px 0;
}

.property-list h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.property-list ul {
    list-style: none;
    padding: 0;
}

.property-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

/* Examples section */
.examples {
    margin: 30px 0;
}

.example {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.example h3 {
    margin-top: 0;
    color: #666;
    font-size: 14px;
}

/* Code blocks */
pre {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    overflow-x: auto;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
}

code {
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    background-color: #f5f5f5;
    padding: 2px 4px;
}

/* Tab navigation for examples */
.example-tabs {
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
}

.example-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.example-tabs li {
    margin-right: 10px;
}

.example-tabs a {
    display: block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    text-decoration: none;
    color: #333;
}

.example-tabs a.active,
.example-tabs a:hover {
    background-color: #fff;
}

.example-content {
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
}

/* Property type badges */
.prop-type {
    display: inline-block;
    padding: 2px 8px;
    background-color: #e9e9e9;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
}

/* Deprecated/Superseded warnings */
.warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

/* Notes and comments */
.note {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

/* Footer spacing */
#footer {
    margin-top: 50px;
    padding: 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    #mainContent {
        padding: 10px;
    }
    
    .definition-table {
        font-size: 12px;
    }
    
    .definition-table th,
    .definition-table td {
        padding: 5px;
    }
}