/*
	style_main.css
	additional stylesheet for the DPS homepage
	the standard stylesheet (stylesheet.css) can be found in the "winkel" directory
*/
/* The CSS that's required to position the footer */
html {height: 100%;}
body {height: 100%;}
#container {position: relative; min-height: 100%;}
#page {padding-bottom: 2em;}								/* same as footer height */
#footer {position: relative; margin-top: -2em}		/* same as footer height */

/* override settings in winkel/stylesheet.css */
#footer {
	height: 2em;
	padding: 0.5em 1em;
}

#menu {
	float: left;
	width: 165px;			/* width of background image */
	font-family: verdana, helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
}

/* overrule settings for 'content' in stylesheet.css */
#content {
	margin-left: 200px;	/* width of #menu + 25px  */
	margin-right: 0;
	margin-bottom: 2em;	/* extra margin to avoid collapsing of footer and content */
	border-width: 3px;
	border-style: outset;
	padding: 1em;
}

/* menu styling */
#menu ul {padding: 0; margin: 0; list-style-type: none;}
#menu li {position: relative;}	/* hierdoor kunnen de elementen in diepere lagen absoluut gepositioneerd worden */
/* first level menu */
#menu a {
	display: block;					/* maakt het hele plaatje "klikbaar", niet alleen de tekst */
	color: #fff;
	background: url(winkel/images/switchbutton.png);
	height: 32px;						/* hoogte van het achtergrond plaatje */
	width: 165px;						/* idem, breedte */
	text-decoration: none;			/* geen ondelijning van de hyperlinks */
	line-height: 32px;				/* zelfde als hoogte plaatje, zorgt ervoor dat de tekst verticaal gecentreerd wordt */
	margin-bottom: 5px;				/* zorgt voor verticale ruimte tussen de plaatjes */
}
#menu a:hover {
	color: #fff;
	background: url(winkel/images/switchbutton_over.png);
}
/* second and following level menus */
#menu li li a {
	display: block;
	color: #fff;
	background-color: #69C;
	border-width: 3px;
	border-style: outset;
	border-color: #0080ff;
	background-image: none;
	padding: 3px 5px;					/* ruimte boven/onder en links/rechts van de tekst */
	margin: 0;
	text-decoration: none;
}
#menu li li a:hover {color: #fff; background-color: #0040B0; background-image: none;}
#menu ul ul {
	position: absolute;
	top: 0;
	left: 100%;							/* to position them to the right of their containing block */
	width: 10em;
	z-index: 200;
}
#menu ul ul, 							/* hide second level */
#menu ul li:hover ul ul				/* hide third level */
	{display: none;}
#menu ul li:hover ul,				/* reveal second level on first level hover */
#menu ul ul li:hover ul				/* reveal third level on second level hover */
	{display: block;}

/* show 'current page' in a different way */
body#home_page li#home a,
body#adviseur_page li#adviseur a,
body#alarm_page li#alarm a,
body#antenne_page li#antenne a,
body#contact_page li#contact a {
	display: block;
	color: white;
	background: url(winkel/images/switchbutton_gray.png);
	height: 32px;
	width: 165px;
	text-decoration: none;
	line-height: 32px;
	margin-bottom: 5px;
	cursor: pointer;
}

/* no background image and no "display: block;" in the 'languege' div! */
#menu #taal a {
	display: inline;
	background-image: none;
	width: 16px;
	height: 11px;
}

/* image met text erbij */
.img_caption_left {
	float: left;
	font-size: 80%;
	color: black;
	background-color: #ddd;
	padding: 5px;
	margin: 0 10px 10px 0;
	text-align: center;
	border: 1px solid black;
}
.img_caption_right {
	float: right;
	font-size: 80%;
	color: black;
	background-color: #ddd;
	padding: 5px;
	margin: 0 0 10px 10px;
	text-align: center;
	border: 1px solid black;
}
.img_caption_left img, .img_caption_right img {
	border-top: 2px solid #555;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-left: 2px solid #555;
}