﻿/*
Design by Mervi Veini
*/

*
{
    margin: 0;
    padding: 0;
}

/*fontit*/


@font-face
{
    font-family: "DroidSansRegular";
    src: url("fontit/DroidSans-webfont.eot");
    src: local("DroidSansRegular"), url("fontit/DroidSans-webfont.woff") format("woff"), url("fontit/DroidSans-webfont.ttf") format("truetype"), url("fontit/DroidSans-webfont.svg#webfontbC7tRKrq") format("svg");
}

html
{
    background: url(kuvat/bg.jpg) repeat;
}

body
{
    background: url(kuvat/bg1.jpg) repeat-x;
	min-width: 1280px;
}

#paalinkit
{
    position: absolute;
    right: 130px;
    top: 117px;
}
#paalinkit li
{
    float: left;
    margin-left: 2px;
    list-style-type: none;
}
#paalinkit li a
{
    font-size: 20px;
    font-family: "Trebuchet MS" , Helvetica, sans-serif;
    color: #DFC3A4;
    padding: 8px 50px;
    text-decoration: none;
	text-shadow: 1px 1px 1px #6D0F03;
    filter: dropshadow(color=#6D0F03, offx=1, offy=1); 
}
#paalinkit li a.active, #paalinkit li a:hover
{
    color: #ffffff;
    border-bottom: none;
	text-shadow: 1px 1px 1px #6D0F03;
    filter: dropshadow(color=#6D0F03, offx=1, offy=1); 
}

/* sisällysluettelo */

#kasi
{
    position: relative;
    background: url(kuvat/kasi.jpg);
    width: 366px;
    height: 500px;
    margin-top: -367px;
    margin-left: 22px;
    z-index: 5;
    padding-top: 50px;
}


#kasi li
{
    padding: 12px 24px 0px 15px;
    list-style-type: none;
}
#kasi li a
{
    font-size: 15px;
    font-family: "DroidSansRegular" , "Trebuchet MS" , Helvetica, sans-serif;
    color: #666666;
    font-weight: lighter;
    text-decoration: none;
	
}

#kasi li a:visited
{
    color: #666666;
}
#kasi li a.active
{
    color: #ca1f08;
    font-weight: bold;
    font-size: 16.5px;
	border-bottom: 1.5px dotted #ca1f08;
	text-shadow: 0px -1px 0px #ffffff;
    filter: dropshadow(color=#ffffff, offx=0, offy=-1); 
}
#kasi li a:hover
{
    color: #ca1f08;
    font-weight: bold;
    border-bottom: 1.5px dotted #ca1f08;
    font-size: 16.5px;
}


a:link
{
    color: #666666;
    font-weight: bold;
    text-decoration: none;
}

a:visited
{
    color: #666666;
    font-weight: bold;
    text-decoration: none;
}

a:hover
{
    text-decoration: none;
    color: #31528A;
    border-bottom: 1.5px dotted #31528A;
}

#wrap
{
    clear: both;
    width: 1215px;
	margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 0;
}

#header
{
    background: url(kuvat/header.jpg) top right no-repeat;
    width: 1192px;
    height: 650px;
    margin-top: 0px;
}

/* sisältö */

#text
{
    position: relative;
    clear: both;
    margin-top: -460px;
    padding-left: 40px;
    margin-left: 361px;
    width: 800px;
    z-index: 2;
}

#text p
{
    font-size: 16px;
    color: #000000;
    font-family: "DroidSansRegular", Georgia, "Trebuchet MS" , Helvetica, sans-serif;
    padding-bottom: 35px;
    line-height: 1.5em;
    
}

#text h1
{
    color: #31528A;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    text-transform: uppercase;
    border-bottom: 1.5px solid #31528A;
    font-size: 20px;
    padding-top: 25px;
    margin-bottom: 25px;
	
}

#text h2
{
    color: #31528A;
    font-family: "Trebuchet MS" , Helvetica, sans-serif;
    text-transform: uppercase;
    border-bottom: 1.5px dotted #31528A;
    font-size: 16px;
    padding-top: 25px;
    margin-bottom: 25px;
}


.luettelot li
{
    margin-left: 40px;
    list-style-image: url(kuvat/bullet.png);
    font-size: 16px;
    color: #000000;
    font-family: "DroidSansRegular", Georgia, "Trebuchet MS", Helvetica, sans-serif;
    padding-bottom: 7px;
}

/* tekstin seassa olevat kuvat */
img
{
    border: 0px;
}
img.vasen
{
    float: left;
    border: 1px solid #ca1f08;
    padding: 1px;
    margin-bottom: 20px;
    margin-right: 25px;
    margin-top: 10px;
    -moz-box-shadow: 5px 5px 7px #acacac;
    -webkit-box-shadow: 5px 5px 7px #acacac;
}
img.oikea
{
    float: right;
    border: 1px solid #ca1f08;
    padding: 1px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-top: 10px;
    -moz-box-shadow: 5px 5px 7px #acacac;
    -webkit-box-shadow: 5px 5px 7px #acacac;
}
img.keski
{
    display: block;
    border: 1px solid #ca1f08;
    padding: 1px;
    clear: both;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    -moz-box-shadow: 5px 5px 7px #acacac;
    -webkit-box-shadow: 5px 5px 7px #acacac;
}

blockquote
{
    padding-top: 0;
    padding-right: 240px;
    padding-bottom: 1px;
    padding-left: 80px;
    background: url(kuvat/lainaus.jpg) no-repeat;
    margin-left: 60px;
    font-style: italic;
}


.taulukot /* taulukko */
{
    border-collapse: collapse;
    width: 790px;
    font-family: "DroidSansRegular" , Verdana, Geneva, sans-serif;
    border-bottom: 1px dotted #D5D3D4;
    border-right: 1px dotted #D5D3D4;
    border-left: 1px dotted #D5D3D4;
    border-top: 1px dotted #D5D3D4;
    background-color: #ffffff;
}

.taulukot th, .taulukot td
{
    font-size: 13px;
    border: 1px dotted #D5D3D4;
    padding: 5px 5px 5px 7px;
}

.taulukot th /* otsikot */
{
    font-size: 11px;
    text-align: left;
    padding-top: 5px;
    padding-bottom: 4px;
    background-color: #526889;
    color: white;
    text-transform: uppercase;
}

.taulukot tr.varitausta td /* joka toisen rivin värillinen tausta */
{
    color: #000000;
    background-color: #e6e6e6;
}



/* sisältö päättyy */

/* vasemmanpuoleinen lisätekstitaulukko */



/* Footer */
#footer
{
    position: relative;
    width: 1113px;
    height: 265px;
    background: url(kuvat/alapalkki.jpg) no-repeat;
    z-index: 6;
    margin: 0 auto;
}

#footertausta
{
    position: relative;
    background: url(kuvat/alapalkkitausta.jpg) repeat-x;
    height: 265px;
	z-index: 4;
	min-width: 1280px;
	
}

#footer ul
{
    font-size: 14px;
    color: #54595D;
    font-family: "DroidSansRegular" , Verdana, Geneva, sans-serif;
    padding: 110px 0 0 350px;
    list-style-type: none;
}
#footer li
{
    padding: 7px 24px 0px 15px;
    border-left: 2px dotted #F8C99D;
}

#footer a:link
{
    color: #31528A;
    text-decoration: none;
    font-weight: normal;
}

#footer a:visited
{
    color: #31528A;
    text-decoration: none;
	font-weight: normal;
}

#footer a:hover
{
    color: #31528A;
    border-bottom: 1.5px dotted #31528A;
}




