﻿/* Vinings
   v1 - 3 April 2009 - Erwin Raaphorst - erwin@ilook.co.nz */

@import 'skel.css';

/*[REM-START]
*
* Default Layout
*
* 3 columns - Left/Centre/Right
* Total content width: 960px (1024x768 usable area)
* Left col width: 150px
* Centre col width: 660px
* Right col width: 150px
* Header height: 150px
* Footer height: 30px
*
[REM-END]*/

BODY{ min-width:960px; }
#wrapper{ background:#f7f7f8 url(../images/bg_fhc.png) top center repeat-y; width:960px; border:1px solid #1a2b3d; border-width:0 1px; }
#wrapper #outer{ margin-left:150px;width:660px;background-color:#f7f7f8; }
* HTML #wrapper #outer{ width:660px; w\idth:660px; }
#wrapper #float-wrap,
#wrapper #center{ width:660px;}

/* Left Col */
#left{ width:150px; margin-left:-150px; }
*>HTML #left{ width:150px; }
#container-left{
/* \*/
  width:150px; 
}

/* Right Col */
#right{ width:150px; margin-right:-150px; }
/* \*/
*>HTML #right{ width:150px; margin-right:-150px; mar\gin-right:-150px; }
#container-right{
/* \*/
  width:150px;
}

/* Headers */
#header{ height:435px; /*overflow:hidden;*/ }
#subheader{ width:960px; height:435px; overflow:hidden; position:relative; }
#clearheadercenter, #clearheaderleft, #clearheaderright{ height:435px; }

/* header height HOME */
body.home #header, body.home #subheader, body.home #clearheadercenter, body.home #clearheaderleft, body.home #clearheaderright { height:505px; } 

/* Footers */
#footer{ height:130px; margin-top:-130px; }
#subfooter{ width:960px; height:130px; }
#clearfootercenter, #clearfooterleft, #clearfooterright{ height:130px; }

/*[REM-START]
*
* Left Layout
*
* 2 columns - Left/Centre
* - Body class must be set as follows: <BODY class="l">
* Total content width: 960px (1024x768 usable area)
* Left col width: 270px
* Centre col width: 690px
* Right col width: 0px (can be removed from page altogether)
* Header height: 150px
* Footer height: 30px
*
* Notes:
* - Primary content area is always in centre container (shown first in source)
* - These settings will override the settings in Default Layout above, and contained in the layout/skel files
* - If you do not use this layout, you can remove all the styles.
*
[REM-END]*/

BODY.l #wrapper #outer{ margin-left:270px; width:690px; }
* HTML BODY.l #wrapper #outer{ width:690px; w\idth:690px; }
BODY.l #wrapper #float-wrap,
BODY.l #wrapper #center{ width:690px;}

/* Left Col */
BODY.l #left{ width:270px; margin-left:-270px; }
*>HTML BODY.l #left{ width:270px; }
BODY.l #container-left{
/* \*/
  width:270px; 
}

/* Right Col */
BODY.l #right{ width:0; margin-right:0; display:none; }
/* \*/
*>HTML BODY.l #right{ width:0; margin-right:0; mar\gin-right:0; display:none; }
BODY.l #container-right{
/* \*/
  width:0;
}


/*[REM-START]
*
* Right Layout
*
* 2 columns - Centre/Right
* - Body class must be set as follows: <BODY class="r">
* Total content width: 960x (1024x768 usable area)
* Left col width: 0px (can be removed from page altogether)
* Centre col width: 754px
* Right col width: 250px
* Header height: 150px
* Footer height: 30px
*
* Notes:
* - Primary content area is always in centre container (shown first in source)
* - These settings will override the settings in Default Layout above, and contained in the layout/skel files
* - If you do not use this layout, you can remove all the styles.
*
[REM-END]*/

BODY.r #wrapper #outer{ margin-left:0;width:670px; }
* HTML BODY.r #wrapper #outer{ width:670px; w\idth:670px; }
BODY.r #wrapper #float-wrap,
BODY.r #wrapper #center{ width:670px; }

/* Left Col */
BODY.r #left{ width:0; margin-left:0; display:none; }
*>HTML BODY.r #left{ width:0; display:none; }
BODY.r #container-left{
/* \*/
  width:0; 
  display:none; }

/* Right Col */
BODY.r #right{ width:291px; margin-right:-290px;  }
/* \*/
*>HTML BODY.r #right{ width:290px; margin-right:-290px; mar\gin-right:-290px; }
BODY.r #container-right{
/* \*/
  width:270px;
}


/*[REM-START]
*
* Full Layout
*
* 1 column - Centre
* - Body class must be set as follows: <BODY class="f">
* Total content width: 1004px (1024x768 usable area)
* Left col width: 0px (can be removed from page altogether)
* Centre col width: 990px
* Right col width: 0px
* Header height: 150px
* Footer height: 30px
*
* Notes:
* - Primary content area is always in centre container (shown first in source)
* - These settings will override the settings in Default Layout above, and contained in the layout/skel files
* - If you do not use this layout, you can remove all the styles.
*
[REM-END]*/

BODY.f #wrapper #outer{ margin-left:0;width:960px; }
* HTML BODY.f #wrapper #outer{ width:960px; w\idth:960px; }
BODY.f #wrapper #float-wrap,
BODY.f #wrapper #center{ width:960px;}

/* Left Col */
BODY.f #left{ width:0; margin-left:0; display:none; }
*>HTML BODY.f #left{ width:0; display:none; }
BODY.f #container-left{
/* \*/
  width:0; 
  display:none; 
}

/* Right Col */
BODY.f #right{ width:0; margin-right:0; display:none; }
/* \*/
*>HTML BODY.f #right{ width:0; margin-right:0; mar\gin-right:0; display:none; }
BODY.f #container-right{
/* \*/
  width:0;
  display:none;
}