* {
	margin: 0;
	padding: 0;
	border: 0;
}
a {
	text-decoration: none;
	color: #164994;
}
a:visited {
	color: #4e4e76;
}
a:hover {
	text-decoration: underline;
}

p {
	line-height: 1.4;
	font-size: 140%;
	margin: 8px 0;
}

.amp {
	font-family: Baskerville, Palatino, "Palatino Linotype", "Book Antiqua", serif;
	font-style: italic;
}
.sorry {
	font-size: smaller;
	color: #666;
}

body {
	/*background: url(images/body-background.png) repeat-x fixed top left;*/
	margin: 0;
	padding: 0;
	
	font-size: 62.5%; /* 10px */
	font-family:"Lucida Grande", Verdana, Arial, Helvetica, "Meiryo UI", "メイリオ", serif;
}

/** site header **/
#site-header {
	margin: 0 64px 18px 64px;
}

#site-header > h1 {
	margin: 24px 0 16px 0;
	
	font-size: 220%;
}
#site-header > h1 > a {
	color: #4e4e76;
}
#site-header > .description {
	height: 3ex;
}

#site-header > ul#site-menu {
	list-style: none;
}

#site-header > ul#site-menu > li {
	float: left;
	width: 10em;
	margin: 0 1em 0 0;
	
	font-size: 120%;
	border-right: 1px dotted #444;
}

#site-header > ul#site-menu > li > a {
	color: #164994;
}

#site-header > .tail {
	clear: left;
}

#site-footer {
	margin: 0 64px 0 64px;
}
#site-footer > p {
	font-size: 100%;
	color: #666;
}

/** page content **/
#page-content {
	margin: 0 64px 0 64px;
	position: relative;
}

#contents-with-sidebar {
	position: relative;
	width: 100%;
}

#contents-with-sidebar > #contents {
	margin: 0 232px 0 0;
}

#contents-with-sidebar > #sidebar {
	position: absolute;
	width: 200px;
	top: 0;
	right: 0;
}

/** blog entry **/
.entry {
	margin: 0 0 32px 0;
	
	line-height: 1.4;
}
.entry > .meta, .entry > .related {
	clear: both;
	font-size: 100%;
	color: #444;
	text-align: right;
}
.entry > h3 {
	font-size: 1.8em;
	padding: 0 0 2px 0;
	border-bottom: 1px solid #aaa;
	color: #333333;
}
.entry > h3 a {
	color: #333333;
}

.entry .text {
	position: relative;
}
.entry .text h1,
.entry .text h2,
.entry .text h3 {
	margin: 3ex 0 0 0;
	clear: left;
}
.entry .text ul, .entry .text ol {
	margin-left: 3em;
}
.entry .text ul li {
	font-size: 140%;
	line-height: 1.2;
	margin: 8px 0;
}
.entry .text code {
	font-family: Courier, monospace;
}

.entry .text pre {
	width: 100%;
	
	border: 1px solid #f0f0f0;
	background: #f8f8f8;
	
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: pre-wrap;      /* CSS3 */
    word-wrap: break-word;      /* IE 5.5+ */

}
.entry .text pre > code {
	font-family: Courier, monospace;
	font-size: 140%;
	width: 100%;
	overflow: scroll;
}

.entry .text blockquote {
	border-left: 4px solid #bed4d9;
	padding-left: 8px;
	font-size: 90%;
}

.entry .text a img {
	border: 1px solid black;
	margin: 8px;
}
.entry .text hr {
  border-bottom: 1px dotted #888;
  margin: 1em auto;
  width: 80%;
}

.entry p {
  line-height: 1.6;
  margin: 2ex 0;
}

/** form **/
textarea {
	border: 1px solid #ccc;
	width: 100%;
}
form .actions {
	text-align: right;
}
form .actions > input {
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 2px 4px;
}
form .actions > input:hover {
	background-color: #aaa;
	cursor: pointer;
}
form .actions > input:active {
	background-color: #444;
	color: #eee;
}

/** sidebar **/
#sidebar > .widget {
	margin: 0 0 18px 0;
}
#sidebar > .widget > h3 {
	margin: 0 0 4px 0;
}
#sidebar > .widget ul {
	list-style: none;
}
#sidebar > .widget ul > li {
	font-size: 1.2em;
	margin: 0 0 4px 0;
}
#sidebar> p {
	font-size: 100%;
}

/** profile **/
#profile {
	
}
#profile > #portrait {
	float: left;
	width: 240px;
}
#profile > #attributes{
	margin-left: 260px;
}

#attributes h2 {
	margin: 0 0 8px 0;
	font-size: 180%;
	color: #4e4e76;
}
#attributes > .section > h3 {
	margin: 0 0 0 0;
	color: #333;
}
#attributes > table {
	font-size: 140%;
	font-family: Courier, monospace;
}
#attributes > table th {
	width: 8em;
	
	font-weight: normal;
	text-align: right;
	color: #444;
}
#attributes > table th:after {
	content: " :";
}
#attributes > table td {
}
