@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 */
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	background-color: #808080;
	background-image: url(Kuvat/Tausta2P.jpg);
}
#container  {
	width: 900px;  /* this will create a container 80% of the browser width */
	background: #FFFFFF; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
#header  {
	font-family: garamond;
	font-variant: small-caps;
	height: 200px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 20px;
	background-color: #777;
	background-image: url(Kuvat/logo.gif);
	background-repeat: no-repeat;
	background-position: center;
}
#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 */
	font-family: garamond; 
	font-variant: small-caps; 
}
#mainContent  {
	padding: 0 20px;
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-size: 90%;
	background-color: #808080;
}
#footer  {
	height: 25px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
	background-color: #808080;
} 
#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: 10px 0;
}

a:link {
	text-decoration: none;
	color: #eeeeee;
}

a:visited {
	text-decoration: none;
	color: #eeeeee;
}

a:active {
	text-decoration: none;
	color: #660000;
}

a:hover {
	text-decoration: underline;
	color: #660000;
}

img.right {
  float : right;
  margin : 0 0 25px 10px;  /* Top, Right, Bottom, Left */
}

img.left {
  float : left;
  margin : 0 10px 5px 0;
}

img.center {
  float : center;
  margin : 25px 25px 25px 25px;
}



#navbar a:link {
	text-decoration: underline;
	color: #eeeeee;
	padding-right: 15px;
	padding-left: 15px;
}
#navbar a:visited {
	text-decoration: underline;
	color: #eeeeee;
	padding-right: 15px;
	padding-left: 15px;
}
#navbar a:active {
	text-decoration: none;
	color: #660000;
	padding-right: 15px;
	padding-left: 15px;
}
#navbar a:hover {
	text-decoration: none;
	color: #660000;
	padding-right: 15px;
	padding-left: 15px;
}#navbar {
	height: 50px;
	font-family: Garamond;
	font-size: 100%;
	color: #eeeeee;
	background-color: #646464;
	background-image: url(Kuvat/ReunaVaaka.jpg);
	background-repeat: repeat-x;
	font-variant: small-caps;
	text-align: center;
}
#mainContent h1 {
font-family: garamond; 
font-variant: small-caps; 
color: #000000;
}

#mainContent h2 {
font-family: garamond; 
font-variant: small-caps; 
color: #000000;
}
