/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
body {
	text-align: left;
	font-family:"Century Gothic",Arial;
	font-size: 11px;
	line-height: 1em;
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}
/*default link styles*/
a, a:link a:active {
/* set all links to have underline */
	text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
/* this is a bluish color, you change this for all default link colors */
	color: #18507C;
}
a:visited {
/* keeps the underline */
	text-decoration: underline;
	background-color: inherit;
/* a different color is used for visited links */
	color: #18507C;
}
a:hover {
/* remove underline on hover */
	text-decoration: none;
	background-color: inherit;
/* using a different color makes the hover obvious */
	color: #385C72;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
	background:url(http://www.racing-expo.nl/uploads/ngrey/bg.jpg) repeat-x;
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
	max-width: 1024px;
        max-height: 768px;
/* now that width is set this centers wrapper */
	margin: 0 auto;
	color: black;
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {

	background:url(http://www.racing-expo.nl/uploads/ngrey/header_bg.jpg);
	background-repeat:no-repeat;
	position:relative;
	height:158px;
	margin:0 auto 0 auto;
	width:1024px;

/* border just the bottom */

}

div#bezoekers{
position:absolute;
margin:120px 0 0 36px;
width: 74px;
height: 36px;
}
div#exposanten{
position:absolute;
margin:120px 0 0 110px;
width: 74px;
height: 36px;

}

div#header h1 a {
/* you can set your own image here */
	background: url(http://www.racing-expo.nl/uploads/ngrey/logoCMS.png) no-repeat left top;
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 100px;
/* this hides the text */
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
	line-height: 0;
	font-size: 0;
/* this will keep IE6 from flickering on hover */
	background: url(http://www.racing-expo.nl/uploads/ngrey/logoCMS.png) no-repeat left top;
}
div#header h2 {
/* this is where the site name is */
	float: right;
	line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
	font-size: 1.5em;
/* keeps the size uniform */
	margin: 35px 65px 0px 0px;
/* adjust according your text size */
	color: #f4f4f4;
}
div.crbk {
/* sets all to 0 */
	margin: 0;
	padding: 0;
/* you can set your own image here */
	background: url(http://www.racing-expo.nl/uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}

div#content {
/* some air above and under menu and content */
	margin: 54px auto 2em 0;
	padding: 0px;
        height:353px;
/* you can set your own image here */
}


div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
        width:640px;
        height:370px;
        x-scroll:scroll;
	margin-left: 27%;
	padding: 25px 15px;
/* you can set your own image here */
	background: url(http://www.racing-expo.nl/uploads/ngrey/content.jpg) no-repeat  right top;
}
div#foto {
width: 270px;
height:180px;
margin:39px 0 0 19px;
float:left;
overflow:hidden;

}
div#tekst {
padding:0 15px 0 0;
width: 295px;
height: 280px;
overflow:auto;
float:right;

}

div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: left;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
	width: 154px;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: -9px 0px 20px 36px;
	padding: 0px;
/* you can set your own image here */

}
div#sidebara {
	padding: 13px 15px 3px 0px;
/* you can set your own image here */

}
div#sidebarb {
	padding: 10px 10px 1px 0px;
/* you can set your own image here */
	background: url(http://www.racing-expo.nl/uploads/ngrey/btn.jpg) no-repeat right bottom;
}

div.footback {
/* keep footer below content and menu */
	clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
	padding: 0px 10px 0px 0px;
        margin: 34px 0px -20px 0px;

/* you can set your own image here */
	background: url(http://www.racing-expo.nl/uploads/ngrey/footer.jpg) repeat-x right bottom;
        height:100px;
}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
	padding: 40px 0px 0px 10px;

/* color of text, the link color is set below */
	color: #FFFFFF;
/* you can set your own image here */
       margin:0px auto 0px auto;
       width:1024px;

}

div#footer p {
/* sets different font size from default */
	font-size: 0.8em;
/* some air for footer */
/* centered text */
	text-align: left;
	margin-left: 38px;

}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #FFFFFF;
}

/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */

div#content h2 {
	color: #0066cc;
        text-decoration:underline;
        font-size:14px;
        font-weight:100;
	text-align: left;
	font-family:"Century Gothic",Arial;

/* some air around the text */
	padding-bottom: 1px;

/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}

/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */