/*
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:82% Verdana,Tahoma,Arial,sans-serif; line-height:1.3em; padding:20px 0;}
*{margin:0; padding:0;}

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

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

/* Sidebar */
#sidebar {float:left; margin:0 0 5px; padding:0; width:195px;}
#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; line-height:1.5em; margin:-2px 0 10px; text-align:left; width:750px;}
#content ul,#content ol {font-size:1.0em; 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:0.8em; 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.9em; line-height:1.4em; margin:0 auto; padding:8px 0; text-align:left; 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:700px;}
#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:1.1em; 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:#226E22; 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;}
.dated {color:#585858;font-size:0.9em;}
.hide {display:none;}
.sticky {color:#226E22; background-color: #E5F4C6; text-decoration:none;}

.border2 {border: 1px dotted #226E22; padding:3px;}
.border3 {border: 1px solid #cc0000; padding:3px;}

/* 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;
	color: #666666;
	display: block;
	padding-top: 6px;
	padding-bottom: 5px;
}

#menu_main div {

}

.menu1-level1-no, .menu1-level1-ifsub, .menu1-level1-cur, .menu1-level1-act, .menu1-level1-actifsub, .menu1-level1-curifsub {
	width: 176px;
	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-level1-curifsub a, .menu1-level1-act a, .menu1-level1-actifsub a {
	padding-left: 8px;
	font-weight: bold;
	color: #000000 !important;
}

.menu1-level1-curifsub a {
	background-color: #a0b4da;
	font-size: 11px;
	padding: 2px 0 2px 8px;
}

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

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

* html .menu1-level1-no a:hover,
* html .menu1-level1-ifsub a:hover {
  background: #DCDCDC url("../../../_images/dotted_menu_no.gif") repeat-x bottom;
}

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

* html .menu1-level1-actifsub {
	background: #a0b4da url("../../../_images/dotted_menu_no.gif") repeat-x bottom;
	border-bottom: none;
}

.menu1-level1-actifsub a {
	background-color: #DCDCDC;
	color:#666666 !important;
	font-weight: normal;
}

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

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

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

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


.menu1-level2-no a:hover {
  background-color: #A0B4DA;
}

