/* style for main content and sidebar */

html, body {
	font-family: Verdana, Arial, sans-serif;
	margin: 0px;
	padding: 0px;
}

#main {
	float: right;
	width: 78%;
	padding: 0% 1% 1% 1%;
}

#toc {
    top: 0px;
    left: 0px;
    height: 100%;
    position: fixed;
    background: #E9EEE0;
    width: 20%;
    padding-top: 10px;
	overflow: auto;
}

#toc ul {
    margin: 0;
    padding: 0px 0px 10px 0px;
    list-style: none;
}

#toc li {
    padding: 4px 10px;
}

#toc a {
    color: #5A5A5A;
    text-decoration: none;
    display: block;
}

#toc .toc-h1:hover,
#toc .toc-h2:hover,
#toc .toc-h3:hover,
#toc .toc-h4:hover {
    background-color: #5A5A5A;
}

#toc .toc-h1:hover > a,
#toc .toc-h2:hover > a,
#toc .toc-h3:hover > a,
#toc .toc-h4:hover > a {
    color: #FFF;
}

#toc .toc-h1 {
	font-weight: 700;
	margin-bottom: 6px;
}

#toc .toc-h2 {
    padding-left: 10px;
}

#toc .toc-h3 {
    padding-left: 20px;
}

#toc .toc-h4 {
    padding-left: 30px;
}

#toc .toc-h4 > a {
	font-size: 0.9em;
}

#toc .toc-active {
    background: #809B55;
}

#toc .toc-active > a {
	color: #FFF;
}

#tower {
    float: right;
    padding: 13px 13px 0px 0px;
}

a:link, a:visited {
	color: #5A5A5A;
}

h1 {
	font-size: 1.6em;
}

h2 {
	font-size: 1.4em;
    border-bottom: solid 1px #000;
}

h3 {
	font-size: 1.2em;
	border-bottom: solid 1px #999;
}

h4 {
	font-size: 1.1em;
    margin: 18px 0px;
}

h4 > code {
	font-size: 18px;
}

h5 {
    font-size: 1em;
    font-weight: 700;
    color: #5A5A5A;
    margin: 16px 0px 16px 20px;
    border-bottom: solid 2px #E9EEE0;
}

h5 ~ p, h5 ~ pre, h5 ~ ol {
    margin-left: 40px;
}

code {
    font-size: 16px;
    font-family: "Courier New", monospace;
}

p, pre {
    margin-left: 20px;
}

pre {
    white-space: pre-wrap;
}

ul {
	padding-left: 60px;
}

.collection-level {
    display: inline;
}

.item-level {
    display: none;
}

.status {
	font-size: 80%;
}

.required {
	color: #697F46;
}

.required-if {
	color: #809B55;
}

.not-implemented {
	color: #999;
}

.element {
    border-bottom: solid 2px #CCC;
}

.element-section {
    margin-bottom: 20px;
}

.xml-comment {
    color: #006400;
}

.lc-link > a {
    color: #006EAB;
    font-size: 80%;
    float: right;
    padding: 3px 8px 0px 0px;
    text-decoration: none;
}

.lc-link img {
    padding-right: 4px;
    vertical-align: -15%;
}

.new, .updated {
    color: maroon;
    font-style: italic;
    font-weight: bold;
}

p[class="mappings"] > a::after {
    content: url(rdalink.png);
    padding: 0px 1px 0px 4px;
}

a[class="pcclink"]::after {
    content: url(lcpslink.png);
    padding: 0px 1px 0px 4px;
}

/* local hljs style */

.hljs {
    display: block;
    overflow: auto;
    padding: 0.5em;
    color: #333;
    background: #F3F3F3;
}

.hljs-comment,
.hljs-template_comment,
.diff .hljs-header,
.hljs-javadoc {
    color: #006400;
}

.hljs-string,
.hljs-tag .hljs-value,
.hljs-phpdoc,
.tex .hljs-formula {
    color: #993300;
}

.hljs-tag,
.hljs-tag .hljs-title,
.hljs-rules .hljs-property,
.django .hljs-tag .hljs-keyword {
    color: #000096;
}

.hljs-attribute,
.hljs-variable,
.lisp .hljs-body {
    color: #5F723F;
}

.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-shebang {
    color: #8B26C9;
}

.hljs-doctype {
    color: #0000FF;
}

.hljs-cdata {
    color: #008C00;
}
