/*  
Theme Name: Proflexible
Theme URI: http://www.procata.com/blog/
Description: Custom Theme
Version: 1.3
Author: Jeff Moore
Author URI: http://www.procata.com/blog/
*/

/* @import url(/css/layout.css); */
/* ----------------------------------------------------------------------
Parameterized Layout Stylesheet 


based on
    http://www.webproducer.at/flexible-layout/

This style sheet is designed to be parameterized.  It can handle four different
layouts, set by using the proper class in the document:

    <div id="page" class="three-column-layout">

    three-column-layout 
    right-sidebar-layout
    left-sidebar-layout
    single-column-layout

Requires the following page structure:

    <div id="page" class="three-column-layout">
      <div id="header">
Header
      </div>
      <div id="columns">
        <div id="outer-column-wrapper">
          <div id="inner-column-wrapper">
            <div id="main-column">
              <div id="main-content">
Main content
              </div>
            </div>
            <div id="left-column">
              <div id="left-content">
Left Column
              </div>
            </div>
          </div>
          <div id="right-column">
            <div id="right-content">
Right Column
            </div>
          </div>
          <div id="em"></div>
        </div>
      </div>
      <div id="footer">
Footer
      </div>
    </div>

*/

/* ---------- Page Width ---------- */
body {
    /* 
    All our layout measurements are in em's, set a known base
    Required for Opera 6 and IE Win.
    */
    font-size: 87.5%;   /* 14/16 */
    line-height: 1.15;  /* 16/14 */
}

#page {
    max-width: 72em;
}

.three-column-layout {
    min-width: 54em;
}

.left-sidebar-layout, .right-sidebar-layout {
    min-width: 36em;
}

.single-column-layout {
    min-width: 18em;
}

/* ---------- Left Column Size ---------- */
#left-column {
    margin-left: -18em;
    width: 18em;
}

.left-sidebar-layout #columns, .three-column-layout #columns  {
    padding-left: 18em;
}

/* ---------- Right Column Size ---------- */
#right-column {
    margin-right: -18em;
    width: 18em;
}

.right-sidebar-layout #columns, .three-column-layout #columns  {
    padding-right: 18em;
}

/* ---------- The rest should work without modification ---------- */

body, html {
    margin: 0;
    padding: 0;
}

#page {
    margin: 0 auto;
}

#main-column {
    float: right;
    width: 100%;
    margin-right: -1px; /* For IE Mac? */
}

/* Support for Mozilla, but IE doesn't likes it. */
#main-column[id] {
    margin-left: -1px;
}

#left-column {
    float: left;

    /* Z indices needed for link clickability in IE Mac and Opera 6 */
    z-index: 10;
}

/* Support for Mozilla, but IE doesn't likes it. */
#left-column[id] {
    margin-right: 1px;
}

#right-column {
    float: right;

    /* Z indices needed for link clickability in IE Mac and Opera 6 */
    z-index: 11;
}

/* Support for Mozilla, but IE doesn't likes it. */
#right-column[id] {
    margin-left: 1px;
}

#left-column, #right-column {
    position: relative;
}

/* Try to prevent IE from over expanding its boxes */
#left-column, #right-column, #main-column {
    overflow: hidden;
}

#outer-column-wrapper {
    width: 100%;
}

#outer-column-wrapper[id] {
    /* Mozilla needs a non zero value, seems to be a bug. */
    padding-bottom: 0.1px; 
}

#inner-column-wrapper {
    float: left;
    width: 100%;
    position: relative;
    z-index: 0;
}

/* Support for Mozilla, but IE doesn't likes it. */
#inner-column-wrapper[id] {
    margin-right: -1px;
}

#em, #footer {
    clear: both;
}

/* @import url(/css/layout-detail.css); */
/* ---------- Context Free layout ---------- */

body {
    padding: 0 1em;
}

p {
    margin: 1em 0;
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    line-height: 1.15;
}

h1 {
    margin: .1em 0;
    font-size: 200%;
}

h2 {
    margin: .384em 0;
    font-size: 142.85%; /* 20/14 */
}

h3, h4 {
    margin: .50em 0;
    font-size: 128.57%; /* 18/14 */
}

h5, h6 {
    margin: .80em 0;
    font-size: 100%;
}

ul, ol {
    margin: 1em;
    padding: 0;
}

li {
    margin: 0 0 0 1em;
    padding: 0;
}

blockquote {
	margin: 1em 2em;
	padding: 0 1em;
	border-width: 1px;
}

/* ---------- Major Layout ---------- */

#page {
    border-right-width: 1px;
    border-left-width: 1px;
}

#main-content {
    padding-right: 2em;
    padding-left: 2em;

    margin-top: 2em;
    margin-bottom: 2em;
}

#right-content, #left-content {
    font-size: 85.75%;   /* 12/14 */

    margin-top: 2.332em;
    margin-bottom: 2.332em;

    padding-right: 1.166em;
    padding-left: 1.166em;
}

#header {
    padding: 1em;
    border-bottom-width: 1px;
}

#footer {
    padding: 2em;
    border-top-width: 1px;
}

/* ---------- Typeography ---------- */

.single-column-layout #main-content {
	line-height: 1.72;
}

.right-sidebar-layout #main-content, .left-sidebar-layout #main-content {
	line-height: 1.5;
}

.three-column-layout #main-content {
	line-height: 1.28;
}

/* @import url(/css/chrome.css); */

/* ---------- Context Free Chrome ---------- */

body {
    background: url("/images/bg.gif");
/*
    background-color: #B38F47;
*/
}

a {
	color:#004EEB;
	text-decoration: none;
}

a:link {
    color:#004EEB;
}

a:visited {
    color:#6699FF;
}

a:hover {
    color: red;
    text-decoration: underline;
}

blockquote {
	border-style: dashed;
}

ul {
    list-style: square;
}

code, pre {
    font-family: "Courier New",Monaco,Courier,monospace;
    text-align: left;
}

h1, h3, h5 {
    font-weight: normal;
}

h2, h4, h6 {
    font-weight: normal;
}

/* ---------- Layout Chrome ---------- */

body {
    font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;
}

#outer-column-wrapper {
    background-image: url('/images/vrule.gif');
    background-position: center right;
    background-repeat: repeat-y;
    background-color: white;
}

#inner-column-wrapper {
    background-image: url('/images/vrule.gif');
    background-position: center left;
    background-repeat: repeat-y;
}

#page {
    background-color: #FFF2D9;

    border-right-style: solid;
    border-left-style: solid;

    border-right-color: black;
    border-left-color: black;
}

#header {
    background-color: #FFCC66;

	border-bottom-style: dotted;
	border-bottom-color: #B38F47;
}

#footer {
	background-color: #FFCC66;
	border-top-style: dotted;
	border-top-color: #B38F47;
}

/* ----------------------------------------------------------------------
* Local Layout
*/

#header {
    padding: 2em;
}

#header h1 {
    margin: 0;
}

#header .description {
    line-height: 2em;
}

/* right-content element box layout */

#right-content h4 {
    margin-top: 1em;
    margin-bottom: .25em;
    padding-bottom: .5em;
    border-bottom-width: 1px;
}

#right-content li {
    margin: 0;
    padding: 0;
}

#right-content ul {
    margin: 2em 0;
    padding: 0;
}

#right-content ul li {
    margin: .5em 0;
    padding: 0;
}

#right-content ul ul, #right-content ul ol {
    margin-top: 1em;
    padding-left: 1em;
}

#right-content ul ul li {
    text-indent: -1em;
}

#right-content ul ul li, #right-content ul ol li {
    margin: .25em 0;
}

#right-content .hasitemdescriptions li {
    margin-bottom: 1em;
}

#feedlist {
    margin: 2em 0;
    padding: 0;
    margin-top: 1em;
    padding-left: 1em;
}

#feedlist img {
    vertical-align: middle;
    margin: .25em;
}

#sharethis {
    text-align: center;
    margin-top: 1em;
}

#sharethis IFRAME {
    margin-top: .25em;
    margin-bottom: .25em;
}

.delicious-blogbadge-tall {
    margin-left: auto;
    margin-right: auto;
    margin-top: .25em;
    margin-bottom: .25em;
}

/* Post element box layout */

.post {
    margin-bottom: 2em;
    margin-top: 2em;
}

.many .post {
    border-bottom-width: 1px;
}

/*
.entry code {
    display: block;
}
*/

.single .postmetadata {
    padding: .5em;
    border-width: 1px;
}

.postmetadata ul, .postmetadata li {
	display: inline;
}

.many .postmetadata {
    margin-bottom: 1em;
    margin-top: 1em;
}

/* Navigation element box layout */

.navigation {
    margin-bottom: 2em;
    margin-top: 2em;
}

.navigation .next {
	float: right;
}
	
.navigation .previous {
	float: left
}

.navigation .navfooter {
    clear: both;
    padding-bottom: 0.1px; /* fixes a Mozilla Bug */
}

/* Search Form element box layout */

#right-content #searchform #s {
	margin-top: 1em;
	margin-bottom: 1em;
	width: 90%;
	padding: .2em;
}

#right-content #searchsubmit {
	margin-top: .5em;
	margin-bottom: .5em;
}

/* Comment Form element layout */

#commentform textarea {
	width: 95%;
	padding: .5em;
}

#CommentPreview {
    padding-left: 1em;
    padding-right: 1em;
    border-width: 1px;
}

.commentlist li {
    padding: 1em;
    margin-left: 0;
    border-bottom-width: 1px;
}

.commentlist li li {
    border-bottom-width: 0;
}

.avatar {
    float: left;
    margin-top: .5em;
    margin-right: 1em;
}


/*  google layout */

.gbar {
    margin-top: 2em;
}

/* ----------------------------------------------------------------------
* Colors and accents
*/

.many .post {
	border-bottom-style: dotted;
	border-bottom-color: #B38F47;
}

.single .postmetadata {
    border-style: dotted;
    border-color: #B38F47;
}

.postmetadata ul, .postmetadata li {
	list-style-type: none;
	list-style-image: none;
}

/* Header Colors */

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

#header a:hover {
    color: red;
}

/* Sidebar Colors */

#right-content ul li {
	list-style-type: none;
	list-style-image: none;
}

#right-content a {
    text-decoration: none;
}

#right-content a:hover {
    color: red;
}

#right-content h4 {
    border-bottom-style: dotted;
    border-bottom-color: #B38F47;
}

#right-content ul ul li:before {
    color: #B38F47;
    content: "\00BB \0020";
}

#CommentPreview {
    border-style: dotted;
    border-color: #B38F47;
}

.commentlist li {
    border-bottom-style: dotted;
    border-bottom-color: #B38F47;
}

.commentlist {
	list-style-type: none;
}

#related-posts li {
	list-style-type: none;
}

#related-posts li:before {
    color: #B38F47;
    content: "\00BB \0020";
}

#filed-under li {
	list-style-type: none;
	padding-left: 20px;
	background-position: left top;
	background-repeat: no-repeat;
}

#filed-under li.filed-tags {
	background-image: url("/images/tag_yellow.png");
}

#filed-under li.filed-categories {
	background-image: url("/images/folder.png");
}

/* ----------------------------------------------------------------------
* Typeography
*/

#header a {
    text-decoration: none;
}

.many .postmetadata {
    text-align: right;
}

#footer p, #footer {
	text-align: center;
}

.entry {
/*	text-align: justify; */
}

.entry code, .entry pre {
    text-align: left;
}

.single .postmetadata {
	text-align: left;
}

.gban, .gbar {
	text-align: center;
}

.gban-right {
	width: 300px;
	height: 250px;
	float: right;
	margin-left: 1em;
	margin-bottom: 1em;
}

.single .postmetadata {
	clear: both;
}
