/* Start of CMSMS style sheet 'ty_style' */
*  {
	
	margin: 0;
	padding: 0;
}

body {
	background: url(uploads/images/body_bg.gif) repeat;
	background-color:#ffffff;
	/*color: #d9d9d9;*/
	font: 12px "Trebuchet",Verdana,sans-serif;
	margin: 0;
	padding: 0;
}


p {

	margin-top: 0px;
	margin-bottom:8px;
}

/* links */

a {
       border-style:none;
	color:#9A9999;
	text-decoration: none;
}

a img {
       border:0 solid;
text-decoration:none;
}

a:hover
{
      border-style:none;
  	color: #4c4c4c;
	text-decoration: none;
}




h1 {
    font-family: "Georgia",Verdana,sans-serif;
	color: #000000;
	font-size: 18px;
	font-weight: normal;
	margin-bottom:10px;
	margin-top:0px;
}

h2 {
	color: #292929;
	font-size: 20px;
	font-weight: normal;
	margin-bottom: 10px;
}


h3 {
	color: #000000;
	font: 12px "Verdana",sans-serif;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 0px;
}


h4 {
	color: #292929;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 10px;
}

/* layout */
/* div#header {
    background: url(uploads/images/header3.gif) no-repeat;
    position: relative;
	width: 785px;
	height: 193px;
	margin:34px 0px 0px 0px;
}*/

div#header {
    background: url(uploads/images/header.png) no-repeat;
  /*  position: relative;*/
	width: 848px;
	height: 284px;
	/*margin:34px 0px 0px 0px; */
     margin:13px auto 0px auto;   
     padding:0px;
  behavior: url(uploads/iepngfix.htc);

}


div#search_wrapper {
          float:right;
	position: absolute;
	width: 336px;
	height: 35px;
	margin: /*18px*/ 52px 0px 0px 448px;
	padding: 0;
}

div#button {
          float:right;
	position: relative;
	width: 108px;
	height: 26px;
	margin: -26px 10px 0px 0px;
	padding: 0;
}


div#wrap {
		
height:auto !important;
margin:0 auto;
width:848px;/*785px;*/
min-height:100%;

padding:0;
position:relative;

}



div#content {

    background:url(uploads/images/content_bg2.gif) repeat-y;
	/*clear:both; */
	margin: 0 auto;
       float:left;
	position:relative;
	color: #ffffff;
/*	min-height: 500px; */
	width:848px;
}


div#logo {
    float:left;
    background:url(uploads/images/logo.gif) no-repeat;
	clear:both;
	margin: -29px 0px 0px -25px;
	position:absolute;
	height: 279px;
	width:260px;
    z-index:50;
}



div#left_content_wrapper{
      float:left;
 	position: relative;
	width: 437px;
	margin: -29px 0px 0px 145px;

 }
 
 div#left_content{
        background:#f5f5f5;
        float:left;
 	position: relative;
	width: 435px;
	margin:7px 0px 0px 0px;
        padding:0px 0px 0px 0px;
	border: #d7d7d7 1px solid;
 }
 
 div#left_content a{

 
color:#757474;
text-decoration:none;
 }

 div#left_content a:hover{
 
color: #4c4c4c;
text-decoration:none;

 }

 
 div#content_left_header{
    background:url(uploads/images/header_left.jpg) no-repeat;
    float:left;
 	position: relative;
    font: 18px "Trebuchet MS",Verdana,sans-serif;
	color:#fffdfd;
	width: 437px;
	height:34px;
	margin:0px 0px 0px 0px;
	
 }

div#content_left_header_text{
    padding:10px 0px 0px 29px;
	color:#9a9999;
	font-size:12px;
 }




 div#right_content_wrapper{
    float:right;
 	position: relative;
	width: 180px;
	margin:/*35px*/ -29px 78px 0px 0px;
       padding:0px;
 }
 
 div#right_content{
  background:#f5f5f5;
  float:right;
 	position: relative;
	width: 178px;
/*  min-height: 121px;
    height:auto !important;
    height:121px; */
	margin:7px 0px 0px 0px;
	border: #d7d7d7 1px solid ;
     
 }
 
 
 div#content_right_header{
     background:url(uploads/images/header_right.jpg) no-repeat;
    float:right;
	position: relative;
    font: 18px "Trebuchet MS",Verdana,sans-serif;
	color:#fffdfd;
	width: 180px;
	height:34px;
	margin:0px 0px 0px 0px;
 }

 div#content_right_header2{
     background:url(uploads/images/header_right.jpg) no-repeat;
    float:right;
	position: relative;
    font: 18px "Trebuchet MS",Verdana,sans-serif;
	color:#fffdfd;
	width: 180px;
	height:34px;
	margin:10px 0px 0px 0px;
	padding:0px 0px 0px 0px;
 }
 
 
 

div#content_right_header_text{
        padding:10px 0px 0px 29px;
	color:#9a9999;
	font-size:12px;
 }




div#text_content_left{
    font: 12px "Verdana",sans-serif;
	color:#000000;
    float:left;
    position: relative;
	width: 400px;
	margin:20px 0px 10px 22px;
	line-height:18px;
padding:0px;
 }

div#text_content_left ul {
margin:0 0 0 14px;
padding:0;
}

div#text_content_left ol {
margin:0 0 0 21px;
padding:0;
}

div#text_content_left ul.picturelist{
margin-left:0;
padding-left:0;
}

 div#text_content_right{
    font: 12px "Trebuchet MS",Verdana,sans-serif;
	color:#fffefe;
    float:right;
	position: relative;
	width: 235px;
	height:231px;
	margin:20px 9px 0px 0px;
 }


div#footer {
	clear:both;
	margin: 0 auto;
	position:relative;
	background: url(uploads/images/footer2.gif) no-repeat;
	color: #ffffff;
	font-size: 9px;
	height: 148px;
	width:848px;
	line-height: 20px;
	text-align: left;
       padding:0px;
	
	
	
	
}

div#footer_text{
    padding:56px 0px 0px 87px;
	color:#9a9999;
	 font: 12px "Verdana",sans-serif;
 }

div#design_text{
float:left;
    margin:0px 0px 0px 87px;
	color:#9a9999;
	 font: 9px "Verdana",sans-serif;
 }
div#design_text a{
	color:#9a9999;
 }
div#design_text a:hover{
	color: #4c4c4c;
}
/********************* MAINMENU ***********************************/
div#menuwrapper {
    float:right;
	position: relative;
	width: 535px;
	height: 80px;
	margin: 110px 44px 0px 0px;
	padding: 0;
}


ul#mainmenu {
	background:  url(uploads/images/menu_bg.jpg) no-repeat;
	float: left;
	font-family: "Trebuchet MS",Verdana,sans-serif;
	font-size: 14px;
	color:#563636;
	left: 0px;
	list-style: none;
	margin:0px 0px 0px 0px;
      /* margin:31px 0px 0px -35px;*/

	padding-left: 0px;
	position: absolute;
	top: 0px;
	text-align:center;
}

ul#mainmenu li {
/*	background: url(uploads/images/menu_btn.jpg) no-repeat; */
	
	float: left;
	width:123px;
	
	
}


ul#mainmenu li a {
background: url(uploads/images/menu_line.jpg) top left no-repeat;
	color:#757474;
	display: block;
    float: left; /* ie 6 */
	height: 33px;
	line-height:15px;
	padding: 12px 0px 0px 0px;
	text-align:center;
	width:123px;
}

 ul#mainmenu li a:hover {
    background: url(uploads/images/menu_line.jpg) top left no-repeat;
	color: #4c4c4c;
	display: block;
    float: left; /* ie 6 */
	height: 33px;
	line-height: 15px;
	padding: 12px 0px 0px 0px;
	text-align:center;
	width:123px;
}

ul#mainmenu li.menuactive {
        background: url(uploads/images/menu_act.jpg) repeat-x;
	color:#842381;
}

ul#mainmenu li.menuactive a {
	background: url(uploads/images/menu_act.jpg) repeat-x;
	background: url(uploads/images/menu_line.jpg) top left no-repeat;
	color:#842381;
}

ul#mainmenu li.menuactive a:hover {
	background: url(uploads/images/menu_act.jpg) repeat-x;
    background: url(uploads/images/menu_line.jpg) top left no-repeat;
	color:#842381;
}

ul#mainmenu dfn {
   list-style:none;
   display:none;
  
}
.search_label {
   background: url(uploads/images/hakukentta.gif) no-repeat;
    height: 26px;
    width:163px;
border:none;
	margin:10px 0px 0px 0px;
	padding: 5px 0px 0px 3px;
        font: 12px "Trebuchet MS",Verdana,sans-serif;
        color:#757474;
        line-height:20px;
position:absolute;
 
}
.search_button {
     height: 26px;
    width:56px;
    border:none;
    margin:10px 0px 0px 153px;
	padding: 0px 0px 0px 0px;
position:relative;
 
}

/******SUBMENU********************/
div#submenuwrapper {
     float:right;
     margin:8px 0px 8px 0;
    position:relative;
   width:180px;
}

ul#submenu {
	float: left;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	left: 0px;
	list-style: none;
	margin:0px 0 0 1px;
	padding-left: 0px;
	position: relative;
	top: 0px;
	width:180px;
 
        
	
	
}

ul#submenu li {
	display: block;
	float: left;
	width:177px;
       height:24px;
	              background:#F5F5F5 none repeat scroll 0 0;
border:1px solid #D7D7D7;
}

ul#submenu li.menuactive a{
     /* background: url(uploads/images/header_right.jpg) no-repeat; */
	color:#842381;
	
}
ul#submenu li.menuactive a:hover{
	color: #cd0075;
	
}


ul#submenu li a {
	/*background: url(uploads/images/header_right.jpg) no-repeat; */
	color:#757474;
	display: block;
    float: left; /* ie 6 */
	/* width:180px;
        height:34px; */

       	width:140px;
        height:24px;

	line-height: 14px;
	padding: 5px 0px 0px 26px;

     /*  background:#F5F5F5 none repeat scroll 0 0;
border:1px solid #D7D7D7;
*/
     
}

ul#submenu li a:hover {
	/* background: url(uploads/images/header_right.jpg) no-repeat; */
	color: #4c4c4c;
	display: block;
        float: left; /* ie 6 */
	width:140px;
        height:25px
	line-height: 14px;
	padding: 5px 0px 0px 26px;
    
  /*            background:#F5F5F5 none repeat scroll 0 0;
border:1px solid #D7D7D7;
	*/
	
}
ul#submenu dfn {
        display: none;
}
ul#submenu li a:hover{
	color: #4c4c4c;

}
ul#submenu li.selected a, ul#submenu li.activeparent a {
              color:#842381;
 background:#F5F5F5 none repeat scroll 0 0;
border:1px solid #D7D7D7;
}



/* End of 'ty_style' */

