/*
Theme Name: Codehead 2.1
Theme URI: http://javier.rodriguez.org.mx/wordpress/themes/
Description: Javier Arturo Rodriguez default theme, based on Blue-Fade
Version: 1.1
Author: Javier Arturo Rodriguez
Author URI: http://javier.rodriguez.org.mx/
*/
/* 
	Blue-Fade Theme 
	Modified 2004-01-20 by Alex King (http://www.alexking.org/)
	Modified 2004-06-01 by Javier Rodriguez (http://javier.rodriguez.org.mx)
	$Revision: 1.2 $

	based on:
	Default WordPress by Dave Shea || http://mezzoblue.com
	Modifications by Matthew Mullenweg || http://photomatt.net
	This is just a basic layout, with only the bare minimum defined.
	Please tweak this and make it your own. :)
*/

html {
	margin: 0;
	padding: 0;
}

a {
	color: #036;
}

a img {
	border: none;
}

a:visited {
	color: #369;
}

a:hover {
	color: #69c;
}

acronym, abbr {
	border-bottom: 1px dashed #333;
}

acronym, abbr, span.caps {
	cursor: help;
	font-size: 90%;
}

blockquote {
	border-left: 5px solid #ccc;
	margin-left: 1.5em;
	padding-left: 5px;
}

body {
	background: #fff url(img/content-background.gif) repeat-x;
	font-family: Verdana, Geneva, sans-serif;
	margin: 0;
	padding: 0;
	color: black;
}

cite {
	font-size: 90%;
	font-style: normal;
}

h2 {
	border-bottom: 1px dotted #ccc;
	font: Arial, Helvetica, sans-serif;
	margin: 15px 0 2px 0;
	padding-bottom: 2px;
	clear: both;
}

h3 {
	border-bottom: dotted 1px #eee;
	font-family: Arial, Helvetica, sans-serif;
	margin-top: 0;
	clear: both;
}

ol#comments li p {
	font-size: 100%;
}

p, li, .feedback {
	font: 90%/125% Verdana, Geneva, sans-serif;
}

.credit {
	clear: both;
	background: #369;
	border-top: solid 1px #9cf;
	color: #fff;
	font-size: 11px;
	margin: 1px 0 0 0;
	padding: 1px;
	text-align: center;
}

.credit a:link, .credit a:hover, .credit a:visited {
	color: #fff;
}

.feedback {
	color: #ccc;
	text-align: right;
}

.meta {
	font-size: .75em;
}

.meta, .meta a {
	color: #808080;
	font-weight: normal;
}
.meta ul {
	display: inline;
	margin: 0;
	padding: 0;
	list-style: none;
}

.meta li {
	display: inline;
}

.storytitle {
	margin: 0;
}

.storytitle a {
	text-decoration: none;
}

#commentform input, #commentform textarea {
	background: #fff;
	border: 1px solid #999;
}

#commentform textarea {
	width: 100%;
}

#content {
	margin: 30px 13em 0 3em;
	padding-right: 60px;
}

#header {
	background: #036 url(img/header-background.gif) repeat-x;
	border-bottom: 1px solid #69c;
	font: italic normal 230% 'Times New Roman', Times, serif;
	margin: 0;
	padding: 15px 10px 15px 30px;
}

#header a {
	color: #fff;
	text-decoration: none;
}

#header a:hover {
	text-decoration: underline;
}

#sidebar {
	background: #e8e8e8 url(img/menu-background.gif) repeat-x;
	border-left: 1px solid #9cf;
	border-bottom: 1px solid #9cf;
	padding: 15px 0 15px 15px;
	position: absolute;
	right: 0;
	top: 0;
	width: 11em;
}

#sidebar form {
	margin: 0;
}

#sidebar input {
	background: #fff;
	border: 1px solid #999;
	width: 80%;
}

#sidebar ul {
	color: #369;
	font-weight: bold;
	list-style-type: none;
	margin: 0;
	padding-left: 3px;
}

#sidebar ul li {
	font: italic normal 100% 'Times New Roman', Times, serif;
	margin-top: 10px;
	padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
}

#sidebar ul ul {
	list-style-type: none;
	font-variant: normal;
	font-weight: normal;
	line-height: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}

#sidebar ul ul li {
	border: 0;
	font: normal 70% Verdana, sans-serif;
	margin-top: 0;
	padding: 0 0 1px 12px;
}

#sidebar ul ul li a {
	color: #036;
	text-decoration: none;
}

#sidebar ul ul li a:hover {
	border-bottom: 1px solid #69c;
}

#sidebar h2 {
	font: 80% Arial, Helvetica, sans-serif;
}
#sidebar h3 {
	font: 75% Arial, Helvetica, sans-serif;
}


#styleswitcher li {
	margin-bottom: 5px;
}

#styleswitcher img {
	border: 1px solid #999;
}

#wp-calendar {
	background: #fff;
	border: 1px solid #ddd;
	empty-cells: show;
	font-size: 14px;
	margin: 0 0 0 -5px;
	width: 90%;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
	text-decoration: none;
}

#wp-calendar a:hover {
	background: #e8e8e8;
	color: #333;
}

#wp-calendar caption {
	color: #369;
	font-size: 14px;
	text-align: left;
}

#wp-calendar td {
	color: #999;
	font: normal 11px Verdana, Geneva, sans-serif;
	padding: 1px 1px;
	text-align: right;
}

#wp-calendar td.pad:hover {
	background: #fff;
}

#wp-calendar td:hover, #wp-calendar #today {
	background: #e8e8e8;
	color: #666;
}

#wp-calendar th {
	color: #69c;
	font-style: normal;
	text-transform: capitalize;
}
/********************************************************************************
 * CodeHighlight Classes
 *******************************************************************************/
.hl-surround {
/* strict css compliance
    -moz-border-radius: 5px; 
*/
    background-color: #F9FBFC;
    border: 1px solid #C3CED9;
    padding: 8px;
    margin-bottom: 5px;
/*  no overflow for now, thx
    width: 400px;
    overflow: auto; 
*/
    text-align: left;
}

.hl-surround, .hl-surround pre, .hl-surround span { font: normal 9pt 'Courier New', monospace;}

.hl-default     { color: Black; }
.hl-code        { color: Gray; }
.hl-brackets    { color: Olive; }
.hl-comment     { color: #ffa500; } /* Orange */
.hl-quotes      { color: #8b0000; } /* Dark red */
.hl-string      { color: Red; }
.hl-identifier  { color: Blue; }
.hl-builtin     { color: Teal; }
.hl-reserved    { color: Green; }
.hl-inlinedoc   { color: Blue; }
.hl-var         { color: #00008b; } /* Dark blue */
.hl-url         { color: Blue; }
.hl-special     { color: Navy; }
.hl-number      { color: Maroon; }
.hl-inlinetags  { color: Blue; }
.hl-main        { background-color: transparent; }

.hl-main pre { margin: 0; padding: 0; }

.alignright {
        float: right;
        }

.alignleft {
        float: left
        }
.navigation {
        display: block;
        margin-top: 2px;
        margin-bottom: 8px;
	font-size:0.8em;
}
.postmetadata ul, .postmetadata li {
        display: inline;
        list-style-type: none;
        list-style-image: none;
        }
/* Give some headroom to thumbnails in posts */
.post img, img .thumb {
	margin: 0 8px 4px 0;
}

/* Begin Form Elements */
#searchform {
        margin: 10px auto;
        padding: 5px 3px;
        text-align: center;
        }

#sidebar #searchform #s {
        width: 115px;
        padding: 2px;
        }

#sidebar #searchsubmit {
        width: 115px;
        padding: 1px;
	margin: 0;
        }

.entry form { /* This is mainly for password protected posts, makes them look be
tter. */
        text-align:center;
        }

select {
        width: 130px;
        }

#commentform input {
        width: 170px;
        padding: 2px;
        margin: 5px 5px 1px 0;
        }

#commentform textarea {
        width: 100%;
        padding: 2px;
        }

#commentform #submit {
        margin: 0;
        float: right;
        }
/* End Form Elements */

/* Begin Comments*/
.alt {
        background-color: #f8f8f8;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        margin: 0;
        padding: 10px;
        }

.commentlist {
        padding: 0;
        text-align: justify;
        }

.commentlist li {
        margin: 15px 0 3px;
        padding: 5px 10px 3px;
        list-style: none;
        }

.commentlist p {
        margin: 10px 5px 10px 0;
        }

#commentform p {
        margin: 5px 0;
        }

.nocomments {
        text-align: center;
        margin: 0;
        padding: 0;
        }

.commentmetadata {
        margin: 0;
        display: block;
        }
/* End Comments */

.widecolumn {
	padding: 0;
	margin: 0;
}

.simpletags {
	font-size: 0.8em;
	background: #fff url(/img/technorati_bg.png) no-repeat 0% 50%;
        margin: 0;
        padding: 2px 2px 10px 20px;
}

/* se-hilite */
.hilite { background-color: #ff0; }
.hilite1 { background-color: #ff0; }
.hilite2 { background-color: #f0f; }
.hilite3 { background-color: #0ff; }

/* codesnippet */
.codesnip { text-align:left; direction: ltr; }
.codesnip .de1, .php-brief .de2, .php .de1, .php .de2 {font-weight:normal; background:transparent;color:#000; }
.codesnip .kw1, .php .kw1 {color: #a1a100;}
.codesnip .kw2, .php .kw2 {color: #000; font-weight: bold;}
.codesnip .kw3, .php .kw3 {color: #000066;}
.codesnip .kw4, .php .kw4 {color: #f63333;}
.codesnip .co1, .codesnip .co2, .codesnip .coMULTI, .codesnip .co1, .codesnip .co2, .codesnip .coMULTI {color: #808080;}
.codesnip .es0, .php .es0 {color: #000033; font-weight: bold;}
.codesnip .br0, .php .br0 {color: #66cc66;}
.codesnip .st0, .php .st0 {color: #ff0000;}
.codesnip .nu0, .php .nu0 {color: #ff33ff;}
.codesnip .me0, .php .me0 {color: #006600;}


