/* CSS Document */
/* ############### tales.be css framework v0.3 (by kvd) ###############  */

/* revision v.03.b : 14-02-2008 : explanation added */
/* revision v.03.a : 12-02-2008 : IE-versionnumbering with CC */

/* v0.3 includes only one update:
around the pagewrapper a couple of spans are written with IE Conditional Comments
These spans have no layout-influence, it only writes a span around #pagewrapper
which identifies the IE-version ran by the client.

f.e.: <span id="IE6">

This span is closed after the pagewrapper:
	<span id="IE6">
		<div id="pagewrapper">bla</div>
	</span>		


What this means:

1. no more need for an additional IE7-stylesheet
2. the !important - hack is not necessary anymore to target IE6.
	as in:
		.myrule
			{	bla: 7px !important; 
				bla: 5px;}

Instead, you can now write your code like this:

.mystuff{	bla: 7px;} -> targets all decent browsers
#IE6 .mystuff{ bla: 9px}
#IE7 .mystuff{ bla: 8px}

This makes your CSS-code and the exceptions for the various IE-flavours:
	-> clean
	-> easy to read and interprete
	-> fully W3C-compliant

version vectors supported 'till now:
#IE5
#IE55
#IE6
#IE7
#IE8

WWhy no #IE4? -> IE4 doesn't understand CC, therefore this selector has no use.
#IE8? IE8 isn't out yet, but will most likely work with CC


*/


/* ############### BASIC BUILDING BLOCKS ADDONS ############### */
#pagewrapper{
	width: 958px;
	/*margin-left: 0;*//* for lefthanded layout instead of centered*/
	/* margin-top: XXpx; */ /* offset from pagetop */
	background-image: url(../gfx/basics/background.page.gif);
	background-repeat: repeat-y;
	background-position: center;
	padding: 0 1px 0 1px;
}



#header{ }
#content{
	/*margin-top: -38px;*/ /* fix offset from #topnav */
	}
#footer{ 
	padding: 20px 30px 5px 330px;}

#topnav{
	/* relative positioning: pull #topnav up or down, to the left or right, it will layer itself above the header */
	/*position: relative;
	left: 257px;
	top: -38px;*/
	overflow: hidden;
	width: 958px;
	height: 67px; 
	border-bottom: 1px solid #7e7d77;
	background-color: #cfcfcf;
}

#crumbpath{
	margin-top: -8px;
	min-height: 20px;
	/*margin-bottom: -8px;
	padding-bottom: 5px;*/
	/*margin-top: -5px;*/
	/*margin-bottom: 25px;*/
	
	/*height: 30px;*/
}
#crumbpath {} /* mozilla + IE7 */
#IE6 #crumbpath {height: auto !important;} /* IE6 */
/*.col1{	width: 200px;}
.col2{	width: 700px; }*//* = pagewrapper.width - col1.width */


/* ############### 1 COLUMN LAYOUT ADDONS: dimensions, colors, backgrounds ############### */
.oneCol#header .col1{
	background-color: #000;
	color: #fff;
	height: 150px;
	width: 958px;
	}
.oneCol#content .col1{
	background-color: #ffcc00;
	width: 958px;}

/* ############### 2 COLUMN LAYOUT ADDONS: dimensions, colors, backgrounds ############### */
.twoCols#header .col1{
	background-color: #f5f5f5;
	color: #000;
	height: 199px;
	width: 299px;}
.twoCols#header .col2{
	background-color: #f4f4f2;
	color: #000;
	height: 199px;
	width: 659px;}

.twoCols#content .col1{
	background-color: #dedede;
	width: 299px;
	background-image: url(../gfx/basics/background.leftcol.gif);
	background-repeat: repeat-x;
	}
.twoCols#content .col2{
	background-color: #e3e3e3;
	/*width: 593px;	*/
	/*padding: 34px 26px 34px 40px;*/
	width: 607px;	
	padding: 34px 26px 34px 26px;
	background-image: url(../gfx/basics/background.content.jpg);
	background-repeat: no-repeat;
}
#IE6 .twoCols#content .col2{
	/*width: 616px;*/
	/*padding: 34px 0px 34px 40px;*/
	width: 633px;
	padding: 34px 0px 34px 26px;
}
#IE6 #contentcontainer{
	padding: 0 20px 0 0;
}
.homepage .twoCols#content .col2{
	background-image: url(../gfx/basics/background.content.homepage.jpg);
}
.homepage #IE6 .twoCols#content .col2{
	/*width: 613px;*/
	width: 633px;
	/*padding: 34px 0px 34px 40px;*/
	padding: 34px 0px 34px 26px;

	
}
/* minimum height for sidenav and text-block */
/* remember: if working with backgroundcolors or borders, 
you'll need to set a repeating background on 
.twoCols#content, since col1 doesn't know how
long col2 becomes (and vice-versa)
 !!!!!
*/
.twoCols#content .col1 {min-height: 200px;} /* mozilla + IE7 */
*html* .twoCols#content .col1 {height: 200px;} /* IE6 */

.twoCols#content .col2 {min-height: 200px;} /* mozilla + IE7 */
*html* .twoCols#content .col2 {height: 200px;} /* IE6 */



/* ############### 3 COLUMN LAYOUT ADDONS: dimensions, colors, backgrounds ############### */
.threeCols#header .col1{
	background-color: #000;
	color: #fff;
	height: 150px;
	width: 200px;}
.threeCols#header .col2{
	background-color: green;
	color: #fff;
	height: 150px;
	width: 760px;}
.threeCols#header .col3{
	background-color: orange;
	color: #fff;
	height: 150px;
	width: 200px;}

.threeCols#content .col1{
	background-color: #ffcc00;	
	width: 200px;}
.threeCols#content .col2{
	background-color: #fff;
	width: 500px;}
.threeCols#content .col3{
	background-color: Maroon;
	width: 200px;}

/* minimum height for sidenav and text-block */
/* remember: if working with backgroundcolors or borders, 
you'll need to set a repeating background on 
.twoCols#content, since col1 doesn't know how
long col2 becomes (and vice-versa)
 !!!!!
*/
.threeCols#content .col1 {min-height: 200px;} /* mozilla + IE7 */
*html* .threeCols#content .col1 {height: 200px;} /* IE6 */

.threeCols#content .col2 {min-height: 200px;} /* mozilla + IE7 */
*html* .threeCols#content .col2 {height: 200px;} /* IE6 */


.threeCols#content .col3 {min-height: 200px;} /* mozilla + IE7 */
*html* .threeCols#content .col3 {height: 200px;} /* IE6 */




/* ############### HEADER ADDONS ############### */
.twoCols#header .col1{ }
.twoCols#header .col2{ }
.twoCols#header .col1 a{
	display: block;
}




/* ############### ADDONS ############### */
#topnav .col1{
	background-color: #f5f5f5;
	color: #000;
	height: 199px;
	width: 298px;
	border-right: 1px solid #a3a29e;
	display: block;
	float: left;
	background-image: url(../gfx/basics/background.topnav.left.gif);
	background-repeat: repeat-x;	
	}
	
	
#topnav .col2{
	background-color: #f4f4f2;
	color: #000;
	height: 199px;
	width: 659px;
	display: block;
	float: left;
	background-image: url(../gfx/basics/background.topnav.right.gif);
	background-repeat: repeat-x;}
	
/* HOMEPAGE */
#homeMain{
	/*margin-top: 50px;*/
	display: block;
	/*width: 320px;*/
	width: 330px;
	float: left;
	margin-right: 17px;
}
#IE6 #homeMain{
	width: 334px;
	margin-right: 15px !important;
	}
.nonews #homeMain{
	
	width: 100%;
}
.nonews #IE6 #homeMain{
	width: 99%;
	margin-right: 0px !important;
}
#homeNews{
	/*margin-top: 40px;*/
	margin-top: 15px;
	display: block;
	width: 245x;
	float: left;
	/*background-color: maroon;*/
	
}
#IE6 #homeNews{
	width: 243px;
	/*margin-top: 10px;*/
	margin-top: -20px;
}
}