@charset "Shift_JIS";


/* General styles */

body {
margin:0 10px 10px 10px;
    padding:0;
    border:0; /* This removes the border around the viewport in old versions of IE */

    background: #fff;
    min-width:800px;    /* Minimum width of layout - remove line if not required */
    /* The min-width property does not work in old versions of Internet Explorer */
    font-size:90%;
}


#header {
    clear:both;
    _float:left;
    _width:100%;
    border-bottom:1px solid #000;
}

#footer {
    _float:left;
    clear:both;
    width:100%;
    border-top:1px solid #000;
}



/* 3 column container */
.colmask {
	position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
    clear:both;
    float:left;
    width:100%;				/* width of whole page */
    overflow:hidden;		/* This chops off any overhanging divs */
 }

/* holy grail 3 column settings */
.holygrail {
    background:#ff9;    	/* Right column background colour */
 }
.holygrail .colmid {
    float:left;
    width:200%;
    margin-left:-200px; 	/* Width of right column */
    position:relative;
    right:100%;
    background:#fff;    	/* Centre column background colour */
 }

.holygrail .colall {
    float:left;
    width:100%;
    margin-left:-50%;
    position:relative;
    left:370px;         	/* Left column width + right column width */
    background:#FFD8B7;    	/* Left column background colour */
 }

.holygrail .colmainwrap {
    float:left;
    width:50%;
    position:relative;
    right:170px;        	/* Width of left column */
    padding-bottom:1em; 	/* Centre column bottom padding. Leave it out if it's zero */
}

.holygrail .colmain {
    margin:0 170px;     	/* Centre column side padding:
                           Left padding = left column width + centre column left padding width
                           Right padding = right column width + centre column right padding width */
    position:relative;
    left:200%;
    overflow:hidden;
 }

.holygrail .colleft {
    float:left;
    float:right;			/* This overrides the float:left above */
    width:170px;        	/* Width of left column content (left column width minus left and right padding) */
    position:relative;
    right:0px;         	/* Width of the left-had side padding on the left column */
 }

.holygrail .colright {
    float:left;
    float:right;			/* This overrides the float:left above */
    width:200px;        	/* Width of right column content (right column width minus left and right padding) */
    margin-right:0px;  	/* Width of right column right-hand padding + left column left and right padding */
    position:relative;
    left:50%;
 }



/* 2 column left menu settings */
.leftmenu {
    background:#C2E0D6;
 }

.leftmenu .colall {
    float:left;
    width:200%;
    position:relative;
    left:170px;
 }

.leftmenu .colmainwrap {
    float:right;
    width:50%;
    position:relative;
    right:170px;
 }

.leftmenu .colmain {
	background: white;
    margin:0 0 0 170px;
    position:relative;
    right:100%;
    overflow:hidden;
	padding: 8px;

 }

.leftmenu .colside {
    float:left;
    width:170px;
    position:relative;
    right:170px;
 }



/* 2 column right menu settings */
.rightmenu .colall {
    float:left;
    width:200%;
    margin-left:-200px;
    position:relative;
    right:100%;
}

.rightmenu .colmainwrap {
    float:left;
    width:50%;
    position:relative;
    left:50%;
    padding-bottom:1em;
}

.rightmenu .colmain {
    margin:0 0 0 200px;
    overflow:hidden;
	padding: 4px;

}

.rightmenu .colside {
    background:#C2E0D6;
    float:right;
    width:200px;
    position:relative;
    left:200px;
	padding: 4px;

}



/* editor screen */
.wikicmseditor {
    border: 1px solid #999;
    padding: 4px;
    font-size: x-small;
 }



