
/* 1-2-3 col layout adopted from in http://www.alistapart.com/d/holygrail/example_3.html */


/*

******header*************
*-----------------------*
*************************
******container**********
*.=====================.*
*.=...main............=.*
*.=====================.*
*.=====================.*
*.=...sidebar-left....=.*
*.=====================.*
*.=====================.*
*.=...sidebar-right...=.*
*.=====================.*
*************************
******footer-wrapper*****
*-----------------------*
*************************

To add/remove a column use classes 'withsidebar-left' like this:
  <div id="container" class="withsidebar-left withsidebar-right">

*/

/*** The Layout Code ***/


body {
  min-width: 630px;         /* 2 x (LC fullwidth + CC padding) + RC fullwidth */
}


#container {
  overflow: hidden;  /* Equal-height Columns */
  position: relative; /* Equal-height Columns fix for IE7 */
}

#container.withsidebar-left {
  padding-left: 200px;      /* LC fullwidth */
  padding-right: 40px;      /* CC padding (used if no RC activated */
}
#container.withsidebar-right {
  padding-right: 260px;     /* RC fullwidth + CC padding (220+20+20)*/
}
		
#main {
  width: 100%;
  padding: 10px 20px;       /* CC padding */
}

#sidebar-left {
  width: 180px;             /* LC width , full width: 180+10+10=200 */
  padding: 0 10px;          /* LC padding */
  margin-left: -100%;
  right: 240px;             /* LC fullwidth + CC padding (=200+20+20)*/
}

		
#sidebar-right {
  width: 200px;             /* RC width , full width: 200+10+10=220 */
  padding: 0 10px;          /* RC padding */
  margin-right: -100%;
}

#main, #sidebar-left, #sidebar-right {
  position: relative;
  float: left;
  padding-bottom: 1001em;     /* X + padding-bottom for equal height columns */
  margin-bottom: -1000em;     /* X for equal height columns */
}
		
.withsidebar-left #main, .withsidebar-right #main {
  width: 100%;
}
.withsidebar-left #main{
  width: 100%;
}
		
#footer {
  clear: both;
}
		
/*** IE Fix ***/
* html #sidebar-left {
  left: 220px;              /* RC fullwidth */
}

/*** Equal-height Columns ***/
/*** Footer Fix ***/

* html body {
  overflow: hidden;
}
* html #footer-wrapper {
  float: left;
  position: relative;
  width: 100%;
  padding-bottom: 10010px;
  margin-bottom: -10000px;
  background: #FFF;         /*** Same as body background ***/
}



