/* --------------------------------------------------------------

   grid.css
   * Sets up an easy-to-use grid of 24 columns.

   By default, the grid is 950px wide, with 24 columns
   spanning 30px, and a 10px margin between columns.

   If you need fewer or more columns, namespaces or semantic
   element names, use the compressor script (lib/compress.rb)

   Note: Changes made in this file will not be applied when
   using the compressor: make changes in lib/blueprint/grid.css.rb

-------------------------------------------------------------- */

/* A container should group all your columns. */
.container {
  width: 813px;
  margin: 0 auto;
}

/* Use this class on any div.span / container to see the grid. */
.showgrid {
  background: url(src/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, div.span-8, div.span-9, div.span-10,
div.span-11, div.span-12 {
  float: left;
  margin-right: 3px;
}

/* 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: 65px; }
.span-2  { width: 133px; }
.span-3  { width: 201px; }
.span-4  { width: 269px; }
.span-5  { width: 337px; }
.span-6  { width: 405px; }
.span-7  { width: 473px; }
.span-8  { width: 541px; }
.span-9  { width: 609px; }
.span-10 { width: 677px; }
.span-11 { width: 745px; }
.span-12, div.span-12 { width: 813px; margin: 0; }

/* Add these to a column to append empty cols. */
.append-1  { padding-right: 68px; }
.append-2  { padding-right: 136px; }
.append-3  { padding-right: 204px; }
.append-4  { padding-right: 272px; }
.append-5  { padding-right: 340px; }
.append-6  { padding-right: 408px; }
.append-7  { padding-right: 476px; }
.append-8  { padding-right: 544px; }
.append-9  { padding-right: 612px; }
.append-10 { padding-right: 680px; }
.append-11 { padding-right: 748px; }

/* Add these to a column to prepend empty cols. */
.prepend-1  { padding-left: 68px; }
.prepend-2  { padding-left: 136px; }
.prepend-3  { padding-left: 204px; }
.prepend-4  { padding-left: 272px; }
.prepend-5  { padding-left: 340px; }
.prepend-6  { padding-left: 408px; }
.prepend-7  { padding-left: 476px; }
.prepend-8  { padding-left: 544px; }
.prepend-9  { padding-left: 612px; }
.prepend-10 { padding-left: 680px; }
.prepend-11 { padding-left: 748px; }


/* Border on right hand side of a column. */
div.border {
  padding-right: 1px;
  margin-right: 1px;
  border-right: 1px solid #eee;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right: 32px;
  margin-right: 32px;
  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: -68px; }
.pull-2 { margin-left: -136px; }
.pull-3 { margin-left: -204px; }
.pull-4 { margin-left: -272px; }
.pull-5 { margin-left: -340px; }

.pull-1, .pull-2, .pull-3,
.pull-4, .pull-5, .pull-5 {
  float:left;
	position:relative;
}

.push-1 { margin: 0 -68px 1.5em 68px; }
.push-2 { margin: 0 -136px 1.5em 136px; }
.push-3 { margin: 0 -204px 1.5em 204px; }
.push-4 { margin: 0 -272px 1.5em 272px; }
.push-5 { margin: 0 -340px 1.5em 340px; }

.push-0, .push-1, .push-2,
.push-3, .push-4, .push-5 {
  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; }

