@import url('../math.css');
article
	{display:block;
	font-size:16pt;
	font-family:"Palatino Linotype", serif;
	line-height:1.5em;
	counter-reset:equation axiom definition example exercise lemma problem proposition remark theorem;}
article > *, section > *, subsection > *, appendix > *, front > *
	{display:block;
	text-align:justify;
	margin:1ex 0;}
title, header, subheader
	{font-size:1.4em;
	text-align:left;
	margin-bottom:1em;}
header, subheader
	{margin:1ex 0;}
header, references:before
	{font-size:1.2em;}
header
	{counter-increment:header;}
header:before
	{content:counter(header) ". ";}
references:before
	{content:"References";
	display:block;
	margin-left:-2em;}
subheader
	{font-size:1.1em;
	counter-increment:subheader;}
subheader:before
	{content:counter(header) "." counter(subheader) ". ";}
section
	{counter-reset:subheader problem exercise;}
author, authors, affiliation, abstract, keywords, 
msc, pacs, reference, subject, info, date
	{margin:0 10% 0.5ex 10%;
	font-size:0.9em;
	line-height:1.2em;}
abstract:before
	{content:"Abstract. "}
acknowledgements:before
	{content:"Acknowledgements. "}
corollary:before
	{content:"Corollary. "}
keywords:before
	{content:"Keywords: "}
msc:before
	{content:"MSC 2000: "}
reference:before
	{content:"Reference: "}
pacs:before
	{content:"Pacs numbers: "}
proof:before
	{content:"Proof. "}
solution:before
	{content:"Solution. "}
subject:before
	{content:"Subject class: "}
axiom
	{counter-increment:axiom;}
axiom:before
	{content:"Axiom " counter(axiom) ". ";}
definition
	{counter-increment:definition;}
definition:before
	{content:"Definition " counter(definition) ". ";}
example
	{counter-increment:example;}
example:before
	{content:"Example " counter(example) ". ";}
exercise
	{counter-increment:exercise;}
exercise:before
	{content:"Exercise " counter(exercise) ". ";}
lemma
	{counter-increment:lemma;}
lemma:before
	{content:"Lemma " counter(lemma) ". ";}
problem
	{counter-increment:problem;}
problem:before
	{content:"Problem " counter(problem) ". ";}
proposition
	{counter-increment:proposition;}
proposition:before
	{content:"Proposition " counter(proposition) ". ";}
remark
	{counter-increment:remark;}
remark:before
	{content:"Remark " counter(remark) ". ";}
theorem:before
	{content:"Theorem " counter(theorem) ". ";}
theorem
	{border:dashed 1px;
	padding:1mm;
	counter-increment:theorem;}
corollary, remark, example, proof
	{border-bottom:dotted 1px;}
em
	{font-style:italic;}
stress
	{font-weight:bold;}
code
	{display:block;
	white-space:pre;
	text-align:left;}
table, 
	{display:table;}
tr
	{display:table-row;
	text-align:left;}
td, th
	{display:table-cell;}
caption
	{display:table-caption;}
list, references, item, ref, cite
	{display:block;
	text-align:left;}
list, references
	{margin-left:2em;}
list
	{counter-reset:item;}
item
	{counter-increment:item;}
ref, cite
	{counter-increment:reference;}
item:before, ref:before, cite:before
	{width:2em;
	padding-right:1ex;
	content:"(" counter(item) ")";
	text-align:right;
	margin-left:-2em;}
ref:before, cite:before
	{content:"[" counter(reference) "]";}
who:after, what:after, where:after
	{content:", ";}
what
	{font-style:italic;}
where
	{white-space:nowrap;}
@media screen, projection
		{
formula, a, math, ref
	{color:navy;}
article
	{background-color:silver;
	padding:5%;}
title, header, article > *:before, 
section > *:before, subsection > *:before,
appendix > *:before, front > *:before
	{color:maroon;}
		}
@media print
		{
article
	{background-color:white;
	font-size:14pt;}
formula, axiom, lemma, problem, 
exercise, proposition, theorem
	{page-break-inside:avoid;}
		}
		
