@charset "utf-8";

/* visual */
::selection {
	background: #ffb7b7; /* css3 browsers, ie. safari,opera9.5,ff3 etc */
}


html,body {
	background-color : white; 
	color :#404040;
	font-family : verdana, Arial,helvetica, sans-serif;
	margin : 0;
	padding : 0;
	width : 100%;
}

a {
	color : #000080;
	text-decoration : underline;
}
a:hover {
	color : #006699;
}

a img {
	border : none;
}

div#alatunniste {
  content-visibility: auto;
  contain: layout style;
}

div.mainos {
	background-color:#dae6ef;
	border: 5px solid #dae6ef;
}



div#middle {
	color :#404040;
	width:58%;
	max-width : 800px;
	margin:auto;
}
@media screen and (max-width:920px){
   div#middle  {
		width:90%;
	}
}


div#middle ul li {
	list-style-type:square;
	line-height:200%;	
	padding-bottom:1.5em;
}

div#middle ol li {
	list-style-type:upper-latin;
	line-height:200%;	
	padding-bottom:1.5em;
}

div#middle td a {
	text-decoration:underline;
}



dl { 
	border-bottom: 1px solid #999; 
	margin:1em;
}

dt{
	width: 15em;
	padding: .5em;
	float: left;
	clear:left;
	margin: 0;
	border-top: 1px solid #999;
	font-weight: bold;
	line-height:1.5em;
}

dd {
	margin-left: 16em;
	padding: .5em;
	border-top: 1px solid #999;	
	line-height:1.5em;	
	padding-bottom:1.5em;
}

@media screen and (max-width:920px){
	dd,dt {
		display:block;
		clear:both;
		width:100%;
		border-top:none;
		float:none;
		margin-left:0;
	}
}

figure {
    width: 90%;
    margin: auto;
    padding: 1em;
}
figure img {
    width: 90%;
}

figcaption {
	font-style: italic;
}

h1 {
	color:#333;
	font-variant:small-caps;
}

h2 {
	background:#fee3ad; 
	border:solid #ffa20f; 
	border-width:2px 0; 
	line-height:130%;	
	margin-top:1.7em; 
	padding:2px 4px; 
}

h3 {
	color : #000000;
	font-weight : bold;
}


img {
	margin-left : 1em;
	margin-right:1em;
	margin-bottom:30px;
	
}


nav.readalso2025 {
 content-visibility: auto;
  contain: layout style;

  background: #f1f5f9; 
  border: 1px solid #d1d5db; 
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}

nav.readalso2025::before {
  content: "📚 Tutustu oppaan muihin osiin:";
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

nav.readalso2025 ol {
  padding-left: 0;
  margin: 0;
}


div#middle nav.readalso2025 li {
  list-style: none;
  margin-bottom: 0.75em;
  color: #374151;
}

nav.readalso2025 a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}

nav.readalso2025 a:hover {
  color: #1e40af;
  text-decoration: underline;
}

nav.readalso2025 li a:not(:last-child)::after {
  content: " » ";
  color: #9ca3af;
}


p {
	margin-left : 1em;
	margin-right:1em;
	line-height:200%;
	margin-bottom:1.5em;	
}

p.faq {
	font-weight: bold;
}

p.huom {
	clear:both;
	color:#CC0000;
	background-image:url("/kuvat/huom.gif");
	background-repeat:no-repeat;
	background-position: top left;
	padding-left:2em;
}

p.mainos2 {
	background-color:#dae6ef;
	color:#333;
	font-weight: bold;
	margin:0px;
	padding-left:5px;	
}

p.readalso {
	border : 1px dotted #808080;
	padding : 5px;
	line-height:3em;
}

@media screen and (max-width:920px){
	p.readalso {line-height:2em;}
}

p.readalso a {
	text-decoration: none;
}


pre {
	margin-left : 1em;
	margin-right:1em;
	background-color: #DDDDDD; 
	border : 1px solid;
	border-color:#666666;
	color: black;
	padding-left:35px;
	line-height:14px;
	white-space: pre-wrap;
	
	background-image:url("/kuvat/bg-code-linenumbers.gif");
	background-repeat:no-repeat;
	background-position: top left;

}


span.vaihe {
	font-weight:bold;
}


table {
	margin-left : 1em;
	margin-right:1em;
	border-collapse:collapse;
	    width: 90%;
    max-width: 800px;
}



td {
	border-left: 1px solid #C1DAD7;
	border-right: 1px solid #C1DAD7;
	border-bottom: 1px solid #C1DAD7;
	background: #fff;
	padding: 6px 6px 6px 12px;
	color: #4f6b72;
}


th {
	font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #4f6b72;
	border-right: 1px solid #C1DAD7;
	border-bottom: 1px solid #C1DAD7;
	border-top: 1px solid #C1DAD7;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: left;
	padding: 6px 6px 6px 12px;
	background: #CAE8EA;
}