/*   
Theme Name: Open Sourcerer
Theme URI: http://www.theopensourcerer.com
Description: A Wordpress Theme inspired by the colour scheme of Ubuntu Jaunty 9.04 and the Dark Smoke Theme. Features: Two column layout, widget aware, variable width between 800-1200px. 
Author: Alan Lord
Author URI: http://www.theopenlearningcentre.com
Version: 1.4
Tags: dark, brown, two-columns, flexible-width, threaded-comments
License: GPLv3 or Later. (c) 2009 Alan Lord
*/


/* Begin Global Resets */
* {
    margin:0;
    padding:0;
}
#ggl-post468hom {
  text-align: center;
                width: 758px;
                height: 60px;
                background-color:#1E1816;
}
#ggl-post468top {
  text-align: center;
                width: 468px;
                height: 60px;
}
#ggl-post468bot {
  text-align: center;
                width: 468px;
                height: 60px;
}
#ggl-post {
                float: right;
                width: 160px;
                height: 600px;
                border-left: 0px solid #09727C;
                margin-left: 10px;
}
#ggl-250 {
                float: right;
                width: 250px;
                height: 250px;
                border-left: 0px solid #09727C;
                margin-left: 10px;
}
#ggl-300 {
                float: right;
                width: 300px;
                height: 300px;
                border-left: 0px solid #09727C;
                margin-left: 10px;
}
body {
    background-color:#0F0C0B;
    color:#DCDAD5;
    font-size:76%;
    font-family:"Liberation Sans", Arial, Helvetica, sans-serif;
    line-height:1.3em;
    text-align:center; /* IE6 Center hack */
}

table {
    border-collapse:collapse;
    empty-cells:hide;
}

h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address {
    margin: 0.5em 0;
}

ul, ol, dd {
    margin-left:1em;
}

a {
    text-decoration:none;
    color:#DCDAD5;    
}

a:hover {
    color:#FFF;
}

a img {
    border:0;
}
/* End Global resets */

/* Following needed for Wordpress Theme Directory Compliance. */
/* And to support image and other WP generated content positioning - obviously */
.alignright {
	float:right;
}

.alignleft {
	float:left;
}

.aligncenter, div.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
}

.article, .archive {
    background-color:#1E1816;
    border:1px solid #302724;
    font-size:1.2em;
    line-height:1.3em;
    margin-bottom:1.5em;
    margin-right: 245px;
}

.article p, .archive p {
    margin-bottom:1em;
}

.article h2, .archive h2.entry-title {
    padding:0.5em 0 1em 0;
    border-bottom:solid 1px #D7C1A6;
    text-align: center;
color: #D7C1A6;
    font-size:1.8em;
    font-weight:200;
    line-height:1.3em;
}

/* Some extra space for the "Next Page >>" link at the bottom */

#content>p>a {
    font-size:1.3em;
}

.article p a, .article li a, .postmeta a {
    color:#D7C1A6;
    text-decoration:underline;
}

.article p a:hover {
    color:#FFF;
}

/* The Article's meta data */
.article div.postmeta, small {
    font-size:0.9em;
}

.article .postmeta {
    color:#d40000;
    margin-bottom:0.5em;
    padding-top:2em;
}

.article blockquote {
    margin:0 1em 0 2em;
    padding:1em 1em 1em 1em;
    font-style:italic;
    background-color:#241D1A;
    border:solid 1px #302724;
}

code {
    color:#D7C1A6;
    font-family:"Liberation Mono", Courier, Mono;
    font-size:1.0em;
}

pre {
    font-size:1.3em;
    white-space:normal;
}

/* Form Styling */

/* Style input boxes and buttons */ 
input, textarea, select {
    background-color:#DCDAD5;
    border-color:#D7C1A6;
    border-width:2px;
    color:#1E1816;
}

fieldset {
    padding:0.5em;
    border-color:#D7C1A6;
    border-width:2px;
}

#footer img {
    border:0;
}

/* Remove the dotted highlight when clicked */ 
#footer a:focus {
    outline:none;
}

#ft_left, #ft_centre, #ft_right {
    position:absolute;
    bottom:0.5em;
}

#ft_left {
    left:0.5em;
    text-align:left;
}

#ft_centre {
    left:40%;
    text-align:center;
}

#ft_right {
    right:0.5em;
    text-align:right;
}

#header {
    width:100%;
    height:92px;
    margin-bottom:1em;
    background:#0F0C0B;
    text-align:left;
    border:1px solid #302724;
}

#header h1 {
    margin:18px 18px 0 0;
}

#header p.description {
    font-size:1.2em;
    margin:1em 18px 0 0;
}

#header h1 a {
    font-weight:200;
    font-size:1.5em;
}

/* Common padding inside containing divs. Do NOT add any height, borders or */
/* width to this element; it will almost certainly break IE6 */
.inside {
    padding:0.5em 1.5em;
}

#wrap {
    min-width:800px;
    max-width:1200px;
    width: auto !important; /*IE6 hack*/
    width:1200px; /*IE6 hack*/
    margin:0 auto; /*center hack*/
    text-align:left; /*center hack*/
    padding-top:1em; /*Space above wrap*/
}

#content {
    float:left;
    margin-right:-215px;
    width:100%;
    margin-bottom:2em;
    overflow:hidden;
}

#sidebar {
    float:right;
    width:215px;
    font-size:1.1em;
    overflow:hidden;
    margin-bottom:2em;
}

#footer {
    height:50px;
    clear:both;
    background-color:#1E1816;
    border:1px solid #302724;
    margin-bottom:1em;
    width:100%;
    position:relative;
}

#menu {
    width:100%;
    background-color:#DCDAD5;
    overflow:hidden;
    position:relative;
    margin-bottom:1em;
    border:solid 1px #302724;
    clear:both;
}

#menu ul {
    clear:left;
    float:left;
    white-space:nowrap;
    list-style:none;
    position:relative;
    left:0;
    margin:0;
    padding:0;
}

#menu ul li{
    display:block;
    float:left;
    list-style:none;
    position:relative;
    left:0;
    margin:0;
    padding:0;    
}

#menu li a {
    display:block;
    padding:0.5em 1em 0.5em 0.5em;
    margin:0;
    float:left;
    font-weight:bold;
    font-size:1.2em;
    color:#0F0C0B;
}

#menu li a:hover {
    background-color:#0F0C0B;
    color:#DCDAD5;
}

#menu li ul {
    position:relative;
    left:0.5em;
}

#menu li ul li {
    font-size:95%;
}

/* Common Widget Styling */
.widget {
    width:100%;
    background-color:#1E1816;
    margin:0 0 0.5em 0;
    border:1px solid #302724;
}

.widget .inside {
    padding:0.5em;
}

.widget ul {
    list-style:none;
}

.widget ul li {
    margin-bottom:0.5em;
}

/* If you want to clear a float (after an image perhaps) use this class */
.clear {
    clear:both;
/* Navigation Elements */
.navigation {
    font-size:0.9em;
    margin:0.5em 0.5em 1em 0.5em;
}

.comments .navigation {
    margin:0.5em 0 3.5em 0;
}
/* End Navigation Elements */

/* Begin Images */
p img {
    position:relative; /* IE6 Hack */
    padding: 0;
    max-width: 100%;
}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.wp-caption {
   border: 1px solid #DCDAD5;
   text-align: center;
   background-color: #DCDAD5;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   /* This breaks CSS 2.1 validation */ 
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding:3px 0 5px 0;
   margin: 0;
   color:#0F0C0B;
}
/* End Images */

/* Comments */
h3#comments {
    font-weight:normal;
    margin-top:1em;
}

.commentmetadata {
	font-weight: normal;
	padding-bottom:0.5em;
}

ul.commentlist {
    list-style:none;
    margin-left:2em;
}

ul.commentlist li {
    background-color:#241D1A;
    padding:0.5em;
    border:solid 1px #302724;
    margin-bottom:0.5em;
	font-weight: bold;
}

.commentlist li, #commentform input, #commentform textarea {
	font-size: 0.9em;
}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #DCDAD5;
	position:relative; /*IE6 Hack */
}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#commentform textarea {
	width:95%;
	height: 100px;
	padding: 5px;
	font-size:1.2em;
	overflow:auto; /* IE6 & 7 Need this */
}
/* End Comments */

/* Begin Wordpress Widgets */

/* Search Widget */
#searchform {
    padding:0;
    margin:0;
}

#searchform #s {
    width:125px;
}
/* End Search Widget */

/* Calendar Widget */
table#wp-calendar {
    margin:0 auto;
}

#wp-calendar caption {
    font-weight:bold;
    margin-bottom:0.5em;
}

#wp-calendar tbody, #wp-calendar thead {
    border:solid 1px #302724;
}    

#wp-calendar th, #wp-calendar td {
    padding:3px 4px;
    text-align:center;
}

#wp-calendar td a {
    padding:3px 4px;
    display:block;
    background:#DCDAD5;
    color:#1E1816;
    font-weight:bold;
}

#wp-calendar td a:hover {
    background:#1E1816;
    color:#DCDAD5;
}

#wp-calendar td#next a, #wp-calendar td#prev a {
    color:#DCDAD5;
    background:#1E1816;
}

#wp-calendar td#next a:hover, #wp-calendar td#prev a:hover {
    color:#FFF;
}

/* End Calendar Widget */

/* Tag Cloud */
#tag_cloud a {
    color:#D40000;
    margin:2px 3px;
}

#tag_cloud a:hover {
    color:#DCDAD5;
}
/* End Tag Cloud */

