/* 
 * from http://www.mozilla.org/css/base/content.css
 *
 * display
 * list-style
 * position
 * float
 * clear
 * width
 * height
 * margin
 * padding
 * border
 * background
 * color
 * font
 * text-decoration
 * text-align
 * vertical-align
 * white-space
 * other text
 * content
 *
 */

body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #ddd;
  font-family: serif;
}

div.adminmenu {
  background: #111;
  font-size: smaller;
  text-align: right;
}

div.footer {
  margin: 2.5em 0;
  padding: .25em 2.5em;
  background: #111;
  font-size: smaller;
  text-shadow: 1px 1px 1px #666;
}

hr {
	color : #333333;
}

pre {
	border      : #888888 1px solid;
	padding     : 4px;
	margin-left : 20px;
}

blockquote {
	border      : #888888 1px solid;
	padding     : 4px;
	margin-left : 20px;
	font-style  : italic;
}

h1 {
  margin: 0;
  padding: 0 0 .5em 50px;
  background: #111;
  text-shadow: 1px 1px 5px #000;
}

h1 a {
  text-decoration: none;
}

h1 a:hover,
h1 a:active {
  text-decoration: underline;
}

.section {
  margin-left: 5em;
}

.section h2,
.section h3 {
  margin-left: -.75em;
  margin-bottom: 0;
}
/*
div.body p {
	text-indent   : 10px;
	line-height   : 120%;
	margin-top    : 10px;
	margin-bottom : 20px;
}

div.body blockquote p {
	margin-top     : 0px;
	margin-bottom  : 0px;
	text-indent    : 0px;
}
*/
table {
	border : #888888 2px solid;
}

th {
	border : #888888 1px solid;
	background-color : #AAAAAA;
	color   : #000000;
}

td {
	border : #888888 1px solid;
}

a:link { 
	color            : #EEEEEE;
	text-decoration  : underline;
}

a:visited {
	color            : #DDDDDD;
}

a:hover {
	color           : #FFFFFF;
}

dt {
	border-bottom : #4444FF 1px dotted;
	margin-bottom : 5px;
	font-weight   : bold;
}

dd {
	margin-left   : 20pt;
	margin-bottom : 5pt;
}

div.main {
	margin-left: 150px;
}

div.sidebar {
	position        : absolute;
	top             : 0px;
	left            : 0px;
	width           : 150px;
	font-size       : x-small;
	padding         : 2pt;
	border-right    : #333333 1px solid;
	border-bottom   : #333333 1px solid;
	color           : #EEEEFF;
	background-color: #000000;
	word-break      : break-all;
}

div.comment {
	margin-top       : 10px;
	margin-bottom    : 10px;
	background-color : #000000;
	border           : #333333 1px solid;
	font-size        : 80%;
}

div.comment p {
	margin-top : 5pt;
	margin-bottom : 5pt;
}

div.sidebar ul,div.sidebar li {
	padding-left : 0pt;
	margin-left  : 10pt;
}

div.sidebar h2,div.sidebar h3,div.sidebar h4 {
	margin-top : 0px;
}

/* calendar plugin */
table.calendar {
	font-size: 90%;
	line-height: 1.1em;
}

table.calendar td {
	margin: 0px;
	text-align: right;
	padding: 0px;
}

table.calendar td.calendar-prev-month,
table.calendar td.calendar-current-month,
table.calendar td.calendar-next-month {
	text-align: center;
}

.calendar-sunday {
	color: #f00;
}

.calendar-saturday {
	color: #00f;
}

.calendar-weekday {
	color: #000;
}

.calendar-prev-month, .calendar-current-month, .calendar-next-month,
.calendar-sunday, .calendar-weekday, .calendar-saturday {
	background-color : #88AAFF;
}

/* エラーメッセージ */
.error {
  color       : #FF0000;
  font-weight : bold;
}

/* 存在しないWikiページ */
span.nopage {
  background-color : #FFFF88;
}

/* Wikiページへのアンカ */
/*
a.wikipage:link {
  text-decoration : underline;
}

a.wikipage:visited {
  text-decoration : underline;
}

a.wikipage:hover {
  background-color: #DDDDDD;
  text-decoration : underline;
}
*/

/* parteditプラグイン */
div.partedit {
  text-align : right;
  font-size  : smaller;
}

/* calendarプラグイン */
td.today {
  background-color : #FF8888;
}

td.have {
  font-weight : bold;
}

.calendar td {
  text-align : right;
}

@media print {
    body {
        background: #fff;
        color: #000;
    }
        
	div.sidebar {
		display: none;
	}
	
	div.main {
		margin-left: 0px;
	}
	
	div.adminmenu {
		display: none;
	}
	
	div.footer {
		display: none;
	}
	
	div.header {
		display: none;
	}
	
	div.comment {
		display: none;
	}
	
	a.partedit {
		display: none;
	}
}

@media aural {
	a.partedit {
		display: none;
	}
}
