/*
Theme Name: Keskustelut.demari.fi
Theme URI: http://www.arkimedia.fi
Description: Keskustelut.demari.fi-sivustolle suunniteltu teema
Version: 0.1
Author: Mikko Virenius
Author URI: http://www.arkimedia.fi
*/

/************************************************
*  GENERAL							    		*
************************************************/
body{
	background:#cfe4eb;
	}
	
/************************************************
*  Header    							    	*
************************************************/

#header_wrap {
	background:url(images/header_wrap.png) repeat-x;
	height:57px;
	}
	
#header {

	}
	
#header a, #header a:visited {
	color:#ffffff;
	text-decoration:none;
	}
	
#header a:hover, #header a:active {
	text-decoration:underline;
	}
	
#header_inner {  
	
	}
	
#logo { 
	height:57px;
	overflow:hidden;	
	}
	
#navigation {  
	height:52px;
	margin-top:5px;
	overflow:hidden;
	}
	
#primary_links {  
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	}
	
#primary_links li {
	float:left;
	margin:0px;
	border-right:solid 2px #000000;
	}
	
.menu_first {
	border-left:solid 2px #000000;
	}
	
.menu_third {
	width:102px;
}

.menu_last {
	width:140px;
}

#primary_links .current_menu_item a, #primary_links .current_menu_item a:hover {
	background:url(images/current_menu_item.png) no-repeat bottom center;
	font-weight:bold;
	color:#ffffff;
	}
	
#primary_links a:hover {
	background:transparent url(images/menu_item_hover.png) repeat-x;
	color:#FFFFFF;
	display:block;
	padding:15px 33px 9px;
	text-decoration:none;
	}
	
#primary_links a {
	background:transparent url(images/menu_item.png) repeat-x;
	color:#FFFFFF;
	display:block;
	font-size:15px;
	padding:15px 33px 9px;
	text-decoration:none;
	}
	
#actions {
	float:right;
	padding:21px 0px 0px 0px;
	font-size:12px;
	display:inline-block;
	}
	
.arrow {
	float:left;
	display:block;
	background:url(images/white_arrow.png) no-repeat 0px 6px;
	padding:0px 15px 0px 12px;
	}
	
/************************************************
*  Infobox    							    	*
************************************************/

#infobox_wrap { 
	background:#f7f7f7;
	position: relative;
	z-index:0;
 	}
	
#infobox { 
	background:url(images/infobox.png) no-repeat;
	position: relative;
	height:100%;
 	}
	
#infobox h6 {
	font-size:12px;
	line-height:1.2em;
	margin:0px 0px 5px;
	padding:0px;
	}
	
#infobox_top{ 
	padding:4px 0px;
	height:24px;
	}
	
#toggle a, #toggle a:visited, #toggle a:hover, #toggle a:active {
	color:#1a171b;
	font-weight:bold;
	}
	
#toggle a.opened{
	background: url(images/toggle_opened.png) no-repeat right 1px;
	display:block;
	height:19px;
	padding:0px 25px 0px 0px;
	overflow:hidden;
	text-align:right;
	}
	
#toggle a.closed{
	background: url(images/toggle_closed.png) no-repeat right 1px;
	display:block;
	height:19px;
	padding:0px 25px 0px 0px;
	overflow:hidden;
	text-align:right;
	}
	
.bbcrumb{
	margin:0px;
	}
	
h1.welcome {
	color:#8d2221;
	font-size:45px;
	margin-bottom:0px;
	}
	
.infobox_open {
	height:240px;
	padding:10px 0px 0px 0px;
	display:block;
	}
	
#infobox_left p {
	color:#1a171b;
	font-size:14px;
	}
	
#infobox_right {
	padding:20px 0px 0px 0px;
	}
	
#infobox_right h5 {
	margin-bottom:12px;
	}
	
#steps {
	width:485px;
	height:165px;
	background:url(images/steps.png) no-repeat top left;
	}
	
.step {
	float:left;
	width:140px;
	height:130px;
	padding:18px 2px 15px 18px;
	font-size:11px;
	}
	
/************************************************
*  AD SPACE TOP     							 *
************************************************/

#ad_space_top { 

 	}
	
#ad_space_top_inner { 
	margin:0 auto;
	padding:15px 0;
	width:728px;
  	}
	
/************************************************
*  MAIN			    							 *
************************************************/

#main { 
	margin-bottom:25px;
	margin-top:25px;
	overflow:visible;
	}
	
#main-inner {  

	}
	
#column-left { 
		background:#ffffff;
		margin:0px;
		padding:20px 10px 0px;
		position:relative;
   	}
	
/************************************************
	FRONT PAGE    							   
************************************************/

#forumlist {
	padding-top:0px;
	}
	
#forumlist .alt {
	font-size:12px;
	background:#eceded url(images/forumlist_alt.png) no-repeat top right;
	margin:0px;
	padding:17px 20px;
	height:106px;
	overflow:hidden;
	}
	
#forumlist .normal { 
	font-size:12px;
	margin:10px 0px;
	background:#ffffff url(images/forumlist_normal.png) no-repeat top right;
	padding:17px 20px;
	height:106px;
	overflow:hidden;
	}
	
#forumlist .hover{ 
	background:#cfd0d1 url(images/forum_hover.png) no-repeat right top;
	}
	
#column-left-inner {  	

	}

#title_block {
	background:url(images/title_block.png) no-repeat;
	margin:0px;
	height:56px;
	overflow:hidden;
	padding:0px;
	position:relative;
	left:-22px;
	}
	
#title_block h1, #title_block h1, #title_block  h1{
	float:left;
	padding: 7px 0px 0px 30px;
	color:#ffffff;
	}
	
#title_block a, #title_block a:visited{
	color:#ffffff;
	}
	
#title_block a:hover,#title_block a:active{
	color:#ffffff;
	}
	
.tag_dropdown {
	float:right;
	padding:15px 20px 0px 0px;
	}
	
.tag_dropdown select{
	width:200px;
	}
	
h2.forum_name {
	margin:0px;
	font-size:26px;
	line-height:1.1em;
	}
	
p.forum_description {
	text-transform:uppercase;
	font-size:10px;
	margin:0px 0px 10px;
	display:block;
	}
	
.num_topics {
	width:82px;
	height:52px;
	float:right;
	display:block;
	padding:4px 0 0 7px;
	font-size:11px;
	}
	
.topic_info{
	font-size:11px;
	}
	
.topic_last_poster {
	background:url(images/topic_last_poster.png) no-repeat 0px 2px;
	padding:0px 0px 0px 15px;
	}
	
.topic_time {
	background:url(images/topic_time.png) no-repeat 0px 2px;
	padding:0px 0px 0px 15px;
	}
	
#column-left h2 a,#column-left h2 a:visited {
	color:#3e3d40;
	text-decoration:none;
	}
	
#column-left h2 a:hover,#column-left h2 a:active{
	text-decoration:underline;
	}
	
/************************************************
 FORUM PAGE    							    
************************************************/

#forum-page #title_block,
#tag-page #title_block {
	background:#8D2221;
	height:46px;
	left:-22px;
	margin:0px;
	overflow:hidden;
	padding:0px;
	position:relative;
	}
			
#forum-page #navigation_block,
#topic-page #navigation_block,
#tag-page #navigation_block {
	background:url(images/navigation_block.png) no-repeat;
	margin:0px;
	height:31px;
	overflow:hidden;
	padding:0px;
	position:relative;
	left:-22px;
	}
	
.backbutton {
	background:url(images/backbutton.png) no-repeat 0px 2px;
	margin:4px 0px 0px 30px;
	padding:0px 0px 0px 15px;
	display:block;
	height:21px;
	text-transform:uppercase;
	font-size:11px;
	}

#topiclist {
	padding:0px;
	}		
	
#topiclist .alt {
	background:#eceded url(images/topic_alt.png) no-repeat top right;
	font-size:12px;
	margin:10px 0px;
	padding:10px 20px;
	height:60px;
	overflow:hidden;
	}
	
#topiclist .normal {
	background:#ffffff url(images/topic_normal.png) no-repeat top right;
	font-size:12px;
	margin:10px 0px;
	padding:10px 20px;
	height:60px;
	overflow:hidden;
	}
	
#topiclist .hover{ 
	background:#cfd0d1 url(images/topic_hover.png) no-repeat right top;
	}

h2.topic_name {
	margin:0px;
	font-size:22px;
	line-height:1.5em;
	}
	
	
.num_posts {
	width:82px;
	height:32px;
	float:right;
	display:block;
	padding:4px 0 0 7px;
	font-size:11px;
	}
	
/************************************************
*  SINGLE TOPIC   							    	*
************************************************/

#topic-page #title_block {
	background:#8D2221;
	height:46px;
	left:-22px;
	margin:0px;
	overflow:hidden;
	padding:0px;
	position:relative;
	}
	
#thread  .post_normal   {
	background:#ffffff url(images/post_normal.png) no-repeat;
	clear:both;
	list-style:none;
	margin:0px;
	min-height:225px;
	overflow:visible;
	padding:25px 15px 15px 15px;
	}
	
#thread .alt {
	background:#eceded url(images/post_alt.png) no-repeat;
	clear:both;
	list-style:none;
	margin:0px;
	padding:25px 15px 15px 15px;
	}
	
.threadpost {
	float:left;
	padding:0px 60px 0px 0px;
	width:435px;
	}
	
h2.post_title {
	font-size:26px;
	line-height:1.1em;
	margin:0px 0px 10px;
	}

.post_time {
	background:url(images/post_time.png) no-repeat 0px 2px;
	font-size:10px;
	padding:0px 0px 15px 15px;
	}
	
.threadauthor {
	float:left;
	}
	
.post ol {
	list-style-type:decimal;
	margin:0px;
	padding:0px 0px 15px 20px;
	}
	
.post ol li {
	list-style-type:decimal;
	margin:0px 0px 0px 10px;
	padding:0px 0px 0px 0px;
	}
	
.post ul {
	list-style-type:square;
	margin:0px;
	padding:0px 0px 15px 20px;
	}
	
.post ul li {
	list-style-type:square;
	margin:0px 0px 0px 10px;
	padding:0px 0px 0px 0px;
	}
	
.post blockquote {
	background:#F7F7F7;
	border:1px solid #E6E6E6;
	margin:0 25px 15px;
	padding:10px;
	}
	
#topic_info {
	background:#fcfcfc url(images/topic_info.png) repeat-y;
	left:-10px;
	padding:10px;
	position:relative;
	}
		
/************************************************
SEARCH				    	
************************************************/

#postresults .post_result_normal {
	font-size:12px;
	margin:10px 0px;
	padding:17px 20px;
	height:106px;
	overflow:hidden;
	}

#postresults .alt {
	font-size:12px;
	background:#eceded;
	margin:0px;
	padding:17px 20px;
	height:106px;
	overflow:hidden;
	}

#postresults .post_result_normal_hover {
	background:#cfd0d1 url(images/alt_hover.png) no-repeat right top;
	}

#topicresults .topic_result_normal {
	font-size:12px;
	margin:10px 0px;
	padding: 30px 20px;
	height:20px;
	overflow:hidden;
	}

#topicresults .alt {
	font-size:12px;
	background:#eceded;
	margin:10px 0px;
	padding: 30px 20px;
	height:20px;
	overflow:hidden;
	}

#topicresults .topic_result_normal_hover {
	background:#cfd0d1 url(images/topic_odd_hover.png) no-repeat right top;
	}

/************************************************
PAGINATION					    	
************************************************/

.nav {
	font-weight:bold;
	margin: 10px auto;
	text-align:center;
	width:100%;
	}
	
.nav .prev{
	
	}
	
.nav .next {
	
	}
	
a.page-numbers, a:visited.page-numbers {
	color:#000000;
	margin:0px 4px;	
	padding:4px 8px;
	text-decoration:none;
	}
	
a:hover.page-numbers, a:active.page-numbers {
	background:#8c2120;
	color:#ffffff;
	margin:0px 4px;
	padding:4px 8px;
	}
	
.nav .current {
	background:#8c2120;
	color:#ffffff;
	margin:0px 4px;	
	padding:4px 8px;
	}


/************************************************
	POST FORM
************************************************/

#post_form {
	background:#CFE4EB url(images/post_form.png) no-repeat;
	float:left;
	width:660px;
	margin:0px;
	padding:35px 30px 35px;
	position:relative;
	left:-10px;
	height:410px;
	}
	
h2.post-form {
	background:url(images/post_form_title.png) no-repeat 0px 3px;
	padding:0px 0px 0px 40px;
	}
	
#post_form  input#postformsub {
	background: url(images/post_form_submit.png) no-repeat center center;
	border:none;
	color:#FFFFFF;
	font-family:Verdana;
	font-size:13px;
	padding:5px 44px;
	text-transform:uppercase;
	float:right;
	}
	
#postform select#tags {
	width:100%;
	}

/************************************************
	PROFILE  							    	
************************************************/

#useravatar { 
	margin-bottom: 1em; 
	}

#useravatar img { 
	display: block; 
	border-width: 3px; 
	border-style: double; 
	}

#userinfo { 
	margin-top: 10px; 
	}

#userinfo dt { 
	font-weight: bold; 
	}

#userinfo dd { 
	margin: 0 0 5px; 
	} 

#useractivity { 
	margin: 15px 0 5px; 
	}

.user-recent { 
	margin: 0 0 10px; 
	}

.user-recent ol { 
	margin: 5px 0 0 28px;
	}

.user-recent ol li { 
	margin: 0 0 3px; 
	}
	
/************************************************
LOGIN, REGISTER, PROFILE EDIT							    	
************************************************/
#search-page form,
#login-page form,
#register-page form,
#profile-page form {
	margin:10px 0px;
	}
#search-page fieldset,
#login-page fieldset,
#register-page fieldset,
#profile-page fieldset {
	border: 1px solid #ccc;
	padding: 10px 0 10px 10px;
	margin-bottom: 15px;
	background-color: #ECEDED;
	width:666px;
	}

#search-page legend,
#login-page legend,
#register-page legend,
#profile-page legend {
	font-weight: bold;
	padding: 0 15px;
	}

#search-page fieldset table,
#login-page fieldset table,
#register-page fieldset table,
#profile-page fieldset table {
	text-align: left;
	margin: 0 15px;
	width: 95%;
	border-collapse: collapse;
	}

#search-page fieldset table th,
#login-page fieldset table th,
#register-page fieldset table th,
#profile-page fieldset table th {
	padding: 5px;
	text-align: right;
	width: 20%;
	vertical-align: top;
	padding-right: 1em;
	}

#search-page fieldset table td,
#login-page fieldset table td,
#register-page fieldset table td,
#profile-page fieldset table td {
	padding: 5px;
	}

#search-page fieldset table td p,
#login-page fieldset table td p,
#register-page fieldset table td p,
#profile-page fieldset table td p{
	margin: 5px 0;
	}

#search-page fieldset p,
#login-page fieldset p,
#register-page fieldset p,
#profile-page fieldset p {
	font-size: 11px;
	margin: 10px 16px;
	}

#login-page sup.required,
#register-page sup.required,
#profile-page sup.required {
	color: red;
	}

.form-invalid {
	background-color: #ffebe8 !important;
	}

.form-invalid input {
	border-color: #c00 !important;
	}

.form-table input, .form-table textarea {
	border-color: #c6d9e9;
	}
.required {
	font-style:italic;
	color:#8D2221;
}

/************************************************
*  SIDEBAR    							    	*
************************************************/

#column-right {

   	}
	
#column-right-inner {  

	}
	
#sidebar-right {  

	}
	
.widget {
	margin-bottom:20px;
	}
	
.search-form {
	background:#f0f6f8;
	padding:10px;
	}
	
.search-form p {
	margin:0px;
	}
	
.search_submit {
	background:url(images/search_submit.png) no-repeat 0px 1px;
	border:0px;
	text-indent:-9999px;
	width:31px;
	height:31px;
	}
	
#q{
	color:#222222;
	font-family:Verdana;
	font-size:13px;
	padding:5px;
	}
	
#recent_posts h5 {
	float:left;
	}
	
#recent_posts_list, #recent_posts_title_block {
	clear:both;
	}
	
.recent_posts_rss {
	float:right;
	}
	
.singlepost{
	height:60px;
	padding:10px 10px 10px 20px;
	width:240px;
	left:-9px;
	position:relative;
	}
	
.singlepost_hover{
	background: url(images/singlepost_hover.png) no-repeat;
	}
	
.singlepost_topic_title {
	font-size:14px;
	}
	
.singlepost_forum_name {
	background:url(images/singlepost_forum_name.png) no-repeat 0px 2px;
	font-size:11px;
	padding-left:15px;
	}
	
.singlepost_post_author {
	background:url(images/singlepost_post_author.png) no-repeat 0px 2px;
	font-size:11px;
	padding-left:15px;
	}

.singlepost_hover .singlepost_forum_name_hover {
	background:url(images/singlepost_forum_name_hover.png) no-repeat 0px 2px!important;
	}
	
.singlepost_hover .singlepost_post_author_hover {
	background:url(images/singlepost_post_author_hover.png) no-repeat 0px 2px!important;
	}
	
/************************************************
*  AD SPACE BOTTOM    							    	*
************************************************/

#ad_space_bottom_wrap { 
	background:#ffffff;
	height:30px;
 	}
	
#ad_space_bottom { 
	background:#ffffff;
 	}
	
#ad_space_bottom_inner { 
	margin:0 auto;
	padding:7px 0;
	width:728px;
	}
	
/************************************************
*  FOOTER  							    	*
************************************************/
#footer_wrap { 
	background:#3d3c3f url(images/footer_wrap.png) repeat-x;
 	}
	
#footer { 
	background:#3d3c3f url(images/footer.png) no-repeat;
	height:370px;
	overflow:hidden;
 	}
	
 #footer a, #footer a:visited {
	color:#ffffff;
 	}
	
 .bb-rss-list{
 	list-style-type:none;
	padding:5px;
 	}
	
 .bb-rss-list li{
	margin:0px 0px 10px 0px;
	clear:both;
 	}
	
 .rss_date {
	display:inline;
	color:#9a9a9c;
	font-size:12px;
 	}
	
 .rss_title, .rss_blog_title {
 
 	}
	
 .rss_blog_post {
 	color:#9b9b9d;
	font-size:11px;
 	}
	
 .rss_author {
	color:#d9dadb;
	font-weight:bold;
 	}
	
 .rss_text {
	color:#9b9b9d;
	font-size:11px;
	display:block;
	height:30px;
	overflow:visible;
 	}
	
#footer_demari_news .rss_text, #footer_sdp_news .rss_text {
	background:url(images/rss_quotes.png) no-repeat 0px 4px;
	padding-left:20px;
 	}
	
	
 .rss_image {
	 padding: 0px 10px 0px 0px;
	 margin-bottom:10px;
	 float:left;
	 width:50px;
	 height:50px;
	 overflow:hidden;
 	}

#footer_inner {  
	padding:65px 0px 0px 0px;
	}
	
#footer_news {  

	}
	
#footer_discussions {  

	}
	
#footer_blogs { 
	
	}

/************************************************
*  COPYRIGHT     							    	*
************************************************/

#copyright_wrap { 
	background:#19161a;
 	}
	
#copyright { 
	background:#19161a;
 	}
	
#copyright a, #copyright a:visited {
	color:#ffffff;
	text-decoration:none;
	}
	
#copyright a:hover, #copyright a:active {
	text-decoration:underline;
	}
	
#copyright-inner {  

	}
	
#footer_links {
	padding:35px 0px 0px 0px;
	}
  
/*Classes*/
img.center {
	display:block;
	margin:0px auto;
	}
.clear {
	clear:both;
	}

a, a:visited {
	color:#8b0e15;
	text-decoration:none;
	}
a:hover, a:active {
	text-decoration:underline;
	}
a.white, a.white:visited {
	color:#ffffff;
	}
a:hover, a:active {
	text-decoration:underline;
	}
.threadauthor small {
	font-size:10px;
	}