/*
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 url(images/background.gif) top center repeat-y; color:#404040; font:76% Verdana,Arial,Tahoma,sans-serif; line-height:1.3em; padding:20px 0;}
*{margin:0; padding:0;}

/* Main wrap */
#wrap {color:#404040; margin:0 auto; width:95%;}
#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;}

/* Headers */
h1 {color:#800000; font-size:3em; line-height:.8em; letter-spacing:-2px; margin:20px 0 10px 25px;}
h1 a {color:#800000;}
h1 a:hover {text-decoration:none;}
h2 {border-bottom:1px solid #dadada; text-align:left; font-weight:bold; color:#800000; font-size:1.2em; letter-spacing:-1px; margin:0 0 8px; padding:0 2px 4px 5px;}
h3 {border-bottom:1px solid #dadada; color:#800000; font-size:1.3em; font-weight:bold; margin:10px 0 8px; padding:1px 2px 2px 3px;}
h4 {border-bottom:1px solid #dadada;  text-align:left; font-weight:bold; color:#800000; font-size:1.4em; letter-spacing:-1px; margin:0 0 8px; padding:0 2px 4px 5px;}
h5 {border-bottom:0px solid #dadada;  text-align:left; font-weight:bold; color:#800000; font-size:1.4em; letter-spacing:-1px; margin:0 0 8px; padding:0 2px 4px 5px;}
h6 {border-bottom:0px solid #dadada; color:#800000; font-size:1.3em; font-weight:bold; margin:10px 0 8px; padding:1px 2px 2px 3px;}

/* Sidebar */
#sidebar {float:right; margin:0 0 5px; padding:0; width:18%;}
#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:left; line-height:1.5em; margin:-2px 0 10px; text-align:left; width:80%;}
#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 p {margin:0 0 15px 10px;}
#content p.timestamp {font-size:1.2em; margin:-5px 0 15px 10px;}
#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;}

/* Calendar */
#wp-calendar {margin:0 0 1.2em 0; width:95%; border:1px solid #E8E7D0; background:#FBFBFB; line-height:1.2em; text-align:center; voice-family:"\"}\""; voice-family:inherit; width:90%; font-size: 88%;}
#wp-calendar {width: 95%;}
#wp-calendar caption {margin:1.2em 0 0 0; padding:0.4em 0; background:#800000; color:#FFF; font-weight:bold;}
#wp-calendar td {border:0; border-collapse:collapse; background:#FFF; font-size: 88%;}
#wp-calendar td a {display:block; width:100%;}
#wp-calendar td.pad {background:transparent;}
#wp-calendar td#next, #wp-calendar td#prev {padding:0.1em 2px; background:transparent;}
#wp-calendar td#next a, #wp-calendar td#prev a {display:inline;}
#wp-calendar td#next {text-align:right;}
#wp-calendar td#prev {text-align:left;}

/* Footer */
#footer {border-top:1px solid #dadada; clear:both; color:#808080; font-size:1.1em; 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;}
#footer hr {border-bottom:1px solid #dadada; margin:0 0 8px; padding:0 2px 4px 5px;}

/* Comments */
#content div.comment {margin-bottom:15px;}
#content div.comment p {margin:0 0 4px 10px;}
#commentsection p {margin:0 0 8px 10px;}
#commentsection input,#commentsection textarea {padding:5px; width:30%;}
#commentsection textarea#comment {width:70%;}
#commentsection input#submit {width:75px;color:#333; background-color:#fff;}
#commentsection input,#commentsection textarea,form div.searchbox input {font:94% Verdana,Tahoma,Arial,sans-serif; border:1px solid #ccc;}

/* 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:95%; 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:#800000; 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:8px 0 15px 10px;}
.searchbox label {display:none;}
.searchbox input {font-size:0.9em; padding:5px; width:166px; border:1px solid #ccc;}

/* Various classes */
.post {margin:0 0 15px;}
.textright {text-align:right;}
.textcenter {text-align:center;}
.hide {display:none;}

/* Plugin pagebar */
.pagebar {text-align: center;}
.pagebar a {background: #dfb5b5; padding: 1px 3px; margin: 0 1px; border: 1px solid #800000;}
#content .pagebar a:hover {text-decoration: none;}

/* Projekt Formatting */
#content .beitrag-projekttitel {width:100%; text-align: center; border:solid 1px #706E4F;}
#content .beitrag-projekttext {border-bottom:solid 1px #706E4F; text-align: left; font-weight: bold; color: #ffffff; background: #FF441F;}
#content .beitrag-projektende {color: #FF441F; }
#content .beitrag-projektaus {border-bottom:solid 1px #706E4F; text-align: center; font-weight: bold; color: #ffffff; background: #EB8C35;}

/* Content Projekthinweis Formatting */
#content .beitrag-projekttitel {background: #ffffff url(img/beitrag-hinweis.gif) no-repeat right bottom; padding: 1em; border: 1px solid #efefef; margin: 7px 0 17px 0;}
#content .beitrag-projekthinweis {background: #FF441F url(img/beitrag-hinweis2.jpg) no-repeat right bottom; padding: 1em; border: 1px solid #C2020D; margin: 7px 0 17px 0;}

/* Content Beitraghinweis Formatting */
#content .beitrag-hinweis, #content .kategorie-info, #im-fokus .textwidget, .sidebar-hinweis {background: #dcdecf url(img/beitrag-hinweis.gif) no-repeat right bottom; padding: 1em; border: 1px solid #bbc0a2; margin: 7px 0 17px 0;}
#wp-buch-feed, #webtools-feed {background: #dcdecf; padding: 1em; border: 1px solid #bbc0a2; margin: 0 0 17px 0; width: 380px;}
#wp-buch-feed {float: left;}
#webtools-feed {float: right;}
#content .kategorie-info {margin: 5px 0 30px 0;}
#content .beitrag-hinweis p, #inhalt .kategorie-info p, #im-fokus .textwidget p {margin: 0;}