/*
Theme Name: Djangodose v1
Theme URI: http://djangodose.com
Description: The official theme for djangodose
Version: 1.0
Author: Greg Newman
Author URI: http://20seven.org
Tags: 
*/



/* -------------------------------------------------------------- 

	DEFINITIONS:	Styles
	VERSION:		30.06.2009
	
	CONTENTS:
	
	1               Global Reset
	2				Global reset-Reset
	3				Handles
	4				Basics
	5				Structure
    6               Typography
    7               Header
    8               Featured block
    9               Content-item
    10              Disqus
    11              Footer


-------------------------------------------------------------- */

/* 1	Global reset (based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui) */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, 
h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td {
	margin: 0;
	padding: 0
}
table {
	border-collapse: collapse;
	border-spacing: 0
}
fieldset, img {
	border: 0
}
address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
	font-weight: normal
}
ol, ul, li {
	list-style: none
}
caption, th {
	text-align: left
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal
}
q:before, q:after {
	content: ''
}
a {
	text-decoration: none
}

/* 2	Global reset-RESET (restores some sensible defaults) */
strong {
	font-weight: bold
}
em {
	font-style: italic
}
a img {
	border: none
}
/* Gets rid of IE's blue borders */
a:active {
	outline: none
}

/* 3	Handles */
div, ul, li, form {
	position: relative
}
.fix:after {
	content: " ";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both
}
* html .fix {
	height: 1%
}
.hide {
	display: none
}
/* Handy for development */
br.clear {
	clear: both;
	display: block;
	height: 1px;
	margin: -1px 0 0 0
}
.clear {
	min-height: 1%;
}
.clear:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* 4     Basics */
@font-face {
	font-family: GraublauWeb;
	src: url(../fonts/GraublauWeb.otf);
}
@font-face {
	font-family: GraublauWebBold;
	src: url(../fonts/GraublauWebBold.otf); font-weight:bold;
}
html {
	background: #092e20;
}
body {
	font: 12px/20px 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
	color: #000
}
pre {
	padding: 10px;
	font-family: "Monaco", "Lucida Console", "Andale Mono", monospace;
	font-size: 1.2em;
}

/* 5     Structure */
#header {
	background: #fff;
	height: 125px;
	border-bottom: 3px solid #67804d;
}
#featured {
	background: #89b03d url(../images/feature_bg.png);
	min-height: 100px;
	border-bottom: 12px solid #67804d;
	padding: 10px 0;
}
#featured .meta a {
    color: #fff;
}
#container {
	background: #e7e7e7;
	padding: 10px;
    min-height: 240px;
}
#footer {
	padding: 10px 0;
	color: #fff;
	border-top: 3px solid #67804d;
}
.wrapper {
	width: 950px;
	margin: 0 auto;
}

/* 6     Typography */
h2 {
	font: 30px/40px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
	font-weight: bold;
	margin: 10px 0;
}
h3, h1 {
	font: 19px/25px GraublauWebBold, Helvetica, Arial, Verdana, sans-serif;
	margin: 10px 0;
}
h4 {
	font-weight: bold;
	letter-spacing: 1px;
	margin: 20px 0 10px 0;
}
h2.home {
	font: 25px/30px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
	margin: 10px 0;
	font-weight: bold;
	color: #67804d !important;
    padding-bottom: 3px;
}
h2.home small {
    float: right;
    font-size: 0.7em;
    margin-right: 10px;
}
h2.badge {
	font: 21px/26px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
	margin: 10px 0;
	font-weight: bold;
	color: #fff !important;
	margin: 10px 0 3px 0 !important;
}
h2.badge a {
    color: #fff;
}
h3.home {
	font: 14px/20px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
	margin: 10px 0;
	font-weight: bold;
	margin: 0;
}
h3.callcast {
	background: url(../images/callcast_icon.png) no-repeat;
	padding-left: 20px;
    margin-bottom: 5px;
    font-weight: bold;
}
h3.screencast {
	background: url(../images/screecast_icon.png) no-repeat;
	padding-left: 20px;
    margin-bottom: 5px;
    font-weight: bold !important
;
}
h3.article {
	background: url(../images/article_icon.png) no-repeat;
	padding-left: 20px;
    margin-bottom: 5px;
}
h3.callcast a, h3.screencast a, h3.article a {
	color: #000;
    font-weight: bold;
}
p, cite {
	margin: 20px 0
}
blockquote p {
	padding: 0 60px;
	color: #b4d590
}
blockquote cite {
	font: 12px/20px 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
	color: #b4d590;
	padding: 0 0 0 60px
}
input {
	margin: 0
}
a {
	color: #67804d
}
a:hover {
	color: #092e20;
	border-bottom: 2px solid #b4d590
}
a:focus {
	outline: none
}
abbr {
	border: none;
	outline: none
}

/* 7     Header */
.logo {
	width: 337px;
	float: left;
	z-index: 999;
    margin-left: -20px;
}
.logo a:hover {
	border: 0 transparent !important;
	text-decoration: none !important;
}
.nav {
	width: 600px;
	float: left;
	margin-top: 50px;
	text-align: right;
	z-index: 999;
}
.nav ul {
}
.nav ul li {
	display: inline;
	margin: 5px;
	font: 19px/25px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
}
.nav ul li a {
	padding-bottom: 5px;
}
.nav ul li a:hover {
	border-bottom: 6px solid #67804d;
}
.nav ul li.active a {
	border-bottom: 6px solid #b4d590;
}

/* 8     Featured block */
#featured .wrapper h2 a, #featured .wrapper p {
	color: #fff;
}
#featured .wrapper h2 {
	text-shadow: 1px 1px 1px #000;
}
#featured p {
	margin-left: 200px;
}
#featured .meta {
	width: 150px;
	float: left;
	color: #fff;
	margin: 10px 0;
}
#featured .meta span {
	font: 19px/25px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
	margin: 10px 0
}

/* 9     Content-Item */
div.content-item {
    clear: both;
}

.content-item .meta {
    position: relative;
	color: #000;
	width: 150px;
	float: left;
}
.content-item .meta span {
	font: 16px/22px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
	margin: 10px 0;
}
.content-item .body {
	margin-left: 200px;
}
.content-item li {
    list-style: disc;
    margin-left: 20px;
}
#row-1, #row-2 {
	margin: 10px 0 20px 0;
    display: block;
}
#row-1 .col-1 {
	width: 400px;
	float: left;
	z-index: 999;
}
#row-2 .col-1, #row-2 .col-2, #row-2 .col-3 {
	width: 295px;
	margin-right: 20px;
	float: left;
	z-index: 999;
}
.bookmarks {
    padding-top: 5px;
}
.bookmarks h2 {
    padding-left: 20px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}
.bookmark-item {
	background: #DDD;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	width: 275px;
    min-height: 230px;
	margin-left: 15px;
    margin-bottom: 20px;
	float: left;
	z-index: 999;
    padding: 0 10px;
}
.bookmark-item h3 {
    margin-bottom: 0;
}
.bookmark-item p {
    margin-top: 5px;
}
.ep-1, .ep-2 {
	background: url(../images/episode_badge_bg.png) no-repeat;
	width: 213px;
	height: 225px;
	float: left;
	margin-top: -50px;
	padding: 0 15px;
}
.ep-1 a, .ep-2 a {
    color: #000;
    z-index: 999;
}
#row-1 p, #row-2 p, #row-1 span, #row-2 span {
	margin: 0 0 10px 20px;
}
.ep-1 {
	margin-left: 35px;
	z-index: 999;
}
.ep-1 span, .ep-2 span {
	padding: 0;
	margin: 0 !important;
	line-height: 12px;
	color: #b4b4b4;
	font-size: .8em;
}
.ep-1 p, .ep-2 p {
	margin: 25px 0 10px 0 !important;
	position: relative;
	z-index: 999;
}
.download-badge {
	background: url(../images/download_badge.png) no-repeat;
	padding: 4px 0 0 30px;
	height: 25px;
	position: absolute;
	bottom: 20px;
	left: 20px;
	width: 174px;
    z-index:999;
}
.download-meta {
	background: url(../images/download_badge.png) no-repeat;
	padding: 4px 0 0 30px;
	height: 25px;
	width: 150px;
    border: 1px solid #67804D;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    margin-top: 10px;
    z-index:999;
}
h2.dark-title {
    background: #B4D590;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    font-size: 18px;
    padding: 2px 10px;
    line-height: 26px;
}
h2.dark-title a {
    color: #0E281B;
    padding: 0;
    margin: 0;
}
h2.dark-title img {
    padding-right: 10px;
}
h3 span {
    font-size: 0.7em;
    margin-left: 15px;
}
.teaser {
    margin: 0 20px 20px 20px;
}
.teaser h3 {
    margin-bottom: 0;
    padding-bottom: 0;
}
.meta .feed {
    position: absolute;
    left: 140px;
    width: 48px;
    float: right;
}
.content-item .author {
    padding: 10px;
    background-color: #f0f0f0;
    border: 2px solid #b4d590;
}
.content-item .author img {
    display: block;
    width: 62px;
    height: 62px;
    float: left;
}
.content-item .author .bio {
    float: right;
    width: 850px;
    margin: 0;
    padding: 5px 0 5px 0;
    z-index: 999;
}

.content-item .author .bio p {
    margin: 0;
    padding: 0;
}

/* 10    Disqus */
.disqus-block {
    margin-top: 20px;
    border-top: 1px dashed #67804D;
}
.dsq-comment, .dsq-reactions {
	padding: 10px !important;
	font: 12px/20px 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif !important;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.dsq-comment-body {
	margin: 5px 10px 5px 25px !important;
}
.dsq-even {
	background: #d9d9d9 !important;
}
.dsq-h3-commentcount, .dsq-h3-reactions {
	border-bottom: 1px solid #000;
}

/* 11    Footer */
#footer a:hover {
	color: #fff;
}
.team {
	width: 200px;
	float: left;
	z-index: 999;
}
.team a:hover {
    border-bottom: 0 transparent
}
.team img:hover {
    border: 2px solid #b4d590
}
.team img {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border: 2px solid #67804d;
	margin: 0 15px 10px 0;
}
.about {
	width: 320px;
	float: left;
	margin: 0 60px 40px 0;
	z-index: 999;
}
.qlinks {
	width: 150px;
	float: left;
	margin-right: 40px;
	z-index: 999;
}
.feeds {
	width: 150px;
	float: left;
    z-index: 999;
}
.hosting {
    text-align: center;
    margin-top: -10px;
}
.hosting a:hover {
    border-bottom: 0 transparent;
}
div.hosting ul li {
    display: inline;
}
li.hostedby {
    z-index: 999;
    padding: 0;
    margin: 0;
}
li.hostedby img {
    border: 0 transparent !important;
    margin: 0 !important;
}
/* 12    Lifestream */
#row-3 {
	background: #DDD;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 10px 20px;
	margin-bottom: 20px;
}
#row-3 h2 {
    background: #67804D;
    color: #fff !important;
    padding-left: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-top: 1px solid #B4D590;
}
.twitter, .delicious, .friendfeed, .django, .github {
	padding-left: 25px;
    margin-left: 10px;
}
.new_item {
    display: none;
}
.twitter {
	background: url(../images/twitter.png) no-repeat;
}
.delicious {
	background: url(../images/delicious.png) no-repeat;
}
.friendfeed {
	background: url(../images/friendfeed.png) no-repeat;
}
.github {
	background: url(../images/github.png) no-repeat;
}
.django {
	background: url(../images/django.png) no-repeat;
}
.line {
    margin: 10px;
}
.line img {
    float: left;
    margin-right: 5px;
}
.line > div {
    float: left;
}
#djangocon {
	font: 22px/28px GraublauWeb, Helvetica, Arial, Verdana, sans-serif;
    text-align: center;
    padding: 10px;
    color: white;
    font-weight: bold;
}
#djangocon a {
    color: white;
    padding: 1px 10px;
}
#djangocon a:hover {
    background: #B4D590;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    color: #092E20;
}
.timeago {
    font-weight: bold;
}

/*    FORMS */
form {
    margin: 20px auto;
    width: 500px;
}
label {
    width: 150px;
    float: left;
}
form li {
    margin: 5px 0;
}
input,
textarea,
select {
    border: 1px solid #B4D590;
    width: 300px;
}
input,
textarea {
    padding: 3px 5px;
}
.button {
    background: #0E281B;
    border: 1px dolid #B4D590;
    color: #fff;
    padding: 3px 5px;
    cursor: pointer;
    width: 100px;
    margin-right: 50px;
}
.button:hover {
    background: #B4D590;
}
li.sb {
    text-align: right;
}
.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

.red {
    color: red;
}
