body{
	background: white url('../img/body_bg.gif') repeat-x;
	text-align: center;
	font: 12px Tahoma, sans-serif;
	color: #333843;
	margin: 0;
	padding: 0;
}
img{
	border: none;
}
a{
	text-decoration: none;
	color: #3054a4;
}

a:hover{
	text-decoration: underline;
}

.flleft{
	display:block;
	float: left;
}

#wrap{
	padding:0;
	margin: 0 auto 0 auto;
	width: 940px;
	display: block;
	clear:both;
	text-align: left;
}

/* header */
		#header{
			width: 940px;
			height: 99px;
			clear:both;
		}

		#esileht_logo{
			display: block;
			float:left;
		}
		
		#mainmenu{
			float:left;
			list-style-type: none;
			padding:0;
			width:591px;
			height:59px;
			margin:40px 0 0 0;
		}
		
		#mainmenu li{
			margin:0;
			padding:0;
			display: inline;
			font-size: 18px;
		}
		
		#mainmenu li a.active{
			margin:0;
			padding:0;
			display: inline;
			font-size: 18px;
			font-weight: bold;
		}
		
		#languagemenu{
			height:59px;
			margin:40px 0 0 0;
			float:left;
		}
		
		#languagemenu .langselect{
			height: 17px;
			width: 96px;
			padding: 1px;
			margin: 2px 0 0 0;
			line-height: 14px;
			border: 1px solid #3a5da9;
			font-size: 11px;
		}
		
		
		

/* maincontent */

		#maincontent_outer{
			width: 940px;
			clear:both;
			overflow:hidden;
			background: #cbe2fc url('../img/main_content_outer_bg.gif') repeat-y;
		}
		
		#maincontent{
			margin: 0 0 0 0;
			width: 931px;
			background: #cbe2fc url('../img/main_content_bg.gif') repeat-X;
			overflow:hidden;
			float:left;
		}
		
		#maincontent .stripebox{
			margin: 10px 0 5px 0;
			width: 931px;
			background: url('../img/stripes_bg.gif') repeat-y;
			overflow:hidden;
		}
		
		
		/* mainleft  */
				#maincontent .mainleft{
					width:230px;
					overflow:hidden;
					float:left;
				}
				
				#maincontent .mainleft .loginbox{
					width: 224px;
					height: 142px;
					background: url('../img/login_bg.gif') no-repeat;
					margin: 0px 0 0 6px;
					text-align: center;
					overflow:hidden;
				}
				
					#maincontent .mainleft .loginbox table{
						margin: 30px 0 0 12px;
						text-align: left;
						padding:0;
					}
					
					#maincontent .mainleft .loginbox table tr td{
						vertical-align: middle;
					}
					
					*html #maincontent .mainleft .loginbox table{
						margin: 30px 0 0 5px;
					}
					
						#maincontent .mainleft .loginbox table .textbox{
							border: 1px solid #3a5da9;
							height: 18px;
							width: 89px;
							padding:1px 2px 0 2px;
						}
				
						#maincontent .mainleft .loginbox table .check{
							position:relative;
							top: 2px;
						}
						
						*html #maincontent .mainleft .loginbox table .check{
							top: 0px;
						}
						
				#maincontent .mainleft .txtbox{
					margin: 0px 0 5px 20px;
					width:209px;
					overflow:hidden;
				}
				
						#maincontent .mainleft .txtbox h1, .sifr{	
							font-size: 20px;
							font-weight: bold;
							line-height: 1em;
							color: #3054a4;
							margin:15px 20px 5px 0;
							padding:0;
						}
							.peal2 h2{	
							font-size: 19px;
							font-weight: normal;
							line-height: 1em;
							color: #3054a4;
							margin: 0;
							padding:0;
						}
							.peal2 h3{	
							font-size: 18px;
							font-weight: normal;
							line-height: 1em;
							color: #3054a4;
							margin: -13px 0 0 0;
							padding: 0;
						}
						#maincontent .mainleft .txtbox p{	
							line-height: 16px;
							margin:0 20px 0 0;
							padding:0;
						}
				
		/* mainmiddle */
				#maincontent .mainmiddle{
					width:409px;
					overflow:hidden;
					float:left;
					text-align: right;
				}
				
				#maincontent .mainmiddle .mid_inner{
					margin: 0px 0 5px 0;
					width: 358px;
					padding-right: 25px;
					border-right: 1px solid #78a4d9;
					text-align: center;
					float:right;
					overflow:hidden;
				}
				
					#maincontent .mainmiddle .mid_inner img{
						margin:0;
						padding:0;
					}
				
					#maincontent .mainmiddle .mid_inner p{
						margin:5px 0 0 0;
						padding:0;
						text-align: center;
						font-size: 11px;
						line-height: 12px;
					}
					
				
		/* mainright */
				#maincontent .mainright{
					width:292px;
					overflow:hidden;
					float:left;
				}
				
				#maincontent .mainright .inner{
					width:272px;
					margin: 0px 10px 5px 10px;
					overflow:hidden;
				}
					
					#maincontent .mainright .inner .kuidas_haldamine{
						margin: 7px 5px 0px 7px;
						padding-bottom: 0px;
						border-bottom: 1px solid #78a4d9;
					
					}
					
					#maincontent .mainright .inner .txtbox{
						margin: 10px ;
						overflow:hidden;
					}
					
					#maincontent .mainright .inner .txtbox .scrollbtn{
						display: block;
						float:right;
						margin: 0 2px 0 2px;
					}
					
					#maincontent .mainright .inner .txtbox h1{	
						font-size: 20px;
						font-weight: bold;
						line-height: 1em;
						color: #3054a4;
						margin:5px 0 5px 0;
						padding:0;
						width: 190px;
					}
					
					#maincontent .mainright .inner .txtbox p{	
						line-height: 16px;
						margin:0;
						padding:0;
					}
					
					#maincontent .mainright .inner .txtbox p img{
						margin: 0 2px 0px 5px;
						float:right;
					}
		
/* secondcontent */

.peenngg_nr{
	behavior: url("css/pngbehavior.htc");
	width: 31px;
	height: 31px;
}

		#secondcontent_outer{
			width: 940px;
			clear:both;
			overflow:hidden;
			background: url('../img/second_content_outer_bg.gif') repeat-Y;
		}
		
		#secondcontent{
			width: 940px;
			background: url('../img/secondbox_upper_bg.png') no-repeat;
			overflow:hidden;
		}
		
		#secondcontent .head{
			width: 910px;
			height:50px;
			line-height: 55px;
			font-size: 20px;
			color: white;
			margin: 1px 10px 0 20px;
		}
		
		#secondcontent .head .hea1b, #secondcontent .head .hea1{
			margin:15px 0 0 0;
			padding:0;
			height: 20px;
			font-size: 20px;
			line-height: 1em;
			color: white;
			float:left;
			width: 600px;
		}
		
		#secondcontent .head .scrollbtn {
			display:block;
			float:right;
			margin: 10px 5px 0 0;
		}
		
		#secondcontent .head .scrollbtn img {
			margin:0;
			padding:0;
			display: block;
		}
		
		#kujundused{
				width: 890px;
				clear:both;
				overflow: hidden;
				margin: 30px 25px 25px 25px;
			}
			
				#kujundused .box{
					margin: 0 5px 0 5px;
					width: 165px;
					float:left;
				}
				
				#kujundused .box .inner{
					clear:both;
					width: 143px;
					padding: 3px 11px 3px 11px;
					background: url('../img/kujundus_bg.gif') repeat-Y;
					overflow: hidden;
				}
				
				#kujundused .box .inner h1{
					margin:2px 0 2px 0;
					padding:0;
					font-size: 11px;
					font-weight: normal;
					text-align: center;
				}
				
				#kujundused .box .inner p{
					margin:0;
					padding:0;
					font-size: 10px;
				}
				
				#kujundused .box .bottom{
					clear:both;
					width: 143px;
					padding: 1px 11px 0px 11px;
					background: url('../img/kujundus_bottom_bg.gif') repeat-Y;
					overflow: hidden;
					font-size: 10px;
					text-align: center;
				}
				
				#kujundused .box .bottom a{
					margin-top: 4px;
					
				}
				
				#kujundused .box .bottom img{
					position: relative;
					top: 2px;
					margin-right: 4px;
				}
				
				#kujundused .box .bottom p{
					
				}
		
		#secondcontent_outer .foot{
			width: 940px;
			line-height: 16px;
			font-size: 11px;
		}
		
			
	
/* footer */
		
		#footer{
			width: 940px;
			height: 30px;
			clear:both;
			overflow:hidden;
			margin-bottom:5px;
			background: url('../img/footer_bg.gif') no-repeat;
			color: white;
		}
		
		#footer .footright{
			float:right;
			height: 30px;
			line-height: 30px;
			font-size: 11px;
			margin: 0 15px 0 0;
		}
		
		#footer .footright a{
			color: #99ff6c;
		}
		
		#footer .footmenu{
			list-style-type: none;
			margin:0 0 0 15px;
			padding:0;
			line-height: 30px;
		}
		
		#footer .footmenu li{
			margin:0 0 0 10px;
			padding:0;
			display: inline;
			line-height: 30px;
			color: white;
			font-size: 11px;
		}
		
		#footer .footmenu li a{
			color: white;
		}
		
		#copyr{
			font-size: 11px;
			margin: 7px 0 15px 20px;
			overflow:hidden;
			clear:both;
		}

/* sisuleht 1 asjad */		
		#sisukast1{
			clear:both;
			width: 940px;
			margin-bottom: 5px;
			overflow: hidden;
		}
		
			#sisukast1 .inner{
				width: 940px;
				background: #cbe1fc url('../img/sisukast1_bg.gif') no-repeat;
				padding: 22px 25px 22px 25px;
			}
			
				#sisukast1 .inner .rootpath{
					font-size: 10px;
					color: #446682;
					clear:both;
				}
				
				#sisukast1 .inner .content_box{
					clear:both;
					overflow:hidden;
				}
				
					#sisukast1 .inner .content_box .liitu_kohe{
						display: block;
						float:left;
						margin: 30px 38px 0 0;
					}
					
					#sisukast1 .inner .content_box .txtbox{	
						margin: 20px 0 0 0;
						width: 658px;
						float:left;
						font-size: 20px;
						line-height: 25px;
					}
					
					#sisukast1 .inner .content_box .txtbox p, .sifr{	
						margin:0;
						padding:0;
						line-height: 1em;
					}
					
					.sIFR-active #sisukast1 .inner .content_box .txtbox, .sIFR-active .sifr, .sIFR-active .peal2 h1{
						line-height: 20px;
					}
			
			#sisukast1 .bottom_img{
				display: block;
				clear: both;
			}
		
		
		#liitumiskast{
			width: 940px;
			height: 52px;
			background: url('../img/liitumisriba_bg.gif') no-repeat;
			overflow: hidden;
			margin-bottom: 5px;
			
		}
			
			#liitumiskast .pealis_layer{
				position: absolute;
				z-index: 20;
				height: 25px;
			}
			
			#liitumiskast .vahe{
				float: left;
				display:block;
				width: 27px;
				height: 52px;
			}
		
			#liitumiskast .taustakast, #liitumiskast .pealiskast{
				float:left;
				height: 50px;
				line-height: 50px;
				padding: 0 0 0 10px;
				margin-top: 2px;
				font-size: 20px;
				color: white;
			}
			
			#liitumiskast .pealiskast img{
				position:relative;
				top: 8px;
				margin-right: 5px;
			}
			
			 #valgenool{
				position: absolute;
				z-index: 10;
				height: 52px;
			}
				 #valgenool img{
					display: block;
					float:left;
				}
				#valgenool .valgenool_keskel{
					display: block;
					float:left;
					height: 52px;
					background: white;
					line-height: 52px;
					padding: 0 0px 0 10px;
					font-size: 20px;
					color: #3054a4;
				}
			
		#sisukast2{
			clear:both;
			width: 940px;
			margin-bottom: 5px;
			overflow: hidden;
			background: #eeffe5;
		}
		
			#sisukast2 .inner{
				width: 940px;
				background: #eeffe5 url('../img/sisukast2_bg.gif') no-repeat;
				padding: 0;
				overflow: hidden;
				clear:both;
				border-bottom: 1px solid #d9ebd2;
			}
			
				#sisukast2 .inner .head{
					font-size: 11px;
					clear:both;
					font-family: Verdana; 
					margin: 0 0 0 150px;
					height: 52px;
					line-height: 52px;
				}
				
					#sisukast2 .inner .head a{
						text-decoration: underline;
						color: #333843;
						margin: 0 5px 0 5px;
					}
					
					#sisukast2 .inner .head a.active{
						font-weight: bold;
					}
			
			#sisukast2 .foot{
				overflow: hidden;
				background: #eeffe5;
				padding-bottom: 10px;
			}
			
				#sisukast2 .foot .h_text{
					font-size: 30px;
					line-height: 1em;
					margin: 30px 0 0 20px;
					color: #3054a4;
					width: 220px;
					float:left;
				}
				
				#sisukast2 .foot .txtbox{
					margin: 20px 0 0 0px;
					float:left;
					width: 650px
				}
			
			#sisukast2 .bottom{
				display: block;
				clear:both;
			}
	
	#kujundused .kujundusrida{
		overflow:hidden;
		clear:both;
		margin: 0px 0 14px 0;
	}
	
	/* sisukast3  */ 
	
	#sisukast3{
		clear:both;
		width: 940px;
		margin-bottom: 5px;
		overflow: hidden;
		background: #eeffe5;
	}
	
		#sisukast3 .rcorners{
				display: block;
				clear:both;
			}
			
		#sisukast3 .inner{
			clear:both;
			overflow: hidden;
			width: 940px;
			background: #eeffe5 url('../img/sisukast3_bg.gif') repeat-X;
			min-height: 680px;
		}
		
		
			#sisukast3 .inner .leftside{
				width: 240px;
				float:left;
			}
			
				#sisukast3 .inner .leftside .infobox{
					width: 213px;
					margin: 103px 0 0 10px;
				}
				
					#sisukast3 .inner .leftside .infobox .sisu3_info_inner{
						width: 183px;
						background: url('../img/sisu3_infobox_bg.gif') repeat-Y;
						color: #333843;
						font-size: 11px;
						padding: 15px;
					}
					
						#sisukast3 .inner .leftside .infobox .sisu3_info_inner a{
							color: #333843;
							font-size: 11px;
						}
						
						#sisukast3 .inner .leftside .infobox .sisu3_info_inner a h2{
							margin:0;
							padding: 0;
							font-size:14px;
							font-weight: normal;
							line-height: 1em;
							color: #347a00;
						}
					
			
			#sisukast3 .inner .rightside, .rightside2{
				width: 660px;
				float:left;
			}
			.rightside2 {margin-left: 240px; padding: 10px 0 30px 0;}
			* html .rightside2 {margin-left: 100px;}
			#sisukast3 .inner .rightside h3, .rightside2 h3{
				color: #3054a4;
				font-size: 16px;
				font-weight: bold;
			}
			
				#sisukast3 .inner .rightside .pealkiri, .rightside2 .pealkiri{
					color: #3054a4;
					font-size: 25px;
					line-height: 1em;
					clear:both;
					height: 70px;
					margin: 33px 0 0 0;
				}
					#sisukast3 .inner .rightside .pealkiri b{
						font-weight: bold;
						color: #333843;
					}
				
				#sisukast3 .inner .rightside .box{
					margin: 0 0 10px 0;
					padding: 15px;
					border: 1px solid #a0cb89;
					width: 625px;
					font-size: 12px;
				}
				
					#sisukast3 .inner .rightside .box .saadavusekontroll{
						position: relative;
						top: 10px;
					}
					*html #sisukast3 .inner .rightside .box .saadavusekontroll{
						top: 3px;
					}
					
					#sisukast3 .inner .rightside .box h2,.rightside2 .box h2 {
						font-size: 16px;
						font-weight: bold;
						color: #3054a4;
						margin:0;
						padding:0;
					}
					
					#sisukast3 .inner .rightside .box .textbox1, #sisukast3 .inner .rightside .box .textbox2{
						border: 1px solid #a0cb89;
						height: 24px;
						padding: 8px 4px 0 8px;
						margin:0;
						font-size: 14px;
					}
					
					#sisukast3 .inner .rightside .box .textbox2{
						width: 124px;
					}
					
					
					#sisukast3 .inner .rightside .box .selectbox1{
						border: 1px solid #a0cb89;
						height: 30px;
						padding: 2px;
						font-size: 14px;
						width: 50px;
						position:relative;
						top: -4px;
					}
					
					#sisukast3 .inner .rightside .box .chkbox1{
						position: relative;
						top: 2px;
					}
	
	#sisukast3 .tablehead{
		height: 70px;
		width: 940px;
		background: #e0ffcf url('../img/sisukast5_th.gif') repeat-y;	
	}
	
	
	#sisukast3 .tablehead .tabc{
		float:left;
		width: 170px;
		margin: 4px 0px 4px 20px;
		height: 50px;
		padding-top: 12px;
		overflow:hidden;
	}
	
	#sisukast3 .tablehead .tabc img{
		float:left;
		position: relative;
		top: -5px;
		margin-right: 10px;
	}
	
	#sisukast3 .tablehead .tabc b{
		font-size: 16px;
		line-height: 14px;
	}
	#sisukast3 .tablehead .tabc span b{
		font-size: 12px;
	}
	#sisukast3 .suurtabel{
		width: 938px;
		margin: 0;
		padding: 0;
		border-spacing: 0px;
		border-top: 1px solid #e1e1e1;
		border-left: 1px solid #e1e1e1;
		text-align: center;
		vertical-align: middle;
	}
	
	.suurtabel tr, .suurtabel th, .suurtabel td {
		height: 5px;
		
	}
	.suurtabel td.green {background: #efffe7;}
	.suurtabel tr{
		width: 938px;
		overflow: hidden;
	}
	.suurtabel tr td{
		border-right: 1px solid #e1e1e1;
		border-bottom: 1px solid #e1e1e1;
		padding: 2px 8px 2px 8px;
		margin: 0;
		overflow: hidden;
	}
	
	#sisukast3 .suurtabel tr td .right{
		display:block;
		clear: both;
		text-align: right;
	}
	
	#sisukast3 .liitunupud{
		clear: both;
		overflow: hidden;
		background: url('../img/vali4.gif') repeat-y;
		width: 940px;
		height:40px;
		margin-top:5px;
	}
	#sisukast3 .liitunupud a{
		margin: 8px 50px 8px 50px;
		display: block;
		float:left;
	}
	
	/*  popup */ 	
	#heletaust{
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		background: white;
		opacity: 0.7;
		height: 1px;
		z-index: 50;
	}
	
	#kujunduse_popup{
		position: absolute;
		top: 0px;
		left: 0px;
		width: 634px;
		height: 420px;
		text-align: left;
		z-index: 51;
	}
	
	#kujunduse_popup_taustapilt{
		behavior: url("css/pngbehavior.htc");
		width: 634px;
		height: 420px;
		position: absolute;
		z-index: 52;
	}
	
	#kujunduse_popup_sisemine{
		width: 574px;
		height: 380px;
		position: absolute;
		z-index: 53;
		margin: 22px 0 0 30px;
	}
	
		#kujunduse_popup_sisemine .kinninupp{
			float:right;
			display: block;
			margin-top: 5px;
		}
		
		#kujunduse_popup_header{
			font-size: 11px;
			color: white;
			height: 43px;
			overflow:hidden;
		}
			#kujunduse_popup_header h1{
				font-size: 20px;
				font-weight: normal;
				color: white;
				padding:0;
				margin:0;
				line-height: 1em;
			}
		
		#kujunduse_popup_sisemine .kujunduse_popup_content{
			margin-top: 15px;
		}
		
		#kujunduse_popup_sisemine .kujunduse_popup_content .leftside{
			float: left;
			width: 395px;
			height: 296px;
			padding: 10px 0 0 10px;
			background: url('../img/esi_kujundudbox/suur_sisukast_bg.gif') no-repeat;
		}
		
		
		#kujunduse_popup_sisemine .kujunduse_popup_content .rightside{
			float: left;
		}
		
			#kujunduse_popup_sisemine .kujunduse_popup_content .rightside .valikubox{
				width: 163px;
				height: 152px;
			}
			
				#kujunduse_popup_sisemine .kujunduse_popup_content .rightside .valikubox .valikubg{
					behavior: url("css/pngbehavior.htc");
					width: 163px;
					height: 152px;
					position: absolute;
				}
				
				#kujunduse_popup_sisemine .kujunduse_popup_content .rightside .valikubox .sisu{
					width: 144px;
					height: 152px;
					position: absolute;
					padding: 10px 10px 0 9px;
					
					overflow:hidden;
				}
				
				#kujunduse_popup_sisemine .kujunduse_popup_content .rightside .valikubox .sisu .ylemine{
					text-align: center;
					height: 116px;
					font-size: 11px;
					line-height: 15px;
				}
				
				#kujunduse_popup_sisemine .kujunduse_popup_content .rightside .valikubox .sisu .alumine{
					text-align: center;
					height: 20px;
					font-size:10px;
					line-height: 10px;
				}
				
				#kujunduse_popup_sisemine .kujunduse_popup_content .rightside .valikubox .sisu .alumine img{
						position: relative;
						top:2px;
				}
#pilt {
	margin-top: 5px; 
	width: 376px; 
	behavior: url("css/pngbehavior.htc");
	height: 257px;
	} 	
	
.txtbox img {
	behavior: url("css/pngbehavior.htc");
}
#kasutajatugi a {
	color: #58952c;
}
#kasutajatugi h1 {
	color: #3054a4;
	font: 35px;
	font-weight: bold;
	line-height: 1em;
	margin: 0;
	padding:7px 0 7px 0;
}
#kasutajatugi h2 {
	color: #58952c;
	font: 12px Tahoma, sans-serif;
	font-weight: bold;
	line-height: 1em;
	margin: 0;
	padding:7px 0 7px 0;
}