

html
{
}

body
{
	margin: 0;
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: black;
	background-image: url("/layout/images//tausta.jpg");
	background-repeat: repeat-x;
	background-color: #dce1e9;
	
	text-align: center;
}


.whole
{
	width: 95%;
	min-width: 990px;
	max-width: 1300px;
	margin: auto;

	border-left: 1px solid #c2c2c2;
	border-right: 1px solid #c2c2c2;
	border-bottom: 1px solid #646c78;
	
	background-color: #576f93;
	background-image: url("/layout/images//tehomylly-vert.gif");
	background-repeat: no-repeat;
	background-position: 7px 200px;
	
	text-align: left;
	
}

.header
{
	height: 120px;
	margin-right: 5px;
	background-image: url("/layout/images//header-back.jpg");
	background-color: #d1dded;
	text-align: left;
}

.header-img
{
	height: 120px;
	background-image: url("/layout/images//header.jpg");
	background-repeat: no-repeat;
}

.banneri
{
	float: right;
	width: 468px; height: 60px;
	margin-top: 35px;
	margin-right: 20px;
	border: 0;
}

.globalnavi, .main, .footer
{
	margin-left: 25px;
	margin-right: 5px;
}

.globalnavi {
	background-image: url("/layout/images//navibar.jpg");
	background-repeat: repeat-x;
	background-color: #fffdfe;
	border-bottom: 4px solid #3464ca;
}




.globalnavi a, .globalnavi a:visited {
	display: block;
	float: left;
	
	margin: 0;
	text-decoration: none;
	
	padding: 4px;	
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 5px;

	border-left: 1px solid white;
	border-right: 1px solid gray;
	
	color: #4c5a82;
	font-weight: bold;
	font-size: 12px;
}

.globalnavi a:hover {
	padding-top: 5px;
	padding-bottom: 3px;
	border-left: 1px solid #aabad6;
	border-bottom: 1px solid #aabad6;
	background-image: url('/layout/images//navibar-hov.jpg');
	background-repeat: repeat-x;
	background-color: #fefeff;
	color: #4c5a82;
}


.globalnavi a.selected, .globalnavi a.selected:visited, .globalnavi a.selected:hover {
	border-top: 1px solid #c2d2f0;
	border-left: 1px solid #c3ccdc;
	border-bottom: 1px solid #b0bcd2;

	padding-top: 4px;
	padding-bottom: 3px;
	
	background-color: #2f61c3;
	color: #dfe5f7;
	
	background-image: url('/layout/images//navibar-act.jpg');
	background-repeat: repeat-x;
	background-color: #6c97fd;
}


a, a:visited {
	color: #035190;
	text-decoration: underline;
}

a:hover {
	color: #e06f00;
	text-decoration: none;
}

a:focus { 
	color: #00a08b;
	text-decoration: none;
}


.main
{
	background-image: url("/layout/images//main-back.jpg");
	background-repeat: repeat-x;
	background-color: #989fb0;
	
	padding: 10px;
}


.main-content
{
	background-color: #ffffff;
	border: 1px solid #6178a2;
	height: 1%;
}

.main-whole
{
}

.main-single
{
	margin: 0;
	padding: 10px;

	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	border-left: 2px solid #d8d8d8;
	border-right: 2px solid #d8d8d8;
}

.main-left
{
	margin-right: 240px;
	padding: 8px;
	padding-top: 0px;
	padding-right: 10px;
	height: 1%;
}

.main-right
{
	width: 240px;
	float: right;
	border-left: 1px solid #bebebe;
	border-bottom: 1px solid #bebebe;
	background-color: #f9f9f9;
	
	padding-bottom: 20px;
	line-height: 13px; 
}




.main-title {
	font-size: 10px;
	font-weight: bold;
	color: white;
	border-bottom: 1px solid #6178a2;
	
	background-image: url("/layout/images//pagehead.jpg");
	background-repeat: repeat-x;
	background-color: #3463a1;

	margin: 0;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
}

.main-title a, .main-title a:visited
{
	text-decoration: none;
	font-weight: bold;
	font-size: 10px;
	color: white;
}

.main-title a:hover
{
	text-decoration: underline;
}



.nofloat
{
	clear: both;
}


form {
	margin: 0;
	font-size: 11px;
}

fieldset
{
	margin: 5px;
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #bcbcbc;
	padding: 15px;
	padding-top: 5px;
}

fieldset.empty
{
	border: 0;
	margin: 0;
	padding: 0;
}

legend {
	font-weight: bold;
	font-size: 11px;
	color: #627b8a;
}


label
{
	display: block;
	font-weight: bold;
	color: gray;
	font-size: 10px;
	margin-top: 4px;
}


input[type="text"], input[type="file"], input[type="password"], input[type="username"], select, textarea
{
	font-family: Verdana, Arial, sans-serif;
	font-size: 11px;
	
	padding: 2px;

	color: #545454;
	background-color: #f6f6f6;

	border: 1px solid #8b9099;
	width: 200px;
}




textarea
{
	width: 100%;
	height: 150px;
}



input[type="text"]:focus, input[type="file"]:focus, input[type="password"]:focus, select:focus, textarea:focus
{
	background-color: white;
	color: black;
	border: 1px solid black;
}


/* Sisäänkirjautuminen */

form.login
{
	margin: 0;
	padding: 0;
}

form.login fieldset
{
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 0;
	padding: 0;
	padding-bottom: 5px;
	border: 1px solid #949eb3;
}

form.login legend
{
	color: #515d7c;
}

form.login label
{
	float: left;
	margin-left: 5px;
	width: 60px;

	color: #626c85;
	line-height: 12px;
}

form.login input, form.login button
{
	margin: 0;
	margin-left: 5px;
	margin-right: 5px;
	padding: 1px;
	margin-bottom: 2px;	
	float: left;
	
	font-family: Verdana, Arial, sans-serif;
	font-size: 10px;
	line-height: 12px;
	
	padding-right: 2px;
	padding-left: 2px;
}

form.login input
{
	text-align: left;
	width: 65px;
}

form.login input#autologin
{
	width: auto;
}

form.login button
{
	background-color: #9ea8be;
	border: 1px solid #6d7995;
	border-right: 2px solid #6d7995;
	border-bottom: 2px solid #6d7995;
	font-weight: bold;
	color: white;
	padding-left: 7px;
	padding-right: 7px;
	width: 65px;
}

form.login button:focus
{
	background: #beaf9e;
	
	border: 1px solid #6d7995;
	border-left: 2px solid #6d7995;
	border-top: 2px solid #6d7995;
}


.footer 
{
	height: 20px;
	background-color: #576f93;
	font-size: 10px;
	color: #d5dbe4;
	font-weight: bold;
	clear: both;
}

.footer a, .footer a:visited, .footer a:hover
{
	font-size: 10px;
	color: #d5dbe4;
	font-weight: bold;
	text-decoration: none;
}
table
{
	color: black;
	font-family: Verdana, Arial;
	font-size: 12px;
	text-align: left;
	vertical-align: top;
	padding: 0;
	border-collapse: separate;
	border-spacing: 0px;
	
	border-top: 1px solid #aab9c7;
	border-left: 1px solid #aab9c7;
	border-bottom: 1px solid white;
	border-right: 1px solid white;
}

th, td
{
	padding: 3px;
	vertical-align: top;
	
	border-top: 1px solid white;
	border-left: 1px solid white;
	border-right: 1px solid #aab9c7;
	border-bottom: 1px solid #aab9c7;
}

th
{
	padding-left: 5px;
	padding-right: 5px;
	background: #e0e7ee;
	font-size: 0.9em;
	color: #406386;
}

td
{
	font-size: 0.9em;
	background: #f8f9fa;
}


table.empty, table.empty th, table.empty td
{
	border: 0;
}
.main-whole { padding-left: 182px; }

.navi-left { width: 175px; float: left; }

.navi-left-bottom {
	width: 175px;
	background-color: #7b86a4;
	background-image: url("/layout/images//leftnavi-shadow.jpg");
	background-repeat: repeat-x;
	padding-bottom: 1px;
	margin-bottom: 10px;
}

.navi-left-inner {
	background-color: #f5f8fc;
	margin-right: 2px;
	margin-bottom: 2px;
	border: 1px solid #6178a2;
}

.navi-left-inside {
	margin: 3px;
	padding: 0;
	padding-bottom: 10px;
	background-color: #ebf1f7;
	background-image: url("/layout/images//leftnavi.jpg");
	background-repeat: repeat-x;
	border: 1px solid #bbc3d0;
	text-align: left;
}

.navi-left ul {
	margin: 0;
	margin-left: 5px;
	padding: 0;
	font-size: 11px;
	font-weight: bold;
	color: #515d7c;
}

.navi-left ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-top: 5px;
}

.navi-left ul li ul {
	margin: 0;
	padding: 0;
}

.navi-left ul li a, .navi-left ul li a:visited {
	font-size: 11px;
	font-weight: bold;
	color: #334c87;
	text-decoration: none;
}

.navi-left ul li a:hover {
	text-decoration: underline;
	color: #3058b8;
}

.navi-left ul li ul li, .navi-left ul li ul li.selected {
	list-style-position: inside;
	list-style-type: square;
	color: #6c7998;

	text-decoration: none;
	background: #e1e6ed;
	margin: 0;
	padding: 0;
	padding-left: 5px;

	border-top: 1px solid white;
	border-left: 1px solid white;
	border-bottom: 1px solid #c8ccd8;
}

.navi-left ul li ul li.selected {
	
	text-decoration: none;
	background-color: #f5f8fc;
	background-image: url('/layout/images//orange-arrow.gif');
	background-repeat: no-repeat;
	background-position: center right;
	color: #e06f00;
}

.navi-left ul li ul li.selected a, .navi-left ul li ul li.selected a:visited
{
	color: #e06f00;
}

.navi-left p
{
	font-weight: normal;
	line-height: 1.4em;
}
.main-whole {
	padding-right: 142px;
}

.navi-right {
	
	float: right;
	
	width: 130px;
	border: 0px solid #6178a2;
	min-height: 250px;
	margin: 0;
	padding: 0;
}


.banneri img, .navi-right img
{
	border: 0;
	padding: 0;
	margin: 0;
}

.preview
{
	border: 2px solid gray;
}

.notep, .notem
{
	font-size: 0.9em;
	line-height: 1.4em;
	font-weight: bold;
	margin-top: 10px;
    padding: 5px;
}

.notep
{
    color: #4d9649;
    background: #eefaed;
    border: 1px dotted #97b595;
}

.notem
{
    color: #c4492d;
    background: #faefed;
    border: 1px dotted #b59a95;
}

.error
{
	color: red;
}

.main-left img, .main-right img, .main-single img, .main-layer img
{
	float: none;
	border: 1px solid black;
	padding: 4px;
	background-color: white;
}


h1, h2, h3, h4, h5 
{	
	font-family: Arial;
	font-weight: bold;
	color: #2a639d;
	padding: 0;
	margin-top: 20px;
	margin-bottom: 5px;
}

h2, h3, h4, h5 
{	
	border-left: 10px solid #a5bed7;
	padding-left: 10px;
}

h4, h5
{
	margin-top: 0;
}

.main-title h1
{
	color: white;
	font-size: 2em;
	margin-top: 5px;
	margin-bottom: 0;
	padding: 0;
}


h2
{
	font-size: 1.4em;
}

h3
{
	font-size: 1.2em;
	border-color: #ffd6a0;
}

h4
{
	font-size: 1.1em;
}

p {
	color: black;
	text-align: left;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 12px;
}






.comment {
	margin: 3px;
	margin-top: 10px;
	margin-bottom: 10px;
	
	border: 5px solid #eaeff4;
	background-color: #fcfcfc;
	
	padding: 10px;
}


.comment p
{
	font-size: 11px;
	line-height: 14px;
	color: #404040;
	margin-left: 15px;
}

.comment hr
{
	border-top: 1px solid #c9d2db;
	margin-top: 10px;
	margin-bottom: 10px;
}


.news
{
	border-bottom: 1px solid #b3c3db;
	padding-bottom: 10px;
	margin-bottom: 15px;
}


.news .news-pics
{
	text-align: left;
	margin-left: 20px;
	border: 2px solid #ececec;
	padding: 15px;
	vertical-align: top;
}


.news-pics img
{
	margin-right: 3px;
	margin-bottom: 2px;
}

.news p
{
	margin-left: 20px;
	text-align: justify;
}



p.headline
{
	text-align: left;
	font-weight: bold;
	font-size: 10px;
	color: #527998;
	
	line-height: 12px;
	
	padding: 0;
	margin-bottom: 10px;
	margin-top: 2px;
}

a.genbold, a.genbold:visited, a.genbold2, a.genbold2:visited
{
    font-size: 10px;
    font-weight: bold;
    color: #527998;
    text-decoration: underline;
}

a.genbold2, a.genbold2:visited
{
    text-decoration: none;
}

a.genbold:hover  { color: #e06f00; }
a.genbold2:hover { color: #e06f00; }


.main-right h3
{
	border: none;
	font-family: Verdana;
	
	font-size: 10px;
	font-weight: bold;	
	color: white;

	margin-top: 10px;
	margin-bottom: 5px;
	padding: 1px;
	padding-left: 4px;
	
	background-color: #7897c6;
	border-top: 1px solid #6178a2;
	border-bottom: 1px solid #6178a2;
}

.main-right h3.first { border-top: 0; margin-top: 0; }

.main-right h4
{
	
	
	padding: 0;
	margin: 0;
	margin-left: 5px;
	margin-top: 3px;
	
	font-size: 10px;
	font-weight: bold;
	color: #929fb5;
}

.main-right img { float: left; margin-right: 4px; margin-bottom: 2px; }

.main-right p {
	
	margin: 0;
	margin-bottom: 5px;
	
	font-size: 10px;
	color: #5b5b5b;
	
	margin-left: 5px;
	margin-right: 5px;

}

.main-right ul
{
	margin: 0;
	padding: 0;
	font-size: 10px;
	font-weight: bold;
	color: #949daa;
}

.main-right li
{
	margin: 0;
	padding: 0;
	padding-bottom: 3px;
	margin-left: 5px;
	list-style-type: none;
}

hr
{
	height: 1px;
	border-top: 1px solid #b3c3db;
	border-bottom: 0;
}

.owner p
{
	color: #3972ac;
}

img.empty
{
	border: 0;
	margin: 0;
	padding: 0;
	background: none;
}

.main-right img.empty
{
	margin: 2px;
}

a.selected, a.selected:visited
{
	color: #e06f00;
}

.marks-pros, .marks-cons
{
	font-family: Verdana;
	padding: 4px;
	padding-left: 10px;
}

.marks-pros
{
	color: #2c712c;
	border-left: 5px solid #cfe5cf;
}

.marks-cons
{
	color: #9c1c0a;
	border-left: 5px solid #e0c5c1;
}

.test
{
	border: 1px solid blue;
}

  .clear {
    clear:both;
    height:1px;
    overflow:hidden;
  }

div.navigointi
{
	font-size: 11px;
	color: #627188;
}

div.navigointi a, div.navigointi a:visited
{
	font-weight: bold;
	text-decoration: none;
}

div.navigointi a:hover
{
	text-decoration: underline;
}

div.navigointi a.selected, div.navigointi a.selected:visited
{
	font-size: 14px;
	color: #e06f00;
}

.gray
{
	margin: 0;
	border: 1px solid #e9e9e9;
	background-color: #f9f9f9;
	padding: 8px;
	
	font-size: 11px;
	line-height: 15px;

	overflow: auto;
	margin-bottom: 5px;
}

.gray .navil
{
	float: left;
	margin-right: 20px;
}

.gray .navir
{
	float: right;
	margin-left: 20px;
}

.navir p, .navir label
{
	margin: 0;
	padding: 0;
}

.gray ul
{
	list-style-position: inside;
	list-style-type: square;
	margin: 5px;
	padding-left: 0;
}

.gray ol
{
	list-style-position: inside;
	margin: 5px;
	padding: 0;
}


.gray ol li, .gray ol li a, .gray ol li a:visited
{
	text-decoration: none;
	color: #2a639d;
	font-weight: bold;
}

.gray ol li.selected, .gray ol li.selected a, .gray ol li.selected a:visited
{
	color: #e06f00;
}

.gray ol li a:hover, 
.gray ol li.selected a:hover
{
	text-decoration: underline;
}



ul.kuvalista
{
	list-style-type: none;
	padding: 0;
	margin: 0;
	margin-top: 10px;
}

ul.kuvalista li
{	
	padding: 5px;
	margin-top: 5px;
	margin-bottom: 10px;
	
	min-height: 90px;
	height: 1%;
	
	background-color: #f9f9f9;
	border: 1px solid #bebebe;
}

ul.kuvalista li img
{
	margin-right: 5px;
}

ul.kuvalista h2
{
	margin-top: 0;
	border-left-color: #a3b0c3;
}

h2 a, h2 a:visited
{
	text-decoration: none;
	font-size: 14px;
}

h2 a:hover
{

}

ul.kuvalista p
{
	font-size: 10px;
	line-height: 14px;
}

