/* wikidot bars */

#html-body #navi-bar,
#html-body #navi-bar-shadow,
#html-body #footer-bar {
display: none !important;
}

/* -- frontpage -- */

.etusivu-intro {
background: #8DBF44 url("http://www.sahkoautot.fi/local--files/start/intro_bg2.gif") no-repeat;
overflow:visible;
height:273px;
position:relative;
margin-top:10px;
margin-bottom:10px;
}

.etusivu-intro-teksti {
margin:0;
padding: 10px 20px;
font-size:18px; 
line-height:1.7em;
font-family: 'Trebuchet MS',Arial,Helvetica;
color:#fff;
}

.etusivu-intro-teksti p {margin:0;}

.etusivu-intro-linkki {
text-align:right;
display:block;
position:absolute;
right:496px;
bottom:16px;
}

.etusivu-intro-linkki a {
color: #385c00 !important;
}

/* -- header -- */

#header { background: transparent url("http://www.sahkoautot.fi/local--files/admin:css/logo.jpg") no-repeat; }

#header h1, #header h2 { margin-left:0; padding-left:145px; }

#search-top-box,#login-status {right:20px;}
#login-status { top:40px; height: 24px; }
#login-status a { text-decoration: underline; }
#search-top-box { top:16px; }
a#account-topbutton {text-decoration: none !important;}

/* top navigation bar */

#top-bar {
}

/* -- content sections -- */

/* -- sidebar -- */

#side-bar {
margin-top: 0;
padding:1em;
width:16em;
border-left: 1px #d0d0d0 solid;
background-color: #f0f0f0;
}

/* -- main content -- */

#page-title {
border-bottom:1px solid #666666;
font-size:250%;
margin:0pt;
padding:0.5em 0 0 0;
}

#breadcrumbs,
.forum-breadcrumbs {
margin: 0 0 1.5em 0;
padding: 0.5em 0;
border-bottom:1px solid #666666;
}

.forum-thread-box {
margin: 0 0 0.5em 0;
}

#page-content {
padding: 0;
}

#page-content p,
#page-content li {
line-height: 1.5em;
}

#main-content {
padding:0.5em 2em 1em 2em;	
margin:0 18em 0pt 0pt;
}

/* -- external links icon -- */

#page-content a[href^="http:"] {
background: transparent url("http://www.sahkoautot.fi/local--files/admin:css/external_link.gif") right center no-repeat;
padding-right: 13px;
}

/*exceptions where external link icon should not appear*/
#page-content a[href^="http://www.sahkoautot.fi"],
#page-content a[href^="http://www.Sahkoautot.fi"],
#page-content a[href^="http://www.wikidot.com"],
.etusivu-intro a {
background-image: none !important;
padding-right: 0px;
}

#page-content a[href$=".pdf"],
#page-content a[href$=".PDF"] {
background: transparent url("http://www.sahkoautot.fi/local--files/admin:css/pdf_doc.gif") left center no-repeat;
padding-left: 13px;
}

.etusivu-intro a:hover {background-color: transparent !important;}

#page-content a:hover,
#side-bar a:hover  {
background-color: #66AE26;
color : White;
}

#page-content h2, 
#side-bar h2 {
	border-bottom: 1px #66AE26 solid; 
	font-weight: bold; 
	margin:0.5em 0.1em !important; 
	padding:0; 
	font-style: normal; 
	font-family:"Trebuchet MS", verdana, arial, sans-serif;
	background-color : transparent;
	text-indent : 0;
}

#page-content h1,
#page-content h2,
#header h2 {
	color: #555555; 
}

#page-content h2 span,
#page-content h2 span a,
#side-bar h2 span,
#side-bar h2 span a  {
	margin:0;
	padding : 0;
	text-indent : 0;
	text-align : left;
}

#page-content h2 span a,
#side-bar h2 span a {
	text-decoration : none;
	color: #66AE26;  
}

#page-content blockquote {
	margin: 1em 0;
	padding: 0.6em 1.2em;
	border: 1px #999999 dotted;
	border-width: 1px 0; 
	background-color : #eeeeee;
}

hr {
background-color:#AAAAAA;
border: medium none;
color:#DDDDDD;
height:1px;
margin:1em 0em;
padding:0pt;
}

/* -- tabs --*/

ul.yui-nav li a:hover em { color: #003366;}

ul.yui-nav li.selected a:hover em {color: #ffffff;}

/* ------ forums -------- */

/* main view */

forum-start-box {
padding: 0;
}

.forum-group {
margin: 0;
}

.forum-group div.head {
color:#000000;
background-color:#86C94A;
border:1px solid #66AE26;
border-width: 0px;
margin:0pt;
padding:0.4em 1em 0.6em 1em;
}

.forum-group div.head .title,
.forum-group div.head .description {
color:#ffffff;
}

.forum-group table,
.forum-category-box table {
border-collapse: collapse;
width:100%;
}

.forum-category-box table {
border-width: 0px;
border-top:1px solid #BBBBBB;
margin:0;
}

.forum-group table tr.head td,
.forum-category-box table tr.head td {
text-align: left;
}

.forum-group table td,
.forum-category-box table td {
border-width:0;
border-bottom:1px solid #cccccc;
padding:4px 8px;
text-align: left !important;
vertical-align: top;
}

.forum-group table td.posts,
.forum-group table td.threads,
.forum-category-box td.posts,
.forum-category-box td.threads {
width:4em;
}

.forum-group table td.last,
.forum-category-box table td.last,
.forum-category-box table td.started {
width:15em;
}

/* category view */

forum-category-box {
margin: 0;
}

/* thread view */

.thread-container .post .head {
background-color:#eeeeee;
}

.post-container .long {
border: 1px #cccccc solid;
}

.thread-container .post .long .content {
padding: 0 1em;
}

.thread-container .post .short {
border-top: 1px #cccccc solid;
border-width: 1px 0 0 0;
background-color:#eeeeee;
}

.thread-container .post .long .options {
padding:0.4em 0.5em;
}

/* fix grayed message bug */
.thread-container .post-container div.post { opacity: 1 !important; }

.forum-thread-box .description-block,
.forum-category-box .description-block {
background-color:#eeeeee;
border:1px solid #CCCCCC;
border-width: 1px 0;
height:100%;
margin:1em 0;
overflow:hidden;
padding: 1em;
}

.forum-thread-box .description-block statistics,
.forum-category-box .description-block statistics {
padding-right: 0;
}

.forum-thread-box .options {
margin:0.2em 0;
text-align:right;
}

/* clip long links that break layout */
.forum-mini-stat .item .info { overflow-x:hidden; }

/* tabs */

.yui-navset .yui-nav .selected a, 
.yui-navset .yui-nav .selected a:focus, 
.yui-navset .yui-nav .selected a:hover {
background:#385C00 url("http://www.sahkoautot.fi/local--files/admin:css/sprite.png") repeat-x scroll left -1400px;
color:#FFFFFF;
}

.yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav {
border-color:#385C00 ;
border-style:solid;
border-width:0pt 0pt 3px;
}

.nosto-title a {
text-decoration: none;
display:block;
}