body
{
	margin: 0 auto;
	padding: 0;
	font: 76% Verdana, Helvetica, Tahoma, Arial, sans-serif;
	background: #ffffff;
	color: #494949;
	min-width:800px;
}

div.videoScroll {
	height: 450px;
	width: 200px;
	overflow: auto;
	border: 1px solid #666;
	background-color: #FFF4D2;
	padding: 8px;
}
div.videoDescScroll {
	height: 30px;
	width: 630px;
	overflow: auto;
	border: 1px solid #666;
	background-color:#E1E1FF;
	padding:5px;
	margin-bottom:10px;
}


#MainWrapper
{
	background: #ffffff;
	color: #303030;
	margin: 0 auto;
	width: auto;
}

#Header
{
	color:#ffffff;
	padding-top:12px;
	padding-bottom:12px;
	padding-left:20px;
	height: 60px;
	font-size:27px;
	font-weight:normal;
	background-color: #055899;
	background-image: url('tausta2.jpg');
	background-position: bottom right;
	background-repeat:no-repeat;
}

#Header h1
{
	color:#ffffff;
	text-align:left;
	font-size:10px;
	margin:4px 0 0 0;
	padding:0;
	
}

#Header a
{
	text-decoration:none;
	color:#FF9900;
}
#Header a:hover
{
	text-decoration:underline;
	color:#FF9900;
}

#HeaderMenus
{
	color:#000000;
	height:1.2em;
	line-height:1.2em;
	padding-left:11px;
	margin:0 0 10px 0;
	background-color: #dcdcdc;
	border-bottom:solid 2px #a9a9a9;
}
#HeaderMenus ul
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
}
#HeaderMenus li
{
	float:left;
	list-style-type:none;
}
#HeaderMenus li a
{
	display:block;
	padding:0 10px;
	font-size: 0.9em;
	font-family: Verdana, Helvetica, Tahoma, Arial, sans-serif;
	text-decoration:none;
	background-color:inherit;
	color:#000000;
}
#HeaderMenus .selected
{
	color: #336699;
	text-decoration: none;
	background-color:inherit;
}
#HeaderMenus a:hover
{
	background-color:inherit;
	color: #336699;
	text-decoration: none;
}

/* Begin CSS Popout Menu */

#menu {
	color:#000000;
	height:1.3em;
	line-height:1.3em;
	margin:0 0 10px 0;
	padding-left:10px;
	background-color: #dcdcdc;
	border-bottom:solid 2px #a9a9a9;
}

#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 10.4em;
	float: left;
}

#menu a, #menu h2 {
	margin: 0;
    display:block;
	font-size: 0.9em;
	font-family: Verdana, Helvetica, Tahoma, Arial, sans-serif;
	text-decoration:none;
	background-color:inherit;
	color:#000000;
}

#menu h2 {
	color:#000000;
	background-color:inherit;
}

#menu a {
	padding:0 10px;
	display:block;
	font-size: 0.9em;
	font-family: Verdana, Helvetica, Tahoma, Arial, sans-serif;
	text-decoration:none;
	background: #efefef; 
	color:#000000;
	padding-top:2px;
	padding-bottom:2px;
}

#menu h2 a {
	background: #dcdcdc;
	font-size: 1.0em;
	padding-top:0;
	padding-bottom:0;
}


#menu a:hover {
	background-color:#ddd;
	color: #336699;
	text-decoration: none;
}

#menu h2 a:hover {
	background-color:inherit;
}

#menu li {
position: relative;
}

#menu ul ul {
	width:14.4em;
	font-family:Verdana, Helvetica, Tahoma, Arial, sans-serif;
	font-size:1.1em !important;
	font-size:1.0em;
    border-width: 1px;
	border-style: solid;
	border-color: #ccc #dcdcdc #dcdcdc #bbb;
	position: absolute;
	z-index: 500;
}

#menu ul ul ul {
    border-width: 1px;
	border-style: solid;
	border-color: #ccc #dcdcdc #dcdcdc #bbb;
	position: absolute;
	top: 0;
	left: 100%;
}

div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}

/* End CSS Popout Menu */

#SideContents
{
	float:right;
	width:199px;
	color: #333300;
	padding:0 6px 0 7px;
	line-height:1.4em;
	background-color:#ffffff;
}
#SideContents h3
{
	color: #4D6E8F;
	font-size: 1.4em;
	margin: 0 auto;
	padding: 0 0 8px 0;
	background-color:inherit;
}
#SideContents p
{
	font-size: 90%;
	text-align: left;
	background-color:inherit;
	color: #333300;
	margin: 0 0 12px 0;
}

#SideContents form
{
	padding: 0;
	margin: 0;
}

#SideContents table
{
	font-size: 90%;
	text-align: left;
}

#SideContents a
{
	text-decoration: underline;
	background-color:inherit;
	color: #000066;
}

#MainContent
{
	margin: 0 186px 18px 10px;
	padding: 0 12px 0 10px;
	line-height: 1.6em;
}

#MainContent2
{
	padding: 0 12px 0 10px;
	line-height: 1.6em;
}

#MainContent h2
{
	color:#000000;
	font-size: 1.5em;
	margin: 0 0 0.5em 0;
	background-color:inherit;
	text-align: left;
}
#MainContent h3
{
	color:#000000;
	font-size: 1.2em;
	margin: 0.5em 0 0 0;
	background-color:inherit;
	text-align: left;
}
#MainContent p
{
	color:#494949;
	text-align: left;
	background-color:inherit;
}
#MainContent a
{
	text-decoration: underline;
	background-color:inherit;
	color: #000066;
}
#MainContent img 
{
	display:inline;
	color: inherit;
	background-color:inherit;
	/* border: 2px solid #79A3C1; */
}
.taulukko {
	
	border:0;
	border-padding:2px;
	border-spacing:1px;
	background-color:#055899;
}
.taulukko td{
	background-color:#F4FAFF;
}
.taulukko th{
	background-color:#D9EBFF;
	text-align:left;
}

#Footer 
{	
	margin: 0 auto;
	margin-top:10px;
	padding: 8px 0 2px 0;
	border-top: 1px solid #ddd;
	width: auto;
	text-align: center;
	font-size: 0.9em;
	line-height: 1.6em;
}
#Footer a 
{
	color: #000099;
	background-color: inherit;
	text-decoration: none;
}
#Footer a:hover 
{
	text-decoration: underline;
}

.AlignLeft
{
	margin: 5px 10px 5px 0;
	float: left;
}
.AlignRight
{
	margin: 10px 0 0 10px;
	float: right;
}

#haku {
	display:none;
	visiblity:none;
	width:0;
	height:0;
}
#haku hakuotsikko{
	display:none;
	visibility:hidden;
}
#haku hakukuvaus{
	display:none;
	visibility:hidden;
}
#haku hakusanat{
	display:none;
	visibility:hidden;
}

/* set millions of background images */
.rbroundbox { background: url(img/nt.gif) repeat; }
.rbtop div { background: url(img/tl.gif) no-repeat top left; }
.rbtop { background: url(img/tr.gif) no-repeat top right; }
.rbbot div { background: url(img/bl.gif) no-repeat bottom left; }
.rbbot { background: url(img/br.gif) no-repeat bottom right; }

/* height and width stuff, width not really nessisary. */
.rbtop div, .rbtop, .rbbot div, .rbbot {
width: 100%;
height: 15px;
font-size: 1px;
}

.rbcontent {margin: 0 7px; color:#FFFFFF;}
h1.rbcontent{
	color:#FFFFFF;
	font-size:1.2em;
	margin-bottom: 4px;
	margin-top: 0;
	font-weight:bold;
	border-bottom:dashed 1px #FFFFFF;
}

p.rbcontent{
	color:#FFFFFF !important;
}


.rbroundbox{
width: 480px;
align:left;
color:#FFFFFF;
margin-bottom:20px;
margin-top:10px;
}

/* set the image to use and establish the lower-right position */
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2{
background: transparent url(img/demobox.png) no-repeat bottom right;
}

.cssbox{
width: 189px !important; /* intended total box width - padding-right(next) */
width: 189px; /* IE Win = width - padding */
padding-right: 15px; /* the gap on the right edge of the image (not content padding) */
margin: 0 auto; /* use to position the box */
} 

/* set the top-right image */
.cssbox_head{
background-position: top right;
margin-right: -15px; /* pull the right image over on top of border */
padding-right: 20px; /* right-image-gap + right-inside padding */
} 

/* set the top-left image */
.cssbox_head h2{
background-position: top left;
margin: 0; /* reset main site styles*/
border: 0; /* ditto */
padding: 20px 0 10px 20px; /* padding-left = image gap + interior padding ... no padding-right */
height: auto !important;
height: 1%; /* IE Holly Hack */
color:#FFFFFF;
font-size: 1.4em;
}

/* set the lower-left corner image */
.cssbox_body {
background-position: bottom left;
margin-right: 10px; /* interior-padding right */
padding: 10px 0 25px 20px; /* mirror .cssbox_head right/left */
}
