html {
 height:100%;
}

body { 
 margin:0; 
 padding:0;
 color:black;
 background-color:#660000;
 font-size:70%;
 font-family:verdana, arial, helvetica, Sans-serif; 
 height:100%;
}


textarea {
 overflow:auto;
}

small {
 font-size:85%;
}

img.absmiddle {
 margin:1px 0 2px 0; 
 vertical-align:middle;
}

img {
 border:0;
}

img.block {
 border:0;
 display:block;
}



.virhe {
 color:#D12211;
}

h1,.h1 { 
 font-size: 125%; 
 margin-top:0;
 font-weight:bold;
 color:#660000;
}

h1.link-copycat {
 color:#660000;
}

h2 { 
 font-size: 100%; 
 font-weight:bold;
}


hr {
 color: white; 
 background-color: white; 
 border: 1px dotted #b3b3b3; 
 border-style: none none dotted; 
 margin:0;
}

hr.marg {
 margin:1.5em 0;
}


.nappi {
 background-color:#660000;
 color:white;
 font-family:verdana, arial, helvetica, Sans-serif; 
 border: none;
 cursor:pointer;
 border:1px solid #660000;
 font-size:8pt;
 font-weight:bold;
}



A {  
  color:#660000; 
  text-decoration:none;
  outline: none;
}

A:visited {  
  color:#660000;
  text-decoration:none; 
}

A:hover {  
  text-decoration: underline; 
}



A.ylanavi, A.ylanavi:visited  {
 color:black; 
 text-decoration: none; 
}

A.ylanavi:hover, A.ylanavi-akt, A.ylanavi-akt:visited,  .ylanavi-akt-copycat {  
 color:#660000; 
 text-decoration: none; 
}



A.alinavi, A.alinavi:visited {
 color:black; 
 text-decoration:none;
}


A.alinavi:hover, A.alinavi-akt, A.alinavi-akt:visited {
 color:#660000;
 text-decoration:none;
}




/*Leiskaluokat*/


table.wrapper-emo {
 margin:0 auto;
 width:930px;
 background:white top left repeat-y url(/kuvat/layout/tausta.gif);
 height:100%;
}

table.wrapper-emo.jakoviiva {
 background-image:url(/kuvat/layout/tausta_jakoviivalla.gif);
}

td#wrapper-left {
 width:200px;
 vertical-align:top;
}

div#wrapper-left-margin {
 margin-right:1px;
}

img#logo {
 margin:77px 0 72px 58px;
 display:block;
}

div#contact-push {
 min-height:270px;
 height:auto !important;
 height:270px;
}

div#contact-left-margin {
 border-top:1px dotted #b3b3b3;
 color:#9D9D9D;
 text-align:right;
 padding:10px 20px 0 10px;
}


td#wrapper-center {
 width:507px;
 vertical-align:top;
}

div.kielipalkki {
 background:#efefef top left repeat-x url(/kuvat/layout/tausta_kielipalkki.jpg);
 min-height:20px;
 height:auto !important;
 height:20px;
 color:#7D0800;
 text-align:center;
 font-weight:bold;
 line-height:20px;
 position:relative;
}



a.kielivalinta, a.kielivalinta:visited {
 color:#7D0800;
}


td#wrapper-right {
 width:223px;
 vertical-align:top;
}

div#wrapper-right-margin {
 margin-left:2px;
}


div#ylareunan_banneri {
 width:221px;
 height:170px; 
 overflow:hidden;
 border-bottom:1px solid #cccccc;
}


div.right-data-wrapper {
 padding:20px;
 border-bottom:1px dotted #b3b3b3;
}


div.right-data-container {
 background:transparent left top no-repeat url(/kuvat/layout/nuoli.gif);
 font-size:87%;
 padding-left:22px;
 margin-top:15px;
 min-height:18px;
 height:auto !important;
 height:18px;
}


img.banneri-oikea-marginaali {
 margin:20px auto;
 display:block;
}

img.banneri-vasen-marginaali {
 margin:0 auto;
 display:block;
}

div.banneri-swf-wrapper {
 margin:20px auto;
}




table.pikalinkki-emo {
 margin-left:auto;
 border:0 dotted #b3b3b3;
 border-width:0 0 1px 0;
 border-collapse:collapse;
}

table#pikalinkki-emo-oikea {
 width:100%;
 border:0 dotted #b3b3b3;
 border-width:0 0 1px 0;
 border-collapse:collapse;
}

td.pikalinkki {
 border:0 dotted #b3b3b3;
 border-width:1px 0;
 padding:8px 16px 8px 22px;
 background:transparent left center no-repeat url(/kuvat/layout/nuoli.gif);
}

td.pikalinkki-right {
 border:0 dotted #b3b3b3;
 border-width:1px 0;
 padding:8px 16px 8px 42px;
 background:transparent 20px center no-repeat url(/kuvat/layout/nuoli.gif);
}

td.pikalinkki.title {
 border-width:0 0 1px 0;
 padding:8px 20px 8px 0;
 background-image:none;
}

div.alinavi-wrapper {
 margin:0 30px 12px 0;
 text-align:right;
}

div.alialinavi-wrapper {
 margin:0 30px 7px 0;
 text-align:right;
}

div.alialinavi-jakoviiva { 
 border-top:1px dotted #b3b3b3;
 padding-top:15px;
 margin:0;
}

/*Jos kuvan koko muuttuu, huomio myös makrot.inkin flash*/

div#ylataytekuva-wrapper {
 width:507px;
 height:170px;
 overflow:hidden;
}

img#ylataytekuva {
 display:block;
 width:507px;
}


div#ylanavi-wrapper {
 background:white left top repeat-x url(/kuvat/layout/tausta_ylanavi.gif);
 border-bottom:1px dotted #b3b3b3;
 padding:0 20px;
}

div.ylanavi-content {
 padding:4px 8px;
 border-left:1px dotted #b3b3b3;
 float:left;
}

/*Kehyksellä maskataan blogin taustaviivan yläosa*/

div#sisalto {
 padding:0 20px 20px 20px; 
 border-top:20px solid white;
}


div#etusivun-taytekuva-wrapper {
 width:467px;
 height:230px;
 overflow:hidden;
 margin-bottom:1em;
}

img#etusivun-taytekuva {
 display:block;
 width:467px; 
}


td.contact-wrapper {
 width:50%;
 border-bottom:1px dotted #b3b3b3;
 vertical-align:top;
}




/*BLOGI*/


table#bloginosto-emo {
 border:0 dotted #b3b3b3;
 border-width:1px 0;
 width:100%;
 background-color:white;
}

td#bloginosto-background {
 background-position:top right;
 background-repeat:no-repeat; 
}

img#bloginosto-logo {
 width:91px;
 height:51px;
 display:block;
}

div#bloginosto-content {
 width:125px;
 padding:6px 0 6px 6px;
 font-size:90%;
}



img#wblog-sisalto {
 margin-bottom:10px;
 display:block;
}

div#sisalto-left-wrapper {
 float:left;
 width:299px;
 margin-bottom:20px;
}

div#sisalto-right-wrapper {
 float:right;
 margin-bottom:20px;
 width:135px;
}

.kehys {
 border:1px dotted #b3b3b3;
 padding:1em;
}

.kehys-korostus {
 border:1px dotted #b3b3b3;
 padding:1em;
 background-color:#f5f5f5;
}

.kehys-huomio {
 border:1px dotted #b3b3b3;
 padding:1em;
 background-color:#ffffcc;
}



/*Datalistaus*/

table.dataemo {
 border-collapse:collapse;
 border:1px dotted #b3b3b3;
 width:100%;
}

td.data-header {
 background-color:#660000;
 border:1px dotted #b3b3b3;
 color:white;
} 

td.data {
 background-color:white;
 border:1px dotted #b3b3b3;
} 









/*MP260808: Etusivun nostot*/


div.fb-separator {
 margin-bottom:8px;
}

div.fp-cc {
 width:9px;
 height:9px;
 position:absolute;
}

div.fp-cc.c1 {
 top:0;
 left:0;
}

div.fp-cc.c2 {
 top:0;
 right:0;
}

div.fp-cc.c3 {
 bottom:0;
 right:0;
}

div.fp-cc.c4 {
 bottom:0;
 left:0;
}



td.fp-service-wrapper {
 background-position:bottom left;
 background-repeat:no-repeat;
 color:white;
 vertical-align:top;
 border:0 solid white;
 width:229px;
}


td.fp-service-wrapper.s1 { 
 background-color:#81966A;
 background-image:url(/kuvat/layout/fp/cc_green2.gif); 
 border-width:0 5px 4px 0;
}

td.fp-service-wrapper.s2 { 
 background-color:#607BA6;
 background-image:url(/kuvat/layout/fp/cc_blue2.gif); 
 border-width:0 0 4px 4px;
}

td.fp-service-wrapper.s3 { 
 background-color:#B5C18A;
 background-image:url(/kuvat/layout/fp/cc_lgreen2.gif); 
 border-width:4px 5px 0 0;
}

td.fp-service-wrapper.s4 { 
 background-color:#BFD4DC;
 background-image:url(/kuvat/layout/fp/cc_lblue2.gif); 
 border-width:4px 0 0 4px;
}


div.fp-service-container {
 background-position:top left;
 background-repeat:no-repeat;
 color:white;
 position:relative;
}

div.fp-service-container.s1 {
 background-image:url(/kuvat/layout/fp/cc_green1.gif); 
}

div.fp-service-container.s2 {
 background-image:url(/kuvat/layout/fp/cc_blue1.gif); 
}

div.fp-service-container.s3 {
 background-image:url(/kuvat/layout/fp/cc_lgreen1.gif); 
}

div.fp-service-container.s4 {
 background-image:url(/kuvat/layout/fp/cc_lblue1.gif); 
}



div.fp-service-margin {
 padding:10px 10px 10px 45px;
}



h1.fp-service-title {
 margin:0;
 color:white;
}


div.fp-service-arr-wrapper {
 position:absolute;
 top:6px;
 left:6px;
}

img.fp-service-arr {
 width:36px;
 height:38px;
 display:block;
}

a.fb-service {
 color:white;
}













div.fp-case-wrapper {
 background-color:#e7e7e8;
 position:relative;
 min-height:50px;
 padding:16px 170px 16px 57px;
 background-repeat:no-repeat;
 background-position:320px top;
}


div.fp-case-arr-wrapper {
 position:absolute;
 top:6px;
 left:6px;
}

img.fp-case-arr {
 width:36px;
 height:38px;
 display:block;
}

div.fp-case-text-wrapper {
 padding:20px 15px;
 float:right;
 width:200px;
}






table#fp-campaign-wrapper {
}

td.fp-campaign-container {
 background-color:#e7e7e8;
 width:229px;
 vertical-align:top;
 background-position:bottom left;
 background-repeat:no-repeat;
 background-image:url(/kuvat/layout/fp/cc_greywide2.gif); 
}

td.fp-campaign-container.img {
 background-color:white;
}

div.fp-campaign-container-text {
 padding:15px;
 position:relative;
 background-position:top left;
 background-repeat:no-repeat;
 background-image:url(/kuvat/layout/fp/cc_greywide1.gif); 
}


td.fb-campaign-ver-separator {
 width:9px;
}



td.fb-news-date-cont {
 padding:0 12px 4px 0;
 vertical-align:top;
}

td.fb-news-title-cont {
 padding:0 0 4px 0;
}


/*HW220310: Kuukauden sarjis nosto*/

div#comicWrap {
 background: #ffffff;
 padding: 10px 0 10px 8px;
 font-size:90%;
}

div#comicWrap H1 {
 font-size: 100%;
}


/*HW270810: WStore nosto*/

div#wstoreWrap {
 clear:both;
 border-top: 1px dotted #b3b3b3;
 background:white;
 text-align:center;
 height:54px;
}

img#wstoreImg {
 width:94px;
 height:24px;
 display:block;
 margin: 15px 0;
}

