a.n:link {color:black;}      /* unvisited link */

a.n:visited
{
	color:black;
}

a.n:hover
{
	color:white;
	border-left:10px solid green;
	margin-left:-10px;
}

a.n:active {color:yellow;}  /* selected link */

/*ensin bgcolor, sitten tekstin väri koko sivulla (musta)*/
body
{
	background:url(img/violetti_reuna.png) repeat-y fixed, url(img/violetti_reuna_r.png) right top repeat-y fixed;
	background-color: #D1E8F6;
	color: #000000;
	margin:0px;
	font-size:16px;
}
/* Tarvittaessa Poistettava! !!Estää "border: #"-käskyn toiminnan <img>-tagissa!! */
img {border: 0}

.sisus
{
	max-width:1000px;
	margin-left: auto;
	margin-right: auto;
	margin-top:73px;
	z-index:0;
	display:table;
	border-spacing:8px 0px;
}

.otsikko_w
{
	margin-top:3px;
	width:100%;
	position:fixed;
}

.otsikko
{
	background:url(img/valko_reuna.png) repeat-y;
	width:990px;
	margin-left:auto;
	margin-right:auto;
	border:2px outset #84b84c;
	border-top:0px;
	text-align:center;
	padding-top:1px;
	top:0px;
	height:60px;
	z-index:1;
	background-color:#A0D66D;
}

.valikko
{
	width:196px;
}

.valikko_w
{
	position:fixed;
}

.valikko_laatikko
{
	background:url(img/valko_reuna.png) repeat-y;
	background-color:#A0D66D;
	border:1px solid lightblue;
	width:189px;
	padding:2px;
}

.ylavalikko
{
	
}

.sisalto
{
	display:table-row;
}

.cols
{
	display:table-cell;
	vertical-align:top;
	overflow:scroll;
}

.cols_inner
{
	padding:10px;
	background-color:#FDFDFD;
	border:1px solid lightblue;
	overflow:auto;
}

.col_2
{
	width:572px;
	max-width:572px;
}

.col_3
{
	width:176px;
	max-width:572px;
}

.jalka
{
	z-index:-1;
	position:relative;
	width:1000px;
	clear:both;
	margin-left:auto;
	margin-right:auto;
}

.jalka_hr
{
	width:1000px;
}

.emptywarn
{
	display:none;
}

.loginbox
{
	position:fixed;
	width:30%;
	left:35%;
	top:10%;
	background-color:orange;
	border:1em outset blue;
	text-align:center;
	max-height:80%;
	overflow:auto;
	z-index:3;
}

.topmost
{
	z-index:99;
}

.huomkolmiopieni
{
	position:fixed;
	top:10px;
	left:10px;
	z-index:99;
	cursor:pointer;
}

.opacity3
{
	opacity:0.3;
	filter:alpha(opacity=30);
}

.c_point
{
	cursor:pointer;
}

.b
{
	font-weight:bold;
}

.harmaa_teksti
{
	color:grey;
}

a.n
{
	text-decoration:none;
}

.kehys_yla
{
	height:27px;
}

.kehys_keski
{
	width:100%;
}

.kehys_ala
{
	width:100%;
	height:32px;
}

.red
{
	color:red;
}

div.no_picture
{
	width:200px;
	height:200px;
	background-color:grey;
	color:blue;
	font-size:800%;
	text-align:center;
	vertical-align:middle;
	font-weight:bolder;
}

.myytavat_info
{
	position:fixed;
	width:50%;
	left:25%;
	top:10%;
	background-color:#F2E88E;
	border:10px outset purple;
	text-align:center;
	max-height:80%;
	overflow:auto;
}

.myy1 /* myytävien listan selite (taulukon vasen reuna) */
{
	font-style:italic;
	text-align:right;
	width:1em;
	padding:0.25em;
	white-space:nowrap;
	background-color:orange;
}

.myy2 /* myytävien listan data (taulukon oikea reuna) */
{
	text-align:left;
	padding:0.25em;
	background-color:#F2E88E;
}

.myy3 /* myytävien listan kuva-lista */
{
	border:none;
}

.myy4
{
	font-size:80%;
}

.huom_pi /* "pienempi italic" */
{
	font-size:80%;
	font-style:italic;
}

.n_popup /* "normaali" popup */
{
	z-index:10;
}

.a_popup  /* "alert" popup */
{
	z-index:11;
}

ul.bb_list
{
	margin-top:0px;
}

.warnbox2
{
	position:fixed;
	width:60%;
	left:20%;
	top:10%;
	background-color:orange;
	border:1em outset blue;
	max-height:80%;
	overflow:auto;
	z-index:99;
}

/*
Content crafted by Marko Mäkinen for the use of Mäkisen Paja
*/

