* { margin: 0; padding: 0; }

html {
    font-size: 0.8em;
    }

body {
    background: #7CA8CB;
    font-family: Arial, Helvetica, sans-serif;
    }

h1 {
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 10px;
    color: #005C99;
    }
h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #005C99;
    }
h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #005C99;
    }
p {
    margin-bottom: 15px;
    }

a {
    color: #006DB6;
    }

a:visited {
    color: #005C99;
    }


.clear { visibility: hidden; clear: both; }

img{
    border: 0px;
    }

#wrap {
    width: 910px;
    background: #fff url('../images/bg.jpg') repeat-y;
    background-color: #FFFFFF;
    margin: auto;
    }


#header {
    background: url('../images/header.jpg') no-repeat;
    /*width: 100%;*/
    width: 910px;
    height: 221px;
    position: relative;
    }

#etusivulinkki {
    float:left;
    margin-top:10px;
    margin-left:15px;
    width: 180px;
    height: 80px;
    }

#etusivulinkki a{
    text-decoration: none;
    padding:50px 120px 80px 50px;
    }

#changeFont {
    text-align: right;
    padding: 2px 10px 0 0;
    font-weight: bold;
    color:#005D98;
    }
#changeFont a {
    font-size:0.9em;
    color:#005D98;
    text-decoration: none;
    }

#changeFont img.fontpic {
    margin-top:4px;
    vertical-align: text-bottom;
    }

#changeFont form {
    font-size:0.9em;
    margin-top: 8px;
}

#changeFont form {
    font-size:0.9em;
}

#changeFont form input[type="text"], #changeFont form input[type="password"] {
    width: 70px;
}

#navigation {
    position: absolute;
    top: 189px;
    left:220px;
    width: 700px;
    height:29px;
    }

#navigation ul {
    list-style: none;
    }

#navigation li {
    float: left;
    height: 25px;
    padding: 5px 12px 0px 12px;
    }

#navigation li.active {
    background: url('../images/navbg.jpg') repeat-x;
    }

#navigation li a {
    font-size: 1em;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    }



#content {
    width: 100%;
    padding:0px;
    margin:0px;
    }

#sidebar {
    width: 211px;
    float: left;
    padding: 10px 0px 10px 0px;
    background: url('../images/sidebarbg.jpg') repeat-x #054A77;
    }

#sidenavigation {
    width:193px;
    padding-left: 3px;
    font-weight: bold;
    list-style: none;
    margin-bottom:20px;
    }

#sidenavigation ul {
    list-style: none;
    margin-bottom: 5px;
    }

#sidenavigation li a{
    text-decoration: none;
    }


#sidenavigation li {
    width:100%;
    padding-left: 10px;
    margin-bottom: 2px;
    clear:both;
    }


#sidenavigation .main{
    background: url('../images/nav.gif') no-repeat;
    padding-top:4px;
    height:22px;
    }

#sidenavigation a{
    margin-top:3px;
    color: #3880B0;
    }


#sidenavigation .active {
    background: url('../images/nav_active.gif') no-repeat;
    font-weight: bold;
    }

.subnav {
    clear:both;
    }

#sidenavigation li.subnav {
    padding-bottom: 2px;
    padding-top:2px;
    margin-left: 10px;
    }

#sidenavigation .subnav a{
    background: none;
    height: auto;
    clear: both;
    color: white;
    }

#left_box {
    background: url('../images/leftbox_bg2.gif') no-repeat;
    width: 185px;
    height:138px;
    padding-top: 3px;
    padding-right: 10px;
    padding-left: 5px;
    margin-left:7px;
    margin-bottom:5px;
    float:left;
    }


#left_box h3 {
    font-size: 13px;
    font-weight: normal;
    margin-bottom: 0px;
    text-align:center;
    }

#left_box p {
    font-size: 11px;
    color: #005C99;
    }

.notes_box{
    width: 181px;
    height:206px;
    margin-left:10px;
    padding-top:14px;
    padding-left:19px;
    background: url('../images/notes.jpg') no-repeat;
    clear:both;
    }

.note {
    width: 153px;
    height: 153px;
    background-color: #ffffff;
    margin-top:14px;
    margin-left:19px;
}


td.logoshuffle {
    width: 153px;
    height: 153px;
}

#main-content {
    float: right;
    width: 665px;
    padding: 15px 20px 15px 0;
    color: #333333;
    }
#main-content a.more {
    background: url(../images/arrow2.gif) no-repeat 0 50%;
    padding-left: 12px;
    text-decoration: none;
    font-weight: bold;
    }

#main-content ul{
    margin-left:20px;
    margin-bottom:10px;
    list-style-type:disc;
    }

#left_area{
    width: 520px;
    float:left;

    }

#right_area{
    width: 140px;
    float:left;
    }

#right_area #posti{
    float: right;
    padding-bottom: 5px;
    border-bottom: 1px solid #D4D4D4;
    }

#posti{
    float: right;
    padding-bottom: 5px;
    border-bottom: 1px solid #D4D4D4;
    }

#posti a.postia {
    text-decoration: none;
    font-weight: bold;
    font-size:0.9em;
    border: 0px;
    }


#footer {
    width: 680px;
    float:right;
    padding: 7px 5px;
    font-size: .8em;
    color: #666;
    border-top:1px solid #AFAFAF;
    }

#footer p {
    float: left;
    margin: 0 0 5px 0;
    }
#footer p.aku {
    float: right;
    }
#footer a {
    color: #333;
    text-decoration: none;
    }

#sivukartta {
    margin-left: 20px;
    }
#sivukartta ul {
    margin-left: 20px;
    }


#hakuform {
    margin-bottom: 30px;
    }
#hakuform input {
    padding: 2px;
    }
#hakuform button {
    color: #fff;
    background: #b5a200;
    border-bottom: 1px solid #393729;
    border-right: 1px solid #393729;
    border-top: 1px solid #9a8a00;
    border-left: 1px solid #9a8a00;
    }

#hakutulokset {
    margin-left: 20px;
    }

#subnavi {
    margin-left:0px;
    list-style: none;
    clear: both;
    display: block;
    font-size: 12px;
    }
#subnavi li {
    float: left;
    padding: 0 10px 0 0;
    margin-right: 10px;
    border-right: 1px solid #000;
    margin-bottom: 10px;
    margin-top: 2px;
    }
#subnavi li.noborder {
    border: 0;
    }
#subnavi li.active a:link, #subnavi li.active a:visited {
    color: #000;
    }


#tapahtumalistaus {
    list-style: none;
    }
#tapahtumalistaus li {
    background: url(../images/date.png) no-repeat 0 2px;
    padding-left: 25px;
    margin-bottom: 15px;
    }
#main-content #tapahtumalistaus a {
    font-weight: bold;
    margin-bottom: 5px;
    }


    #yhteystiedot {
    background: url(../images/yhteystiedot.gif) top left;
    padding: 15px 20px;
    color: #fff;
    position: relative;
    top: 19px;
    width: 200px;
    text-align: left;
    left: 20px;
    }
#yhteystiedot h3 {
    color: #fff;
    }
#main-content #yhteystiedot a {
    color: #ACD5EB;
    }
#yhteystiedot ul {
    padding-left: 15px;
    }





#yhteystiedot2 {
    background: url(../images/yhteystiedot.gif) top left;
    padding: 15px 20px;
    color: #fff;
    position: relative;
    top: 19px;
    width: 200px;
    text-align: left;
    left: 20px;
    float: right;
    }
#yhteystiedot2 h3 {
    color: #fff;
    }
#main-content #yhteystiedot2 a {
    color: #ACD5EB;
    }
#yhteystiedot2 ul {
    padding-left: 15px;
    }

/* KIRJATILAUS*/

#kirjatilausform * { margin: 0; padding: 0; }
#kirjatilausform {
    width: 550px;
    }

#kirjatilausform p {
    padding: 6px;
    }
#kirjatilausform p.odd {
    background: #EDF5FC;
    }
#kirjatilausform label {
    display: block;
    width: 200px;
    float: left;
    padding: 4px 0;
    }
#kirjatilausform.kirjatilausvarmistus label {
    padding: 0;
    }
#kirjatilausform input {
    padding: 3px;
    }
#kirjatilausform input#in01 {
    width: 30px;
    }
#kirjatilausform input#in02, #kirjatilausform input#in03, #kirjatilausform input#in04, #kirjatilausform input#in07, #kirjatilausform input#in09 {
    width: 300px;
    }
#kirjatilausform input#in05, #kirjatilausform input#in08 {
    width: 50px;
    }
#kirjatilausform input#in06, #kirjatilausform input#in10 {
    width: 235px;
    }
#kirjatilausform input.error {
    border: 1px solid red;
    }
#kirjatilausform span.star {
    color: blue;
    font-size: 22px;
    position: relative;
    top: 6px;
    font-weight: bold;
    }
#kirjatilausform p.error {
    color: #F00000;
    font-weight: bold;
    }

/****** Company info ********/

div.company {
  font-family: arial;
  font-size: 12px;
}

div.company div.header {
  font-size: 1.5em;
}

div.company div.logo {
  float: left;
  padding-left: 15em;
}

div.company table {
  clear: both;
  font-family: arial;
  font-size: 12px;
  width: 510px;
}

div.company table tr.middleheader td {
  padding-left: 0px;
  text-transform: uppercase;
  font-weight: bold;
  border-top: 2px solid #888;
}

div.company table td.left {
  text-align: left;
  padding-right: 0px;
  font-weight: bold;
  width: 280px;
  vertical-align: top;
}

div.company table td.right {
  vertical-align: top;
}

div.company table td.pad {
  width: 5px;
}

/* Tapahtumakalenteri */

h3.events
{
    font-size: 1em;
    padding: 3px;
    margin: 0 0 1em 0;
    color: #fff;
    background-color: #2482C0;
}

h3.events span
{
    margin-left: 20px;
}

div#events h3.events {
    background: transparent;
    color: #2482C0;
}

table#calendar
{
    width: 185px;
/*  margin: 10px auto;*/
    border: 1px solid #c0c0c0;
    color: #000;
    background: #EFE6DD;
    font-size:11px;
}

table#calendar caption
{
    margin: 2px auto 0px auto;
    padding: 1px 0 2px 0;
    color: #fff;
    background-color: #4D84AD;
}

table#calendar caption a
{
    color: #fff;
    text-decoration: none;
}

table#calendar td, table#calendar th
{
    padding: 0 2px;
    text-align: center;
}

table#calendar td a
{
    text-decoration: none;
    padding: 0px 1px;
    background: #2195BC;
    color: white;
}

table#calendar th
{
    font-weight: bold;
}

        div.imagebox {
            float: left;
            display: inline;
            width: 110px;
            height: 110px;
            margin: 5px;
            text-align: center;
        }


ul.arrow {
    list-style-image: url('../images/list-arrow.jpg');
    padding-left: 25px;
}

ul.arrow li {
    line-height: 15px;
    height: 15px;
    padding: 2px;
}

table.jasentiedot td.nimike {
	font-weight: bold;
}

table.jasentiedot td.arvo {
	padding-bottom: 5px;
}

table.jasentiedot td.arvo input {
	width: 400px;
}

table.jasentiedot textarea {
	width: 400px;
}

table.jasentiedot select {
	width: 250px;
}

