html {
    height: 100%;
}

img {
    border: none;
}

body {
    margin: 1em 1em 1em 1em;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9.5pt;
}

#container {

}

#wrapper {
    /*position: relative;*/
}

#top {
    background-color: #005282;
    width: 100%;
    float: left;
    position: relative;
    clear: both;
}

#topleft {
    background-image: url('kulma_ylavasen.jpg');
    background-repeat: no-repeat;
    float: left;
    height: 25px;
    width: 25px;
}

#topright {
    background-image: url('kulma_ylaoikea.jpg');
    background-repeat: no-repeat;
    float: right;
    height: 25px;
    width: 25px;
}

#topbottomright {
    background-image: url('kulma_alaoikea.jpg');
    background-repeat: no-repeat;
    float: right;
    height: 25px;
    width: 25px;
    bottom: 0;
    position: absolute;
    right: 0;
}

#banner {
    position: relative;
    color: #FFFFFF;
    font-size: 18pt;
    float: left;
    padding-top: 1em;
}

#search {
    position: relative;
    float: right;
    margin-right: 2em;
    top: 0.2em;
}

#fblinkdiv {
    float: left;
}

#userinfo {
    float: right;
}


#logo {
    float: left;
    text-align: center;
    background-color: #FFFFFF;
    position: relative;
    padding-bottom: 2em;
    padding-right: 2em;

    width: 170px;
}


#logobottomright {
    background-image: url('sisakulma_alaoikea.gif');
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
    position: absolute;
    right: 0;
    bottom: 0;
}

#horimenucontainer {
    position: absolute;
    bottom: 0;
    left: 22%;
    clear: both;
}

#horimenu {
    float: left;
    clear: right;
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: block;
    padding: 0;
    position: relative;
}

#horimenu li {
    float: left;
    padding-top: 0;
    position: relative;
    display: block;
    bottom: 0;
}

#horimenu a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.5em;
    display: block;
    margin: 0;
    position: relative;
    
}

#horimenu .horimenuitemactive {
    background-color: #FFFFFF;
    color: #005282;
    position: relative;
}

#horimenutopleft {
    background-image: url('sisakulma_ylavasen.gif');
    background-repeat: no-repeat;
    top: 0;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0;
}

#horimenutopright {
    background-image: url('sisakulma_ylaoikea.gif');
    background-repeat: no-repeat;
    top: 0;
    height: 25px;
    width: 25px;
    position: absolute;
    right: 0;
}

#center1 {
    position: relative;
    background-color: #FFFFFF;
    float: left;
    width: 100%;
}

#center2 {
    position: relative;
    background-color: #005282;
    float: left;
    width: 100%;
    right: 80%;
}

#center3 {
    position: relative;
    background-color: #FFFFFF;
    float: left;
    width: 100%;
    right: 20%;
}

#leftmenunavi {
    /*background-color: #005282;*/
    position: relative;
    width: 20%;
    padding-top: 25px;
    padding-bottom: 25px;
    list-style-type: none;
    float: left;
    left: 100%;
}

#leftmenunavitopleft {
    position: absolute;
    /*top: 0px;
    left: 0;*/
    left: 100%;
    
    height: 25px;
    width: 25px;
    background-image: url('kulma_ylavasen.jpg');
    background-position: top left;
    background-repeat: no-repeat;
}

#leftmenunavitopright {
    position: absolute;
    /*top: 0;
    right: -25px;*/
    left: 120%;
    height: 25px;
    width: 25px;
    background-image: url('sisakulma_ylavasen.gif');
    background-position: top right;
    background-repeat: no-repeat;
}

#leftmenunavibottomleft {
    
    position: absolute;
    bottom: 0;
    left: 100%;
    height: 25px;
    width: 25px;
    background-image: url('kulma_alavasen.jpg');
    background-position: bottom left;
    background-repeat: no-repeat;
}

#leftmenunavibottomright {
    
    position: absolute;
    right: -20%;
    bottom: 0;
    height: 25px;
    width: 25px;
    background-image: url('kulma_alaoikea.jpg');
    background-position: bottom right;
    background-repeat: no-repeat;
    
}

#leftmenunavi a {
    text-decoration: none;
    color: #FFFFFF;
    display: block;
    padding: 0.5em;

}

.leftmenu {
    list-style-type: none;
    padding-left: 0;
    margin-left: 1em;

}

.leftmenuitem {
    position: relative;
    padding: 0;
    margin: 0;
}

#leftmenunavi .leftmenuitemactive {
    background-color: #FFFFFF;
    color: #005282;

}


.leftmenuitemactive {
    background-image: url('vasensisakulma_alavasen.gif');
    background-repeat: no-repeat;
    background-position: bottom left;
    position: relative;
}

.leftmenu2 {
    list-style-type: disc;
    background-color: #005282;
    color: #FFFFFF;
    padding-left: 10%;
    margin-left: 0;
    position: relative;

}


.leftmenuitem2 {
    background-color: #005282;
    position: relative;
}

.leftmenuitemactive2 {
    background-color: #FFFFFF;
    
}

#leftactivebg1 {
    background-image: url('vasensisakulma_ylavasen.gif');
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0;
    top: 0;
}

/*#leftactivebg2 {
    background-image: url('vasensisakulma_alavasen.gif');
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0;
    bottom: 0;    
}*/

#pagefunctions {
    padding-top: 1em;
    left: 194%;
    float: right;
    position: absolute;
    z-index: 8;
}

#contentcontainer {
    width: 73%;
    left: 100%;
    padding: 1em;
    float: left;
    margin: 1em;
    position: relative;
}

#content {
    clear: none;
    float: left;
    width: 100%;
/*    width: 73%;
    padding: 1em;
    margin: 1em;
    float: left;
    left: 100%;
    position: relative;*/
}


/* Sisältö tyylit */

#content h1 {
    font-size: 15pt;
    font-weight: bold;
    letter-spacing: 3pt;
    padding-bottom: 18pt;
    margin-bottom: 0;
}

#content h2 {
    font-size: 13pt;
    font-weight: bold;
    padding-bottom: 10pt;
    margin-bottom: 0;
}

#content h3 {
    font-size: 11pt;
    font-weight: bold;
}

#content p {
    font-size: 11pt;
}

#content ul {
    /*list-style-type: disc;*/
    
}

#content li ul {
    /*list-style-image: url('viiva.jpg');*/
    margin-left: 0;
    padding-left: 1em;
}

#content li {
    font-size: 11pt;
}

#content a {
    font-size: 11pt;
    text-decoration: underline;
    color: #0000FF;
}

#content .lisateksti {
    font-size: 10pt;
    font-style: italic;
}

.kuva {
    font-size: 8pt;
    margin: 1em;
}

.kuvataulukko {
    float: left;
    width: 135px;
    height: 135px;
    position: relative;
}

.kuvataulukko img {
    border: 1px solid;
    border-color: #000000;
}

.kuvataulukkotable img {
    border: 1px solid;
    border-color: #000000;
}

/* /Sisältö tyylit */


#footer {
    clear: both;
    position: relative;
    background-color: #005282;
    color: #FFFFFF;
    padding: 1em;
    padding-left: 2em;
    top: 1em;
    
}

#footer a {
    color: #FFFFFF;
    
}

#footercontent {
    /*width: 100%;*/
}

#footertopleft {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-image: url('kulma_ylavasen.jpg');
    background-repeat: no-repeat;
}

#footertopright {
    position: absolute;
    top: 0;
    right: 0;
    height: 25px;
    width: 25px;
    background-image: url('kulma_ylaoikea.jpg');
    background-repeat: no-repeat;
}

#footerbottomleft {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-image: url('kulma_alavasen.jpg');
    background-repeat: no-repeat;
}

#footerbottomright {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 25px;
    width: 25px;
    background-image: url('kulma_alaoikea.jpg');
    background-repeat: no-repeat;
}
#login {
    color: #FFFFFF;
}

td.tdnews1 {
    background-color: #EEEEEE;
}

