/* CSS */
/*********************************************************
*  Fundim -                                              *
*  Fundamentals of Computing and Discrete Mathematics    *
*                                                        *
*  Department of Mathematics                             *
*  University of Turku                                   *
*                                                        *
*  paper.css - style for printing                        *
*                                                        *
*  Petri Salmela - 2009-06-03                            *
**********************************************************/

/********************************************************/
/*  Hide navigations and other web-stuff                */
/********************************************************/

#breadc, #menu, .clearer { display: none; }

#content a { color: black; text-decoration: none; }

/********************************************************/
/*  Decorate the content. h1, h2, etc...               */
/********************************************************/

#top h1 { font-family: "MgOpen Cosmetica", Times, TimesNR, serif; }

#content
 {
   text-align: justify;
 }

#content h1, #content h2, #content h3, #content h4, #content h5
 {
   text-align: right;
   border-bottom: 1px solid black;
   font-family: "MgOpen Cosmetica", Times, TimesNR, serif;
 }

#content h1
 {
   border-bottom: 4px solid black;
 }

#content #leader
 {
   margin-left: 3em;
 }

#content .quote
 {
   margin: 0 1em 0 1em;
   padding: 0.3em 1em 0.3em 1em;
   font-style: italic;
   border: 0.5px dashed #555;
 }

#content img.right
 {
   float: right;
   width: 50%;
 }

p.center { text-align: center; }
p.right { text-align: right; }
td { padding: 0.2em 0.5em 0.3em; width: 7em; vertical-align: top; border: 1px solid black; }
table { width: 100%; border-collapse: collapse;}
td.text { width: auto; }
div.qlinks { margin: 0 0 0 4em; }

/* Horizontal lists */
ul.horiz { text-align: left; }
ul.horiz li
 {
   display: inline;
   border-left-style: double;
   padding-left: 0.2em;
   padding-right: 0.2em;
 }
ul.horiz li:first-child { border-left-style: none; }

/********************************************************/
/*  Footer                                             */
/********************************************************/

#footer
 {
   margin: 4em 0 0 0;
   padding: 0;
   border-top: 1px solid black;
 }

#footer ul
 {
   list-style-type: none;
   float: left;
   margin: 0;
   padding: 0 1.5em;
 }