/* ------------------------------------------------------------

    Yritys:   JS Media
    Pivitetty:   19.12.2007

------------------------------------------------------------ */

/* -----------------------------------

YLEISET MUOTOILUT 

-------------------------------------- */

* {
padding:0;
margin:0;
}

div {
margin:0px;
padding:0px;
text-align: left;
}

p {
padding-bottom:15px;
}

table p {
padding-bottom:0;
}

.padding0 {
padding:0;
}

ul {
padding-bottom:15px;
}

li {
margin-left:15px;
}


a {
text-decoration:none;
color:#88c3ee;
}

a:hover {
text-decoration:underline;
}

.strong {
font-weight:bolder;
}
.left {
float:left;
}

.right {
float:right;
}

.image_border{
margin:1px;
border:1px solid #999;
}

.clear {
clear:both;
}

.center {
text-align:center;
}

.underline {
text-decoration:underline;
}

select {
font-size:80%;
}

.error {
color:#FF0000;
}


a.button {
background-image:url('../images/bg_takaisin.gif');
background-repeat:no-repeat;
background-position:bottom left;
width:154px;
height:23px;
display:block;
float:left;
padding-top:3px;
margin-right:10px;
text-align:center;
font-weight:bolder;
} 

a.button:hover {
} 


/* -----------------------------------

RAKENTEEN MUOTOILUT

-------------------------------------- */
html {
height:100%;
}

body {
margin: 0;
padding: 0;
/*background-color: #464135; */
background-color: #494337; 
color: #ede8dd;
font: 69%  arial, sans-serif;
text-align: left; /*ie hack for centered layout*/
height:100%;
background-image:url(../images/bg.jpg);
background-repeat:no-repeat;
background-position:top left;
}


#contentframe  {
float:left;
width:100%;
background-image:url(../images/bg_content.jpg);
background-repeat:no-repeat;
background-color: #494337;
} 



/* -----------------------------------

TEKSTIEN MUOTOILUT

-------------------------------------- */


h1 {
color:#ff2400;
margin-bottom:6px;
font-size: 1.4em;
font-weight:bolder;
padding-top:0px;
text-transform:uppercase;
border-bottom:1px solid #5e5744;
}


h2 {
color:#fff;
margin-bottom:15px;
padding:3px 0 2px 0;
font-size: 1.3em;
clear:both;
font-weight:bold;
}

h3 {
color:#fff;
margin-bottom:15px;
padding:5px 0 2px 0;
font-size: 1.2em;
}

h4 {
color:#fff;
margin-bottom:10px;
padding-bottom:4px;
padding-top:5px;
font-size: 1.1em;
}

h5 {
color:#fff;
margin-bottom:10px;
padding-bottom:4px;
padding-top:5px;
font-size: 1.1em;
}

h6 {
color:#fff;
margin-bottom:10px;
padding-bottom:4px;
padding-top:5px;
font-size: 1.0em;
}

.news_list {
border-bottom:1px solid #625c4d;
padding:0;
}

.news_listlink {
color:#b8b2a5;
display:block;
padding:5px;
margin-top:4px;
}

.news_listlink:hover {
color:#b8b2a5;
display:block;
background-color:#4e493c;
text-decoration:none;
}

/* -----------------------------------

YLOSA

-------------------------------------- */

#header  {
width:100%;
height:280px;
float:left;
}

#languages {
position:absolute;
left:850px;
top:0;
float:left;
}


/* -----------------------------------

PNAVIGAATIO

-------------------------------------- */

#naviframe {
height:41px;
float:left;
padding:52px 0 0 16px;
}

#naviframe img {
padding:0 2px 0 0;
}








#main {
width:1004px;
}


/* -----------------------------------

VASEN KOLUMNI

-------------------------------------- */

#content_left {
float:left;
width:215px;
margin-top:42px;
}


.box_briefly {
padding:5px 10px 0 25px;
}

 	.box_briefly p {
	color:c9bfa9;
	}
	
	.box_briefly .newstime {
	color:#9a8b73;
	}
	
	.box_briefly a {
	color:#fff;
	text-decoration:none;
	}
	
	.box_briefly a:hover {
	text-decoration:underline;
	}




/* -----------------------------------

SISLTOSA

-------------------------------------- */

#maincontent {
float:left;
padding-top:15px;
}

#maincontent_front {
float:left;
padding-top:45px;
}

#maincontent_front_en {
float:left;
padding:45px 0 0 70px;
}

#textarea {
width:480px;
padding:15px 10px 0 20px;
font-size:1.1em;
line-height:1.6;
}

.front_midbox {
background-image:url(../images/bg_frontpage_boxes_mid.jpg);
background-repeat:repeat-y;
float:left;
width:525px;
}
	.frontbox {
	float:left;
	padding:0 8px 0 13px;
	width:154px;
	color:#60513a;
	line-height:1.2;
	}
	
	.frontbox p {
	padding:5px 0 5px 0;
	}
	
	.frontbox img {
	float:right;
	padding-right:10px;
	}

.front_midbox_en {
background-image:url(../images/bg_frontpage_boxes_mid_en.jpg);
background-repeat:repeat-y;
float:left;
text-align:center;
width:354px;
}
	.frontbox_en {
	float:left;
	padding:0 20px 0 15px;
	width:140px;
	color:#60513a;
	line-height:1.2;
	}


.front_midbox_en2 {
background-image:url(../images/bg_frontpage_boxes_mid_en3.jpg);
background-repeat:repeat-y;
float:left;
text-align:center;
width:354px;
}
	.frontbox_en2 {
	float:left;
	padding:0 20px 0 112px;
	width:140px;
	color:#60513a;
	line-height:1.2;
	}	

/* Etusivu */

.textarea {
padding:20px 20px 20px 20px;
clear:both;
font-size:105%;
}

.textarea table p {
padding-bottom:30px;
}



/* -----------------------------------

OIKEA KOLUMNI

-------------------------------------- */



#content_right {
width:264px;
float:right;
background-image:url('../images/bg_ajankohtaista.jpg');
background-repeat:no-repeat;
background-position:top left;
margin-top:15px;
}

#content_right_en {
width:264px;
float:right;
background-image:url('../images/bg_news.jpg');
background-repeat:no-repeat;
background-position:top left;
margin-top:15px;
}

.box_news {
margin-top:60px;
width:159px;
padding-left:45px;
}

 	.box_news p {
	padding: 9px 0 9px 0;
	border-bottom:1px solid #5a564a;
	color:fefefe;
	display:block;
	}
	
	.box_news .newstime {
	color:#9a8b73;
	}
	
	.box_news a {
	color:#fff;
	text-decoration:none;
	}
	
	.box_news a:hover {
	text-decoration:underline;
	}



/* -----------------------------------

ALAOSA

-------------------------------------- */

#footer {
	width:100%;
	height:82px;
	color:#a6a6a6;
	clear:both;
	background-image:url('../images/bg_footer.jpg');
	background-repeat:no-repeat;
	background-position:top left;
}



#footer_left {
	float:left;
	padding-top:10px;
	padding-left:10px;
}

#footer_left p {
padding:35px 0 0 0;
color:#fff;
}


#footer_right {
	float:right;
	padding-top:10px;
	padding-right:10px;
}

#footer_right p {
padding:35px 0 0 0;
color:#77705e;
}

		#footer a {
			color:#fff;
			font-weight:normal;
			}
			
		#footer a:hover {
			text-decoration:underline;
			}
			
			
#co {
	width:100%;
	height:65px;
	text-align:left;
	padding-top:4px;
	color:#666;
	background-color:#FFFFFF;
}	

	#co img {
	margin-left:20px;
	vertical-align:middle;
	}	
	
		


/* ------------------------------------------------------------

	Alanavi

------------------------------------------------------------ */
#submenu { 
	padding: 0 0 0 0;
	font-size: 1.1em;
	}

#submenu ul {
	float:left;
	width:215px;
	text-align:left;
	padding:0;
	margin:0 0 50px 0;
	}


#submenu li {
	list-style:none;
	margin:0;
	}

#submenu li.taso1_act a {
	text-decoration:none;
	display:block;
	color:#fff;
	border-bottom:#5f5743 solid 1px;
	padding: 5px 0 5px 38px;
	background-image:url('../images/submenu_arrow_act.gif');
	background-repeat:no-repeat;
	background-position: 26px 9px;
}

#submenu li.taso1_act a:hover {
	text-decoration:underline;
}

#submenu li.taso1_noact a {
	text-decoration:none;
	display:block;
	color:#d9d6b6;
	border-bottom:#5f5743 solid 1px;
	padding: 5px 0 5px 38px;
	background-image:url('../images/submenu_arrow.gif');
	background-repeat:no-repeat;
	background-position: 26px 9px;
}

#submenu li.taso1_noact a:hover {
	text-decoration:underline;
}



#submenu li.taso2_act a {
	text-decoration:none;
	display:block;
	color:#fff;
	padding: 5px 10px 5px 50px;
	background-color:#4b4639;
	border-bottom:1px solid #585244;
	background-image:url('../images/submenu_arrow2_act.gif');
	background-repeat:no-repeat;
	background-position: 38px 9px;
}

#submenu li.taso2_act a:hover {
}


#submenu li.taso2_noact a {
	text-decoration:none;
	display:block;
	color:#d9d6b6;
	padding: 5px 10px 5px 50px;
	background-color:#4b4639;
	border-bottom:1px solid #585244;
	background-image:url('../images/submenu_arrow2.gif');
	background-repeat:no-repeat;
	background-position: 38px 9px;
}

#submenu li.taso2_noact a:hover {
	text-decoration:underline;
}


   
/* -----------------------------------

BOKSI

-------------------------------------- */
.boxframe {
padding:100px;
color:#fff;
}

.box{display:block}
.box *{
  display:block;
  height:1px;
  overflow:hidden;
  font-size:.01em;
  background:#79b820;}
.box1{
  margin-left:3px;
  margin-right:3px;
  padding-left:1px;
  padding-right:1px;
  border-left:1px solid #f9f9f9;
  border-right:1px solid #f9f9f9;
  background:#f6f6f6}
.box2{
  margin-left:1px;
  margin-right:1px;
  padding-right:1px;
  padding-left:1px;
  border-left:1px solid #fdfdfd;
  border-right:1px solid #fdfdfd;
  background:#f5f5f5}
.box3{
  margin-left:1px;
  margin-right:1px;
  border-left:1px solid #f5f5f5;
  border-right:1px solid #f5f5f5;}
.box4{
  border-left:1px solid #f9f9f9;
  border-right:1px solid #f9f9f9}
.box5{
  border-left:1px solid #f6f6f6;
  border-right:1px solid #f6f6f6}
.boxfg{
  background:#79b820;
  width:200px;
  padding:0 5px 0 7px;}




