/* Reset needed styles
*******************************/
html,body,div,span,form,h1,h2,h3,h4,p,blockquote{margin:0;padding:0;border:0;outline: 0;}
:focus {outline: 0;}
body {line-height: 1;}
html {height: 100%;margin-bottom: 1px;}

/* Typography
*******************************/
body {
    font:normal 69% Tahoma, Arial, Helvetica, sans-serif;
}
h1,h2,h3,h4,h5,h6 {
    font:bold 1em/1 Tahoma, Arial, Helvetica, sans-serif;
}
pre,
var,
code { 
    font-family:"Courier New", Courier, monospace; 
}
h3,
#sidebar,
.postdata,
.entry-content {
    font-family:Verdana, Arial, Helvetica, sans-serif;
}
#header h2 {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}

/* Header elements
*******************************/
h1 {
    font-size:2.4em;
}
h2 {
    font-size:1.8em;
    line-height:1.6;
    color:#2F2C2B;
    background: transparent url('images/tbird.gif') 0% 60% no-repeat;
    padding-left: 49px;
}
h3 {
    font-size:1.2em;
    font-weight:bold;
    color:#2F2C2B;
}

/* Text elements
*******************************/
ul,ol,p,dl {
    line-height:1.8;
}
ul,ol         {margin: 0 0 1em .8em;}
ul            {list-style-type:disc;}
ol            {list-style-type:decimal;}
p,dl	      {margin: 0 0 1em 0; text-align: left;}
strong        {font-weight: bold; }
em            {font-style: italic; }
ins           {text-decoration:none;}
del           {text-decoration:line-through;}
img           {border:0;outline:0;}
blockquote {
    border-left: 2px solid #D2D6D8;
	margin:0 0 0 1.6em;
	padding: 0 0 0 1.6em;
}
a:link,
a:visited,
a:hover,
a:active{
    color:#3b506b;
    text-decoration:underline;
}

/* Wordpress styles
*******************************/
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}
.alignleft {
   float: left;
   margin:0 1em 1em 0;
}
.alignright {
   float: right;
   margin:0 0 1em 1em;
}
.wp-caption {
   border: 1px solid #ccc;
   text-align: center;
   padding-top: 4px;
}
.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}
.wp-caption p.wp-caption-text {
   font-size: 1em;
   line-height:1.4;
   padding: 0 4px 4px;
   margin: 0;
}




/* Content
*******************************/


#content .post {
    padding-bottom:1.5em;
    margin-bottom:1.0em;
    margin-top:0.5em;
    border-bottom:1px dotted #263547;
}
#content .single {
    border-bottom:0;
}
#content h2 a {
    color: #2F2C2B;
    text-decoration:none;
}
#content h3 {
    margin-bottom:20px;
    line-height:2.1;
    border-bottom:2px solid #D2D6D8;
}
#content h2 a:hover {
    color:#2F2C2B;
}
.postdata {
    font-family: Arial,Helvetica,sans-serif;
    padding:3px 0;
    margin-bottom:8px;
    border:1px solid #eee;
    border-left:0;
    border-right:0;
    color:#666;
    font-size: 10px;
    text-transform:uppercase;
}
.postdata a {
    color:#666;
    text-decoration:none;
}
.postdata a:hover {
    text-decoration:underline;
}

.postdata img {
  margin-bottom:-4px;
  border:0;
  }

.tags {
    line-height:1.2;
    clear:both;
}

/* Sidebar
*******************************/
#sidebar {
    width:300px;
    float:left;
    margin: 10px 0 30px 0;
    padding:0;
}

}
#sidebar .box {
    margin-bottom: 12px;
    padding-bottom: 12px;
    padding-left: 10px;
}

#recentcomments,
#sidebar #calendar_wrap,
#sidebar .box .content,
#sidebar #searchform,
#sidebar .box li a,
#sidebar .box .current-cat li a {
}
#sidebar .box .tags,
#sidebar #calendar_wrap,
#sidebar .box li a,
#sidebar #searchform {
    padding:0;
}
#sidebar .box .tags {
    line-height:1.1;
    text-align: center;
}
#sidebar .box .tags a {
   text-decoration:none;
}
#sidebar .box .tags a:hover {
   text-decoration:underline;
}
#sidebar .box li {
    display:inline;/*for IE*/
}
#sidebar .box li  {
     display:block;
}
#sidebar .box li li a {
    padding-left:40px;
}
#sidebar .box li li li a {
    padding-left:60px;
}

#sidebar ul {
    margin:0;
    padding:0;
    list-style:none;
}


#sidebar .rss a {
    float:right;
    width:77px;
    height:59px;
    text-indent: -9999px;
}

/*recent comments widget*/
#sidebar #recentcomments {
    padding-left:20px;
}
#sidebar  #recentcomments li.recentcomments {
    display:block;
}
#recentcomments li.recentcomments a {
    display:inline;
    border:0;
}



/* Search Form
*******************************/
#searchform input {
    vertical-align:middle;
    border:1px solid #ccc;
    font-size:1em;
    color:#152942;
}
#searchform input#search-submit {
    background:#D2D6D8;
    border:1px solid #D2D6D8;
    width:30px;
}

/* Comments
*******************************/
#commentform {
    margin-top:12px;
}
#commentform input.text,
#commentform textarea {
    border:1px solid #7E929E;
    border-right-color:#E8E8E8;
    border-bottom-color:#E8E8E8;
    padding:2px;
}
#commentform input.text {
    width:200px;
}
#commentform textarea {
    width:400px;
}
#commentform input.submit {
    border:1px solid #7E929E;
    background:#E8E8E8;
    color:#152942;
}
.comment {
	margin: 0 0 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border-left: 2px solid #D2D6D8;
}
.comment .details img {
    vertical-align:middle;
}

  
  
body {
  background: #666 url(images/bgstar.gif) top center repeat;
  text-align:center;
  padding-bottom: 10px;
  }

#wrap {
  width: 906px;
  margin: 10px auto 10px auto;
  text-align: left;
  background: #fff;
  padding:0;
  }
  
b.btop, b.btop b, b.bbot, b.bbot b{
    display: block;height: 3px;font-size: 1px;
    background-image:url(images/rc2.png);
    background-repeat: no-repeat}

b.btop b{background-position: 100% -10px}
b.bbot{background-position: 0 -20px}
b.bbot b{background-position: 100% -30px}


#cbox {
  width: 900px;
  max-width: 900px;
  margin: 0 3px;
  padding: 0;
  }


#header {
  background: #263547 url(images/header.gif) top center no-repeat;
  text-align:center;
  height: 90px;
  padding:0;
  margin:0;
  }

#header h1,#header h2 {margin-left:-3000px;}

#lcol {
  float:left;
  width:570px;
  padding-left: 12px;
  }
  
#rcol {
  float:right;
  width:300px;
  }


#footer {
  color: #fff;
  background: #666;
  }

/* Yksirivinen työkalupalkki */
dl.toolbar {
  background: #263547 url(images/toolbar_l.jpg) top left no-repeat;
  margin:5px 0;
  padding:0;
  }
dl.toolbar dt {
  background:transparent url(images/toolbar_r.jpg) top right no-repeat;
  text-transform: uppercase;
  font: normal 10px "Lucida Sans Unicode", verdana, lucida, arial, helvetica, sans-serif;
  padding:3px 3px 3px 28px;
  text-align:left;
  color:#fff;
  }
dl.toolbar dt a {text-decoration:none;color:#fff;}
dl.toolbar dt a:hover {text-decoration:underline;color:#fff;}

ul.topiclist li.header {
  background: #034 url(images/box_tl.gif) top left no-repeat;
  margin:5px 0;
  padding:0;
  }

ul.topiclist li.header dl {
  background: transparent url(images/box_tr.gif) top right no-repeat;
  text-transform: uppercase;
  font: normal 10px "Lucida Sans Unicode", verdana, lucida, arial, helvetica, sans-serif;
  padding:3px 3px 3px 28px;
  text-align:left;
  color:#fff;
  }

#sidebar .box {
  background: #efefef url(images/box_tl.gif) top left no-repeat;
  margin:5px 0;
  padding:0;
  }
  
#sidebar h3 {
  background:transparent url(images/box_tr.gif) top right no-repeat;
  text-transform: uppercase;
  font: normal 10px "Lucida Sans Unicode", verdana, lucida, arial, helvetica, sans-serif;
  padding:3px 3px 3px 22px;
  text-align:left;
  color:#fff;
  margin: 0;
  border:0;
  }
  
#sidebar h3 a {
  color:#fff;
  text-decoration:none;
  }
  
#sidebar h3 img {
  display:none;
  }


/* Pyöreäreunaiset laatikot */
dl.box {
  background: #034 url(images/box_tl.gif) top left no-repeat;
  margin:5px 0;
  padding:0;
  }
dl.box dt {
  background:transparent url(images/box_tr.gif) top right no-repeat;
  text-transform: uppercase;
  font: normal 10px "Lucida Sans Unicode", verdana, lucida, arial, helvetica, sans-serif;
  padding:3px 3px 3px 28px;
  text-align:left;
  color:#fff;
  }

dl.box dd {
  background:#D9EFFF url(images/box_bl.gif) bottom left no-repeat;
  line-height: 1.1em;
  color: #333;     
  margin:0px;    
  padding:5px 0 0 5px;
  }

dl.box dd p {
  margin-top:0;
  padding-top:0;
  padding-bottom:5px;
  }

dl.box dd img {
  border:0;
  }

dl.box dd p.last {
  background:transparent url(images/box_br.gif) bottom right no-repeat;
  margin-top:5px; padding-bottom:5px; margin-bottom:0; text-align:right; padding-right:5px;
  }
  
.box {
  font-size: 11px;
  }

.box a {text-decoration:none;color:#111;}
.box a:hover {text-decoration:underline; color:#000;}
.box dt a,.box dt a:hover {text-decoration:none;color:#fff;}


 .smalltext {
  font-size:10px;
  color:#666;
  text-transform: uppercase;
  }

.smalltext a {
  color: #666;
  text-decoration:none;
  }

.smalltext a:hover {
  color:#000;
  text-decoration:underline;
  }

.smalltext .icon {
  margin-bottom:-4px;
  border:0;
  }

#mainsearch {
  float:right;
  margin-right:5px;
  margin-top:-20px;
  }

/* Navigation
*******************************/
#nav{
    overflow:hidden;
    width:900px;
    margin: 3px 0 5px 0;
    height: 28px;
    padding:0;
    list-style:none;
    background: #666 url('images/navbg.gif') top center no-repeat;
}
#nav li{
    float:left;
}
#nav a{
    float:left;
    padding:3px 0 0 0;
    margin-left:18px;
    height:26px;
    border-bottom:2px solid #D2D6D8;
    text-decoration:none;
    font-size:1.09em;
    color:#fff;
    font-weight:bold;
}
#nav a:hover,
#nav .current_page_item a{
  background: transparent url('images/pointer.gif') bottom center no-repeat;
 }


  
/*
SmartMenu
*************************************/
.smartmenu, .smartmenufloaty {
    background: #666 url('images/navbg.gif') top center no-repeat;
    margin: 3px 0 5px 0;
    padding: 0px;
    overflow: hidden;
    height: 28px;
}

.smartmenuie6 {
    height: 30px;
}

.smartmenu a, 
.smartmenufloaty a {
    font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 10pt;
    font-weight: bold;
    text-decoration: none;
    color: #FFF;
    border-right: 1px dotted #FFF;
    padding: 0px 10px;
}

.smartmenu a.last {
    border: none;
}

.smartmenu a:hover {
    color: #333;
}

.smartmenu ul, .smartmenufloaty ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.smartmenu ul li, .smartmenufloaty li {
    padding: 3px 0px 3px 0px;
    float: left;
}

.smartmenu li ul {
    display: none;
}

.smartmenufloaty {
    background: transparent;
    position: absolute;
    border: none;
    width: auto;
    height: auto;
    left: 0px;
    top: 0px;
    z-index: 1000;
}

.smartmenufloaty .tip {
    background: url(images/floatytip.png) no-repeat;
    font-size: 0px; 
    height: 20px;
    width: 50px;
    margin: 0px;
    overflow: hidden;
    display: block;
}

.smartmenufloaty .tipIE6 { 
    background: url(images/floatytip.gif);
}

.smartmenufloaty .padder {
    background: url(images/floatybg.png);
    padding: 0px 8px; 
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
}

.smartmenufloaty .padderIE6 {
    background: url(images/floatybg.gif);
}

.smartmenufloaty li {
    float: none ;
    border-bottom: 1px dotted #FFF;
    padding: 5px 8px; 
}
 
.smartmenufloaty li.last {
    border: none;
}

.smartmenufloaty a {
    border: none;
    padding: 0px;
}

.smartmenufloaty a:hover {
    color: #222;
}

