body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #333333;
	background-color: #5491C8;
	text-align: center;
	margin: 0px;
	padding: 0px;
	background-image: url(/img/family_custom_2_0/body.png)!Important;
	background-image: url(/img/family_custom_2_0/body.gif);
	background-repeat: repeat-x;
}

table {
	border: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}

#wrapper {
	width: 850px;
	text-align: left;
	color:#000000;
	border: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 15px;
	margin-left: auto;
	background-color: transparent;
}
#inner_wrapper {
	background-image: url(/img/family_custom_2_0/MainHomepageBg.png);
}

.balk {
	background-color: #c5c5c5;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #FFFFFF;
	border-left-color: #FFFFFF;
}

img {
	border: none;
}

a {
	color: #006699;
}
a:hover {
	color: #666666;
	text-decoration: none;	
}

#top_bg {
	background-image: url(/img/family_custom_2_0/bg_top.gif);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}


/* Ylaosan maaritykset */

#banner {
	background-color: #ffffff;
	position: relative;
	z-index: 1;
	background-image: url(/img/family_custom_2_0/bannerBg.jpg);
	height: 241px;
	margin-right: 7px;
	margin-left: 9px;
}
#logo {
	position: absolute;
	z-index: 2;
    left: 0px;
    top: 0px;
    font-size: 26px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}
.logo_table {
	height: 100px;
	margin-left: 25px;
	margin-right: 20px;
	font-size: 26px;
}


/* Main maaritykset */

#main {
	margin-right: 7px;
	margin-left: 9px;
	border-top-width: 4px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
}

#main_table {
	height: 400px;
	width: 98%;
}

#main_table[id] {
	width: 100%;
}
#top {
	width: 850px;
	height: 49px;
}

/* Topmenu maaritykset */

#top_menu {
	width: 850px;
	font-weight: bold;
	padding-left: 0px;
	height: 49px;
	position: relative;
}

#top_menu ul {
	list-style-type: none;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 1px;
}
#top_menu ul li {
	display: inline;
	margin: 0px;
	padding: 0px;

}
#top_menu ul li a {
	padding-top: 16px;
	padding-right: 0px;
	padding-bottom: 8px;
	padding-left: 0px;
	color:#666666;
	text-decoration: none;
	background-image: url(/img/family_custom_2_0/tab.gif);
	width: 126px;
	text-align: center;
	display: block;
	float: left;
	margin-top: 9px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-repeat: no-repeat;
}
#top_menu ul li a:hover {
	color: #000000;
	text-decoration: none;
}

#top_menu ul li a.act{
	background-image: url(/img/family_custom_2_0/tab_active.gif);
	background-repeat: no-repeat;
}


/* Right maaritykset */

.right {
	background-color: #F2F2F2;
	width: 236px;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
}
#right{
	margin: 0;
}


#menu {
	padding: 1px;

}
#menu ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#menu ul ul {
	margin: 0px;
	padding: 0px;
	padding-left: 15px;
	list-style-type: none;
}

#menu ul li {
	margin: 0;
	padding: 0;
	 width:100%;
}
#menu ul li a {
	text-decoration: none;
	display: block;
	color:#666666;
	font-weight: bold;
	margin-top: 0px;
	margin-right: 4px;
	margin-bottom: 1px;
	margin-left: 4px;
	padding-top: 5px;
	padding-right: 4px;
	padding-bottom: 6px;
	padding-left: 30px;
	background-image: url(/img/family_custom_2_0/submenuBg.gif);
	font-size: 11px;
}
#menu ul li a:hover, #menu ul li a.act {
	color: #000000;
	background-color: #E2E2E2;
}
#menu li li a {
	text-decoration: none;
	display: block;
	color:#666666;
	font-weight: bold;
	margin-top: 0px;
	margin-right: 4px;
	margin-bottom: 1px;
	margin-left: 4px;
	padding-top: 5px;
	padding-right: 4px;
	padding-bottom: 6px;
	padding-left: 15px;
	background-image: none;
	font-size: 11px;
	background-position: left bottom;
	background-repeat: no-repeat;
}
#menu li li a:hover, #menu li li a.act {
	color: #1E69A0;
	background-color: #E2E2E2;
}

#commercial_area {
	text-align: center;
	margin-top: 15px;
	margin-right: 12px;
	margin-bottom: 9px;
	margin-left: 12px;
}
#news_area {
	margin-top: 20px;
	margin-right: 12px;
	margin-bottom: 9px;
	margin-left: 12px;
}
#news_area .article {
	line-height: 17px;
	background-image: url(/img/family_custom_2_0/katkoviiva.gif);
	background-position: left bottom;
	background-repeat: no-repeat;
	padding-bottom: 7px;
	padding-top: 7px;
}
#news_area .article a {
	background-image: url(/img/family_custom_2_0/bullet1.gif);
	background-repeat: no-repeat;
	margin-left: 6px;
	padding-left: 12px;
	background-position: 0px 6px;
}
#right h1 {
	background-image: url(/img/family_custom_2_0/right_h1.gif);
	font-size: 12px;
	padding-top: 6px;
	padding-bottom: 6px;
	background-repeat: no-repeat;
	padding-left: 7px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 5px;
}




/* Middle maaritykset */

.middle {
	background-color: #FFFFFF;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}
#middle {
	padding: 20px 30px;
}

.header {
	padding-bottom: 12px;
	font-size: 18px;
	font-weight: bold;
	color: #666666;

}
.maintext {
	margin: 0;
	line-height: 18px;
}
.maintext p {
	margin: 0 0 12px 0;
}
#middle img {
	margin: 5px;
}

/* Footer maaritykset */

#footer {
	background-color: transparent;
	background-image: url(/img/family_custom_2_0/FooterBg.png);
	background-repeat: no-repeat;
}
#address {
	text-align: center;
	color: #E5E5E5;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 8px;
	padding-left: 10px;
}

#address a {
	color: #E5E5E5;
}
#links {
	position: absolute;
	top: 2px;
	right: 20px;
	height: 100px;
	text-align: right;
}

#links ul {
	list-style-type: none;
	margin: 0px;
	padding-top: 8px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#links li {
	padding-top: 10px;
	padding-left: 15px;
}

#links a {
	background-image: url(/img/family_custom_2_0/bullet1.gif);
	background-repeat: no-repeat;
	color: #666666;
	font-weight: bold;
	text-decoration: none;
	background-position: right 6px;
	padding-right: 10px;

}
.commercial-image {
 text-align: center;
}