/*
	Main parts in container for layout.tpl
	This uses #M0_container to put the following in
	---------------------------------
	-           M1_top				-
	---------------------------------
	-           M1_banner           -
	---------------------------------
	-          M1_topmenu           -
	---------------------------------
	-					            -
	-					            -
	-         M1_middle             -
	-					            -
	-					            -
	---------------------------------
	-         M1_bottommenu			-
	-         M1_adminmenu			-
	---------------------------------
	-         M1_disclaimer         -
	---------------------------------
	             M1_buffer              

	M1_middle consists of:
	---------------------------------
	-					  -         -
	-					  -         -
	-	  M2_content 	  - M2_menu -
	-					  -         -
	-					  -         -
	---------------------------------

	M2_inhoud consists of:
	-----------------------
	-	  M3_heading	  -
	-----------------------
	-	   M3_error	      -
	-----------------------
	-	  M3_browser	  -
	-----------------------
	-	  M3_content	  -
	-----------------------
	-	  M3_browser	  -
	-----------------------
*/
#M0_container {
	width: 800px;
	margin: 0 auto 0 auto;
	padding: 0px;
}

#M1_top {
}


#M1_banner {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	width: 801px;
	height: 205px;
	margin: 0 auto 0 auto;
	background-image: url('../../styles/demeester/toplogo.jpg');
	background-repeat: no-repeat;
	background-position: top center;
}

#M1_banner_buy {
	padding: 10px;
}

#M1_bannerhack {
	margin-top: 20px;
	margin-right: 10px;
	padding: 10px;
	float: right;
	height: 50px;
	width: 420px;
/*	border: 1px solid yellow; */
}

#M1_topmenu {
	width: 780px;
	height: 25px;
	text-align: right;
	font-size: 10px;
	padding: 0 20px 0 0;
}
#M1_topmenu a:link			{ color: #8f8f6a; text-decoration: none; }
#M1_topmenu a:visited		{ color: #8f8f6a; text-decoration: none; }
#M1_topmenu a:hover			{ color: #e0f3f9; text-decoration: underline; }
#M1_topmenu a:active		{ color: #8f8f6a; text-decoration: none; }


#M1_middle {
	width: 800px;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	float: left
}
/* hack for internet explorer */
* html #M1_middle { height: 100%; width: 100%; }

#M1_bottommenu {
	width: 800px;
	float: left
}
#M1_bottommenu a:link		{ color: #dae3e0; text-decoration: none; }
#M1_bottommenu a:visited	{ color: #dae3e0; text-decoration: none; }
#M1_bottommenu a:hover		{ color: #f8634a; text-decoration: underline; }
#M1_bottommenu a:active		{ color: #dae3e0; text-decoration: none; }

#M1_adminmenu {

}

#M1_disclaimer {
	width: 800px;
	float: left;
	text-align: center;
	color: #a0abbe;
	float: left
}

#M1_buffer {
	width: 800px;
	margin: 0;
	color: green;
	float: left
}

/*
	Inside M1_middle
*/
#M2_menu {
	width: 190px;
	float: left;
	padding: 30px 0 0 10px;
}

#M2_content {
	width: 580px;
	float: left;
	min-height: 200px;
	padding: 0 0 0 20px;
}

/*
	inside inhoud
*/
#M3_heading {
	margin: 0 0 0 0;
	padding: 0 0 0 6px;
	color: #bfbf95;
}

#M3_error {
	color: red;
	padding: 0 12px 0 4px;
	text-align: right;
}

#M3_content {

}

#M3_browser {
	width: 100%;
	color: black;
}

#M3_leftbrowser {
	float: left;
	width: 30%;
	color: white;
	padding-left: 2px;
}

#M3_pagebrowser {
	float: left;
	text-align: center;
	width: 40%;
	color: black;
}

#M3_rightbrowser {
	float: right;
	text-align: right;
	width: 30%;
	color: white;
	padding-right: 2px;
}

/* Boxed boxes ;-)
--------------------------------------------------*/
#boxed {
	padding: 0 0 0 0;
	margin: 0 0 5px 0;
	border: 0;
	width: 565px;
}

#boxed .boxtitle {
	padding: 2px 6px 0 6px;
	margin: 0 0 0 0;
	height: 20px;
	/* line-height = height */
	line-height: 20px;
	color: #3f444b;
	font-size: 0.9em;
	color: #bfbf95;
	font-weight: bold;
	background-image: url(../../styles/demeester/bodytop.gif);
	background-repeat: no-repeat;
}

#boxed .boxcontent {
	padding: 4px 6px 0 6px;
	overflow: hidden;
	font-size: 0.9em;
	background-image: url(../../styles/demeester/bodycontent.gif);
	background-repeat: repeat-y;
	color: #fff;
	padding: 0 8px 10px 6px;
}

#boxed .boxbottom {
	height: 8px;
	background-image: url(../../styles/demeester/bodybottom.gif);
	background-repeat: no-repeat;
	margin: 0 0 4px 0;
}

#boxed .boxsubcontent {
	width: 70%;
	margin: 7px;
	padding: 5px;
	overflow: hidden;
	border: 1px solid #8f8f6a;
	min-height: 92px;
	float: left;
}

#boxed .boximage {
	width: 120px;
	min-height: 123px;
	text-align: center;
	float: left;
	padding: 2px; 
	margin: 5px;
	overflow: hidden;
	font-size: 0.9em;
	font-weight: bold;
	border-left: 1px solid #000;
	border-top: 2px solid #000;
	border-bottom: 2px solid #A2A;
	border-right: 1px solid #000;
	background: #efa;
}

#boxed .boximageleft {
	text-align: center;
	float: left;
	margin: 2px;
	overflow: hidden;
	font-size: 0.9em;
	font-weight: bold;
}


/* M2_menu -> main menu */
.imagemenu_top {
	width: 174px;
	height: 30px;
	padding: 0;
	margin: 0;
	background-image: url(../../styles/demeester/menutop.jpg);
	background-repeat: no-repeat;
}

.imagemenu_bottom {
	width: 174px;
	height: 28px;
	background-image: url(../../styles/demeester/menubottom.jpg);
	background-repeat: no-repeat;
}

.imagemenu {
	width: 174px;
	padding: 0 6px 0 6px;
	color: #000;
	background-image: url(../../../styles/demeester/menucontent.jpg);
	background-repeat: repeat-y;
}

/* M2_menu -> main menu */
#mainmenu {
	margin-bottom: 20px;
	width: 174px;
	background-image: url(../../styles/demeester/menubottom.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	padding: 0 0 8px 0;
}

#mainmenu dl {
	margin: 0 auto;
	padding: 0 0 0 0;
	background: inherit;
	background-image: url(../../styles/demeester/menucontent.jpg);
	background-repeat: repeat-y;
}
#mainmenu dt {
	margin: 0 auto;
	padding: 0 6px 0 6px;
	font-family: Verdana, arial;
	font-size: 14pt;
	height: 30px;
	line-height: 30px;
	color: #000;
	background: inherit;
	background-image: url(../../styles/demeester/menutop.jpg);
	background-repeat: no-repeat;
}

#mainmenu dd {
	margin: 0;
	padding: 0 5px 0 5px;
	color: #000;
	font-size: 0.85em;
	background: inherit;
}

#mainmenu a, #mainmenu a:visited {
	color:#363527;
  font-weight: bold;
	text-decoration:none;
	display:block;
	padding:0px 5px 0px 5px;
	background: inherit;
	width:125px;
}
#menu dd div {
  padding-left: 25px;
  font-weight: normal;
  color: #363527;
}
#menu span a, #menu span a:visited {
	color: #363527;
	font-weight: normal;
	padding-left: 25px;
}
#menu a:hover, #menu span a:hover {
	background: inherit;
	color:#600;
}
ol li {font-size:10px;}

.mid {
  	 background-image: url(../../images/menu_mid.gif);
	 background-repeat: no-repeat;
	 background-position: 4px 0px;
	 padding-left: 20px;
	 height: 17px;
	 border-bottom: 0px dashed gray;
}
.last {
  	 background-image: url(../../images/menu_last.gif);
	 background-repeat: no-repeat;
	 background-position: 4px 0px;
	 padding: 0 0 0 20px;
	 height: 17px;
	 border-bottom: 2px dashed gray;
}

/* PAGINATION */
.pagination	{ float: left; margin: 0px; padding: 0; }
.pagination ul	{ margin: 0; padding: 0; }
.pagination li	{ color: #bfbf95; float: left; list-style: none; padding: 2px 5px; }
.pagination li, .pagination a	{  }
.pagination .previous	{ font-weight: bold; margin-left: 25px; }
.pagination .next	{ font-weight: bold; }
.pagination .readout	{ font-weight: bold; }
.pagination .current	{ border: solid 1px #bfbf95; }

/* Gallery Photos
--------------------------------------------------*/
#gallery {
	margin: auto;
}
.thumbnail {
	text-align: center;
	float: left;
	margin: 0px;
	font-size: 0.8em;
	width: 25%;
}