html, body
{
	margin: 0;
	padding: 0;
	font-family: 'Trebuchet MS',Trebuchet,Arial,Sans-serif;
	font-size: 1em;
	background-color: #f1f1f1;
	height: 100%;
}

img
{
	
	border: 0;
	/* sloopt google-maps
	max-width: 100%;	*/
}

#branding
{
	position: relative;
	margin:0;
	padding:0;
	height: 10em;
	width: 100%;
	border-bottom: 3px solid red;
	color: #B70000;
	background: #1f1f1f url(img/bg_tile_dark.png)
}


/* site titel */
#branding h1
{
	display: block;
	position: absolute;
	letter-spacing: 2px;
	font-variant: small-caps;
	color: #E0E0E0;
	left: 8em;
	
	top: 0em;

	margin: 0;
	padding: 0;
	
	margin-top: 23px;
	padding-top: 2em;
	
	height: 100%;
	width: 70%;
	background:  url(img/header_3img.png) no-repeat right top;
}

/* iets gewijzigde header op sommige pagina's */

#sanitairpagina #branding h1
{
	background:  url(img/header_3img_sanitair.png) no-repeat right top;
}


* html #branding h1
{
	/* ie 5 hack 
	anders valt text achter logo menu. */
	left:10em;
	
	/* 'Escaped property hack' welke door <ie6 wordt genegerd */
	lef\t:8em;
}

#branding h1 span
{
	/* 	het woord 'kruidhof' verbergen aangezien
		dit ook in het plaatje van het menu zit*/
	display: none;	
}


h1, h2
{
	letter-spacing: -1px;
}


#content a:link, #content a:visited, #content a:active 
{ 
	color: #B70000;
	text-decoration: none;
	border-bottom: #B70000 1px solid; 
}

#content #map a:link, #content #map a:visited, #content #map a:active 
{ 
	color: transparant;
	text-decoration: none;
	border: none; 
	background: none;
}


/* css3 rule for external links. Doenst work in <ie6*/
#content a[href^="http:"]
{
	padding-right : 14px;
	background : url("img/ex-ref.gif") no-repeat right center;
}

#content #map a[href^="http:"]
{
	padding-right : 0;
	background : none;
}

	
#content a[href^="http://www.ib-kruidhof.nl"], #content a[href^="http://ibkruidhof.nl"]
{
	font-style: normal;
	background: none;
	padding-right: 0;
}

#content a:hover
{
	color: #B70000;
	text-decoration: none;
	border-bottom: #B70000 2px solid;
	background-color: #f7f7f7;
}

#content
{
	position: relative;
	left:16em;
	width: 32em;
	line-height: 175%;
	padding-top:1em;
	padding-bottom: 12em;
}

#mainNav
{
	position: absolute;
	width: 13em;
	top: 0;
	left: 1.5em;
	border-top:0;
	text-align: right;
	background: white url("img/nav_lo.gif") no-repeat bottom left;
	padding: 0;
	margin:0;
}

html>body #mainNav
{
	position: fixed;	
}


#mainNav img
{
	/*max-width: 200px;*/
	max-width: 100%;	
	padding-right: 5px;
}

ul#menu
{
	list-style: none;
	margin: 0;
	padding: 0;
	margin-top: 2em;
	background: url("img/nav_ro.gif") no-repeat bottom right;
}

ul#menu li
{

	padding-right: 1em;
}

ul#menu li a
{
	padding: 5px 0;
	display: block;
	text-decoration: none;
	font-weight: bold;
	color: #B70000;
}

ul#menu li a:hover
{
	background: url("img/menu_pointer2.gif") no-repeat center left;
}

#wrapper
{
/*	background: url("img/pg_bg_left.gif") repeat-y top left; */
	position:relative;
	min-height: 100%;
	height: 100%;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: auto;
}

html>body #wrapper
{
	height: auto;
}

#footer
{
	height: 8em;
	position:absolute;
	bottom: 0;
	width: 100%;
	clear: both;
/*	background-color: #ccc; */
	color: #aaa;
	margin:0;
	padding-left: 16em;
	width: 32em;
}
#footer p
{
	padding-top: 3em;
/*	margin-left: 16em;
	width: 32em;*/
	text-align: center;
	letter-spacing: .25em;
	text-transform: uppercase;
	font-family: Serif;
	font-size: .8em;
	background: url(img/line.gif) no-repeat top center;
}

#footer p img
{
	vertical-align: middle;	
}

#footer a:hover img
{
	background-color: #f7f7f7;
}

/* afbeeldingen */

#content a img, #content img
{
	border: 1px solid gray;
	background-color: #fff;
	padding: 1px;
	margin-left: .2em;
	margin-right: .2em;
	margin-bottom: .2em;
}

#content #map a img
{
	border: 0;
	background-color: transparent;
	padding: 0;
}

#content a img.noimgstyle
{
	border: 0;
	padding: 0;
	background-color: #f1f1f1;
}


/* contactpagina */

.vcard
{
	border: 1px solid #eee;
	width: 20em;
	padding: 1em;
	padding-top: .5em;
	background: white url("img/shadow800.gif") no-repeat right bottom;
	position: relative;
}

.vcard .fn
{
	letter-spacing: 1.2px;
	font-weight: bold;
}

.vcard .tel span
{
	margin-left: 1em;	
}

#content .vcard a.dl_vcard
{
	display: block;
	position: absolute;
	top: -10px;
	right: 5px;
	border: 0;
	text-decoration: none;
	background: none;
}
#content .vcard a.dl_vcard img
{
	border: 0;
	background: none;
}


#contactpagina #footer p
{
	background: none;	
}

#contactpagina #map
{
	border: 3px solid #f3f3f3;
	border-bottom: 0;
	margin: 0;
	width: 32em;
	left: 16em
}
#contactpagina #footer 
{
	background: transparent url(img/map_bg.png) repeat-x bottom left;
	height: 32px;
	padding:0;
	margin:0;
	width: 100%;
}

#contactpagina #content
{
	margin-bottom: 0;
	padding-bottom: 20px;
	background: url(img/line.gif) no-repeat bottom center;
}


