*{padding:0;margin:0;}

html, body, #wrap {height: 100%;}
body > #wrap {height: auto; min-height: 100%;}

#content {padding-bottom: 286px;
background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/transblack.png");
background-repeat: repeat;}  /* must be same height as the footer */

#content_main {padding-bottom: 286px;
} 

#footer {position: relative;
	margin-top: -286px; /* negative value of footer height */
	height: 286px;
	clear:both;
	background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/footerrepeater.jpg");
	}
	
#footerinside {
	margin: 0 auto;
	width: 960px;
	height:100%;
	} 	

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


body {
	font-family: Arial, Helvetica, sans-serif;
	background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/topband1.jpg");
	}
	
p {
	font-size: 0.9em;
	line-height: 1.5em;
	margin-bottom: 10px;
	}

#nav ul, ol {
	float:right;
	display:inline;
	}
	
#nav ul li {
display:inline;
}



ul, ol {
	margin: 0 0 0px 0px;
	}
	
li {
	font-size: 0.9em;

	}
	
img {
	border: none;
	}
	
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	}
	
h3{
	margin: 15px 0 2px 0;
	font-size:1.5em;
	}
h4 {	margin: 15px 0 2px 0;
	color:#f178e5;
}	
	
h4, h5, h6 {
	font-weight: bold;
	}
	
a:link, a:visited {
	text-decoration: none;
	}

#wrap {
	margin: 0 auto;
	width: 960px;
	
	}
	
#head {
	padding:10px 100px;
	height: 85px;
	background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/transblack.png");
background-repeat: repeat;
	margin:10px 0;
	/*	background: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/backabstract.jpg"); */
	}
	
#head h1 {
	float: left;
	margin-left: 20px;
	}

.icon {padding:5px}
	
#head h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 0.8em;
	font-style: italic;
	float: right;
	line-height: 1.7em;
	text-align: right;
	margin: 0 20px 0 0;
	width: 500px;
	}

	
a:hover, a:active, a:focus {
	text-decoration: underline;
	outline: none;
	}
#nav {

	border-bottom: none;
	clear: both;
	width: 960px;
	margin:10px 0px;
	height:25px;
	}
	
.portfoliopiece
{width: 300px;
padding:10px;
float: left;}

.footercolumn
{width: 300px;
padding:10px;
float: left;}

hr {
	padding:10px;
  border: 0;
  width: 80%;
  border-style:dotted;
}

.clear {clear:both;}

#mainarea {
padding:0 10px 0 10px;
width:620px;
float:left;
background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/transblack.png");
background-repeat: repeat;
} 

#mainarea ul, ol, li{
list-style:none;
font-size:1em;
line-height:1.3em;
}
#mainarea a a:hover, a:active, a:focus {
	
}
#mainarea a a:hover, a:active, a:focus {
text-decoration:underline;	
}

#mainarea h1 {
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}

#mainarea h1 a{
font-size: 1.3em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}

#blogsidebar{
width:300px;
padding:0 10px 0 10px;
float:left;

} 
#blogsidebar h1{
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
} 

.meta
{
	padding: 0 0 10px 0;
	
}

#footer ul, ol, li{
font-size:.9em;
line-height:1.1em;
}

#mainarea_about {
padding:0 10px 0 10px;
width:300px;
height:700px;
float:left;
background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/main_aboutback.png");
background-repeat: repeat-x;
} 

#mainarea_about ul, ol, li{
list-style:none;
font-size:1em;
line-height:1.3em;
}
#mainarea_about a a:hover, a:active, a:focus {
	
}
#mainarea_about a a:hover, a:active, a:focus {
text-decoration:underline;	
}

#mainarea_about h1 {
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}

#mainarea_about h1 a{
font-size: 1.3em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}

#sidebar_about{
width:620px;
padding:10px;
float:left;
height:665px;
background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/transblack.png");
background-repeat: repeat;
} 
#sidebar_about h1{
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}

html, body {
    min-height: 100%;
    height: auto !important;
    height: 100%;
}






ul,ol {margin-left: 0px;}

ul {
    margin-bottom: 20px;
}

#wrap_carousel {
    color: #404040;
    /*margin: 0 12%;*/
    margin: 20px 40px;
}

a {
    color: #4088b8;
}

table {
    font-size: inherit;
    border: 1px solid #c8c8c8;
}

th {
    background: #d8d8d8;
    text-align: left;
    padding: 5px;
    white-space: nowrap;
}

td {
    background: #f8f8f8;
    text-align: left;
    padding: 5px;
    vertical-align: top;
}

select, input, textarea {
    font: 99% "Trebuchet MS", Trebuchet, Tahoma, Verdana, Arial, sans-serif;
}

pre, code, tt, dt {
    font: 100% monospace;
    margin: 20px 0;
}

pre, blockquote {
    padding: 15px;
    background-color: #f0f0f0;
    margin: 20px 0;
}

td pre {
    font: 85% monospace;
    padding: 5px;
    margin: 5px 0;
}

#blogsidebar li a{
	font-size:0.8em;
	line-height:1em;
}
#blogsidebar li a{
	font-size:0.8em;
	line-height:1em;
	color:#eee;
}

.extras h1 li{
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}

.extras h1 {
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}
.extras h2{
	padding:10px 0px;
	font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}
.topright {padding:10px;
float: right;}

.portthumb {
	padding:5px;
}

.worksingle h1 li{
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}

.worksingle h1 {
font-size: 1.6em;
color:#FF6EC7;
margin: 5px 0 5px 0;
}
.worksingle h2{
padding:10px 0px;
font-size: 1.6em;
color:#FF6EC7;
margin:5px 0 5px 0;
}

.worksingle {
	background-image: url("http://www.matthewpatterson.co.uk/wp-content/themes/portfolio/styles/portfolio/transblack.png");
background-repeat: repeat;}

