/* Start of CMSMS style sheet 'Hakamäki päätyyli' */
@charset "utf-8";
body  {
	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 */
	background-color: #F2F2F2;
	color: #666666;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
img {
        border:0
}
.main {
	background-color: #F2F2F2;
	margin: 0;
	padding: 0;
}
.main #container {
	width: 841px;
	text-align: left;
	background-image: url(layout/tausta_sivu.png);
	background-repeat: repeat-y;
	background-position: center;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #000000;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #000000;
	font-size: 12px;
	color: #666666;
        text-align: left;
} 
.main #header {
	padding-top: 50px;
	padding-right: 30px;
	padding-left: 40px;
	/*background-image: url(layout/header_puukuljetukset.png);
	background-repeat: no-repeat;
	background-position: center top;*/
	height: 200px;
} 
.main #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 */
}
.main #header p{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #006699;
	font-size: 12px;
	padding-left: 10px;
	font-weight: bold;
}
.main #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 250px;
	padding-top: 20 px;
	padding-bottom: 20 px;
	padding-right: 20 px;
	padding-left: 20 px;
}
.main #sidebar1 a{
	color: #006699;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.main #mainContent {
	margin-top: 0;
	margin-right: 30px;
	margin-bottom: 20px;
	margin-left: 270px;
	padding-top: 0;
	padding-right: 30px;
	padding-bottom: 0;
	padding-left: 20px;
	color: #666666;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
} 
.main #mainContent a{
	color: #006699;
	text-decoration: underline;
}

.main #mainContent a:link {color: #006699; border: 0;}     /* unvisited link */
.main #mainContent a:visited {color: #5F8999;}  /* visited link */
.main #mainContent a:hover {color: #006699; background-color: #F2F2F2;}   /* mouse over link */
.main #mainContent a:active {color: #006699; background-color: #F2F2F2;}   /* selected link */

.main #mainContent 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 */
	color: #006699;
}
.main #mainContent h2 {
	margin: 0;
	color: #006699;
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 0;
}
.main #mainContent h3 {
	margin: 0; 
	padding: 10px 0;
	color: #006699;
}
.main #mainContent ul {
        list-style-image: url(layout/linkki_nuoli.png);
}
.main #footer {
	padding: 0;
	background-image: url(layout/tausta_sivu_footer.png);
	background-repeat: no-repeat;
	background-position: center top;
	margin-right: auto;
	margin-left: auto;
	width: 841px;
        text-align: center;
} 
.main #footer p {
	margin: 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #666666;
	font-size: 10px;
        text-align: center;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
}
.main #footer a:link {color: #006699;}     /* unvisited link */
.main #footer a:visited {color: #5F8999;}  /* visited link */
.main #footer a:hover {color: #006699; background-color: #F2F2F2;}   /* mouse over link */
.main #footer a:active {color: #006699; background-color: #F2F2F2;}   /* selected link */

.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 { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.main #mainContent tr td {
        font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
/* End of 'Hakamäki päätyyli' */

/* Start of CMSMS style sheet 'Hakamäki etusivu' */
.main #header {
	background-image: url(layout/header_rekka_slogan.png);
	background-repeat: no-repeat;
	background-position: center top;
} 
/* End of 'Hakamäki etusivu' */

