/*
 * General styles.
 */
body, div, p, ul, li, td, tr {
    background: black;
    color: white;
    font-family: Corbel, Tahoma, Verdana, Arial, Helvetica;
    font-size: 10pt;
}
p {
    margin: 4px 0px 4px 0px;
    padding: 0px 0px 0px 0px;
    line-height: 140%;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 16px 0px 0px 0px;
    padding: 8px 0px 4px 0px;
    color: #E0E0FF;
}
h5 {
    font-weight: bold;
}
ol, ul {
    line-height: 140%;
    margin-top: 0;
    margin-bottom: 0;
}
h1 { font-size: 18pt; }
h2 { font-size: 16pt; }
h3 { font-size: 14pt; }
h4 { font-size: 12pt; font-weight: bold; }
h5 { font-size: 11pt; font-weight: bold; }
h6 { font-size: 10pt; font-weight: bold; }

a:link {
    text-decoration: underline;
    color: #FFC000;
}
a:visited {
    text-decoration: underline;
    color: #C08000;
}
a:hover, a:active, a:focus {
    text-decoration: underline;
    color: #FFFF00;
}
a.download {
    text-decoration: none;
    font-weight: normal;
    font-size: 12pt;
}

div.main_section {
    border: 1px solid #404060;
    padding: 8px 8px 8px 8px;
    margin: 20px auto 0px auto;
    width: 95%;
    text-align: justify;
}

.preformatted {
    font-family: Consolas, Courier, Courier New;
}

hr {
    height: 1px;
    color: #C0C0C0;
    margin: 8px 4px 8px 4px;
}

/* Warning text (for outdated source code, etc) */
.warn {
    background: #101028;
    color: #D1132A;
}

/*
 * Directory listing tables.
 */
table.dirlist {
    width: 90%;
}
td.dirlist {
}
th.dirlist {
    font-weight: bold;
    background-color: #000030;
}
a.dirlist {
    text-decoration: none;
}

/*
 * Header page.
 */
a.toplink, a.toplink:visited {
    padding: 2px 6px 2px 6px;
    border: 1px solid black;
    font-weight: bold;
    color: #FFC000;
    text-decoration: underline;
}
a.toplink:active, a.toplink:hover, a.toplink:focus {
    background-color: #404060;
    border: 1px solid #B0B0B0;
    color: #FFFF00;
}

a#selected {
    background-color: #404060;
    border: 1px outset #B0B0B0;
    color: #FFFF00;
    text-decoration: none;
}
.title {
    text-align: center;
    font-size: 18pt;
}
div.toplinks {
    text-align: center;
    color: #B0B0B0;
}


/*
 * News page.
 */
div.news_entry {
    border: 1px solid #404060;
    padding: 8px 8px 8px 8px;
    margin: 20px auto 0px auto;
    width: 85%;
    text-align: justify;
}
div.news_footer {
    border: 1px solid #404060;
    padding: 8px 8px 8px 8px;
    margin: 20px auto 0px auto;
    width: 85%;
    color: #C0C0C0;
    font-size: 8pt;
    text-align: center;
}
.news_date {
    /* float: left; */
    border: none;
    margin: 0px 8px 0px 0px;
    padding: 0px 4px 1px 4px;
    font-size: 10pt;
    color: white;
    background-color: #404060;
}

/*
 * Projects page.
 */
div.projects_section {
    border: 1px solid #404060;
    padding: 8px 8px 8px 8px;
    margin: 20px auto 0px auto;
    width: 85%;
    text-align: justify;
}
.reference:first-line {
    font-weight: bold;
}
.reference {
    margin-bottom: 8px;
}
.symbol {
    font-style: italic;
    color: #FFE0FF;
}
.quote {
    background: #202010;
    padding: 1px 1px 1px 1px;
    border: 1px dashed #282818;
}
.codetitle {
    float: left;
    background-color: #404060;
    border: 1px outset #B0B0B0;
    color: #FFFF00;
    padding: 2px 4px 2px 4px;
    margin: 0 0 0 0;
}
.codecomment {
    color: #80C080;
}
.codestring {
    color: #8080F0;
}
.codesymbol {
    color: #C0C0FF;
}
pre.code {
    border: 1px solid #808080;
    padding: 2px 4px 2px 4px;
    overflow: auto;
    max-height: 480px;
    font-family: Consolas, Courier, Courier New;
    font-size: 9pt;
}
.footer {
    color: #C0C0C0;
    font-size: 8pt;
    text-align: right;
    line-height: 100%;
    margin-bottom: 0;
}

/*
 * Comments section.
 */
.comments_section {
	border: 1px solid #404060;
	padding: 8px 8px 8px 8px;
	margin: 20px auto 0px auto;
	width: 95%;
	text-align: justify;
}
a.comments_intro_link:link, a.comments_intro_link:visited {
    float: right;
    text-decoration: underline;
	color: #E0A000;
}
a.comments_intro_link:hover, a.comments_intro_link:active, a.comments_intro_link:focus {
    float: right;
    text-decoration: underline;
    color: #FFC000;
}
.comments_suspicious_prompt {
    color: #FF8080;
}

/*
 * Comment section posts.
 */
.comments_entry {
    border: 1px solid #202040;
    padding: 2pt 1pt 2pt 2pt;
    margin-bottom: 4pt;
    text-align: justify;
}
.comments_recent_entry {
    background-color: #101028;
    border: 1px solid #202040;
    padding: 2pt 1pt 2pt 2pt;
    margin-bottom: 4pt;
    text-align: justify;
}
.comments_sender {
	font-weight: bold;
}
.comments_date {
    float: right;
    color: gray;
    padding-right: 2pt;
}
.comments_message {
}
a.comments_reply_link {
    border: 1px solid #404040;
    background-color: #202040;
	color: #CC6600;
    float: right;
    padding: 2pt 3pt 2pt 3pt;
    text-decoration: none;
}

/*
 * Comment posts content.
 */
pre.comments_pre {
    border: 1px solid #808080;
    padding: 2px 4px 2px 4px;
    overflow: auto;
    max-height: 40em;
    width: 95%;
    font-family: Consolas, Courier, Courier New;
    font-size: 9pt;
}
a.comments_user_link:link {
	text-decoration: underline;
	color: #FFC000;
}
a.comments_user_link:visited {
	text-decoration: underline;
	color: #C08000;
}
a.comments_user_link:hover, a.comments_user_link:active {
	text-decoration: underline;
	color: #FFFF00;
}

/*
 * Comments form elements.
 */
form.comments_form {
    padding: 1em 0 0 0;
}
.comments_blank {
    color: black;
}
input#comments_blank {
    background-color: black;
    color: black;
    border: 1px solid black;
}
input#comments_sender {
    background-color: black;
    color: white;
    border: 1px solid #CCCCCC;
	font-family: Corbel, Tahoma, Verdana, Arial, Helvetica;
}
textarea#comments_message {
    background-color: black;
    color: white;
    border: 1px solid #CCCCCC;
	font-family: Corbel, Tahoma, Verdana, Arial, Helvetica;
	font-size: 10pt;
	width: 100%;
	margin-top: 0.5em;
}
input#comments_submit {
    background-color: black;
    color: white;
    border: 2px outset #CCCCCC;
}
h3#comments_post_title {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/*
 * Guestbook.
 */
div.guestbook_entry {
    width: 96%;
    position: relative;
    left: 2%;
    margin-top: 1em;
    padding-bottom: 1em;
    border-bottom: 1px dotted #C0C0C0;
}
div.guestbook_recent_entry {
    width: 96%;
    position: relative;
    left: 2%;
    margin-top: 1em;
    padding-bottom: 1em;
    border-bottom: 1px dotted #C0C0C0;

    background-color: #101028;
}
div.guestbook_signature {
    padding-top: 0.5em;
    padding-left: 2em;
}
.guestbook_sender {
	font-weight: bold;
}
.guestbook_date {
}
.guestbook_message {
}

/*
 * Sources page.
 */
table.source_entry {
}
tr.source_entry {
}
td.source_entry {
    border: 1px solid #404060;
    padding: 0.5em 0.5em 0.5em 0.5em;
    text-align: justify;
    vertical-align: top;
}
td.source_empty_entry {
    padding: 0.5em 0.5em 0.5em 0.5em;
    text-align: justify;
}
h4.source_name {
    padding-top: 0;
    margin-top: 0;
}
.source_date {
    float: right;
}
.source_version {
    float: right;
    color: #E0E0E0;
    font-style: italic;
}
.source_type {
    float: right;
    padding-right: 0.5em;

    /*
    opacity: 0.5;
    filter: alpha (opacity=50);
    */
}
a.sources_link:link {
    text-decoration: underline;
	color: #C0A040;
}
a.sources_link:visited {
    text-decoration: underline;
	color: #A08040;
}
a.sources_link:hover, a.sources_link:active, a.sources_link:focus {
    text-decoration: underline;
    color: #FFC000;
}