* { margin: 0; outline: 0; }
ul, ol { padding:  0; }
a, img { border: 0; }
div.clear { clear: both; line-height: 0; height: 0; font-size: 0; border: 0; padding: 0; margin: 0; }

body {
	font-family: Arial, sans-serif;
	font-size: 12px; line-height: 16px;
	color: #505050;
	text-align: center;
}

html { overflow-y: scroll; }

#container { position: relative; width: 968px; margin: 0 auto; text-align: left; }

a { color: #d83920; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 { font-size: 15px; line-height: 16px; }
h2 { margin: 8px 0 24px 0; color: #d83920; text-decoration: none; }
h2 a:hover { text-decoration: underline; }
h3 { font-size: 12px; line-height: 16px; color: #d83920; }
h4 { font-size: 12px; line-height: 16px; color: inherit; font-weight: bold; margin: 0 0 8px 0; }
p+h4 { margin-top: 24px; }

p { margin: 0 0 8px 0; }
p:last-child { margin-bottom: 0; }

blockquote {
	margin: 0px 0 16px 0;
	font-style: italic;
}


/* head */

#head { width: 968px; height: 63px; border-bottom: 1px solid #e5e5e5; overflow: hidden; }

h1 { margin: 30px 0 0 0; }
h1, h1 a { display: block; width: 240px; height: 28px; }
h1 a { background: url(../img/tordboontje-logo.png) 0 0 no-repeat; text-indent: -9999em; }


/* content */
#content { 
	width: 968px;
	overflow: hidden;
	padding-bottom: 150px; 
}

#content.distributors,
#content.distributors #text {
	overflow: visible;
}


#footer {
	width: 968px;
	font-size: 11px;
	color: #b8b8b8; /* equal to stroke */
	padding: 4px 0 16px 0;
	border-top: 1px solid #e5e5e5;
	overflow: hidden;
}
#footer a { color: inherit; }
#footer p.left { width: 40%; float: left; }
#footer p.right { width: 40%; float: right; text-align: right; }


/* menu */
#menu { 
	position: absolute; 
	top: 39px; left: 496px;
	width: 472px; margin: 0 auto; float: left;
	text-align: left;
}

/* styles common across menu */
#menu ul { list-style: none; }
#menu a { color: #909090; text-decoration: none;  }
#menu a:hover, #menu a.active { color: #d83920; }


/* styles for main menu, override later */
#menu ul {  float: right; font-weight: bold; }
#menu ul li { float: left; margin-left: 12px; position: relative; padding-bottom: 10px; }

/* styles for both sub menus */

#menu ul.sub { 
	display: none; /* hide using js later */
	position: absolute;
	left: -12px; top: 23px;
	padding: 0 12px 2px 12px;
	width: 106px;
	font-weight: normal;
}

#menu ul.sub li { 
	float: left; 
	padding: 0; margin: 0;
	width: 106px; 
	height: 15px; line-height: 15px;
	margin: 0 0 5px 0;
}

#menu ul.sub li:first-child { padding-top: 5px; } /* nicer */

#menu ul.sub li a { display: block; }
#menu ul.sub li:hover > a { color: #d83920; }

/* styles for sub menu 1 - makes box */
#menu ul.sub1 {
	border: 1px solid #e5e5e5;
	border-top: 1px solid #fff;
	background: #fff;
	background: rgba(255,255,255,.9);
}

#menu ul.narrow { width: 112px }

/* show nested ul */
/*#menu ul.sub1 li:hover ul.sub2 { display: block; }*/ 

/* styles for sub menu 2 */
#menu ul.sub2 { 
	position: relative;
	left: 114px; top: -23px;

	padding: 2px 12px;
	border: 1px solid #e5e5e5;

	background: #fff;
	background: rgba(255,255,255,.9);
}

#menu ul.sub2,
#menu ul.sub2 li { width: 106px; height: auto; }


/*#menu li#twitter { margin-left: 12px; }*/
#menu li#twitter + li { margin-left: 6px; }

#menu li#twitter a { 
	display: block;
	width: 16px; height: 16px;
	background: url(../img/twitter.png) 0 0 no-repeat;
	text-indent: -999em;
}

#menu li#twitter a:hover {
	background-position: 0 -16px;
}

/*
#menu ul.sub1 li:first-child { padding-top: 4px; }

#menu ul.sub1 li a,
#menu ul.sub2 li a { display: block; }
*/

/*
#menu ul#main ul.sub1 li a { color: #909090; }
#menu ul#main ul.sub1 li:hover a,
#menu #main ul.sub1 a.active { color: #d83920; }
#menu ul#main ul.sub1 li:hover ul.sub2 a { color: #909090; }
#menu ul#main ul.sub1 li:hover ul.sub2 a:hover { color: #d83920; }
*/


/* search form */

#menu input#id_search {
	
	font-family: Arial, sans-serif;
	font-size: 12px; 
	color: #505050;
	
	width: 120px; height: 14px; line-height: 14px; 
	
	vertical-align: bottom;
	
	padding: 2px 0;
	border: 1px solid #e5e5e5;
	margin: -3px 6px 0 8px;
	
	float: left;
	
}

/* col framework */

div.col {
	width: 224px; float: left; 
	margin: 0 0 24px 24px;
}

div.half { width: 100px; }
div.two { width: 472px; }
div.three { width: 720px; }
div.four { width: 968px; }

div.first { margin-left: 0; }
div.indent { margin-left: 248px; }
div.topspace { margin-top: 16px; }

div.text { width: 458px; padding-right: 14px; }

/* PROJETS */

#project_single { margin-top: 48px; }
#project_single img { display: inline-block; margin: 0 0 24px 0; }
#project_single img:last-child { margin-bottom: 0; } /* fix for ie? this is important! */
#project_single div.p_text { margin: 0 0 48px 0; }
#project_single div.col { margin-bottom: 0; }

/* project images */
div.pi_left { text-align: right; }
div.pi_right { text-align: left; }
div.pi_wide { text-align: center; }

/*
#project_single div.pi_left img,
#project_single div.pi_right img,
#project_single div.pi_wide img { display: block; margin-bottom: 24px; }

#project_single div.pi_left,
#project_single div.pi_right,
#project_single div.pi_wide { margin-bottom: 0; }
*/

#project_single p.caption { 
	margin-top: -22px; 
	margin-bottom: 18px;
	text-align: left;
}

#project_single div.pi_left p.caption { float: right; }
#project_single div.pi_wide p.caption { margin-left: auto; margin-right: auto; }

/* big images to top */
div.pi_left img.hanging { margin-top: -72px !important; }

/* film */
#film { width: 100%; text-align: center; margin: 0 0 24px 0 !important; }
#film #film_div { margin: 0 auto 0 auto; }
#project_single #film p.caption { margin: 4px auto 0 auto; text-align: left;}
object { display: block; }




#project_single div.p_text h2 { margin: 48px 0 16px 0; }
div.p_text div.text { width: 348px; }



div.info, #credits { color: #686868; }

div.info { margin-top: 16px; font-size: 11px; line-height: 13px;  }
div.info a { color: inherit; text-decoration: underline; }
div.info a:hover { color: #d83920; text-decoration: none; }
div.info h3 { font-size: inherit; line-height: inherit; margin: 16px 0 4px 0; font-weight: normal; }
div.info ul { list-style: none; }

#credits { 
	font-size: 11px; line-height: 13px;
	margin-left: 496px;
	color: #b8b8b8;
}

#credits a { color: inherit; text-decoration: underline; }
#credits a:hover { color: #b8b8b8; text-decoration: none; }


.small, p.pdf { font-size: 11px; color: #686868; }
p+p.small { margin-top: 16px; }
p.small+p.small { margin-top: 0; }
div.text p.small:last-child { margin-bottom: -8px; }
p.small a { color: inherit; text-decoration: underline; }
p.small a:hover { color: #d83920; text-decoration: none; }




/* TEXTPAGE */
#text { margin-top: 120px; min-height: 480px; margin-bottom: 96px; width: 968px; overflow: hidden; }
h2+#text { margin-top: 80px; } /* only happens in news - 16 for p.date */
#text div.col { margin-bottom: 8px; } /* less than usual */

#text a { color: inherit; text-decoration: underline; }
#text a:hover { color: #d83920 !important; text-decoration: none; }
#text a.hi  { color: #d83920; text-decoration: none; }
#text a.hi:hover { text-decoration: underline; }

#text h2 { margin: 0 0 24px 0; }
#text h3 { margin: 16px 0 8px 0; }
#text h2 a, #text h3 a, #text h4 a { text-decoration: none; }
#text h2 a:hover, #text h3 a:hover, #text h4 a:hover { text-decoration: underline; }


/* NEWS */

/* on homepage */
#hp_news {
	position: relative; width: 968px;
	padding-bottom: 16px; border-bottom: 1px solid #e5e5e5;
	overflow: hidden;
}
#close_news { font-size: 11px; position: absolute; left: 0; bottom: 8px; }
#hp_news p, #hp_news h3 { margin: 0 0 4px 0; }
#hp_news p a { color: inherit; text-decoration: underline; }
#hp_news p a:hover { color: #d83920; text-decoration: none; }

/* news archive */
div.entry { margin: 0 0 48px 0; width: 968px; overflow: hidden; }
div.entry img { display: block; margin: 3px 0 0 0; }
#text div.entry h3 { font-size: 15px; line-height: 18px; margin: 0 0 12px 0; }

/* common */
#hp_news p.date, div.news p.date { margin: 0; color: #d83920; }

div.news_text { width: 348px; float: left; }
div.news_image { float: right; }

div.even div.news_text { float: right; }
div.even div.news_image { float: left; }


/* TEXTBLOCKS & INLINE IMAGES */

div.block { margin: 0 0 8px 0; }
div.b_image { margin: 0 0 8px 0; }
div.b_image img { display: block; margin: 3px 0 0 0; } /* cap height */
div.left-inside { display: block; }
div.right-along { float: right; width: 472px; margin-right: -510px; }
p.caption { margin: 4px 0 0 0; font-size: 11px; line-height: 13px;  }

/* Projects/Thumbs */

div.row {
	height: 280px;
	text-align: center;
	margin: 0 0 16px 0;
	width: 968px; /*overflow: hidden;*/
}

div.thumb { 
	display: inline-block;
	margin: 0 0 0 48px;
	height: 280px; line-height: 280px;
}

/* double width thumb */
div.light a {
	margin-top: -48px;
}
/* thumb w neg top margin */

div.thumb:first-child { margin-left: 0; }

div.thumb a { display: inline-block; vertical-align: middle; text-decoration: none; }
div.light a { vertical-align: top; }
div.thumb a img { display: block;  vertical-align: middle; }
div.thumb a span { 
	display: block; 
	height: 16px; margin-top: 4px;
	font-size: 15px; line-height: 16px;
	font-weight: bold;
	text-decoration: none;
	visibility: hidden;
}

div.thumb a:hover span {
	visibility: visible;
}

/* CATALOGUE */

table, tr, td { 
	padding: 0; border: 0; margin: 0; 
	font-size: inherit; line-height: inherit;	
}


td { 
	width: 224px; padding: 2px 24px 1px 0; overflow: hidden; vertical-align: top; 
	border-bottom: 1px solid #e5e5e5;
}


td:last-child { padding-right: 0; }
tr:first-child td { border-top: 1px solid #e5e5e5; }

/*tr:last-child td { border: none; }*/

#content table a { text-decoration: none; }
#content table a:hover { text-decoration: underline; }

/* tr:hover td { background: #f0f0f0; } */

/* DISTRIBUTORS */

#text div.dist { margin-top: 0; margin-bottom: 48px; }
#text div.dist h3 { margin-top: 0; }

#text div.hi {
	width: 100%; height: 100%;
	padding: 7px 0 12px 10px;
	position: relative;
	margin-left: -10px; margin-top: -7px;
	background: #fbf9ae;
}

p.products { padding-right: 20px; }

#content p.products a { text-decoration: none; }

/* SEARCH */

#inline_search { margin-bottom: 48px; }
#inline_search .text { 
	width: 224px; margin-right: 24px; 
	font-family: Arial, sans-serif;
	font-size: 12px; 
	color: #505050;
	
	height: 14px; line-height: 14px; 
	
	vertical-align: bottom;
	
	padding: 2px 0;
	border: 1px solid #e5e5e5;
}
ul#search_results { list-style: none; }
ul#search_results li { margin: 0 0 4px 0; }
p+#inline_search { margin-top: 24px; }

/* NEWS PAGINATION */

#paginator {
	width: 472px;
	margin: 48px auto 0 auto;
	text-align: center;
	position: relative;
}

#paginator a { 
	color: #d83920 !important; 
	text-decoration: none;
}

#paginator a:hover,
#paginator a.current {
	text-decoration: underline;
}

#paginator div.pages {
	display: block;
	margin: 0 auto;
	padding-left: 5px;
	text-align: center;
	clear: none;
}

/*
#paginator div.pages a {
	display: inline-block; float: none;
	padding: 1px 5px;
	text-align: center;
}

#paginator a.prev,
#paginator a.next {
	padding: 1px 5px;
}
*/

#paginator a.prev { float: left; margin: 0; }
#paginator a.next { float: right; margin: 0; }


/* trying to fix overlap */

h2 { position: relative; z-index: 3; }
div.overview { position: relative; z-index: 2; }
#menu { z-index: 4; }

/* submenu in catalogue */

#content p.sub { margin-top: -18px; margin-bottom: 18px; }
#content p.sub a { margin: 0 10px 0 0; text-decoration: none; }
#content p.sub a.active { color: #d83920; }

#content p.sub a:hover { text-decoration: underline; }
