/* These files (in koti.mbnet.fi/janiu/) and contents on pages: */
/* Copyright (C) 2001-2019 Jani Untinen.                        */

/* main.css */

/* General rules: */

html,body
{
	background-color: #621470; color: #c00009;
	font-family: Arial, Helvetica, sans-serif;
}

a:active { text-decoration: none; color: #621470 }
a:link { text-decoration: underline; color: #211780 }
a:visited { text-decoration: none; color: #680909 }
a:hover { text-decoration: none; color: #621470 }

a.ll:active { text-decoration: none; color: #621470 }
a.ll:link { text-decoration: none; color: #000000 }
a.ll:visited { text-decoration: none; color: #000000 }
a.ll:hover { text-decoration: underline; color: #621470 }

a.llv:active { text-decoration: none; color: #621470 }
a.llv:link { text-decoration: none; color: #211780 }
a.llv:visited { text-decoration: none; color: #680909 }
a.llv:hover { text-decoration: underline; color: #621470 }

a.headr { text-decoration: none; color: inherit }
a.headr:active { text-decoration: none; color: inherit }
a.headr:link { text-decoration: none; color: inherit }
a.headr:visited { text-decoration: none; color: inherit }
a.headr:hover { text-decoration: none; color: inherit }

h1,h2,h3,h4,h5,h6 { color: #0b0fbd; padding: 2em 10px 1em 10px }
h1 { text-align: center; padding: 0 10px 1em 10px }
h2 { text-align: center }

h1.nav,h2.nav,h3.nav,h4.nav,h5.nav,h6.nav { text-align: left; color: #c00009 }
ul.nav { font-weight: bold; margin-top: 10px; margin-bottom: 10px }
ul.navI { font-weight: normal; margin-top: 10px; margin-bottom: 10px }

hr.nrrw { width: 70% }
hr.nrrwmkspace { width: 70%; margin-top: 30px; margin-bottom: 30px }
.mkspace { margin-top: 50px; margin-bottom: 50px; text-align: center }
.mainpage { margin-top: 130px; margin-bottom: 60px; text-align: center }
p.topg { text-align: right }
.rght { text-align: right }
img.rght { float: right; text-align: right }
.cntr { text-align: center }
.current { color: #ff0000 }
a.current:active { text-decoration: none; color: #ff0000 }
a.current:link { text-decoration: none; color: #ff0000 }
a.current:visited { text-decoration: none; color: #ff0000 }
a.current:hover { text-decoration: underline; color: #ff0000 }

/* Rules for actual content: */

div.content
{
	background-color: #fefefe;
	color: #000000; font-size: 120%;
	/* z-index: 2; */
	/* display: block;
	position: fixed;
	top: auto; bottom: auto;
	left: auto; right: auto; */
	/* margin-top:	.75em;
	margin-bottom:	.75em; */
	margin: 5%;
	padding-left:	8%;
	padding-right:	8%;
	padding-top:	.75em;
	padding-bottom:	.75em;
	border-top:	.75em;
	border-bottom:	.75em;
	/* text-align: center; */
}

/* Rules for credits: */

div.cred
{
	background-color: #621470;
	color: #000000; font-size: 80%;
	margin-left: 0px; margin-right: 0px;
	padding: 5px 1% 5px 1%;
	width: auto; border: none;
}
a.cred:active { text-decoration: none; color: #000000 }
a.cred:link { text-decoration: none; color: #000000 }
a.cred:visited { text-decoration: none; color: #000000 }
a.cred:hover { text-decoration: underline; color: #000000 }

/* Rules for printing: */

@media print {
	html,body { background: #ffffff; color: black; margin: 0; padding: 0 }
	a:active { text-decoration: none; color: black }
	a:link { text-decoration: none; color: black }
	a:visited { text-decoration: none; color: black }
	a:hover { text-decoration: none; color: black }
	h1,h2,h3,h4,h5,h6 { page-break-after: avoid; page-break-inside: avoid; color: black }
	blockquote,pre { page-break-inside: avoid }
	ul,ol,dl { page-break-before: avoid }
	div.content { background: #ffffff; color: black; margin: 0; padding: 0 }
	div.cred { background: #ffffff; color: black; page-break-before: avoid; page-break-inside: avoid; margin: 0; padding: 0 }
}


/* 2019-07-01, Jani Untinen */

