
header {
	margin: 6pt 0;
	padding: 2pt;
	background-color: #e4eef4;
	background-color: rgba(170,200,210,0.3);
	border-style: none;
	border-radius: 4px;
	box-shadow: 0 10px 6px -6px #777;
}

.diary-header h1{
	margin: 6pt 60pt;
	padding: 0;
	background-color: transparent;
	border-width: 0 0 1px 0;
	border-color: #444;
	font-size: 2.8em;
	text-align:center;
	line-height:1.3;
}

.diary-header p{
	margin: 0 60pt;
}

.diary-header h1 a:link {
	text-decoration: none;
	color: #000;
}

.diary-header h1 a:visited {
        text-decoration: none;
        color: #000;
}

.diary-header h1 a:hover {
	text-decoration: none;
	color: #888;
}


.diary-header .navi{
	background-color: transparent;
}

.pager {
	padding: 2pt 1em;
	margin: 0.5em 0 0.2em 0;
	text-align: center;
	font-size: 1.2em;

	background-color:#ddd;
	background-color: rgba(170,200,210,0.3);
	border-style: none;
	border-radius: 4px;

	box-shadow: 0 10px 6px -6px #777;
}

.diary-month-navigation {
	padding: 2pt 1em;
	margin: 0.5em 0 0.2em 0;
	background-color: #ddd;
	background-color: rgba(170,200,210,0.3);
	border-style: none;
	border-radius: 4px;
	box-shadow: 0 10px 6px -6px #777;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	text-align: center;
}

.diary-month-navigation > span,
.diary-month-navigation > a {
	font-size: 1.2em;
}

.diary-month-navigation a:first-child {
	text-align: left;
}

.diary-month-navigation a:last-child {
	text-align: right;
}

.diary-main:after {
	content:"";
	clear:both;
	height: 0;
	display: block;
	visibility: hidden;
}



.diary-sidebar {
	margin: 0 0 0 0em;
}

.diary-sidebar H4{
	margin-top:0.5em;
	margin-bottom:0.2em;
	margin-left: 0.1em;
}

DIV.ccenter P{
	margin-left:1.4em;
	margin-right:1.4em;
}

div.cleft h3{
	font-size:1.2em;
	margin: 0.3em 0;
	padding: 0 1em;
	border-width: 0 0 1px 0;
}


.diary-entries .section {
	padding: 0;
	margin: 1em 0;

	background-color:white;
	border-width: 0px 1px 1px 0px;
	border-style: solid;
	border-color: #ccc;
	border-radius: 4pt;

	box-shadow: 0 10px 6px -6px #777;
	word-wrap: break-word;
}

.diary-entries .section h2{
	background-color: #e0e8f8;
	border-style: none;
	border-radius: 4pt 4pt 0px 0px;
	text-align: left;

	line-height:1.5;
	padding: 0 1em;
	margin: 0 0 0.2em 0;
}

.diary-entries .section h3{
	background-color:#eef;
	margin: 0.5em 0px 0.1em 0px;
	padding: 0.3em 0.4em;
	border-style: none;
}

.diary-entries .section h4{
	border-style: solid;
	border-width: 0px 0px 1px 8px;
	border-color: #ddf;
	text-decoration: none;
	margin: 1em 10% 0.4em 1em;
	padding-left: 0.5em;
}

.diary-entries .section h5{
	margin: 1em 10% 0.4em 2em;
}

.diary-entries .section p{
	margin: 0.2em 0.5em 0.8em 1em;
}

.diary-entries .section img{
	max-width: 95%;
}

.diary-entries .section ul{
	margin-left: 3.0em;
}


.diary-entries .section pre{
	clear:none;
	float: auto;
	width:90%;
	margin: 3px auto;
	white-space: -moz-pre-wrap;
	white-space: -o-pre-wrap;
	white-space: pre-wrap;
	word-wrap: break-word;      /* IE 5.5+ */

	border-style: dashed;
	border-radius:3px;
	border-width:1px;
	border-color: #44a;
}

.diary-entries .section pre.console{
	margin-left: 2em;
	margin-right: 2em;
	white-space: -moz-pre-wrap;
	white-space: -o-pre-wrap;
	white-space: pre-wrap;
	word-wrap: break-word;      /* IE 5.5+ */
}

DIV.comment{
	width:40em;
	font-size: 0.8em;
	line-height: 1em;
	background:#eff;
}

DIV.credit{
	margin-top: 3em;
	text-align: right;
}

div.module{
	border-style: noe;

	padding: 0;
	margin: 0.5em 0 0.8em 0;
}

.diary-sidebar h3{
	margin: 3px 0 3px 0;
	padding: 3pt;
	background-color:#e0e8f8;
	border-style:none;
	text-align: center;

	border-radius: 5pt 0px 0px 5pt;
}

.diary-archive{
	font-size: 0.8em;
}

.diary-archive a::after {
	content: "]";
	font-size: 0.8em;
}

.diary-archive a::before {
	content: "[";
	font-size: 0.8em;
}

.diary-calendar{
	padding: 0;
	margin: 0.2em 0;
	font-size:0.8em;
}

.diary-calendar h3.diary-calendar-month {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.diary-calendar h3.diary-calendar-month a {
	display: block;
	padding: 0.2em 0.5em;
}

.diary-calendar h3.diary-calendar-month a:first-child {
	text-align: left;
}

.diary-calendar h3.diary-calendar-month a:last-child {
	text-align: right;
}

div.find{
	text-align:center;
}
div.find input{
	width:10em;
}

span#select{
	font-weight:bold;
	color:#800;
}

span#today{
	border-width: 1px;
	border-style: solid;
	border-color: red;
}

.diary-calendar table{
	margin-left: 0em;
	margin-top: 0em;
	border-collapse: collapse;
}
.diary-calendar table tr td,
.diary-calendar table tr th{
	border-style: none;
	background-color: transparent;
}



.twitter a{
	font-size:0.8em;
}
.twitter h2 {
	border-style:none;
	font-size:1em;
}
.twitter ul {
	margin:0px;
	padding:0px;
	padding-left:2em;
	font-size:0.7em;
}

.twitter li {
	margin:0px;
	padding:0px;
}


.diary-site-menu {
	padding: 0;
	margin: 0.5em 0 1em 0;
}

.diary-site-menu ul{
	margin: 0;
	padding: 0 0 0 1em;
	list-style-type: none;
}

.diary-site-menu ul li a{
	display:block;
	margin: 3px 0 3px 0;
	padding: 6px 0 6px 16px;
	background-color:#eef;

	border-top-left-radius:10px;
	border-bottom-left-radius:10px;
}

/* main content */
.diary-main {
	float: left;
	width: 100%;
	min-width: 500px;
	min-height: 300pt;
	margin: 0px -12.5em 0px 0px;
}

.diary-main>* {
	margin-right: 10.5em;
}

/* right menu */
.diary-sidebar {
	position:relative;
	z-index: 9;
	width: 11em;
	float: right;
	margin: 0 0 0 0em;
	box-sizing: border-box;
	font-size: 0.9em;
}

@media screen and (max-width: 600px), screen and (max-device-width: 400px) { /* and (orientation: portrait) */
	.diary-sidebar {
		width: 100%;
	}
	.diary-main {
		min-width: 320px;
		margin: 0px;
	}
	.diary-main>* {
		margin-right:0px;
	}
	#content {
		width:100%;
	}
	.diary-header h1 {
		margin-right: 0px;
		margin-left: 0px;
		font-size: 20pt;
	}
	.diary-header p {
		margin-right: 0px;
		margin-left: 0px;
	}
	.diary-calendar {
		font-size:1.0em;
	}
	.diary-calendar table {
		width: 80%;
		margin: 0 auto;
	}
	.diary-calendar td {
		width: 13%;
		height: 30pt;
	}
	.diary-archive {
		width: 95%;
		margin: 0 auto;
	}
	.diary-archive h4 {
		font-size: 20pt;
		text-align:center;
	}
	.diary-archive a {
		font-size: 16pt;
		margin: 8pt 5pt;
	}
}


