/*
	Design by Free CSS Templates
	http://www.freecsstemplates.org
	Released for free under a Creative Commons Attribution 2.5 License
*/
/* Basic */
*
{
	margin: 0em;
	padding: 0em;
}
h1,h2
{
}
body
{
	font-family: "trebuchet ms", sans-serif;
	color: #555555;
	font-size: 11pt;
}
a
{
	color: #669911;
}
/* Outer */
#outer
{
}
/* Header */
#header
{
	height: 95px;
	background-image: url('images/a2.gif');
	background-position: bottom left;
	padding-left: 40px;
	padding-top: 45px;
}
#header h1 a
{
	color: #fff;
	text-decoration: none;
	font-size: 1.5em;
}
#header h1
{
/*	text-transform: lowercase; */
	font-size: 1.6em;
}
#header h2 a
{
	position: relative;
	top: -0.3em;
	color: #fff;
	text-decoration: none;
	font-weight: normal;
	font-size: 1.1em;
/* 	text-transform: lowercase; */
}
#header h2
{
	position: relative;
	top: -0.3em;
	color: #E8EFC2;
	font-weight: normal;
	font-size: 1.1em;
/* 	text-transform: lowercase; */
}
/* Menu */
#menu
{
	background-image: url('images/a3.gif');
	background-repeat: repeat-x;
	background-position: bottom left;
	padding: 1em 2.5em 1em 2.5em;
}
#menu ul
{
	list-style: none;
}
#menu li
{
	display: inline;
}
#menu li a
{
	font-size: 1.1em;
	font-weight: bold;
/* 	text-transform: lowercase; */
	color: #5D5F53;
	text-decoration: none;
	margin-right: 1em;
}
#menu li a:hover
{
	color: #6B7E09;
	text-decoration: underline;
}
/* Content */
#content
{
	padding: 3em 15px 1em 15px;
	line-height: 1.6em;
	background: url('images/a4.gif') repeat-x top left;
}
#content p
{
	margin-bottom: 1.5em;
}
#content h2,h3,h4,h5,h6
{
	margin-bottom: 1em;
}
#content ul
{
	margin-bottom: 1.5em;
	padding-left: 1em;
}
#content blockquote
{
	padding: 1em;
	margin-bottom: 1.5em;
	background-color: #FFFCD8;
	background-image: url('images/a5.gif');
	background-repeat: no-repeat;
	background-position: top left;
	border: dotted 1px #DFD999;
}
#content blockquote p
{
	margin-bottom: 0em;
}
#content table
{
	margin-bottom: 1.5em;
}
#content table th
{
	text-align: left;
	font-weight: bold;
	padding: 0.5em;
}
#content table td
{
	padding: 0.5em;
}
#content table tr.rowA
{
	background-color: #EAEFE0;
	color: inherit;
}
#content table tr.rowB
{
	background-color: #F9FFEF;
	color: inherit;
}
/* Primary Content */
#primaryContentContainer
{
	float: left;
	margin-right: -390px;
	width: 100%;
}
#primaryContent
{
	margin: 0em 400px 0em 0em;
	padding: 0em 1.5em 1.5em 1.5em;
}
#primaryContent h2, #primaryContent h3
{
/* 	text-transform: lowercase; */
	color: #5D5F53;
	border-bottom: dotted 1px #ECEEDF;
	padding-bottom: 0.3em;
	margin-bottom: 0.5em;
}
#secondaryContent h3, #tertiaryContent h3
{
	background: url('images/a1.gif') no-repeat;
	width: 185px;
	height: 27px;
	font-size: 1.0em;
	font-weight: bold;
	padding-left: 15px;
	padding-top: 5px;
/* 	text-transform: lowercase; */
	color: #5D5F53;
	}


/* Secondary Content */
#secondaryContent
{
	float: left;
	width: 185px;
}
/* Tertiary Content */
#tertiaryContent
{
	float: right;
	width: 185px;
	padding-right: 1em;
}
/* Footer */
#footer
{
	background: url('images/a4.gif') repeat-x top left;
	border-top: solid 1px #D0D4BB;
	padding: 2.0em 3.5em 3.0em 3.5em;
	font-size: 0.8em;
}
.clear
{
	clear: both;
}

/* added */
pre {
	font-family: monospace;
	white-space: pre;
	line-height: 100%;
	margin: 10px;
	margin-right: 1em;
	margin-left: 2em;
	padding: 5px;
	font-size: small;
	border-color: #808080;
        border-style: solid;
        border-width: 1px 1px 1px 1px; 
	white-space: -moz-pre-wrap; /* Mozilla */
	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+ */
}

	
/* for chalow */
span.date {
        padding: 0em 0.5em 0em 0.5em;
}

.calendar {
/*	background-color: #fff8ff; */
        text-align: left;
        font-size: x-small;
}

.calendar table {

}

p.footer a {
	font-weight: bold;
}

/*
1日の日記全体を囲む枠の設定 (entry)
*/
div.day { 
        padding: 5px 0px 5px 0px;
	margin: 5px 0px 5px 0px;
}

/*
サブタイトルを含むセクション (item) の設定
*/
div.section { 
        border-color: #ffffff;
        border-style: solid;
        border-width: 1px;
	line-height: 130%;
        padding: 5px;
	margin: 5px 0px 15px 0px;
}

/* ツッコミ関連 */

div.comment {
        border-style: solid;
        border-color: #d0d0d0;
        border-width: 1px;
        margin: 0.5em;
        padding: 0.5em;
        font-size: small;
	background-color: #FFFCD8;
}

div.comment p {
	margin: 0.5em;
}

div.day span.canchor {
/*        background-image: url(dot-gray.png);
        background-position: bottom right;
        background-repeat: no-repeat;
        padding: 0px 16px 0px 0px;
        color: #fff;
        background-color: transparent;
*/
        font-size: small;
}

div.form {
        border-style: solid;
        border-color: #d0d0d0;
        border-width: 1px;
        margin: 0.5em;
        padding: 0.5em;
        background-color: #f0f0f0;
}

div.commentshort {
        margin: 0.3em;
}

div.commentbody {

}

/*
for chalow: Referrer by 日付リンク
*/
div .referer { 
  font-size: x-small;
  color: #808080;
  background-color: #f8f8f8;
  margin-top: 0.5em;
  margin-right: 1em;
  padding: 0.2em;
  text-align: right;
}
div .referer a:link {color: #404040;}
div .referer a:visited {color: #606060;}

/*
for chalow: author of item
*/
div .itemauthor { 
  text-align: right;
  padding: 0.3em 0 0 0;
}
div .itemauthor span {
  font-size: small;
  border-color: #b0b0b0;
  border-style: solid;
  border-width: 0px 5px 1px 0px;
  color: #606060;
}

#content {
  position:relative;
  padding: 0px;	
}

/* sidebar */
#footer {
  clear: both;
  margin-top: 5px;
}

.stdbox  {
/* margin-bottom: -1.3em; */
}

.stdbox a {text-decoration: none;}

div.stdbox {
  margin-bottom: 5px;
}

#content #links .sidebar .stdbox table{
  width: 100%;
  margin-bottom: 0;
}

.stdbox td {
border: solid 1px #808080;
font-size: x-small;
line-height: 120%;
}

.funcbox {
border:solid 1px #808080;
font-size:x-small;
padding: 3px;
margin: 2px;
margin-bottom: 5px;
line-height: 120%;
}

.section table {border-collapse: collapse;}
.section td {border: solid 1px gray; padding: 3px;}

#primaryContent h3 a { text-decoration: none; }

.no_border {
border-style:none;
}
