body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
	background-color: #222222;
	text-align: center;
	margin: 0px;
	padding: 0px;
	background-image: url(/img/family_custom_5_0/top_fade.png) !important;
	background-image: none;
	background-repeat: repeat-x;
}

table {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}

#wrapper {
	width: 820px;
	text-align: left;
	background-color:#FFFFFF;
	color:#000000;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-image: url(/img/family_custom_5_0/wrapper.gif);
	background-repeat: repeat-y;
	background-position: left;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
}

#inner-wrapper {
	margin: 0px 10px 0px 10px;
}

a {
	color: #006699;
}
a:hover {
	color: #666666;
	text-decoration: none;	
}
table {
	border: none;
}

/* Ylaosan maaritykset */

#banner {
	height: 226px;
	background-color: #ffffff;
	position: relative;
	z-index: 1;
	background-image: url(/img/family_custom_5_0/banner.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	margin-bottom: 10px;
}
#logo {
	position: absolute;
	z-index: 2;
    left: 0px;
    top: 26px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}
.logo_table {
	height: 200px;
	font-size: 32px;
	font-weight: bold;
	margin-left: 10px;
}


/* Main maaritykset */

#main {
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #FFFFFF;
	border-bottom-color: #FFFFFF;

}
#main_table {
	height: 400px;
	width: 800px;
}

#main_table[id] {
	width: 100%;
}
/* Topmenu maaritykset */

#top_menu {
	width: 100%;
	background-color: #ffffff;
	text-align: right;
	height: 26px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	background-repeat: repeat-x;
}
#top_menu ul {
	list-style-type: none;
	margin: 0px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;

}
#top_menu ul li {
	display: inline;
	margin: 0px;
	padding: 0px;

}
#top_menu ul li a {
	padding-top: 0px;
	padding-right: 7px;
	padding-bottom: 0px;
	padding-left: 7px;
	margin: 0px;
	color:#006699;
	text-decoration: none;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #E9E9E9;
	font-weight: bold;
}
#top_menu ul li a:hover {
	color: #000000;
}

/* Left maaritykset */

.left {
	background-color: #FFFFFF;
	width: 210px;
}
#left {
	margin-right: 10px;
}
.left h1 {
	font-size: 12px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 5px;
	background-image: url(/img/family_custom_5_0/h1.gif);
	background-repeat: repeat-x;
}


#menu {
	margin-top: 15px;
}

#menu ul {
    width:100%;
    padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	list-style-type: none;
	background-color: transparent;
}

#menu ul ul {
	margin: 0;
	padding: 0;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCCCCC;
}

#menu ul ul ul{
	margin: 0;
	padding: 0;
	border: none;
}

#menu li {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 1px 0px;
    width:100%;
	text-decoration: none;
	color:#333333;
	font-weight: bold;
}

#menu a {
	text-decoration: none;
	display: block;
	background-color: transparent;
	color:#333333;
	font-weight: bold;
	font-size: 11px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCCCCC;
	background-image: url(/img/family_custom_5_0/bullet1.gif);
	background-repeat: no-repeat;
	background-position: 9px 9px;
	margin-top: 1px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 4px;
	padding-right: 4px;
	padding-bottom: 4px;
	padding-left: 22px;
}

#menu a.act {
	text-decoration: underline;
}
#menu li li {
	padding-left: 25px;
}
#menu li li a {
	border: none;
	background-image: none;
	color: #666666;
	font-weight: normal;
	padding:3px 0 3px 0;
	margin: 0;
	background-image: url(/img/family_custom_5_0/bullet2.gif);
	background-position: 0px 8px;
	padding-left: 15px;
}

#menu li li a:hover, #menu li li a.act {
	border: none;
	color: #666666;
	font-weight: normal;
	background-color: transparent;
	text-decoration: underline;
}


#menu a:hover {
	color: #000000;
	background-color: #E2E2E2;
}



/* Middle maaritykset */

.middle {
	background-color: #FFFFFF;
	border: 1px solid #DEDEDE;
}
#middle {
	padding: 15px;
	margin-top: 0px;
	margin-right: 15px;
	margin-bottom: 15px;
	margin-left: 15px;

}
.header {
	padding-bottom: 12px;
	font-size: 17px;
	font-weight: bold;
	background-position: 7px 7px;
}
.maintext {
	margin: 0;
	line-height: 17px;
}
.maintext p {
	margin: 0 0 12px 0;
}
#middle img {
	margin: 5px;
}

/* Footer maaritykset */

#footer {
	background-image: url(/img/family_custom_5_0/footer_bg.gif);
	background-repeat: no-repeat;
	background-position: center;
	height: 57px;
}
#address {
	text-align: center;
	color: #666666;
	padding-top: 22px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
.commercial-image {
margin: 5px 0px 5px 0px;
text-align: center;
}

#commercial_area {
	text-align: center;
	margin-top: 15px;
	margin-right: 5px;
	margin-bottom: 9px;
	margin-left: 5px;
}
#news_area {
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 9px;
	margin-left: 0px;
	padding-left: 5px;
	padding-right: 5px;
}
#news_area .article {
	line-height: 17px;
	padding-bottom: 7px;
	padding-top: 7px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCCCCC;
}
#news_area .article a {
	background-image: url(/img/family_custom_5_0/bullet1.gif);
	background-repeat: no-repeat;
	margin-left: 6px;
	padding-left: 12px;
	background-position: 0px 6px;
}

#address a {
	color: #666666;
}

