/* Layout for DGK Nordsjælland.

Pixel width 1, 2, and 3 column layouts w. header and footer.
Based on "Ultimte" layouts by  Matthew James Taylor (http://matthewjamestaylor.com)

General usage:
	Header & footer: Fixed
	Contens: Mandatory
	Left colum: Navigation
	Right colum: Support / help..., optional

Colors scheme:
	light to dark:
		HEX: #D6E99A  RGB: 214,233,154
		HEX: #AFC46A  RGB: 175,196,106
		HEX: #81963D  RGB: 129,150,61
		HEX: #51611E  RGB: 81,97,30
	and the contrast:
		HEX: #EE6630  RGB: 238,102,48

Mikael Kjærulff, July 2008 - ns@dgk.dk
*/

/* General styles */
* {
	margin:0; padding:0; border:0;
}
body {
	width:100%;	min-width:600px;
	color: #000; background:#fff;
	font-family: Tahoma, Arial, sans-serif;
	font-size:95%;
}
/* general text margin left/right */
H1, H2, H3, H4, H5, H6,
UL, OL, DL, DT, DD
{	margin-left:10px; margin-right:5px;}

/* Paragraph */
P	{ margin-top: 0.5em; margin-bottom: 1em;
      margin-left:10px; margin-right:5px;
 }
/* Headings */
H1	{ font-size: 1.4em; font-weight: bolder }
H2	{ font-size: 1.2em; font-weight: bolder }
H3	{ font-size: 1.1em; font-weight: bolder }
H4	{ font-size: 1.0em;	font-weight: bolder }
H5	{ font-size: .83em; font-weight: bolder }
H6	{ font-size: .67em; font-weight: bolder }
/* Lists */
UL	{ margin: 1.2em 0; margin-left: 26px }
OL	{ margin: 1.2em 0; margin-left: 33px; list-style-type: decimal }
UL OL, UL UL	{ margin: 0 5px 0 15px }
OL OL, OL UL	{ margin: 0 5px 0 15px }
/* Definition list */
DL	{ margin: 0.5em 0 }
DT	{ font-weight: bolder }
DD	{ margin-left: 25px }

BLOCKQUOTE	{ 
	margin: 1em 0; margin-left: 40px; margin-right: 40px; 
	border: 2px solid #000;
}

/* Links */
.colmask a { /* Mimic menu style for all inline links  - no */
	color: #000; /* #81963D MyColor*/
	text-decoration:underline;
  font-weight: 500; /* was bold = 700 */
	/* border:1px solid #ccc;  /* does not look too good */
}
.colmask a:hover {
	color: #ee6630; /*#51611E MyColor*/
	font-weight: 600; /* was normal = 400 */
}

#footer a { /* but don't color links in footer */
	color: #000;
}


ABBR, ACRONYM {
   border-bottom: .1em dotted #ccc;
   cursor: help;
}


/* Header styles */
#header {
	clear:both;	float:left;
	width:100%; height:141px;
	color:#000; background:#AFC46A;     /*MyColor*/
	background-image:url('NSlogoBanner.png');
	background-repeat:no-repeat;
	background-position:top left;
	border-bottom:1px solid #000;
}
#header .headercontainer {
	font-size:200%;
	vertical-align:middle;
	padding:30px 0 15px 180px;
}

.clear {
  clear: both;
}

/* 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 {
	font-size: 85%; 
}
.holygrail .colmid {
	float:left;
	width:200%;
	margin-left:-210px; 	/* Width of right column */
	position:relative;
	right:100%;
}
.holygrail .colmid2col {
	float:left;
	width:200%;
	margin-left:0px; 	/* Width of right column */
	position:relative;
	right:100%;
}
.holygrail .colleft {
	float:left;
	width:100%;
	margin-left:-50%;
	position:relative;
	left:370px;         	/* Left column width + right column width */
}
.holygrail .colleft2col {
	float:left;
	width:100%;
	margin-left:-50%;
	position:relative;
	left:160px;         	/* Left column width + right column width */
}
.holygrail .col1wrap {
	float:left;
	width:50%;
	position:relative;
	right:160px;        	/* Width of left column */
	/* padding-bottom:1em;  */	/* Centre column bottom padding. Leave it out if it's zero */
}
.holygrail .col1 { /* Contents */
	margin:0 210px 0 160px;	/* 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 .col12col { /* Contents */
	margin:0 0px 0 160px;	/* 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 { /* Navigation */
	float:left;
	float:right;			/* This overrides the float:left above */
	
	width:160px;        	/* Width of left column content (left column width minus left and right padding) */
	position:relative;
	right:0px;         		/* Width of the right(???)-had side padding on the left column */
}
.holygrail .col3 { /* Support */
	float:left;
	float:right;			/* This overrides the float:left above */
	width:210px;        	/* 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%;
	font-size: 70%;
}

/* Footer styles */
#footer {
	clear:both;	float:left;
	width:100%;
	padding: 15px 0 15px 0;
    text-align: center;
	color: #000; background:#AFC46A;   /*MyColor */
	font-size:75%;
	border-top:1px solid #000;
	border-bottom:1px solid #000; /*would like to force down instead */
}

/* <!--[if lt IE 7]>
.col1 {
	width:100%;
}
<![endif]--> */
