* {margin:0;padding:0;} 
html{
height: 100%;
}

#wrap {
	min-height: 100%;
	background-color:	#F5C500;
	background-image: url( ../../images/veijalainen2/bgrepeat.jpg);
	background-repeat: repeat-y;
	background-position: 50% 0%;
}

#main{
	overflow:auto;
	padding-bottom: 150px;
	width:	932px;
	
}  /* must be same height as the footer */

#footer{
	position: relative;
	margin-top: -150px; /* negative value of footer height */
	height: 150px;
	clear:both;
}

/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}

/* general specifications */
body {
	font-family: Tahoma;
	font-size: 11px;
	color: #000000;
	background-color: #F5C500;
	min-height: 100%;
}

body.print	{
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
	font-weight: normal;
	font-variant: normal;
	color: #000000;
	margin: 5px;
	text-decoration: none;
	background: #FFFFFF;
}

p {
	font-family: Tahoma;
	font-size: 11px;
	color: #000000;
}

a:link {
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
}
a:visited {
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
}
a:active {
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
}
a:hover {
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;
	color: #CC0000;
	text-decoration: none;
}

/*a	{
	color: black;
	text-decoration: none;
}

a:hover	{
	text-decoration: underline;
}*/

/* general table cell specification */
td	{
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
}

form {
	margin:0px;
	padding:0px;
}

input	{
	background-color: #FFFFFF;
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
}

input.textfield	{
	background-color: #FFFFFF;
	border-style: solid;
	border-width: 1px;
	border-color: #408080;
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
	padding: 0.2em;
}

input.button {
	/*background-color: #6485B8;*/
	background-color: #F0E284;
	border-style: outset;
	border-width: thin;
	border-left-color: #C5D2DC;
	border-right-color: #C5D2DC; 
	border-top-color: #C5D2DC;
	border-bottom-color: #C5D2DC;
	padding: 0.1em;
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
	font-weight: bold;
	color: #000000;
}

select	{
	background-color: #FFFFFF;
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
}

textarea	{
	background-color: #FFFFFF;
	border-style: solid;
	border-width: 1px;
	border-color: #408080;
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
	padding: 0.2em;
}

a.back			{ color: #000000; text-decoration: none; }
a.back:visited	{ color: #000000; text-decoration: none; }
a.back:hover	{ text-decoration: underline; }

td.pagetitle	{
	color: #000000;
	background-color: #F0E284;
}

td.pagetitle_text	{
	font-weight: bolder;
	color: #000000;
}

a.pagetitle_link		{ color: #000000; text-decoration: none; }	
a.pagetitle_link:visited{ color: #000000; text-decoration: none; }
a.pagetitle_link:hover	{ text-decoration: underline; }

a.lue	{
	border: 1px solid;
	border-color: #2A4C7E;
	font-weight: bolder;
	color: #FFFFFF;
	text-decoration: none;
	padding-right: 0.5em;
	padding-left: 0.5em;
	background-color: #6485B8;
}



a.navigaatio	{
	font-family: Tahoma, Verdana, Arial;
	font-size: 8pt;
	color: black;
	text-decoration: none;
}

td.pagenumber_selected	{
	font-weight: bolder;
	border: 1px solid;
	border-color: #000000;
	background-color: #7C9BC2;
}

td.searchtitle	{
	border: 1px solid;
	background-color: #C7CDFC;
	font-weight: bold;
	color: #2A4C7E;
}

a.searchresult	{
	color: #2A4C7E;
	text-decoration: none;
}

a.searchresult:hover	{
	text-decoration: underline;
}

a.sitemap_link	{
	color: #000000;
	text-decoration: none;
}

a.sitemap_link:hover	{
	text-decoration: underline;
}

td.menuframe	{
	border-left: 1px solid;
}


td.newshead	{
	font-weight: bold;
	font-style: italic;
	background-color: #6485B8;
	color: #FFFFFF;
	padding: 0.2em;
	padding-left: 0.4em;
}

td.frontnews	{
	font-weight: bolder;
	color: #2A4C7E;
}
a.frontnews:link		{color: #2A4C7E; font-weight: bolder; text-decoration: none;}
a.frontnews:active		{color: #2A4C7E; font-weight: bolder; text-decoration: none;}
a.frontnews:visited		{color: #2A4C7E; font-weight: bolder; text-decoration: none;}
a.frontnews:hover		{color: #2A4C7E; font-weight: bolder; text-decoration: underline;}

/* etusivun oikean paneelin linkit*/
a.front_rightpanel_link:link		{color: #2A4C7E; font-weight: normal; text-decoration: none;}
a.front_rightpanel_link:active		{color: #2A4C7E; font-weight: normal; text-decoration: none;}
a.front_rightpanel_link:visited		{color: #2A4C7E; font-weight: normal; text-decoration: none;}
a.front_rightpanel_link:hover		{color: #2A4C7E; font-weight: normal; text-decoration: underline;}


td.index	{
}

a.gallery_folder			{color: #000000; text-decoration: none;}
a.gallery_folder:visited	{color: #000000; text-decoration: none;}
a.gallery_folder:hover		{color: #000000; text-decoration: underline;}

a.gallery_image				{color: #000000; text-decoration: none;}
a.gallery_image:visited		{color: #000000; text-decoration: none;}
a.gallery_image:hover		{color: #000000; text-decoration: underline;}

a.takaisin	{
	color: #000000;
	text-decoration: none;
}

a.takaisin:hover	{
	text-decoration: underline;
}

/* Linkkihakemisto*/

a.lh_kategoria {
        font-size: 11px;
        text-decoration: none;
}
a.lh_kategoria:link    { color: #000000; font-weight: bolder; text-decoration: none; }
a.lh_kategoria:visited { color: #000000; font-weight: bolder; text-decoration: none; }
a.lh_kategoria:hover   { color: #000000; font-weight: bolder; text-decoration: underline; }

a.lh_url_nakyva {
        font-size: 10px;
        color: #3D679A;
}
a.lh_url_nakyva:link    { color: #3D679A; font-weight: normal; text-decoration: none; }
a.lh_url_nakyva:visited { color: #3D679A; font-weight: normal; text-decoration: none; }
a.lh_url_nakyva:hover   { color: #3D679A; font-weight: normal; text-decoration: underline; }

span.red{
	color: #7D0606;
}

#footer{
	background-image: 	url( ../../images/veijalainen2/footer_bg.jpg);
	background-repeat: 	no-repeat;
	background-position:	center top;
	background-color: #f5c500;
	text-align:			center;
}
#mainThing{
	margin-top:		0px;
	padding-top:	0px;
	margin-left:	auto;
	margin-right:	auto;
	width:			932px;
}
#shadowLeft{
	background-image:		url(../../images/veijalainen2/shadow_left.jpg);
	background-repeat:		repeat-y;
	background-position:	top left;
	width:					10px;
}
#shadowRight{
	background-image:		url(../../images/veijalainen2/shadow_right.jpg);
	background-repeat:		repeat-y;
	background-position:	top right;
	width:					10px;
}
#topBar{
	text-align:				right;
	padding-right:			10px;
	height:					30px;
	background-image:		url(../../images/veijalainen2/top_bar.jpg);
}
a.lang{
	display:		inline-block;
	background:		url(../../images/veijalainen2/lang_bg.gif) no-repeat left top;
	line-height:	26px;
	width:			94px;
	height:			26px;
	padding-top:	0px;
	margin-top:		0px;
	font-family:	"Myriad Pro", Helvetica, Arial, sans-serif;
	font-size:		12px;
	color:			#4a4a4a;
	text-align:		center;
	vertical-align:	middle;
}

#menu{
	height:			27px;
	margin:			0px;
	padding:		0px;
	vertical-align:	bottom;
	text-align:		left;
}
#menu > a{
	display:		inline-block;
	padding:		0px;
	margin:			0px;
	background:		url(../../images/veijalainen2/navi_right.jpg) no-repeat right top;
}
#menu > a:hover, #menu > a.active{
	background:		url(../../images/veijalainen2/navi_active_right.jpg) no-repeat right top;
}
#menu > a > b{
	display:		block;
	padding-left:	15px;
	padding-right:	15px;
	height:			27px;
	line-height:	27px;
	text-align:		center;
	vertical-align:	middle;
	color:			#7d0606;
	text-decoration:none;
	background:		url(../../images/veijalainen2/navi_left.jpg) no-repeat left top;
}

#menu > a:hover > b, #menu > a.active > b{
	background:		url(../../images/veijalainen2/navi_active_left.jpg) no-repeat left top;
}
#content{
	text-align:				left;
	background-image: 		url( ../../images/veijalainen2/content_bg.jpg );
	background-position: 	center top;
	background-repeat: 		no-repeat;
	padding-left:			40px;
}
.submenu{
	display:	inline-block;
	width:		200px;
	text-align:	left;
}
.submenu > a{
	display:	block;
}
.submenu > a.active{
	text-decoration:	underline;
}
.search{
	float:			left;
	font-family:	"Myriad Pro", Helvetica, Arial, sans-serif;
	font-size:		12px;
	color:			#666;
	height:			30px;
	vertical-align:	middle;
	line-height:	30px;
	padding-left:	15px;
}
input.searchInput{
    background: url(../../images/veijalainen2/search_bar.jpg) no-repeat;
	font-family: "Myriad Pro", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
    color: #000;
	width: 161px;
	height: 19px;
	padding-left: 3px;
	vertical-align:middle;
	padding-right: 3px;
	margin-left: 5px;
	margin-right: 5px;
    border: none;
}
input.searchButton{
	background: url(../../images/veijalainen2/search_button.gif);
	width: 42px;
	height: 18px;
    border:medium none;
	padding-bottom: 2px;
	font-family: "Myriad Pro", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
    color: #7d0606;
    vertical-align:middle;
}
#address{
	padding-top: 25px;
	margin-left: auto;
	margin-right: auto;
	width:932px;
	padding-left:100px;
	text-align: left;
}
#submenus{
	padding:		5px;
	display:		inline-block;
}
