@media screen {

    /* <!-- */
    /* General styles */
    body {
        margin:0;
        padding:0;
        border:0;			/* This removes the border around the viewport in old versions of IE */
        width:100%;
        background:#fff;
        min-width:55em;    /* Minimum width of layout - remove line if not required - Was 600px */
							/* The min-width property does not work in old versions of Internet Explorer */
	font:normal 0.8em arial,helvetica,sans-serif;	/* Was font-size:90%; */
    }
	a {
    	color:#369;
	}
	a:hover {
		color:#fff;
		background:#369;
		text-decoration:none;
	}
    h1, h2, h3 {
        margin:.8em 0 .2em 0;
        padding:0;
    }
    p {
        margin:.4em 0 .8em 0;
        padding:0;
    }
	img {
		margin:0px;    /* Was margin:10px 0 5px; */
	}
	/* Header styles */
    #header {
        clear:both;
        float:left;
        width:100%;
        background:#000080;
	border-bottom:2px solid #cccc66;
    }
	/* 'widths' sub menu */
	#layoutdims {
		clear:both;
		background:#eee;
		border-top:4px solid #000;
		margin:0;
		padding:6px 15px !important;
		text-align:right;
	}
	/* 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 */
border-top:2px solid #999900;
	}
	/* holy grail 3 column settings */
	.holygrail {
	    background:#000080;    	/* Right column background color */
	}
    .holygrail .colmid {
        float:left;
        width:200%;
        margin-left:-9em; 		/* Width of right column */
        position:relative;
        right:100%;
        background:#fff;    	/* Centre column background color */
    }
    .holygrail .colleft {
        float:left;
        width:100%;
        margin-left:-50%;
        position:relative;
        left:18em;         		/* Left column width + right column width */
        background:#000080;    	/* Left column background color */
    }
    .holygrail .col1wrap {
        float:left;
	    width:50%;
	    position:relative;
	    right:9em;        		/* Width of left column */
	    padding-bottom:1em; 	/* Centre column bottom padding. Leave it out if it's zero */
	}
	.holygrail .col1 {
        margin:1em 10em 2em 10em;     		/* 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 .col2 {
        float:left;
        float:right;			/* This overrides the float:left above */
        width:9em;        		/* Width of left column content (left column width minus left and right padding) - Was 10em */
        position:relative;
        right:0;         		/* Width of the left-hand side padding on the left column - Was 1em */
    }
    .holygrail .col3 {
        float:left;
        float:right;			/* This overrides the float:left above */
        width:8em;        		/* Width of right column content (right column width minus left and right padding) */
        margin-right:0.5em;  		/* Width of right column right-hand padding + left column left and right padding */
        position:relative;
        left:50%;
    }

	/* Footer styles */
	#footer {
        clear:both;
        float:left;
        width:100%;
		border-top:1px solid #999900;
    }
    #footer p {
        margin:0;
        padding:0.5em;
	text-align:center;
	font-size:0.8em;
    }
    /* --> */

}

@media print {
 body { font:normal 0.8em arial,helvetica,sans-serif; }
 .holygrail .col2 { display: none; }
 .holygrail .col3 { display: none; }
 .holygrail .col1 { margin:0; }
 #footer p { text-align:center; font-size:0.8em; }
 .noprint { display: none; }
}

