BODY {
	margin: 0px;
	padding: 0px;
	
	font-family: Arial;
	font-size: 12px;
	color: #333333;
}

.clear {
	clear: both;
	margin: 0px;
	padding: 0px;
}

#top_bg {
	background-image: url('img/taustapilt.jpg');
	background-repeat: no-repeat;
	background-position: top;
	background-color: black;
	
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 375px;
	
	z-index: 100;
}

#container {
	position: relative;
	width: 960px;
	margin: 260px auto 20px auto;
	
	z-index: 200;
}

.header {
	position: relative;
	width: 960px;
	margin: 0px auto;
}

.logo {
	position: absolute;
	left: 12px;
	top: 53px;
}

.infoline {
	position: absolute;
	right: 10px;
	top: 40px;
}

#langbar {
	float: left;
	
	background-image: url('img/tekstikastiylemine.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 65px;
	width: 705px;
	
	margin-left: -30px;
	margin-right: -10px;
	padding-right: 30px;
}

#langbar A {
	position: relative;
	
	z-index: 300;
	
	float: right;
	padding: 20px 13px 12px 13px;
	
	color: #333333;
	font-family: Arial;
	font-family: 12px;
	text-decoration: none;
	text-transform: lowercase;
}

#langbar A.active {
	background-image: url('img/keelevalik.png');
	background-repeat: no-repeat;
	padding: 20px 21px 20px 25px;
}

#menu_container {
	float: left;
	width: 255px;
	margin-top: 10px;
}
.menu {
	background-image: url('img/menyytaust.png');
	background-position: right;
	background-repeat: repeat-y;
	
	margin-top: -10px;
}

.menu UL {
	margin: 0px 15px 0px 17px;
	padding: 0px;
	list-style-type: none;
}

.menu UL LI {
	position: relative;
	
	background-image: url('img/menyyvahekriips.png');
	background-position: 5px 0px;
	background-repeat: no-repeat;
	background-color: transparent;
	
	height: 28px;
	padding-top: 13px;
	
	z-index: 250;
}

.menu UL LI A {
	color: #333333;
	text-decoration: none;
	padding: 20px 0px 0px 65px;
	
	font-size: 14px;
}

.menu UL LI:first-child {
	background-image: none;
}

.menu UL LI.active {
	z-index: 300;
	
	background-image: url('img/aktiivnelink.png');
	background-position: left top;
	background-repeat: no-repeat;
	
	height: 44px;
	padding-top: 12px;

	margin-bottom: -16px;
}

.menu UL LI:last-child.active {
	margin-bottom: 0px;
}

.menu UL LI.active A {
	color: #f5bb00;
}

.menu_top {
	background-image: url('img/menyyylemine.png');
	background-position: right;
	background-repeat: no-repeat;
	
	height: 35px;
}

.menu_bottom {
	background-image: url('img/menyyalumine.png');
	background-position: right;
	background-repeat: no-repeat;
	
	height: 45px;
}

#content_container {
	position: relative;
	float: left;
	
	z-index: 200;
	
	background-image: url('img/tekstitaust.png');
	background-repeat: repeat-y;
	background-position: bottom left;

	width: 705px;
	
	margin-left: -30px;
	margin-right: -10px;
	padding-right: 30px;
	margin-bottom: 60px;
	
	margin-top: -10px;
}

#content {
	
	position: relative;
	z-index: 350;
	padding: 0px 20px 0px 40px;

}

#content H1,
#langbar A {
	color: #3d3d3d;
}

#content H1 {
	margin-top: 0px;
	padding-top: 0px;
}

#content P {
	color: #757575;
}

.content_bottom {
	position: absolute;
	bottom: 0px;
	left: -1px;

	background-image: url('img/tekstikastialumine.png');
	background-repeat: no-repeat;
	height: 60px;
	width: 100%;
	
	margin-bottom: -60px;
}

.footer {
	padding: 0px 50px;
	
	color: #757575;
}

A {
	color: #3d3d3d;
	text-decoration: underline;
}

A IMG {
	border: 0px;
}