/* Common */
.left   { text-align: left; }
.right  { text-align: right; }
.center { text-align: center; }
.fleft  { float: left; }
.fright { float: right; }
.clear  { clear: both; }
.flc    { float: left; margin-right:1em; text-align: center; }
.frc    { float: right; margin-left:1em; text-align: center; }
.fit    { max-width: 100%; width:auto\9; /* for IE8 */ height:auto; }
.hidden { display: none; }
.none   {
	font-weight: normal;
	font-style: normal;
	text-decoration : none;
}
.strong { font-weight: bold; }
.small  { font-size: 80%; }
.footnote {
	clear: both;
	font-size: 80%;
}
.news {
	font-weight: bold;
	color: #EE0000; background-color: inherit;
}
.phi { font-family:Arial, Helvetica, Verdana; }
.skipnav { text-align: left; }
.skipnav a { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skipnav a:focus, .skipnav a:active { position: static; left: 0; width: auto; height: auto; overflow: visible; text-decoration: underline; }
h2.skipnav, h3.skipnav, h4.skipnav, h5.skipnav { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* colors */
.gray_c{
	color: inherit; background-color: #EEEEEE;
	text-align: center;
}
.red_c{
	color: inherit; background-color: #FFCCCC;
	text-align: center;
}
.yellow_c{
	color: inherit; background-color: #FFFF99;
	text-align: center;
}
.blue { color: #0000FF; }
.red  { color: #C51E10; }	

/* links */
a:link {
	color: #0044CC; background-color: inherit;
	text-decoration:none;
}
a:active {
	color: #215dc6; background-color: #CCDDEE;
	text-decoration:none;
}
a:visited {
	color: #a63d21; background-color: inherit;
	text-decoration:none;
}
a:hover {
	color: #215dc6; background-color: #CCDDEE;
	text-decoration:underline;
}

/* Elements */
h1 {
   font-family:verdana, arial, helvetica, Sans-Serif;
   color: inherit; background-color: #DDEEFF;
   padding:.3em;
   margin: 0px 0px .5em 0px;
   border: 0px;
}
h2 {
   font-family:verdana, arial, helvetica, Sans-Serif;
   color: inherit; background-color: #F0F8FF;
   padding:.3em;
   margin: 0px 0px .5em 0px;
   border-bottom:  3px solid #D0E0FF;
   border-top:     1px solid #D0E0FF;
   border-left:   10px solid #D0E0FF;
   border-right:   5px solid #D0E0FF;
}
h3 {
   font-family:verdana, arial, helvetica, Sans-Serif;
   color: inherit; background-color: #FFFFFF;
   padding:.3em;
   margin: 0px 0px .5em 0px;
   border-left:   10px solid #DDEEFF;
}

pre, dl, ol, ul, p, blockquote { line-height: 1.6em; }
body, td { font-size:90%; }
p { text-indent: 1em; }
p.note { font-size: 80%; }
sup, sub { font-size: 80%; }
pre {
	white-space:pre;
}
pre, .pre {
	padding: 0.3em;
	margin:  0px 1em;
	border-top:#DDDDEE 1px solid;
	border-bottom:#888899 1px solid;
	border-left:#DDDDEE 1px solid;
	border-right:#888899 1px solid;
	background-color: #F0F8FF;
}
img {
   border:none;
   vertical-align:text-top;
}
div.fc {
	display:         flex;
	flex-wrap:       wrap;
	justify-content: center;
}
table.center {
   margin-left: auto;
   margin-right: auto;
}
caption { font-size: 80%; }
caption.bottom { caption-side: bottom; }
td {
	vertical-align: top;
	text-align: right;
}
td.left { text-align: left; }
th { color: inherit; background-color: #CCEEFF; }

/* id */
#header {
	font-size: 90%;
	color: inherit; background-color: #F0F8FF;
}
#header span { line-height: 1.6em; }
#footer {
	clear: both;
	font-size: 80%;
	margin: 5px;
	border-top: #000000 1px solid;
}
#rss {
    color: #FFFFFF; background-color: #D84010;
    font-weight: bold;
    padding: .1em .2em;
}
#lang {
    color: #FFFFFF; background-color: #01804E;
    font-weight: bold;
    padding: .1em .2em;
}
#tdleft td { text-align: left; }
#archives div {
	border: 3px solid #D0E0FF;
}
#archives li {
	clear: both;
	line-height: 1.6em;
	margin-right: 1em;
	border-bottom: 1px solid green;
}
#archives span { float: right; }

/* Google Custom Search */
#cse-box {
   width: 300px !important;
}
.gsib_a, .gsib_b {
	height: 100% !important;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #121212;
		color: #e4e4e4;
	}
	a:link    { color: #a8afff; }
	a:visited { color: #e39777; }
	h1, h2, h3, h4, pre, .pre {
		background-color: #1C2227;
		border-color: #24344C;
	}
	img { filter: grayscale(30%); }
	th        { background-color: #24344C; }
	#header   { background-color: #1C2227; }
	.gray_c   { background-color: #393C66; }
	.red_c    { background-color: #532c2e; }
	.yellow_c { background-color: #556500; }
	.blue { color: #99DDFF; }
}
