/* CSS Reset */

body, div, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, img, form, fieldset, blockquote {
    margin: 0px; padding: 0px; border: 0px;
}

body {
	font-family: Helvetica, Arial, sans-serif; color:#666666;
	line-height: 150%;
}

h1.header {
text-indent:-9999px;
display:block;
width:872px;
height:113px;
background-image:url(images/header.jpg);
background-repeat:no-repeat;
}

a:link {
color: #FF0000;
text-decoration:none;
}

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

a:visited {
color:#FF0000;
text-decoration:none;
}

#page-wrap {
background-color:#FFFFFF;
}

/* Lay out the page structure with a container */
#container {
	width: 900px;
	margin: 0 auto; 
	padding: 60px 0 0 40px;
}

#header {
	margin: 0 0 20px 0;
}

#portfolio {
	margin: 0 0 40px 0;
}
	
	#portfolio h2 {
		width: 192px; height: 57px; margin: 0 0 10px 0;
	 text-indent: -9999px;
	}
	
	#portfolio ul {
		list-style: none; /* Remove the bullet points from the list */
	}
		#portfolio ul li {
			float: left; /* Float the lists to the left, laying them out side by side */
			padding: 10px; margin: 0 23px 23px 0;
		}

#contact-table {
width:385px;
height:400px;
float:right;
padding:0;
margin:0 0 0 20px;
}

table.contact {
background-color:#666666;
color:#FFFFFF;
}

p.red {
color:#FF0000;
}

p.blue {
color:#1212B3;
}
		
#footer {
	margin: 0 0 40px 0;
}

	#footer h2 {
		width: 200px; height: 57px; margin: 0 0 10px 0;
		text-indent: -9999px;
	}
	
	#footer ul {
		list-style: none; margin: 0 0 15px 0;
	}
		#footer ul li {
			display: inline; /* IE6 fix to prevent the step down bug */
		}
			#footer ul li a {
				display: block; /* Make the anchors a block element, allowing the width and height to be specified and increasing the clickable area */
				float: left; /* Float them side by side */
				height: 40px; /* 40px is the height of the icon */
				margin: 0 60px 0 0; /* Space out the links with some right margin */
				padding: 10px 0 0 60px; /* Align the text to the icon with top padding and move it away from the icon with left padding */
				color: #827161; text-decoration: none; font-size: 20px; /* Style up the link text, remove the default underline */
				background-image: url(images/icon-sprite.jpg); /* Add the icon sprite */
				background-repeat: no-repeat; 
			}
			/* Reposition the sprite background image for each of the links according to their class name */
			#footer ul li a.website { background-position: 0 0; }
			#footer ul li a.blog { background-position: 0 -100px; }
			#footer ul li a.linkedin { background-position: 0 -250px; }
			#footer ul li a.twitter { background-position: 0 -400px;}
			#footer ul li a.contact { background-position: 0 -550px; margin: 0;}
			
			#footer ul li a:hover {
				color: #FF0000; /* Change the color of the link text on hover */
			}
	
	#footer p.copyright {
		clear: both; /* The links above were floated, so clear the float on the copyright text */
		float: left; margin: 0 0 0 40px; /* Add a new float to the right and shift into place with some right margin */
		font-size: 12px; color: #827161; /* Style up the text */
	}

/* A handy 'Clearfix' technique to clear floats in order to avoid affecting page elements further down the document */		
.clear:after {
	content: "";
	display: block; visibility: hidden; clear: both;
}
	.clear { zoom: 1; } /* Clearfix IE fix */