/* =============================================*/
/* Style sheet for MEW                          */

body {
 color: black;
 background-color: white;
}

a:link { color: #4169E1; background-color: transparent } /* RoyalBlue, like the covers of MEW */
a:active { color: #00FFFF; background-color: transparent } /* Cyan or Aqua, like the labels on the spine of MEW */
a:visited { color: #DC143C; background-color: transparent } /* Crimson, like the labels on the spine of MEGA */



/* By default, paragraphs are not indented;
 indented paragraphs are of class="indent" */

p {
 text-indent: 0em;
 }
 
p.indent {
 text-indent: 5%;
 }

/* quoted paragraphs in smaller font */

p.quote { 
 font-size: 80%;
}

/* stretched-out emphasis.
<em> tag should usually include
white space before and after
in order to get the increased word spacing */

em.stretch {
 letter-spacing: 0.2em;
 word-spacing: 0.1em
}

/* Make pno anchors invisible; user should know that */
/* clicking on the first word of each paragraph */
/* transports you to the beginning of the page  */


a.pno:link, a.pno:active, a.pno:visited {
 color: black;
 background-color: transparent;
 text-decoration: none;
}

/* The print edition of MEW has three types of footnotes or
endnotes: footnote by the authors Marx or Engels, footnote by
the editors of MEW, and endnote by the editors of MEW.

The electronic edition adds a fourth type, namely editorial
endnotes by the editors of the electronic edition.
Typographically, however, everything is set as endnotes, and
a distinction is only made between two types: afnref and afn
are the author's footnote references and notes themselves,
and efnref and efn are the various editor's footnote or
endnote references and notes themselves.  If the reader
wants to know which kind of editorial footnote or endnote he
or she is dealing with he has to look at the names of the
footnote anchors. fna = fussnote des Autors,
fnh = Fussnote der Herausgeber, anm = Anmerkung

rules at end of chapter dividing text from the footnotes are
similar to those at the bottom of each page in the print
edition */

hr.afn {
 width: 10em;
 text-align: left;
 }

hr.efn {
 width: 30em;
 text-align: left;
}


/* so far the contents of mew-minimal.css.  Now new stuff.
Make line-height large enough that the editors footnotes
do not raise the lines */

sup.efnref, sup.afnref {
	font-size: 80%;
	font-weight: normal;
}


p {
 line-height: 1.5;
}

span.chapno {
 font-variant: small-caps;
 font-weight: normal;
}

/*
html, body, h2, h3, h4, div, p, ul, li, input {
   font-family: Arial, Helvetica, sans-serif;
}
*/


/* don't underline the editorial footnote references,
and also not their echoes at the beginning of the footnote */

a.efnref, a.efn {
 text-decoration: none;
}


table { margin-left: auto; margin-right: auto; }

/* =====================================*/
/* Adjustments for Mobile Devices       */
/* =====================================*/

@media (max-width: 480px) {
  p { font-size: 12pt; margin-left: 1%; margin-right: 1%; margin-bottom: 4pt; margin-top: 4pt; line-height: 125%; }
  p.indentb { margin-left: 6%; margin-right: 1%; }
  p.quoteb { margin-left: 6%; margin-right: 1%; }
  p.index { margin-left: 6%; margin-right: 1%; }
  h1 { font-size: 18pt; margin-left: 1%; margin-right: 1%; }
  h2 { font-size: 16pt; margin-left: 1%; margin-right: 1%; }
  h3 { font-size: 14pt; margin-left: 1%; margin-right: 1%; }
  h4 { font-size: 13pt; }
  h5 { margin-left: 1%; }
  h6 { margin-left: 1%; }
  img { width: 150px; height: auto; }
  img.auto {width: auto ; height: auto; }
  blockquote {margin-left: 1%; }
}
