
body {margin-left: 10%; margin-right: 10%;
background-color: #BCF; color: inherit;}
body.light {background-color: #DDF; color: inherit;}

hr {width: 80%; margin-left: auto; margin-right: auto;
text-align: center; margin-top: 1em; margin-bottom: 1em;
border-bottom: 1px solid #99F;}
hr.mid {width: 40%;}

table.mainlink hr {margin-top: .5em; margin-bottom: .5em;
margin-left: 0; color: #339; background-color: #339;}


a {text-decoration: none;}
a.tag {vertical-align: 75%; line-height: 50%; font-size: 80%;
padding-left: .25em; padding-right: .25em;}

h1, h2, h3, h4, h5, h6 {font-style: normal; font-weight: normal;
line-height: 1.5; text-align: center;
margin-top: 1em; margin-bottom: .75em;}

h1 {font-size: 250%; margin-top: .5em;}
h2 {font-size: 200%;}
h3 {font-size: 150%; margin-top: 2em;}
h4 {font-size: 120%; margin-top: 1.5em;}
h5 {font-size: 100%;}
h6 {font-size: 85%;}

h2 + h3, h3 + h4 {margin-top: .5em;}

p, blockquote, li {text-align: left; line-height: 1.2; margin-top: .6em;
margin-bottom: 0em;}

p.center {text-align: center;}
p.right {text-align: right;}
p.illustration {text-align: center; margin: 1em;}

p.rightlink {font-size: 105%; text-align: right;
font-style: italic; margin-top: 1em; padding-right: 1em;}


/* tables */

table {margin-left: auto; margin-right: auto; margin-top: .5em;
border-collapse: collapse;}

td {vertical-align: top; text-align: left; padding: .25em .75em;}
td.leftline {border-left: thin solid #339;}

table p {margin-top: 0; margin-left: 1em; text-indent: -1em;}

/* overall links */

table.mainlink {clear: both; margin-top: 2em; margin-bottom: 2em;
border-collapse: separate; border-spacing: .5em 1em;
border-top: 1px solid #339; border-bottom: 1px solid #339;}

table.mainlink td {padding: .5em 1em; font-size: 105%;
line-height: 1.2;}
table.mainlink p {line-height: inherit;}

/* quoted texts */

.sample {color: #000; background-color: #FFF; font-family: sans-serif;
font-size: 85%;}
p.sample {border: thin solid #669; margin-right: 2em; margin-left: 2em;
padding: .6em;}
div.sample {border: thin solid #669; margin: .8em 2em;
padding: .2em .6em .6em;}
div.sample p.continue {margin-top: .3em;}

span.sample {padding: .1em; border: none; outline: thin solid #669;}


