* {
    margin: 0;
    padding: 0;
}
html { height: 100%; }
a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
}
a:hover { color: #545f61; }
a:visited { color: #000000; }
body {
    margin: auto;
    width: 1000px;
    background-color: #313131;
    font-size: 10px;
    color: #000000;
    font-family: Verdana, "Trebuchet MS", Helvetica, sans-serif;
    /*font-family: Gill Sans MT, Arial Narrow, Baskerville Old Face, Agency FB; */
}
#wrapper {
    margin-top: 10px;
    background-image: url(images/tausta.jpg);
    background-repeat: no-repeat;
    width: 1000px;
    height: 551px;
    float: left;
}
#content {
    clear: both;
    margin-top: -55px;
    margin-left: 80px;
    display: block;
    height: 370px;
    width: 860px;
    text-align: center;
    float: left;
}
#frontpic {
    margin: -2px 0 0 5px;
	background-image: url(images/front.jpg);
    background-repeat: no-repeat;
    background-position: top;
    width: 313px;
    height: 371px;
    float: left;
}
#topContent {
    margin: 0;
    padding: 0;
    width: 380px;
    float: left;
}
#topContent p {
    margin: 0 auto;
    padding: 5px 0 5px 0;
    width: 350px;
    height: auto;
    font-style: italic;
    font-size: 11px;
    line-height: 12px;
    text-align: center;
}

#leftContent {
    margin: 100px auto;
    padding: 0;
    height: 40px;
    width: 100px;
    text-align: center;
    float: left;
}
#leftContent p {
    padding: 1px 10px 5px 0;
    background: url(images/blackleft.jpg) no-repeat top left;
    height: 20px;
    width: 10px;
    line-height: 25px;
}
#leftContent a {
    margin: 0 0 0 10px;
    padding: 10px 10px 5px 0;
    background: url(images/black.jpg) no-repeat bottom right;
    color: #ffffff;
    text-align: center;
}
#centerContent {
    margin: 55px 0 0 20px;
    padding: 0;
    height: 85px;
    width: 100px;
    text-align: center;
    float: left;
}
#centerContent p {
    margin: 0;
    padding: 1px 10px 5px 0;
    background: url(images/blackleft.jpg) no-repeat top left;
    line-height: 25px;
    width: 10px;
}
#centerContent a {
    margin: 0 0 0 10px;
    padding: 10px 10px 5px 0;
    background: url(images/black.jpg) no-repeat bottom right;
    color: #ffffff;
    text-align: center;
}

#rightContent {
    margin: 10px 0 0 10px;
    padding: 0;
    height: 130px;
    width: 100px;
    text-align: center;
    float: left;
}
#rightContent p {
    margin: 0;
    padding: 1px 10px 5px 0;
    background: url(images/blackleft.jpg) no-repeat top left;
    line-height: 25px;
    width: 10px;
}
#rightContent a {
    margin: 0 0 0 10px;
    padding: 10px 10px 5px 0;
    background: url(images/black.jpg) no-repeat bottom right;
    color: #ffffff;
    text-align: center;
    display: inline;
}
#tiedotteet {
    margin: 20px 0;
    background: url(images/viiva.jpg) repeat-y;
    width: 160px;
    height: 330px;
    text-align: center;
    float: right;
}
.tiedote{
    margin: 0 auto;
    padding: 5px 0 0 5px;
    width: 150px;
    text-align: left;
    font-size: 10px;
    line-height: 11px;
}
.tiedote a {
    font-size: 10px;
}
.tiedote a:hover {
    font-size: 10px;
    text-decoration: underline;
}
.back {
    margin: -5px 20px 0;
    padding: 0;
    position: relative;
    display: inline;
    float: right;
}
.back a {

    font-size: 9px;
    color: #000000;
    position: relative;
}
.header {
    padding: 25px 0 0 15px;
    font-size: 30px;
    /*color: #adb3b4;*/
    color: #000000;
    line-height: 10px;
}

/* Vasemman laidan navigointi: */
#nav {	/* use of a list for the menu */
    list-style-type: none;	/* suppression of list markers */
    margin-left: 944px;
    margin-top: 185px;
}
#nav ul {
    position: absolute;	/* positionning for IE5 and IE5.5 */
    background: url(images/menu.jpg) top left no-repeat;	/* general menu background */
    width: 40px;
}
#nav li {
    display: inline;
    list-style: none;
    text-indent: -9999px;
}	/* correctionf or IE5 and IE5.5 */
#nav a {	/* buttons dimensions and definitions */
    display: block;	/* A tag place in block to give it dimensions */
    height: 70px;
    width: 40px;
    line-height: 10px;	/* line height to avoid paddings */
}
#menu3 a { height: 110px; }
#nav a:hover { background: url(images/menu.jpg) top left no-repeat; }
#menu1 a:hover { background-position: 0 -250px; }
#menu2 a:hover { background-position: 0 -320px; }
#menu3 a:hover { height: 110px; background-position: 0 -390px; }

/* Menu-sivun navigointi: */
#menu {
    margin-top: 0;
    margin-left: -10px;
    padding: 10px 10px 0 5px;
    width: 150px;
    height: 305px;
    overflow: auto;
    text-align: center;
    line-height: 15px;
    font-size: 16px;
    background: url(images/viiva.jpg) repeat-y right;
    float: left;
}
#menu img {
    margin: 3px 2px 2px 5px;
    padding: 2px;
    border: 0;
}
#menu img:hover {
    padding: 0;
    border: solid 2px;
    border-color: #6e7c7f;    
}
#menu ul {
    padding: 0 0 0 10px;
    list-style: none;
    font-weight: lighter;
}
.open li {
    margin-left: 5px;
    list-style: none;
    line-height: 11px;
    height: auto;
}
#menu li { color: #000000; }
#menu li:hover { color: #545f61; }
#menu li ul {
    padding: 0 0 0 5px;
    display: none;
    list-style: none;
    background-color: #f3fdff;
    line-height: 11px;
}
#menu a { color: #000000; }
#menu a:hover{ color: #545f61; }
#menu li.active ul { display: block; }
#menu .selected { color: #545f61; }
#menu .selected a { color: #545f61; }

#menucontent {
    margin: -35px 0 0 5px;
    padding-top: 0px;
    width: 700px;
    height: 350px;
    overflow: auto;
    text-align: left;
    float: left;
}
#menucontent .header {
    margin: 5px 0 5px 0;
    padding: 0;
    line-height: 20px;
    font-size: 20px;
    text-align: left;
}
p {
    margin: 0 20px 10px 20px;
    text-align: justify;
    font-size: 12px;
    line-height: 14px;    
}
.bold {
    margin: 5px 0 5px 10px;
    padding: 3px 0;
    color: #000000;
    font-weight: bold;
    font-size: 14px;
}
.tableContentBold td {
    margin: 5px 0 10px 0;
    padding: 3px 0 0 10px;
    color: #000000;
    font-weight: bold;
    font-size: 14px;
}
#menucontent .center {
    text-align: center;
}
#menucontent img {
    margin-left: 20px;
    border: none;
}
.tableContent {
    margin: 5px 0 10px 20px;
    border: none;
    font-size: 14px;
}
.tableContent tr { margin: 20px; }
.tableContent td { padding: 0 10px 0 10px; }
.tableContent tr:hover { color: #545f61; }
.text {
    margin: -5px 10px 10px 20px;
    font-style: italic;
    font-size: 10px;
    line-height: 10px;
    text-align: left;
}
.pictureR {
    margin-left: 5px;
    float: right;
}
#menucontent ul {
    margin: -5px 0 10px 20px;
    list-style: none;
    color: #000000;
}
#menucontent li { margin-top: 5px; }
#menucontent a:hover { color: #545f61; }

.tableEsittely { margin: 0 auto; }
.tableEsittely td {
    margin: 0 auto;
    width: 130px;
}
.tableEsittely .bold {
    margin: 1px 0 3px 0;
    padding: 0;
    text-align: center;
    font-size: 12px;
}
.tableEsittely p {
    margin: 0;
    padding: 0;
    font-size: 10px;
    text-align: center;
}
.tableEsittely .empty { width: 10px; }
#esittely img { float: left; }
#esittely {
    margin: 0 auto;
    width: 700px;
    text-align: justify;    
}
