/*JB Media Ky www.jbmedia.fi*/

/* style the outer div to give it width */
.menu {
width:999px;
font-size:0.85em;
height:28px;
margin-bottom: 0px;
background-color:#000000;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width:140px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:119px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none;
	color:#EB7627;
	width:108px;
	height:27px;
	background:#000000;
	padding-left:10px;
	line-height:26px;
	font-weight: bold;
	border-top: 0px solid #fff;
	border-right: 0px solid #EB7627;
	border-bottom: 0px solid #fff;
	border-left: 0px solid #fff;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:118px;
w\idth:108px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background:#EB7627;
	color: #000000;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background:#EB7627;
	color: #000000;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#EB7627;
	color: #000000;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background:#EB7627;
	color: #000000;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:28px;
left:0;
width:119px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:27px;
t\op:28px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:119px;
top:0;
width:119px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-119px;
}


/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#EB7627;
color:#000;
height:auto;
line-height:1em;
padding:5px 10px;
width:98px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:118px;
w\idth:108px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#000000;
background:#EB7627;
}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
visibility:visible;
}

.divmenu {
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	width: 999px;
	
}

.alavalikko {
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	width: 10px;
	
}


body{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	background-color: #000000;
}
h3{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
.maintitle { font-weight: bold; }
a, a:visited {
	text-decoration: underline;
	color: #EF752A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:hover {
	color: #FFFFFF;
	text-decoration: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.attention:link, .attention:visited{
	text-decoration: underline;
	color: #1E57A0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.attention:hover {
	color: #000000;
	text-decoration: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.rightmenu { font-size: 8pt; color: #000000; }
.rightmenu:link { font-size: 8pt;  color: #000000;}
.rightmenu:visited { font-size: 8pt; color: #000000;}
.rightmenu:hover { font-size: 8pt; color: #CC0000;}
.topmenu { font-size: 8pt; color: #000000 }
a.topmenu:hover { color: #696868; }
.midmenu { font-size: 12px; color: #000000 }
a.midmenu:hover { color: #696868; }
.error { color: #dd0000; }
.attention { font-weight: bold; color: #033778; }

.toolbox {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9pt;
}

p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9pt;
}
.navlink:link {
	BORDER-RIGHT: 1px solid #F18B39;
	PADDING-RIGHT: 10px;
	FONT-SIZE: 10px;
	COLOR: #F18B39;
	FONT-FAMILY: Arial, Helvetica, sans-serif;
	TEXT-DECORATION: none;
	padding-left: 22px;
}
.navlink:visited {BORDER-RIGHT: 1px solid #F18B39; PADDING-RIGHT: 10px; FONT-SIZE: 10px; COLOR: #003399; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none}
.navlink:hover {BORDER-RIGHT: 1px solid #F18B39; PADDING-RIGHT: 10px; FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #999999; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none}
.toptd {BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; COLOR: #003399; BORDER-BOTTOM: #cccccc 1px solid;}


.navitop ul {
	list-style-type: none;
	margin: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #003366;
}
a#navitopactive {
	font-size: 12px!important;
	color: #CCCCCC;
	font-weight: bold;
	text-decoration: none;
}
.navitop li {
	float: left;
	height: 18px;
	font-size: 11px !important;
	;
	border-top-color: #FFFFFF;
	border-right-color: #F18B39;
	border-left-color: #FFFFFF;
	border-right-width: 1px;
	border-right-style: solid;
	padding-right: 8px;
	background-color: #000000;
}
.navitop a, .navitop a:visited {
	float: left;
	display: block;
	color: #F18B39;
	padding: 1px 1px 1px 8px;
	font-size: 12px!important;
	border-bottom-color: #FFFFFF;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-left-color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}

.navitop a:hover {
	float: left;
	display: block;
	color: #CCCCCC;
	text-decoration: none;
	padding: 1px 1px 1px 8px;
	font-size: 12px!important;
	font-weight: bold;
}
.navitoptable {
	width: 100%;
	background-color: #000000;
	border: 1px solid #F18B39;
}

.path {
	FONT-WEIGHT: normal;
	FONT-SIZE: 10px;
	COLOR: #000000;
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
	BACKGROUND-COLOR: #000000;
	border: 0px none #F2F2ED;
}

.pathtd {
	FONT-WEIGHT: normal;
	FONT-SIZE: 10px;
	COLOR: #ffffff;
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-right-width: 0px;
	border-left-width: 0px;
	
}

.pathleft {
	font-size: 10px;
	color: #FFFFFF;
	padding-left: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.pathright {
	font-size: 10px;
	color: #FFFFFF;
	padding-left: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: right;
	padding-right: 7px;
}

.pathleft a:link {FONT-WEIGHT: normal; FONT-SIZE: 10px; COLOR: #FFFFFF; }
.pathleft a:hover {FONT-WEIGHT: normal; FONT-SIZE: 10px; COLOR: #999999; }
.pathleft a:visited {FONT-WEIGHT: normal; FONT-SIZE: 10px; COLOR: #FFFFFF;}
.navitop {
	FONT-WEIGHT: normal;
	FONT-SIZE: 10px;
	COLOR: #003399;
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
	LETTER-SPACING: 1px;
	TEXT-ALIGN: left;
	width: 100%;
}

.all {
 background-color: #000000;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 border: 1px none #F18B39;
 width: 1000px;
}

.mainright {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-color: #cccccc;
	border-right-color: #cccccc;
	border-bottom-color: #cccccc;
	border-left-color: #cccccc;
	width: 150px;
	vertical-align: top;
	margin-top: 12px;
	padding-top: 12px;
	background-color: #333333;
}

.naviright {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-color: #cccccc;
	border-right-color: #cccccc;
	border-bottom-color: #cccccc;
	border-left-color: #cccccc;
	width: 100px;
	vertical-align: top;
	margin-top: 0px;
	padding-top: 0px;
	background-color: #333333;
	padding-bottom: 22px;
	margin-bottom: 22px;
}

.banner {
	border-bottom-color: #CCCCCC;
	background-color: #000000;
 
}

.main {
	background-color: #333333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding-left: 5px;
	font-size: 10px;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-left-color: #CCCCCC;
	width: 100%;
	margin-top: 12px;
	padding-top: 12px;
	color: #FFFFFF;
}

.maintable {
	background-color: #666666;
	width: 100%;
	border: 1px solid #F18B39;
	
}

.navilefttd {
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 4px;
	padding-right: 3px;
	border-right-color: #cccccc;
	border-bottom-color: #cccccc;
	border-left-color: #cccccc;
	background-color: #000000;
	color: #1E57A0;
}
.navilefttd a:link, .navilefttd a:visited  {
	color: #1E57A0;
	text-decoration: none;
	font-size: 10pt;
	font-weight: bold;
}

.navilefttd a:hover { color: #000000; }
.mainleft{
	border-right-color: #E0E0FA;
	background-color: #000000;
	color: 0F72CD;
	margin-top: 12px;
	padding-top: 12px;
	
}
.navirighttd a:link, .navirighttd a:visited  {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 10px;
	font-weight: bold;
}

.navirighttd a:hover {
	color: #F18B39;
	font-size: 10px;
}

.pictures img{
	font-family: Arial, Verdana, sans-serif;
	font-size: 10px;
	margin-right: 4px;
	border: #FF0000;
}

.bottom {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	border-top-color: #F18B39;
	border-right-color: #CCCCCC;
	border-left-color: #CCCCCC;
	border-bottom-color: #000000;
	background-color: #000000;
	height: 5px;
	padding-left: 1px;
}
.keskiotsikko
{
	font-family:Verdana, Arial, Helvetica, sans-serif;
	background-color: #000099;
	width: 100%;
	float: right;
	color: #FFFFFF;
	padding-left: 6px;
	padding-top: 2px;
	padding-bottom: 2px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	font-size: 12px;
}
.pictures img{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	margin-right: 4px;
	border: #FF0000;
}
.tanaan_a{
	background-color: #EBF3F9;
	font-weight: bold;
	padding-left: 3px;
	
}
.tanaan_b{
	font-weight: bold;
	background-color: #DEECF7;
	padding-left: 3px;
	
}
.vali{
	background-image: url(images/valibg.gif);
	background-repeat: repeat-y;
	width: 9px;
	padding-right: 3px;
	
	
}
.mainossolu{
	vertical-align: top;
	
	
	
}
.form{
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	
	
	
}

.pathmiddle{
/*	vertical-align: top;*/
	margin-top: 3px;
	padding-top: 3px;	
	
}
.hakuboxi{
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	
}

.hakunappi{
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	
}

