/* -------------------------------- page */

body {
	background-color: white;

	max-width: 700px;
	margin: 0 auto;
	padding: 0 15px;

	font-family: Verdana, Georgia, serif;
	font-size: medium;

	line-height: 1.5em;
}

@media only screen and (max-device-width: 320px) {
	body {
		font-size: large;
	}
}

img {
	padding: 0 15px 1em 15px;
}

img.left {
	float: left;
	padding-left: 0;
}

img.right {
	float: right;
	padding-right: 0;
}

/* -------------------------------- nav */

ul.mainNav {
	font-family: Helvetica Neue, Helvetica, sans-serif;
	text-align: center;
	background-color: #0085CE;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	margin: 0;
	padding: 0;
	margin-bottom: 2em;
}

ul.mainNav li {
	display: inline-block;
	padding: 0.5em 10px 0.5em 10px;
}

ul.mainNav li.active {
	border-top: 2px solid #FF0000;
}

ul.mainNav li a:link, ul.mainNav li a:visited {
	color: #DEDEDE;
	text-decoration: none;
}

ul.mainNav li a:hover {
	color: white;
	background-color: inherit;
	text-decoration: underline;
}

ul.mainNav li span {
	color: white;
}

/* -------------------------------- title */

h1 {
	font-family: Helvetica Neue, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 200%;
	margin: 0 0 1em 0;
	padding: 0;
	text-align: center;
	color: #0085CE;
	clear: both;
}

h1 a:link, h1 a:visited {
	color: #0085CE;
	text-decoration: none;
}

h1 a:hover {
	color: black;
	text-decoration: underline;
}

h1 a.rssLink:link, h1 a.rssLink:hover, h1 a.rssLink:visited {
	color: #ffa500;
	font-size: 50%;
	text-align: right;
	padding-left: 5px;
}

/* -------------------------------- edition */

h2 {
	font-family: Helvetica Neue, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	margin-bottom: 1.5em;
	padding: 2px 5px;
	clear: both;
	background-color: #D0D0D0;
	border-radius: 5px;
	text-transform: uppercase;
}

h2 a.date:link, h2 a.date:visited {
	color: black;
	text-decoration: none;
}

h2 a.date:hover {
	color: black;
	background-color: #D0D0D0;
	text-decoration: underline;
}

h2 .date {
	float: right;
	font-weight: normal;
	font-size: 66%;
}

/* -------------------------------- section */

h3 {
	font-family: Helvetica Neue, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	margin-bottom: 1em;
	background-color: #E0E0E0;
	padding: 2px 5px;
	border-radius: 5px;
	clear: both;
}

.site_reader h3 {
	background-color: white;
	padding: 0;
	font-size: 120%;
	font-weight: normal;
}

h3 a:link, h3 a:visited {
	color: black;
	font-weight: bold;
	text-decoration: underline;
}

h3 a:hover {
	color: black;
	text-decoration: underline;
}

/* -------------------------------- item */

h4 {
	font-family: Helvetica Neue, Helvetica, sans-serif;
	font-weight: normal;
	margin-bottom: 1em;
}

h4 a:link, h4 a:visited {
	color: black;
	font-weight: bold;
	text-decoration: underline;
}

h4 a:hover {
	color: black;
	text-decoration: underline;
	font-weight: bold;
}

/* -------------------------------- text */

p, div, ul {
	margin-bottom: 1em;
}

ul {
	list-style-position: inside;
	margin-left: 0;
	padding-left: 0;
}

blockquote {
	border-left: 1px solid gray;
	padding-left: 15px;
	margin-left: 0;
}

a:link {
	color: #0000EE;
}

a:visited {
	color: #551A88;
}

a:hover {
	background-color: #DDDDDD;
}

/* -------------------------------- ad */

.ad3 {
	margin-bottom: 0;
	padding-top: 2em;
	padding-bottom: 2em;
	text-align: center;
	border-top: 1px solid gray;
}

/* -------------------------------- footer */

.footer {
	font-family: Helvetica Neue, Helvetica, sans-serif;
	border-top: 1px solid gray;
	padding-top: 1em;
	clear: both;
}

.footer a:link, .footer a:visited {
	color: black;
	text-decoration: none;
}

.footer a:hover {
	color: black;
	text-decoration: underline;
}

/* -------------------------------- archive */

.section_archive ul.yearList {
	list-style-type: none;
	line-height: 1.5em;
	font-family: Menlo, Consolas, Courier;
}

.section_archive ul.yearList ul.monthList li {
	display: inline;
}

/* -------------------------------- year */

.section_year ul.monthList {
	list-style-type: none;
}

.section_year ul.monthList li {
	display: inline-block;
}

/* -------------------------------- month */

.section_month div.dayEnd {
	padding-top: 1.5em;
}
