/*
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:#000 url(background.gif) top center repeat-y; color:#404040; font:9pt Verdana,Tahoma,Arial,sans-serif; line-height:1.3em; padding:0px 0;}
*{margin:0; padding:0;}

/* Main wrap */
#wrap {color:#404040; 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 00px 35px;}
#toplinks {padding:5px 2px 2px 3px; text-align:right;}

/* Headers */
h1 {color:#cc0000; font-size:2.2em; line-height:.8em; letter-spacing:-2px; margin:10px 0 0px 25px;}
h1 a {color:#cc0000;}
h1 a:hover {text-decoration:none;}
h2, table#wp-calendar caption {border-bottom:4px solid #dadada; text-align:left; font-weight:bold; color:#cc0000; font-size:1.2em; letter-spacing:-1px; margin:0 0 8px; padding:0 2px 4px 0px;}
h3 {border-bottom:1px solid #dadada; color:#cc0000; font-size:1.2em; font-weight:bold; margin:10px 0 8px; padding:1px 2px 2px 3px;}
h4 {color:#cc0000; font-size:1.2em; font-weight:bold; margin:10px 0 8px; padding:1px 2px 2px 0px;}


/* HEADER */
#header { float: left; width: 970px; height: 240px; background: #ffffff; padding: 0; margin: 0 20pt 0 -15pt; }
#header h1 { padding: 0; margin: 20px 0 0 30px; font-family: Georgia, Times New Roman, Sans-serif; font-size: 3.5em; line-height: 24px; text-align: left; }
#header h1 a { text-decoration: none; color: #ddd7c0; }
#header h1 a:hover { text-decoration: none; color: #cc9933; }
#header .description { margin: 0 0 0 60px; padding: 0; font-size: 1.5em; font-weight: normal; font-family: Georgia; color: #ddd7c0; text-align: left; text-transform: lowercase; }



/* Sidebar */
#sidebar {float:left; margin:0 0 5px; padding:0; width:180px;}
#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;}

/* Sidebar right */
#sidebar_right {float:right; margin:0 0 5px; padding:0; width:180px;}
#sidebar_right p,#sidebar ul,#sidebar .textwidget {margin:0 0 15px 10px;}
#sidebar_right li {list-style:none; margin:0 0 6px;}
#sidebar_right li a {font-size:1.2em; font-weight:bold; padding:2px;}
#sidebar_right ul ul {margin:5px 0 5px 10px;}
#sidebar_right ul ul li {margin:0 0 5px;}
#sidebar_right ul ul li a {font-weight:normal;}

/* Content */
#content {float:left; line-height:1.5em; margin:-2px 30px 10px; text-align:left; width:550px;}
#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 0px;}
#content p.timestamp {font-size:1.2em; margin:-5px 0 15px 10px;}
#content p.timestamp a {font-weight:normal;}
#content p.postmeta {text-align:right; border-top:2px solid #dadada; line-height:1.8em;}
#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 15px 10px;}

/* Footer */
#footer {border-top:4px solid #dadada; clear:both; color:#808080; 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: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:130px;}
#respond textarea#comment {width:300px;}
#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: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;}
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 {color:#cc0000; font-weight:normal; 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:150px; border:1px solid #ccc;}

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

/* 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;}


/* menu main */

#menu_main a {
	text-decoration: none;
	font-weight: bold;
	color: #393939;
	font-size: 12px;
	display: block;
	padding-top: 5px;
	padding-bottom: 4px;
}

#menu_main div {

}

.menu1-level1-no, .menu1-level1-ifsub, .menu1-level1-cur, .menu1-level1-act, .menu1-level1-actifsub, .menu1-level1-curifsub {
	width: 200px;
	background: url("images/dotted_menu_cur.gif") repeat-x bottom;
}

.menu1-level1-no a, .menu1-level1-ifsub a {
	padding-left: 8px;
}

.menu1-level1-cur a, .menu1-level2-cur a {
	padding-left: 8px;
	font-weight: bold;
	color: #fd1812 !important;
}



.menu1-level1-cur, .menu1-level1-act a, .menu1-level1-actifsub {
	background-color: #ffffff;
}

.menu1-level1-no a:hover, .menu1-level1-ifsub a:hover {
  background-color: #ffffff;
  color:#5a6d14;
}

* html .menu1-level1-no a:hover,
* html .menu1-level1-ifsub a:hover {
  background: #ffffff url("images/dotted_menu_no.gif") repeat-x bottom;
  color:#5a6d14;
}

* html .menu1-level1-cur, .menu1-level1-curifsub {
	background: #ffffff url("images/dotted_menu_cur.gif") repeat-x bottom;
	border-bottom: none;
}



.menu1-level2-no a, .menu1-level2-act a, .menu1-level2-cur a, .menu1-level2-curifsub a {
	padding-left: 16px;
	background: #ffffff url("images/dotted_menu_cursub.gif") repeat-x bottom;
}

.menu1-level1-no a:hover, .menu1-level2-no a:hover {
	background-color: #DCDCDC;
}

.menu1-level2-no a {
	color:#666666 !important;
	font-weight: normal;
}

.menu1-level2-cur a {
	background-color: #ffffff;
	  color:#5a6d14; !important;
	font-weight: bold;
}


.menu1-level2-no a:hover {
  color:#5a6d14;
  background-color: #dcdcdc;
}



.table1 { font-size: 9pt; margin-top: 15pt }
.td1 { color: #000; font-size: 9pt; background-color: #dcdcdc; padding:1px 2px 2px 3px; }
.td1center { color: #000; font-size: 9pt; background-color: #dcdcdc; padding:1px 2px 2px 3px; }
.td1right { color: #000; font-size: 9pt; background-color: #dcdcdc; padding:1px 2px 2px 3px; }
.td2 { color: #000000; font-size: 9pt; background-color: #f5f5f5; padding:1px 2px 2px 3px; }
.td2center { color: #000000; font-size: 9pt; background-color: #f5f5f5; padding:1px 2px 2px 3px; }
.td2right { color: #000000; font-size: 9pt; background-color: #f5f5f5; text-align: right; padding:1px 2px 2px 3px; }
.th1 { color: white; font-size: 9pt; background-color: #cc0000; padding:1px 2px 2px 3px; }
.th1 a:link { color: white; padding:1px 2px 2px 3px; }
.th1 a:visited { color: white; padding:1px 2px 2px 3px; }
.th1 a:hover { color: white; padding:1px 2px 2px 3px; }
.th2 { color: black; font-size: 9pt; background-color: #c0c0c0; padding:1px 2px 2px 3px; }