/*
Theme Name: 1024px
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: A light and extremely simple theme with 2 columns. It is based on Andreas' <a href="http://andreasviklund.com/templates/1024px/">1024px CSS template</a>. Updated to support tags, category descriptions, gravatars and more. Validates as XHTML 1.0 Strict. Public domain.
Version: 2.7
Author: Andreas Viklund
Author URI: http://andreasviklund.com/
Tags: fixed width, two columns, white, blue, widgets, 1024px, andreas, valid CSS, valid XHTML
*/

/* Body */
body {background:#fff url(background.gif) top center repeat-y; color:#404040; font:100% Verdana,Arial; line-height:1.3em; padding:20px 0;}
*{margin:0; padding:0;}

ul {margin:0 -18px 18px 0;}
ol {margin:0 -18px 18px 0;}

/* Main wrap */
#wrap {color:#404040; margin:0 auto; width:960px;}
#slogan {color:#808080; font-size:1.5em; font-weight:bold; letter-spacing:-1px; margin:15px 0 20px 35px;}
#toplinks {padding:5px 2px 2px 3px; text-align:right;}

/* Headers */
h1 {color:#000000; font-size:2em; line-height:3em; letter-spacing:-1px; margin:10px 0 5px 25px;}
h1 a {color:#000000;}
h1 a:hover {text-decoration:none;}
h2, #wp-calendar caption {border-bottom:4px solid #DAB988; text-align:left; font-weight:bold; color:#000000; font-size:1.6em; line-height:1em; letter-spacing:-1px; margin:0 0 8px; padding:10px 2px 4px 5px;}
h3 {Color:#000000; font-size:1.2em; font-weight:bold; margin:10px 0 10px 8px; padding:1px 2px 2px 3px;}
h3 a:hover {text-decoration:underline;}
a {margin:0 0 10px 10px;}

/* Sidebar */
#sidebar {float:left; margin:0 0 5px; padding:0px; width:265px;}
#sidebar ul,#sidebar .textwidget {font-size:1.0em; margin:0 0 15px 10px;}
#sidebar p a:link {font-weight:bold;}
#sidebar li {margin:0 0 6px;}
#sidebar li a {font-size:1.2em; line-height:1.8em; font-weight:bold; padding:2px;}


/* Content */
#content {float:right; line-height:1.2em; margin:2px; width:690px;}
#content ul,#content ol {list-style: round; margin:margin:10px 0 10px 0; padding:8px;}
#content ul li,#content ol li {list-style: round; margin:10px 0 10px 0; }
#content ul ul,#content ol ol {list-style: round; margin:10px 0 10px 0; }
#content img {margin:5px;}
#content p {margin:20px 10px; font-size:1.0em;}
#content p.timestamp {font-size:1.0em; margin:-5px 0 0 10px;}
#content p.timestamp a {font-weight:normal;}
#content p.postmeta {text-align:right; border-top:2px solid #DAB988; line-height:1.0em;}
#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;}
#content .introtext p {margin:-5px 0 0 10px;}
#content {white-space: wrap;}

/* Footer */
#footer {border-top:4px solid #DAB988; color:#808080; width:1024px; font-size:1.1em; line-height:1.6em; margin-bottom:0; padding:8px 0; text-align:right; clear:both; 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:20px;}
#content div.comment p {margin:0 0 4px 10px; padding:3px 0 0 0;}
#respond p {margin:0 0 5px 10px;}
#respond input,#respond textarea {padding:5px; width:330px;}
#respond textarea#comment {width:500px;}
#respond input#submit {width:75px;color:#333; background-color:#fff;}
#respond input,#respond textarea,form div.searchbox input {font:94% Verdana,Tahoma,Arial,sans-serif; border:1px solid #ccc;}
.gravatarside {width:48px; height:48px; float:right; margin:0 5px 3px 5px;}

/* Tags */
blockquote {border:0px solid #DAB988; font-size:1.2em; margin:20px 10px; padding:8px;}
blockquote p {padding:2px 0; margin:0;;}
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;}
code{font-size:1.1em; background-color:#f4f4f4; color:#555; display:block; margin:5px 0 15px 0; padding:5px 5px 5px 7px; border:1px solid #ccc;}

/* Links */
a:link {color:#4083BD; font-weight:normal; text-decoration:none;}
a:hover {color:#B39A66;text-decoration:underline;}
a img {border:0;}
a:visited { text-decoration: underline; font-weight:normal; color: #A1A09D; }


/* 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;}

/*Rounded Corners*/
/* Use the following code to create box:
<div id="rnd_container">
<b class="rnd_top"><b class="rnd_b1"></b><b class="rnd_b2"></b><b class="rnd_b3"></b><b class="rnd_b4"></b></b>
<div class="rnd_content"> 
Your Text Goes Here
</div>
<b class="rnd_bottom"><b class="rnd_b4"></b><b class="rnd_b3"></b><b class="rnd_b2"></b><b class="rnd_b1"></b></b>
</div>*/

#rnd_container {background: #ffffff; margin:1px;}
    
    .rnd_top, .rnd_bottom {display:block; background:#ffffff; font-size:1px;}
    .rnd_b1, .rnd_b2, .rnd_b3, .rnd_b4 {display:block; overflow:hidden;}
    .rnd_b1, .rnd_b2, .rnd_b3 {height:1px;}
    .rnd_b2, .rnd_b3, .rnd_b4 {background:#FFFFFF; border-left:1px solid #8A5C28; border-right:1px solid 8A5C28;}
    .rnd_b1 {margin:0 5px; background:8A5C28;}
    .rnd_b2 {margin:0 3px; border-width:0 2px;}
    .rnd_b3 {margin:0 2px;}
    .rnd_b4 {height:2px; margin:0 1px;}
    
    .rnd_content {
    display:block;
    border:0 solid #8A5C28;
    border-width:0 1px;
    padding: 4px;
    background:#FFFFFF;
    color:#000000;
}
/* Various classes */
.post {margin:0 0 15px;}
.textright {text-align:right;}
.textcenter {text-align:center;}
.hide {display:none;}
DIV.adblock {color:#333; text-decoration:none;}
DIV.adblock a {color:#6F3C1B; font-weight:bold; text-decoration:underline;}
pre {
	font-size: 12px;
	padding: 0;
	margin: 0;
	border-left: 0px solid #ccc;
	border-bottom: 0px solid #ccc;
	line-height: 20px; /*--Height of each line of code--*/
	width: 600px;
	overflow: auto; /*--If the Code exceeds the width, a scrolling is available--*/
	overflow-Y: hidden;  /*--Hides vertical scroll created by IE--*/
        white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */ /*
	width: 99%; */
	word-wrap: break-word; /* Internet Explorer 5.5+ */

}
pre code {
	margin: 0 0 10px 0;  /*--Left Margin--*/
	padding: 0 0 20px 0;
	display: block;
}

/* WP image align classes */
.aligncenter {display:block; margin-left:auto; margin-right:auto;}
.alignleft {float:left;}
.alignright {float:right;}
.wp-caption {border:1px solid #ddd;	text-align:center; background-color:#f3f3f3; padding-top:4px; margin:10px; border-radius:3px;}
.wp-caption img {margin:0; padding:0; border:0 none;}
.wp-caption-dd {font-size: 11px; line-height: 17px; padding:0 4px 5px; margin:0;}

.widget-jp-advancedrss {font-size: 75%;}
