html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;font-weight:inherit;font-style:inherit;font-family:inherit;text-align:left;vertical-align:baseline;text-decoration:none;}
table{border-collapse:collapse;border-spacing:0;}
q:before,q:after,blockquote:before,blockquote:after{content:"";}
*{outline:none;}
img {border:0;}

hr {
    width:100%;
    height: 1px;
    color: #919191;
    background-color: #919191;
    border: 0;
}

em{ font-style: italic; }
strong{ font-weight: bold; }
code{ font-family: monospace; }
sub, sup{
    height: 0;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
}
sub{ top: .5ex; }
sup{ bottom: 1ex; }
abbr[title]{
    border-bottom: 1px dotted #444;
    cursor: help;
}

ul{ margin-left: 17px; }
ol{ margin-left: 20px; }
ul, ol{ margin-bottom: 12px; }

p{ margin-bottom: 12px; }

a{ color: #00548e;}
a:visited { color: #828; }
a:hover{ text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: "Gill Sans", "Gill Sans MT", "Open Sans", Verdana, sans-serif;
    border-bottom: 1px solid #000;
}

h1{
    font-size: 250%;
    margin-bottom: 12px;
}

h2{
    font-size: 200%;
    margin-bottom: 12px;
    margin-top: 7px;
}

h3{
    font-size: 150%;
    margin-bottom: 8px;
}

body{
    /*background: #254364;*/
    background: #afccec;
    background-image: -moz-linear-gradient(top, #5285bd, #afccec);
    background-image: -ms-linear-gradient(top, #5285bd, #afccec);
    background-image: -o-linear-gradient(top, #5285bd, #afccec);
    background-image: -webkit-linear-gradient(top, #5285bd, #afccec);
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    font-family: Verdana;
    font-size: 12px;
}

div#wrapper{
    width: 960px;
    margin: 0 auto;
}

div#topbanner{
    background: #b2becb top center url("../img/top-bg-boat.jpg") no-repeat;
    height: 200px;
    margin-bottom: 15px;
    border-style: solid;
    border-color: #000;
    border-width: 0 1px 1px;
    position: relative;
}

div#topbanner p {
    margin: 0;
}

div#topbanner p img{
    width: 958px;
    position: absolute;
    display: block;
}


a#logo{
    display: block;
    width: 384px;
    height: 95px;
    position: relative;
    top: 45px;
    left: 15px;
    color: transparent;
}

div#sign-in{
    position: absolute;
    top: 30px;
    right: -72px;
}

div#sign-in a{
    display: table-cell;
    color: #fff;
    font-family: Verdana, sans-serif;
    font-size: 12px;
    background-color: #00548E;
    border-width: 1px;
    border-color: #000;
    border-style: solid;
    font-weight: bold;
    width: 70px;
    text-align: center;
    height: 30px;
    vertical-align: middle;
    position:relative;
    z-index: 0;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    -o-border-radius: 0 5px 5px 0;
    -ms-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}

div#navigation{
    float: left;
    width: 203px;
    min-height: 350px;
    padding-bottom: 100px;
    margin-right: 15px;
    border: 1px solid #000;
    background: #9abae4 bottom center url("../img/navi-bg-3.jpg") no-repeat;
}

div#navigation ul{
    list-style-type: none;
    margin: 5px 0 0;
}

div#navigation ul li a{
    display: block;
    width: 195px;
    padding: 5px 0 5px 3px;
    float: right;
    font-family: "Gill Sans", "Gill Sans MT", "Open Sans", Verdana, sans-serif;
    color: #242424;
    font-size: 18px;
    margin: 1px 0;
}

div#navigation ul li.selected>a{
    background: #fff;
}

div#navigation ul li li a{
    text-transform: none;
    font-size: 16px;
    width: 185px;
}

div#navigation ul li li li a{
    font-size: 14px;
    width: 175px;
}

div#navigation ul li li li li a{ width: 165px; }

div#navigation ul li a:hover { text-decoration: none; background: #fff; }

div#content{
    background: #fff;
    width: 718px;
    float: left;
    border: 1px solid #000;
    padding: 10px;
    min-height: 430px;
}

div#content-left{
    float: left;
    width: 478px;
}

img.frontpage-banner{
    border: 1px solid #000;
}

div#content-right{
    width: 225px;
    margin-left: 15px;
    float: right;
}

ul.tapahtumia{
    list-style-type: none;
    margin: 0 0 12px;
}

ul.tapahtumia li{
    margin-bottom: 12px;
}

p.main_idea{ font-weight: bold; }

div#bottom{
    clear: both;
    float: left;
    margin-top: 15px;
    background: #ccc;
    border: 1px solid #000;
    width: 938px;
    padding: 10px;
}

div.socialmedia-box{
    border: none;
    float: right;
    width: 180px;
    text-align: left;
    position: absolute;
    right: 7px;
    bottom: 7px;
}

div.socialmedia-box>div.fb-like{
    margin-top: 5px;
}

div#signed-in-details{
    position: absolute;
    top: 5px;
    right: 5px;
}

div#signed-in-details p,
div#signed-in-details a{
    color: #fff;
}

form.login-form label { margin-right: 5px; }
form.password-form label {
    min-width: 150px;
    display: inline-block;
}
ul.errorlist {
    list-style: none;
    background: #fcc;
    border: 1px solid #c00;
    padding: 5px;
    color: #c00;
    margin: 0;
}

p.login-error{
    color: #c00;
    background-color: #fcc;
    border: 1px solid #c00;
    padding: 5px;
}

p.login-notif{
    color: #0b0;
    background-color: #dfd;
    border: 1px solid #0a0;
    padding: 5px;
}

a.icon{
    float: left;
    margin: 0 5px 0 0;
}

.contact-table td { width: 238px; }
.contact-table td+td { width: 140px; }
.contact-table td+td+td { width: 100px; }

table.tehtavat th { font-weight: bold; padding-top: 0.5em; }
table.tehtavat td { padding: 0 1em; }
