/* -------------------------------------------------------------- 
   
   BLUEPRINT CSS
    * Filename:        grid_coastal_custom.css  

   Generated by:
    * Blueprint CSS Grid Generator (2012-03-22) [http://bgg.kematzy.com/] modified by Coastal Contacts Web Development. 

   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:            966 px
    * Number of columns:     13
    * Column width:          54 px
    * Margin width:          10 px
   ======================================

   By default, the grid is 966px wide, with 13 columns 
   spanning 54px, and a 10px margin between columns except the first 188px column.

   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: 966px;
  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, div.span-13 {float:left;margin-right: 10px;}

/* 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-4  { width: 188px;} /* IPL-specific grid width */
.span-5  { width: 256px;} /* IPL-specific grid width */
.span-6  { width: 320px;}
.span-7  { width: 384px;} /* IPL-specific grid width */
.span-8  { width: 448px;}
.span-9  { width: 512px;}
.span-10  { width: 566px;}
.span-11  { width: 630px;}
.span-12 { width: 694px;}
.span-13 { width: 758px;} /* The IPL main content width (i.e Category & Sub-home pages */
.span-14 { width: 838px;}
.span-15 { width: 902px;}
.span-16, div.span-16 { width: 966px; margin: 0; }

/* Add these to a column to append empty cols. IPL grids are different going from right to left than from left to right (based on grid specifications) */
.append-1  { margin-right: 64px;} 
.append-2  { margin-right: 128px;}
.append-3  { margin-right: 192px;}
.append-4  { margin-right: 256px;} 
.append-5  { margin-right: 320px;}
.append-6  { margin-right: 384px;}
.append-7  { margin-right: 448px;}
.append-8  { margin-right: 512px;}
.append-9  { margin-right: 576px;}
.append-10 { margin-right: 640px;}
.append-11  { margin-right: 704px;}
.append-12  { margin-right: 768px;}
.append-13 { margin-right: 832px;}
.append-14 { margin-right: 896px;}
.append-15 { margin-right: 960px;} 


/* Add these to a column to prepend empty cols. IPL grids are different going from left to right than from right to left (based on grid specifications)  */
/* Use margin-left because IE 7 places containers under each other as supposed to side by side when CSS position:relative */
.prepend-4  { margin-left: 208px;} 
.prepend-5  { margin-left: 272px;}
.prepend-6  { margin-left: 336px;}
.prepend-7  { margin-left: 400px;}
.prepend-8  { margin-left: 464px;}
.prepend-9  { margin-left: 528px;}
.prepend-10 { margin-left: 592px;}
.prepend-11  { margin-left: 656px;}
.prepend-12  { margin-left: 720px;}
.prepend-13 { margin-left: 784px;}
.prepend-14 { margin-left: 848px;}
.prepend-15 { margin-left: 912px;} 


/* Use these classes on an element to push it into the 
   next column, or to pull it into the previous column.  */
 
.pull-4 { margin-left: -208px;}
.pull-5 { margin-left: -272px;}
.pull-6 { margin-left: -336px;}
.pull-7 { margin-left: -400x;}
.pull-8 { margin-left: -464px;}
.pull-9 { margin-left: -528px;}
.pull-10 { margin-left: -592px;}
.pull-11 { margin-left: -656px;}
.pull-12 { margin-left: -720px;}
.pull-13 { margin-left: -784px;}
.pull-14 { margin-left: -848px;}
.pull-15 { margin-left: -912px;}

.pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15 {float:left;position:relative;}

 

/* Border on right hand side of a column. */
div.border {
  padding-right:4px;
  margin-right:5px;
  border-right: 1px solid #eee;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right:52px;
  margin-right:49px;
  border-right: 1px solid #eee;
}


/* 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; 
}

/* 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; }
