/*-
 * Copyright (c) 2008 Xin LI
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * $Phantasm: delphijweb/www/mars.css,v 1.10 2008/05/24 21:12:39 delphij Exp $
 */

body {
	border-right: 1px solid black;
	margin-right: 200px;
	padding-left: 20px;
	padding-right: 20px;
	font-family: "Bitstream Vera Sans", Verdana, Serif;
}

h1 {
	margin-top: 0px;
	padding-top: 20px;
	font-weight: normal;
	letter-spacing: -2px;
	text-transform: lowercase;
	text-align: right;
	color: grey;
}

h2 {
	font-weight: normal;
	color: #200080;
	margin-left: -20px;
}


h3 {
	font-weight: normal;

	background-color: #a0c0ff;
	border: 1px solid #5080b0;

	padding: 4px;
}

h4 {
	font-family: "Bitstream Vera Sans", sans-serif;
	font-weight: bold;
}

img {
	border: 0;
}

img.face {
	float: right;
	margin-top: -3em;
}

p.slogan {
	text-align: right;
	font-size: 9pt;
}

.entry {
	margin-bottom: 2em;
}

.entry .date {
	color: grey;
}

.entry .date a {
	text-decoration: none;
	color: inherit;
}

.sidebar {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 200px;

	margin-left: 0px;
	margin-right: 0px;
	padding-right: 0px;

	padding-top: 20px;
	padding-left: 0px;

	font-size: 85%;
}

.sidebar h2 {
	font-size: 110%;
	font-weight: bold;
	color: black;

	padding-left: 5px;
	margin-left: 0px;
}

.sidebar ul {
	padding-left: 1em;
	margin-left: 0px;

	list-style-type: none;
}

.sidebar ul li:hover {
	color: grey;
}

.sidebar ul li a {
	text-decoration: none;
}

.sidebar ul li a:hover {
	text-decoration: underline;
}

.sidebar p {
	border-top: 1px solid grey;
	margin-top: 30px;
	padding-top: 10px;
	padding-left: 5px;
}

.sidebar .message {
	cursor: help;
	border-bottom: 1px dashed red;
}

.sidebar a.message:hover {
	cursor: help;
	background-color: #ff0000;
	color: #ffffff !important;
	text-decoration: none !important;
}

a {
	color: blue;
	text-decoration: none;
}

a:hover{
	color: red;
	text-decoration: underline;
}

div#logo {
	width: 100%;
	height: 100px;
	background-color: #336699;
}

img#logoimg {
	position: relative;
	top: 15px;
	bottom: 15px;
}

div#copyright {
	width: 100%;
	background-color: #000000;
	color: #ffffff;
	font-family: Verdana, Sans, Serif;
	font-size: 9pt;
	padding: 8px;
}

.red {
	color: #ff0000;
}

.text {
	padding: 0px 8px;
}

div.textcontainer {
	padding: 0px 8px;
}

span#rcs {
	font-family: "Courier New", Courier, Times;
}

div#sidebarcontainer {
	width: 27%;
	float: right;
	padding: 8px;
	margin: 8px;
	z-index: 1;
}

div#sidebar {
	width: 94%;
	border-collapse: collapse;
	border: 1px solid black;
	background-color: #ffffcc;
	padding: 8px;
}

ul#contents {
	padding-left: 0;
	margin-left: 16px;
}
