﻿/* -------------------------------------------------------------- 
   
   BLUEPRINT CSS
    * Filename:        grid.css
    * Version:         0.7.1 (2008-02-25) YYYY-MM-DD
    * Website:         http://code.google.com/p/blueprintcss/

   Generated by:
    * Blueprint CSS Grid Generator (2009-11-30) [http://kematzy.com/blueprint-generator/]

   Based on work by:
    * Olav Bjorkoy      [bjorkoy.com]
    * Nathan Borror     [playgroundblues.com]
    * Jeff Croft        [jeffcroft.com]
    * Christian Metts   [mintchaos.com]
    * Khoi Vinh         [subtraction.com]

   == STRUCTURE: ========================
    * Page width:            1010 px
    * Number of columns:     7
    * Column width:          140 px
    * Margin width:          5 px
   ======================================

   By default, the grid is 1010px wide, with 7 columns 
   spanning 140px, and a 5px margin between columns.

   If you need fewer or more columns, use this formula to calculate
   the new total width: 

   Total width = (number_of_columns * column_width) - margin_width

   Read more about using a grid here:
   * subtraction.com/archives/2007/0318_oh_yeeaahh.php
   
-------------------------------------------------------------- */

/* A container should group all your columns. */
.container {
  width: 1010px;
  margin: 0 auto;
}

/* Use this class on any div.span / container to see the grid. */
.showgrid { 
  background: url(images/grid.png); 
}

/* Body margin for a sensile default look. */
body {
  margin:1.5em 0;	
}


/* Columns
-------------------------------------------------------------- */

/* Sets up basic grid floating and margin. */
div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7 {float:left;margin-right: 5px;}

/* The last column in a row needs this class. */
div.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1  { width: 140px;}
.span-2  { width: 285px;}
.span-3  { width: 430px;}
.span-4  { width: 575px;}
.span-5  { width: 720px;}
.span-6  { width: 865px;}
.span-7, div.span-7 { width: 1010px; margin: 0; }


/* Add these to a column to append empty cols. */
.append-1  { padding-right: 145px;}
.append-2  { padding-right: 290px;}
.append-3  { padding-right: 435px;}
.append-4  { padding-right: 580px;}
.append-5  { padding-right: 725px;}
.append-6  { padding-right: 870px;}


/* Add these to a column to prepend empty cols. */
.prepend-1  { padding-left: 145px;}
.prepend-2  { padding-left: 290px;}
.prepend-3  { padding-left: 435px;}
.prepend-4  { padding-left: 580px;}
.prepend-5  { padding-left: 725px;}
.prepend-6  { padding-left: 870px;}



/* Border on right hand side of a column. */
div.border {
  padding-right:1.5px;
  margin-right:2.5px;
  border-right: 1px solid #eee;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right:140.5px;
  margin-right:137.5px;
  border-right: 1px solid #eee;
}

/* Use these classes on an element to push it into the 
   next column, or to pull it into the previous column.  */

.pull-1 { margin-left: -145px;}
.pull-2 { margin-left: -290px;}
.pull-3 { margin-left: -435px;}
.pull-4 { margin-left: -580px;}
.pull-5 { margin-left: -725px;}
.pull-6 { margin-left: -870px;}
.pull-7 { margin-left: -1015px;}

.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7 {float:left;position:relative;}


.push-1 { margin: 0 -145px 1.5em 145px;}
.push-2 { margin: 0 -290px 1.5em 290px;}
.push-3 { margin: 0 -435px 1.5em 435px;}
.push-4 { margin: 0 -580px 1.5em 580px;}
.push-5 { margin: 0 -725px 1.5em 725px;}
.push-6 { margin: 0 -870px 1.5em 870px;}
.push-7 { margin: 0 -1015px 1.5em 1015px;}

.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7 {float:right;position:relative;}



/* Misc classes and elements
-------------------------------------------------------------- */

/* Use a .box to create a padded box inside a column.  */ 
.box { 
  padding: 1.5em; 
  margin-bottom: 1.5em; 
  background: #E5ECF9; 
}

/* Use this to create a horizontal ruler across a column. */
hr {
  background: #ddd; 
  color: #ddd;
  clear: both; 
  float: none; 
  width: 100%; 
  height: .1em;
  margin: 0 0 1.45em;
  border: none; 
}
hr.space {
  background: #fff;
  color: #fff;
}


/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix, .container {display: inline-block;}
* html .clearfix,
* html .container {height: 1%;}
.clearfix, .container {display: block;}

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear { clear:both; }
