/* 
djangoproject.com by Wilson Miner (wilson@lawrence.com)
Copyright (c) 2005 Lawrence Journal-World. Please don't steal.
*/


/* SETUP */

body { margin:0; padding:0; background:#666666; color:white; }
body, th, td { font-size: 75%; line-height: 1.4em; font-family:Verdana,sans-serif; }
#container { position:relative; min-width:55em; max-width:100em; }

/* LINKS */

a {text-decoration: none;}
a img {border: none;}
a:link { color:#ff6600;} 
a:visited, a:active { color:#660000;} 
a:hover { color:#304070; }

#content a:link, #content a:visited , #content-main a:link, #content-main a:visited { color:#ab5603; text-decoration:underline; }
#content h2 a, #content h3 a { text-decoration:none !important; }
#content a:hover, #content-main a:hover { background-color:#bfcfff; color:#304070; text-decoration:none; }
#content-secondary a:link, #content-secondary a:visited { color:#ffc757; text-decoration:none; }
#content-secondary a:hover { color:#ffe761; background:none; }


/* HEADER */

#header { position:relative; height:5em; background:#660000; }
#header h1#logo { margin:0; width:111px; height:41px; position:absolute; bottom:10px; left:25px; }

/* NAV */

#nav-global { position:absolute; margin:0; bottom:0; right:0; font-family:"Trebuchet MS",sans-serif; white-space:nowrap; 12px }
#nav-global li { display:block; float:left; list-style-type:none; margin:0; padding:0; }
#nav-global a { display:block; float:left; padding:5em 16px 10px 16px; background:#660000; }

#nav-global a, #nav-global a:visited { color: #ff6600; }
#nav-global a:hover { color:white; background:#304070; }

#nav-cur a { color:white; background:#880011 /*405080*/  }

/* COLUMNS */

#columnwrap { background:#304070; padding-bottom:10px; }
#subwrap { background:#326342; width:73%; float:left; padding-bottom:10px; }
#content-main, #content { float:left; width:75%; background:#FFF8E5; color:black; padding-bottom:10px; }
/*#f5f5eb;*/
#content-main *, #content * { margin-left:22px; margin-right:24px; }
#content-main * *, #content * * { margin-left:0; margin-right:0; }
#content { width:100%; }
.sidebar { font-size:92%; }
.sidebar * { margin-left:14px; margin-right:14px; }
.sidebar * * { margin-left:0; margin-right:0; }
#content-extra { float:right; width:27%; }
#content-related { float:right; width:25%; }
#content-secondary { clear:both; background:#487858; margin-left:0; margin-right:0; margin-top:15px; margin-bottom:-10px; padding:10px 24px; color:white; }
.subcol-primary, .subcol-secondary { width:40%; float:left; padding-bottom:1.2em; }
.subcol-primary { margin-right:1%; }

/* CONTENT */

h1,h2,h3 { margin-top:.8em; font-family:Georgia,Tahoma,Verdana,Arial,Serif; font-weight:normal; }
/*h1,h2,h3 { margin-top:.8em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
h1,h2,h3 { margin-top:.8em; font-family:font-family:georgia,"lucida bright","times new roman",serif; font-weight:normal; }*/
h1 { font-size:218%; margin-top:.6em; margin-bottom:.6em; color:#304070; line-height:1.1em; }
h2 { font-size:150%; margin-top:1em; margin-bottom:.2em; line-height:1.15em; color:#304070; }
h3 { font-size:125%; font-weight:bold; margin-bottom:.2em; color:#304070 /*487858;*/ }
h4 { font-size:100%; font-weight:bold; margin-bottom:-3px; margin-top:1.2em; text-transform:uppercase; letter-spacing:1px; }
h4 pre, h4 tt, h4 .literal { text-transform:none; }
h5 { font-size:1em; font-weight:bold; margin-top:1.5em; margin-bottom:3px; }
p, ul, dl { margin-top:.6em; margin-bottom:.8em; }
hr { color:#ccc; background-color:#ccc; height:1px; border:0; }
p.date { color:#487858; margin-top:-.2em; }
p.more { margin-top:-.4em; }
.sidebar p.date { color:#90ba9e; }
#content-secondary h2, .sidebar h2 { color:white; }
#content-secondary h3, .sidebar h3 { color:#9aef3f; }
#content-secondary h2:first-child { margin-top:.6em; }
.sidebar h2:first-child { margin-top:.8em; }
#content-main h2, #content-main h3 { margin-top:1.2em; }
h2.deck { margin-top:-.5em !important; margin-bottom:.6em; color:#487858; }

/* LISTS */

ul { padding-left:2em; }
ol { padding-left:30px; }
ul li { list-style-type:square; margin-bottom:.4em; }
ul ul { padding-left:1.2em; }
ul ul ul { padding-left:1em; }
ul.linklist, ul.toc { padding-left:0; }
ul.toc ul { margin-left:.6em; }
ul.toc ul li { list-style-type:square; }
ul.toc ul ul li { list-style-type:disc; }
ul.linklist li, ul.toc li { list-style-type:none; }
dt { font-weight:bold; margin-top:.5em; font-size:1.1em; }
dd { margin-bottom:.8em; }

/* CODE BLOCKS */

.literal { white-space:nowrap; }
.literal, .literal-block { color:#234f32; }
.sidebar .literal { color:white; background:transparent; font-size:11px; }
pre, .literal-block { font-size:medium; background:#bfcfff; border:1px solid #304070; border-width:1px 0; margin: 1em 0; padding: .3em .4em; overflow: auto; }
dt .literal, table .literal { background:none; }
textarea.codedump { font-size:10px; color:#234f32; width:100%; background:#E0FFB8; border:1px solid #94da3a; border-width:1px 0; padding: .3em .4em; }

/* Blogs */

.entry {  background: white; border: thin solid gray; padding: 5px;  margin-top: 10px;
}

.entry h2.title { margin-top: 5px; margin-bottom: .05em; border-bottom: thin black solid; }
.entry h2.title + .byline { margin-bottom:  .5em;  }
.entry .author { color: gray; display:inline; }
.entry .time { color: gray; display:inline; }
.entry p {  text-indent: 2em; }

.entry .date { float: right; border: 1px solid black; padding: 0px; text-align: center; background: white; padding: 0px 10px; }
.entry .date .year, .entry .date .month { display: block; font-size: 75%; text-align: center; }
.entry .date .day { display: block; font-size: 110%; font-weight: bold; }
.entry .date * { text-align: center; margin:0px; padding 0px; }
.entry .commentline { text-align: right; }

/* FOOTER */

#footer { clear:both; color:#660000; padding:10px 20px; font-size:90%; text-align: center; vertical-align: top; }

/* COMMENTS */

.comment { margin:15px 0; }
div.comment p { margin-left:1em; }
#weblog div.comment p.date { margin-bottom:.2em; color:#94da3a; }

/* MISC */

.small { font-size:90%; }
h3 .small { font-size:80%; }
.quiet { font-weight:normal; }
.clear { clear:both; }
#content-main .quiet { color:#487858; }
#content-secondary .quiet { color:#90ba9e; }

/*  CLEARFIX KLUDGE */

#columnwrap:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

#columnwrap { display: inline-block; }

/* Hides from IE-mac \*/
* html #columnwrap { height: 1%; }
#columnwrap { display: block; }
/* End hide from IE-mac */

#subwrap:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
#subwrap { display: inline-block; }

td.cal_not_in_month { visibility: hidden; }
/*table.cal_month_calendar { border: 1px solid white;  }*/
table.cal_month_calendar tr td { border: 1px solid white; padding-left: 2px; padding-right: 2px; margin: 0px; text-align: center; font-size: 125%; }
/* Hides from IE-mac \*/
* html #subwrap { height: 1%; }
#subwrap { display: block; }
/* End hide from IE-mac */om IE-mac */

input.openid_login { 
    background: url(http://openid.net/login-bg.gif) no-repeat; 
    background-color: #fff; 
    background-position: 0 50%; 
    color: #000; 
    padding-left: 18px; 
}

.error, .errorlist {
	color: red;
}

table.form th {
	text-align: right;
	vertical-align: bottom;
}
