*{
	padding: 0;
	margin: 0;
	font-size: 1.0em;
}
body {
	font-size: 76%;	
	background: #f3efdd;
	font-family: arial;
}
div#page_container_top {
	background: url(../images/bg_page_container_top.gif) top left no-repeat;
	width:723px;
	margin: 0 auto 0 auto;
}
	div.logo_oesfi a{
		display: block;
		width: 400px;
		float:left;
		padding: 20px 0 0px 0;
		margin: 0px 0 10px 20px;
	}
	div.lang_menu {
		width: 303px;
		float:left;	
		text-align:right;
	}
		div.lang_menu a{
		display: block;
		margin: 21px 22px 0 0;
	}
div#main_banner1 {
	background: url(../images/bnr1.png) top left no-repeat;
	width:723px;
	height: 247px;
	margin: 0 auto 0 auto;
}
div#main_banner2 {
	background: url(../images/bnr2.png) top left no-repeat;
	width:723px;
	height: 247px;
	margin: 0 auto 0 auto;
}
div#main_banner3 {
	background: url(../images/bnr3.png) top left no-repeat;
	width:723px;
	height: 247px;
	margin: 0 auto 0 auto;
}
div#main_banner4 {
	background: url(../images/bnr4.png) top left no-repeat;
	width:723px;
	height: 247px;
	margin: 0 auto 0 auto;
}
div#main_menu_bg_container {
	background: url(../images/bg_main_menu.png) top left no-repeat;
	width:816px;
	height: 61px;
	position: absolute;
	margin: -15px 0 0 -40px;	
}
	div.menu_button_container {
		margin: 18px 0 0 70px;	
		
	}
		div.menu1 a{
			display: block;
			background: url(../images/menu1.gif) top left no-repeat;
			width: 47px;
			height: 13px;
			float:left;
			margin: 3px 19px 0 0;
		}
		div.menu1 a:hover{
			display: block;
			background: url(../images/menu1.gif) 0 -13px no-repeat;
			width: 47px;
			height: 13px;
		}
		body.etusivu div.menu1 a, body.ajankohtaista_arkisto div.menu1 a, body.tapahtumat div.menu1 a{
			display: block;
			background: url(../images/menu1.gif) 0 -13px no-repeat;
			width: 47px;
			height: 13px;
			float:left;
			margin: 3px 19px 0 0;
		}		
		div.menu2 a{
			display: block;
			background: url(../images/menu2.gif) top left no-repeat;
			width: 56px;
			height: 13px;
			float:left;
			margin: 0px 19px 0 0;				
		}
		div.menu2 a:hover{
			display: block;
			background: url(../images/menu2.gif) 0 -13px no-repeat;
			width: 56px;
			height: 13px;
		}
		body.yhdistys div.menu2 a, body.hallituksen_yhteystiedot div.menu2 a , body.julkaisut div.menu2 a, body.poytakirjat div.menu2 a  , body.nettilehti div.menu2 a  {
			display: block;
			background: url(../images/menu2.gif) 0 -13px no-repeat;
			width: 56px;
			height: 13px;
			float:left;
			margin: 0px 19px 0 0;	
		}			
		div.menu3 a{
			display: block;
			background: url(../images/menu3.gif) top left no-repeat;
			width: 96px;
			height: 13px;
			float:left;
			margin: -3px 19px 0 0;					
		}
		div.menu3 a:hover{
			display: block;
			background: url(../images/menu3.gif) 0 -13px no-repeat;
			width: 96px;
			height: 13px;
		}
		body.tietoa_rodusta div.menu3 a, body.rotuneuvojien_esittely div.menu3 a , body.rotumaaritelma div.menu3 a, body.rodun_historia div.menu3 a  , body.luonne div.menu3 a , body.lammaskoiran_hoito div.menu3 a , body.turkinhoito div.menu3 a , body.lampurin_aktivointi div.menu3 a , body.lampuri_koiranayttelyssa div.menu3 a , body.rotu_suomessa div.menu3 a , body.jto div.menu3 a , body.haaveissa_lammaskoira div.menu3 a , body.terveys div.menu3 a , body.harrastus div.menu3 a  {
			display: block;
			background: url(../images/menu3.gif) 0 -13px no-repeat;
			float:left;
	margin: -3px 19px 0 0;	
		}		
		div.menu4 a{
			display: block;
			background: url(../images/menu4.gif) top left no-repeat;
			width: 82px;
			height: 14px;
			float:left;
			margin: -6px 19px 0 0;			
		}
		div.menu4 a:hover{
			display: block;
			background: url(../images/menu4.gif) 0 -14px no-repeat;
			width: 82px;
			height: 14px;
		}
		body.pentuvalitys div.menu4 a,body.pentuvalityssaannot div.menu4 a,body.pentuvalityslomake div.menu4 a,body.kiitos div.menu4 a{
			display: block;
			background: url(../images/menu4.gif) 0 -14px  no-repeat;
			width: 82px;
			height: 14px;
			float:left;
			margin: -6px 19px 0 0;			
		}
		div.menu5 a{
			display: block;
			background: url(../images/menu5.gif) top left no-repeat;
			width: 75px;
			height: 12px;
			float:left;
			margin: -3px 19px 0 0;						
		}
		div.menu5 a:hover{
			display: block;
			background: url(../images/menu5.gif) 0 -12px no-repeat;
			width: 75px;
			height: 12px;
		}
		body.kasvattajia div.menu5 a{
			display: block;
			background: url(../images/menu5.gif) 0 -12px  no-repeat;
			width: 75px;
			height: 12px;
			float:left;
			margin: -3px 19px 0 0;						
		}				
		div.menu6 a{
			display: block;
			background: url(../images/menu6.gif) top left no-repeat;
			width: 57px;
			height: 13px;
			float:left;
			margin: -2px 19px 0 0;										
		}
		div.menu6 a:hover{
			display: block;
			background: url(../images/menu6.gif) 0 -13px no-repeat;
			width: 57px;
			height: 13px;
		}
		body.tulokset div.menu6 a, body.haetulokset div.menu6 a{
			display: block;
			background: url(../images/menu6.gif) 0 -13px no-repeat;
			width: 57px;
			height: 13px;
			float:left;
			margin: -2px 19px 0 0;							
		}				
		div.menu7 a{
			display: block;
			background: url(../images/menu7.gif) top left no-repeat;
			width: 36px;
			height: 12px;
			float:left;	
			margin: 1px 19px 0 0;					
		}
		div.menu7 a:hover{
			display: block;
			background: url(../images/menu7.gif) 0 -12px no-repeat;
			width: 36px;
			height: 12px;
									
		}
		body.linkit div.menu7 a{
			display: block;
			background: url(../images/menu7.gif) 0 -12px  no-repeat;
			width: 36px;
			height: 12px;
			float:left;	
			margin: 1px 19px 0 0;					
		}
		div.menu8 a{
			display: block;
			background: url(../images/menu8.gif) top left no-repeat;
			width: 71px;
			height: 14px;
			float:left;	
			margin: 3px 0 0 0;					
		}
		div.menu8 a:hover{
			display: block;
			background: url(../images/menu8.gif) 0 -14px no-repeat;
			width: 71px;
			height: 14px;
		}							
div#page_container {
	background: url(../images/bg_page_container.gif) top left repeat-y;
	width:723px;
	margin: 0 auto 0 auto;	
}

	div#content_container {
		background: url(../images/bg_content_container.gif) top left repeat-y;
		width:709px;
		margin: 0 auto 0 auto;	
		padding: 20px 0 0 0;		
		overflow: hidden;
	}
	
	div#content_container img{
		border: 3px solid #d0d0d0;	
	}
	div.column_container {
		background: url(../images/bg_right_column_frontpage.gif) top right repeat-y;	
		overflow: hidden;
	}
	div.column_container_subpage {
		background: url(../images/bg_column_container_subpage.gif) left center repeat-y;	
		overflow: hidden;	
	}	
		#frontpage div.left_column {
			width:420px;
			padding: 20px 0 0 0;
			float:left;
		
		}
		#subpage div.left_column {
			width:215px;
			padding: 20px 0 0 0;
			float:left;				
		}		
			div.news_header {
				padding: 20px 0 20px 30px;
				margin: 0 0 0 5px;
				border-bottom: 1px solid #f2f2f2;	
			}
			div.news_container {
				margin: 0 0 0 35px;				
			}
				div.news_article {
					border-bottom: 1px solid #f2f2f2;			
					padding: 0 0 10px 0;
				}
					div.news_article h2{
						margin: 20px 0 5px 0px;
						color: #1a7723;	
						font-size: 1.1em;
						text-transform: uppercase;		
					}
					div.news_article p{
						margin: 0 10px 0px 0px;
						line-height: 1.3em;							
					}
					div.news_article a{
						color: #417b12;
						text-decoration: none;	
						font-weight: bold;						
					}
					div.news_article a:hover{
						text-decoration: underline;							
					}
					p.news_published {
						font-size: 0.9em;
						color: #979797;
						padding: 0 0 10px 0;
					}
		#frontpage div.right_column {
			width:282px;
			padding: 30px 0 0 0;			
			float:left;
			

		}
		#subpage div.right_column {
			width:465px;
			padding: 30px 0 0 0;			
			float:left;
		}
		.tekstit img {
			
		margin-right:5px;
			
			}		
			div.header_right_column {
				background: #005a09;					
			}
			div.header_right_column img{
				padding: 4px 0 4px 10px;				
			}
			div.last_updated_container {
				margin: 10px 0 0 0;
				padding: 0 0 20px 0;	
				
			}
			div.last_updated_container div {
				border-bottom: 1px solid #f2f2f2;
				padding: 6px 0 6px 5px;
				margin: 0 14px 0 14px;	
				font-size: 0.9em;
				line-height: 16px;
			}
			div.last_updated_container a{
				color: #417b12;
				text-decoration: none;						
			}			
			div.last_updated_container a:hover{
				text-decoration: underline;
			}					
			div.last_updated_container div span{
			
				
			}
			div.btn_arrow_container {
				margin:5px 0 0 0px;
			}
				div.btn_arrow_container a{
					color: #417b12;
					display: block;
					float:left;
					padding: 6px 0 0 2px;
					text-decoration: none;
				}
				div.btn_arrow_container a:hover{
					color: #417b12;
					text-decoration: underline;
				}
				div.upcoming_events {
					padding: 0 0 0 12px;	
				}	
			div.arrow{
				width:26px;
				height: 26px;
				float:left;
				background: url(../images/arrow_right.gif) center left no-repeat;	
			}
			div.left_arrow{
				width:26px;
				height: 26px;
				float:left;
				background: url(../images/arrow_left.gif) center left no-repeat;	
			}			
div#page_container_bottom {
	background: url(../images/bg_page_container_bottom.gif) top left repeat-y;
	width:723px;
	height: 40px;
	margin: 0 auto 0 auto;		
}

div.copyright_container {
	width:723px;
	padding: 0 0 30px 40px;
	font-size: 0.8em;
	color: #c7bd91;
	margin: 0 auto 0 auto;	
}

div.error_page {
	margin: 30px 0 20px 40px;	
	
}
/*News article archives*/
div.news_archive_articles {
	margin: 30px 0 0 30px;
	padding: 0 20px 0 0;
	
}
div.news_archive_articles div{

	margin: 0 0 9px 0;
	
	
}
div.news_archive_articles div a{
	color: #417b12;
	display:block;
	text-decoration: none;
	text-transform: lowercase;
}
div.news_archive_articles div:first-letter {

	text-transform: uppercase !important;
}
div.news_archive_articles span {
	display: block;
	margin: 1px 0 0 0;
	font-size: 0.9em;
	color: #979797;
}
div.news_archive_articles div a:hover{
	color: #417b12;
	text-decoration: underline;	
}
div.archive_article {

	padding: 0 30px 40px 30px;	
}
div.archive_article h2 {
	color: #417b12;
	font-size: 1.2em;
	margin: 20px 0 15px 0;	
	text-transform: uppercase !important;	
}
div.archive_article a, div.one_column a, div.subpage_content a {
	color: #417b12;
	text-decoration: none;	
}
div.archive_article a:hover, div.one_column a:hover, div.subpage_content a:hover {
	color: #417b12;
	text-decoration: underline;	
}

div.one_column {

	margin: 0px 0 20px 0px;	
	padding: 0 40px;
	
}
div.one_column h2{
	color: #417b12;
	font-size: 1.1em;
	margin: 40px 0 10px 0;	
	text-transform: uppercase !important;		
}
div.submenu {
	padding: 15px 0 0 20px;
	
}
div.submenu div{

	border-top: 1px solid #f2f2f2;
}
div.submenu a{
	padding: 4px 0px 4px 10px;
	color: #417b12;
	text-decoration: none;	
	display: block;
}
div.submenu a:hover{
	padding: 4px 0px 4px 10px;
	color: #1c7825;
	background: #f6f6f6;	
	text-decoration: none;	
	display: block;
	
}
div.submenu_selected {
	background: #1c7825;
	color: #ffffff !important;

	
}
	div.submenu_selected a{

	color: #ffffff !important;
		
	
	}
	div.submenu_selected a:hover{

		color: #ffffff !important;
		background: #1c7825;
	
	}
div.subpage_content {
	padding: 10px 10px 0 40px;	
	line-height: 1.45em;	
}
div.subpage_content p{
	margin: 0 0 10px 0;
	line-height:20px;


}
div.subpage_content ul{	
	list-style-type: square;
}
	div.subpage_content li{	
		margin: 0 0 5px 15px;
	}
div.subpage_content h1{
	color: #417b12;
	text-transform: uppercase;
	margin: 0 0 15px 0;
	font-size: 1.2em;

}	
div.subpage_content h2{
	margin: 10px 0 5px 0;
	font-size: 1.0em;

}	
div.file {
	margin:0 0 2px 0;	
}
#frontpage img {
	
	border: none !important;
	}
.huomio {
	background: #990000;
	padding: 20px;
	color: #ffffff;
	
}

div.txt_input input {
	
	width:350px;
	padding: 1px;

	
	}
div.nettilehti_input input {
	width:200px;
	padding: 1px;

	
	}
	
td.kasvattajat_solu {
	padding: 10px 0 10px 0px;
	
}
td.kasvattajat_solu img{
	padding: 0 0 10px 0px;
	border: none !important;
}
td.kasvattajat_solu a{
	display: block;
	margin:0;
	padding:0;
	
}
.linkit a {
	display: block;
	margin: 0 0 2px 0;
	padding:0;
}

.bnr_container {
	padding: 10px 0 0 30px;	
}
.bnr_container a{
	display:block;
	width: 212px;
	height: 135px;
	float:left;
}

.logo_container {

	margin: 0px 0 0 20px;	

}

.logo_container td{
	
	text-align: center;

}


