/*
Theme Name: 1024px
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: The 1024px theme for WordPress, based on Andreas' open source XHTML/CSS <a href="http://andreasviklund.com/templates/">website template</a> with the same name. A Swedish translation is available on <a href="http://jokkmokk.biz/">Jokkmokk.biz</a>.
Version: 1.5
Author: Andreas Viklund
Author URI: http://andreasviklund.com/
*/

/* Body */
body {background:#fff color:#000000; font: 14px Arial, Helvetica, sans-serif; line-height:1em; padding:20px 0;}
*{margin:0; padding:0;}

/* Main wrap */
#wrap {color:#000000; margin:0 auto; width:970px;}
#slogan {color:#808080; font-size:1.5em; font-weight:bold; letter-spacing:-1px; line-height:1.2em; margin:15px 0 30px 35px;}
#toplinks {padding:5px 2px 2px 3px; text-align:right;}
#header {
	width:970px;
	height:108px;
	margin-left:-24px;
}


/* Headers */
h1 {color:#000000; font-size:3em; line-height:.8em; letter-spacing:-2px; margin:20px 0 10px 25px;}
h1 a {color:#000000;}
h1 a:hover {text-decoration:none;}
h2, table#wp-calendar caption {text-align:left; font-weight:bold; color:#000000; font-size:1.4em; margin:0 0 8px; padding:0 2px 4px 0;}
h3 {color:#000000; font-size:1.2em; font-weight:bold; margin:10px 0 8px; padding:1px 2px 2px 0px;}
h4 {color:#000000; font-size:14px; font-weight:bold}
/* Sidebar */
#sidebar {float:left; margin:0 0 5px; padding:0; width:396px; height:500px;}
#sidebar p,#sidebar ul,#sidebar .textwidget {margin:0 0 15px 10px;}
#sidebar li {list-style:none; margin:0 0 6px;}
#sidebar li a {font-size:1.2em; font-weight:bold; padding:2px;}
#sidebar ul ul {margin:5px 0 5px 10px;}
#sidebar ul ul li {margin:0 0 5px;}
#sidebar ul ul li a {font-weight:normal;}

/* Content */
#content {float:right; font-size:12px; line-height:1.3em; margin:-2px 15px 10px; text-align:left; width:500px; }
#content ul,#content ol {margin:0 0 18px 30px;}
#content ul li,#content ol li {margin:0 0 3px;}
#content ul ul,#content ol ol {margin:5px 0 5px 15px;}
#content img {margin:5px;}
#content img.alignleft {margin-left:0; margin-right:6px; margin-bottom:4px; margin-top:0; }
#content p {margin:0 0 15px 0px;}
#content p.timestamp {font-size:1.2em; margin:-5px 0 15px 0px;}
#content p.timestamp a {font-weight:normal;}
#content #postnav {padding:5px; margin:5px 0 18px;}
#content #postnav p {margin:0; padding-left:5px;}
#content #postnav p.right {text-align:right; padding-right:5px; margin-top:-18px;}
/* mymenu */
#mymenu {
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px;
	line-height:20px;
	color:#cccccc;
}

#mymenu a:link, #mymenu a:visited {
	color:#cccccc;
	text-decoration:none;
}

#mymenu a:hover {
	color:#000000;
	text-decoration:none;
}

#mymenu .mymenuActive {
	color:#000000;
}

#mysubmenu {
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px;
	line-height:20px;
	color:#cccccc;
}

#mysubmenu a:link, #mysubmenu a:visited {
	color:#cccccc;
	text-decoration:none;
}

#mysubmenu a:hover {
	color:#000000;
	text-decoration:none;
}

#mysubmenu .mymenuActive {
	color:#000000;
}

form a:link, form a:visited {
	color:#cccccc;
	text-decoration:none;

}

form a:hover {
	color:#000000;
	text-decoration:none;

}


/* relpic */
#relpic {
	width:390px;
	height:300px;
	position:relative;
	float:right;
	margin-top:20px;
}


/* Footer */
#footer {clear:both; color:#0; font-size:0.8em; line-height:1.6em; margin:0 auto; padding:8px 0; text-align:right; font-weight:bold;}
#footer p {margin:0; padding:0;}
#footer a {color:#808080; font-weight:bold}
#footer a:hover {text-decoration:underline;}
#footer span, #footer span a {font-weight:normal;}

/* Comments */
#content div.comment {margin-bottom:15px;}
#content div.comment p {margin:0 0 4px 0px;}

#commentsection p {margin:0 0 0 0;}
#commentsection input,#commentsection textarea {border:1px solid #000000; padding:2px; width:200px; }
#commentsection textarea#comment { border:1px solid #000000; width:480px;}
#commentsection input#submit {width:75px;color:#0000; background-color:#fff;  }
#commentsection input,#commentsection textarea,form div.searchbox input {font:94% Arial, Helvetica, sans-serif; border:1px solid #000000;}

/* Tags */
blockquote {border:1px solid #dadada; font-size:0.9em; margin:20px 10px; padding:8px;}
blockquote p {padding:2px 0; margin:0; font-weight:bold;}
table#wp-calendar {width:180px; margin:0 0 18px 10px;}
p {margin:0 0 18px 10px;}
ul,ol,dl {font-size:0.9em; margin:2px 0 16px 35px;}
ul ul,ol ol {margin:4px 0 4px 35px;}

/* Links */
a {color:#000000; font-weight:bold; text-decoration:none;}
a:hover {text-decoration:underline;}
a img {border:0;}

/* Float fix */
.contenttext {overflow:hidden;}
* html .contenttext {height:1px; overflow:visible;}
* html .contenttext p {overflow:hidden; width:99%;}

/* Searchbox */
.searchbox {margin:0px 0 0px 0px; position:relative; clear:left; width:200px; }
.searchbox label {display:none;}
.searchbox input {font-size:1 em; margin:4px 0 4px 0; padding:1px; width:100px; border:1px solid #000000; background-color:#FFFFFF;}


/* Meta Widget */
.metawidget {
	margin-top:20px;
	width:390px;
	position:relative;
	float:left;
	bottom:0px;
}
.metawidget a {
	color:#000000;
}

/* Various classes */
.post {margin:0 0 15px;}
.textright {text-align:right;}
.textcenter {text-align:center;}
.hide {display:none;}

.tiradivider {
	width:396px;
	height:20px;
	background-image:url(images/tiradividerlong.gif);
	background-position:left;
	background-repeat:no-repeat;
}

.tiradividerlong {
	width:498px;
	height:10px;
	background-image:url(images/tiradividerlong.gif);
	background-position:center;
	background-repeat:no-repeat;
}


.alignright { float:right; margin: 0 0 15px 15px; }
.alignleft { float:left; margin: 0 15px 15px 0; } 