/* -------------------------------------------------------------- 
  
  BLUEPRINT CSS
   * Filename:        grid.css
   * Version:         0.5 (2007-08-28) YYYY-MM-DD
   * Website:         http://code.google.com/p/blueprintcss/
  
  Generated by:
   * Blueprint CSS Grid Generator (2009-04-09) [http://blueprint-generator.kaizeku.com/]
  
  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:            960 px
   * Number of columns:     4
   * Column width:          231 px
   * Margin width:          12 px
  ======================================
   
  By default, the grid is 960px wide, with 4 columns 
  spanning 231px, and a 12px 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
  
-------------------------------------------------------------- */

body { 
  text-align: center; /* IE6 Fix */
  margin:36px 0;
}

/* A container should group all your columns. */
.container {
  text-align: left;
  position: relative;
  padding: 0;
  margin: 0 auto;   /* Centers layout */
  width: 960px;     /* Total width */
}


/* Columns
-------------------------------------------------------------- */

/* Use this class together with the .span-x classes
   to create any composition of columns in a layout.
   Nesting columns works like a charm (remember .first and .last). */
   
.column {
  float: left;
  margin-right: 12px;
  padding: 0;
  margin-top: 12px;
}
* html .column { overflow-x: hidden; } /* IE6 fix */

/* Add this class to a column if you want a border on its 
   right hand side. This should be customized to fit your needs. */

.border {
  padding-right: 5px;
  margin-right: 6px;
  border-right: 1px solid #ddd;
}

/* Use these classes to set how wide a column should be. */
.span-1  { width: 231px}
.span-2  { width: 474px}
.span-3  { width: 717px}
.span-4  { width: 960px; margin: 0}


/* The last element in a multi-column block needs this class. */
.last     { margin-right: 0; }

/* Add these to a column to append empty cols. */
.append-1  { padding-right: 243px}
.append-2  { padding-right: 486px}
.append-3  { padding-right: 729px}


/* Add these to a column to prepend empty cols. */
.prepend-1  { padding-left: 243px}
.prepend-2  { padding-left: 486px}
.prepend-3  { padding-left: 729px}



/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear { display: inline-block; }   
.clear:after, .container:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }



/* Images
-------------------------------------------------------------- */

/* Remember the baseline (typography.css). */
/*img { margin: 0 0 18px 0; }*/
img { margin: 0 0 12px 0; }

/* Use these classes to make an image flow into the column before 
   or after it. This technique can also be used on other objects. */

.pull-1 { margin-left: -243px}
.pull-2 { margin-left: -486px}
.pull-3 { margin-left: -729px}
.pull-4 { margin-left: -972px}



.push-0  { margin: 0 0 0 18px; float: right; } /* Right aligns the image. */
.push-1 { margin: 0 -243px 0 18px; float: right}
.push-2 { margin: 0 -486px 0 18px; float: right}
.push-3 { margin: 0 -729px 0 18px; float: right}
.push-4 { margin: 0 -972px 0 18px; float: right}


.pull-1, .pull-2, .pull-3, .pull-4,
.push-1, .push-2, .push-3, .push-4 {
  overflow-x: visible; /* Overrides previous IE6 fix (needs improvement). */
}

/* EOF */
