@charset "utf-8";
body  {
	font: 85% "trebuchet ms",arial,sans-serif;;
	background: #FFF;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
.kartat #yla {
	height: 10px;
	width: 100%;
} 
.kartat #container {
	position: relative; /* adding position: relative allows you to position the two palstas relative to this container */
	width: 960px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF url(../images/tausta_container.gif);
	margin: 0 auto;
	text-align: left;
} 

.kartat #ylamainokset {
	height: 70px; /* if you're changing the source order of the columns, you'll may want to use a height on the header so that you can give the columns a predictable top value */
	padding: 0 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	text-align: center;
	background: #FFF;
} 

/* Tips for absolutely positioned palstas with header and footer:
1. Absolutely positioned (AP) elements must be given a top and side value, either right or left. (As a default, if no top value is given, the AP element will begin directly after the last element in the source order of the page. This means, if the palstas are first element in the #container in the document's source order, they will appear at the top of the #container even without being given a top value. However, if they are moved later in the source order for any reason, they'll need a top value to appear where you desire.
2. Absolutely positioned (AP) elements are taken out of the flow of the document. This means the elements around them don't know they exist and don't account for them when taking up their proper space on the page. Thus, an AP div should only be used as a side column if you are sure the middle #sisalto div will always contain the most content. If either palsta were to contain more content, that palsta would run over the bottom of the parent div, and in this case the footer as well, and the palsta would not appear to be contained.
3. If the above mentioned requirements are met, absolutely positioned palstas can be an easy way to control the source order of the document.
4. If the source order is changed, the top value should be equal to the height of the header since this will cause the columns to visually meet the header.
*/
.kartat #header {
	height: 150px; /* if you're changing the source order of the columns, you'll may want to use a height on the header so that you can give the columns a predictable top value */
	background: url(../images/tausta_header.gif);
	padding: 0 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 
.kartat #logo {
	height: 87px;
	background: #FFF url(../images/tausta_logo.gif);
	padding-top: 33px;
	padding-right: 31px;
} 
.kartat #mainos {
	height: 60px;
	width: 468px;
	float: right;
	border-top: 0px;
	border-right: 0px;
	border-bottom: 0px;
	border-left: 0px;
} 
.kartat #kaupunkikartat {
	float: left;
	width: 260px;	
} 
.kartat #linkkipalkki {
	border-top: 1px solid #ACB6BF;
	border-bottom: 1px solid #ACB6BF;
	height: 20px;
	background: #F2F3F4;
	margin-top: 1px;
	color: #369;
} 
.kartat #linkkipalkki a {
	color: #369;
	text-decoration: none;	
} 
.kartat #linkkipalkki a:link {
	color: #369;
	text-decoration: none;	
	
} 
.kartat #linkkipalkki a:hover {
	color: #369;
	text-decoration: none;
	background: #FFF;
	border-bottom: 1px dashed #F00;
} 
.kartat #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.kartat #palsta1 {
	position: absolute;
	top: 220px;
	left: 0;
	width: 180px; /* padding keeps the content of the div away from the edges */
	padding-bottom: 15px;
	min-height: 200px;
}

.kartat #palsta1palkki {
	background: url(../images/tausa_sidebar1palkki.gif);
	height: 24px;
	width: 186px;
}
.kartat #palsta1palkki h1 {
	font-size: 16px;
	color: #FFF;
	margin: 0px;
	text-align: center;
	vertical-align: middle;
}
.kartat .kartasta {
	font-size: 16px;
	color: #FFF;
	margin: 0px;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
}
.kartat #palsta2 {
	position: absolute;
	top: 220px;
	right: 0;
	width: 160px; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 10px 15px 20px; /* padding keeps the content of the div away from the edges */
}
.kartat #sisalto {
	margin: 0 20px 0 200px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the palsta divs contain, the column space will remain. */
	padding: 0 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	min-height: 510px;
}
.kartat #sisalto h1 {
	color: #708090;
	font-size: 24px;
}
.kartat #sisalto h2 {
	color: #5A6774;
	font-size: 18px;
}
.kartat #sisalto h3 {
	color: #333;
	font-size: 14px;
}
.kartat #footer {
	padding: 10px 0px 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:url(../images/tausta_footer.gif);
	height: 32px;
	border-top: 1px solid #ACB6BF;
} 
.kartat #etufooter {
	height: 32px;
} 
.kartat #footer p {
	text-align: right;
	font-size: 11px;
	margin: 0px 20px 0px 0px;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.kartat #palstateksti {
	padding: 10px 10px 15px 20px;
}
.kartat #palstateksti h1 {
	margin: 0px 0px 10px;
	font-size: 16px;
}
p.mainosotsikko {
	font: normal 500 11px Arial, Helvetica, sans-serif;
	color: #0000FF;
	text-decoration: none;
	border: 0px;
	margin: 0px;
}
a.mainosotsikkolinkki {
	font: normal 500 11px Arial, Helvetica, sans-serif;
	color: #0000FF;
	text-decoration: none;
	border: 0px;
}
a:link.mainosotsikkolinkki {
	font: normal 500 11px Arial, Helvetica, sans-serif;
	color: #0000FF;
	text-decoration: none;
	border: 0px;
}
a:hover.mainosotsikkolinkki {
	font: normal 500 11px Arial, Helvetica, sans-serif;
	color: #0000FF;
	text-decoration: none;
	border: 0px;
}
p.mainosteksti {
	font: 500 normal 10px Arial, Helvetica, sans-serif;
	color: #333;
	text-decoration: none;
	border: 0px;
	margin: 0px;
}
a.mainostekstilinkki {
	font: normal 500 10px Arial, Helvetica, sans-serif;
	color: #333;
	text-decoration: none;
	border: 0px;
}
a:link.mainostekstilinkki {
	font: normal 500 10px Arial, Helvetica, sans-serif;
	color: #333;
	text-decoration: none;
	border: 0px;
}
a:hover.mainostekstilinkki {
	font: normal 500 10px Arial, Helvetica, sans-serif;
	color: #333;
	text-decoration: none;
	border: 0px;
}
.mainoskehikko {
	float: right;
	width: 294px;
}
.mainos01 {
	height: 60px;
	width: 140px;
	padding: 1px 0px 2px 5px;
	float: left;
}
.mainos02 {
	height: 60px;
	width: 140px;
	padding: 1px 0px 2px 5px;
	float: right;
}
p.mainososoite {
	font: 500 normal 10px Arial, Helvetica, sans-serif;
	color: #006600;
	text-decoration: none;
	border: 0px;
	margin: 0px;
}
a.mainososoitelinkki {
	font: normal 500 10px Arial, Helvetica, sans-serif;
	color: #006600;
	text-decoration: none;
	border: 0px;
}
a:link.mainososoitelinkki {
	font: normal 500 10px Arial, Helvetica, sans-serif;
	color: #006600;
	text-decoration: none;
	border: 0px;
}
a:hover.mainososoitelinkki {
	font: normal 500 10px Arial, Helvetica, sans-serif;
	color: #006600;
	text-decoration: none;
	border: 0px;
}
