body {
	margin: 0;
	padding: 0;
	font-size: 13px;
}

/*ヘッダーテンプレート*/

div#title {
	margin: 0;
	padding: 0;
	width: 100%;
	background: #3030ff;
}

div#title h1 {
	display: block;
	margin: 0;
	padding: 30px 100px;
	font-size: 35px;
}

div#title h1 a {
	color: white;
	text-decolation: none;
}

div#title ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	border-top: 1px solid white;
	text-align: center;
	height: 20px;
}

div#title ul li{
	display: inline;
	padding: 1px 10px;
	font-size: 17px;
	border: 1px solid white;
}

div#title ul li a {
	display: inline;
	color: white;
	text-decolation: none;
}

/*左サイドバーテンプレート*/

div#sidebar_left {
	margin 0;
	padding: 20px 0 0 100px;
	float: left;
	width: 200px;
	min-height: 600px;
}

div#sidebar_left h2 {
	background: #7070e0;
	font-size: 18px;
	margin: 10px 0 0;
	text-align: center;
	border: 5px solid #e0e0e0;
}

/*会員ブロック*/

div#sidebar_left div#user {
	margin: 0;
	background: #e0e0e0;
	text-align: center;
}

div#sidebar_left form#user {
	margin: 0 0 10px;
	background: #e0e0e0;
	text-align: center;
}

div#sidebar_left form#user input.p100 {
	width: 100px;
}

div#sidebar_left table th {
	text-align: right;
}

div#sidebar_left table caption {
	text-align: right;
}

/*カレンダーブロック*/
div#sidebar_left div#calender {
	background: #e0e0e0;
	text-align: center;
}

div#sidebar_left table#calender {
	margin: 0;
	background: #e0e0e0;
	border-collapse: collapse;
}

div#sidebar_left table#calender th {
	border: 1px solid black;
	text-align: center;
}

div#sidebar_left table#calender th#sunday {
	background: #ffa0a0;
	color: red;
}
	
div#sidebar_left table#calender th#saturday {
	background: #a0a0ff;
	color: blue;
}

div#sidebar_left table#calender td {
	border: 1px solid black;
	text-align: center;
}
	
div#sidebar_left form#calender {
	margin: 0;
	padding: 0;
}

/*関連記事*/

div#sidebar_left div#feed {
	background: #e0e0e0;
}

div#sidebar_left div#feed ul {
	list-style-position: inside;
	margin: 0;
	background: #e0e0e0;
}

div#sidebar_left div#feed ul li {
	margin: 0;
}

/*リンク*/

div#sidebar_left div#link {
	margin: 0;
	background: #e0e0e0;
}

div#sidebar_left div#link ul {
	list-style-position: inside;
	margin: 0;
	background: #e0e0e0;
}

/*コンテンツテンプレート*/

div#content {
	margin: 20px 320px;
	padding: 0;
	min-height: 600px;
}

div#content h2 {
	border-left: 25px solid #a0a0ff;
	border-bottom: 1px solid #a0a0ff;
	font-size: 25px;
}

/*コンテンツページ*/

div#content div#detail {
	text-align: right;
}

div#content div#main {
	margin: 5px;
}

div#content div#tag {
	margin: 10px;
}

div#content div#link {
	margin: 10px;
}

/*記事投稿*/

div#content form#add input.input {
	width: 300px;
}

div#content form#add textarea {
	width: 300px;
	height: 250px;
}

div#content table#add {
	border-collapse: collapse;
}

div#content table#add th {
	border: 1px solid #a0a0ff;
	background: #d0d0d0;
	text-aligh: right;
}

div#content table#add td {
	border: 1px solid #a0a0ff;
}

div#content table#add td#submit {
	text-align: center;
}

/*トップページ*/

div#content table td#date {
	width: 150px;
}

/*フッターテンプレート*/

div#footer {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100px;
	background: #3030ff;
	clear: all;
}

div#footer ul {
	margin: 5px 200px;
}

div#footer ul li {
	display: inline;
	font-size: 14px;
	padding: 5px 20px;
}

div#footer ul li a {
	color: white;
}

/*初期設定*/

div#content form#setting {
	top: 50%;
	left: 50%;
	position: absolute;
	overflow: auto;
	width: 500px;
	height: 400px;
	margin: -200px 0 0 -250px;
	background: #a0a0ff;
}

div#content form#setting input.p160 {
	width: 160px;
}

div#content form#setting input.p200 {
	width: 200px;
}

div#content form#setting input.p280 {
	width: 280px;
}

div#content table#setting {
	border-collapse: collapse;
	width: 400px;
	height: 300px;
	margin: 40px;
}

div#content table#setteing th {
	font-weight: normal;
	text-align: left;
}

div#content table#setting td#submit {
	text-align: center;
}

div#content table#setting th {
	font-weight: normal;
	text-align: left;
}

div#content table#setting caption {
	color: red;
}

div#content table#setting span {
	color: red;
}