/* @override http://www.davidniblock.co.uk/wp-content/themes/niblock/style.css */

/*

Theme Name: Niblock

Theme URI: www.davidniblock.co.uk

Description: Template for www.davidniblock.co.uk, using the WP-Andreas01 theme by Andreas Viklund as a starting point.

Version: 2

Author: Matt Kevan

Author URI: http://www.kevan.tv

*/



/* Body */

* {margin:0; padding:0;}

body {
	font-size: 75%;
	line-height: 150%;
	color:#000000;
	margin: 0;
	font-family: "Trebuchet MS";
	background: url(img/bg.gif) repeat-y center;
	background-color: #f4f4f4;
}

/* Headings */

h3 {
	font-size:100%;
	color:#336633;
	margin: 0;
	}

h4 {
	color:#660000;
	margin-bottom: 10px;
	}
	
/* Links */

a {
	color:#000000;
	text-decoration:underline;
	}

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

a:active {
	color:#666666;
	}

a:visited{
	color:#000;
	}

/* General styles */

.float {
	float: left;
	}

img {
	padding: 0px 10px 6px 0;
	border: 0;
	}

img a {
border: 0;	
	}

/* Header styles */

#nav {
	padding: 2px 0 2px 0;
	text-align: right;
	}
		
#nav ul {
	}	

#nav ul li {
	list-style-type: none;	
	display: inline;
	padding: 0 10px 0 0;
	}


#name {
	padding: 0px 0 20px 0;	
	}

#name h1 {
		padding: 0 0 5px 0;
	}

#name h1 a {
	font-weight: bold;
	color: #336633;
	font-size: 80%;
	}
	
#name h1 a:hover {
	text-decoration: underline;
	}
	
/* Index page structure */

#wrap {
	margin: 0 auto;
	width:760px;
	}
	
#top_half {
	height: 250px;
	margin-bottom:20px;	
	}
	
#bottom_half {
	height: 250px;
	}

/* Footer */

#footer {
	margin: auto;
	width: 760px;
	padding-top: 5px;
	font-size: 90%;	

	}

/* Category page structure */

#content_category {
	border-style: solid;
	border-width: 1px;
	border-color: #E0E0E0;
	min-height: 600px;
	}
#content_category h3 {
	padding: 0 10px 10px 10px;
	color:#660000;
	margin: 0;
	} 
	
#content_category h3 a{
	padding: 0 10px 0px 0px;
	color:#660000;
	margin: 0;
	}
	
#content_category p{
	padding: 0 0px 0 0px;
	margin: 0;
	} 

/* Projects box */

#projects {
	float: left;
	width: 498px;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #E0E0E0;
	height: 250px;
	}

#projects_inner {
	height: 225px;
	}
	
#projects_all {
	font-size: 85%;
	margin-left: 10px;
	}
	
#projects_all a:hover {
	text-decoration: underline;
	}
	
.footnote {
	color:#660000;
	font-size: 85%;
	line-height: 120%;	
	}
	
.footnote a {
	color:#660000;
	}

/* Videos box */
	
#videos {
	float: left;
	height: 250px;
	width: 238px;
	border-style: solid;
	border-width: 1px;
	border-color: #E0E0E0;
	}

#videos_inner {
	height: 225px;
	}
	
#videos_all {
	font-size: 85%;
	margin-left: 10px;
	}
	


/* Production stills box */
	
#stills {
	float: left;
	width: 200px;
	height: 250px;
	width: 238px;
	border-style: solid;
	border-width: 1px;
	border-color: #E0E0E0;
	margin-right: 20px;
	}

#stills_inner {
	height: 225px;
	}
	
#stills_all {
	font-size: 85%;
	margin-left: 10px;
	}

#pic_wrap {
	padding: 5px 0 0 10px;
	}
	
/* Contact me box */
	
#contact {
	float: left;
	width: 238px;
	margin: 0 0 0 20px;
	border-style: solid;
	border-width: 1px;
	border-color: #E0E0E0;
	height: 250px;
	}

#contact p{ 
	margin-bottom: 10px;
	}
	
/* Curriculum vitae box */
	
#cv {
	float: left;
	width: 238px;
	margin: 0 0 0 20px;
	border-style: solid;
	border-width: 1px;
	border-color: #E0E0E0;
	height: 250px;
}
#cv p{
	margin-bottom: 10px;
	}
	
/* General page styles */

#projects h3 a, #videos h3 a, #stills h3 a, #contact h3 a {
	padding: 0 10px 0 10px;
	color:#660000;
	margin: 0;
	}

#projects p, #videos p, #stills p, #contact p, #cv p {
	padding: 0 0px 0 0px;
	margin: 0;
	}

#projects h1, #videos h2, #stills h2, #contact h2, #cv h2, #content_category h2 {
	font-size: 100%;
	color:#336633;
	margin: 0;
	margin-bottom: 5px;
	padding: 5px 0 5px 10px;
	border-bottom-color: #E0E0E0;
	border-bottom-style: solid;
	border-width: 1px;
	}
	
.editlink a {
	font-size: 85%;
	}
	

.backlink a {
	font-size: 85%;
	margin: 0 0 0 10px;
	}
	

/* Float fix */

.contenttext {
	overflow:hidden;
	padding: 0 0 10px 0;
	margin: 0 10px 10px 10px;
	}
	
.contenttext_category {
	overflow:hidden;
	padding: 0 0 10px 0;
	border-width: 0 0 1px 0;
	border-style: dotted;
	margin: 0 10px 10px 10px;
	border-color: #E0E0E0;
	}
	
* html .contenttext {height:1px; overflow:visible;}

* html .contenttext p {overflow:hidden; width:99%;}




