@charset "utf-8";
body  {
	font: 11px Verdana, Geneva, sans-serif;
	background: #FFF url(../images/sitetausta.gif) repeat-x left top;
	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: #515A7B;
}
.ramasaweb h1 {
	font-size: 18px;
	color: #D65100;
	margin-top: 20px;
} 
.ramasaweb h2 {
	font-size: 16px;
	color: #8890AE;
} 
.ramasaweb h3 {
	font-size: 14px;
	color: #666;
} 
.ylosclass {
	height: 13px;	
} 
.ramasaweb #container {
	width: 985px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0;
	text-align: left;
	background: url(../images/content.gif) repeat-y left top;
} 
.ramasaweb #ylaviite {
	margin: 0px;
	padding: 1px 0px 0px;
	text-align: center;
	background: url(../images/ylatekstitausta.gif) repeat-x left top;
	height: 20px;
} 
.ramasaweb #mainospalkki {
	margin: 0px;
	padding: 2px 0px 10px;
	background: url(../images/mainostentausta.gif) no-repeat left top;
	text-align: center;
	height: 70px;
} 
.ramasaweb #ylaviite h1 {
	margin: 0px;
	padding: 0px;
	font: 10px Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #8390B2;
} 
a.ylaviite {
	margin: 0px;
	padding: 0px;
	font: 10px Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #8390B2;
	text-decoration: none;
	border-width: 0px;
	border-style: none;
}
a:link.ylaviite {
	margin: 0px;
	padding: 0px;
	font: 10px Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #8390B2;
	text-decoration: none;
	border-width: 0px;
	border-style: none;
}
a:hover.ylaviite {
	margin: 0px;
	padding: 0px;
	font: 10px Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #8390B2;
	text-decoration: none;
	border-width: 0px;
	border-style: none;
}
.ramasaweb #header {
	background: #F8F8E7 url(../images/headertausta.gif) repeat-x left top;
	padding: 0 10px 0 3px;  /* 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. */
	height: 136px;
} 
.ramasaweb #vali {
	background: #D1D7EF url(../images/valitausta.gif) repeat-x left top;
	height: 15px;
} 
.ramasaweb #navikointi {
	height: 40px;
	background: #F8F8E7 url(../images/navikointi.gif) no-repeat left top;
} 
.ramasaweb #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 */
}
.ramasaweb #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 150px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	padding: 15px 10px 15px 20px; /* padding keeps the content of the div away from the edges */
	min-height: 422px;
}
.ramasaweb #sidebar2 {
	float: right; /* since this element is floated, a width must be given */
	width: 150px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	padding: 15px 10px 15px 20px; /* padding keeps the content of the div away from the edges */
	min-height: 422px;
}
.ramasaweb #mainContent {
	margin: 0 180px 0 190px; /* 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 sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
	padding: 0 10px;
	min-height: 522px;
} 
.ramasaweb #footer {
	padding: 28px 0px 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background: url(../images/footertausta.gif) no-repeat left top;
	height: 31px;
	vertical-align: bottom;
	text-align: center;
} 
.ramasaweb #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 0px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	font-size: 10px;
	font-weight: 600;
	color: #A6A6A6;
	text-align: center;
}
.ramasaweb #footer a {
	font-size: 10px;
	color: #A6A6A6;
	text-decoration: none;
	border-bottom: 0px;
}
.ramasaweb #footer a:link {
	font-size: 10px;
	color: #A6A6A6;
	text-decoration: none;
	border-bottom: 0px;
}
.ramasaweb #footer a:hover {
	font-size: 10px;
	color: #A6A6A6;
	text-decoration: none;
	border-bottom: 1px dashed #D65100;
}
.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;
}
.clearfloat { 
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
a {
	font-size: 12px;
	color: #D75100;
	text-decoration: none;
	border-bottom: 1px dashed #999;
}
a:link {
	font-size: 12px;
	color: #D75100;
	text-decoration: none;
	border-bottom: 1px dashed #999;
}
a:hover {
	font-size: 12px;
	color: #00C;
	text-decoration: none;
	border-bottom: 1px dashed #D65100;
}
a.kuvaan {
	font-size: 12px;
	color: #D75100;
	text-decoration: none;
	border-bottom: 0px none;
}
a:link.kuvaan {
	font-size: 12px;
	color: #D75100;
	text-decoration: none;
	border-bottom: 0px none #999;
}
a:hover.kuvaan {
	font-size: 12px;
	color: #00C;
	text-decoration: none;
	border-bottom: 0px none;
	}
a.pieni {
	font-size: 11px;
	color: #D75100;
	text-decoration: none;
	border-bottom: 1px dashed #999;
}
a:link.pieni {
	font-size: 11px;
	color: #D75100;
	text-decoration: none;
	border-bottom: 1px dashed #999;
}
a:hover.pieni {
	font-size: 11px;
	color: #00C;
	text-decoration: none;
	border-bottom: 1px dashed #D65100;
	}
